FTM Price: $1.01 (-0.73%)
Gas: 112 GWei

Contract

0x4f8865A1FcE2877cCB55264600D4759d222E8fEB
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Harvest224636042021-11-19 0:48:46860 days ago1637282926IN
0x4f8865A1...d222E8fEB
0 FTM0.03648801231.2632
Harvest224545032021-11-18 22:36:26861 days ago1637274986IN
0x4f8865A1...d222E8fEB
0 FTM0.05985092379.3387
Harvest223384022021-11-17 17:31:54862 days ago1637170314IN
0x4f8865A1...d222E8fEB
0 FTM0.02750338174.3181
Harvest222799842021-11-17 3:02:38862 days ago1637118158IN
0x4f8865A1...d222E8fEB
0 FTM0.02032347128.8114
Harvest221740482021-11-16 0:50:18863 days ago1637023818IN
0x4f8865A1...d222E8fEB
0 FTM0.08903292564.296
Harvest220671152021-11-14 22:33:17865 days ago1636929197IN
0x4f8865A1...d222E8fEB
0 FTM0.02570472162.9181
Harvest218843572021-11-13 1:18:34866 days ago1636766314IN
0x4f8865A1...d222E8fEB
0 FTM0.01867093118.3375
Harvest217623532021-11-11 19:18:50868 days ago1636658330IN
0x4f8865A1...d222E8fEB
0 FTM0.12852716814.6128
Harvest215636602021-11-09 18:28:02870 days ago1636482482IN
0x4f8865A1...d222E8fEB
0 FTM0.09695839181.3537
Harvest214715062021-11-08 19:46:14871 days ago1636400774IN
0x4f8865A1...d222E8fEB
0 FTM0.08548931159.9016
Harvest212904602021-11-06 23:30:05872 days ago1636241405IN
0x4f8865A1...d222E8fEB
0 FTM0.07505811140.3908
Harvest211606572021-11-05 16:23:54874 days ago1636129434IN
0x4f8865A1...d222E8fEB
0 FTM0.13366374250.0084
Harvest210973422021-11-05 1:11:11874 days ago1636074671IN
0x4f8865A1...d222E8fEB
0 FTM0.15051667281.5306
Harvest209728242021-11-03 19:46:07876 days ago1635968767IN
0x4f8865A1...d222E8fEB
0 FTM0.10794807201.9091
Harvest208671362021-11-02 18:19:07877 days ago1635877147IN
0x4f8865A1...d222E8fEB
0 FTM0.43775906818.7968
Harvest208079722021-11-02 3:21:23877 days ago1635823283IN
0x4f8865A1...d222E8fEB
0 FTM0.09331062174.5308
Harvest207037352021-11-01 2:11:09878 days ago1635732669IN
0x4f8865A1...d222E8fEB
0 FTM0.07930699152.62
Harvest205793962021-10-30 20:10:37880 days ago1635624637IN
0x4f8865A1...d222E8fEB
0 FTM0.09275855173.4982
Harvest203696992021-10-28 16:55:42882 days ago1635440142IN
0x4f8865A1...d222E8fEB
0 FTM0.18614306348.1672
Harvest202838282021-10-27 19:46:26883 days ago1635363986IN
0x4f8865A1...d222E8fEB
0 FTM0.20248531378.7342
Harvest202043332021-10-27 0:09:41883 days ago1635293381IN
0x4f8865A1...d222E8fEB
0 FTM0.19641852367.3867
Harvest201655302021-10-26 14:47:32884 days ago1635259652IN
0x4f8865A1...d222E8fEB
0 FTM0.572726251,071.2432
Harvest200772142021-10-25 17:45:08885 days ago1635183908IN
0x4f8865A1...d222E8fEB
0 FTM0.07403305138.4735
Harvest200153922021-10-25 2:46:03885 days ago1635129963IN
0x4f8865A1...d222E8fEB
0 FTM0.07821156146.2891
Harvest198967592021-10-23 22:29:17887 days ago1635028157IN
0x4f8865A1...d222E8fEB
0 FTM0.02717096172.2112
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
85355112021-06-01 18:26:441031 days ago1622572004  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BeefyFeeBatch

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2021-06-01
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/BIFI/interfaces/common/IUniswapRouterETH.sol


