ETH Price: $2,603.10 (-1.66%)

Contract

0xfc66B82788b7Be4d7A62E528cc5Ae17224151a82
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw All118542082021-02-14 10:16:441324 days ago1613297804IN
0xfc66B827...224151a82
0 ETH0.01551062121
Withdraw All117206202021-01-24 20:58:011344 days ago1611521881IN
0xfc66B827...224151a82
0 ETH0.0073322957.2
Withdraw All117200942021-01-24 18:59:251344 days ago1611514765IN
0xfc66B827...224151a82
0 ETH0.0092670970
Withdraw All116877452021-01-19 19:51:111349 days ago1611085871IN
0xfc66B827...224151a82
0 ETH0.0147415115
Withdraw All116860672021-01-19 13:41:351349 days ago1611063695IN
0xfc66B827...224151a82
0 ETH0.0069350468
Get Reward116859912021-01-19 13:23:551349 days ago1611062635IN
0xfc66B827...224151a82
0 ETH0.0052027357
Withdraw All116820802021-01-18 23:00:011350 days ago1611010801IN
0xfc66B827...224151a82
0 ETH0.0051274840
Withdraw All116777152021-01-18 6:48:411351 days ago1610952521IN
0xfc66B827...224151a82
0 ETH0.0039775539.001
Withdraw All116757612021-01-17 23:37:481351 days ago1610926668IN
0xfc66B827...224151a82
0 ETH0.0066193550
Get Reward116751212021-01-17 21:20:481351 days ago1610918448IN
0xfc66B827...224151a82
0 ETH0.0031947163.8011
Get Reward116634672021-01-16 2:08:071353 days ago1610762887IN
0xfc66B827...224151a82
0 ETH0.0037514441.1
Withdraw All116594982021-01-15 11:46:061353 days ago1610711166IN
0xfc66B827...224151a82
0 ETH0.0057684145
Withdraw All116560212021-01-14 22:58:141354 days ago1610665094IN
0xfc66B827...224151a82
0 ETH0.0050707137.1
Withdraw All116553842021-01-14 20:34:351354 days ago1610656475IN
0xfc66B827...224151a82
0 ETH0.0094326667
Get Reward116552882021-01-14 20:15:111354 days ago1610655311IN
0xfc66B827...224151a82
0 ETH0.0048013554
Withdraw All116541742021-01-14 16:07:081354 days ago1610640428IN
0xfc66B827...224151a82
0 ETH0.02595134190
Withdraw All116450852021-01-13 6:40:471356 days ago1610520047IN
0xfc66B827...224151a82
0 ETH0.0054770940.1
Get Reward116419402021-01-12 18:59:291356 days ago1610477969IN
0xfc66B827...224151a82
0 ETH0.0047862748.00000145
Withdraw All116402072021-01-12 12:49:441356 days ago1610455784IN
0xfc66B827...224151a82
0 ETH0.0064195447
Get Reward116300892021-01-10 23:28:061358 days ago1610321286IN
0xfc66B827...224151a82
0 ETH0.003912344.001
Get Reward116207302021-01-09 13:10:341359 days ago1610197834IN
0xfc66B827...224151a82
0 ETH0.0058452669
Get Reward116172592021-01-09 0:11:591360 days ago1610151119IN
0xfc66B827...224151a82
0 ETH0.0067771280
Stake116170622021-01-08 23:28:511360 days ago1610148531IN
0xfc66B827...224151a82
0 ETH0.00982305101
Get Reward116170182021-01-08 23:18:321360 days ago1610147912IN
0xfc66B827...224151a82
0 ETH0.00995836112
Get Reward116138302021-01-08 11:33:161360 days ago1610105596IN
0xfc66B827...224151a82
0 ETH0.01067396126
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:
LiquidityMining

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-11-15
*/

pragma solidity ^0.5.0;

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


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;
    }
}


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;
    }
}


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;
    }
}


