Contract 0x5d13179c5fa40b87d53ff67ca26245d3d5b2f872 9

Contract Overview

Hop Protocol: USDC Rewards Contract
Balance:
0 xDAI

xDAI Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x386dab7dd3b6a50614f8b111d46ebcae3da6853c22ae655c4c43cf93ea81ae0aGet Reward331121252024-03-25 18:49:253 days 11 hrs ago0xd145860c3cad12aeec9d8021d36b48d7fad09454 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000161320215
0x5f1ed81b99f38caa26428603270faf7127ea0e33164898e8452b18e755792b77Exit331121192024-03-25 18:48:553 days 11 hrs ago0xd145860c3cad12aeec9d8021d36b48d7fad09454 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0012289124
0x51578bf6046fde5e5f7673d3d5900cfac70948509800f94743938a4d99f8f3f6Get Reward329606002024-03-16 14:26:4512 days 16 hrs ago0x5d58727c200e96347235a907d9b856a1b0089d86 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0000712755
0xbf48c0b457be0f80495509aff9f70139cd2248de7b18c6d98549f93438c68d56Exit329605952024-03-16 14:26:2012 days 16 hrs ago0x5d58727c200e96347235a907d9b856a1b0089d86 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000217803642
0xab47058342cdf20a2dfc3654359c8545d89ef4960c4d344f196d423025f6073bExit329538262024-03-16 4:42:2013 days 2 hrs ago0xdcd07d1461a1b1f7b2ad522fada9f86501b14c46 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000575168
0x19bf9b52db1e05b45446c6ce560ffcd4001771de3c27325feb343c6d077a2489Exit329534482024-03-16 4:10:2013 days 2 hrs ago0xe85481f4e928d2ecc0c9e7a51ebab21366939745 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0003621362
0x963bdb33f0bdb95bbd13feced241e789e9253cfb4b90a6a23f92da28377cfcf9Get Reward329534322024-03-16 4:09:0013 days 2 hrs ago0xe85481f4e928d2ecc0c9e7a51ebab21366939745 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0003650964
0x9818a3ea86014d6e07870a4f0281126d7141613a8aab762fd426a92b277944c0Exit329281802024-03-14 15:40:4014 days 15 hrs ago0x63683f0c141955f862f5d8e2aeb6de8b6e683fa0 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000318849489
0x97496ed0f1fe85747ded303df1542889571f339c436e8ae3281bb79089ab05e9Exit329277932024-03-14 15:07:3514 days 15 hrs ago0x5603720ba9d9ae0d63b9c779f515919d1a0b110e IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000581114068
0x1e0914c651d0ce331e4d2ad00ded38e1bd678a32885f27710139d8efcc6415ceGet Reward329277822024-03-14 15:06:4014 days 15 hrs ago0x5603720ba9d9ae0d63b9c779f515919d1a0b110e IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000118654504
0x449efcf9827bc53a6ddb3332f40a47f5fae5143522ff3376c843e4f066814208Exit329275462024-03-14 14:45:5514 days 15 hrs ago0xcac832e7aaf55ab6559afbcddbddcba3e179d47e IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000543965145
0x9645b3cdc6d30879dbb474171d6bcacf71d0d7a7cd5b0e68939b6422568a8520Withdraw329274772024-03-14 14:39:5514 days 16 hrs ago0xbd278f93197e477408d542a3723633677454db11 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000296662864
0xe9dfe54826f3737d14b0be0f3fecc609d0dbc9b3f3df024f373748c0cd416d04Withdraw329274732024-03-14 14:39:3514 days 16 hrs ago0xbd278f93197e477408d542a3723633677454db11 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000434057464
0xad2472625ac103a31a52b0577f6c8381df5309a14cb33d393bcd933177193876Exit328804232024-03-11 18:07:3517 days 12 hrs ago0x8b6060d6d8ee2b0e631371d2b3585bc6931aff47 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.001154953735
0x6c232091a376943ea428a6b55528e15bb14cc463ec4522fb2a8d8f134f838cb7Get Reward328803612024-03-11 18:02:1017 days 12 hrs ago0x8b6060d6d8ee2b0e631371d2b3585bc6931aff47 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000940455746
0x5188fbcfb7bd75739dfb677b5439c18bbd23dc38835c410f37805472d6d4d280Exit327938612024-03-06 13:04:3022 days 17 hrs ago0x7914b1f3539b6aa09812d1026e9c11ecd4ff6df1 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0002472778
0xb14c25afae361fac14b1a64cbe24f60fd7d545b307bed78005d2da15dcf0c3e8Get Reward327938512024-03-06 13:03:3522 days 17 hrs ago0x7914b1f3539b6aa09812d1026e9c11ecd4ff6df1 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0002113716
0x0b6bb8f0878b08d1c94c506c5a177cc6c8c248e90adcccea9cde716a4659b314Exit327433712024-03-03 12:20:1525 days 18 hrs ago0x603484230229dd771647e6ac05effed8cf682ff3 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000219592163
0xdac152eeb83b89a1df275512801ae07aadacb62d0e546436020060e266196ec0Get Reward327433642024-03-03 12:19:4025 days 18 hrs ago0x603484230229dd771647e6ac05effed8cf682ff3 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000084641715
0x43137a42718bbba3d8265dc17c3142224706a70cfde01758be9f0981a47b86b3Get Reward327433582024-03-03 12:19:1025 days 18 hrs ago0x603484230229dd771647e6ac05effed8cf682ff3 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000130371481
0x8dfd0f410aabe0978095c3f25fd81af397a345391a02930aecdb33a055213fc6Exit326924852024-02-29 10:59:4028 days 19 hrs ago0x3be11359b905392ad66c51a1891a980f627702f0 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000241338002
0x59e26eefde946557fe1c2d608d2140a6b0b03b60fabc02938a138280ced1a27dExit326342292024-02-25 22:29:2032 days 8 hrs ago0x5f49782558cca67d9af121e2193025f15e84e113 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000282097627
0x93115d47e573396e52a777ec16e3c081a99a36a559d0be0a5db7c1ce2cca0b53Get Reward326342202024-02-25 22:28:3532 days 8 hrs ago0x5f49782558cca67d9af121e2193025f15e84e113 IN  Hop Protocol: USDC Rewards Contract0 xDAI0.0002606869
0xabaf0172311913e0e76c63f6a8764f470fbef4f2bdd16676e5347fb1b15c6680Exit317995512024-01-05 16:49:4083 days 13 hrs ago0x0185d66728fafe0e136b244967d65d6f271667dd IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000481208922
0x81f8d334982d8889276cbe8b8450d10f0d28f3ba70ffda71ed81e174b846e199Get Reward317995182024-01-05 16:46:4583 days 13 hrs ago0x0185d66728fafe0e136b244967d65d6f271667dd IN  Hop Protocol: USDC Rewards Contract0 xDAI0.000499072657
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingRewards

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
No with 0 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at gnosisscan.io on 2022-11-07
*/

