ETH Price: $3,435.10 (-1.96%)
Gas: 3 Gwei

Contract

0xFBaEdde70732540cE2B11A8AC58Eb2dC0D69dE10
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Exit106702952020-08-16 9:25:381407 days ago1597569938IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0096979590
Exit106341902020-08-10 19:56:261413 days ago1597089386IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.017106599
Exit105842992020-08-03 3:06:191420 days ago1596423979IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0047412244
Get Reward105548792020-07-29 13:48:551425 days ago1596030535IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0060654189.001
Exit105371142020-07-26 19:57:441428 days ago1595793464IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0067389239
Exit105211482020-07-24 8:32:381430 days ago1595579558IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0131322676
Exit105199722020-07-24 4:09:341430 days ago1595563774IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0087476254
Get Reward105187732020-07-23 23:47:391430 days ago1595548059IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0045634840
Get Reward105108112020-07-22 18:26:041432 days ago1595442364IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0020069541
Get Reward105107472020-07-22 18:11:401432 days ago1595441500IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.003271248
Stake105105842020-07-22 17:39:201432 days ago1595439560IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0077940880
Get Reward105103912020-07-22 16:58:471432 days ago1595437127IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.005997288
Stake105100042020-07-22 15:29:371432 days ago1595431777IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0078924781
Get Reward105099942020-07-22 15:27:061432 days ago1595431626IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0057927585
Get Reward105099242020-07-22 15:09:131432 days ago1595430553IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0040628583
Stake105087362020-07-22 10:45:341432 days ago1595414734IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0058678575
Get Reward105086992020-07-22 10:37:321432 days ago1595414252IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0049749573
Get Reward105083142020-07-22 9:12:361432 days ago1595409156IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0036712575
Get Reward105079242020-07-22 7:49:251432 days ago1595404165IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0036712575
Get Reward105078552020-07-22 7:33:491432 days ago1595403229IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0036712575
Get Reward105078372020-07-22 7:30:041432 days ago1595403004IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0036712575
Get Reward105078322020-07-22 7:28:501432 days ago1595402930IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.003622374
Stake105077462020-07-22 7:08:221432 days ago1595401702IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0070146772
Exit105074272020-07-22 5:54:541432 days ago1595397294IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0103675860
Stake105071062020-07-22 4:41:181432 days ago1595392878IN
Synthetix: Staking Rewards (Balancer SNX)
0 ETH0.0054558556
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:
StakingRewards

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-06-03
*/

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

* Staking Rewards for Balancer SNX/USDC Liquidity Providers 0x815f8ef4863451f4faf34fbc860034812e7377d9
* 
* Synthetix: StakingRewards.sol
*
* Latest source (may be newer): https://github.com/Synthetixio/synthetix/blob/master/contracts/StakingRewards.sol
* Docs: https://docs.synthetix.io/contracts/StakingRewards
*
* Contract Dependencies: 
*	- Owned
*	- ReentrancyGuard
*	- RewardsDistributionRecipient
*	- TokenWrapper
* Libraries: 
*	- Address
*	- Math
*	- SafeERC20
*	- SafeMath
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

/* ===============================================
* Flattened with Solidifier by Coinage
* 
* https://solidifier.coina.ge
* ===============================================
*/


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


/**
 * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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-solidity/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) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b != 0, "SafeMath: modulo by zero");
        return a % b;
    }
}


/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the `nonReentrant` modifier
 * available, which can be aplied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 */
contract ReentrancyGuard {
    /// @dev counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}


interface IERC20 {
    // ERC20 Optional Views
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);

    // Views
    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(address owner, address spender) external view returns (uint);

    // Mutative functions
    function transfer(address to, uint value) external returns (bool);

    function approve(address spender, uint value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint value
    ) external returns (bool);

    // Events
    event Transfer(address indexed from, address indexed to, uint value);

    event Approval(address indexed owner, address indexed spender, uint value);
}


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

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


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