contract Pausable is Ownable {
    event Pause();
    event Unpause();

    bool public paused = true;

    modifier whenNotPaused() {
        require(!paused);
        _;
    }

    modifier whenPaused() {
        require(paused);
        _;
    }

    function pause() 
        onlyOwner 
        whenNotPaused 
        external 
    {
        paused = true;
        emit Pause();
    }

    function unpause()
        onlyOwner 
        whenPaused 
        external 
    {
        paused = false;
        emit Unpause();
    }
}


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


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");
    }
}


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");
        }
    }
}


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

    IERC20 public lpToken = IERC20(0xbBCd9986304FE340870f4816C614Ba0c7A53512E);

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

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

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

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

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


contract LiquidityMining is LPTokenWrapper {
    IERC20 public constant HYVE = IERC20(0xd794DD1CAda4cf79C9EebaAb8327a1B0507ef7d4);
    
    uint256 public duration = 60 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;

    event RewardAdded(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;
        }
        _;
    }

    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(amount > 0, "Cannot stake 0");
        super.stake(amount);
        emit Staked(msg.sender, amount);
    }

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

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

    function getReward() public updateReward(msg.sender) {
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            rewards[msg.sender] = 0;
            HYVE.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function notifyRewardAmount(uint256 reward) external onlyOwner updateReward(address(0))
    {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(duration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(duration);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(duration); 
        emit RewardAdded(reward);
    }
    
    function close() external onlyOwner {
        HYVE.safeTransfer(msg.sender, HYVE.balanceOf(address(this)));
        lpToken.safeTransfer(msg.sender, lpToken.balanceOf(address(this)));
        selfdestruct(msg.sender); 
    }
    
   
}

Contract Security Audit

Contract ABI

[{"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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","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":"HYVE","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":[],"name":"close","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"lpToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","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":false,"inputs":[],"name":"unpause","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":[],"name":"withdrawAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526000805460ff60a01b1916600160a01b178155600180546001600160a01b03191673bbcd9986304fe340870f4816c614ba0c7a53512e179055624f1a00600455600581905560065561005d6001600160e01b036100aa16565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100ae565b3390565b61145b806100bd6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80637283261e116100f95780638f32d59b11610097578063cd3daf9d11610071578063cd3daf9d14610360578063df136d6514610368578063ebe2b12b14610370578063f2fde38b14610378576101a8565b80638f32d59b14610333578063a694fc3a1461033b578063c8f33c9114610358576101a8565b80638456cb59116100d35780638456cb59146102f5578063853828b6146102fd5780638b876347146103055780638da5cb5b1461032b576101a8565b80637283261e146102dd5780637b0a47ee146102e557806380faa57d146102ed576101a8565b80633d18b912116101665780635c975abb116101405780635c975abb1461026f5780635fcbd2851461028b57806370a08231146102af578063715018a6146102d5576101a8565b80633d18b912146102575780633f4ba83a1461025f57806343d726d614610267576101a8565b80628cc262146101ad5780630700037d146101e55780630fb5a6b41461020b57806318160ddd146102135780632e1a7d4d1461021b5780633c6b16ab1461023a575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b031661039e565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b0316610424565b6101d3610436565b6101d361043c565b6102386004803603602081101561023157600080fd5b5035610443565b005b6102386004803603602081101561025057600080fd5b503561052a565b610238610694565b610238610773565b610238610806565b61027761098b565b604080519115158252519081900360200190f35b61029361099b565b604080516001600160a01b039092168252519081900360200190f35b6101d3600480360360208110156102c557600080fd5b50356001600160a01b03166109aa565b6102386109c5565b610293610a56565b6101d3610a6e565b6101d3610a74565b610238610a87565b610238610b21565b6101d36004803603602081101561031b57600080fd5b50356001600160a01b0316610b3c565b610293610b4e565b610277610b5d565b6102386004803603602081101561035157600080fd5b5035610b81565b6101d3610c65565b6101d3610c6b565b6101d3610cbf565b6101d3610cc5565b6102386004803603602081101561038e57600080fd5b50356001600160a01b0316610ccb565b6001600160a01b0381166000908152600a6020908152604080832054600990925282205461041e919061041290670de0b6b3a764000090610406906103f1906103e5610c6b565b9063ffffffff610d1e16565b6103fa886109aa565b9063ffffffff610d6716565b9063ffffffff610dc016565b9063ffffffff610e0216565b92915050565b600a6020526000908152604090205481565b60045481565b6002545b90565b3361044c610c6b565b600855610457610a74565b6007556001600160a01b0381161561049e576104728161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600082116104e7576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6104f082610e5c565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b610532610b5d565b610571576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600061057b610c6b565b600855610586610a74565b6007556001600160a01b038116156105cd576105a18161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60055442106105f2576004546105ea90839063ffffffff610dc016565b600655610641565b600554600090610608904263ffffffff610d1e16565b9050600061062160065483610d6790919063ffffffff16565b60045490915061063b90610406868463ffffffff610e0216565b60065550505b42600781905560045461065a919063ffffffff610e0216565b6005556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361069d610c6b565b6008556106a8610a74565b6007556001600160a01b038116156106ef576106c38161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60006106fa3361039e565b9050801561076f57336000818152600a60205260408120556107389073d794dd1cada4cf79c9eebaab8327a1b0507ef7d4908363ffffffff610eba16565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b61077b610b5d565b6107ba576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600054600160a01b900460ff166107d057600080fd5b6000805460ff60a01b191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b61080e610b5d565b61084d576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516108f291339173d794dd1cada4cf79c9eebaab8327a1b0507ef7d4916370a08231916024808301926020929190829003018186803b1580156108a457600080fd5b505afa1580156108b8573d6000803e3d6000fd5b505050506040513d60208110156108ce57600080fd5b505173d794dd1cada4cf79c9eebaab8327a1b0507ef7d4919063ffffffff610eba16565b600154604080516370a0823160e01b815230600482015290516109889233926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d602081101561096d57600080fd5b50516001546001600160a01b0316919063ffffffff610eba16565b33ff5b600054600160a01b900460ff1681565b6001546001600160a01b031681565b6001600160a01b031660009081526003602052604090205490565b6109cd610b5d565b610a0c576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b73d794dd1cada4cf79c9eebaab8327a1b0507ef7d481565b60065481565b6000610a8242600554610f11565b905090565b610a8f610b5d565b610ace576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600054600160a01b900460ff1615610ae557600080fd5b6000805460ff60a01b1916600160a01b1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b610b32610b2d336109aa565b610443565b610b3a610694565b565b60096020526000908152604090205481565b6000546001600160a01b031690565b600080546001600160a01b0316610b72610f27565b6001600160a01b031614905090565b33610b8a610c6b565b600855610b95610a74565b6007556001600160a01b03811615610bdc57610bb08161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610c22576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c2b82610f2b565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b60075481565b6000610c7561043c565b610c825750600854610440565b610a82610cb0610c9061043c565b610406670de0b6b3a76400006103fa6006546103fa6007546103e5610a74565b6008549063ffffffff610e0216565b60085481565b60055481565b610cd3610b5d565b610d12576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b610d1b81610fa5565b50565b6000610d6083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611045565b9392505050565b600082610d765750600061041e565b82820282848281610d8357fe5b0414610d605760405162461bcd60e51b81526004018080602001828103825260218152602001806113bc6021913960400191505060405180910390fd5b6000610d6083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506110dc565b600082820183811015610d60576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254610e6f908263ffffffff610d1e16565b60025533600090815260036020526040902054610e92908263ffffffff610d1e16565b33600081815260036020526040902091909155600154610d1b916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f0c908490611141565b505050565b6000818310610f205781610d60565b5090919050565b3390565b600054600160a01b900460ff1615610f4257600080fd5b600254610f55908263ffffffff610e0216565b60025533600090815260036020526040902054610f78908263ffffffff610e0216565b33600081815260036020526040902091909155600154610d1b916001600160a01b039091169030846112ff565b6001600160a01b038116610fea5760405162461bcd60e51b81526004018080602001828103825260268152602001806113966026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156110d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611099578181015183820152602001611081565b50505050905090810190601f1680156110c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361112b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611099578181015183820152602001611081565b50600083858161113757fe5b0495945050505050565b611153826001600160a01b0316611359565b6111a4576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106111e25780518252601f1990920191602091820191016111c3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611244576040519150601f19603f3d011682016040523d82523d6000602084013e611249565b606091505b5091509150816112a0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112f9578080602001905160208110156112bc57600080fd5b50516112f95760405162461bcd60e51b815260040180806020018281038252602a8152602001806113fd602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112f9908590611141565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061138d5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820c3729d6b8a707100550f89241e595c51d7700421a472fadae9e427819c5e7a6764736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80637283261e116100f95780638f32d59b11610097578063cd3daf9d11610071578063cd3daf9d14610360578063df136d6514610368578063ebe2b12b14610370578063f2fde38b14610378576101a8565b80638f32d59b14610333578063a694fc3a1461033b578063c8f33c9114610358576101a8565b80638456cb59116100d35780638456cb59146102f5578063853828b6146102fd5780638b876347146103055780638da5cb5b1461032b576101a8565b80637283261e146102dd5780637b0a47ee146102e557806380faa57d146102ed576101a8565b80633d18b912116101665780635c975abb116101405780635c975abb1461026f5780635fcbd2851461028b57806370a08231146102af578063715018a6146102d5576101a8565b80633d18b912146102575780633f4ba83a1461025f57806343d726d614610267576101a8565b80628cc262146101ad5780630700037d146101e55780630fb5a6b41461020b57806318160ddd146102135780632e1a7d4d1461021b5780633c6b16ab1461023a575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b031661039e565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b0316610424565b6101d3610436565b6101d361043c565b6102386004803603602081101561023157600080fd5b5035610443565b005b6102386004803603602081101561025057600080fd5b503561052a565b610238610694565b610238610773565b610238610806565b61027761098b565b604080519115158252519081900360200190f35b61029361099b565b604080516001600160a01b039092168252519081900360200190f35b6101d3600480360360208110156102c557600080fd5b50356001600160a01b03166109aa565b6102386109c5565b610293610a56565b6101d3610a6e565b6101d3610a74565b610238610a87565b610238610b21565b6101d36004803603602081101561031b57600080fd5b50356001600160a01b0316610b3c565b610293610b4e565b610277610b5d565b6102386004803603602081101561035157600080fd5b5035610b81565b6101d3610c65565b6101d3610c6b565b6101d3610cbf565b6101d3610cc5565b6102386004803603602081101561038e57600080fd5b50356001600160a01b0316610ccb565b6001600160a01b0381166000908152600a6020908152604080832054600990925282205461041e919061041290670de0b6b3a764000090610406906103f1906103e5610c6b565b9063ffffffff610d1e16565b6103fa886109aa565b9063ffffffff610d6716565b9063ffffffff610dc016565b9063ffffffff610e0216565b92915050565b600a6020526000908152604090205481565b60045481565b6002545b90565b3361044c610c6b565b600855610457610a74565b6007556001600160a01b0381161561049e576104728161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b600082116104e7576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6104f082610e5c565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b610532610b5d565b610571576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600061057b610c6b565b600855610586610a74565b6007556001600160a01b038116156105cd576105a18161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60055442106105f2576004546105ea90839063ffffffff610dc016565b600655610641565b600554600090610608904263ffffffff610d1e16565b9050600061062160065483610d6790919063ffffffff16565b60045490915061063b90610406868463ffffffff610e0216565b60065550505b42600781905560045461065a919063ffffffff610e0216565b6005556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361069d610c6b565b6008556106a8610a74565b6007556001600160a01b038116156106ef576106c38161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60006106fa3361039e565b9050801561076f57336000818152600a60205260408120556107389073d794dd1cada4cf79c9eebaab8327a1b0507ef7d4908363ffffffff610eba16565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b61077b610b5d565b6107ba576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600054600160a01b900460ff166107d057600080fd5b6000805460ff60a01b191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b61080e610b5d565b61084d576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516108f291339173d794dd1cada4cf79c9eebaab8327a1b0507ef7d4916370a08231916024808301926020929190829003018186803b1580156108a457600080fd5b505afa1580156108b8573d6000803e3d6000fd5b505050506040513d60208110156108ce57600080fd5b505173d794dd1cada4cf79c9eebaab8327a1b0507ef7d4919063ffffffff610eba16565b600154604080516370a0823160e01b815230600482015290516109889233926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561094357600080fd5b505afa158015610957573d6000803e3d6000fd5b505050506040513d602081101561096d57600080fd5b50516001546001600160a01b0316919063ffffffff610eba16565b33ff5b600054600160a01b900460ff1681565b6001546001600160a01b031681565b6001600160a01b031660009081526003602052604090205490565b6109cd610b5d565b610a0c576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b73d794dd1cada4cf79c9eebaab8327a1b0507ef7d481565b60065481565b6000610a8242600554610f11565b905090565b610a8f610b5d565b610ace576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b600054600160a01b900460ff1615610ae557600080fd5b6000805460ff60a01b1916600160a01b1781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b610b32610b2d336109aa565b610443565b610b3a610694565b565b60096020526000908152604090205481565b6000546001600160a01b031690565b600080546001600160a01b0316610b72610f27565b6001600160a01b031614905090565b33610b8a610c6b565b600855610b95610a74565b6007556001600160a01b03811615610bdc57610bb08161039e565b6001600160a01b0382166000908152600a60209081526040808320939093556008546009909152919020555b60008211610c22576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c2b82610f2b565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b60075481565b6000610c7561043c565b610c825750600854610440565b610a82610cb0610c9061043c565b610406670de0b6b3a76400006103fa6006546103fa6007546103e5610a74565b6008549063ffffffff610e0216565b60085481565b60055481565b610cd3610b5d565b610d12576040805162461bcd60e51b815260206004820181905260248201526000805160206113dd833981519152604482015290519081900360640190fd5b610d1b81610fa5565b50565b6000610d6083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611045565b9392505050565b600082610d765750600061041e565b82820282848281610d8357fe5b0414610d605760405162461bcd60e51b81526004018080602001828103825260218152602001806113bc6021913960400191505060405180910390fd5b6000610d6083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506110dc565b600082820183811015610d60576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600254610e6f908263ffffffff610d1e16565b60025533600090815260036020526040902054610e92908263ffffffff610d1e16565b33600081815260036020526040902091909155600154610d1b916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f0c908490611141565b505050565b6000818310610f205781610d60565b5090919050565b3390565b600054600160a01b900460ff1615610f4257600080fd5b600254610f55908263ffffffff610e0216565b60025533600090815260036020526040902054610f78908263ffffffff610e0216565b33600081815260036020526040902091909155600154610d1b916001600160a01b039091169030846112ff565b6001600160a01b038116610fea5760405162461bcd60e51b81526004018080602001828103825260268152602001806113966026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156110d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611099578181015183820152602001611081565b50505050905090810190601f1680156110c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000818361112b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611099578181015183820152602001611081565b50600083858161113757fe5b0495945050505050565b611153826001600160a01b0316611359565b6111a4576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106111e25780518252601f1990920191602091820191016111c3565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611244576040519150601f19603f3d011682016040523d82523d6000602084013e611249565b606091505b5091509150816112a0576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156112f9578080602001905160208110156112bc57600080fd5b50516112f95760405162461bcd60e51b815260040180806020018281038252602a8152602001806113fd602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112f9908590611141565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061138d5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820c3729d6b8a707100550f89241e595c51d7700421a472fadae9e427819c5e7a6764736f6c63430005110032

Deployed Bytecode Sourcemap

18639:3472:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18639:3472:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20220:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20220:265:0;-1:-1:-1;;;;;20220:265:0;;:::i;:::-;;;;;;;;;;;;;;;;19044:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19044:42:0;-1:-1:-1;;;;;19044:42:0;;:::i;18782:33::-;;;:::i;17939:91::-;;;:::i;20692:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20692:203:0;;:::i;:::-;;21308:549;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21308:549:0;;:::i;21015:285::-;;;:::i;8623:142::-;;;:::i;21869:228::-;;;:::i;8284:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;17767:74;;;:::i;:::-;;;;-1:-1:-1;;;;;17767:74:0;;;;;;;;;;;;;;18038:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18038:110:0;-1:-1:-1;;;;;18038:110:0;;:::i;7456:140::-;;;:::i;18689:80::-;;;:::i;18860:29::-;;;:::i;19653:131::-;;;:::i;8474:141::-;;;:::i;20903:104::-;;;:::i;18980:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18980:57:0;-1:-1:-1;;;;;18980:57:0;;:::i;6645:79::-;;;:::i;7011:94::-;;;:::i;20493:191::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20493:191:0;;:::i;18896:29::-;;;:::i;19792:420::-;;;:::i;18932:35::-;;;:::i;18822:31::-;;;:::i;7751:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7751:109:0;-1:-1:-1;;;;;7751:109:0;;:::i;20220:265::-;-1:-1:-1;;;;;20460:16:0;;20274:7;20460:16;;;:7;:16;;;;;;;;;20376:22;:31;;;;;;20314:163;;20460:16;20314:123;;20432:4;;20314:95;;20355:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;20314:18;20324:7;20314:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;20294:183;20220:265;-1:-1:-1;;20220:265:0:o;19044:42::-;;;;;;;;;;;;;:::o;18782:33::-;;;;:::o;17939:91::-;18010:12;;17939:91;;:::o;20692:203::-;20746:10;19388:16;:14;:16::i;:::-;19365:20;:39;19432:26;:24;:26::i;:::-;19415:14;:43;-1:-1:-1;;;;;19473:21:0;;;19469:157;;19530:15;19537:7;19530:6;:15::i;:::-;-1:-1:-1;;;;;19511:16:0;;;;;;:7;:16;;;;;;;;:34;;;;19594:20;;19560:22;:31;;;;;;:54;19469:157;20786:1;20777:6;:10;20769:40;;;;;-1:-1:-1;;;20769:40:0;;;;;;;;;;;;-1:-1:-1;;;20769:40:0;;;;;;;;;;;;;;;20820:22;20835:6;20820:14;:22::i;:::-;20858:29;;;;;;;;20868:10;;20858:29;;;;;;;;;;20692:203;;:::o;21308:549::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;21392:1;19388:16;:14;:16::i;:::-;19365:20;:39;19432:26;:24;:26::i;:::-;19415:14;:43;-1:-1:-1;;;;;19473:21:0;;;19469:157;;19530:15;19537:7;19530:6;:15::i;:::-;-1:-1:-1;;;;;19511:16:0;;;;;;:7;:16;;;;;;;;:34;;;;19594:20;;19560:22;:31;;;;;;:54;19469:157;21435:12;;21416:15;:31;21412:304;;21488:8;;21477:20;;:6;;:20;:10;:20;:::i;:::-;21464:10;:33;21412:304;;;21550:12;;21530:17;;21550:33;;21567:15;21550:33;:16;:33;:::i;:::-;21530:53;;21598:16;21617:25;21631:10;;21617:9;:13;;:25;;;;:::i;:::-;21695:8;;21598:44;;-1:-1:-1;21670:34:0;;:20;:6;21598:44;21670:20;:10;:20;:::i;:34::-;21657:10;:47;-1:-1:-1;;21412:304:0;21743:15;21726:14;:32;;;21804:8;;21784:29;;21743:15;21784:29;:19;:29;:::i;:::-;21769:12;:44;21830:19;;;;;;;;;;;;;;;;;6914:1;21308:549;:::o;21015:285::-;21056:10;19388:16;:14;:16::i;:::-;19365:20;:39;19432:26;:24;:26::i;:::-;19415:14;:43;-1:-1:-1;;;;;19473:21:0;;;19469:157;;19530:15;19537:7;19530:6;:15::i;:::-;-1:-1:-1;;;;;19511:16:0;;;;;;:7;:16;;;;;;;;:34;;;;19594:20;;19560:22;:31;;;;;;:54;19469:157;21079:14;21096:18;21103:10;21096:6;:18::i;:::-;21079:35;-1:-1:-1;21129:10:0;;21125:168;;21164:10;21178:1;21156:19;;;:7;:19;;;;;:23;21194:37;;18726:42;;21224:6;21194:37;:17;:37;:::i;:::-;21251:30;;;;;;;;21262:10;;21251:30;;;;;;;;;;21125:168;19636:1;21015:285;:::o;8623:142::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;8439:6;;-1:-1:-1;;;8439:6:0;;;;8431:15;;;;;;8727:5;8718:14;;-1:-1:-1;;;;8718:14:0;;;8748:9;;;;8727:5;8748:9;8623:142::o;21869:228::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;21946:29;;;-1:-1:-1;;;21946:29:0;;21969:4;21946:29;;;;;;21916:60;;21934:10;;18726:42;;21946:14;;:29;;;;;;;;;;;;;;18726:42;21946:29;;;5:2:-1;;;;30:1;27;20:12;5:2;21946:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21946:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21946:29:0;18726:42;;21916:60;;:17;:60;:::i;:::-;22020:7;;:32;;;-1:-1:-1;;;22020:32:0;;22046:4;22020:32;;;;;;21987:66;;22008:10;;-1:-1:-1;;;;;22020:7:0;;;;:17;;:32;;;;;;;;;;;;;;;:7;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;22020:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22020:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22020:32:0;21987:7;;-1:-1:-1;;;;;21987:7:0;;:66;;:20;:66;:::i;:::-;22077:10;22064:24;8284:25;;;-1:-1:-1;;;8284:25:0;;;;;:::o;17767:74::-;;;-1:-1:-1;;;;;17767:74:0;;:::o;18038:110::-;-1:-1:-1;;;;;18122:18:0;18095:7;18122:18;;;:9;:18;;;;;;;18038:110::o;7456:140::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;7555:1;7539:6;;7518:40;;-1:-1:-1;;;;;7539:6:0;;;;7518:40;;7555:1;;7518:40;7586:1;7569:19;;-1:-1:-1;;;;;;7569:19:0;;;7456:140::o;18689:80::-;18726:42;18689:80;:::o;18860:29::-;;;;:::o;19653:131::-;19710:7;19737:39;19746:15;19763:12;;19737:8;:39::i;:::-;19730:46;;19653:131;:::o;8474:141::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;8363:6;;-1:-1:-1;;;8363:6:0;;;;8362:7;8354:16;;;;;;8571:6;:13;;-1:-1:-1;;;;8571:13:0;-1:-1:-1;;;8571:13:0;;;8600:7;;;;8571:6;8600:7;8474:141::o;20903:104::-;20946:31;20955:21;20965:10;20955:9;:21::i;:::-;20946:8;:31::i;:::-;20988:11;:9;:11::i;:::-;20903:104::o;18980:57::-;;;;;;;;;;;;;:::o;6645:79::-;6683:7;6710:6;-1:-1:-1;;;;;6710:6:0;6645:79;:::o;7011:94::-;7051:4;7091:6;;-1:-1:-1;;;;;7091:6:0;7075:12;:10;:12::i;:::-;-1:-1:-1;;;;;7075:22:0;;7068:29;;7011:94;:::o;20493:191::-;20544:10;19388:16;:14;:16::i;:::-;19365:20;:39;19432:26;:24;:26::i;:::-;19415:14;:43;-1:-1:-1;;;;;19473:21:0;;;19469:157;;19530:15;19537:7;19530:6;:15::i;:::-;-1:-1:-1;;;;;19511:16:0;;;;;;:7;:16;;;;;;;;:34;;;;19594:20;;19560:22;:31;;;;;;:54;19469:157;20584:1;20575:6;:10;20567:37;;;;;-1:-1:-1;;;20567:37:0;;;;;;;;;;;;-1:-1:-1;;;20567:37:0;;;;;;;;;;;;;;;20615:19;20627:6;20615:11;:19::i;:::-;20650:26;;;;;;;;20657:10;;20650:26;;;;;;;;;;20493:191;;:::o;18896:29::-;;;;:::o;19792:420::-;19839:7;19863:13;:11;:13::i;:::-;19859:78;;-1:-1:-1;19905:20:0;;19898:27;;19859:78;19967:237;20010:179;20175:13;:11;:13::i;:::-;20010:138;20143:4;20010:106;20105:10;;20010:68;20063:14;;20010:26;:24;:26::i;:179::-;19967:20;;;:237;:24;:237;:::i;18932:35::-;;;;:::o;18822:31::-;;;;:::o;7751:109::-;6857:9;:7;:9::i;:::-;6849:54;;;;;-1:-1:-1;;;6849:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;6849:54:0;;;;;;;;;;;;;;;7824:28;7843:8;7824:18;:28::i;:::-;7751:109;:::o;1435:136::-;1493:7;1520:43;1524:1;1527;1520:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1513:50;1435:136;-1:-1:-1;;;1435:136:0:o;2351:471::-;2409:7;2654:6;2650:47;;-1:-1:-1;2684:1:0;2677:8;;2650:47;2721:5;;;2725:1;2721;:5;:1;2745:5;;;;;:10;2737:56;;;;-1:-1:-1;;;2737:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3290:132;3348:7;3375:39;3379:1;3382;3375:39;;;;;;;;;;;;;;;;;:3;:39::i;979:181::-;1037:7;1069:5;;;1093:6;;;;1085:46;;;;;-1:-1:-1;;;1085:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18412:218;18479:12;;:24;;18496:6;18479:24;:16;:24;:::i;:::-;18464:12;:39;18548:10;18538:21;;;;:9;:21;;;;;;:33;;18564:6;18538:33;:25;:33;:::i;:::-;18524:10;18514:21;;;;:9;:21;;;;;:57;;;;18582:7;;:40;;-1:-1:-1;;;;;18582:7:0;;;;18615:6;14494:176;14603:58;;;-1:-1:-1;;;;;14603:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14603:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14577:85:0;;14596:5;;14577:18;:85::i;:::-;14494:176;;;:::o;297:106::-;355:7;386:1;382;:5;:13;;394:1;382:13;;;-1:-1:-1;390:1:0;;297:106;-1:-1:-1;297:106:0:o;5847:98::-;5927:10;5847:98;:::o;18156:248::-;8363:6;;-1:-1:-1;;;8363:6:0;;;;8362:7;8354:16;;;;;;18234:12;;:24;;18251:6;18234:24;:16;:24;:::i;:::-;18219:12;:39;18303:10;18293:21;;;;:9;:21;;;;;;:33;;18319:6;18293:33;:25;:33;:::i;:::-;18279:10;18269:21;;;;:9;:21;;;;;:57;;;;18337:7;;:59;;-1:-1:-1;;;;;18337:7:0;;;;18382:4;18389:6;18337:24;:59::i;7966:229::-;-1:-1:-1;;;;;8040:22:0;;8032:73;;;;-1:-1:-1;;;8032:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8142:6;;;8121:38;;-1:-1:-1;;;;;8121:38:0;;;;8142:6;;;8121:38;;;8170:6;:17;;-1:-1:-1;;;;;;8170:17:0;-1:-1:-1;;;;;8170:17:0;;;;;;;;;;7966:229::o;1908:192::-;1994:7;2030:12;2022:6;;;;2014:29;;;;-1:-1:-1;;;2014: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;2014:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2066:5:0;;;1908:192::o;3952:345::-;4038:7;4140:12;4133:5;4125:28;;;;-1:-1:-1;;;4125:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4125:28:0;;4164:9;4180:1;4176;:5;;;;;;;3952:345;-1:-1:-1;;;;;3952:345:0:o;16533:1114::-;17137:27;17145:5;-1:-1:-1;;;;;17137:25:0;;:27::i;:::-;17129:71;;;;;-1:-1:-1;;;17129:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17274:12;17288:23;17323:5;-1:-1:-1;;;;;17315:19:0;17335:4;17315: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;;;17315: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;;17273:67:0;;;;17359:7;17351:52;;;;;-1:-1:-1;;;17351:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17420:17;;:21;17416:224;;17562:10;17551:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17551:30:0;17543:85;;;;-1:-1:-1;;;17543:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16533:1114;;;;:::o;14678:204::-;14805:68;;;-1:-1:-1;;;;;14805:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14805:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14779:95:0;;14798:5;;14779:18;:95::i;11891:810::-;11951:4;12610:20;;12453:66;12650:15;;;;;:42;;;12681:11;12669:8;:23;;12650:42;12642:51;11891:810;-1:-1:-1;;;;11891:810:0:o

Swarm Source

bzzr://c3729d6b8a707100550f89241e595c51d7700421a472fadae9e427819c5e7a67

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.