pragma solidity ^0.6.0;

interface IUniswapRouterETH {
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn, 
        uint amountOutMin, 
        address[] calldata path, 
        address to, 
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
}

// File: contracts/BIFI/infra/BeefyFeeBatch.sol


pragma solidity ^0.6.12;






contract BeefyFeeBatch is Ownable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    // Tokens used
    address public wNative ;
    address public bifi;

    address public treasury;
    address public rewardPool;
    address public unirouter;

    // Fee constants
    uint constant public TREASURY_FEE = 140;
    uint constant public REWARD_POOL_FEE = 860;
    uint constant public MAX_FEE = 1000;

    address[] public wNativeToBifiRoute;

    constructor(
        address _treasury, 
        address _rewardPool, 
        address _unirouter, 
        address _bifi, 
        address _wNative 
    ) public {
        treasury = _treasury;
        rewardPool = _rewardPool;
        unirouter = _unirouter;
        bifi = _bifi;
        wNative  = _wNative ;

        wNativeToBifiRoute = [wNative, bifi];

        IERC20(wNative).safeApprove(unirouter, uint256(-1));
    }

    event NewRewardPool(address oldRewardPool, address newRewardPool);
    event NewTreasury(address oldTreasury, address newTreasury);
    event NewUnirouter(address oldUnirouter, address newUnirouter);

    modifier onlyEOA() {
        require(msg.sender == tx.origin, "!EOA");
        _;
    }

    // Main function. Divides Beefy's profits.
    function harvest() public onlyEOA {
        uint256 wNativeBal = IERC20(wNative).balanceOf(address(this));

        uint256 treasuryHalf = wNativeBal.mul(TREASURY_FEE).div(MAX_FEE).div(2);
        IERC20(wNative).safeTransfer(treasury, treasuryHalf);
        IUniswapRouterETH(unirouter).swapExactTokensForTokens(treasuryHalf, 0, wNativeToBifiRoute, treasury, now);
        
        uint256 rewardsFeeAmount = wNativeBal.mul(REWARD_POOL_FEE).div(MAX_FEE);
        IERC20(wNative).safeTransfer(rewardPool, rewardsFeeAmount);
    }

    // Manage the contract
    function setRewardPool(address _rewardPool) external onlyOwner {
        emit NewRewardPool(rewardPool, _rewardPool);
        rewardPool = _rewardPool;
    }

    function setTreasury(address _treasury) external onlyOwner {
        emit NewTreasury(treasury, _treasury);
        treasury = _treasury;
    }

    function setUnirouter(address _unirouter) external onlyOwner {
        emit NewUnirouter(unirouter, _unirouter);

        IERC20(wNative).safeApprove(_unirouter, uint256(-1));
        IERC20(wNative).safeApprove(unirouter, 0);

        unirouter = _unirouter;
    }
    
    // Rescue locked funds sent by mistake
    function inCaseTokensGetStuck(address _token) external onlyOwner {
        require(_token != wNative, "!safe");

        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(msg.sender, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_rewardPool","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_bifi","type":"address"},{"internalType":"address","name":"_wNative","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRewardPool","type":"address"},{"indexed":false,"internalType":"address","name":"newRewardPool","type":"address"}],"name":"NewRewardPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"NewTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldUnirouter","type":"address"},{"indexed":false,"internalType":"address","name":"newUnirouter","type":"address"}],"name":"NewUnirouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_POOL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bifi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardPool","type":"address"}],"name":"setRewardPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wNative","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wNativeToBifiRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200181038038062001810833981810160405260a08110156200003757600080fd5b5080516020820151604083015160608401516080909401519293919290919060006200006262000161565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600380546001600160a01b03199081166001600160a01b038881169190911790925560048054821687841617905560058054821686841617905560028054821685841617808255600180549093168585161792839055604080518082019091529284168352909216602082015262000128916006919062000578565b5060055460015462000156916001600160a01b03918216911660001962000165602090811b62000b5217901c565b505050505062000603565b3390565b801580620001ef575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620001bf57600080fd5b505afa158015620001d4573d6000803e3d6000fd5b505050506040513d6020811015620001eb57600080fd5b5051155b6200022c5760405162461bcd60e51b8152600401808060200182810382526036815260200180620017da6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002849185916200028916565b505050565b6060620002e5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200034560201b62000c65179092919060201c565b80519091501562000284578080602001905160208110156200030657600080fd5b5051620002845760405162461bcd60e51b815260040180806020018281038252602a815260200180620017b0602a913960400191505060405180910390fd5b606062000356848460008562000360565b90505b9392505050565b606082471015620003a35760405162461bcd60e51b81526004018080602001828103825260268152602001806200178a6026913960400191505060405180910390fd5b620003ae85620004c8565b62000400576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620004415780518252601f19909201916020918201910162000420565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620004a5576040519150601f19603f3d011682016040523d82523d6000602084013e620004aa565b606091505b509092509050620004bd828286620004ce565b979650505050505050565b3b151590565b60608315620004df57508162000359565b825115620004f05782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200053c57818101518382015260200162000522565b50505050905090810190601f1680156200056a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054828255906000526020600020908101928215620005d0579160200282015b82811115620005d057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000599565b50620005de929150620005e2565b5090565b5b80821115620005de5780546001600160a01b0319168155600101620005e3565b61117780620006136000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80638ce1a483116100a2578063bf4b5ecc11610071578063bf4b5ecc146101d3578063d92f3d73146101db578063def68a9c14610201578063f0f4426014610227578063f2fde38b1461024d5761010b565b80638ce1a4831461018c5780638da5cb5b146101a6578063906cd40b146101ae578063bc063e1a146101cb5761010b565b806361d027b3116100de57806361d027b31461014e57806366666aa914610156578063715018a61461015e57806378238c37146101665761010b565b8063257ae0de146101105780632d68efc9146101345780634458020b1461013c5780634641257d14610144575b600080fd5b610118610273565b604080516001600160a01b039092168252519081900360200190f35b610118610282565b610118610291565b61014c6102a0565b005b610118610562565b610118610571565b61014c610580565b61014c6004803603602081101561017c57600080fd5b50356001600160a01b031661062c565b6101946106f8565b60408051918252519081900360200190f35b6101186106fd565b610118600480360360208110156101c457600080fd5b503561070c565b610194610733565b610194610739565b61014c600480360360208110156101f157600080fd5b50356001600160a01b031661073f565b61014c6004803603602081101561021757600080fd5b50356001600160a01b0316610842565b61014c6004803603602081101561023d57600080fd5b50356001600160a01b0316610984565b61014c6004803603602081101561026357600080fd5b50356001600160a01b0316610a50565b6005546001600160a01b031681565b6001546001600160a01b031681565b6002546001600160a01b031681565b3332146102dd576040805162461bcd60e51b8152602060048083019190915260248201526321454f4160e01b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561032857600080fd5b505afa15801561033c573d6000803e3d6000fd5b505050506040513d602081101561035257600080fd5b505190506000610372600261036c6103e88186608c610c7e565b90610ce0565b600354600154919250610392916001600160a01b03908116911683610d47565b6005546003546040516338ed173960e01b8152600481018481526000602483018190526001600160a01b0393841660648401819052426084850181905260a0604486019081526006805460a4880181905297909816976338ed1739978a979596919591929160c401908690801561043257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610414575b50509650505050505050600060405180830381600087803b15801561045657600080fd5b505af115801561046a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561049357600080fd5b81019080805160405193929190846401000000008211156104b357600080fd5b9083019060208201858111156104c857600080fd5b82518660208202830111640100000000821117156104e557600080fd5b82525081516020918201928201910280838360005b838110156105125781810151838201526020016104fa565b5050505090500160405250505050600061053d6103e861036c61035c86610c7e90919063ffffffff16565b60045460015491925061055d916001600160a01b03908116911683610d47565b505050565b6003546001600160a01b031681565b6004546001600160a01b031681565b610588610d99565b6001600160a01b03166105996106fd565b6001600160a01b0316146105e2576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610634610d99565b6001600160a01b03166106456106fd565b6001600160a01b03161461068e576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600454604080516001600160a01b039283168152918316602083015280517fe3d88fc63ce6f40e089447cea2116e10d00cd00302225a3d4d57db7d456933b39281900390910190a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b608c81565b6000546001600160a01b031690565b6006818154811061071957fe5b6000918252602090912001546001600160a01b0316905081565b6103e881565b61035c81565b610747610d99565b6001600160a01b03166107586106fd565b6001600160a01b0316146107a1576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600554604080516001600160a01b039283168152918316602083015280517f826424c54f0e53618740c75270163dc0ce89545f38164b0e4b3a265cf73144539281900390910190a1600154610802906001600160a01b031682600019610b52565b600554600154610820916001600160a01b0391821691166000610b52565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61084a610d99565b6001600160a01b031661085b6106fd565b6001600160a01b0316146108a4576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b6001546001600160a01b03828116911614156108ef576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561093e57600080fd5b505afa158015610952573d6000803e3d6000fd5b505050506040513d602081101561096857600080fd5b505190506109806001600160a01b0383163383610d47565b5050565b61098c610d99565b6001600160a01b031661099d6106fd565b6001600160a01b0316146109e6576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600354604080516001600160a01b039283168152918316602083015280517f567657fa3f286518b318f4a29870674f433f622fdfc819691acb13105b2282259281900390910190a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610a58610d99565b6001600160a01b0316610a696106fd565b6001600160a01b031614610ab2576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b6001600160a01b038116610af75760405162461bcd60e51b81526004018080602001828103825260268152602001806110556026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b801580610bd8575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610baa57600080fd5b505afa158015610bbe573d6000803e3d6000fd5b505050506040513d6020811015610bd457600080fd5b5051155b610c135760405162461bcd60e51b815260040180806020018281038252603681526020018061110c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261055d908490610d9d565b6060610c748484600085610e4e565b90505b9392505050565b600082610c8d57506000610cda565b82820282848281610c9a57fe5b0414610cd75760405162461bcd60e51b81526004018080602001828103825260218152602001806110a16021913960400191505060405180910390fd5b90505b92915050565b6000808211610d36576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d3f57fe5b049392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261055d908490610d9d565b3390565b6060610df2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c659092919063ffffffff16565b80519091501561055d57808060200190516020811015610e1157600080fd5b505161055d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806110e2602a913960400191505060405180910390fd5b606082471015610e8f5760405162461bcd60e51b815260040180806020018281038252602681526020018061107b6026913960400191505060405180910390fd5b610e9885610faa565b610ee9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610f285780518252601f199092019160209182019101610f09565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610f8a576040519150601f19603f3d011682016040523d82523d6000602084013e610f8f565b606091505b5091509150610f9f828286610fb0565b979650505050505050565b3b151590565b60608315610fbf575081610c77565b825115610fcf5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611019578181015183820152602001611001565b50505050905090810190601f1680156110465780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122012e1120862f394e7abaebd9a0aef8e963e32a99837596692c2b3c0d2572df95264736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000e6cce165aa3e52b2cc55f17b1dbc6a8fe5d666100000000000000000000000007fb900c14c9889a559c777d016a885995ce759ee000000000000000000000000f491e7b69e4244ad4002bc14e878a34207e38c29000000000000000000000000d6070ae98b8069de6b494332d1a1a81b6179d96000000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80638ce1a483116100a2578063bf4b5ecc11610071578063bf4b5ecc146101d3578063d92f3d73146101db578063def68a9c14610201578063f0f4426014610227578063f2fde38b1461024d5761010b565b80638ce1a4831461018c5780638da5cb5b146101a6578063906cd40b146101ae578063bc063e1a146101cb5761010b565b806361d027b3116100de57806361d027b31461014e57806366666aa914610156578063715018a61461015e57806378238c37146101665761010b565b8063257ae0de146101105780632d68efc9146101345780634458020b1461013c5780634641257d14610144575b600080fd5b610118610273565b604080516001600160a01b039092168252519081900360200190f35b610118610282565b610118610291565b61014c6102a0565b005b610118610562565b610118610571565b61014c610580565b61014c6004803603602081101561017c57600080fd5b50356001600160a01b031661062c565b6101946106f8565b60408051918252519081900360200190f35b6101186106fd565b610118600480360360208110156101c457600080fd5b503561070c565b610194610733565b610194610739565b61014c600480360360208110156101f157600080fd5b50356001600160a01b031661073f565b61014c6004803603602081101561021757600080fd5b50356001600160a01b0316610842565b61014c6004803603602081101561023d57600080fd5b50356001600160a01b0316610984565b61014c6004803603602081101561026357600080fd5b50356001600160a01b0316610a50565b6005546001600160a01b031681565b6001546001600160a01b031681565b6002546001600160a01b031681565b3332146102dd576040805162461bcd60e51b8152602060048083019190915260248201526321454f4160e01b604482015290519081900360640190fd5b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561032857600080fd5b505afa15801561033c573d6000803e3d6000fd5b505050506040513d602081101561035257600080fd5b505190506000610372600261036c6103e88186608c610c7e565b90610ce0565b600354600154919250610392916001600160a01b03908116911683610d47565b6005546003546040516338ed173960e01b8152600481018481526000602483018190526001600160a01b0393841660648401819052426084850181905260a0604486019081526006805460a4880181905297909816976338ed1739978a979596919591929160c401908690801561043257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610414575b50509650505050505050600060405180830381600087803b15801561045657600080fd5b505af115801561046a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561049357600080fd5b81019080805160405193929190846401000000008211156104b357600080fd5b9083019060208201858111156104c857600080fd5b82518660208202830111640100000000821117156104e557600080fd5b82525081516020918201928201910280838360005b838110156105125781810151838201526020016104fa565b5050505090500160405250505050600061053d6103e861036c61035c86610c7e90919063ffffffff16565b60045460015491925061055d916001600160a01b03908116911683610d47565b505050565b6003546001600160a01b031681565b6004546001600160a01b031681565b610588610d99565b6001600160a01b03166105996106fd565b6001600160a01b0316146105e2576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610634610d99565b6001600160a01b03166106456106fd565b6001600160a01b03161461068e576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600454604080516001600160a01b039283168152918316602083015280517fe3d88fc63ce6f40e089447cea2116e10d00cd00302225a3d4d57db7d456933b39281900390910190a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b608c81565b6000546001600160a01b031690565b6006818154811061071957fe5b6000918252602090912001546001600160a01b0316905081565b6103e881565b61035c81565b610747610d99565b6001600160a01b03166107586106fd565b6001600160a01b0316146107a1576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600554604080516001600160a01b039283168152918316602083015280517f826424c54f0e53618740c75270163dc0ce89545f38164b0e4b3a265cf73144539281900390910190a1600154610802906001600160a01b031682600019610b52565b600554600154610820916001600160a01b0391821691166000610b52565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61084a610d99565b6001600160a01b031661085b6106fd565b6001600160a01b0316146108a4576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b6001546001600160a01b03828116911614156108ef576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561093e57600080fd5b505afa158015610952573d6000803e3d6000fd5b505050506040513d602081101561096857600080fd5b505190506109806001600160a01b0383163383610d47565b5050565b61098c610d99565b6001600160a01b031661099d6106fd565b6001600160a01b0316146109e6576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b600354604080516001600160a01b039283168152918316602083015280517f567657fa3f286518b318f4a29870674f433f622fdfc819691acb13105b2282259281900390910190a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610a58610d99565b6001600160a01b0316610a696106fd565b6001600160a01b031614610ab2576040805162461bcd60e51b815260206004820181905260248201526000805160206110c2833981519152604482015290519081900360640190fd5b6001600160a01b038116610af75760405162461bcd60e51b81526004018080602001828103825260268152602001806110556026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b801580610bd8575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610baa57600080fd5b505afa158015610bbe573d6000803e3d6000fd5b505050506040513d6020811015610bd457600080fd5b5051155b610c135760405162461bcd60e51b815260040180806020018281038252603681526020018061110c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261055d908490610d9d565b6060610c748484600085610e4e565b90505b9392505050565b600082610c8d57506000610cda565b82820282848281610c9a57fe5b0414610cd75760405162461bcd60e51b81526004018080602001828103825260218152602001806110a16021913960400191505060405180910390fd5b90505b92915050565b6000808211610d36576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610d3f57fe5b049392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261055d908490610d9d565b3390565b6060610df2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c659092919063ffffffff16565b80519091501561055d57808060200190516020811015610e1157600080fd5b505161055d5760405162461bcd60e51b815260040180806020018281038252602a8152602001806110e2602a913960400191505060405180910390fd5b606082471015610e8f5760405162461bcd60e51b815260040180806020018281038252602681526020018061107b6026913960400191505060405180910390fd5b610e9885610faa565b610ee9576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610f285780518252601f199092019160209182019101610f09565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610f8a576040519150601f19603f3d011682016040523d82523d6000602084013e610f8f565b606091505b5091509150610f9f828286610fb0565b979650505050505050565b3b151590565b60608315610fbf575081610c77565b825115610fcf5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611019578181015183820152602001611001565b50505050905090810190601f1680156110465780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122012e1120862f394e7abaebd9a0aef8e963e32a99837596692c2b3c0d2572df95264736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000e6cce165aa3e52b2cc55f17b1dbc6a8fe5d666100000000000000000000000007fb900c14c9889a559c777d016a885995ce759ee000000000000000000000000f491e7b69e4244ad4002bc14e878a34207e38c29000000000000000000000000d6070ae98b8069de6b494332d1a1a81b6179d96000000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83