// Sources flattened with hardhat v2.3.3 https://hardhat.org

// File openzeppelin-solidity-2.3.0/contracts/math/[email protected]

pragma solidity ^0.5.0;

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

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

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


// File openzeppelin-solidity-2.3.0/contracts/math/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        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;
    }
}


// File openzeppelin-solidity-2.3.0/contracts/token/ERC20/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a `Transfer` event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through `transferFrom`. This is
     * zero by default.
     *
     * This value changes when `approve` or `transferFrom` are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * > Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an `Approval` event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a `Transfer` event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to `approve`. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


// File openzeppelin-solidity-2.3.0/contracts/token/ERC20/[email protected]

pragma solidity ^0.5.0;

/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * > Note that this information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * `IERC20.balanceOf` and `IERC20.transfer`.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}


// File openzeppelin-solidity-2.3.0/contracts/utils/[email protected]

pragma solidity ^0.5.0;

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


// File openzeppelin-solidity-2.3.0/contracts/token/ERC20/[email protected]

pragma solidity ^0.5.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File openzeppelin-solidity-2.3.0/contracts/utils/[email protected]

pragma solidity ^0.5.0;

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


// File contracts/interfaces/IStakingRewards.sol

pragma solidity >=0.4.24;


interface IStakingRewards {
    // Views
    function lastTimeRewardApplicable() external view returns (uint256);

    function rewardPerToken() external view returns (uint256);

    function earned(address account) external view returns (uint256);

    function getRewardForDuration() external view returns (uint256);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    // Mutative

    function stake(uint256 amount) external;

    function withdraw(uint256 amount) external;

    function getReward() external;

    function exit() external;
}


// File contracts/RewardsDistributionRecipient.sol

