ETH Price: $3,202.99 (-1.60%)
Gas: 1 Gwei

Contract

0xC2D55CE14a8e04AEF9B6bCfD105079b63C6a0AC8
 
Transaction Hash
Method
Block
From
To
Claim VETH Rewar...167961082023-03-10 6:56:47505 days ago1678431407IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0005175522
Withdraw126231052021-06-13 1:13:141141 days ago1623546794IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0017824911
Withdraw125340012021-05-30 6:00:561154 days ago1622354456IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0030788519
Withdraw119162002021-02-23 22:53:461250 days ago1614120826IN
0xC2D55CE1...63C6a0AC8
0 ETH0.02926739179
Withdraw119161702021-02-23 22:47:211250 days ago1614120441IN
0xC2D55CE1...63C6a0AC8
0 ETH0.009774181
Withdraw119010082021-02-21 15:08:121252 days ago1613920092IN
0xC2D55CE1...63C6a0AC8
0 ETH0.009292
Withdraw115562602020-12-30 15:44:591305 days ago1609343099IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0143737488
Withdraw115553712020-12-30 12:27:421305 days ago1609331262IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0149642100
Withdraw115549942020-12-30 11:04:131305 days ago1609326253IN
0xC2D55CE1...63C6a0AC8
0 ETH0.015311793
Withdraw115538212020-12-30 6:40:231305 days ago1609310423IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0123590697
Withdraw115538212020-12-30 6:40:231305 days ago1609310423IN
0xC2D55CE1...63C6a0AC8
0 ETH0.014617797
Withdraw115501062020-12-29 16:56:141306 days ago1609260974IN
0xC2D55CE1...63C6a0AC8
0 ETH0.02437335153
Withdraw115466582020-12-29 4:08:141307 days ago1609214894IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0082303155
Withdraw115442192020-12-28 19:03:181307 days ago1609182198IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0136990286
Exit115429492020-12-28 14:17:371307 days ago1609165057IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0941633275
Withdraw115427822020-12-28 13:41:491307 days ago1609162909IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0301598224
Get Reward115422732020-12-28 11:54:131307 days ago1609156453IN
0xC2D55CE1...63C6a0AC8
0 ETH0.019245785
Withdraw115414062020-12-28 8:45:431307 days ago1609145143IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0119713680
Get Reward115411522020-12-28 7:58:591307 days ago1609142339IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0194721286
Withdraw115403012020-12-28 4:51:041308 days ago1609131064IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0092395758
Get Reward115398202020-12-28 3:03:481308 days ago1609124628IN
0xC2D55CE1...63C6a0AC8
0 ETH0.016981575
Withdraw115371492020-12-27 17:20:381308 days ago1609089638IN
0xC2D55CE1...63C6a0AC8
0 ETH0.02996484182
Withdraw115356602020-12-27 11:50:331308 days ago1609069833IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0137087895.00000145
Get Reward115354232020-12-27 10:56:421308 days ago1609066602IN
0xC2D55CE1...63C6a0AC8
0 ETH0.012453155
Withdraw115341032020-12-27 6:09:171308 days ago1609049357IN
0xC2D55CE1...63C6a0AC8
0 ETH0.0065304341
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YFVRewards

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-18
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: YFIRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

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

pragma solidity ^0.5.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

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

pragma solidity ^0.5.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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol

pragma solidity ^0.5.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal {}
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view 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/ownership/Ownable.sol