// https://docs.synthetix.io/contracts/Owned
contract Owned {
    address public owner;
    address public nominatedOwner;

    constructor(address _owner) public {
        require(_owner != address(0), "Owner address cannot be 0");
        owner = _owner;
        emit OwnerChanged(address(0), _owner);
    }

    function nominateNewOwner(address _owner) external onlyOwner {
        nominatedOwner = _owner;
        emit OwnerNominated(_owner);
    }

    function acceptOwnership() external {
        require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership");
        emit OwnerChanged(owner, nominatedOwner);
        owner = nominatedOwner;
        nominatedOwner = address(0);
    }

    modifier onlyOwner {
        require(msg.sender == owner, "Only the contract owner may perform this action");
        _;
    }

    event OwnerNominated(address newOwner);
    event OwnerChanged(address oldOwner, address newOwner);
}


// Inheritance


// https://docs.synthetix.io/contracts/RewardsDistributionRecipient
contract RewardsDistributionRecipient is Owned {
    address public rewardsDistribution;

    function notifyRewardAmount(uint256 reward) external;

    modifier onlyRewardsDistribution() {
        require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract");
        _;
    }

    function setRewardsDistribution(address _rewardsDistribution) external onlyOwner {
        rewardsDistribution = _rewardsDistribution;
    }
}


contract TokenWrapper is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IERC20 public stakingToken;

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

    constructor(address _stakingToken) public {
        stakingToken = IERC20(_stakingToken);
    }

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

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

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

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


contract StakingRewards is TokenWrapper, RewardsDistributionRecipient {
    IERC20 public rewardsToken;

    uint256 public constant DURATION = 7 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);

    constructor(
        address _owner,
        address _rewardsToken, 
        address _stakingToken
    ) public TokenWrapper(_stakingToken) Owned(_owner) {
        rewardsToken = IERC20(_rewardsToken);
    }

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

    // stake visibility is public as overriding LPTokenWrapper's stake() function
    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 exit() external {
        withdraw(balanceOf(msg.sender));
        getReward();
    }

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

    function notifyRewardAmount(uint256 reward) external onlyRewardsDistribution 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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","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":[{"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":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","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":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":true,"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","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":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":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"}]