pragma solidity ^0.5.16;

contract RewardsDistributionRecipient {
    address public rewardsDistribution;

    function notifyRewardAmount(uint256 reward) external;

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


// File contracts/StakingRewards.sol

pragma solidity ^0.5.16;





// Inheritance


contract StakingRewards is IStakingRewards, RewardsDistributionRecipient, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 30 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

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

    /* ========== CONSTRUCTOR ========== */

    constructor(
        address _rewardsDistribution,
        address _rewardsToken,
        address _stakingToken
    ) public {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
        rewardsDistribution = _rewardsDistribution;
    }

    /* ========== VIEWS ========== */

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

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

    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 _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);

        // permit
        IUniswapV2ERC20(address(stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s);

        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function stake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

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

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function notifyRewardAmount(uint256 reward) external onlyRewardsDistribution updateReward(address(0)) {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        // Ensure the provided reward amount is not more than the balance in the contract.
        // This keeps the reward rate in the right range, preventing overflows due to
        // very high values of rewardRate in the earned and rewardsPerToken functions;
        // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
        uint balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    /* ========== MODIFIERS ========== */

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

    /* ========== EVENTS ========== */

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

interface IUniswapV2ERC20 {
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewardsDistribution","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":"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":[{"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":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","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"}]

60806040526000600455600060055562278d0060065534801561002157600080fd5b506040516122493803806122498339818101604052606081101561004457600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050506001808190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050612105806101446000396000f3fe608060405234801561001057600080fd5b50600436106101115760003560e01c80628cc262146101165780630700037d1461016e57806318160ddd146101c65780631c1f78eb146101e45780632e1a7d4d14610202578063386a9525146102305780633c6b16ab1461024e5780633d18b9121461027c5780633fc6df6e1461028657806370a08231146102d057806372f702f3146103285780637b0a47ee1461037257806380faa57d146103905780638b876347146103ae578063a694fc3a14610406578063c8f33c9114610434578063cd3daf9d14610452578063d1af0c7d14610470578063df136d65146104ba578063e9fad8ee146104d8578063ebe2b12b146104e2578063ecd9ba8214610500575b600080fd5b6101586004803603602081101561012c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610559565b6040518082815260200191505060405180910390f35b6101b06004803603602081101561018457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610677565b6040518082815260200191505060405180910390f35b6101ce61068f565b6040518082815260200191505060405180910390f35b6101ec610699565b6040518082815260200191505060405180910390f35b61022e6004803603602081101561021857600080fd5b81019080803590602001909291905050506106b7565b005b6102386109ef565b6040518082815260200191505060405180910390f35b61027a6004803603602081101561026457600080fd5b81019080803590602001909291905050506109f5565b005b610284610dd2565b005b61028e611077565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610312600480360360208110156102e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061109c565b6040518082815260200191505060405180910390f35b6103306110e5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61037a61110b565b6040518082815260200191505060405180910390f35b610398611111565b6040518082815260200191505060405180910390f35b6103f0600480360360208110156103c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611124565b6040518082815260200191505060405180910390f35b6104326004803603602081101561041c57600080fd5b810190808035906020019092919050505061113c565b005b61043c611476565b6040518082815260200191505060405180910390f35b61045a61147c565b6040518082815260200191505060405180910390f35b61047861150a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c2611530565b6040518082815260200191505060405180910390f35b6104e0611536565b005b6104ea611588565b6040518082815260200191505060405180910390f35b610557600480360360a081101561051657600080fd5b810190808035906020019092919080359060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061158e565b005b6000610670600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610662670de0b6b3a7640000610654610606600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105f861147c565b6119e790919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a7090919063ffffffff16565b611af690919063ffffffff16565b611b8590919063ffffffff16565b9050919050565b600a6020528060005260406000206000915090505481565b6000600b54905090565b60006106b2600654600554611a7090919063ffffffff16565b905090565b6001806000828254019250508190555060006001549050336106d761147c565b6008819055506106e5611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107b25761072881610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008311610828576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61083d83600b546119e790919063ffffffff16565b600b8190555061089583600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119e790919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109253384600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c0d9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040518082815260200191505060405180910390a25060015481146109eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b5050565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061207d602a913960400191505060405180910390fd5b6000610aa461147c565b600881905550610ab2611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b7f57610af581610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6004544210610ba857610b9d60065483611af690919063ffffffff16565b600581905550610c0a565b6000610bbf426004546119e790919063ffffffff16565b90506000610bd860055483611a7090919063ffffffff16565b9050610c01600654610bf38387611b8590919063ffffffff16565b611af690919063ffffffff16565b60058190555050505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cab57600080fd5b505afa158015610cbf573d6000803e3d6000fd5b505050506040513d6020811015610cd557600080fd5b81019080805190602001909291905050509050610cfd60065482611af690919063ffffffff16565b6005541115610d74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600781905550610d9060065442611b8590919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b600180600082825401925050819055506000600154905033610df261147c565b600881905550610e00611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ecd57610e4381610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610ffb576000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fac3382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c0d9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001548114611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600061111f42600454611cde565b905090565b60096020528060005260406000206000915090505481565b60018060008282540192505081905550600060015490503361115c61147c565b60088190555061116a611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611237576111ad81610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600083116112ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6112c283600b54611b8590919063ffffffff16565b600b8190555061131a83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8590919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113ac333085600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cf7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2506001548114611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b5050565b60075481565b600080600b541415611492576008549050611507565b6115046114f3600b546114e5670de0b6b3a76400006114d76005546114c96007546114bb611111565b6119e790919063ffffffff16565b611a7090919063ffffffff16565b611a7090919063ffffffff16565b611af690919063ffffffff16565b600854611b8590919063ffffffff16565b90505b90565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b61157e600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106b7565b611586610dd2565b565b60045481565b6001806000828254019250508190555060006001549050336115ae61147c565b6008819055506115bc611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689576115ff81610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600087116116ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61171487600b54611b8590919063ffffffff16565b600b8190555061176c87600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8590919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d505accf33308a8a8a8a8a6040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018460ff1660ff168152602001838152602001828152602001975050505050505050600060405180830381600087803b1580156118b257600080fd5b505af11580156118c6573d6000803e3d6000fd5b50505050611919333089600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cf7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d886040518082815260200191505060405180910390a25060015481146119df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b505050505050565b600082821115611a5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b600082840390508091505092915050565b600080831415611a835760009050611af0565b6000828402905082848281611a9457fe5b0414611aeb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061205c6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611b6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b6000828481611b7857fe5b0490508091505092915050565b600080828401905083811015611c03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611cd9838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611dfd565b505050565b6000818310611ced5781611cef565b825b905092915050565b611df7848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611dfd565b50505050565b611e1c8273ffffffffffffffffffffffffffffffffffffffff16612048565b611e8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611edd5780518252602082019150602081019050602083039250611eba565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f3f576040519150601f19603f3d011682016040523d82523d6000602084013e611f44565b606091505b509150915081611fbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561204257808060200190516020811015611fdb57600080fd5b8101908080519060200190929190505050612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806120a7602a913960400191505060405180910390fd5b5b50505050565b600080823b90506000811191505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820c26a08b510d8f5f27ed4628428b254b681cdad95b9d64349a9d64f3d1c0fc41b64736f6c63430005100032000000000000000000000000404c2184a4027b0092c5877bc4599099cd63e62d0000000000000000000000009c58bacc331c9aa871afd802db6379a98e80cedb0000000000000000000000009d373d22fd091d7f9a6649eb067557cc12fb1a0a

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101115760003560e01c80628cc262146101165780630700037d1461016e57806318160ddd146101c65780631c1f78eb146101e45780632e1a7d4d14610202578063386a9525146102305780633c6b16ab1461024e5780633d18b9121461027c5780633fc6df6e1461028657806370a08231146102d057806372f702f3146103285780637b0a47ee1461037257806380faa57d146103905780638b876347146103ae578063a694fc3a14610406578063c8f33c9114610434578063cd3daf9d14610452578063d1af0c7d14610470578063df136d65146104ba578063e9fad8ee146104d8578063ebe2b12b146104e2578063ecd9ba8214610500575b600080fd5b6101586004803603602081101561012c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610559565b6040518082815260200191505060405180910390f35b6101b06004803603602081101561018457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610677565b6040518082815260200191505060405180910390f35b6101ce61068f565b6040518082815260200191505060405180910390f35b6101ec610699565b6040518082815260200191505060405180910390f35b61022e6004803603602081101561021857600080fd5b81019080803590602001909291905050506106b7565b005b6102386109ef565b6040518082815260200191505060405180910390f35b61027a6004803603602081101561026457600080fd5b81019080803590602001909291905050506109f5565b005b610284610dd2565b005b61028e611077565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610312600480360360208110156102e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061109c565b6040518082815260200191505060405180910390f35b6103306110e5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61037a61110b565b6040518082815260200191505060405180910390f35b610398611111565b6040518082815260200191505060405180910390f35b6103f0600480360360208110156103c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611124565b6040518082815260200191505060405180910390f35b6104326004803603602081101561041c57600080fd5b810190808035906020019092919050505061113c565b005b61043c611476565b6040518082815260200191505060405180910390f35b61045a61147c565b6040518082815260200191505060405180910390f35b61047861150a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c2611530565b6040518082815260200191505060405180910390f35b6104e0611536565b005b6104ea611588565b6040518082815260200191505060405180910390f35b610557600480360360a081101561051657600080fd5b810190808035906020019092919080359060200190929190803560ff169060200190929190803590602001909291908035906020019092919050505061158e565b005b6000610670600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610662670de0b6b3a7640000610654610606600960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105f861147c565b6119e790919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a7090919063ffffffff16565b611af690919063ffffffff16565b611b8590919063ffffffff16565b9050919050565b600a6020528060005260406000206000915090505481565b6000600b54905090565b60006106b2600654600554611a7090919063ffffffff16565b905090565b6001806000828254019250508190555060006001549050336106d761147c565b6008819055506106e5611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146107b25761072881610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008311610828576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61083d83600b546119e790919063ffffffff16565b600b8190555061089583600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119e790919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506109253384600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c0d9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040518082815260200191505060405180910390a25060015481146109eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b5050565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061207d602a913960400191505060405180910390fd5b6000610aa461147c565b600881905550610ab2611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b7f57610af581610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6004544210610ba857610b9d60065483611af690919063ffffffff16565b600581905550610c0a565b6000610bbf426004546119e790919063ffffffff16565b90506000610bd860055483611a7090919063ffffffff16565b9050610c01600654610bf38387611b8590919063ffffffff16565b611af690919063ffffffff16565b60058190555050505b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cab57600080fd5b505afa158015610cbf573d6000803e3d6000fd5b505050506040513d6020811015610cd557600080fd5b81019080805190602001909291905050509050610cfd60065482611af690919063ffffffff16565b6005541115610d74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b42600781905550610d9060065442611b8590919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b600180600082825401925050819055506000600154905033610df261147c565b600881905550610e00611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ecd57610e4381610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610ffb576000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610fac3382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c0d9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001548114611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b50565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b600061111f42600454611cde565b905090565b60096020528060005260406000206000915090505481565b60018060008282540192505081905550600060015490503361115c61147c565b60088190555061116a611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611237576111ad81610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600083116112ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6112c283600b54611b8590919063ffffffff16565b600b8190555061131a83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8590919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113ac333085600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cf7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2506001548114611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b5050565b60075481565b600080600b541415611492576008549050611507565b6115046114f3600b546114e5670de0b6b3a76400006114d76005546114c96007546114bb611111565b6119e790919063ffffffff16565b611a7090919063ffffffff16565b611a7090919063ffffffff16565b611af690919063ffffffff16565b600854611b8590919063ffffffff16565b90505b90565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b61157e600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546106b7565b611586610dd2565b565b60045481565b6001806000828254019250508190555060006001549050336115ae61147c565b6008819055506115bc611111565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689576115ff81610559565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600087116116ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61171487600b54611b8590919063ffffffff16565b600b8190555061176c87600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b8590919063ffffffff16565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d505accf33308a8a8a8a8a6040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018460ff1660ff168152602001838152602001828152602001975050505050505050600060405180830381600087803b1580156118b257600080fd5b505af11580156118c6573d6000803e3d6000fd5b50505050611919333089600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611cf7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d886040518082815260200191505060405180910390a25060015481146119df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b505050505050565b600082821115611a5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b600082840390508091505092915050565b600080831415611a835760009050611af0565b6000828402905082848281611a9457fe5b0414611aeb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061205c6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611b6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b6000828481611b7857fe5b0490508091505092915050565b600080828401905083811015611c03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611cd9838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611dfd565b505050565b6000818310611ced5781611cef565b825b905092915050565b611df7848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611dfd565b50505050565b611e1c8273ffffffffffffffffffffffffffffffffffffffff16612048565b611e8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611edd5780518252602082019150602081019050602083039250611eba565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f3f576040519150601f19603f3d011682016040523d82523d6000602084013e611f44565b606091505b509150915081611fbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561204257808060200190516020811015611fdb57600080fd5b8101908080519060200190929190505050612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806120a7602a913960400191505060405180910390fd5b5b50505050565b600080823b90506000811191505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820c26a08b510d8f5f27ed4628428b254b681cdad95b9d64349a9d64f3d1c0fc41b64736f6c63430005100032

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

000000000000000000000000404c2184a4027b0092c5877bc4599099cd63e62d0000000000000000000000009c58bacc331c9aa871afd802db6379a98e80cedb0000000000000000000000009d373d22fd091d7f9a6649eb067557cc12fb1a0a

-----Decoded View---------------
Arg [0] : _rewardsDistribution (address): 0x404c2184a4027b0092c5877bc4599099cd63e62d
Arg [1] : _rewardsToken (address): 0x9c58bacc331c9aa871afd802db6379a98e80cedb
Arg [2] : _stakingToken (address): 0x9d373d22fd091d7f9a6649eb067557cc12fb1a0a

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000404c2184a4027b0092c5877bc4599099cd63e62d
Arg [1] : 0000000000000000000000009c58bacc331c9aa871afd802db6379a98e80cedb
Arg [2] : 0000000000000000000000009d373d22fd091d7f9a6649eb067557cc12fb1a0a


Deployed ByteCode Sourcemap

16901:5669:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16901:5669:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18666:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18666:198:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17448:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17448:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17968:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18872:121;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19998:357;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19998:357:0;;;;;;;;;;;;;;;;;:::i;:::-;;17257:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20839:1083;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20839:1083:0;;;;;;;;;;;;;;;;;:::i;:::-;;20363:307;;;:::i;:::-;;16538:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;18069:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18069:112:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17150:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17221:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18189:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17384:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;17384:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19621:369;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;19621:369:0;;;;;;;;;;;;;;;;;:::i;:::-;;17304:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18328:330;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17117:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;17340:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20678:97;;;:::i;:::-;;17183:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19055:558;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;19055:558:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18666:198;18720:7;18747:109;18839:7;:16;18847:7;18839:16;;;;;;;;;;;;;;;;18747:87;18829:4;18747:77;18770:53;18791:22;:31;18814:7;18791:31;;;;;;;;;;;;;;;;18770:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;18747:9;:18;18757:7;18747:18;;;;;;;;;;;;;;;;:22;;:77;;;;:::i;:::-;:81;;:87;;;;:::i;:::-;:91;;:109;;;;:::i;:::-;18740:116;;18666:198;;;:::o;17448:42::-;;;;;;;;;;;;;;;;;:::o;17968:93::-;18014:7;18041:12;;18034:19;;17968:93;:::o;18872:121::-;18927:7;18954:31;18969:15;;18954:10;;:14;;:31;;;;:::i;:::-;18947:38;;18872:121;:::o;19998:357::-;15504:1;15487:13;;:18;;;;;;;;;;;15516:20;15539:13;;15516:36;;20065:10;22048:16;:14;:16::i;:::-;22025:20;:39;;;;22092:26;:24;:26::i;:::-;22075:14;:43;;;;22152:1;22133:21;;:7;:21;;;22129:157;;22190:15;22197:7;22190:6;:15::i;:::-;22171:7;:16;22179:7;22171:16;;;;;;;;;;;;;;;:34;;;;22254:20;;22220:22;:31;22243:7;22220:31;;;;;;;;;;;;;;;:54;;;;22129:157;20105:1;20096:6;:10;20088:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20154:24;20171:6;20154:12;;:16;;:24;;;;:::i;:::-;20139:12;:39;;;;20213:33;20239:6;20213:9;:21;20223:10;20213:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;20189:9;:21;20199:10;20189:21;;;;;;;;;;;;;;;:57;;;;20257:45;20283:10;20295:6;20257:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;20328:10;20318:29;;;20340:6;20318:29;;;;;;;;;;;;;;;;;;15563:1;15599:13;;15583:12;:29;15575:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19998:357;;:::o;17257:40::-;;;;:::o;20839:1083::-;16710:19;;;;;;;;;;;16696:33;;:10;:33;;;16688:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20937:1;22048:16;:14;:16::i;:::-;22025:20;:39;;;;22092:26;:24;:26::i;:::-;22075:14;:43;;;;22152:1;22133:21;;:7;:21;;;22129:157;;22190:15;22197:7;22190:6;:15::i;:::-;22171:7;:16;22179:7;22171:16;;;;;;;;;;;;;;;:34;;;;22254:20;;22220:22;:31;22243:7;22220:31;;;;;;;;;;;;;;;:54;;;;22129:157;20975:12;;20956:15;:31;20952:318;;21017:27;21028:15;;21017:6;:10;;:27;;;;:::i;:::-;21004:10;:40;;;;20952:318;;;21077:17;21097:33;21114:15;21097:12;;:16;;:33;;;;:::i;:::-;21077:53;;21145:16;21164:25;21178:10;;21164:9;:13;;:25;;;;:::i;:::-;21145:44;;21217:41;21242:15;;21217:20;21228:8;21217:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;21204:10;:54;;;;20952:318;;;21630:12;21645;;;;;;;;;;;:22;;;21676:4;21645:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21645:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21645:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21645:37:0;;;;;;;;;;;;;;;;21630:52;;21715:28;21727:15;;21715:7;:11;;:28;;;;:::i;:::-;21701:10;;:42;;21693:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21802:15;21785:14;:32;;;;21843:36;21863:15;;21843;:19;;:36;;;;:::i;:::-;21828:12;:51;;;;21895:19;21907:6;21895:19;;;;;;;;;;;;;;;;;;22296:1;16787;20839:1083;:::o;20363:307::-;15504:1;15487:13;;:18;;;;;;;;;;;15516:20;15539:13;;15516:36;;20417:10;22048:16;:14;:16::i;:::-;22025:20;:39;;;;22092:26;:24;:26::i;:::-;22075:14;:43;;;;22152:1;22133:21;;:7;:21;;;22129:157;;22190:15;22197:7;22190:6;:15::i;:::-;22171:7;:16;22179:7;22171:16;;;;;;;;;;;;;;;:34;;;;22254:20;;22220:22;:31;22243:7;22220:31;;;;;;;;;;;;;;;:54;;;;22129:157;20440:14;20457:7;:19;20465:10;20457:19;;;;;;;;;;;;;;;;20440:36;;20500:1;20491:6;:10;20487:176;;;20540:1;20518:7;:19;20526:10;20518:19;;;;;;;;;;;;;;;:23;;;;20556:45;20582:10;20594:6;20556:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;20632:10;20621:30;;;20644:6;20621:30;;;;;;;;;;;;;;;;;;20487:176;22296:1;15563;15599:13;;15583:12;:29;15575:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20363:307;:::o;16538:34::-;;;;;;;;;;;;;:::o;18069:112::-;18128:7;18155:9;:18;18165:7;18155:18;;;;;;;;;;;;;;;;18148:25;;18069:112;;;:::o;17150:26::-;;;;;;;;;;;;;:::o;17221:29::-;;;;:::o;18189:131::-;18246:7;18273:39;18282:15;18299:12;;18273:8;:39::i;:::-;18266:46;;18189:131;:::o;17384:57::-;;;;;;;;;;;;;;;;;:::o;19621:369::-;15504:1;15487:13;;:18;;;;;;;;;;;15516:20;15539:13;;15516:36;;19687:10;22048:16;:14;:16::i;:::-;22025:20;:39;;;;22092:26;:24;:26::i;:::-;22075:14;:43;;;;22152:1;22133:21;;:7;:21;;;22129:157;;22190:15;22197:7;22190:6;:15::i;:::-;22171:7;:16;22179:7;22171:16;;;;;;;;;;;;;;;:34;;;;22254:20;;22220:22;:31;22243:7;22220:31;;;;;;;;;;;;;;;:54;;;;22129:157;19727:1;19718:6;:10;19710:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19773:24;19790:6;19773:12;;:16;;:24;;;;:::i;:::-;19758:12;:39;;;;19832:33;19858:6;19832:9;:21;19842:10;19832:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;19808:9;:21;19818:10;19808:21;;;;;;;;;;;;;;;:57;;;;19876:64;19906:10;19926:4;19933:6;19876:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;19963:10;19956:26;;;19975:6;19956:26;;;;;;;;;;;;;;;;;;15563:1;15599:13;;15583:12;:29;15575:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19621:369;;:::o;17304:29::-;;;;:::o;18328:330::-;18375:7;18415:1;18399:12;;:17;18395:77;;;18440:20;;18433:27;;;;18395:77;18502:148;18545:90;18622:12;;18545:72;18612:4;18545:62;18596:10;;18545:46;18576:14;;18545:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:90;;;;:::i;:::-;18502:20;;:24;;:148;;;;:::i;:::-;18482:168;;18328:330;;:::o;17117:26::-;;;;;;;;;;;;;:::o;17340:35::-;;;;:::o;20678:97::-;20714:31;20723:9;:21;20733:10;20723:21;;;;;;;;;;;;;;;;20714:8;:31::i;:::-;20756:11;:9;:11::i;:::-;20678:97::o;17183:31::-;;;;:::o;19055:558::-;15504:1;15487:13;;:18;;;;;;;;;;;15516:20;15539:13;;15516:36;;19177:10;22048:16;:14;:16::i;:::-;22025:20;:39;;;;22092:26;:24;:26::i;:::-;22075:14;:43;;;;22152:1;22133:21;;:7;:21;;;22129:157;;22190:15;22197:7;22190:6;:15::i;:::-;22171:7;:16;22179:7;22171:16;;;;;;;;;;;;;;;:34;;;;22254:20;;22220:22;:31;22243:7;22220:31;;;;;;;;;;;;;;;:54;;;;22129:157;19217:1;19208:6;:10;19200:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19263:24;19280:6;19263:12;;:16;;:24;;;;:::i;:::-;19248:12;:39;;;;19322:33;19348:6;19322:9;:21;19332:10;19322:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;19298:9;:21;19308:10;19298:21;;;;;;;;;;;;;;;:57;;;;19411:12;;;;;;;;;;;19387:45;;;19433:10;19453:4;19460:6;19468:8;19478:1;19481;19484;19387:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19387:99:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19387:99:0;;;;19499:64;19529:10;19549:4;19556:6;19499:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;19586:10;19579:26;;;19598:6;19579:26;;;;;;;;;;;;;;;;;;15563:1;15599:13;;15583:12;:29;15575:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19055:558;;;;;;:::o;2324:184::-;2382:7;2415:1;2410;:6;;2402:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2462:9;2478:1;2474;:5;2462:17;;2499:1;2492:8;;;2324:184;;;;:::o;2759:470::-;2817:7;3066:1;3061;:6;3057:47;;;3091:1;3084:8;;;;3057:47;3116:9;3132:1;3128;:5;3116:17;;3161:1;3156;3152;:5;;;;;;:10;3144:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3220:1;3213:8;;;2759:470;;;;;:::o;3697:333::-;3755:7;3854:1;3850;:5;3842:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3897:9;3913:1;3909;:5;;;;;;3897:17;;4021:1;4014:8;;;3697:333;;;;:::o;1868:181::-;1926:7;1946:9;1962:1;1958;:5;1946:17;;1987:1;1982;:6;;1974:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2040:1;2033:8;;;1868:181;;;;:::o;10955:176::-;11038:85;11057:5;11087;:14;;;:23;;;;11112:2;11116:5;11064:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11064:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;11064:58:0;11038:18;:85::i;:::-;10955:176;;;:::o;508:106::-;566:7;597:1;593;:5;:13;;605:1;593:13;;;601:1;593:13;586:20;;508:106;;;;:::o;11139:204::-;11240:95;11259:5;11289;:18;;;:27;;;;11318:4;11324:2;11328:5;11266:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11266:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;11266:68:0;11240:18;:95::i;:::-;11139:204;;;;:::o;12949:1114::-;13553:27;13561:5;13553:25;;;:27::i;:::-;13545:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13690:12;13704:23;13739:5;13731:19;;13751:4;13731:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;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;;;13731: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;;13689:67:0;;;;13775:7;13767:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13856:1;13836:10;:17;:21;13832:224;;;13978:10;13967:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13967:30:0;;;;;;;;;;;;;;;;13959:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13832:224;12949:1114;;;;:::o;9853:422::-;9913:4;10121:12;10232:7;10220:20;10212:28;;10266:1;10259:4;:8;10252:15;;;9853:422;;;:::o

Swarm Source

bzzr://c26a08b510d8f5f27ed4628428b254b681cdad95b9d64349a9d64f3d1c0fc41b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.