pragma solidity ^0.5.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.
 *
 * 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.
 */
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 {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        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.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);

    function mint(address account, uint amount) external;

    function burn(uint amount) external;

    /**
     * @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/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {codehash := extcodehash(account)}
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

pragma solidity ^0.5.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 ERC20;` 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));
    }

    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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "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/IRewardDistributionRecipient.sol

pragma solidity ^0.5.0;


contract IRewardDistributionRecipient is Ownable {
    address rewardDistribution;
    address public rewardVote;
    address public rewardReferral;

    function notifyRewardAmount(uint256 reward) external;

    modifier onlyRewardDistribution() {
        require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
        _;
    }

    function setRewardDistribution(address _rewardDistribution) external onlyOwner {
        rewardDistribution = _rewardDistribution;
    }

    function setRewardVote(address _rewardVote) external onlyOwner {
        rewardVote = _rewardVote;
    }

    function setRewardReferral(address _rewardReferral) external onlyOwner {
        rewardReferral = _rewardReferral;
    }
}

// File: contracts/CurveRewards.sol

pragma solidity ^0.5.0;


contract LPTokenWrapper {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using Address for address;

    mapping(address => uint256) private _totalSupply; // token_address -> total_supply
    mapping(address => mapping(address => uint256)) private _balances; // token_address -> map(account -> balance)

    function totalSupply(address tokenAddress) public view returns (uint256) {
        return _totalSupply[tokenAddress];
    }

    function balanceOf(address tokenAddress, address account) public view returns (uint256) {
        return _balances[tokenAddress][account];
    }

    function tokenStake(address tokenAddress, uint256 amount) internal {
        address sender = msg.sender;
        require(!address(sender).isContract(), "Andre, we are farming in peace, go harvest somewhere else sir.");
        require(tx.origin == sender, "Andre, stahp.");
        _totalSupply[tokenAddress] = _totalSupply[tokenAddress].add(amount);
        _balances[tokenAddress][sender] = _balances[tokenAddress][sender].add(amount);
        IERC20(tokenAddress).safeTransferFrom(sender, address(this), amount);
    }

    function tokenWithdraw(address tokenAddress, uint256 amount) internal {
        _totalSupply[tokenAddress] = _totalSupply[tokenAddress].sub(amount);
        _balances[tokenAddress][msg.sender] = _balances[tokenAddress][msg.sender].sub(amount);
        IERC20(tokenAddress).safeTransfer(msg.sender, amount);
    }
}

interface IYFVReferral {
    function setReferrer(address farmer, address referrer) external;
    function getReferrer(address farmer) external view returns (address);
}

interface IYFVVote {
    function averageVotingValue(address poolAddress, uint256 votingItem) external view returns (uint16);
}

contract YFVRewards is LPTokenWrapper, IRewardDistributionRecipient {
    IERC20 public yfv = IERC20(0x45f24BaEef268BB6d63AEe5129015d69702BCDfa);
    IERC20 public vUSD = IERC20(0x1B8E12F839BD4e73A47adDF76cF7F0097d74c14C);
    IERC20 public vETH = IERC20(0x76A034e76Aa835363056dd418611E4f81870f16e);

    uint256 public vUSD_REWARD_FRACTION_RATE = 21000000000; // 21 * 1e9 (vUSD decimals = 9)
    uint256 public vETH_REWARD_FRACTION_RATE = 21000000000000; // 21000 * 1e9 (vETH decimals = 9)

    uint256 public constant DURATION = 7 days;
    uint8 public constant NUMBER_EPOCHS = 10;

    uint256 public constant REFERRAL_COMMISSION_PERCENT = 1;

    uint256 public constant EPOCH_REWARD = 63000 ether;
    uint256 public constant TOTAL_REWARD = EPOCH_REWARD * NUMBER_EPOCHS;

    uint256 public initreward = EPOCH_REWARD;
    uint256 public currentEpochReward = initreward;
    uint256 public totalAccumulatedReward = 0;
    uint8 public currentEpoch = 0;
    uint256 public starttime = 1597759200; // Tuesday, August 18, 2020 2:00:00 PM (GMT+0)
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;
    mapping(address => bool) public claimedVETHRewards; // account -> has claimed vETH?

    mapping(address => uint256) public accumulatedStakingPower; // will accumulate every time staker does getReward()

    address public constant USDT_TOKEN_ADDRESS = 0xdAC17F958D2ee523a2206206994597C13D831ec7;
    address public constant USDC_TOKEN_ADDRESS = 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48;
    address public constant TUSD_TOKEN_ADDRESS = 0x0000000000085d4780B73119b644AE5ecd22b376;
    address public constant DAI_TOKEN_ADDRESS = 0x6B175474E89094C44Da98b954EedeAC495271d0F;

    address[4] public SUPPORTED_STAKING_COIN_ADDRESSES = [USDT_TOKEN_ADDRESS, USDC_TOKEN_ADDRESS, TUSD_TOKEN_ADDRESS, DAI_TOKEN_ADDRESS];
    uint256[4] public SUPPORTED_STAKING_COIN_WEI_MULTIPLE = [1000000000000, 1000000000000, 1, 1];

    mapping(address => uint256) public supportedStakingCoinWeiMultiple; // token_address -> wei_multiple (because USDT and USDC have decimals = 6 only. Need to multiply by 1e12)

    mapping(address => address) public affiliate; // account_address -> referrer_address
    mapping(address => uint256) public referredCount; // referrer_address -> num_of_referred

    event RewardAdded(uint256 reward);
    event Burned(uint256 reward);
    event Staked(address indexed user, address indexed tokenAddress, uint256 amount);
    event Withdrawn(address indexed user, address indexed tokenAddress, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event CommissionPaid(address indexed user, uint256 reward);

    constructor () public {
        for (uint8 i = 0; i < 4; i++) {
            supportedStakingCoinWeiMultiple[SUPPORTED_STAKING_COIN_ADDRESSES[i]] = SUPPORTED_STAKING_COIN_WEI_MULTIPLE[i];
        }
    }

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function weiTotalSupply() public view returns (uint256) {
        uint256 __weiTotalSupply = 0;
        for (uint8 i = 0; i < 4; i++) {
            __weiTotalSupply = __weiTotalSupply.add(super.totalSupply(SUPPORTED_STAKING_COIN_ADDRESSES[i]).mul(SUPPORTED_STAKING_COIN_WEI_MULTIPLE[i]));
        }
        return __weiTotalSupply;
    }

    function rewardPerToken() public view returns (uint256) {
        if (weiTotalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return
        rewardPerTokenStored.add(
            lastTimeRewardApplicable()
            .sub(lastUpdateTime)
            .mul(rewardRate)
            .mul(1e18)
            .div(weiTotalSupply())
        );
    }

    function weiBalanceOf(address account) public view returns (uint256) {
        uint256 __weiBalance = 0;
        for (uint8 i = 0; i < 4; i++) {
            uint256 __balance = super.balanceOf(SUPPORTED_STAKING_COIN_ADDRESSES[i], account);
            if (__balance > 0) {
                __weiBalance = __weiBalance.add(__balance.mul(SUPPORTED_STAKING_COIN_WEI_MULTIPLE[i]));
            }
        }
        return __weiBalance;
    }

    function earned(address account) public view returns (uint256) {
        return
        weiBalanceOf(account)
        .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
        .div(1e18)
        .add(rewards[account]);
    }

    function stakingPower(address account) public view returns (uint256) {
        return accumulatedStakingPower[account].add(earned(account));
    }

    function vUSDBalance(address account) public view returns (uint256) {
        return earned(account).div(vUSD_REWARD_FRACTION_RATE);
    }

    function vETHBalance(address account) public view returns (uint256) {
        return stakingPower(account).div(vETH_REWARD_FRACTION_RATE);
    }

    function claimVETHReward() public {
        require(rewardRate == 0, "vETH could be claimed only after the pool ends.");
        uint256 claimAmount = vETHBalance(msg.sender);
        require(claimAmount > 0, "You have no vETH to claim");
        require(!claimedVETHRewards[msg.sender], "You have claimed all pending vETH.");
        claimedVETHRewards[msg.sender] = true;
        vETH.safeTransfer(msg.sender, claimAmount);
    }

    function stake(address tokenAddress, uint256 amount, address referrer) public updateReward(msg.sender) checkNextEpoch checkStart {
        require(amount > 0, "Cannot stake 0");
        require(supportedStakingCoinWeiMultiple[tokenAddress] > 0, "Not supported coin");
        require(referrer != msg.sender, "You cannot refer yourself.");
        super.tokenStake(tokenAddress, amount);
        emit Staked(msg.sender, tokenAddress, amount);
        if (rewardReferral != address(0) && referrer != address(0)) {
            IYFVReferral(rewardReferral).setReferrer(msg.sender, referrer);
        }
    }

    function withdraw(address tokenAddress, uint256 amount) public updateReward(msg.sender) checkNextEpoch checkStart {
        require(amount > 0, "Cannot withdraw 0");
        require(supportedStakingCoinWeiMultiple[tokenAddress] > 0, "Not supported coin");
        super.tokenWithdraw(tokenAddress, amount);
        emit Withdrawn(msg.sender, tokenAddress, amount);
    }

    function exit() external {
        for (uint8 i = 0; i < 4; i++) {
            uint256 __balance = balanceOf(SUPPORTED_STAKING_COIN_ADDRESSES[i], msg.sender);
            if (__balance > 0) {
                withdraw(SUPPORTED_STAKING_COIN_ADDRESSES[i], __balance);
            }
        }
        getReward();
    }

    function getReward() public updateReward(msg.sender) checkNextEpoch checkStart {
        uint256 reward = earned(msg.sender);
        if (reward > 1) {
            accumulatedStakingPower[msg.sender] = accumulatedStakingPower[msg.sender].add(rewards[msg.sender]);
            rewards[msg.sender] = 0;

            uint256 actualPaid = reward.mul(100 - REFERRAL_COMMISSION_PERCENT).div(100); // 99%
            uint256 commission = reward - actualPaid; // 1%

            yfv.safeTransfer(msg.sender, actualPaid);
            emit RewardPaid(msg.sender, actualPaid);

            address referrer = address(0);
            if (rewardReferral != address(0)) {
                referrer = IYFVReferral(rewardReferral).getReferrer(msg.sender);
            }
            if (referrer != address(0)) { // send commission to referrer
                yfv.safeTransfer(referrer, commission);
                emit RewardPaid(msg.sender, commission);
            } else {// or burn
                yfv.burn(commission);
                emit Burned(commission);
            }

            vUSD.safeTransfer(msg.sender, reward.div(vUSD_REWARD_FRACTION_RATE));
        }
    }

    function nextRewardMultiplier() public view returns (uint16) {
        if (rewardVote != address(0)) {
            uint16 votingValue = IYFVVote(rewardVote).averageVotingValue(address(this), periodFinish);
            if (votingValue > 0) return votingValue;
        }
        return 100;
    }

    modifier checkNextEpoch() {
        if (block.timestamp >= periodFinish) {
            initreward = EPOCH_REWARD; // (by consensus)

            uint16 rewardMultiplier = nextRewardMultiplier(); // 50% -> 200% (by vote)
            currentEpochReward = initreward.mul(rewardMultiplier).div(100); // x0.50 -> x2.00 (by vote)

            if (totalAccumulatedReward.add(currentEpochReward) > TOTAL_REWARD) {
                currentEpochReward = TOTAL_REWARD.sub(totalAccumulatedReward); // limit total reward
            }

            if (currentEpochReward > 0) {
                yfv.mint(address(this), currentEpochReward);
                vUSD.mint(address(this), currentEpochReward.div(vUSD_REWARD_FRACTION_RATE));
                vETH.mint(address(this), currentEpochReward.div(vETH_REWARD_FRACTION_RATE));
                totalAccumulatedReward = totalAccumulatedReward.add(currentEpochReward);
                currentEpoch++;
            }

            rewardRate = currentEpochReward.div(DURATION);
            periodFinish = block.timestamp.add(DURATION);
            emit RewardAdded(currentEpochReward);
        }
        _;
    }

    modifier checkStart() {
        require(block.timestamp > starttime, "not start");
        _;
    }

    function notifyRewardAmount(uint256 reward) external onlyRewardDistribution updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        yfv.mint(address(this), reward);
        vUSD.mint(address(this), reward.div(vUSD_REWARD_FRACTION_RATE));
        vETH.mint(address(this), reward.div(vETH_REWARD_FRACTION_RATE));
        totalAccumulatedReward = totalAccumulatedReward.add(reward);
        currentEpoch++;
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        emit RewardAdded(reward);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"CommissionPaid","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"DAI_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EPOCH_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"NUMBER_EPOCHS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"REFERRAL_COMMISSION_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SUPPORTED_STAKING_COIN_ADDRESSES","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SUPPORTED_STAKING_COIN_WEI_MULTIPLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TOTAL_REWARD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TUSD_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"USDC_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"USDT_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accumulatedStakingPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"affiliate","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimVETHReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedVETHRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentEpoch","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentEpochReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initreward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextRewardMultiplier","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referredCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardReferral","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardVote","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardReferral","type":"address"}],"name":"setRewardReferral","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardVote","type":"address"}],"name":"setRewardVote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"referrer","type":"address"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"stakingPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supportedStakingCoinWeiMultiple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalAccumulatedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vETH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"vETHBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vETH_REWARD_FRACTION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vUSD","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"vUSDBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vUSD_REWARD_FRACTION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"weiBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"yfv","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]

600680546001600160a01b03199081167345f24baeef268bb6d63aee5129015d69702bcdfa17909155600780548216731b8e12f839bd4e73a47addf76cf7f0097d74c14c179055600880549091167376a034e76aa835363056dd418611e4f81870f16e1790556404e3b29200600955651319718a5000600a55690d573ca1c3b1c9600000600b819055600c556000600d819055600e805460ff19169055635f3bdee0600f55601081905560115561010060405273dac17f958d2ee523a2206206994597c13d831ec7608090815273a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4860a0526e085d4780b73119b644ae5ecd22b37660c052736b175474e89094c44da98b954eedeac495271d0f60e0526200011f9060189060046200022f565b506040805160808101825264e8d4a510008082526020820152600191810182905260608101919091526200015890601c9060046200028c565b503480156200016657600080fd5b506200017a6001600160e01b036200022a16565b600280546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360005b60048160ff1610156200022357601c8160ff1660048110620001e757fe5b01546020600060188460ff1660048110620001fe57fe5b01546001600160a01b03168152602081019190915260400160002055600101620001c9565b5062000318565b335b90565b82600481019282156200027a579160200282015b828111156200027a57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000243565b5062000288929150620002d4565b5090565b8260048101928215620002c6579160200282015b82811115620002c6578251829064ffffffffff16905591602001919060010190620002a0565b5062000288929150620002fb565b6200022c91905b80821115620002885780546001600160a01b0319168155600101620002db565b6200022c91905b8082111562000288576000815560010162000302565b612cf580620003286000396000f3fe608060405234801561001057600080fd5b506004361061038c5760003560e01c80637b0a47ee116101de578063c8333bb21161010f578063e9b46e6d116100ad578063f2fde38b1161007c578063f2fde38b146107e1578063f3fef3a314610807578063f7888aec14610833578063ffe48902146108615761038c565b8063e9b46e6d14610785578063e9fad8ee146107ab578063eb504614146107b3578063ebe2b12b146107d95761038c565b8063dc8d3683116100e9578063dc8d368314610747578063df136d651461074f578063e4dc2aa414610757578063e68e035b1461077d5761038c565b8063c8333bb21461072f578063c8f33c9114610737578063cd3daf9d1461073f5761038c565b806398309e3d1161017c578063aa5a0d5e11610156578063aa5a0d5e146106f1578063b3d673d8146106f9578063b591d3a514610701578063c3dee20b146107275761038c565b806398309e3d146106bb5780639c907b58146106e1578063a457536c146106e95761038c565b80638b876347116101b85780638b8763471461067d5780638da58897146106a35780638da5cb5b146106ab5780638f32d59b146106b35761038c565b80637b0a47ee1461066557806380ad30081461066d57806380faa57d146106755761038c565b80632f38c8a1116102c357806353220a4211610261578063715018a611610230578063715018a6146106455780637318a7301461064d578063766718081461065557806379a7d1be1461065d5761038c565b806353220a42146105de578063541dbe9f146105e657806367b37b7a146105ee5780636a46d059146106285761038c565b80633d62bbe11161029d5780633d62bbe11461056d5780633f7b06d81461059357806341c5c207146105b95780634d286a3d146105d65761038c565b80632f38c8a1146105225780633c6b16ab146105485780633d18b912146105655761038c565b806313eb6c88116103305780631d8a6d101161030a5780631d8a6d10146104bd578063207e821d146104c5578063294091cd146104cd5780632e329bd3146105035761038c565b806313eb6c88146104875780631961eaf91461048f5780631be05289146104b55761038c565b80630700037d1161036c5780630700037d146103f95780630cdb43c41461041f5780630d68b761146104435780630fcfc6a8146104695761038c565b80622dcfb9146103915780628cc262146103b957806304e01d87146103f1575b600080fd5b6103b7600480360360208110156103a757600080fd5b50356001600160a01b0316610887565b005b6103df600480360360208110156103cf57600080fd5b50356001600160a01b03166108f0565b60408051918252519081900360200190f35b6103df610976565b6103df6004803603602081101561040f57600080fd5b50356001600160a01b031661097c565b61042761098e565b604080516001600160a01b039092168252519081900360200190f35b6103b76004803603602081101561045957600080fd5b50356001600160a01b031661099d565b610471610a06565b6040805160ff9092168252519081900360200190f35b6103df610a0b565b6103b7600480360360208110156104a557600080fd5b50356001600160a01b0316610a19565b6103df610a82565b6103b7610a89565b6103df610bb6565b6103b7600480360360608110156104e357600080fd5b506001600160a01b03813581169160208101359160409091013516610bbc565b61050b6110ec565b6040805161ffff9092168252519081900360200190f35b6103df6004803603602081101561053857600080fd5b50356001600160a01b03166111a2565b6103b76004803603602081101561055e57600080fd5b50356111b3565b6103b76114d7565b6103df6004803603602081101561058357600080fd5b50356001600160a01b0316611abb565b6103df600480360360208110156105a957600080fd5b50356001600160a01b0316611acc565b6103df600480360360208110156105cf57600080fd5b5035611ade565b610427611af2565b6103df611b0a565b6103df611b0f565b6106146004803603602081101561060457600080fd5b50356001600160a01b0316611b78565b604080519115158252519081900360200190f35b6104276004803603602081101561063e57600080fd5b5035611b8d565b6103b7611baa565b610427611c3b565b610471611c4a565b610427611c53565b6103df611c62565b610427611c68565b6103df611c80565b6103df6004803603602081101561069357600080fd5b50356001600160a01b0316611c93565b6103df611ca5565b610427611cab565b610614611cba565b6103df600480360360208110156106d157600080fd5b50356001600160a01b0316611ce0565b6103df611d64565b610427611d6a565b610427611d79565b610427611d8c565b6104276004803603602081101561071757600080fd5b50356001600160a01b0316611da4565b610427611dbf565b6103df611dce565b6103df611ddc565b6103df611de2565b6103df611e36565b6103df611e3c565b6103df6004803603602081101561076d57600080fd5b50356001600160a01b0316611e42565b6103df611e5d565b6103df6004803603602081101561079b57600080fd5b50356001600160a01b0316611e63565b6103b7611e75565b6103df600480360360208110156107c957600080fd5b50356001600160a01b0316611eea565b6103df611efb565b6103b7600480360360208110156107f757600080fd5b50356001600160a01b0316611f01565b6103b76004803603604081101561081d57600080fd5b506001600160a01b038135169060200135611f51565b6103df6004803603604081101561084957600080fd5b506001600160a01b0381358116916020013516612391565b6103df6004803603602081101561087757600080fd5b50356001600160a01b03166123bc565b61088f611cba565b6108ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152601560209081526040808320546014909252822054610970919061096490670de0b6b3a7640000906109589061094390610937611de2565b9063ffffffff6123ef16565b61094c88611ce0565b9063ffffffff61243816565b9063ffffffff61249116565b9063ffffffff6124d316565b92915050565b600a5481565b60156020526000908152604090205481565b6005546001600160a01b031681565b6109a5611cba565b6109e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600a81565b690d573ca1c3b1c960000081565b610a21611cba565b610a60576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b62093a8081565b60115415610ac85760405162461bcd60e51b815260040180806020018281038252602f815260200180612c92602f913960400191505060405180910390fd5b6000610ad333611abb565b905060008111610b2a576040805162461bcd60e51b815260206004820152601960248201527f596f752068617665206e6f207645544820746f20636c61696d00000000000000604482015290519081900360640190fd5b3360009081526016602052604090205460ff1615610b795760405162461bcd60e51b8152600401808060200182810382526022815260200180612bc46022913960400191505060405180910390fd5b336000818152601660205260409020805460ff19166001179055600854610bb3916001600160a01b0391909116908363ffffffff61252d16565b50565b600d5481565b33610bc5611de2565b601355610bd0611c80565b6012556001600160a01b03811615610c1757610beb816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b6010544210610ec457690d573ca1c3b1c9600000600b556000610c386110ec565b9050610c5860646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091610c7c919063ffffffff6124d316565b1115610ca457600d54610ca0906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c5415610e7057600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610d0257600080fd5b505af1158015610d16573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f1992503091610d469163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610d9557600080fd5b505af1158015610da9573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f1992503091610dd99163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b5050600c54600d54610e569350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c54610e869062093a8063ffffffff61249116565b601155610e9c4262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f544211610f06576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008311610f4c576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6001600160a01b0384166000908152602080526040902054610faa576040805162461bcd60e51b81526020600482015260126024820152712737ba1039bab83837b93a32b21031b7b4b760711b604482015290519081900360640190fd5b6001600160a01b038216331415611008576040805162461bcd60e51b815260206004820152601a60248201527f596f752063616e6e6f7420726566657220796f757273656c662e000000000000604482015290519081900360640190fd5b6110128484612584565b6040805184815290516001600160a01b0386169133917f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360200190a36005546001600160a01b03161580159061107457506001600160a01b03821615155b156110e6576005546040805163bbddaca360e01b81523360048201526001600160a01b0385811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b1580156110cd57600080fd5b505af11580156110e1573d6000803e3d6000fd5b505050505b50505050565b6004546000906001600160a01b03161561119b5760048054601054604080516397ec0ffd60e01b815230948101949094526024840191909152516000926001600160a01b03909216916397ec0ffd916044808301926020929190829003018186803b15801561115a57600080fd5b505afa15801561116e573d6000803e3d6000fd5b505050506040513d602081101561118457600080fd5b5051905061ffff81161561119957905061119f565b505b5060645b90565b6000610970600954610958846108f0565b6003546001600160a01b03166111c76126be565b6001600160a01b03161461120c5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c476021913960400191505060405180910390fd5b6000611216611de2565b601355611221611c80565b6012556001600160a01b038116156112685761123c816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b601054421061128c576112848262093a8063ffffffff61249116565b6011556112da565b6010546000906112a2904263ffffffff6123ef16565b905060006112bb6011548361243890919063ffffffff16565b90506112d462093a80610958868463ffffffff6124d316565b60115550505b600654604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561132d57600080fd5b505af1158015611341573d6000803e3d6000fd5b50506007546009546001600160a01b0390911692506340c10f199150309061137090869063ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156113bf57600080fd5b505af11580156113d3573d6000803e3d6000fd5b5050600854600a546001600160a01b0390911692506340c10f199150309061140290869063ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561145157600080fd5b505af1158015611465573d6000803e3d6000fd5b5050600d5461147d925090508363ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790554260128190556114af9062093a8063ffffffff6124d316565b601055604080518381529051600080516020612be68339815191529181900360200190a15050565b336114e0611de2565b6013556114eb611c80565b6012556001600160a01b0381161561153257611506816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b60105442106117df57690d573ca1c3b1c9600000600b5560006115536110ec565b905061157360646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091611597919063ffffffff6124d316565b11156115bf57600d546115bb906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c541561178b57600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561161d57600080fd5b505af1158015611631573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f19925030916116619163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156116b057600080fd5b505af11580156116c4573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f19925030916116f49163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561174357600080fd5b505af1158015611757573d6000803e3d6000fd5b5050600c54600d546117719350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c546117a19062093a8063ffffffff61249116565b6011556117b74262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f544211611821576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600061182c336108f0565b90506001811115611ab757336000908152601560209081526040808320546017909252909120546118629163ffffffff6124d316565b3360009081526017602090815260408083209390935560159052908120819055611898606461095884606363ffffffff61243816565b600654909150818303906118bc906001600160a01b0316338463ffffffff61252d16565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a26005546000906001600160a01b0316156119805760055460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b15801561195157600080fd5b505afa158015611965573d6000803e3d6000fd5b505050506040513d602081101561197b57600080fd5b505190505b6001600160a01b038116156119e7576006546119ac906001600160a01b0316828463ffffffff61252d16565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2611a81565b60065460408051630852cd8d60e31b81526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b158015611a3457600080fd5b505af1158015611a48573d6000803e3d6000fd5b50506040805185815290517fd83c63197e8e676d80ab0122beba9a9d20f3828839e9a1d6fe81d242e9cd7e6e9350908190036020019150a15b611ab333611a9a6009548761249190919063ffffffff16565b6007546001600160a01b0316919063ffffffff61252d16565b5050505b5050565b6000610970600a54610958846123bc565b60226020526000908152604090205481565b601c8160048110611aeb57fe5b0154905081565b73dac17f958d2ee523a2206206994597c13d831ec781565b600181565b600080805b60048160ff161015611b7257611b68611b5b601c8360ff1660048110611b3657fe5b015461094c60188560ff1660048110611b4b57fe5b01546001600160a01b0316611e42565b839063ffffffff6124d316565b9150600101611b14565b50905090565b60166020526000908152604090205460ff1681565b60188160048110611b9a57fe5b01546001600160a01b0316905081565b611bb2611cba565b611bf1576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b6002546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600280546001600160a01b0319169055565b6006546001600160a01b031681565b600e5460ff1681565b6008546001600160a01b031681565b60115481565b736b175474e89094c44da98b954eedeac495271d0f81565b6000611c8e426010546126c2565b905090565b60146020526000908152604090205481565b600f5481565b6002546001600160a01b031690565b6002546000906001600160a01b0316611cd16126be565b6001600160a01b031614905090565b600080805b60048160ff161015611d5d576000611d1760188360ff1660048110611d0657fe5b01546001600160a01b031686612391565b90508015611d5457611d51611d44601c8460ff1660048110611d3557fe5b0154839063ffffffff61243816565b849063ffffffff6124d316565b92505b50600101611ce5565b5092915050565b600b5481565b6007546001600160a01b031681565b6e085d4780b73119b644ae5ecd22b37681565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6021602052600090815260409020546001600160a01b031681565b6004546001600160a01b031681565b6985685e51a4f1ddc0000081565b60125481565b6000611dec611b0f565b611df9575060135461119f565b611c8e611e27611e07611b0f565b610958670de0b6b3a764000061094c60115461094c601254610937611c80565b6013549063ffffffff6124d316565b60095481565b60135481565b6001600160a01b031660009081526020819052604090205490565b600c5481565b60176020526000908152604090205481565b60005b60048160ff161015611edf576000611eaa60188360ff1660048110611e9957fe5b01546001600160a01b031633612391565b90508015611ed657611ed660188360ff1660048110611ec557fe5b01546001600160a01b031682611f51565b50600101611e78565b50611ee86114d7565b565b602080526000908152604090205481565b60105481565b611f09611cba565b611f48576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b610bb3816126d8565b33611f5a611de2565b601355611f65611c80565b6012556001600160a01b03811615611fac57611f80816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b601054421061225957690d573ca1c3b1c9600000600b556000611fcd6110ec565b9050611fed60646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091612011919063ffffffff6124d316565b111561203957600d54612035906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c541561220557600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561209757600080fd5b505af11580156120ab573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f19925030916120db9163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561212a57600080fd5b505af115801561213e573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f199250309161216e9163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156121bd57600080fd5b505af11580156121d1573d6000803e3d6000fd5b5050600c54600d546121eb9350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c5461221b9062093a8063ffffffff61249116565b6011556122314262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f54421161229b576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600082116122e4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6001600160a01b0383166000908152602080526040902054612342576040805162461bcd60e51b81526020600482015260126024820152712737ba1039bab83837b93a32b21031b7b4b760711b604482015290519081900360640190fd5b61234c8383612779565b6040805183815290516001600160a01b0385169133917fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9181900360200190a3505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006109706123ca836108f0565b6001600160a01b0384166000908152601760205260409020549063ffffffff6124d316565b600061243183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612815565b9392505050565b60008261244757506000610970565b8282028284828161245457fe5b04146124315760405162461bcd60e51b8152600401808060200182810382526021815260200180612c066021913960400191505060405180910390fd5b600061243183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ac565b600082820183811015612431576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261257f908490612911565b505050565b3361258e81612ac9565b156125ca5760405162461bcd60e51b815260040180806020018281038252603e815260200180612b60603e913960400191505060405180910390fd5b326001600160a01b03821614612617576040805162461bcd60e51b815260206004820152600d60248201526c20b7323932961039ba30b4381760991b604482015290519081900360640190fd5b6001600160a01b038316600090815260208190526040902054612640908363ffffffff6124d316565b6001600160a01b0380851660009081526020818152604080832094909455600181528382209285168252919091522054612680908363ffffffff6124d316565b6001600160a01b0380851660008181526001602090815260408083209487168352939052919091209190915561257f9082308563ffffffff612b0516565b3390565b60008183106126d15781612431565b5090919050565b6001600160a01b03811661271d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612b9e6026913960400191505060405180910390fd5b6002546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152602081905260409020546127a2908263ffffffff6123ef16565b6001600160a01b0383166000908152602081815260408083209390935560018152828220338352905220546127dd908263ffffffff6123ef16565b6001600160a01b038316600081815260016020908152604080832033808552925290912092909255611ab7918363ffffffff61252d16565b600081848411156128a45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612869578181015183820152602001612851565b50505050905090810190601f1680156128965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836128fb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612869578181015183820152602001612851565b50600083858161290757fe5b0495945050505050565b612923826001600160a01b0316612ac9565b612974576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106129b25780518252601f199092019160209182019101612993565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612a14576040519150601f19603f3d011682016040523d82523d6000602084013e612a19565b606091505b509150915081612a70576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156110e657808060200190516020811015612a8c57600080fd5b50516110e65760405162461bcd60e51b815260040180806020018281038252602a815260200180612c68602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590612afd5750808214155b949350505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110e690859061291156fe416e6472652c20776520617265206661726d696e6720696e2070656163652c20676f206861727665737420736f6d65776865726520656c7365207369722e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373596f75206861766520636c61696d656420616c6c2070656e64696e6720764554482ede88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565647645544820636f756c6420626520636c61696d6564206f6e6c792061667465722074686520706f6f6c20656e64732ea265627a7a72315820128bbb704bc2ee7675a2b9a66f40b54f795ede3f6bc4dec51c78abfedc9aab0364736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061038c5760003560e01c80637b0a47ee116101de578063c8333bb21161010f578063e9b46e6d116100ad578063f2fde38b1161007c578063f2fde38b146107e1578063f3fef3a314610807578063f7888aec14610833578063ffe48902146108615761038c565b8063e9b46e6d14610785578063e9fad8ee146107ab578063eb504614146107b3578063ebe2b12b146107d95761038c565b8063dc8d3683116100e9578063dc8d368314610747578063df136d651461074f578063e4dc2aa414610757578063e68e035b1461077d5761038c565b8063c8333bb21461072f578063c8f33c9114610737578063cd3daf9d1461073f5761038c565b806398309e3d1161017c578063aa5a0d5e11610156578063aa5a0d5e146106f1578063b3d673d8146106f9578063b591d3a514610701578063c3dee20b146107275761038c565b806398309e3d146106bb5780639c907b58146106e1578063a457536c146106e95761038c565b80638b876347116101b85780638b8763471461067d5780638da58897146106a35780638da5cb5b146106ab5780638f32d59b146106b35761038c565b80637b0a47ee1461066557806380ad30081461066d57806380faa57d146106755761038c565b80632f38c8a1116102c357806353220a4211610261578063715018a611610230578063715018a6146106455780637318a7301461064d578063766718081461065557806379a7d1be1461065d5761038c565b806353220a42146105de578063541dbe9f146105e657806367b37b7a146105ee5780636a46d059146106285761038c565b80633d62bbe11161029d5780633d62bbe11461056d5780633f7b06d81461059357806341c5c207146105b95780634d286a3d146105d65761038c565b80632f38c8a1146105225780633c6b16ab146105485780633d18b912146105655761038c565b806313eb6c88116103305780631d8a6d101161030a5780631d8a6d10146104bd578063207e821d146104c5578063294091cd146104cd5780632e329bd3146105035761038c565b806313eb6c88146104875780631961eaf91461048f5780631be05289146104b55761038c565b80630700037d1161036c5780630700037d146103f95780630cdb43c41461041f5780630d68b761146104435780630fcfc6a8146104695761038c565b80622dcfb9146103915780628cc262146103b957806304e01d87146103f1575b600080fd5b6103b7600480360360208110156103a757600080fd5b50356001600160a01b0316610887565b005b6103df600480360360208110156103cf57600080fd5b50356001600160a01b03166108f0565b60408051918252519081900360200190f35b6103df610976565b6103df6004803603602081101561040f57600080fd5b50356001600160a01b031661097c565b61042761098e565b604080516001600160a01b039092168252519081900360200190f35b6103b76004803603602081101561045957600080fd5b50356001600160a01b031661099d565b610471610a06565b6040805160ff9092168252519081900360200190f35b6103df610a0b565b6103b7600480360360208110156104a557600080fd5b50356001600160a01b0316610a19565b6103df610a82565b6103b7610a89565b6103df610bb6565b6103b7600480360360608110156104e357600080fd5b506001600160a01b03813581169160208101359160409091013516610bbc565b61050b6110ec565b6040805161ffff9092168252519081900360200190f35b6103df6004803603602081101561053857600080fd5b50356001600160a01b03166111a2565b6103b76004803603602081101561055e57600080fd5b50356111b3565b6103b76114d7565b6103df6004803603602081101561058357600080fd5b50356001600160a01b0316611abb565b6103df600480360360208110156105a957600080fd5b50356001600160a01b0316611acc565b6103df600480360360208110156105cf57600080fd5b5035611ade565b610427611af2565b6103df611b0a565b6103df611b0f565b6106146004803603602081101561060457600080fd5b50356001600160a01b0316611b78565b604080519115158252519081900360200190f35b6104276004803603602081101561063e57600080fd5b5035611b8d565b6103b7611baa565b610427611c3b565b610471611c4a565b610427611c53565b6103df611c62565b610427611c68565b6103df611c80565b6103df6004803603602081101561069357600080fd5b50356001600160a01b0316611c93565b6103df611ca5565b610427611cab565b610614611cba565b6103df600480360360208110156106d157600080fd5b50356001600160a01b0316611ce0565b6103df611d64565b610427611d6a565b610427611d79565b610427611d8c565b6104276004803603602081101561071757600080fd5b50356001600160a01b0316611da4565b610427611dbf565b6103df611dce565b6103df611ddc565b6103df611de2565b6103df611e36565b6103df611e3c565b6103df6004803603602081101561076d57600080fd5b50356001600160a01b0316611e42565b6103df611e5d565b6103df6004803603602081101561079b57600080fd5b50356001600160a01b0316611e63565b6103b7611e75565b6103df600480360360208110156107c957600080fd5b50356001600160a01b0316611eea565b6103df611efb565b6103b7600480360360208110156107f757600080fd5b50356001600160a01b0316611f01565b6103b76004803603604081101561081d57600080fd5b506001600160a01b038135169060200135611f51565b6103df6004803603604081101561084957600080fd5b506001600160a01b0381358116916020013516612391565b6103df6004803603602081101561087757600080fd5b50356001600160a01b03166123bc565b61088f611cba565b6108ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152601560209081526040808320546014909252822054610970919061096490670de0b6b3a7640000906109589061094390610937611de2565b9063ffffffff6123ef16565b61094c88611ce0565b9063ffffffff61243816565b9063ffffffff61249116565b9063ffffffff6124d316565b92915050565b600a5481565b60156020526000908152604090205481565b6005546001600160a01b031681565b6109a5611cba565b6109e4576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600a81565b690d573ca1c3b1c960000081565b610a21611cba565b610a60576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b62093a8081565b60115415610ac85760405162461bcd60e51b815260040180806020018281038252602f815260200180612c92602f913960400191505060405180910390fd5b6000610ad333611abb565b905060008111610b2a576040805162461bcd60e51b815260206004820152601960248201527f596f752068617665206e6f207645544820746f20636c61696d00000000000000604482015290519081900360640190fd5b3360009081526016602052604090205460ff1615610b795760405162461bcd60e51b8152600401808060200182810382526022815260200180612bc46022913960400191505060405180910390fd5b336000818152601660205260409020805460ff19166001179055600854610bb3916001600160a01b0391909116908363ffffffff61252d16565b50565b600d5481565b33610bc5611de2565b601355610bd0611c80565b6012556001600160a01b03811615610c1757610beb816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b6010544210610ec457690d573ca1c3b1c9600000600b556000610c386110ec565b9050610c5860646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091610c7c919063ffffffff6124d316565b1115610ca457600d54610ca0906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c5415610e7057600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610d0257600080fd5b505af1158015610d16573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f1992503091610d469163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610d9557600080fd5b505af1158015610da9573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f1992503091610dd99163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b5050600c54600d54610e569350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c54610e869062093a8063ffffffff61249116565b601155610e9c4262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f544211610f06576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008311610f4c576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6001600160a01b0384166000908152602080526040902054610faa576040805162461bcd60e51b81526020600482015260126024820152712737ba1039bab83837b93a32b21031b7b4b760711b604482015290519081900360640190fd5b6001600160a01b038216331415611008576040805162461bcd60e51b815260206004820152601a60248201527f596f752063616e6e6f7420726566657220796f757273656c662e000000000000604482015290519081900360640190fd5b6110128484612584565b6040805184815290516001600160a01b0386169133917f5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd79181900360200190a36005546001600160a01b03161580159061107457506001600160a01b03821615155b156110e6576005546040805163bbddaca360e01b81523360048201526001600160a01b0385811660248301529151919092169163bbddaca391604480830192600092919082900301818387803b1580156110cd57600080fd5b505af11580156110e1573d6000803e3d6000fd5b505050505b50505050565b6004546000906001600160a01b03161561119b5760048054601054604080516397ec0ffd60e01b815230948101949094526024840191909152516000926001600160a01b03909216916397ec0ffd916044808301926020929190829003018186803b15801561115a57600080fd5b505afa15801561116e573d6000803e3d6000fd5b505050506040513d602081101561118457600080fd5b5051905061ffff81161561119957905061119f565b505b5060645b90565b6000610970600954610958846108f0565b6003546001600160a01b03166111c76126be565b6001600160a01b03161461120c5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c476021913960400191505060405180910390fd5b6000611216611de2565b601355611221611c80565b6012556001600160a01b038116156112685761123c816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b601054421061128c576112848262093a8063ffffffff61249116565b6011556112da565b6010546000906112a2904263ffffffff6123ef16565b905060006112bb6011548361243890919063ffffffff16565b90506112d462093a80610958868463ffffffff6124d316565b60115550505b600654604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561132d57600080fd5b505af1158015611341573d6000803e3d6000fd5b50506007546009546001600160a01b0390911692506340c10f199150309061137090869063ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156113bf57600080fd5b505af11580156113d3573d6000803e3d6000fd5b5050600854600a546001600160a01b0390911692506340c10f199150309061140290869063ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561145157600080fd5b505af1158015611465573d6000803e3d6000fd5b5050600d5461147d925090508363ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790554260128190556114af9062093a8063ffffffff6124d316565b601055604080518381529051600080516020612be68339815191529181900360200190a15050565b336114e0611de2565b6013556114eb611c80565b6012556001600160a01b0381161561153257611506816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b60105442106117df57690d573ca1c3b1c9600000600b5560006115536110ec565b905061157360646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091611597919063ffffffff6124d316565b11156115bf57600d546115bb906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c541561178b57600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561161d57600080fd5b505af1158015611631573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f19925030916116619163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156116b057600080fd5b505af11580156116c4573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f19925030916116f49163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561174357600080fd5b505af1158015611757573d6000803e3d6000fd5b5050600c54600d546117719350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c546117a19062093a8063ffffffff61249116565b6011556117b74262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f544211611821576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600061182c336108f0565b90506001811115611ab757336000908152601560209081526040808320546017909252909120546118629163ffffffff6124d316565b3360009081526017602090815260408083209390935560159052908120819055611898606461095884606363ffffffff61243816565b600654909150818303906118bc906001600160a01b0316338463ffffffff61252d16565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a26005546000906001600160a01b0316156119805760055460408051634a9fefc760e01b815233600482015290516001600160a01b0390921691634a9fefc791602480820192602092909190829003018186803b15801561195157600080fd5b505afa158015611965573d6000803e3d6000fd5b505050506040513d602081101561197b57600080fd5b505190505b6001600160a01b038116156119e7576006546119ac906001600160a01b0316828463ffffffff61252d16565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2611a81565b60065460408051630852cd8d60e31b81526004810185905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b158015611a3457600080fd5b505af1158015611a48573d6000803e3d6000fd5b50506040805185815290517fd83c63197e8e676d80ab0122beba9a9d20f3828839e9a1d6fe81d242e9cd7e6e9350908190036020019150a15b611ab333611a9a6009548761249190919063ffffffff16565b6007546001600160a01b0316919063ffffffff61252d16565b5050505b5050565b6000610970600a54610958846123bc565b60226020526000908152604090205481565b601c8160048110611aeb57fe5b0154905081565b73dac17f958d2ee523a2206206994597c13d831ec781565b600181565b600080805b60048160ff161015611b7257611b68611b5b601c8360ff1660048110611b3657fe5b015461094c60188560ff1660048110611b4b57fe5b01546001600160a01b0316611e42565b839063ffffffff6124d316565b9150600101611b14565b50905090565b60166020526000908152604090205460ff1681565b60188160048110611b9a57fe5b01546001600160a01b0316905081565b611bb2611cba565b611bf1576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b6002546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600280546001600160a01b0319169055565b6006546001600160a01b031681565b600e5460ff1681565b6008546001600160a01b031681565b60115481565b736b175474e89094c44da98b954eedeac495271d0f81565b6000611c8e426010546126c2565b905090565b60146020526000908152604090205481565b600f5481565b6002546001600160a01b031690565b6002546000906001600160a01b0316611cd16126be565b6001600160a01b031614905090565b600080805b60048160ff161015611d5d576000611d1760188360ff1660048110611d0657fe5b01546001600160a01b031686612391565b90508015611d5457611d51611d44601c8460ff1660048110611d3557fe5b0154839063ffffffff61243816565b849063ffffffff6124d316565b92505b50600101611ce5565b5092915050565b600b5481565b6007546001600160a01b031681565b6e085d4780b73119b644ae5ecd22b37681565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6021602052600090815260409020546001600160a01b031681565b6004546001600160a01b031681565b6985685e51a4f1ddc0000081565b60125481565b6000611dec611b0f565b611df9575060135461119f565b611c8e611e27611e07611b0f565b610958670de0b6b3a764000061094c60115461094c601254610937611c80565b6013549063ffffffff6124d316565b60095481565b60135481565b6001600160a01b031660009081526020819052604090205490565b600c5481565b60176020526000908152604090205481565b60005b60048160ff161015611edf576000611eaa60188360ff1660048110611e9957fe5b01546001600160a01b031633612391565b90508015611ed657611ed660188360ff1660048110611ec557fe5b01546001600160a01b031682611f51565b50600101611e78565b50611ee86114d7565b565b602080526000908152604090205481565b60105481565b611f09611cba565b611f48576040805162461bcd60e51b81526020600482018190526024820152600080516020612c27833981519152604482015290519081900360640190fd5b610bb3816126d8565b33611f5a611de2565b601355611f65611c80565b6012556001600160a01b03811615611fac57611f80816108f0565b6001600160a01b0382166000908152601560209081526040808320939093556013546014909152919020555b601054421061225957690d573ca1c3b1c9600000600b556000611fcd6110ec565b9050611fed60646109588361ffff16600b5461243890919063ffffffff16565b600c819055600d546985685e51a4f1ddc0000091612011919063ffffffff6124d316565b111561203957600d54612035906985685e51a4f1ddc000009063ffffffff6123ef16565b600c555b600c541561220557600654600c54604080516340c10f1960e01b81523060048201526024810192909252516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561209757600080fd5b505af11580156120ab573d6000803e3d6000fd5b5050600754600954600c546001600160a01b0390921693506340c10f19925030916120db9163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561212a57600080fd5b505af115801561213e573d6000803e3d6000fd5b5050600854600a54600c546001600160a01b0390921693506340c10f199250309161216e9163ffffffff61249116565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156121bd57600080fd5b505af11580156121d1573d6000803e3d6000fd5b5050600c54600d546121eb9350915063ffffffff6124d316565b600d55600e805460ff8082166001011660ff199091161790555b600c5461221b9062093a8063ffffffff61249116565b6011556122314262093a8063ffffffff6124d316565b601055600c546040805191825251600080516020612be68339815191529181900360200190a1505b600f54421161229b576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600082116122e4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6001600160a01b0383166000908152602080526040902054612342576040805162461bcd60e51b81526020600482015260126024820152712737ba1039bab83837b93a32b21031b7b4b760711b604482015290519081900360640190fd5b61234c8383612779565b6040805183815290516001600160a01b0385169133917fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9181900360200190a3505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006109706123ca836108f0565b6001600160a01b0384166000908152601760205260409020549063ffffffff6124d316565b600061243183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612815565b9392505050565b60008261244757506000610970565b8282028284828161245457fe5b04146124315760405162461bcd60e51b8152600401808060200182810382526021815260200180612c066021913960400191505060405180910390fd5b600061243183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128ac565b600082820183811015612431576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261257f908490612911565b505050565b3361258e81612ac9565b156125ca5760405162461bcd60e51b815260040180806020018281038252603e815260200180612b60603e913960400191505060405180910390fd5b326001600160a01b03821614612617576040805162461bcd60e51b815260206004820152600d60248201526c20b7323932961039ba30b4381760991b604482015290519081900360640190fd5b6001600160a01b038316600090815260208190526040902054612640908363ffffffff6124d316565b6001600160a01b0380851660009081526020818152604080832094909455600181528382209285168252919091522054612680908363ffffffff6124d316565b6001600160a01b0380851660008181526001602090815260408083209487168352939052919091209190915561257f9082308563ffffffff612b0516565b3390565b60008183106126d15781612431565b5090919050565b6001600160a01b03811661271d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612b9e6026913960400191505060405180910390fd5b6002546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152602081905260409020546127a2908263ffffffff6123ef16565b6001600160a01b0383166000908152602081815260408083209390935560018152828220338352905220546127dd908263ffffffff6123ef16565b6001600160a01b038316600081815260016020908152604080832033808552925290912092909255611ab7918363ffffffff61252d16565b600081848411156128a45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612869578181015183820152602001612851565b50505050905090810190601f1680156128965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836128fb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612869578181015183820152602001612851565b50600083858161290757fe5b0495945050505050565b612923826001600160a01b0316612ac9565b612974576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106129b25780518252601f199092019160209182019101612993565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612a14576040519150601f19603f3d011682016040523d82523d6000602084013e612a19565b606091505b509150915081612a70576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156110e657808060200190516020811015612a8c57600080fd5b50516110e65760405162461bcd60e51b815260040180806020018281038252602a815260200180612c68602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590612afd5750808214155b949350505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526110e690859061291156fe416e6472652c20776520617265206661726d696e6720696e2070656163652c20676f206861727665737420736f6d65776865726520656c7365207369722e4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373596f75206861766520636c61696d656420616c6c2070656e64696e6720764554482ede88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565647645544820636f756c6420626520636c61696d6564206f6e6c792061667465722074686520706f6f6c20656e64732ea265627a7a72315820128bbb704bc2ee7675a2b9a66f40b54f795ede3f6bc4dec51c78abfedc9aab0364736f6c63430005110032

Deployed Bytecode Sourcemap

24081:10914:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24081:10914:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22091:122;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22091:122:0;-1:-1:-1;;;;;22091:122:0;;:::i;:::-;;28879:240;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28879:240:0;-1:-1:-1;;;;;28879:240:0;;:::i;:::-;;;;;;;;;;;;;;;;24484:57;;;:::i;25370:42::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25370:42:0;-1:-1:-1;;;;;25370:42:0;;:::i;21579:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;21579:29:0;;;;;;;;;;;;;;21831:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21831:138:0;-1:-1:-1;;;;;21831:138:0;;:::i;24633:40::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24746:50;;;:::i;21977:106::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21977:106:0;-1:-1:-1;;;;;21977:106:0;;:::i;24585:41::-;;;:::i;29585:438::-;;;:::i;24979:41::-;;;:::i;30031:612::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30031:612:0;;;;;;;;;;;;;;;;;:::i;32561:300::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29283:140;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29283:140:0;-1:-1:-1;;;;;29283:140:0;;:::i;34151:841::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34151:841:0;;:::i;31366:1187::-;;;:::i;29431:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29431:146:0;-1:-1:-1;;;;;29431:146:0;;:::i;26519:48::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26519:48:0;-1:-1:-1;;;;;26519:48:0;;:::i;26147:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26147:92:0;;:::i;25631:87::-;;;:::i;24682:55::-;;;:::i;27686:343::-;;;:::i;25419:50::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25419:50:0;-1:-1:-1;;;;;25419:50:0;;:::i;:::-;;;;;;;;;;;;;;;;;;26008:132;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26008:132:0;;:::i;10697:140::-;;;:::i;24156:70::-;;;:::i;25027:29::-;;;:::i;24311:71::-;;;:::i;25192:29::-;;;:::i;25913:86::-;;;:::i;27547:131::-;;;:::i;25306:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25306:57:0;-1:-1:-1;;;;;25306:57:0;;:::i;25063:37::-;;;:::i;9886:79::-;;;:::i;10252:94::-;;;:::i;28427:444::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28427:444:0;-1:-1:-1;;;;;28427:444:0;;:::i;24879:40::-;;;:::i;24233:71::-;;;:::i;25819:87::-;;;:::i;25725:::-;;;:::i;26429:44::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26429:44:0;-1:-1:-1;;;;;26429:44:0;;:::i;21547:25::-;;;:::i;24803:67::-;;;:::i;25228:29::-;;;:::i;28037:382::-;;;:::i;24391:54::-;;;:::i;25264:35::-;;;:::i;22625:125::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22625:125:0;-1:-1:-1;;;;;22625:125:0;;:::i;24926:46::-;;;:::i;25510:58::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25510:58:0;-1:-1:-1;;;;;25510:58:0;;:::i;31034:324::-;;;:::i;26248:66::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26248:66:0;-1:-1:-1;;;;;26248:66:0;;:::i;25154:31::-;;;:::i;10992:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10992:109:0;-1:-1:-1;;;;;10992:109:0;;:::i;30651:375::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30651:375:0;;;;;;;;:::i;22758:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;22758:146:0;;;;;;;;;;:::i;29127:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29127:148:0;-1:-1:-1;;;;;29127:148:0;;:::i;22091:122::-;10098:9;:7;:9::i;:::-;10090:54;;;;;-1:-1:-1;;;10090:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10090:54:0;;;;;;;;;;;;;;;22173:14;:32;;-1:-1:-1;;;;;;22173:32:0;-1:-1:-1;;;;;22173:32:0;;;;;;;;;;22091:122::o;28879:240::-;-1:-1:-1;;;;;29094:16:0;;28933:7;29094:16;;;:7;:16;;;;;;;;;29026:22;:31;;;;;;28969:142;;29094:16;28969:110;;29074:4;;28969:90;;29005:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;28969:21;28982:7;28969:12;:21::i;:::-;:35;:90;:35;:90;:::i;:::-;:104;:110;:104;:110;:::i;:::-;:124;:142;:124;:142;:::i;:::-;28953:158;28879:240;-1:-1:-1;;28879:240:0:o;24484:57::-;;;;:::o;25370:42::-;;;;;;;;;;;;;:::o;21579:29::-;;;-1:-1:-1;;;;;21579:29:0;;:::o;21831:138::-;10098:9;:7;:9::i;:::-;10090:54;;;;;-1:-1:-1;;;10090:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10090:54:0;;;;;;;;;;;;;;;21921:18;:40;;-1:-1:-1;;;;;;21921:40:0;-1:-1:-1;;;;;21921:40:0;;;;;;;;;;21831:138::o;24633:40::-;24671:2;24633:40;:::o;24746:50::-;24785:11;24746:50;:::o;21977:106::-;10098:9;:7;:9::i;:::-;10090:54;;;;;-1:-1:-1;;;10090:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10090:54:0;;;;;;;;;;;;;;;22051:10;:24;;-1:-1:-1;;;;;;22051:24:0;-1:-1:-1;;;;;22051:24:0;;;;;;;;;;21977:106::o;24585:41::-;24620:6;24585:41;:::o;29585:438::-;29638:10;;:15;29630:75;;;;-1:-1:-1;;;29630:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29716:19;29738:23;29750:10;29738:11;:23::i;:::-;29716:45;;29794:1;29780:11;:15;29772:53;;;;;-1:-1:-1;;;29772:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29864:10;29845:30;;;;:18;:30;;;;;;;;29844:31;29836:78;;;;-1:-1:-1;;;29836:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29944:10;29925:30;;;;:18;:30;;;;;:37;;-1:-1:-1;;29925:37:0;29958:4;29925:37;;;29973:4;;:42;;-1:-1:-1;;;;;29973:4:0;;;;;30003:11;29973:42;:17;:42;:::i;:::-;29585:438;:::o;24979:41::-;;;;:::o;30031:612::-;30122:10;27282:16;:14;:16::i;:::-;27259:20;:39;27326:26;:24;:26::i;:::-;27309:14;:43;-1:-1:-1;;;;;27367:21:0;;;27363:157;;27424:15;27431:7;27424:6;:15::i;:::-;-1:-1:-1;;;;;27405:16:0;;;;;;:7;:16;;;;;;;;:34;;;;27488:20;;27454:22;:31;;;;;;:54;27363:157;32929:12;;32910:15;:31;32906:1108;;24785:11;32958:10;:25;33018:23;33044:22;:20;:22::i;:::-;33018:48;;33127:41;33164:3;33127:32;33142:16;33127:32;;:10;;:14;;:32;;;;:::i;:41::-;33106:18;:62;;;33217:22;;24842:28;;33217:46;;:22;:46;:26;:46;:::i;:::-;:61;33213:185;;;33337:22;;33320:40;;24842:28;;33320:40;:16;:40;:::i;:::-;33299:18;:61;33213:185;33418:18;;:22;33414:417;;33461:3;;33485:18;;33461:43;;;-1:-1:-1;;;33461:43:0;;33478:4;33461:43;;;;;;;;;;;;-1:-1:-1;;;;;33461:3:0;;;;:8;;:43;;;;;:3;;:43;;;;;;;;:3;;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;33461:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33523:4:0;;33571:25;;33548:18;;-1:-1:-1;;;;;33523:4:0;;;;-1:-1:-1;33523:9:0;;-1:-1:-1;33541:4:0;;33548:49;;;:22;:49;:::i;:::-;33523:75;;;;;;;;;;;;;-1:-1:-1;;;;;33523:75:0;-1:-1:-1;;;;;33523:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33523:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33617:4:0;;33665:25;;33642:18;;-1:-1:-1;;;;;33617:4:0;;;;-1:-1:-1;33617:9:0;;-1:-1:-1;33635:4:0;;33642:49;;;:22;:49;:::i;:::-;33617:75;;;;;;;;;;;;;-1:-1:-1;;;;;33617:75:0;-1:-1:-1;;;;;33617:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33617:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33763:18:0;;33736:22;;:46;;-1:-1:-1;33736:22:0;-1:-1:-1;33736:46:0;:26;:46;:::i;:::-;33711:22;:71;33801:12;:14;;;;;;;;;-1:-1:-1;;33801:14:0;;;;;;33414:417;33860:18;;:32;;24620:6;33860:32;:22;:32;:::i;:::-;33847:10;:45;33922:29;:15;24620:6;33922:29;:19;:29;:::i;:::-;33907:12;:44;33983:18;;33971:31;;;;;;;-1:-1:-1;;;;;;;;;;;33971:31:0;;;;;;;;32906:1108;;34100:9;;34082:15;:27;34074:49;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;;;;30188:1;30179:6;:10;30171:37;;;;;-1:-1:-1;;;30171:37:0;;;;;;;;;;;;-1:-1:-1;;;30171:37:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30227:45:0;;30275:1;30227:45;;;:31;:45;;;;;;30219:80;;;;;-1:-1:-1;;;30219:80:0;;;;;;;;;;;;-1:-1:-1;;;30219:80:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30318:22:0;;30330:10;30318:22;;30310:61;;;;;-1:-1:-1;;;30310:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30382:38;30399:12;30413:6;30382:16;:38::i;:::-;30436:40;;;;;;;;-1:-1:-1;;;;;30436:40:0;;;30443:10;;30436:40;;;;;;;;;30491:14;;-1:-1:-1;;;;;30491:14:0;:28;;;;:54;;-1:-1:-1;;;;;;30523:22:0;;;;30491:54;30487:149;;;30575:14;;30562:62;;;-1:-1:-1;;;30562:62:0;;30603:10;30562:62;;;;-1:-1:-1;;;;;30562:62:0;;;;;;;;;30575:14;;;;;30562:40;;:62;;;;;30575:14;;30562:62;;;;;;;30575:14;;30562:62;;;5:2:-1;;;;30:1;27;20:12;5:2;30562:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30562:62:0;;;;30487:149;30031:612;;;;:::o;32561:300::-;32637:10;;32614:6;;-1:-1:-1;;;;;32637:10:0;:24;32633:200;;32708:10;;;32754:12;;32699:68;;;-1:-1:-1;;;32699:68:0;;32747:4;32699:68;;;;;;;;;;;;;;;32678:18;;-1:-1:-1;;;;;32708:10:0;;;;32699:39;;:68;;;;;;;;;;;;;;32708:10;32699:68;;;5:2:-1;;;;30:1;27;20:12;5:2;32699:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32699:68:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32699:68:0;;-1:-1:-1;32786:15:0;;;;32782:39;;32810:11;-1:-1:-1;32803:18:0;;32782:39;32633:200;;-1:-1:-1;32850:3:0;32561:300;;:::o;29283:140::-;29342:7;29369:46;29389:25;;29369:15;29376:7;29369:6;:15::i;34151:841::-;21747:18;;-1:-1:-1;;;;;21747:18:0;21731:12;:10;:12::i;:::-;-1:-1:-1;;;;;21731:34:0;;21723:80;;;;-1:-1:-1;;;21723:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34248:1;27282:16;:14;:16::i;:::-;27259:20;:39;27326:26;:24;:26::i;:::-;27309:14;:43;-1:-1:-1;;;;;27367:21:0;;;27363:157;;27424:15;27431:7;27424:6;:15::i;:::-;-1:-1:-1;;;;;27405:16:0;;;;;;:7;:16;;;;;;;;:34;;;;27488:20;;27454:22;:31;;;;;;:54;27363:157;34286:12;;34267:15;:31;34263:304;;34328:20;:6;24620;34328:20;:10;:20;:::i;:::-;34315:10;:33;34263:304;;;34401:12;;34381:17;;34401:33;;34418:15;34401:33;:16;:33;:::i;:::-;34381:53;;34449:16;34468:25;34482:10;;34468:9;:13;;:25;;;;:::i;:::-;34449:44;-1:-1:-1;34521:34:0;24620:6;34521:20;:6;34449:44;34521:20;:10;:20;:::i;:34::-;34508:10;:47;-1:-1:-1;;34263:304:0;34577:3;;:31;;;-1:-1:-1;;;34577:31:0;;34594:4;34577:31;;;;;;;;;;;;-1:-1:-1;;;;;34577:3:0;;;;:8;;:31;;;;;:3;;:31;;;;;;;;:3;;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;34577:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;34619:4:0;;34655:25;;-1:-1:-1;;;;;34619:4:0;;;;-1:-1:-1;34619:9:0;;-1:-1:-1;34637:4:0;;34644:37;;:6;;:37;:10;:37;:::i;:::-;34619:63;;;;;;;;;;;;;-1:-1:-1;;;;;34619:63:0;-1:-1:-1;;;;;34619:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34619:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;34693:4:0;;34729:25;;-1:-1:-1;;;;;34693:4:0;;;;-1:-1:-1;34693:9:0;;-1:-1:-1;34711:4:0;;34718:37;;:6;;:37;:10;:37;:::i;:::-;34693:63;;;;;;;;;;;;;-1:-1:-1;;;;;34693:63:0;-1:-1:-1;;;;;34693:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34693:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;34792:22:0;;:34;;-1:-1:-1;34792:22:0;-1:-1:-1;34819:6:0;34792:34;:26;:34;:::i;:::-;34767:22;:59;34837:12;:14;;;;;;;;;-1:-1:-1;;34837:14:0;;;;;;34879:15;34862:14;:32;;;34920:29;;24620:6;34920:29;:19;:29;:::i;:::-;34905:12;:44;34965:19;;;;;;;;-1:-1:-1;;;;;;;;;;;34965:19:0;;;;;;;;21814:1;34151:841;:::o;31366:1187::-;31407:10;27282:16;:14;:16::i;:::-;27259:20;:39;27326:26;:24;:26::i;:::-;27309:14;:43;-1:-1:-1;;;;;27367:21:0;;;27363:157;;27424:15;27431:7;27424:6;:15::i;:::-;-1:-1:-1;;;;;27405:16:0;;;;;;:7;:16;;;;;;;;:34;;;;27488:20;;27454:22;:31;;;;;;:54;27363:157;32929:12;;32910:15;:31;32906:1108;;24785:11;32958:10;:25;33018:23;33044:22;:20;:22::i;:::-;33018:48;;33127:41;33164:3;33127:32;33142:16;33127:32;;:10;;:14;;:32;;;;:::i;:41::-;33106:18;:62;;;33217:22;;24842:28;;33217:46;;:22;:46;:26;:46;:::i;:::-;:61;33213:185;;;33337:22;;33320:40;;24842:28;;33320:40;:16;:40;:::i;:::-;33299:18;:61;33213:185;33418:18;;:22;33414:417;;33461:3;;33485:18;;33461:43;;;-1:-1:-1;;;33461:43:0;;33478:4;33461:43;;;;;;;;;;;;-1:-1:-1;;;;;33461:3:0;;;;:8;;:43;;;;;:3;;:43;;;;;;;;:3;;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;33461:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33523:4:0;;33571:25;;33548:18;;-1:-1:-1;;;;;33523:4:0;;;;-1:-1:-1;33523:9:0;;-1:-1:-1;33541:4:0;;33548:49;;;:22;:49;:::i;:::-;33523:75;;;;;;;;;;;;;-1:-1:-1;;;;;33523:75:0;-1:-1:-1;;;;;33523:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33523:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33617:4:0;;33665:25;;33642:18;;-1:-1:-1;;;;;33617:4:0;;;;-1:-1:-1;33617:9:0;;-1:-1:-1;33635:4:0;;33642:49;;;:22;:49;:::i;:::-;33617:75;;;;;;;;;;;;;-1:-1:-1;;;;;33617:75:0;-1:-1:-1;;;;;33617:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33617:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33763:18:0;;33736:22;;:46;;-1:-1:-1;33736:22:0;-1:-1:-1;33736:46:0;:26;:46;:::i;:::-;33711:22;:71;33801:12;:14;;;;;;;;;-1:-1:-1;;33801:14:0;;;;;;33414:417;33860:18;;:32;;24620:6;33860:32;:22;:32;:::i;:::-;33847:10;:45;33922:29;:15;24620:6;33922:29;:19;:29;:::i;:::-;33907:12;:44;33983:18;;33971:31;;;;;;;-1:-1:-1;;;;;;;;;;;33971:31:0;;;;;;;;32906:1108;;34100:9;;34082:15;:27;34074:49;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;;;;31456:14;31473:18;31480:10;31473:6;:18::i;:::-;31456:35;;31515:1;31506:6;:10;31502:1044;;;31619:10;31611:19;;;;:7;:19;;;;;;;;;31571:23;:35;;;;;;;:60;;;:39;:60;:::i;:::-;31557:10;31533:35;;;;:23;:35;;;;;;;;:98;;;;31646:7;:19;;;;;:23;;;31707:54;31757:3;31707:45;:6;31718:33;31707:45;:10;:45;:::i;:54::-;31846:3;;31686:75;;-1:-1:-1;31804:19:0;;;;31846:40;;-1:-1:-1;;;;;31846:3:0;31863:10;31686:75;31846:40;:16;:40;:::i;:::-;31906:34;;;;;;;;31917:10;;31906:34;;;;;;;;;;32005:14;;31957:16;;-1:-1:-1;;;;;32005:14:0;:28;32001:132;;32078:14;;32065:52;;;-1:-1:-1;;;32065:52:0;;32106:10;32065:52;;;;;;-1:-1:-1;;;;;32078:14:0;;;;32065:40;;:52;;;;;;;;;;;;;;;32078:14;32065:52;;;5:2:-1;;;;30:1;27;20:12;5:2;32065:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32065:52:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32065:52:0;;-1:-1:-1;32001:132:0;-1:-1:-1;;;;;32151:22:0;;;32147:303;;32225:3;;:38;;-1:-1:-1;;;;;32225:3:0;32242:8;32252:10;32225:38;:16;:38;:::i;:::-;32287:34;;;;;;;;32298:10;;32287:34;;;;;;;;;;32147:303;;;32372:3;;:20;;;-1:-1:-1;;;32372:20:0;;;;;;;;;;-1:-1:-1;;;;;32372:3:0;;;;:8;;:20;;;;;:3;;:20;;;;;;;;:3;;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;32372:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;32416:18:0;;;;;;;;;;-1:-1:-1;32416:18:0;;;;;;;-1:-1:-1;32416:18:0;32147:303;32466:68;32484:10;32496:37;32507:25;;32496:6;:10;;:37;;;;:::i;:::-;32466:4;;-1:-1:-1;;;;;32466:4:0;;:68;;:17;:68;:::i;:::-;31502:1044;;;;34134:1;31366:1187;:::o;29431:146::-;29490:7;29517:52;29543:25;;29517:21;29530:7;29517:12;:21::i;26519:48::-;;;;;;;;;;;;;:::o;26147:92::-;;;;;;;;;;;;;-1:-1:-1;26147:92:0;:::o;25631:87::-;25676:42;25631:87;:::o;24682:55::-;24736:1;24682:55;:::o;27686:343::-;27733:7;;;27792:196;27814:1;27810;:5;;;27792:196;;;27856:120;27877:98;27936:35;27972:1;27936:38;;;;;;;;;;;27877:54;27895:32;27928:1;27895:35;;;;;;;;;;;-1:-1:-1;;;;;27895:35:0;27877:17;:54::i;:98::-;27856:16;;:120;:20;:120;:::i;:::-;27837:139;-1:-1:-1;27817:3:0;;27792:196;;;-1:-1:-1;28005:16:0;-1:-1:-1;27686:343:0;:::o;25419:50::-;;;;;;;;;;;;;;;:::o;26008:132::-;;;;;;;;;;;;-1:-1:-1;;;;;26008:132:0;;-1:-1:-1;26008:132:0;:::o;10697:140::-;10098:9;:7;:9::i;:::-;10090:54;;;;;-1:-1:-1;;;10090:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10090:54:0;;;;;;;;;;;;;;;10780:6;;10759:40;;10796:1;;-1:-1:-1;;;;;10780:6:0;;10759:40;;10796:1;;10759:40;10810:6;:19;;-1:-1:-1;;;;;;10810:19:0;;;10697:140::o;24156:70::-;;;-1:-1:-1;;;;;24156:70:0;;:::o;25027:29::-;;;;;;:::o;24311:71::-;;;-1:-1:-1;;;;;24311:71:0;;:::o;25192:29::-;;;;:::o;25913:86::-;25957:42;25913:86;:::o;27547:131::-;27604:7;27631:39;27640:15;27657:12;;27631:8;:39::i;:::-;27624:46;;27547:131;:::o;25306:57::-;;;;;;;;;;;;;:::o;25063:37::-;;;;:::o;9886:79::-;9951:6;;-1:-1:-1;;;;;9951:6:0;9886:79;:::o;10252:94::-;10332:6;;10292:4;;-1:-1:-1;;;;;10332:6:0;10316:12;:10;:12::i;:::-;-1:-1:-1;;;;;10316:22:0;;10309:29;;10252:94;:::o;28427:444::-;28487:7;;;28542:292;28564:1;28560;:5;;;28542:292;;;28587:17;28607:61;28623:32;28656:1;28623:35;;;;;;;;;;;-1:-1:-1;;;;;28623:35:0;28660:7;28607:15;:61::i;:::-;28587:81;-1:-1:-1;28687:13:0;;28683:140;;28736:71;28753:53;28767:35;28803:1;28767:38;;;;;;;;;;;28753:9;;:53;:13;:53;:::i;:::-;28736:12;;:71;:16;:71;:::i;:::-;28721:86;;28683:140;-1:-1:-1;28567:3:0;;28542:292;;;-1:-1:-1;28851:12:0;28427:444;-1:-1:-1;;28427:444:0:o;24879:40::-;;;;:::o;24233:71::-;;;-1:-1:-1;;;;;24233:71:0;;:::o;25819:87::-;25864:42;25819:87;:::o;25725:::-;25770:42;25725:87;:::o;26429:44::-;;;;;;;;;;;;-1:-1:-1;;;;;26429:44:0;;:::o;21547:25::-;;;-1:-1:-1;;;;;21547:25:0;;:::o;24803:67::-;24842:28;24803:67;:::o;25228:29::-;;;;:::o;28037:382::-;28084:7;28108:16;:14;:16::i;:::-;28104:81;;-1:-1:-1;28153:20:0;;28146:27;;28104:81;28211:200;28250:150;28383:16;:14;:16::i;:::-;28250:114;28359:4;28250:90;28329:10;;28250:60;28295:14;;28250:26;:24;:26::i;:150::-;28211:20;;;:200;:24;:200;:::i;24391:54::-;;;;:::o;25264:35::-;;;;:::o;22625:125::-;-1:-1:-1;;;;;22716:26:0;22689:7;22716:26;;;;;;;;;;;;22625:125::o;24926:46::-;;;;:::o;25510:58::-;;;;;;;;;;;;;:::o;31034:324::-;31075:7;31070:259;31092:1;31088;:5;;;31070:259;;;31115:17;31135:58;31145:32;31178:1;31145:35;;;;;;;;;;;-1:-1:-1;;;;;31145:35:0;31182:10;31135:9;:58::i;:::-;31115:78;-1:-1:-1;31212:13:0;;31208:110;;31246:56;31255:32;31288:1;31255:35;;;;;;;;;;;-1:-1:-1;;;;;31255:35:0;31292:9;31246:8;:56::i;:::-;-1:-1:-1;31095:3:0;;31070:259;;;;31339:11;:9;:11::i;:::-;31034:324::o;26248:66::-;;;;;;;;;;;;;:::o;25154:31::-;;;;:::o;10992:109::-;10098:9;:7;:9::i;:::-;10090:54;;;;;-1:-1:-1;;;10090:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10090:54:0;;;;;;;;;;;;;;;11065:28;11084:8;11065:18;:28::i;30651:375::-;30727:10;27282:16;:14;:16::i;:::-;27259:20;:39;27326:26;:24;:26::i;:::-;27309:14;:43;-1:-1:-1;;;;;27367:21:0;;;27363:157;;27424:15;27431:7;27424:6;:15::i;:::-;-1:-1:-1;;;;;27405:16:0;;;;;;:7;:16;;;;;;;;:34;;;;27488:20;;27454:22;:31;;;;;;:54;27363:157;32929:12;;32910:15;:31;32906:1108;;24785:11;32958:10;:25;33018:23;33044:22;:20;:22::i;:::-;33018:48;;33127:41;33164:3;33127:32;33142:16;33127:32;;:10;;:14;;:32;;;;:::i;:41::-;33106:18;:62;;;33217:22;;24842:28;;33217:46;;:22;:46;:26;:46;:::i;:::-;:61;33213:185;;;33337:22;;33320:40;;24842:28;;33320:40;:16;:40;:::i;:::-;33299:18;:61;33213:185;33418:18;;:22;33414:417;;33461:3;;33485:18;;33461:43;;;-1:-1:-1;;;33461:43:0;;33478:4;33461:43;;;;;;;;;;;;-1:-1:-1;;;;;33461:3:0;;;;:8;;:43;;;;;:3;;:43;;;;;;;;:3;;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;33461:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33523:4:0;;33571:25;;33548:18;;-1:-1:-1;;;;;33523:4:0;;;;-1:-1:-1;33523:9:0;;-1:-1:-1;33541:4:0;;33548:49;;;:22;:49;:::i;:::-;33523:75;;;;;;;;;;;;;-1:-1:-1;;;;;33523:75:0;-1:-1:-1;;;;;33523:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33523:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33617:4:0;;33665:25;;33642:18;;-1:-1:-1;;;;;33617:4:0;;;;-1:-1:-1;33617:9:0;;-1:-1:-1;33635:4:0;;33642:49;;;:22;:49;:::i;:::-;33617:75;;;;;;;;;;;;;-1:-1:-1;;;;;33617:75:0;-1:-1:-1;;;;;33617:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33617:75:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;33763:18:0;;33736:22;;:46;;-1:-1:-1;33736:22:0;-1:-1:-1;33736:46:0;:26;:46;:::i;:::-;33711:22;:71;33801:12;:14;;;;;;;;;-1:-1:-1;;33801:14:0;;;;;;33414:417;33860:18;;:32;;24620:6;33860:32;:22;:32;:::i;:::-;33847:10;:45;33922:29;:15;24620:6;33922:29;:19;:29;:::i;:::-;33907:12;:44;33983:18;;33971:31;;;;;;;-1:-1:-1;;;;;;;;;;;33971:31:0;;;;;;;;32906:1108;;34100:9;;34082:15;:27;34074:49;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;-1:-1:-1;;;34074:49:0;;;;;;;;;;;;;;;30793:1;30784:6;:10;30776:40;;;;;-1:-1:-1;;;30776:40:0;;;;;;;;;;;;-1:-1:-1;;;30776:40:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;30835:45:0;;30883:1;30835:45;;;:31;:45;;;;;;30827:80;;;;;-1:-1:-1;;;30827:80:0;;;;;;;;;;;;-1:-1:-1;;;30827:80:0;;;;;;;;;;;;;;;30918:41;30938:12;30952:6;30918:19;:41::i;:::-;30975:43;;;;;;;;-1:-1:-1;;;;;30975:43:0;;;30985:10;;30975:43;;;;;;;;;30651:375;;;:::o;22758:146::-;-1:-1:-1;;;;;22864:23:0;;;22837:7;22864:23;;;:9;:23;;;;;;;;:32;;;;;;;;;;;;;22758:146::o;29127:148::-;29187:7;29214:53;29251:15;29258:7;29251:6;:15::i;:::-;-1:-1:-1;;;;;29214:32:0;;;;;;:23;:32;;;;;;;:53;:36;:53;:::i;3628:136::-;3686:7;3713:43;3717:1;3720;3713:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3706:50;3628:136;-1:-1:-1;;;3628:136:0:o;4544:471::-;4602:7;4847:6;4843:47;;-1:-1:-1;4877:1:0;4870:8;;4843:47;4914:5;;;4918:1;4914;:5;:1;4938:5;;;;;:10;4930:56;;;;-1:-1:-1;;;4930:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5483:132;5541:7;5568:39;5572:1;5575;5568:39;;;;;;;;;;;;;;;;;:3;:39::i;3172:181::-;3230:7;3262:5;;;3286:6;;;;3278:46;;;;;-1:-1:-1;;;3278:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18215:176;18324:58;;;-1:-1:-1;;;;;18324:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18324:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18298:85:0;;18317:5;;18298:18;:85::i;:::-;18215:176;;;:::o;22912:529::-;23007:10;23037:28;23007:10;23037:26;:28::i;:::-;23036:29;23028:104;;;;-1:-1:-1;;;23028:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23151:9;-1:-1:-1;;;;;23151:19:0;;;23143:45;;;;;-1:-1:-1;;;23143:45:0;;;;;;;;;;;;-1:-1:-1;;;23143:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;23228:26:0;;:12;:26;;;;;;;;;;;:38;;23259:6;23228:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;23199:26:0;;;:12;:26;;;;;;;;;;;:67;;;;23311:9;:23;;;;;:31;;;;;;;;;;;:43;;23347:6;23311:43;:35;:43;:::i;:::-;-1:-1:-1;;;;;23277:23:0;;;;;;;:9;:23;;;;;;;;:31;;;;;;;;;;;;:77;;;;23365:68;;23301:6;23419:4;23426:6;23365:68;:37;:68;:::i;8626:98::-;8706:10;8626:98;:::o;1834:106::-;1892:7;1923:1;1919;:5;:13;;1931:1;1919:13;;;-1:-1:-1;1927:1:0;;1834:106;-1:-1:-1;1834:106:0:o;11207:229::-;-1:-1:-1;;;;;11281:22:0;;11273:73;;;;-1:-1:-1;;;11273:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11383:6;;11362:38;;-1:-1:-1;;;;;11362:38:0;;;;11383:6;;11362:38;;11383:6;;11362:38;11411:6;:17;;-1:-1:-1;;;;;;11411:17:0;-1:-1:-1;;;;;11411:17:0;;;;;;;;;;11207:229::o;23449:316::-;-1:-1:-1;;;;;23559:26:0;;:12;:26;;;;;;;;;;;:38;;23590:6;23559:38;:30;:38;:::i;:::-;-1:-1:-1;;;;;23530:26:0;;:12;:26;;;;;;;;;;;:67;;;;23646:9;:23;;;;;23670:10;23646:35;;;;;;:47;;23686:6;23646:47;:39;:47;:::i;:::-;-1:-1:-1;;;;;23608:23:0;;;;;;:9;:23;;;;;;;;23632:10;23608:35;;;;;;;;:85;;;;23704:53;;23750:6;23704:53;:33;:53;:::i;4101:192::-;4187:7;4223:12;4215:6;;;;4207:29;;;;-1:-1:-1;;;4207:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;4207:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4259:5:0;;;4101:192::o;6145:345::-;6231:7;6333:12;6326:5;6318:28;;;;-1:-1:-1;;;6318:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6318:28:0;;6357:9;6373:1;6369;:5;;;;;;;6145:345;-1:-1:-1;;;;;6145:345:0:o;20254:1113::-;20858:27;20866:5;-1:-1:-1;;;;;20858:25:0;;:27::i;:::-;20850:71;;;;;-1:-1:-1;;;20850:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20995:12;21009:23;21044:5;-1:-1:-1;;;;;21036:19:0;21056:4;21036:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;21036:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;20994:67:0;;;;21080:7;21072:52;;;;;-1:-1:-1;;;21072:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21141:17;;:21;21137:223;;21282:10;21271:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21271:30:0;21263:85;;;;-1:-1:-1;;;21263:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15056:808;15116:4;15774:20;;15618:66;15813:15;;;;;:42;;;15844:11;15832:8;:23;;15813:42;15805:51;15056:808;-1:-1:-1;;;;15056:808:0:o;18399:204::-;18526:68;;;-1:-1:-1;;;;;18526:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18526:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18500:95:0;;18519:5;;18500:18;:95::i

Swarm Source

bzzr://128bbb704bc2ee7675a2b9a66f40b54f795ede3f6bc4dec51c78abfedc9aab03

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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.