ETH Price: $2,128.07 (+2.20%)

Contract

0x885868eb59cD92033AEfC7b40F547afD4Ba79e60
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw108595652020-09-14 10:25:082016 days ago1600079108IN
0x885868eb...D4Ba79e60
0 ETH0.01734453230
Withdraw108587112020-09-14 7:13:102016 days ago1600067590IN
0x885868eb...D4Ba79e60
0 ETH0.01583096175.1
Withdraw108585852020-09-14 6:40:592016 days ago1600065659IN
0x885868eb...D4Ba79e60
0 ETH0.01749623166
Withdraw108570282020-09-14 0:58:372016 days ago1600045117IN
0x885868eb...D4Ba79e60
0 ETH0.0094880790
Withdraw108569302020-09-14 0:35:232016 days ago1600043723IN
0x885868eb...D4Ba79e60
0 ETH0.0094880790
Withdraw108569132020-09-14 0:31:462016 days ago1600043506IN
0x885868eb...D4Ba79e60
0 ETH0.0094880790
Get Reward108568272020-09-14 0:10:062016 days ago1600042206IN
0x885868eb...D4Ba79e60
0 ETH0.0072930381.4
Withdraw108567922020-09-14 0:02:252016 days ago1600041745IN
0x885868eb...D4Ba79e60
0 ETH0.0094869990
Withdraw108567402020-09-13 23:51:032016 days ago1600041063IN
0x885868eb...D4Ba79e60
0 ETH0.0094859190
Withdraw108566322020-09-13 23:26:142016 days ago1600039574IN
0x885868eb...D4Ba79e60
0 ETH0.0072741869
Withdraw108565722020-09-13 23:15:112016 days ago1600038911IN
0x885868eb...D4Ba79e60
0 ETH0.0094880790
Withdraw108565692020-09-13 23:13:182016 days ago1600038798IN
0x885868eb...D4Ba79e60
0 ETH0.0090423100
Withdraw108565672020-09-13 23:12:402016 days ago1600038760IN
0x885868eb...D4Ba79e60
0 ETH0.0094869990
Withdraw108565652020-09-13 23:12:192016 days ago1600038739IN
0x885868eb...D4Ba79e60
0 ETH0.0077527280
Withdraw108565652020-09-13 23:12:192016 days ago1600038739IN
0x885868eb...D4Ba79e60
0 ETH0.0094859190
Withdraw108565602020-09-13 23:11:162016 days ago1600038676IN
0x885868eb...D4Ba79e60
0 ETH0.00994521110
Withdraw108565592020-09-13 23:11:102016 days ago1600038670IN
0x885868eb...D4Ba79e60
0 ETH0.0089609585
Withdraw108565572020-09-13 23:10:542016 days ago1600038654IN
0x885868eb...D4Ba79e60
0 ETH0.0067146863.70000145
Withdraw108565472020-09-13 23:09:022016 days ago1600038542IN
0x885868eb...D4Ba79e60
0 ETH0.0632538600
Withdraw108565382020-09-13 23:07:532016 days ago1600038473IN
0x885868eb...D4Ba79e60
0 ETH0.0094869990
Withdraw108565362020-09-13 23:07:402016 days ago1600038460IN
0x885868eb...D4Ba79e60
0 ETH0.0094859190
Withdraw108565312020-09-13 23:06:072016 days ago1600038367IN
0x885868eb...D4Ba79e60
0 ETH0.0094869990
Withdraw108565282020-09-13 23:05:532016 days ago1600038353IN
0x885868eb...D4Ba79e60
0 ETH0.0094869990
Exit108565252020-09-13 23:05:152016 days ago1600038315IN
0x885868eb...D4Ba79e60
0 ETH0.015100
Withdraw108565182020-09-13 23:04:162016 days ago1600038256IN
0x885868eb...D4Ba79e60
0 ETH0.008949599
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x94D29943...722f42127
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
YFPool

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-13
*/

/**
 *Submitted for verification at Etherscan.io on 2020-07-17
*/

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

* 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);

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

pragma solidity ^0.5.0;



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

    IERC20 public token;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;
    
    constructor (address _token) public {
        token = IERC20(_token);
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

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

    function stake(uint256 amount) public {
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        token.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint256 amount) public {
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        token.safeTransfer(msg.sender, amount);
    }
}