-----Decoded View---------------
Arg [0] : _treasury (address): 0xe6CcE165Aa3e52B2cC55F17b1dBC6A8fe5D66610
Arg [1] : _rewardPool (address): 0x7fB900C14c9889A559C777D016a885995cE759Ee
Arg [2] : _unirouter (address): 0xF491e7B69E4244ad4002BC14e878a34207E38c29
Arg [3] : _bifi (address): 0xd6070ae98b8069de6B494332d1A1a81B6179D960
Arg [4] : _wNative (address): 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000e6cce165aa3e52b2cc55f17b1dbc6a8fe5d66610
Arg [1] : 0000000000000000000000007fb900c14c9889a559c777d016a885995ce759ee
Arg [2] : 000000000000000000000000f491e7b69e4244ad4002bc14e878a34207e38c29
Arg [3] : 000000000000000000000000d6070ae98b8069de6b494332d1a1a81b6179d960
Arg [4] : 00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83


Deployed Bytecode Sourcemap

38321:2766:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38570:24;;;:::i;:::-;;;;-1:-1:-1;;;;;38570:24:0;;;;;;;;;;;;;;38450:22;;;:::i;38480:19::-;;;:::i;39614:538::-;;;:::i;:::-;;38508:23;;;:::i;38538:25::-;;;:::i;2781:148::-;;;:::i;40188:160::-;;;;;;;;;;;;;;;;-1:-1:-1;40188:160:0;-1:-1:-1;;;;;40188:160:0;;:::i;38625:39::-;;;:::i;:::-;;;;;;;;;;;;;;;;2130:87;;;:::i;38764:35::-;;;;;;;;;;;;;;;;-1:-1:-1;38764:35:0;;:::i;38720:::-;;;:::i;38671:42::-;;;:::i;40510:272::-;;;;;;;;;;;;;;;;-1:-1:-1;40510:272:0;-1:-1:-1;;;;;40510:272:0;;:::i;40838:246::-;;;;;;;;;;;;;;;;-1:-1:-1;40838:246:0;-1:-1:-1;;;;;40838:246:0;;:::i;40356:146::-;;;;;;;;;;;;;;;;-1:-1:-1;40356:146:0;-1:-1:-1;;;;;40356:146:0;;:::i;3084:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3084:244:0;-1:-1:-1;;;;;3084:244:0;;:::i;38570:24::-;;;-1:-1:-1;;;;;38570:24:0;;:::o;38450:22::-;;;-1:-1:-1;;;;;38450:22:0;;:::o;38480:19::-;;;-1:-1:-1;;;;;38480:19:0;;:::o;39614:538::-;39506:10;39520:9;39506:23;39498:40;;;;;-1:-1:-1;;;39498:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;39498:40:0;;;;;;;;;;;;;;;39687:7:::1;::::0;39680:40:::1;::::0;;-1:-1:-1;;;39680:40:0;;39714:4:::1;39680:40;::::0;::::1;::::0;;;39659:18:::1;::::0;-1:-1:-1;;;;;39687:7:0::1;::::0;39680:25:::1;::::0;:40;;;;;::::1;::::0;;;;;;;;39687:7;39680:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;39680:40:0;;-1:-1:-1;39733:20:0::1;39756:48;39802:1;39756:41;38751:4;39756:41:::0;39680:40;38661:3:::1;39756:14;:28::i;:::-;:32:::0;::::1;:41::i;:48::-;39844:8;::::0;;39822:7;39733:71;;-1:-1:-1;39815:52:0::1;::::0;-1:-1:-1;;;;;39822:7:0;;::::1;::::0;39844:8:::1;39733:71:::0;39815:28:::1;:52::i;:::-;39896:9;::::0;39969:8:::1;::::0;39878:105:::1;::::0;-1:-1:-1;;;39878:105:0;;::::1;::::0;::::1;::::0;;;39896:9:::1;39878:105:::0;;;;;;-1:-1:-1;;;;;39969:8:0;;::::1;39878:105:::0;;;;;;39979:3:::1;39878:105:::0;;;;;;;;;;;;;39949:18:::1;39878:105:::0;;;;;;;;39896:9;;;::::1;::::0;39878:53:::1;::::0;39932:12;;39896:9;;39949:18;;39878:105;;;;;;39949:18;;39878:105;::::1;;;;;;;;;;;;;;;;::::0;;-1:-1:-1;;;;;39878:105:0::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;39878:105:0::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;-1:-1:-1;39878:105:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;;40004:24;40031:44;38751:4;40031:31;38710:3;40031:10;:14;;:31;;;;:::i;:44::-;40115:10;::::0;;40093:7;40004:71;;-1:-1:-1;40086:58:0::1;::::0;-1:-1:-1;;;;;40093:7:0;;::::1;::::0;40115:10:::1;40004:71:::0;40086:28:::1;:58::i;:::-;39549:1;;;39614:538::o:0;38508:23::-;;;-1:-1:-1;;;;;38508:23:0;;:::o;38538:25::-;;;-1:-1:-1;;;;;38538:25:0;;:::o;2781:148::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;2888:1:::1;2872:6:::0;;2851:40:::1;::::0;-1:-1:-1;;;;;2872:6:0;;::::1;::::0;2851:40:::1;::::0;2888:1;;2851:40:::1;2919:1;2902:19:::0;;-1:-1:-1;;;;;;2902:19:0::1;::::0;;2781:148::o;40188:160::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;40281:10:::1;::::0;40267:38:::1;::::0;;-1:-1:-1;;;;;40281:10:0;;::::1;40267:38:::0;;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;40316:10;:24:::0;;-1:-1:-1;;;;;;40316:24:0::1;-1:-1:-1::0;;;;;40316:24:0;;;::::1;::::0;;;::::1;::::0;;40188:160::o;38625:39::-;38661:3;38625:39;:::o;2130:87::-;2176:7;2203:6;-1:-1:-1;;;;;2203:6:0;2130:87;:::o;38764:35::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38764:35:0;;-1:-1:-1;38764:35:0;:::o;38720:::-;38751:4;38720:35;:::o;38671:42::-;38710:3;38671:42;:::o;40510:272::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;40600:9:::1;::::0;40587:35:::1;::::0;;-1:-1:-1;;;;;40600:9:0;;::::1;40587:35:::0;;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;40642:7;::::0;40635:52:::1;::::0;-1:-1:-1;;;;;40642:7:0::1;40663:10:::0;-1:-1:-1;;40635:27:0::1;:52::i;:::-;40726:9;::::0;;40705:7;40698:41:::1;::::0;-1:-1:-1;;;;;40705:7:0;;::::1;::::0;40726:9:::1;;40698:27;:41::i;:::-;40752:9;:22:::0;;-1:-1:-1;;;;;;40752:22:0::1;-1:-1:-1::0;;;;;40752:22:0;;;::::1;::::0;;;::::1;::::0;;40510:272::o;40838:246::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;40932:7:::1;::::0;-1:-1:-1;;;;;40922:17:0;;::::1;40932:7:::0;::::1;40922:17;;40914:35;;;::::0;;-1:-1:-1;;;40914:35:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;40914:35:0;;;;;;;;;;;;;::::1;;40962:14;40986:6;-1:-1:-1::0;;;;;40979:24:0::1;;41012:4;40979:39;;;;;;;;;;;;;-1:-1:-1::0;;;;;40979:39:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40979:39:0;;-1:-1:-1;41029:47:0::1;-1:-1:-1::0;;;;;41029:27:0;::::1;41057:10;40979:39:::0;41029:27:::1;:47::i;:::-;2421:1;40838:246:::0;:::o;40356:146::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;40443:8:::1;::::0;40431:32:::1;::::0;;-1:-1:-1;;;;;40443:8:0;;::::1;40431:32:::0;;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;40474:8;:20:::0;;-1:-1:-1;;;;;;40474:20:0::1;-1:-1:-1::0;;;;;40474:20:0;;;::::1;::::0;;;::::1;::::0;;40356:146::o;3084:244::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3173:22:0;::::1;3165:73;;;;-1:-1:-1::0;;;3165:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3275:6;::::0;;3254:38:::1;::::0;-1:-1:-1;;;;;3254:38:0;;::::1;::::0;3275:6;::::1;::::0;3254:38:::1;::::0;::::1;3303:6;:17:::0;;-1:-1:-1;;;;;;3303:17:0::1;-1:-1:-1::0;;;;;3303:17:0;;;::::1;::::0;;;::::1;::::0;;3084:244::o;33999:622::-;34369:10;;;34368:62;;-1:-1:-1;34385:39:0;;;-1:-1:-1;;;34385:39:0;;34409:4;34385:39;;;;-1:-1:-1;;;;;34385:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34385:39:0;:44;34368:62;34360:152;;;;-1:-1:-1;;;34360:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34550:62;;;-1:-1:-1;;;;;34550:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34550:62:0;-1:-1:-1;;;34550:62:0;;;34523:90;;34543:5;;34523:19;:90::i;28335:195::-;28438:12;28470:52;28492:6;28500:4;28506:1;28509:12;28470:21;:52::i;:::-;28463:59;;28335:195;;;;;;:::o;9818:220::-;9876:7;9900:6;9896:20;;-1:-1:-1;9915:1:0;9908:8;;9896:20;9939:5;;;9943:1;9939;:5;:1;9963:5;;;;;:10;9955:56;;;;-1:-1:-1;;;9955:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10029:1;-1:-1:-1;9818:220:0;;;;;:::o;10516:153::-;10574:7;10606:1;10602;:5;10594:44;;;;;-1:-1:-1;;;10594:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10660:1;10656;:5;;;;;;;10516:153;-1:-1:-1;;;10516:153:0:o;33340:177::-;33450:58;;;-1:-1:-1;;;;;33450:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33450:58:0;-1:-1:-1;;;33450:58:0;;;33423:86;;33443:5;;33423:19;:86::i;667:106::-;755:10;667:106;:::o;35645:761::-;36069:23;36095:69;36123:4;36095:69;;;;;;;;;;;;;;;;;36103:5;-1:-1:-1;;;;;36095:27:0;;;:69;;;;;:::i;:::-;36179:17;;36069:95;;-1:-1:-1;36179:21:0;36175:224;;36321:10;36310:30;;;;;;;;;;;;;;;-1:-1:-1;36310:30:0;36302:85;;;;-1:-1:-1;;;36302:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29387:530;29514:12;29572:5;29547:21;:30;;29539:81;;;;-1:-1:-1;;;29539:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29639:18;29650:6;29639:10;:18::i;:::-;29631:60;;;;;-1:-1:-1;;;29631:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29765:12;29779:23;29806:6;-1:-1:-1;;;;;29806:11:0;29826:5;29834:4;29806:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29806:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29764:75;;;;29857:52;29875:7;29884:10;29896:12;29857:17;:52::i;:::-;29850:59;29387:530;-1:-1:-1;;;;;;;29387:530:0:o;25417:422::-;25784:20;25823:8;;;25417:422::o;31927:742::-;32042:12;32071:7;32067:595;;;-1:-1:-1;32102:10:0;32095:17;;32067:595;32216:17;;:21;32212:439;;32479:10;32473:17;32540:15;32527:10;32523:2;32519:19;32512:44;32427:148;32622:12;32615:20;;-1:-1:-1;;;32615:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://12e1120862f394e7abaebd9a0aef8e963e32a99837596692c2b3c0d2572df952

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.