60806040526000600855600060095534801561001a57600080fd5b506040516112843803806112848339818101604052606081101561003d57600080fd5b50805160208201516040909201516001600081905580546001600160a01b0319166001600160a01b0380841691909117909155919291839081166100c8576040805162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0383169081179091556040805160008152602081019290925280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a15050600780546001600160a01b0319166001600160a01b039290921691909117905550611130806101546000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c806372f702f3116100de578063a694fc3a11610097578063d1af0c7d11610071578063d1af0c7d14610342578063df136d651461034a578063e9fad8ee14610352578063ebe2b12b1461035a57610172565b8063a694fc3a14610315578063c8f33c9114610332578063cd3daf9d1461033a57610172565b806372f702f3146102c757806379ba5097146102cf5780637b0a47ee146102d757806380faa57d146102df5780638b876347146102e75780638da5cb5b1461030d57610172565b80632e1a7d4d116101305780632e1a7d4d146102335780633c6b16ab146102505780633d18b9121461026d5780633fc6df6e1461027557806353a47bb71461029957806370a08231146102a157610172565b80628cc262146101775780630700037d146101af5780631627540c146101d557806318160ddd146101fd57806319762143146102055780631be052891461022b575b600080fd5b61019d6004803603602081101561018d57600080fd5b50356001600160a01b0316610362565b60408051918252519081900360200190f35b61019d600480360360208110156101c557600080fd5b50356001600160a01b03166103e8565b6101fb600480360360208110156101eb57600080fd5b50356001600160a01b03166103fa565b005b61019d610497565b6101fb6004803603602081101561021b57600080fd5b50356001600160a01b031661049e565b61019d610509565b6101fb6004803603602081101561024957600080fd5b5035610510565b6101fb6004803603602081101561026657600080fd5b50356105f7565b6101fb610761565b61027d610833565b604080516001600160a01b039092168252519081900360200190f35b61027d610842565b61019d600480360360208110156102b757600080fd5b50356001600160a01b0316610851565b61027d61086c565b6101fb61087b565b61019d610937565b61019d61093d565b61019d600480360360208110156102fd57600080fd5b50356001600160a01b0316610950565b61027d610962565b6101fb6004803603602081101561032b57600080fd5b5035610971565b61019d610a55565b61019d610a5b565b61027d610aaf565b61019d610abe565b6101fb610ac4565b61019d610adf565b6001600160a01b0381166000908152600d6020908152604080832054600c9092528220546103e291906103d690670de0b6b3a7640000906103ca906103b5906103a9610a5b565b9063ffffffff610ae516565b6103be88610851565b9063ffffffff610b4216565b9063ffffffff610ba216565b9063ffffffff610c0c16565b92915050565b600d6020526000908152604090205481565b6004546001600160a01b031633146104435760405162461bcd60e51b815260040180806020018281038252602f815260200180611058602f913960400191505060405180910390fd5b600580546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b6002545b90565b6004546001600160a01b031633146104e75760405162461bcd60e51b815260040180806020018281038252602f815260200180611058602f913960400191505060405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b62093a8081565b33610519610a5b565b600b5561052461093d565b600a556001600160a01b0381161561056b5761053f81610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b600082116105b4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6105bd82610c66565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6006546001600160a01b031633146106405760405162461bcd60e51b815260040180806020018281038252602a8152602001806110a8602a913960400191505060405180910390fd5b600061064a610a5b565b600b5561065561093d565b600a556001600160a01b0381161561069c5761067081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60085442106106c0576106b88262093a8063ffffffff610ba216565b60095561070e565b6008546000906106d6904263ffffffff610ae516565b905060006106ef60095483610b4290919063ffffffff16565b905061070862093a806103ca868463ffffffff610c0c16565b60095550505b42600a8190556107279062093a8063ffffffff610c0c16565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361076a610a5b565b600b5561077561093d565b600a556001600160a01b038116156107bc5761079081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60006107c733610362565b9050801561082f57336000818152600d60205260408120556007546107f8916001600160a01b039091169083610d29565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6006546001600160a01b031681565b6005546001600160a01b031681565b6001600160a01b031660009081526003602052604090205490565b6001546001600160a01b031681565b6005546001600160a01b031633146108c45760405162461bcd60e51b81526004018080602001828103825260358152602001806110236035913960400191505060405180910390fd5b600454600554604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160058054600480546001600160a01b03199081166001600160a01b03841617909155169055565b60095481565b600061094b42600854610d80565b905090565b600c6020526000908152604090205481565b6004546001600160a01b031681565b3361097a610a5b565b600b5561098561093d565b600a556001600160a01b038116156109cc576109a081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60008211610a12576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610a1b82610d96565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600a5481565b6000610a65610497565b610a725750600b5461049b565b61094b610aa0610a80610497565b6103ca670de0b6b3a76400006103be6009546103be600a546103a961093d565b600b549063ffffffff610c0c16565b6007546001600160a01b031681565b600b5481565b610ad5610ad033610851565b610510565b610add610761565b565b60085481565b600082821115610b3c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610b51575060006103e2565b82820282848281610b5e57fe5b0414610b9b5760405162461bcd60e51b81526004018080602001828103825260218152602001806110876021913960400191505060405180910390fd5b9392505050565b6000808211610bf8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610c0357fe5b04949350505050565b600082820183811015610b9b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000805460010190819055600254610c84908363ffffffff610ae516565b60025533600090815260036020526040902054610ca7908363ffffffff610ae516565b33600081815260036020526040902091909155600154610cd3916001600160a01b039091169084610d29565b600054811461082f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d7b908490610e04565b505050565b6000818310610d8f5781610b9b565b5090919050565b6000805460010190819055600254610db4908363ffffffff610c0c16565b60025533600090815260036020526040902054610dd7908363ffffffff610c0c16565b33600081815260036020526040902091909155600154610cd3916001600160a01b03909116903085610fc2565b610e16826001600160a01b031661101c565b610e67576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610ea55780518252601f199092019160209182019101610e86565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610f07576040519150601f19603f3d011682016040523d82523d6000602084013e610f0c565b606091505b509150915081610f63576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610fbc57808060200190516020811015610f7f57600080fd5b5051610fbc5760405162461bcd60e51b815260040180806020018281038252602a8152602001806110d2602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fbc908590610e04565b3b15159056fe596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582020f5794a903f0922bce34e601a6a65292617f8c4088dc06fb54f3e90598520c864736f6c63430005110032000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f000000000000000000000000815f8ef4863451f4faf34fbc860034812e7377d9

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c806372f702f3116100de578063a694fc3a11610097578063d1af0c7d11610071578063d1af0c7d14610342578063df136d651461034a578063e9fad8ee14610352578063ebe2b12b1461035a57610172565b8063a694fc3a14610315578063c8f33c9114610332578063cd3daf9d1461033a57610172565b806372f702f3146102c757806379ba5097146102cf5780637b0a47ee146102d757806380faa57d146102df5780638b876347146102e75780638da5cb5b1461030d57610172565b80632e1a7d4d116101305780632e1a7d4d146102335780633c6b16ab146102505780633d18b9121461026d5780633fc6df6e1461027557806353a47bb71461029957806370a08231146102a157610172565b80628cc262146101775780630700037d146101af5780631627540c146101d557806318160ddd146101fd57806319762143146102055780631be052891461022b575b600080fd5b61019d6004803603602081101561018d57600080fd5b50356001600160a01b0316610362565b60408051918252519081900360200190f35b61019d600480360360208110156101c557600080fd5b50356001600160a01b03166103e8565b6101fb600480360360208110156101eb57600080fd5b50356001600160a01b03166103fa565b005b61019d610497565b6101fb6004803603602081101561021b57600080fd5b50356001600160a01b031661049e565b61019d610509565b6101fb6004803603602081101561024957600080fd5b5035610510565b6101fb6004803603602081101561026657600080fd5b50356105f7565b6101fb610761565b61027d610833565b604080516001600160a01b039092168252519081900360200190f35b61027d610842565b61019d600480360360208110156102b757600080fd5b50356001600160a01b0316610851565b61027d61086c565b6101fb61087b565b61019d610937565b61019d61093d565b61019d600480360360208110156102fd57600080fd5b50356001600160a01b0316610950565b61027d610962565b6101fb6004803603602081101561032b57600080fd5b5035610971565b61019d610a55565b61019d610a5b565b61027d610aaf565b61019d610abe565b6101fb610ac4565b61019d610adf565b6001600160a01b0381166000908152600d6020908152604080832054600c9092528220546103e291906103d690670de0b6b3a7640000906103ca906103b5906103a9610a5b565b9063ffffffff610ae516565b6103be88610851565b9063ffffffff610b4216565b9063ffffffff610ba216565b9063ffffffff610c0c16565b92915050565b600d6020526000908152604090205481565b6004546001600160a01b031633146104435760405162461bcd60e51b815260040180806020018281038252602f815260200180611058602f913960400191505060405180910390fd5b600580546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b6002545b90565b6004546001600160a01b031633146104e75760405162461bcd60e51b815260040180806020018281038252602f815260200180611058602f913960400191505060405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b62093a8081565b33610519610a5b565b600b5561052461093d565b600a556001600160a01b0381161561056b5761053f81610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b600082116105b4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6105bd82610c66565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6006546001600160a01b031633146106405760405162461bcd60e51b815260040180806020018281038252602a8152602001806110a8602a913960400191505060405180910390fd5b600061064a610a5b565b600b5561065561093d565b600a556001600160a01b0381161561069c5761067081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60085442106106c0576106b88262093a8063ffffffff610ba216565b60095561070e565b6008546000906106d6904263ffffffff610ae516565b905060006106ef60095483610b4290919063ffffffff16565b905061070862093a806103ca868463ffffffff610c0c16565b60095550505b42600a8190556107279062093a8063ffffffff610c0c16565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b3361076a610a5b565b600b5561077561093d565b600a556001600160a01b038116156107bc5761079081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60006107c733610362565b9050801561082f57336000818152600d60205260408120556007546107f8916001600160a01b039091169083610d29565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b6006546001600160a01b031681565b6005546001600160a01b031681565b6001600160a01b031660009081526003602052604090205490565b6001546001600160a01b031681565b6005546001600160a01b031633146108c45760405162461bcd60e51b81526004018080602001828103825260358152602001806110236035913960400191505060405180910390fd5b600454600554604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160058054600480546001600160a01b03199081166001600160a01b03841617909155169055565b60095481565b600061094b42600854610d80565b905090565b600c6020526000908152604090205481565b6004546001600160a01b031681565b3361097a610a5b565b600b5561098561093d565b600a556001600160a01b038116156109cc576109a081610362565b6001600160a01b0382166000908152600d6020908152604080832093909355600b54600c909152919020555b60008211610a12576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610a1b82610d96565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b600a5481565b6000610a65610497565b610a725750600b5461049b565b61094b610aa0610a80610497565b6103ca670de0b6b3a76400006103be6009546103be600a546103a961093d565b600b549063ffffffff610c0c16565b6007546001600160a01b031681565b600b5481565b610ad5610ad033610851565b610510565b610add610761565b565b60085481565b600082821115610b3c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610b51575060006103e2565b82820282848281610b5e57fe5b0414610b9b5760405162461bcd60e51b81526004018080602001828103825260218152602001806110876021913960400191505060405180910390fd5b9392505050565b6000808211610bf8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610c0357fe5b04949350505050565b600082820183811015610b9b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000805460010190819055600254610c84908363ffffffff610ae516565b60025533600090815260036020526040902054610ca7908363ffffffff610ae516565b33600081815260036020526040902091909155600154610cd3916001600160a01b039091169084610d29565b600054811461082f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d7b908490610e04565b505050565b6000818310610d8f5781610b9b565b5090919050565b6000805460010190819055600254610db4908363ffffffff610c0c16565b60025533600090815260036020526040902054610dd7908363ffffffff610c0c16565b33600081815260036020526040902091909155600154610cd3916001600160a01b03909116903085610fc2565b610e16826001600160a01b031661101c565b610e67576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610ea55780518252601f199092019160209182019101610e86565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610f07576040519150601f19603f3d011682016040523d82523d6000602084013e610f0c565b606091505b509150915081610f63576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610fbc57808060200190516020811015610f7f57600080fd5b5051610fbc5760405162461bcd60e51b815260040180806020018281038252602a8152602001806110d2602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610fbc908590610e04565b3b15159056fe596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582020f5794a903f0922bce34e601a6a65292617f8c4088dc06fb54f3e90598520c864736f6c63430005110032

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

