ETH Price: $2,920.96 (+4.55%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stop114365412020-12-12 6:49:541427 days ago1607755794IN
0x5b491cB2...B41E8F64c
0 ETH0.0007632420.00000146
Exit Stake114345762020-12-11 23:14:331427 days ago1607728473IN
0x5b491cB2...B41E8F64c
0 ETH0.0060268549.00000156
Get Reward114230462020-12-10 4:25:261429 days ago1607574326IN
0x5b491cB2...B41E8F64c
0 ETH0.0025353330
Get Reward113916052020-12-05 8:38:421434 days ago1607157522IN
0x5b491cB2...B41E8F64c
0 ETH0.0016902220
Stake113669312020-12-01 13:25:411437 days ago1606829141IN
0x5b491cB2...B41E8F64c
0 ETH0.0108872100
Exit Stake113668732020-12-01 13:12:401437 days ago1606828360IN
0x5b491cB2...B41E8F64c
0 ETH0.0122997100
Get Reward113547892020-11-29 16:48:541439 days ago1606668534IN
0x5b491cB2...B41E8F64c
0 ETH0.0016902220
Exit Stake113286872020-11-25 16:49:201443 days ago1606322960IN
0x5b491cB2...B41E8F64c
0 ETH0.004553933
Stake113166922020-11-23 20:43:371445 days ago1606164217IN
0x5b491cB2...B41E8F64c
0 ETH0.0042236234.1
Get Reward113039602020-11-21 21:32:291447 days ago1605994349IN
0x5b491cB2...B41E8F64c
0 ETH0.0039804440
Stake112150162020-11-08 5:58:291461 days ago1604815109IN
0x5b491cB2...B41E8F64c
0 ETH0.0019596918
Exit Stake112148992020-11-08 5:31:511461 days ago1604813511IN
0x5b491cB2...B41E8F64c
0 ETH0.0027599420
Get Reward112024052020-11-06 7:25:581463 days ago1604647558IN
0x5b491cB2...B41E8F64c
0 ETH0.0052740853
Exit Stake111782772020-11-02 14:44:301466 days ago1604328270IN
0x5b491cB2...B41E8F64c
0 ETH0.0076258162
Get Reward111782702020-11-02 14:43:001466 days ago1604328180IN
0x5b491cB2...B41E8F64c
0 ETH0.004054155
Exit Stake111568752020-10-30 7:42:471470 days ago1604043767IN
0x5b491cB2...B41E8F64c
0 ETH0.0061498550
Get Reward111378042020-10-27 9:36:171473 days ago1603791377IN
0x5b491cB2...B41E8F64c
0 ETH0.0021991922.1
Exit Stake111336862020-10-26 18:35:011473 days ago1603737301IN
0x5b491cB2...B41E8F64c
0 ETH0.0100977390
Stake111331122020-10-26 16:27:031473 days ago1603729623IN
0x5b491cB2...B41E8F64c
0 ETH0.0069654571
Stake111221092020-10-24 23:29:491475 days ago1603582189IN
0x5b491cB2...B41E8F64c
0 ETH0.002160319.1
Get Reward111220842020-10-24 23:23:011475 days ago1603581781IN
0x5b491cB2...B41E8F64c
0 ETH0.0014926615
Get Reward111118752020-10-23 10:08:301477 days ago1603447710IN
0x5b491cB2...B41E8F64c
0 ETH0.005473155
Get Reward111108802020-10-23 6:15:351477 days ago1603433735IN
0x5b491cB2...B41E8F64c
0 ETH0.0021222633
Withdraw111108802020-10-23 6:15:351477 days ago1603433735IN
0x5b491cB2...B41E8F64c
0 ETH0.0020782733
Exit Stake111108792020-10-23 6:15:191477 days ago1603433719IN
0x5b491cB2...B41E8F64c
0 ETH0.001441833
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:
YFOSUSDTlpReward

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-09-30
*/

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;

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

pragma solidity ^0.5.0;

contract IGovernanceAddressRecipient is Ownable {
    address GovernanceAddress;

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

    function setGovernanceAddress(address _GovernanceAddress)
    external
    onlyOwner
    {
        GovernanceAddress = _GovernanceAddress;
    }
}

// File: contracts/Rewards.sol

pragma solidity ^0.5.0;

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

    IERC20 public stakeToken;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    constructor(address _stakeToken) public {
        stakeToken = IERC20(_stakeToken);
    }

    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);
        stakeToken.safeTransferFrom(msg.sender, address(this), amount);
    }

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