contract YFPool is LPTokenWrapper, Ownable {

    IERC20 public rewardToken;

    bool public locked = true;
    bool public lockedDeposit = true;
    uint256 public duration = 30 days;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;
    address public governance;

    event PoolUnlocked(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);

    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }
    
    modifier onlyGovernance() {
        require(msg.sender == governance, "!governance");
        _;
    }
    
    constructor (address _poolToken, address _rewardToken) public
    LPTokenWrapper(_poolToken)
    {
        rewardToken = IERC20(_rewardToken);
        governance = msg.sender;
    }

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

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

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

    function stake(uint256 amount) public updateReward(msg.sender) {
        require(locked == false, 'Pool is locked');
        require(lockedDeposit == false, 'Deposits are locked');
        require(amount > 0, "Cannot stake 0");
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public updateReward(msg.sender) {
        require(locked == false, 'pool is locked');
        require(amount > 0, "Cannot withdraw 0");
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender));
        getReward();
    }

    function getReward() public updateReward(msg.sender) {
        require(locked == false, 'pool is locked');
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardToken.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function unlockPool()
        external
        onlyGovernance
        updateReward(address(0))
    {
        require(locked == true, 'pool already unlocked');
        locked = false;
        lockedDeposit = false;
        uint256 _rewardAmount = rewardToken.balanceOf(address(this));
        rewardRate = _rewardAmount.div(duration);
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(duration);
        emit PoolUnlocked(_rewardAmount);
    }
    
    function withdrawTokens(address _token) public onlyGovernance {
        IERC20 _rewardToken = IERC20(_token);
        _rewardToken.safeTransfer(governance, _rewardToken.balanceOf(address(this)));
    }
    
    function setGovernance(address _governance) public onlyGovernance {
        governance = _governance;
    }
    
    function lockDeposits() public onlyGovernance {
        require(lockedDeposit == false, 'Deposits are already locked');
        lockedDeposit = true;
    }
    function unlockDeposits() public onlyGovernance {
        require(lockedDeposit == true, 'Deposits are already unlocked');
        lockedDeposit = false;
    }
    function depositIsLocked() public view returns (bool) {
        return lockedDeposit;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_poolToken","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"PoolUnlocked","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":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"depositIsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"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":false,"inputs":[],"name":"lockDeposits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lockedDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":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":"rewardToken","outputs":[{"internalType":"contract IERC20","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":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"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":false,"inputs":[],"name":"unlockDeposits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unlockPool","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":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

0x60806040526004805460ff60a81b1960ff60a01b19909116600160a01b1716600160a81b17905562278d006005556000600681905560075534801561004357600080fd5b506040516117f93803806117f98339818101604052604081101561006657600080fd5b508051602090910151600080546001600160a01b0319166001600160a01b03841617905561009261010d565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600480546001600160a01b039092166001600160a01b0319928316179055600c80549091163317905550610111565b3390565b6116d9806101206000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80638da5cb5b1161010f578063cf309012116100a2578063ebe2b12b11610071578063ebe2b12b146103e3578063f2fde38b146103eb578063f7c618c114610411578063fc0c546a14610419576101e4565b8063cf309012146103c3578063d088a231146103cb578063df136d65146103d3578063e9fad8ee146103db576101e4565b8063ab033ea9116100de578063ab033ea914610385578063babe0061146103ab578063c8f33c91146103b3578063cd3daf9d146103bb576101e4565b80638da5cb5b1461033c5780638f32d59b146103445780639998e03814610360578063a694fc3a14610368576101e4565b80635aa6e675116101875780637d6babb4116101565780637d6babb4146102fe57806380faa57d14610306578063890265381461030e5780638b87634714610316576101e4565b80635aa6e675146102a457806370a08231146102c8578063715018a6146102ee5780637b0a47ee146102f6576101e4565b806318160ddd116101c357806318160ddd1461024f5780632e1a7d4d146102575780633d18b9121461027657806349df728c1461027e576101e4565b80628cc262146101e95780630700037d146102215780630fb5a6b414610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610421565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104a7565b61020f6104b9565b61020f6104bf565b6102746004803603602081101561026d57600080fd5b50356104c6565b005b6102746105fd565b6102746004803603602081101561029457600080fd5b50356001600160a01b031661071f565b6102ac610804565b604080516001600160a01b039092168252519081900360200190f35b61020f600480360360208110156102de57600080fd5b50356001600160a01b0316610813565b61027461082e565b61020f6108d1565b6102746108d7565b61020f610996565b6102746109a9565b61020f6004803603602081101561032c57600080fd5b50356001600160a01b0316610ba0565b6102ac610bb2565b61034c610bc1565b604080519115158252519081900360200190f35b61034c610be7565b6102746004803603602081101561037e57600080fd5b5035610bf7565b6102746004803603602081101561039b57600080fd5b50356001600160a01b0316610d80565b61034c610def565b61020f610dff565b61020f610e05565b61034c610e59565b610274610e69565b61020f610f2a565b610274610f30565b61020f610f4b565b6102746004803603602081101561040157600080fd5b50356001600160a01b0316610f51565b6102ac610fb6565b6102ac610fc5565b6001600160a01b0381166000908152600b6020908152604080832054600a9092528220546104a1919061049590670de0b6b3a7640000906104899061047490610468610e05565b9063ffffffff610fd416565b61047d88610813565b9063ffffffff61101d16565b9063ffffffff61107616565b9063ffffffff6110b816565b92915050565b600b6020526000908152604090205481565b60055481565b6001545b90565b336104cf610e05565b6009556104da610996565b6008556001600160a01b03811615610521576104f581610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff1615610571576040805162461bcd60e51b815260206004820152600e60248201526d1c1bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b600082116105ba576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6105c382611112565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b33610606610e05565b600955610611610996565b6008556001600160a01b038116156106585761062c81610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff16156106a8576040805162461bcd60e51b815260206004820152600e60248201526d1c1bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b60006106b333610421565b9050801561071b57336000818152600b60205260408120556004546106e4916001600160a01b03909116908361116f565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b600c546001600160a01b0316331461076c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c54604080516370a0823160e01b81523060048201529051839261071b926001600160a01b0391821692918516916370a0823191602480820192602092909190829003018186803b1580156107c157600080fd5b505afa1580156107d5573d6000803e3d6000fd5b505050506040513d60208110156107eb57600080fd5b50516001600160a01b038416919063ffffffff61116f16565b600c546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610836610bc1565b610887576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60075481565b600c546001600160a01b03163314610924576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600454600160a81b900460ff161515600114610987576040805162461bcd60e51b815260206004820152601d60248201527f4465706f736974732061726520616c726561647920756e6c6f636b6564000000604482015290519081900360640190fd5b6004805460ff60a81b19169055565b60006109a4426006546111c6565b905090565b600c546001600160a01b031633146109f6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000610a00610e05565b600955610a0b610996565b6008556001600160a01b03811615610a5257610a2681610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff161515600114610aad576040805162461bcd60e51b81526020600482015260156024820152741c1bdbdb08185b1c9958591e481d5b9b1bd8dad959605a1b604482015290519081900360640190fd5b6004805461ffff60a01b1981168255604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015610b0757600080fd5b505afa158015610b1b573d6000803e3d6000fd5b505050506040513d6020811015610b3157600080fd5b5051600554909150610b4a90829063ffffffff61107616565b600755426008819055600554610b66919063ffffffff6110b816565b6006556040805182815290517f66e194f0a5167439e87d886af36e9b3edc8f2979459cdeeda3646eebf405f8259181900360200190a15050565b600a6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610bd86111dc565b6001600160a01b031614905090565b600454600160a81b900460ff1681565b33610c00610e05565b600955610c0b610996565b6008556001600160a01b03811615610c5257610c2681610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff1615610ca2576040805162461bcd60e51b815260206004820152600e60248201526d141bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b600454600160a81b900460ff1615610cf7576040805162461bcd60e51b815260206004820152601360248201527211195c1bdcda5d1cc8185c99481b1bd8dad959606a1b604482015290519081900360640190fd5b60008211610d3d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610d46826111e0565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600c546001600160a01b03163314610dcd576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600454600160a81b900460ff1690565b60085481565b6000610e0f6104bf565b610e1c57506009546104c3565b6109a4610e4a610e2a6104bf565b610489670de0b6b3a764000061047d60075461047d600854610468610996565b6009549063ffffffff6110b816565b600454600160a01b900460ff1681565b600c546001600160a01b03163314610eb6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600454600160a81b900460ff1615610f15576040805162461bcd60e51b815260206004820152601b60248201527f4465706f736974732061726520616c7265616479206c6f636b65640000000000604482015290519081900360640190fd5b6004805460ff60a81b1916600160a81b179055565b60095481565b610f41610f3c33610813565b6104c6565b610f496105fd565b565b60065481565b610f59610bc1565b610faa576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610fb381611242565b50565b6004546001600160a01b031681565b6000546001600160a01b031681565b600061101683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112e3565b9392505050565b60008261102c575060006104a1565b8282028284828161103957fe5b04146110165760405162461bcd60e51b815260040180806020018281038252602181526020018061165a6021913960400191505060405180910390fd5b600061101683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061137a565b600082820183811015611016576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154611125908263ffffffff610fd416565b60015533600090815260026020526040902054611148908263ffffffff610fd416565b336000818152600260205260408120929092559054610fb3916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111c19084906113df565b505050565b60008183106111d55781611016565b5090919050565b3390565b6001546111f3908263ffffffff6110b816565b60015533600090815260026020526040902054611216908263ffffffff6110b816565b336000818152600260205260408120929092559054610fb3916001600160a01b0390911690308461159d565b6001600160a01b0381166112875760405162461bcd60e51b81526004018080602001828103825260268152602001806116346026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156113725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561133757818101518382015260200161131f565b50505050905090810190601f1680156113645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836113c95760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561133757818101518382015260200161131f565b5060008385816113d557fe5b0495945050505050565b6113f1826001600160a01b03166115f7565b611442576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114805780518252601f199092019160209182019101611461565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b50915091508161153e576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156115975780806020019051602081101561155a57600080fd5b50516115975760405162461bcd60e51b815260040180806020018281038252602a81526020018061167b602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526115979085906113df565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061162b5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582063ce5231eee8734ffd57f9ae9dc3b643c93cd497b7d649b0c003186971e4623464736f6c634300051100320000000000000000000000009ef9766572ee3a8542d92d5d884c6ec79046d26700000000000000000000000089ee58af4871b474c30001982c3d7439c933c838

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80638da5cb5b1161010f578063cf309012116100a2578063ebe2b12b11610071578063ebe2b12b146103e3578063f2fde38b146103eb578063f7c618c114610411578063fc0c546a14610419576101e4565b8063cf309012146103c3578063d088a231146103cb578063df136d65146103d3578063e9fad8ee146103db576101e4565b8063ab033ea9116100de578063ab033ea914610385578063babe0061146103ab578063c8f33c91146103b3578063cd3daf9d146103bb576101e4565b80638da5cb5b1461033c5780638f32d59b146103445780639998e03814610360578063a694fc3a14610368576101e4565b80635aa6e675116101875780637d6babb4116101565780637d6babb4146102fe57806380faa57d14610306578063890265381461030e5780638b87634714610316576101e4565b80635aa6e675146102a457806370a08231146102c8578063715018a6146102ee5780637b0a47ee146102f6576101e4565b806318160ddd116101c357806318160ddd1461024f5780632e1a7d4d146102575780633d18b9121461027657806349df728c1461027e576101e4565b80628cc262146101e95780630700037d146102215780630fb5a6b414610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610421565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104a7565b61020f6104b9565b61020f6104bf565b6102746004803603602081101561026d57600080fd5b50356104c6565b005b6102746105fd565b6102746004803603602081101561029457600080fd5b50356001600160a01b031661071f565b6102ac610804565b604080516001600160a01b039092168252519081900360200190f35b61020f600480360360208110156102de57600080fd5b50356001600160a01b0316610813565b61027461082e565b61020f6108d1565b6102746108d7565b61020f610996565b6102746109a9565b61020f6004803603602081101561032c57600080fd5b50356001600160a01b0316610ba0565b6102ac610bb2565b61034c610bc1565b604080519115158252519081900360200190f35b61034c610be7565b6102746004803603602081101561037e57600080fd5b5035610bf7565b6102746004803603602081101561039b57600080fd5b50356001600160a01b0316610d80565b61034c610def565b61020f610dff565b61020f610e05565b61034c610e59565b610274610e69565b61020f610f2a565b610274610f30565b61020f610f4b565b6102746004803603602081101561040157600080fd5b50356001600160a01b0316610f51565b6102ac610fb6565b6102ac610fc5565b6001600160a01b0381166000908152600b6020908152604080832054600a9092528220546104a1919061049590670de0b6b3a7640000906104899061047490610468610e05565b9063ffffffff610fd416565b61047d88610813565b9063ffffffff61101d16565b9063ffffffff61107616565b9063ffffffff6110b816565b92915050565b600b6020526000908152604090205481565b60055481565b6001545b90565b336104cf610e05565b6009556104da610996565b6008556001600160a01b03811615610521576104f581610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff1615610571576040805162461bcd60e51b815260206004820152600e60248201526d1c1bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b600082116105ba576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6105c382611112565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b33610606610e05565b600955610611610996565b6008556001600160a01b038116156106585761062c81610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff16156106a8576040805162461bcd60e51b815260206004820152600e60248201526d1c1bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b60006106b333610421565b9050801561071b57336000818152600b60205260408120556004546106e4916001600160a01b03909116908361116f565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b600c546001600160a01b0316331461076c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c54604080516370a0823160e01b81523060048201529051839261071b926001600160a01b0391821692918516916370a0823191602480820192602092909190829003018186803b1580156107c157600080fd5b505afa1580156107d5573d6000803e3d6000fd5b505050506040513d60208110156107eb57600080fd5b50516001600160a01b038416919063ffffffff61116f16565b600c546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610836610bc1565b610887576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60075481565b600c546001600160a01b03163314610924576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600454600160a81b900460ff161515600114610987576040805162461bcd60e51b815260206004820152601d60248201527f4465706f736974732061726520616c726561647920756e6c6f636b6564000000604482015290519081900360640190fd5b6004805460ff60a81b19169055565b60006109a4426006546111c6565b905090565b600c546001600160a01b031633146109f6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6000610a00610e05565b600955610a0b610996565b6008556001600160a01b03811615610a5257610a2681610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff161515600114610aad576040805162461bcd60e51b81526020600482015260156024820152741c1bdbdb08185b1c9958591e481d5b9b1bd8dad959605a1b604482015290519081900360640190fd5b6004805461ffff60a01b1981168255604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015610b0757600080fd5b505afa158015610b1b573d6000803e3d6000fd5b505050506040513d6020811015610b3157600080fd5b5051600554909150610b4a90829063ffffffff61107616565b600755426008819055600554610b66919063ffffffff6110b816565b6006556040805182815290517f66e194f0a5167439e87d886af36e9b3edc8f2979459cdeeda3646eebf405f8259181900360200190a15050565b600a6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610bd86111dc565b6001600160a01b031614905090565b600454600160a81b900460ff1681565b33610c00610e05565b600955610c0b610996565b6008556001600160a01b03811615610c5257610c2681610421565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600454600160a01b900460ff1615610ca2576040805162461bcd60e51b815260206004820152600e60248201526d141bdbdb081a5cc81b1bd8dad95960921b604482015290519081900360640190fd5b600454600160a81b900460ff1615610cf7576040805162461bcd60e51b815260206004820152601360248201527211195c1bdcda5d1cc8185c99481b1bd8dad959606a1b604482015290519081900360640190fd5b60008211610d3d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610d46826111e0565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600c546001600160a01b03163314610dcd576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600454600160a81b900460ff1690565b60085481565b6000610e0f6104bf565b610e1c57506009546104c3565b6109a4610e4a610e2a6104bf565b610489670de0b6b3a764000061047d60075461047d600854610468610996565b6009549063ffffffff6110b816565b600454600160a01b900460ff1681565b600c546001600160a01b03163314610eb6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600454600160a81b900460ff1615610f15576040805162461bcd60e51b815260206004820152601b60248201527f4465706f736974732061726520616c7265616479206c6f636b65640000000000604482015290519081900360640190fd5b6004805460ff60a81b1916600160a81b179055565b60095481565b610f41610f3c33610813565b6104c6565b610f496105fd565b565b60065481565b610f59610bc1565b610faa576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610fb381611242565b50565b6004546001600160a01b031681565b6000546001600160a01b031681565b600061101683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112e3565b9392505050565b60008261102c575060006104a1565b8282028284828161103957fe5b04146110165760405162461bcd60e51b815260040180806020018281038252602181526020018061165a6021913960400191505060405180910390fd5b600061101683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061137a565b600082820183811015611016576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154611125908263ffffffff610fd416565b60015533600090815260026020526040902054611148908263ffffffff610fd416565b336000818152600260205260408120929092559054610fb3916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111c19084906113df565b505050565b60008183106111d55781611016565b5090919050565b3390565b6001546111f3908263ffffffff6110b816565b60015533600090815260026020526040902054611216908263ffffffff6110b816565b336000818152600260205260408120929092559054610fb3916001600160a01b0390911690308461159d565b6001600160a01b0381166112875760405162461bcd60e51b81526004018080602001828103825260268152602001806116346026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156113725760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561133757818101518382015260200161131f565b50505050905090810190601f1680156113645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836113c95760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561133757818101518382015260200161131f565b5060008385816113d557fe5b0495945050505050565b6113f1826001600160a01b03166115f7565b611442576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114805780518252601f199092019160209182019101611461565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146114e2576040519150601f19603f3d011682016040523d82523d6000602084013e6114e7565b606091505b50915091508161153e576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156115975780806020019051602081101561155a57600080fd5b50516115975760405162461bcd60e51b815260040180806020018281038252602a81526020018061167b602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526115979085906113df565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061162b5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582063ce5231eee8734ffd57f9ae9dc3b643c93cd497b7d649b0c003186971e4623464736f6c63430005110032

Deployed Bytecode Sourcemap

22393:4516:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22393:4516:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24330:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24330:265:0;-1:-1:-1;;;;;24330:265:0;;:::i;:::-;;;;;;;;;;;;;;;;22806:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22806:42:0;-1:-1:-1;;;;;22806:42:0;;:::i;22550:33::-;;;:::i;21713:91::-;;;:::i;24920:256::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24920:256:0;;:::i;:::-;;25289:345;;;:::i;26144:204::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26144:204:0;-1:-1:-1;;;;;26144:204:0;;:::i;22855:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22855:25:0;;;;;;;;;;;;;;21812:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21812:110:0;-1:-1:-1;;;;;21812:110:0;;:::i;10760:140::-;;;:::i;22628:29::-;;;:::i;26645:162::-;;;:::i;23763:131::-;;;:::i;25642:490::-;;;:::i;22742:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22742:57:0;-1:-1:-1;;;;;22742:57:0;;:::i;9949:79::-;;;:::i;10315:94::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;22511:32;;;:::i;24603:309::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24603:309:0;;:::i;26360:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26360:109:0;-1:-1:-1;;;;;26360:109:0;;:::i;26813:93::-;;;:::i;22664:29::-;;;:::i;23902:420::-;;;:::i;22479:25::-;;;:::i;26481:158::-;;;:::i;22700:35::-;;;:::i;25184:97::-;;;:::i;22590:31::-;;;:::i;11055:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11055:109:0;-1:-1:-1;;;;;11055:109:0;;:::i;22445:25::-;;;:::i;21507:19::-;;;:::i;24330:265::-;-1:-1:-1;;;;;24570:16:0;;24384:7;24570:16;;;:7;:16;;;;;;;;;24486:22;:31;;;;;;24424:163;;24570:16;24424:123;;24542:4;;24424:95;;24465:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;24424:18;24434:7;24424:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;24404:183;24330:265;-1:-1:-1;;24330:265:0:o;22806:42::-;;;;;;;;;;;;;:::o;22550:33::-;;;;:::o;21713:91::-;21784:12;;21713:91;;:::o;24920:256::-;24974:10;23183:16;:14;:16::i;:::-;23160:20;:39;23227:26;:24;:26::i;:::-;23210:14;:43;-1:-1:-1;;;;;23268:21:0;;;23264:157;;23325:15;23332:7;23325:6;:15::i;:::-;-1:-1:-1;;;;;23306:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23389:20;;23355:22;:31;;;;;;:54;23264:157;25005:6;;-1:-1:-1;;;25005:6:0;;;;:15;24997:42;;;;;-1:-1:-1;;;24997:42:0;;;;;;;;;;;;-1:-1:-1;;;24997:42:0;;;;;;;;;;;;;;;25067:1;25058:6;:10;25050:40;;;;;-1:-1:-1;;;25050:40:0;;;;;;;;;;;;-1:-1:-1;;;25050:40:0;;;;;;;;;;;;;;;25101:22;25116:6;25101:14;:22::i;:::-;25139:29;;;;;;;;25149:10;;25139:29;;;;;;;;;;24920:256;;:::o;25289:345::-;25330:10;23183:16;:14;:16::i;:::-;23160:20;:39;23227:26;:24;:26::i;:::-;23210:14;:43;-1:-1:-1;;;;;23268:21:0;;;23264:157;;23325:15;23332:7;23325:6;:15::i;:::-;-1:-1:-1;;;;;23306:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23389:20;;23355:22;:31;;;;;;:54;23264:157;25361:6;;-1:-1:-1;;;25361:6:0;;;;:15;25353:42;;;;;-1:-1:-1;;;25353:42:0;;;;;;;;;;;;-1:-1:-1;;;25353:42:0;;;;;;;;;;;;;;;25406:14;25423:18;25430:10;25423:6;:18::i;:::-;25406:35;-1:-1:-1;25456:10:0;;25452:175;;25491:10;25505:1;25483:19;;;:7;:19;;;;;:23;25521:11;;:44;;-1:-1:-1;;;;;25521:11:0;;;;25558:6;25521:24;:44::i;:::-;25585:30;;;;;;;;25596:10;;25585:30;;;;;;;;;;25452:175;23431:1;25289:345;:::o;26144:204::-;23511:10;;-1:-1:-1;;;;;23511:10:0;23497;:24;23489:48;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;;;;26290:10;;26302:37;;;-1:-1:-1;;;26302:37:0;;26333:4;26302:37;;;;;;26246:6;;26264:76;;-1:-1:-1;;;;;26290:10:0;;;;26302:22;;;;;;:37;;;;;;;;;;;;;;;:22;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;26302:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26302:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26302:37:0;-1:-1:-1;;;;;26264:25:0;;;:76;;:25;:76;:::i;22855:25::-;;;-1:-1:-1;;;;;22855:25:0;;:::o;21812:110::-;-1:-1:-1;;;;;21896:18:0;21869:7;21896:18;;;:9;:18;;;;;;;21812:110::o;10760:140::-;10161:9;:7;:9::i;:::-;10153:54;;;;;-1:-1:-1;;;10153:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10843:6;;10822:40;;10859:1;;-1:-1:-1;;;;;10843:6:0;;10822:40;;10859:1;;10822:40;10873:6;:19;;-1:-1:-1;;;;;;10873:19:0;;;10760:140::o;22628:29::-;;;;:::o;26645:162::-;23511:10;;-1:-1:-1;;;;;23511:10:0;23497;:24;23489:48;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;;;;26712:13;;-1:-1:-1;;;26712:13:0;;;;:21;;26729:4;26712:21;26704:63;;;;;-1:-1:-1;;;26704:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26778:13;:21;;-1:-1:-1;;;;26778:21:0;;;26645:162::o;23763:131::-;23820:7;23847:39;23856:15;23873:12;;23847:8;:39::i;:::-;23840:46;;23763:131;:::o;25642:490::-;23511:10;;-1:-1:-1;;;;;23511:10:0;23497;:24;23489:48;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;;;;25736:1;23183:16;:14;:16::i;:::-;23160:20;:39;23227:26;:24;:26::i;:::-;23210:14;:43;-1:-1:-1;;;;;23268:21:0;;;23264:157;;23325:15;23332:7;23325:6;:15::i;:::-;-1:-1:-1;;;;;23306:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23389:20;;23355:22;:31;;;;;;:54;23264:157;25764:6;;-1:-1:-1;;;25764:6:0;;;;:14;;25774:4;25764:14;25756:48;;;;;-1:-1:-1;;;25756:48:0;;;;;;;;;;;;-1:-1:-1;;;25756:48:0;;;;;;;;;;;;;;;25815:6;:14;;-1:-1:-1;;;;25840:21:0;;;;25896:36;;;-1:-1:-1;;;25896:36:0;;25926:4;25896:36;;;;;;;;25824:5;;-1:-1:-1;;;;;25896:11:0;;;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;25896:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25896:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25896:36:0;25974:8;;25896:36;;-1:-1:-1;25956:27:0;;25896:36;;25956:27;:17;:27;:::i;:::-;25943:10;:40;26011:15;25994:14;:32;;;26072:8;;26052:29;;26011:15;26052:29;:19;:29;:::i;:::-;26037:12;:44;26097:27;;;;;;;;;;;;;;;;;23431:1;23548;25642:490::o;22742:57::-;;;;;;;;;;;;;:::o;9949:79::-;10014:6;;-1:-1:-1;;;;;10014:6:0;9949:79;:::o;10315:94::-;10395:6;;10355:4;;-1:-1:-1;;;;;10395:6:0;10379:12;:10;:12::i;:::-;-1:-1:-1;;;;;10379:22:0;;10372:29;;10315:94;:::o;22511:32::-;;;-1:-1:-1;;;22511:32:0;;;;;:::o;24603:309::-;24654:10;23183:16;:14;:16::i;:::-;23160:20;:39;23227:26;:24;:26::i;:::-;23210:14;:43;-1:-1:-1;;;;;23268:21:0;;;23264:157;;23325:15;23332:7;23325:6;:15::i;:::-;-1:-1:-1;;;;;23306:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23389:20;;23355:22;:31;;;;;;:54;23264:157;24685:6;;-1:-1:-1;;;24685:6:0;;;;:15;24677:42;;;;;-1:-1:-1;;;24677:42:0;;;;;;;;;;;;-1:-1:-1;;;24677:42:0;;;;;;;;;;;;;;;24738:13;;-1:-1:-1;;;24738:13:0;;;;:22;24730:54;;;;;-1:-1:-1;;;24730:54:0;;;;;;;;;;;;-1:-1:-1;;;24730:54:0;;;;;;;;;;;;;;;24812:1;24803:6;:10;24795:37;;;;;-1:-1:-1;;;24795:37:0;;;;;;;;;;;;-1:-1:-1;;;24795:37:0;;;;;;;;;;;;;;;24843:19;24855:6;24843:11;:19::i;:::-;24878:26;;;;;;;;24885:10;;24878:26;;;;;;;;;;24603:309;;:::o;26360:109::-;23511:10;;-1:-1:-1;;;;;23511:10:0;23497;:24;23489:48;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;;;;26437:10;:24;;-1:-1:-1;;;;;;26437:24:0;-1:-1:-1;;;;;26437:24:0;;;;;;;;;;26360:109::o;26813:93::-;26885:13;;-1:-1:-1;;;26885:13:0;;;;;26813:93::o;22664:29::-;;;;:::o;23902:420::-;23949:7;23973:13;:11;:13::i;:::-;23969:78;;-1:-1:-1;24015:20:0;;24008:27;;23969:78;24077:237;24120:179;24285:13;:11;:13::i;:::-;24120:138;24253:4;24120:106;24215:10;;24120:68;24173:14;;24120:26;:24;:26::i;:179::-;24077:20;;;:237;:24;:237;:::i;22479:25::-;;;-1:-1:-1;;;22479:25:0;;;;;:::o;26481:158::-;23511:10;;-1:-1:-1;;;;;23511:10:0;23497;:24;23489:48;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;-1:-1:-1;;;23489:48:0;;;;;;;;;;;;;;;26546:13;;-1:-1:-1;;;26546:13:0;;;;:22;26538:62;;;;;-1:-1:-1;;;26538:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26611:13;:20;;-1:-1:-1;;;;26611:20:0;-1:-1:-1;;;26611:20:0;;;26481:158::o;22700:35::-;;;;:::o;25184:97::-;25220:31;25229:21;25239:10;25229:9;:21::i;:::-;25220:8;:31::i;:::-;25262:11;:9;:11::i;:::-;25184:97::o;22590:31::-;;;;:::o;11055:109::-;10161:9;:7;:9::i;:::-;10153:54;;;;;-1:-1:-1;;;10153:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11128:28;11147:8;11128:18;:28::i;:::-;11055:109;:::o;22445:25::-;;;-1:-1:-1;;;;;22445:25:0;;:::o;21507:19::-;;;-1:-1:-1;;;;;21507:19:0;;:::o;3699:136::-;3757:7;3784:43;3788:1;3791;3784:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3777:50;3699:136;-1:-1:-1;;;3699:136:0:o;4615:471::-;4673:7;4918:6;4914:47;;-1:-1:-1;4948:1:0;4941:8;;4914:47;4985:5;;;4989:1;4985;:5;:1;5009:5;;;;;:10;5001:56;;;;-1:-1:-1;;;5001:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5554:132;5612:7;5639:39;5643:1;5646;5639:39;;;;;;;;;;;;;;;;;:3;:39::i;3243:181::-;3301:7;3333:5;;;3357:6;;;;3349:46;;;;;-1:-1:-1;;;3349:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22170:216;22237:12;;:24;;22254:6;22237:24;:16;:24;:::i;:::-;22222:12;:39;22306:10;22296:21;;;;:9;:21;;;;;;:33;;22322:6;22296:33;:25;:33;:::i;:::-;22282:10;22272:21;;;;:9;:21;;;;;:57;;;;22340:5;;:38;;-1:-1:-1;;;;;22340:5:0;;;;22371:6;18176:176;18285:58;;;-1:-1:-1;;;;;18285:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18285:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18259:85:0;;18278:5;;18259:18;:85::i;:::-;18176:176;;;:::o;1905:106::-;1963:7;1994:1;1990;:5;:13;;2002:1;1990:13;;;-1:-1:-1;1998:1:0;;1905:106;-1:-1:-1;1905:106:0:o;8698:98::-;8778:10;8698:98;:::o;21930:232::-;21994:12;;:24;;22011:6;21994:24;:16;:24;:::i;:::-;21979:12;:39;22063:10;22053:21;;;;:9;:21;;;;;;:33;;22079:6;22053:33;:25;:33;:::i;:::-;22039:10;22029:21;;;;:9;:21;;;;;:57;;;;22097:5;;:57;;-1:-1:-1;;;;;22097:5:0;;;;22140:4;22147:6;22097:22;:57::i;11270:229::-;-1:-1:-1;;;;;11344:22:0;;11336:73;;;;-1:-1:-1;;;11336:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11446:6;;11425:38;;-1:-1:-1;;;;;11425:38:0;;;;11446:6;;11425:38;;11446:6;;11425:38;11474:6;:17;;-1:-1:-1;;;;;;11474:17:0;-1:-1:-1;;;;;11474:17:0;;;;;;;;;;11270:229::o;4172:192::-;4258:7;4294:12;4286:6;;;;4278:29;;;;-1:-1:-1;;;4278: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;4278:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4330:5:0;;;4172:192::o;6216:345::-;6302:7;6404:12;6397:5;6389:28;;;;-1:-1:-1;;;6389:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6389:28:0;;6428:9;6444:1;6440;:5;;;;;;;6216:345;-1:-1:-1;;;;;6216:345:0:o;20215:1114::-;20819:27;20827:5;-1:-1:-1;;;;;20819:25:0;;:27::i;:::-;20811:71;;;;;-1:-1:-1;;;20811:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20956:12;20970:23;21005:5;-1:-1:-1;;;;;20997:19:0;21017:4;20997: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;;;20997: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;;20955:67:0;;;;21041:7;21033:52;;;;;-1:-1:-1;;;21033:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21102:17;;:21;21098:224;;21244:10;21233:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21233:30:0;21225:85;;;;-1:-1:-1;;;21225:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20215:1114;;;;:::o;18360:204::-;18487:68;;;-1:-1:-1;;;;;18487:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18487:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18461:95:0;;18480:5;;18461:18;:95::i;15014:810::-;15074:4;15733:20;;15576:66;15773:15;;;;;:42;;;15804:11;15792:8;:23;;15773:42;15765:51;15014:810;-1:-1:-1;;;;15014:810:0:o

Swarm Source

bzzr://63ce5231eee8734ffd57f9ae9dc3b643c93cd497b7d649b0c003186971e46234

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.