000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f000000000000000000000000815f8ef4863451f4faf34fbc860034812e7377d9

-----Decoded View---------------
Arg [0] : _owner (address): 0xDe910777C787903F78C89e7a0bf7F4C435cBB1Fe
Arg [1] : _rewardsToken (address): 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
Arg [2] : _stakingToken (address): 0x815F8eF4863451f4Faf34FBc860034812E7377d9

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe
Arg [1] : 000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f
Arg [2] : 000000000000000000000000815f8ef4863451f4faf34fbc860034812e7377d9


Deployed Bytecode Sourcemap

15671:3352:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15671:3352:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17358:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17358:198:0;-1:-1:-1;;;;;17358:198:0;;:::i;:::-;;;;;;;;;;;;;;;;16049:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16049:42:0;-1:-1:-1;;;;;16049:42:0;;:::i;13370:141::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13370:141:0;-1:-1:-1;;;;;13370:141:0;;:::i;:::-;;14949:91;;;:::i;14453:142::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14453:142:0;-1:-1:-1;;;;;14453:142:0;;:::i;15783:41::-;;;:::i;17846:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17846:203:0;;:::i;18463:557::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18463:557:0;;:::i;18162:293::-;;;:::i;14187:34::-;;;:::i;:::-;;;;-1:-1:-1;;;;;14187:34:0;;;;;;;;;;;;;;13139:29;;;:::i;15048:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15048:110:0;-1:-1:-1;;;;;15048:110:0;;:::i;14720:26::-;;;:::i;13519:271::-;;;:::i;15871:29::-;;;:::i;16879:131::-;;;:::i;15985:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15985:57:0;-1:-1:-1;;;;;15985:57:0;;:::i;13112:20::-;;;:::i;17647:191::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17647:191:0;;:::i;15907:29::-;;;:::i;17018:332::-;;;:::i;15748:26::-;;;:::i;15943:35::-;;;:::i;18057:97::-;;;:::i;15833:31::-;;;:::i;17358:198::-;-1:-1:-1;;;;;17531:16:0;;17412:7;17531:16;;;:7;:16;;;;;;;;;17483:22;:31;;;;;;17439:109;;17531:16;17439:87;;17521:4;;17439:77;;17462:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;17439:18;17449:7;17439:9;:18::i;:::-;:22;:77;:22;:77;:::i;:::-;:81;:87;:81;:87;:::i;:::-;:91;:109;:91;:109;:::i;:::-;17432:116;17358:198;-1:-1:-1;;17358:198:0:o;16049:42::-;;;;;;;;;;;;;:::o;13370:141::-;13850:5;;-1:-1:-1;;;;;13850:5:0;13836:10;:19;13828:79;;;;-1:-1:-1;;;13828:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13442:14;:23;;-1:-1:-1;;;;;13442:23:0;;-1:-1:-1;;;;;;13442:23:0;;;;;;;;13481:22;;;;;;;;;;;;;;;;13370:141;:::o;14949:91::-;15020:12;;14949:91;;:::o;14453:142::-;13850:5;;-1:-1:-1;;;;;13850:5:0;13836:10;:19;13828:79;;;;-1:-1:-1;;;13828:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14545:19;:42;;-1:-1:-1;;;;;;14545:42:0;-1:-1:-1;;;;;14545:42:0;;;;;;;;;;14453:142::o;15783:41::-;15818:6;15783:41;:::o;17846:203::-;17900:10;16614:16;:14;:16::i;:::-;16591:20;:39;16658:26;:24;:26::i;:::-;16641:14;:43;-1:-1:-1;;;;;16699:21:0;;;16695:157;;16756:15;16763:7;16756:6;:15::i;:::-;-1:-1:-1;;;;;16737:16:0;;;;;;:7;:16;;;;;;;;:34;;;;16820:20;;16786:22;:31;;;;;;:54;16695:157;17940:1;17931:6;:10;17923:40;;;;;-1:-1:-1;;;17923:40:0;;;;;;;;;;;;-1:-1:-1;;;17923:40:0;;;;;;;;;;;;;;;17974:22;17989:6;17974:14;:22::i;:::-;18012:29;;;;;;;;18022:10;;18012:29;;;;;;;;;;17846:203;;:::o;18463:557::-;14359:19;;-1:-1:-1;;;;;14359:19:0;14345:10;:33;14337:88;;;;-1:-1:-1;;;14337:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18561:1;16614:16;:14;:16::i;:::-;16591:20;:39;16658:26;:24;:26::i;:::-;16641:14;:43;-1:-1:-1;;;;;16699:21:0;;;16695:157;;16756:15;16763:7;16756:6;:15::i;:::-;-1:-1:-1;;;;;16737:16:0;;;;;;:7;:16;;;;;;;;:34;;;;16820:20;;16786:22;:31;;;;;;:54;16695:157;18599:12;;18580:15;:31;18576:304;;18641:20;:6;15818;18641:20;:10;:20;:::i;:::-;18628:10;:33;18576:304;;;18714:12;;18694:17;;18714:33;;18731:15;18714:33;:16;:33;:::i;:::-;18694:53;;18762:16;18781:25;18795:10;;18781:9;:13;;:25;;;;:::i;:::-;18762:44;-1:-1:-1;18834:34:0;15818:6;18834:20;:6;18762:44;18834:20;:10;:20;:::i;:34::-;18821:10;:47;-1:-1:-1;;18576:304:0;18907:15;18890:14;:32;;;18948:29;;15818:6;18948:29;:19;:29;:::i;:::-;18933:12;:44;18993:19;;;;;;;;;;;;;;;;;14436:1;18463:557;:::o;18162:293::-;18203:10;16614:16;:14;:16::i;:::-;16591:20;:39;16658:26;:24;:26::i;:::-;16641:14;:43;-1:-1:-1;;;;;16699:21:0;;;16695:157;;16756:15;16763:7;16756:6;:15::i;:::-;-1:-1:-1;;;;;16737:16:0;;;;;;:7;:16;;;;;;;;:34;;;;16820:20;;16786:22;:31;;;;;;:54;16695:157;18226:14;18243:18;18250:10;18243:6;:18::i;:::-;18226:35;-1:-1:-1;18276:10:0;;18272:176;;18311:10;18325:1;18303:19;;;:7;:19;;;;;:23;18341:12;;:45;;-1:-1:-1;;;;;18341:12:0;;;;18379:6;18341:25;:45::i;:::-;18406:30;;;;;;;;18417:10;;18406:30;;;;;;;;;;18272:176;16862:1;18162:293;:::o;14187:34::-;;;-1:-1:-1;;;;;14187:34:0;;:::o;13139:29::-;;;-1:-1:-1;;;;;13139:29:0;;:::o;15048:110::-;-1:-1:-1;;;;;15132:18:0;15105:7;15132:18;;;:9;:18;;;;;;;15048:110::o;14720:26::-;;;-1:-1:-1;;;;;14720:26:0;;:::o;13519:271::-;13588:14;;-1:-1:-1;;;;;13588:14:0;13574:10;:28;13566:94;;;;-1:-1:-1;;;13566:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13689:5;;13696:14;;13676:35;;;-1:-1:-1;;;;;13689:5:0;;;13676:35;;13696:14;;;;13676:35;;;;;;;;;;;;;;;;13730:14;;;13722:5;:22;;-1:-1:-1;;;;;;13722:22:0;;;-1:-1:-1;;;;;13730:14:0;;13722:22;;;;13755:27;;;13519:271::o;15871:29::-;;;;:::o;16879:131::-;16936:7;16963:39;16972:15;16989:12;;16963:8;:39::i;:::-;16956:46;;16879:131;:::o;15985:57::-;;;;;;;;;;;;;:::o;13112:20::-;;;-1:-1:-1;;;;;13112:20:0;;:::o;17647:191::-;17698:10;16614:16;:14;:16::i;:::-;16591:20;:39;16658:26;:24;:26::i;:::-;16641:14;:43;-1:-1:-1;;;;;16699:21:0;;;16695:157;;16756:15;16763:7;16756:6;:15::i;:::-;-1:-1:-1;;;;;16737:16:0;;;;;;:7;:16;;;;;;;;:34;;;;16820:20;;16786:22;:31;;;;;;:54;16695:157;17738:1;17729:6;:10;17721:37;;;;;-1:-1:-1;;;17721:37:0;;;;;;;;;;;;-1:-1:-1;;;17721:37:0;;;;;;;;;;;;;;;17769:19;17781:6;17769:11;:19::i;:::-;17804:26;;;;;;;;17811:10;;17804:26;;;;;;;;;;17647:191;;:::o;15907:29::-;;;;:::o;17018:332::-;17065:7;17089:13;:11;:13::i;:::-;17085:78;;-1:-1:-1;17131:20:0;;17124:27;;17085:78;17193:149;17236:91;17313:13;:11;:13::i;:::-;17236:72;17303:4;17236:62;17287:10;;17236:46;17267:14;;17236:26;:24;:26::i;:91::-;17193:20;;;:149;:24;:149;:::i;15748:26::-;;;-1:-1:-1;;;;;15748:26:0;;:::o;15943:35::-;;;;:::o;18057:97::-;18093:31;18102:21;18112:10;18102:9;:21::i;:::-;18093:8;:31::i;:::-;18135:11;:9;:11::i;:::-;18057:97::o;15833:31::-;;;;:::o;4114:184::-;4172:7;4205:1;4200;:6;;4192:49;;;;;-1:-1:-1;;;4192:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4264:5:0;;;4114:184::o;4549:470::-;4607:7;4851:6;4847:47;;-1:-1:-1;4881:1:0;4874:8;;4847:47;4918:5;;;4922:1;4918;:5;:1;4942:5;;;;;:10;4934:56;;;;-1:-1:-1;;;4934:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5010:1;4549:470;-1:-1:-1;;;4549:470:0:o;5487:333::-;5545:7;5644:1;5640;:5;5632:44;;;;;-1:-1:-1;;;5632:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5687:9;5703:1;5699;:5;;;;;;;5487:333;-1:-1:-1;;;;5487:333:0:o;3658:181::-;3716:7;3748:5;;;3772:6;;;;3764:46;;;;;-1:-1:-1;;;3764:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;15426:236;7744:13;:18;;7761:1;7744:18;;;;;15506:12;;:24;;15523:6;15506:24;:16;:24;:::i;:::-;15491:12;:39;15575:10;15565:21;;;;:9;:21;;;;;;:33;;15591:6;15565:33;:25;:33;:::i;:::-;15551:10;15541:21;;;;:9;:21;;;;;:57;;;;15609:12;;:45;;-1:-1:-1;;;;;15609:12:0;;;;15647:6;15609:25;:45::i;:::-;7856:13;;7840:12;:29;7832:73;;;;;-1:-1:-1;;;7832:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;9927:176;10036:58;;;-1:-1:-1;;;;;10036:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;10036:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;10010:85:0;;10029:5;;10010:18;:85::i;:::-;9927:176;;;:::o;2399:106::-;2457:7;2488:1;2484;:5;:13;;2496:1;2484:13;;;-1:-1:-1;2492:1:0;;2477:20;-1:-1:-1;2399:106:0:o;15166:252::-;7744:13;:18;;7761:1;7744:18;;;;;15243:12;;:24;;15260:6;15243:24;:16;:24;:::i;:::-;15228:12;:39;15312:10;15302:21;;;;:9;:21;;;;;;:33;;15328:6;15302:33;:25;:33;:::i;:::-;15288:10;15278:21;;;;:9;:21;;;;;:57;;;;15346:12;;:64;;-1:-1:-1;;;;;15346:12:0;;;;15396:4;15403:6;15346:29;:64::i;11921:1114::-;12525:27;12533:5;-1:-1:-1;;;;;12525:25:0;;:27::i;:::-;12517:71;;;;;-1:-1:-1;;;12517:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12662:12;12676:23;12711:5;-1:-1:-1;;;;;12703:19:0;12723:4;12703: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;;;12703: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;;12661:67:0;;;;12747:7;12739:52;;;;;-1:-1:-1;;;12739:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12808:17;;:21;12804:224;;12950:10;12939:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12939:30:0;12931:85;;;;-1:-1:-1;;;12931:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11921:1114;;;;:::o;10111:204::-;10238:68;;;-1:-1:-1;;;;;10238:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;10238:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;10212:95:0;;10231:5;;10212:18;:95::i;9404:422::-;9771:20;9810:8;;;9404:422::o

Swarm Source

bzzr://20f5794a903f0922bce34e601a6a65292617f8c4088dc06fb54f3e90598520c8

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.