contract YFOSUSDTlpReward is StakeTokenWrapper(0xD48C880423BD60A0Cc9990C775BAD8A824FB03e1), IGovernanceAddressRecipient {

    IERC20 public YFOS = IERC20(0xCd254568EBF88f088E40f456db9E17731243cb25);

    uint256 public constant DURATION = 100 days;

    uint256 public initReward = 0;
    uint256 public startTime = 0;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    bool public stakeable = false;
    uint256 public rewardPerTokenStored;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    event DepositStake(uint256 reward);
    event StartStaking(uint256 time);
    event StopStaking(uint256 time);
    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 checkStart(){
        require(
            initReward > 0,
            "No reward to stake."
        );
        require(
            stakeable,
            "Staking is not started."
        );
        _;
    }

    constructor() public {
        GovernanceAddress = msg.sender;
    }

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

    function remainingReward() public view returns (uint256) {
        return YFOS.balanceOf(address(this));
    }

    function stop() public onlyGovernanceAddress {
        require(stakeable, "Staking is not started.");
        YFOS.safeTransfer(address(0x0000000000000000000000000000000000000001), remainingReward());
        stakeable = false;
        initReward = 0;
        rewardRate = 0;
        emit StopStaking(block.timestamp);
    }

    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 start() public onlyGovernanceAddress {
        require(!stakeable, "Staking is started.");
        require(initReward > 0, "Cannot start. Require initReward");
        periodFinish = block.timestamp.add(DURATION);
        stakeable = true;
        startTime = block.timestamp;
        emit StartStaking(block.timestamp);
    }

    function depositReward(uint256 amount) public onlyGovernanceAddress {
        require(!stakeable, "Staking is started.");
        require(amount > 0, "Cannot deposit 0");
        YFOS.safeTransferFrom(msg.sender, address(this), amount);
        initReward = amount;
        rewardRate = initReward.div(DURATION);
        emit DepositStake(amount);
    }

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    function stake(uint256 amount) public updateReward(msg.sender) checkStart {
        require(amount > 0, "Cannot stake 0");
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public updateReward(msg.sender) checkStart {
        require(amount > 0, "Cannot withdraw 0");
        super.withdraw(amount);
        emit Withdrawn(msg.sender, amount);
    }

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

    function getReward() public updateReward(msg.sender) checkStart {
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            YFOS.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, 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":"DepositStake","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":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":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StopStaking","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":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"YFOS","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositReward","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"exitStake","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":"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":[],"name":"remainingReward","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":[{"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":"_GovernanceAddress","type":"address"}],"name":"setGovernanceAddress","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":"stakeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakeable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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"}]

6080604052600580546001600160a01b03191673cd254568ebf88f088e40f456db9e17731243cb251790556000600681905560078190556008819055600955600b805460ff1916905534801561005457600080fd5b50600080546001600160a01b03191673d48c880423bd60a0cc9990c775bad8a824fb03e117905561008c6001600160e01b036100ef16565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600480546001600160a01b031916331790556100f3565b3390565b61174c806101026000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80637b0a47ee11610104578063be9a6555116100a2578063df136d6511610071578063df136d65146103c7578063e1c4c9fe146103cf578063ebe2b12b146103d7578063f2fde38b146103df576101d9565b8063be9a655514610389578063c8f33c9114610391578063cd3daf9d14610399578063cfc16254146103a1576101d9565b80638da5cb5b116100de5780638da5cb5b146103545780638f32d59b1461035c5780639bfffad714610364578063a694fc3a1461036c576101d9565b80637b0a47ee1461031e57806380faa57d146103265780638b8763471461032e576101d9565b80632e1a7d4d1161017c57806370a082311161014b57806370a08231146102cc578063715018a6146102f257806375a776d6146102fa57806378e9792514610316576101d9565b80632e1a7d4d146102975780633882f742146102b45780633d18b912146102bc57806351ed6a30146102c4576101d9565b806311d4af84116101b857806311d4af841461024657806318160ddd1461026a5780631be05289146102725780631e2720ff1461027a576101d9565b80628cc262146101de5780630700037d1461021657806307da68f51461023c575b600080fd5b610204600480360360208110156101f457600080fd5b50356001600160a01b0316610405565b60408051918252519081900360200190f35b6102046004803603602081101561022c57600080fd5b50356001600160a01b031661048b565b61024461049d565b005b61024e6105b6565b604080516001600160a01b039092168252519081900360200190f35b6102046105c5565b6102046105cc565b6102446004803603602081101561029057600080fd5b50356105d3565b610244600480360360208110156102ad57600080fd5b5035610731565b6102446108b6565b6102446108d1565b61024e610a41565b610204600480360360208110156102e257600080fd5b50356001600160a01b0316610a50565b610244610a6b565b610302610b0e565b604080519115158252519081900360200190f35b610204610b17565b610204610b1d565b610204610b23565b6102046004803603602081101561034457600080fd5b50356001600160a01b0316610b36565b61024e610b48565b610302610b57565b610204610b7d565b6102446004803603602081101561038257600080fd5b5035610b83565b610244610d05565b610204610e60565b610204610e66565b610244600480360360208110156103b757600080fd5b50356001600160a01b0316610eba565b610204610f35565b610204610f3b565b610204610fb7565b610244600480360360208110156103f557600080fd5b50356001600160a01b0316610fbd565b6001600160a01b0381166000908152600e6020908152604080832054600d909252822054610485919061047990670de0b6b3a76400009061046d906104589061044c610e66565b9063ffffffff61102216565b61046188610a50565b9063ffffffff61106b16565b9063ffffffff6110c416565b9063ffffffff61110616565b92915050565b600e6020526000908152604090205481565b6004546001600160a01b03166104b1611160565b6001600160a01b0316146104f65760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff16610547576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b61056d6001610554610f3b565b6005546001600160a01b0316919063ffffffff61116416565b600b805460ff19169055600060068190556009556040805142815290517f844769bc94a2b0b6e18c8649b94e6dea9460cf27630e50da40b24bec16d898ab9181900360200190a1565b6005546001600160a01b031681565b6001545b90565b6283d60081565b6004546001600160a01b03166105e7611160565b6001600160a01b03161461062c5760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff161561067a576040805162461bcd60e51b815260206004820152601360248201527229ba30b5b4b7339034b99039ba30b93a32b21760691b604482015290519081900360640190fd5b600081116106c2576040805162461bcd60e51b815260206004820152601060248201526f043616e6e6f74206465706f73697420360841b604482015290519081900360640190fd5b6005546106e0906001600160a01b031633308463ffffffff6111bb16565b60068190556106f8816283d60063ffffffff6110c416565b6009556040805182815290517f054a903637a366320c31e23f961726344072ccf4de8c6cb7944791b9b1229dee9181900360200190a150565b3361073a610e66565b600c55610745610b23565b600a556001600160a01b0381161561078c5761076081610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b6000600654116107d9576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff1661082a576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60008211610873576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61087c8261121b565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6108c76108c233610a50565b610731565b6108cf6108d1565b565b336108da610e66565b600c556108e5610b23565b600a556001600160a01b0381161561092c5761090081610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600060065411610979576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff166109ca576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60006109d533610405565b90508015610a3d57336000818152600e6020526040812055600554610a06916001600160a01b039091169083611164565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610a73610b57565b610ac4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600b5460ff1681565b60075481565b60095481565b6000610b314260085461127c565b905090565b600d6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610b6e611160565b6001600160a01b031614905090565b60065481565b33610b8c610e66565b600c55610b97610b23565b600a556001600160a01b03811615610bde57610bb281610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600060065411610c2b576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff16610c7c576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60008211610cc2576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ccb82611292565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6004546001600160a01b0316610d19611160565b6001600160a01b031614610d5e5760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff1615610dac576040805162461bcd60e51b815260206004820152601360248201527229ba30b5b4b7339034b99039ba30b93a32b21760691b604482015290519081900360640190fd5b600060065411610e03576040805162461bcd60e51b815260206004820181905260248201527f43616e6e6f742073746172742e205265717569726520696e6974526577617264604482015290519081900360640190fd5b610e16426283d60063ffffffff61110616565b600855600b805460ff1916600117905542600781905560408051918252517f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee61089181900360200190a1565b600a5481565b6000610e706105c5565b610e7d5750600c546105c9565b610b31610eab610e8b6105c5565b61046d670de0b6b3a7640000610461600954610461600a5461044c610b23565b600c549063ffffffff61110616565b610ec2610b57565b610f13576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600c5481565b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f8657600080fd5b505afa158015610f9a573d6000803e3d6000fd5b505050506040513d6020811015610fb057600080fd5b5051905090565b60085481565b610fc5610b57565b611016576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61101f816112f4565b50565b600061106483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611395565b9392505050565b60008261107a57506000610485565b8282028284828161108757fe5b04146110645760405162461bcd60e51b81526004018080602001828103825260218152602001806116ac6021913960400191505060405180910390fd5b600061106483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061142c565b600082820183811015611064576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111b6908490611491565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611215908590611491565b50505050565b60015461122e908263ffffffff61102216565b60015533600090815260026020526040902054611251908263ffffffff61102216565b33600081815260026020526040812092909255905461101f916001600160a01b039091169083611164565b600081831061128b5781611064565b5090919050565b6001546112a5908263ffffffff61110616565b600155336000908152600260205260409020546112c8908263ffffffff61110616565b33600081815260026020526040812092909255905461101f916001600160a01b039091169030846111bb565b6001600160a01b0381166113395760405162461bcd60e51b81526004018080602001828103825260268152602001806116866026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114245760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113e95781810151838201526020016113d1565b50505050905090810190601f1680156114165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361147b5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113e95781810151838201526020016113d1565b50600083858161148757fe5b0495945050505050565b6114a3826001600160a01b0316611649565b6114f4576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115325780518252601f199092019160209182019101611513565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611594576040519150601f19603f3d011682016040523d82523d6000602084013e611599565b606091505b5091509150816115f0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112155780806020019051602081101561160c57600080fd5b50516112155760405162461bcd60e51b815260040180806020018281038252602a8152602001806116ee602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061167d5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582017cb0c08813d12ede96ab65ba0b1b8a1f9a31233628bc5b9f300f478e95d444964736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80637b0a47ee11610104578063be9a6555116100a2578063df136d6511610071578063df136d65146103c7578063e1c4c9fe146103cf578063ebe2b12b146103d7578063f2fde38b146103df576101d9565b8063be9a655514610389578063c8f33c9114610391578063cd3daf9d14610399578063cfc16254146103a1576101d9565b80638da5cb5b116100de5780638da5cb5b146103545780638f32d59b1461035c5780639bfffad714610364578063a694fc3a1461036c576101d9565b80637b0a47ee1461031e57806380faa57d146103265780638b8763471461032e576101d9565b80632e1a7d4d1161017c57806370a082311161014b57806370a08231146102cc578063715018a6146102f257806375a776d6146102fa57806378e9792514610316576101d9565b80632e1a7d4d146102975780633882f742146102b45780633d18b912146102bc57806351ed6a30146102c4576101d9565b806311d4af84116101b857806311d4af841461024657806318160ddd1461026a5780631be05289146102725780631e2720ff1461027a576101d9565b80628cc262146101de5780630700037d1461021657806307da68f51461023c575b600080fd5b610204600480360360208110156101f457600080fd5b50356001600160a01b0316610405565b60408051918252519081900360200190f35b6102046004803603602081101561022c57600080fd5b50356001600160a01b031661048b565b61024461049d565b005b61024e6105b6565b604080516001600160a01b039092168252519081900360200190f35b6102046105c5565b6102046105cc565b6102446004803603602081101561029057600080fd5b50356105d3565b610244600480360360208110156102ad57600080fd5b5035610731565b6102446108b6565b6102446108d1565b61024e610a41565b610204600480360360208110156102e257600080fd5b50356001600160a01b0316610a50565b610244610a6b565b610302610b0e565b604080519115158252519081900360200190f35b610204610b17565b610204610b1d565b610204610b23565b6102046004803603602081101561034457600080fd5b50356001600160a01b0316610b36565b61024e610b48565b610302610b57565b610204610b7d565b6102446004803603602081101561038257600080fd5b5035610b83565b610244610d05565b610204610e60565b610204610e66565b610244600480360360208110156103b757600080fd5b50356001600160a01b0316610eba565b610204610f35565b610204610f3b565b610204610fb7565b610244600480360360208110156103f557600080fd5b50356001600160a01b0316610fbd565b6001600160a01b0381166000908152600e6020908152604080832054600d909252822054610485919061047990670de0b6b3a76400009061046d906104589061044c610e66565b9063ffffffff61102216565b61046188610a50565b9063ffffffff61106b16565b9063ffffffff6110c416565b9063ffffffff61110616565b92915050565b600e6020526000908152604090205481565b6004546001600160a01b03166104b1611160565b6001600160a01b0316146104f65760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff16610547576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b61056d6001610554610f3b565b6005546001600160a01b0316919063ffffffff61116416565b600b805460ff19169055600060068190556009556040805142815290517f844769bc94a2b0b6e18c8649b94e6dea9460cf27630e50da40b24bec16d898ab9181900360200190a1565b6005546001600160a01b031681565b6001545b90565b6283d60081565b6004546001600160a01b03166105e7611160565b6001600160a01b03161461062c5760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff161561067a576040805162461bcd60e51b815260206004820152601360248201527229ba30b5b4b7339034b99039ba30b93a32b21760691b604482015290519081900360640190fd5b600081116106c2576040805162461bcd60e51b815260206004820152601060248201526f043616e6e6f74206465706f73697420360841b604482015290519081900360640190fd5b6005546106e0906001600160a01b031633308463ffffffff6111bb16565b60068190556106f8816283d60063ffffffff6110c416565b6009556040805182815290517f054a903637a366320c31e23f961726344072ccf4de8c6cb7944791b9b1229dee9181900360200190a150565b3361073a610e66565b600c55610745610b23565b600a556001600160a01b0381161561078c5761076081610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b6000600654116107d9576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff1661082a576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60008211610873576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61087c8261121b565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6108c76108c233610a50565b610731565b6108cf6108d1565b565b336108da610e66565b600c556108e5610b23565b600a556001600160a01b0381161561092c5761090081610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600060065411610979576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff166109ca576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60006109d533610405565b90508015610a3d57336000818152600e6020526040812055600554610a06916001600160a01b039091169083611164565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610a73610b57565b610ac4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600b5460ff1681565b60075481565b60095481565b6000610b314260085461127c565b905090565b600d6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610b6e611160565b6001600160a01b031614905090565b60065481565b33610b8c610e66565b600c55610b97610b23565b600a556001600160a01b03811615610bde57610bb281610405565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600060065411610c2b576040805162461bcd60e51b81526020600482015260136024820152722737903932bbb0b932103a379039ba30b5b29760691b604482015290519081900360640190fd5b600b5460ff16610c7c576040805162461bcd60e51b815260206004820152601760248201527629ba30b5b4b7339034b9903737ba1039ba30b93a32b21760491b604482015290519081900360640190fd5b60008211610cc2576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ccb82611292565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6004546001600160a01b0316610d19611160565b6001600160a01b031614610d5e5760405162461bcd60e51b81526004018080602001828103825260218152602001806116cd6021913960400191505060405180910390fd5b600b5460ff1615610dac576040805162461bcd60e51b815260206004820152601360248201527229ba30b5b4b7339034b99039ba30b93a32b21760691b604482015290519081900360640190fd5b600060065411610e03576040805162461bcd60e51b815260206004820181905260248201527f43616e6e6f742073746172742e205265717569726520696e6974526577617264604482015290519081900360640190fd5b610e16426283d60063ffffffff61110616565b600855600b805460ff1916600117905542600781905560408051918252517f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee61089181900360200190a1565b600a5481565b6000610e706105c5565b610e7d5750600c546105c9565b610b31610eab610e8b6105c5565b61046d670de0b6b3a7640000610461600954610461600a5461044c610b23565b600c549063ffffffff61110616565b610ec2610b57565b610f13576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600c5481565b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610f8657600080fd5b505afa158015610f9a573d6000803e3d6000fd5b505050506040513d6020811015610fb057600080fd5b5051905090565b60085481565b610fc5610b57565b611016576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61101f816112f4565b50565b600061106483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611395565b9392505050565b60008261107a57506000610485565b8282028284828161108757fe5b04146110645760405162461bcd60e51b81526004018080602001828103825260218152602001806116ac6021913960400191505060405180910390fd5b600061106483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061142c565b600082820183811015611064576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526111b6908490611491565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611215908590611491565b50505050565b60015461122e908263ffffffff61102216565b60015533600090815260026020526040902054611251908263ffffffff61102216565b33600081815260026020526040812092909255905461101f916001600160a01b039091169083611164565b600081831061128b5781611064565b5090919050565b6001546112a5908263ffffffff61110616565b600155336000908152600260205260409020546112c8908263ffffffff61110616565b33600081815260026020526040812092909255905461101f916001600160a01b039091169030846111bb565b6001600160a01b0381166113395760405162461bcd60e51b81526004018080602001828103825260268152602001806116866026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114245760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113e95781810151838201526020016113d1565b50505050905090810190601f1680156114165780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361147b5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113e95781810151838201526020016113d1565b50600083858161148757fe5b0495945050505050565b6114a3826001600160a01b0316611649565b6114f4576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115325780518252601f199092019160209182019101611513565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611594576040519150601f19603f3d011682016040523d82523d6000602084013e611599565b606091505b5091509150816115f0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112155780806020019051602081101561160c57600080fd5b50516112155760405162461bcd60e51b815260040180806020018281038252602a8152602001806116ee602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061167d5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582017cb0c08813d12ede96ab65ba0b1b8a1f9a31233628bc5b9f300f478e95d444964736f6c63430005110032

Deployed Bytecode Sourcemap

21415:4436:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21415:4436:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23973:228;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23973:228:0;-1:-1:-1;;;;;23973:228:0;;:::i;:::-;;;;;;;;;;;;;;;;21999:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21999:42:0;-1:-1:-1;;;;;21999:42:0;;:::i;23259:331::-;;;:::i;:::-;;21544:71;;;:::i;:::-;;;;-1:-1:-1;;;;;21544:71:0;;;;;;;;;;;;;;20725:91;;;:::i;21624:43::-;;;:::i;24559:360::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24559:360:0;;:::i;25220:214::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25220:214:0;;:::i;25442:102::-;;;:::i;25552:296::-;;;:::i;20504:24::-;;;:::i;20824:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20824:110:0;-1:-1:-1;;;;;20824:110:0;;:::i;9237:140::-;;;:::i;21857:29::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;21712:28;;;:::i;21785:29::-;;;:::i;23000:131::-;;;:::i;21935:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21935:57:0;-1:-1:-1;;;;;21935:57:0;;:::i;8426:79::-;;;:::i;8792:94::-;;;:::i;21676:29::-;;;:::i;25010:202::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25010:202:0;;:::i;24209:342::-;;;:::i;21821:29::-;;;:::i;23598:367::-;;;:::i;20185:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20185:149:0;-1:-1:-1;;;;;20185:149:0;;:::i;21893:35::-;;;:::i;23139:112::-;;;:::i;21747:31::-;;;:::i;9532:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9532:109:0;-1:-1:-1;;;;;9532:109:0;;:::i;23973:228::-;-1:-1:-1;;;;;24176:16:0;;24027:7;24176:16;;;:7;:16;;;;;;;;;24108:22;:31;;;;;;24054:139;;24176:16;24054:107;;24156:4;;24054:87;;24087:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;24054:18;24064:7;24054:9;:18::i;:::-;:32;:87;:32;:87;:::i;:::-;:101;:107;:101;:107;:::i;:::-;:121;:139;:121;:139;:::i;:::-;24047:146;23973:228;-1:-1:-1;;23973:228:0:o;21999:42::-;;;;;;;;;;;;;:::o;23259:331::-;20102:17;;-1:-1:-1;;;;;20102:17:0;20086:12;:10;:12::i;:::-;-1:-1:-1;;;;;20086:33:0;;20078:79;;;;-1:-1:-1;;;20078:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23323:9;;;;23315:45;;;;;-1:-1:-1;;;23315:45:0;;;;;;;;;;;;-1:-1:-1;;;23315:45:0;;;;;;;;;;;;;;;23371:89;23397:42;23442:17;:15;:17::i;:::-;23371:4;;-1:-1:-1;;;;;23371:4:0;;:89;;:17;:89;:::i;:::-;23471:9;:17;;-1:-1:-1;;23471:17:0;;;23483:5;23499:10;:14;;;23524:10;:14;23554:28;;;23566:15;23554:28;;;;;;;;;;;;;23259:331::o;21544:71::-;;;-1:-1:-1;;;;;21544:71:0;;:::o;20725:91::-;20796:12;;20725:91;;:::o;21624:43::-;21659:8;21624:43;:::o;24559:360::-;20102:17;;-1:-1:-1;;;;;20102:17:0;20086:12;:10;:12::i;:::-;-1:-1:-1;;;;;20086:33:0;;20078:79;;;;-1:-1:-1;;;20078:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24647:9;;;;24646:10;24638:42;;;;;-1:-1:-1;;;24638:42:0;;;;;;;;;;;;-1:-1:-1;;;24638:42:0;;;;;;;;;;;;;;;24708:1;24699:6;:10;24691:39;;;;;-1:-1:-1;;;24691:39:0;;;;;;;;;;;;-1:-1:-1;;;24691:39:0;;;;;;;;;;;;;;;24741:4;;:56;;-1:-1:-1;;;;;24741:4:0;24763:10;24783:4;24790:6;24741:56;:21;:56;:::i;:::-;24808:10;:19;;;24851:24;24821:6;21659:8;24851:24;:14;:24;:::i;:::-;24838:10;:37;24891:20;;;;;;;;;;;;;;;;;24559:360;:::o;25220:214::-;25274:10;22421:16;:14;:16::i;:::-;22398:20;:39;22465:26;:24;:26::i;:::-;22448:14;:43;-1:-1:-1;;;;;22506:21:0;;;22502:157;;22563:15;22570:7;22563:6;:15::i;:::-;-1:-1:-1;;;;;22544:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22627:20;;22593:22;:31;;;;;;:54;22502:157;22753:1;22740:10;;:14;22718:83;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;;;;22834:9;;;;22812:82;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;;;;25325:1;25316:6;:10;25308:40;;;;;-1:-1:-1;;;25308:40:0;;;;;;;;;;;;-1:-1:-1;;;25308:40:0;;;;;;;;;;;;;;;25359:22;25374:6;25359:14;:22::i;:::-;25397:29;;;;;;;;25407:10;;25397:29;;;;;;;;;;25220:214;;:::o;25442:102::-;25483:31;25492:21;25502:10;25492:9;:21::i;:::-;25483:8;:31::i;:::-;25525:11;:9;:11::i;:::-;25442:102::o;25552:296::-;25593:10;22421:16;:14;:16::i;:::-;22398:20;:39;22465:26;:24;:26::i;:::-;22448:14;:43;-1:-1:-1;;;;;22506:21:0;;;22502:157;;22563:15;22570:7;22563:6;:15::i;:::-;-1:-1:-1;;;;;22544:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22627:20;;22593:22;:31;;;;;;:54;22502:157;22753:1;22740:10;;:14;22718:83;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;;;;22834:9;;;;22812:82;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;;;;25627:14;25644:18;25651:10;25644:6;:18::i;:::-;25627:35;-1:-1:-1;25677:10:0;;25673:168;;25712:10;25726:1;25704:19;;;:7;:19;;;;;:23;25742:4;;:37;;-1:-1:-1;;;;;25742:4:0;;;;25772:6;25742:17;:37::i;:::-;25799:30;;;;;;;;25810:10;;25799:30;;;;;;;;;;25673:168;22905:1;25552:296;:::o;20504:24::-;;;-1:-1:-1;;;;;20504:24:0;;:::o;20824:110::-;-1:-1:-1;;;;;20908:18:0;20881:7;20908:18;;;:9;:18;;;;;;;20824:110::o;9237:140::-;8638:9;:7;:9::i;:::-;8630:54;;;;;-1:-1:-1;;;8630:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9320:6;;9299:40;;9336:1;;-1:-1:-1;;;;;9320:6:0;;9299:40;;9336:1;;9299:40;9350:6;:19;;-1:-1:-1;;;;;;9350:19:0;;;9237:140::o;21857:29::-;;;;;;:::o;21712:28::-;;;;:::o;21785:29::-;;;;:::o;23000:131::-;23057:7;23084:39;23093:15;23110:12;;23084:8;:39::i;:::-;23077:46;;23000:131;:::o;21935:57::-;;;;;;;;;;;;;:::o;8426:79::-;8491:6;;-1:-1:-1;;;;;8491:6:0;8426:79;:::o;8792:94::-;8872:6;;8832:4;;-1:-1:-1;;;;;8872:6:0;8856:12;:10;:12::i;:::-;-1:-1:-1;;;;;8856:22:0;;8849:29;;8792:94;:::o;21676:29::-;;;;:::o;25010:202::-;25061:10;22421:16;:14;:16::i;:::-;22398:20;:39;22465:26;:24;:26::i;:::-;22448:14;:43;-1:-1:-1;;;;;22506:21:0;;;22502:157;;22563:15;22570:7;22563:6;:15::i;:::-;-1:-1:-1;;;;;22544:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22627:20;;22593:22;:31;;;;;;:54;22502:157;22753:1;22740:10;;:14;22718:83;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;-1:-1:-1;;;22718:83:0;;;;;;;;;;;;;;;22834:9;;;;22812:82;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;-1:-1:-1;;;22812:82:0;;;;;;;;;;;;;;;25112:1;25103:6;:10;25095:37;;;;;-1:-1:-1;;;25095:37:0;;;;;;;;;;;;-1:-1:-1;;;25095:37:0;;;;;;;;;;;;;;;25143:19;25155:6;25143:11;:19::i;:::-;25178:26;;;;;;;;25185:10;;25178:26;;;;;;;;;;25010:202;;:::o;24209:342::-;20102:17;;-1:-1:-1;;;;;20102:17:0;20086:12;:10;:12::i;:::-;-1:-1:-1;;;;;20086:33:0;;20078:79;;;;-1:-1:-1;;;20078:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24275:9;;;;24274:10;24266:42;;;;;-1:-1:-1;;;24266:42:0;;;;;;;;;;;;-1:-1:-1;;;24266:42:0;;;;;;;;;;;;;;;24340:1;24327:10;;:14;24319:59;;;;;-1:-1:-1;;;24319:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24404:29;:15;21659:8;24404:29;:19;:29;:::i;:::-;24389:12;:44;24444:9;:16;;-1:-1:-1;;24444:16:0;24456:4;24444:16;;;24483:15;24471:9;:27;;;24514:29;;;;;;;;;;;;;;;;24209:342::o;21821:29::-;;;;:::o;23598:367::-;23645:7;23669:13;:11;:13::i;:::-;23665:78;;-1:-1:-1;23711:20:0;;23704:27;;23665:78;23760:197;23799:147;23932:13;:11;:13::i;:::-;23799:114;23908:4;23799:90;23878:10;;23799:60;23844:14;;23799:26;:24;:26::i;:147::-;23760:20;;;:197;:24;:197;:::i;20185:149::-;8638:9;:7;:9::i;:::-;8630:54;;;;;-1:-1:-1;;;8630:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20288:17;:38;;-1:-1:-1;;;;;;20288:38:0;-1:-1:-1;;;;;20288:38:0;;;;;;;;;;20185:149::o;21893:35::-;;;;:::o;23139:112::-;23214:4;;:29;;;-1:-1:-1;;;23214:29:0;;23237:4;23214:29;;;;;;23187:7;;-1:-1:-1;;;;;23214:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;23214:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23214:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23214:29:0;;-1:-1:-1;23139:112:0;:::o;21747:31::-;;;;:::o;9532:109::-;8638:9;:7;:9::i;:::-;8630:54;;;;;-1:-1:-1;;;8630:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9605:28;9624:8;9605:18;:28::i;:::-;9532:109;:::o;2168:136::-;2226:7;2253:43;2257:1;2260;2253:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2246:50;2168:136;-1:-1:-1;;;2168:136:0:o;3084:471::-;3142:7;3387:6;3383:47;;-1:-1:-1;3417:1:0;3410:8;;3383:47;3454:5;;;3458:1;3454;:5;:1;3478:5;;;;;:10;3470:56;;;;-1:-1:-1;;;3470:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:132;4081:7;4108:39;4112:1;4115;4108:39;;;;;;;;;;;;;;;;;:3;:39::i;1712:181::-;1770:7;1802:5;;;1826:6;;;;1818:46;;;;;-1:-1:-1;;;1818:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;7166:98;7246:10;7166:98;:::o;16705:176::-;16814:58;;;-1:-1:-1;;;;;16814:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16814:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;16788:85:0;;16807:5;;16788:18;:85::i;:::-;16705:176;;;:::o;16889:204::-;17016:68;;;-1:-1:-1;;;;;17016:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17016:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;16990:95:0;;17009:5;;16990:18;:95::i;:::-;16889:204;;;;:::o;21187:221::-;21254:12;;:24;;21271:6;21254:24;:16;:24;:::i;:::-;21239:12;:39;21323:10;21313:21;;;;:9;:21;;;;;;:33;;21339:6;21313:33;:25;:33;:::i;:::-;21299:10;21289:21;;;;:9;:21;;;;;:57;;;;21357:10;;:43;;-1:-1:-1;;;;;21357:10:0;;;;21393:6;21357:23;:43::i;374:106::-;432:7;463:1;459;:5;:13;;471:1;459:13;;;-1:-1:-1;467:1:0;;374:106;-1:-1:-1;374:106:0:o;20942:237::-;21006:12;;:24;;21023:6;21006:24;:16;:24;:::i;:::-;20991:12;:39;21075:10;21065:21;;;;:9;:21;;;;;;:33;;21091:6;21065:33;:25;:33;:::i;:::-;21051:10;21041:21;;;;:9;:21;;;;;:57;;;;21109:10;;:62;;-1:-1:-1;;;;;21109:10:0;;;;21157:4;21164:6;21109:27;:62::i;9747:229::-;-1:-1:-1;;;;;9821:22:0;;9813:73;;;;-1:-1:-1;;;9813:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9923:6;;9902:38;;-1:-1:-1;;;;;9902:38:0;;;;9923:6;;9902:38;;9923:6;;9902:38;9951:6;:17;;-1:-1:-1;;;;;;9951:17:0;-1:-1:-1;;;;;9951:17:0;;;;;;;;;;9747:229::o;2641:192::-;2727:7;2763:12;2755:6;;;;2747:29;;;;-1:-1:-1;;;2747: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;2747:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2799:5:0;;;2641:192::o;4685:345::-;4771:7;4873:12;4866:5;4858:28;;;;-1:-1:-1;;;4858:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4858:28:0;;4897:9;4913:1;4909;:5;;;;;;;4685:345;-1:-1:-1;;;;;4685:345:0:o;18744:1113::-;19348:27;19356:5;-1:-1:-1;;;;;19348:25:0;;:27::i;:::-;19340:71;;;;;-1:-1:-1;;;19340:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19485:12;19499:23;19534:5;-1:-1:-1;;;;;19526:19:0;19546:4;19526: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;;;19526: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;;19484:67:0;;;;19570:7;19562:52;;;;;-1:-1:-1;;;19562:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19631:17;;:21;19627:223;;19772:10;19761:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19761:30:0;19753:85;;;;-1:-1:-1;;;19753:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13552:808;13612:4;14270:20;;14114:66;14309:15;;;;;:42;;;14340:11;14328:8;:23;;14309:42;14301:51;13552:808;-1:-1:-1;;;;13552:808:0:o

Swarm Source

bzzr://17cb0c08813d12ede96ab65ba0b1b8a1f9a31233628bc5b9f300f478e95d4449

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.