ETH Price: $2,905.72 (-4.07%)
Gas: 1 Gwei

Contract

0xb59e8d8Ad40d06571DC0Cf9936E727846dfae93f
 
Transaction Hash
Method
Block
From
To
Value
Exit174579812023-06-11 16:13:11392 days ago1686499991IN
0xb59e8d8A...46dfae93f
0 ETH0.0061790223.64713981
Exit142394252022-02-19 23:27:44869 days ago1645313264IN
0xb59e8d8A...46dfae93f
0 ETH0.0126873654.97721043
Exit141324772022-02-03 10:32:06885 days ago1643884326IN
0xb59e8d8A...46dfae93f
0 ETH0.0224471999.15933208
Exit131704372021-09-06 5:51:311036 days ago1630907491IN
0xb59e8d8A...46dfae93f
0 ETH0.02511995110.947978
Exit130642282021-08-20 20:15:291052 days ago1629490529IN
0xb59e8d8A...46dfae93f
0 ETH0.0175004977.29491226
Withdraw129155952021-07-28 17:03:551075 days ago1627491835IN
0xb59e8d8A...46dfae93f
0 ETH0.0046393747
Exit127976662021-07-10 4:56:221094 days ago1625892982IN
0xb59e8d8A...46dfae93f
0 ETH0.001792019.000011
Get Reward127732722021-07-06 10:11:101097 days ago1625566270IN
0xb59e8d8A...46dfae93f
0 ETH0.0156008994
Withdraw127732682021-07-06 10:10:291097 days ago1625566229IN
0xb59e8d8A...46dfae93f
0 ETH0.0112973585
Exit126681342021-06-20 0:49:131114 days ago1624150153IN
0xb59e8d8A...46dfae93f
0 ETH0.001633337
Get Reward126419892021-06-15 23:13:361118 days ago1623798816IN
0xb59e8d8A...46dfae93f
0 ETH0.001295028
Get Reward126298652021-06-14 2:17:121120 days ago1623637032IN
0xb59e8d8A...46dfae93f
0 ETH0.0024281715
Exit126161902021-06-11 23:27:391122 days ago1623454059IN
0xb59e8d8A...46dfae93f
0 ETH0.0027999912
Get Reward126152482021-06-11 19:59:451122 days ago1623441585IN
0xb59e8d8A...46dfae93f
0 ETH0.002655816
Withdraw126152122021-06-11 19:51:161122 days ago1623441076IN
0xb59e8d8A...46dfae93f
0 ETH0.002658220
Withdraw125959852021-06-08 20:16:491125 days ago1623183409IN
0xb59e8d8A...46dfae93f
0 ETH0.0028878333
Get Reward125958222021-06-08 19:38:421125 days ago1623181122IN
0xb59e8d8A...46dfae93f
0 ETH0.0025900416
Get Reward125889592021-06-07 18:31:111126 days ago1623090671IN
0xb59e8d8A...46dfae93f
0 ETH0.0068488446
Withdraw125889542021-06-07 18:29:561126 days ago1623090596IN
0xb59e8d8A...46dfae93f
0 ETH0.0061138646
Exit125880252021-06-07 14:51:311126 days ago1623077491IN
0xb59e8d8A...46dfae93f
0 ETH0.0049733523
Get Reward125772362021-06-05 22:52:461128 days ago1622933566IN
0xb59e8d8A...46dfae93f
0 ETH0.0020083413
Exit125742492021-06-05 11:44:171128 days ago1622893457IN
0xb59e8d8A...46dfae93f
0 ETH0.0026209915
Withdraw125738902021-06-05 10:15:331128 days ago1622888133IN
0xb59e8d8A...46dfae93f
0 ETH0.0015751818
Get Reward125738852021-06-05 10:14:151128 days ago1622888055IN
0xb59e8d8A...46dfae93f
0 ETH0.0034005819
Exit125590162021-06-03 3:02:261131 days ago1622689346IN
0xb59e8d8A...46dfae93f
0 ETH0.0043246620
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:
StakingDualRewards

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 2021-03-09
*/

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

* Synthetix: StakingDualRewards.sol
*
* Latest source (may be newer): https://github.com/Synthetixio/synthetix/blob/master/contracts/StakingDualRewards.sol
* Docs: https://docs.synthetix.io/contracts/StakingDualRewards
*
* Contract Dependencies: 
*	- DualRewardsDistributionRecipient
*	- IERC20
*	- IStakingDualRewards
*	- Owned
*	- Pausable
*	- ReentrancyGuard
* Libraries: 
*	- Address
*	- Math
*	- SafeERC20
*	- SafeMath
*
* MIT License
* ===========
*
* Copyright (c) 2021 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
*/



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


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


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


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


/**
 * @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 IStakingDualRewards {
    // Views
    function lastTimeRewardApplicable() external view returns (uint256);

    function rewardPerTokenA() external view returns (uint256);
    function rewardPerTokenB() external view returns (uint256);

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

    function earnedB(address account) external view returns (uint256);
    function getRewardAForDuration() external view returns (uint256);

    function getRewardBForDuration() 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;
}


// https://docs.synthetix.io/contracts/source/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 {
        _onlyOwner();
        _;
    }

    function _onlyOwner() private view {
        require(msg.sender == owner, "Only the contract owner may perform this action");
    }

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


// Inheritance


contract DualRewardsDistributionRecipient is Owned {
    address public dualRewardsDistribution;

    function notifyRewardAmount(uint256 rewardA, uint256 rewardB) external;

    modifier onlyDualRewardsDistribution() {
        require(msg.sender == dualRewardsDistribution, "Caller is not DualRewardsDistribution contract");
        _;
    }

    function setDualRewardsDistribution(address _dualRewardsDistribution) external onlyOwner {
        dualRewardsDistribution = _dualRewardsDistribution;
    }
}


// Inheritance


// https://docs.synthetix.io/contracts/source/contracts/pausable
contract Pausable is Owned {
    uint public lastPauseTime;
    bool public paused;

    constructor() internal {
        // This contract is abstract, and thus cannot be instantiated directly
        require(owner != address(0), "Owner must be set");
        // Paused will be false, and lastPauseTime will be 0 upon initialisation
    }

    /**
     * @notice Change the paused state of the contract
     * @dev Only the contract owner may call this.
     */
    function setPaused(bool _paused) external onlyOwner {
        // Ensure we're actually changing the state before we do anything
        if (_paused == paused) {
            return;
        }

        // Set our paused state.
        paused = _paused;

        // If applicable, set the last pause time.
        if (paused) {
            lastPauseTime = now;
        }

        // Let everyone know that our pause state has changed.
        emit PauseChanged(paused);
    }

    event PauseChanged(bool isPaused);

    modifier notPaused {
        require(!paused, "This action cannot be performed while the contract is paused");
        _;
    }
}


// Inheritance


contract StakingDualRewards is IStakingDualRewards, DualRewardsDistributionRecipient, ReentrancyGuard, Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    IERC20 public rewardsTokenA;
    IERC20 public rewardsTokenB;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRateA = 0;
    uint256 public rewardRateB = 0;
    uint256 public rewardsDuration = 7 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenAStored;
    uint256 public rewardPerTokenBStored;

    mapping(address => uint256) public userRewardPerTokenAPaid;
    mapping(address => uint256) public userRewardPerTokenBPaid;
    mapping(address => uint256) public rewardsA;
    mapping(address => uint256) public rewardsB;

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

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

    constructor(
        address _owner,
        address _dualRewardsDistribution,
        address _rewardsTokenA,
        address _rewardsTokenB,
        address _stakingToken
    ) public Owned(_owner) {
        require(_rewardsTokenA != _rewardsTokenB, "rewards tokens should be different");
        rewardsTokenA = IERC20(_rewardsTokenA);
        rewardsTokenB = IERC20(_rewardsTokenB);
        stakingToken = IERC20(_stakingToken);
        dualRewardsDistribution = _dualRewardsDistribution;
    }

    /* ========== 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 rewardPerTokenA() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenAStored;
        }
        return
            rewardPerTokenAStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRateA).mul(1e18).div(_totalSupply)
            );
    }

    function rewardPerTokenB() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenBStored;
        }

        return
            rewardPerTokenBStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRateB).mul(1e18).div(_totalSupply)
            );
    }

    function earnedA(address account) public view returns (uint256) {
        return _balances[account].mul(rewardPerTokenA().sub(userRewardPerTokenAPaid[account])).div(1e18).add(rewardsA[account]);
    }

    function earnedB(address account) public view returns (uint256) {
        return
            _balances[account].mul(rewardPerTokenB().sub(userRewardPerTokenBPaid[account])).div(1e18).add(rewardsB[account]);
    }

    function getRewardAForDuration() external view returns (uint256) {
        return rewardRateA.mul(rewardsDuration);
    }

    function getRewardBForDuration() external view returns (uint256) {
        return rewardRateB.mul(rewardsDuration);
    }

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

    function stake(uint256 amount) external nonReentrant notPaused 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 rewardAmountA = rewardsA[msg.sender];
        if (rewardAmountA > 0) {
            rewardsA[msg.sender] = 0;
            rewardsTokenA.safeTransfer(msg.sender, rewardAmountA);
            emit RewardPaid(msg.sender, address(rewardsTokenA), rewardAmountA);
        }

        uint256 rewardAmountB = rewardsB[msg.sender];
        if (rewardAmountB > 0) {
            rewardsB[msg.sender] = 0;
            rewardsTokenB.safeTransfer(msg.sender, rewardAmountB);
            emit RewardPaid(msg.sender, address(rewardsTokenB), rewardAmountB);
        }
    }

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

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

    function notifyRewardAmount(uint256 rewardA, uint256 rewardB) external onlyDualRewardsDistribution updateReward(address(0)) {

        if (block.timestamp >= periodFinish) {
            rewardRateA = rewardA.div(rewardsDuration);
            rewardRateB = rewardB.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);            
            
            uint256 leftoverA = remaining.mul(rewardRateA);
            rewardRateA = rewardA.add(leftoverA).div(rewardsDuration);
            
            uint256 leftoverB = remaining.mul(rewardRateB);
            rewardRateB = rewardB.add(leftoverB).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 balanceA = rewardsTokenA.balanceOf(address(this));
        require(rewardRateA <= balanceA.div(rewardsDuration), "Provided reward-A too high");

        uint balanceB = rewardsTokenB.balanceOf(address(this));
        require(rewardRateB <= balanceB.div(rewardsDuration), "Provided reward-B too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(rewardA, rewardB);
    }

    // End rewards emission earlier
    function updatePeriodFinish(uint timestamp) external onlyOwner updateReward(address(0)) {
        periodFinish = timestamp;
    }

    // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
        IERC20(tokenAddress).safeTransfer(owner, tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }

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

    modifier updateReward(address account) {

        rewardPerTokenAStored = rewardPerTokenA();
        rewardPerTokenBStored = rewardPerTokenB();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewardsA[account] = earnedA(account);
            userRewardPerTokenAPaid[account] = rewardPerTokenAStored;
        }
        
        if (account != address(0)) {
            rewardsB[account] = earnedB(account);
            userRewardPerTokenBPaid[account] = rewardPerTokenBStored;
        }
        _;
    }

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

    event RewardAdded(uint256 rewardA, uint256 rewardB);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, address rewardToken, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_dualRewardsDistribution","type":"address"},{"internalType":"address","name":"_rewardsTokenA","type":"address"},{"internalType":"address","name":"_rewardsTokenB","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":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardA","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardB","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"rewardToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","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":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":[],"name":"dualRewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earnedA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earnedB","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":"getRewardAForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getRewardBForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastPauseTime","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":"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":"rewardA","type":"uint256"},{"internalType":"uint256","name":"rewardB","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenAStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenBStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRateA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRateB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"rewardsTokenA","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsTokenB","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_dualRewardsDistribution","type":"address"}],"name":"setDualRewardsDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","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":false,"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"updatePeriodFinish","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenAPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenBPaid","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"}]

6080604052600060085560006009556000600a5562093a80600b5534801561002657600080fd5b50604051611ebd380380611ebd833981810160405260a081101561004957600080fd5b50805160208201516040830151606084015160809094015192939192909190846001600160a01b0381166100c4576040805162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560408051928352602083019190915280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a15060016003556000546001600160a01b0316610173576040805162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b604482015290519081900360640190fd5b816001600160a01b0316836001600160a01b031614156101c45760405162461bcd60e51b8152600401808060200182810382526022815260200180611e9b6022913960400191505060405180910390fd5b600580546001600160a01b0394851661010002610100600160a81b0319909116179055600680549284166001600160a01b0319938416179055600780549184169183169190911790556002805493909216921691909117905550611c6e8061022d6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063a8fe1f69116100b8578063e9fad8ee1161007c578063e9fad8ee14610561578063ebe2b12b14610569578063efa1c63c14610571578063f563055014610579578063ff510b061461058157610248565b8063a8fe1f69146104e8578063b95f0079146104f0578063c8f33c9114610516578063cc1a378f1461051e578063dba0eb911461053b57610248565b80638980f11f116100ff5780638980f11f146104875780638da5cb5b146104b357806391b4ded9146104bb578063a694fc3a146104c3578063a85594ad146104e057610248565b806370a082311461044157806372f702f31461046757806379ba50971461046f57806380faa57d1461047757806388c4c6661461047f57610248565b80633d18b912116101c9578063556f6e6b1161018d578063556f6e6b146103d25780635c975abb146103ef5780635fd1020c1461040b57806360fb362614610413578063682133291461043957610248565b80633d18b912146103705780633f800bdd146103785780634ea4618b14610380578063513c508a146103a657806353a47bb7146103ae57610248565b8063255cfca311610210578063255cfca3146102f7578063266a74ca146102ff5780632e1a7d4d1461032557806334584d3a14610342578063386a95251461036857610248565b80631627540c1461024d57806316c38b3c1461027557806318160ddd146102945780631820d739146102ae578063246132f9146102d4575b600080fd5b6102736004803603602081101561026357600080fd5b50356001600160a01b0316610589565b005b6102736004803603602081101561028b57600080fd5b503515156105e5565b61029c61065f565b60408051918252519081900360200190f35b61029c600480360360208110156102c457600080fd5b50356001600160a01b0316610666565b610273600480360360408110156102ea57600080fd5b50803590602001356106fc565b61029c610adb565b61029c6004803603602081101561031557600080fd5b50356001600160a01b0316610ae1565b6102736004803603602081101561033b57600080fd5b5035610af3565b61029c6004803603602081101561035857600080fd5b50356001600160a01b0316610ce4565b61029c610cf6565b610273610cfc565b61029c610f28565b61029c6004803603602081101561039657600080fd5b50356001600160a01b0316610f46565b61029c610f58565b6103b6610f5e565b604080516001600160a01b039092168252519081900360200190f35b610273600480360360208110156103e857600080fd5b5035610f6d565b6103f7611026565b604080519115158252519081900360200190f35b6103b661102f565b61029c6004803603602081101561042957600080fd5b50356001600160a01b0316611043565b61029c611086565b61029c6004803603602081101561045757600080fd5b50356001600160a01b03166110e0565b6103b66110fb565b61027361110a565b61029c6111c6565b6103b66111d4565b6102736004803603604081101561049d57600080fd5b506001600160a01b0381351690602001356111e3565b6103b66112a0565b61029c6112af565b610273600480360360208110156104d957600080fd5b50356112b5565b61029c6114e2565b61029c611530565b61029c6004803603602081101561050657600080fd5b50356001600160a01b0316611549565b61029c61155b565b6102736004803603602081101561053457600080fd5b5035611561565b6102736004803603602081101561055157600080fd5b50356001600160a01b03166115e4565b61027361160e565b61029c611631565b61029c611637565b61029c61163d565b6103b6611643565b610591611652565b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b6105ed611652565b60055460ff16151581151514156106035761065c565b6005805460ff1916821515179081905560ff161561062057426004555b6005546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b6013545b90565b6001600160a01b038116600090815260116020908152604080832054600f9092528220546106f691906106ea90670de0b6b3a7640000906106de906106b9906106ad6114e2565b9063ffffffff61169b16565b6001600160a01b0388166000908152601460205260409020549063ffffffff6116f816565b9063ffffffff61175816565b9063ffffffff6117c216565b92915050565b6002546001600160a01b031633146107455760405162461bcd60e51b815260040180806020018281038252602e815260200180611bc1602e913960400191505060405180910390fd5b600061074f6114e2565b600d5561075a611086565b600e556107656111c6565b600c556001600160a01b038116156107ac5761078081610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b038116156107f0576107c481611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b600854421061082c57600b5461080d90849063ffffffff61175816565b600955600b5461082490839063ffffffff61175816565b600a556108b0565b600854600090610842904263ffffffff61169b16565b9050600061085b600954836116f890919063ffffffff16565b600b54909150610875906106de878463ffffffff6117c216565b600955600a5460009061088f90849063ffffffff6116f816565b600b549091506108a9906106de878463ffffffff6117c216565b600a555050505b600554604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561090057600080fd5b505afa158015610914573d6000803e3d6000fd5b505050506040513d602081101561092a57600080fd5b5051600b5490915061094390829063ffffffff61175816565b6009541115610999576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4120746f6f2068696768000000000000604482015290519081900360640190fd5b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109e457600080fd5b505afa1580156109f8573d6000803e3d6000fd5b505050506040513d6020811015610a0e57600080fd5b5051600b54909150610a2790829063ffffffff61175816565b600a541115610a7d576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4220746f6f2068696768000000000000604482015290519081900360640190fd5b42600c819055600b54610a96919063ffffffff6117c216565b600855604080518681526020810186905281517f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55929181900390910190a15050505050565b60095481565b60116020526000908152604090205481565b600380546001019081905533610b076114e2565b600d55610b12611086565b600e55610b1d6111c6565b600c556001600160a01b03811615610b6457610b3881610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b03811615610ba857610b7c81611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b60008311610bf1576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b601354610c04908463ffffffff61169b16565b60135533600090815260146020526040902054610c27908463ffffffff61169b16565b33600081815260146020526040902091909155600754610c53916001600160a01b03909116908561181c565b60408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a2506003548114610ce0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b60106020526000908152604090205481565b600b5481565b600380546001019081905533610d106114e2565b600d55610d1b611086565b600e55610d266111c6565b600c556001600160a01b03811615610d6d57610d4181610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b03811615610db157610d8581611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b336000908152601160205260409020548015610e475733600081815260116020526040812055600554610dfa916101009091046001600160a01b0316908363ffffffff61181c16565b600554604080516101009092046001600160a01b0316825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b336000908152601260205260409020548015610ecf5733600081815260126020526040812055600654610e86916001600160a01b03909116908361181c565b600654604080516001600160a01b03909216825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b505050600354811461065c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000610f41600b546009546116f890919063ffffffff16565b905090565b600f6020526000908152604090205481565b600e5481565b6001546001600160a01b031681565b610f75611652565b6000610f7f6114e2565b600d55610f8a611086565b600e55610f956111c6565b600c556001600160a01b03811615610fdc57610fb081610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b0381161561102057610ff481611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b50600855565b60055460ff1681565b60055461010090046001600160a01b031681565b6001600160a01b03811660009081526012602090815260408083205460109092528220546106f691906106ea90670de0b6b3a7640000906106de906106b9906106ad5b60006013546000141561109c5750600e54610663565b610f416110d16013546106de670de0b6b3a76400006110c5600a546110c5600c546106ad6111c6565b9063ffffffff6116f816565b600e549063ffffffff6117c216565b6001600160a01b031660009081526014602052604090205490565b6007546001600160a01b031681565b6001546001600160a01b031633146111535760405162461bcd60e51b8152600401808060200182810382526035815260200180611b006035913960400191505060405180910390fd5b600054600154604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000610f4142600854611873565b6006546001600160a01b031681565b6111eb611652565b6007546001600160a01b03838116911614156112385760405162461bcd60e51b8152600401808060200182810382526021815260200180611c196021913960400191505060405180910390fd5b600054611258906001600160a01b0384811691168363ffffffff61181c16565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b6000546001600160a01b031681565b60045481565b600380546001019081905560055460ff16156113025760405162461bcd60e51b815260040180806020018281038252603c815260200180611b85603c913960400191505060405180910390fd5b3361130b6114e2565b600d55611316611086565b600e556113216111c6565b600c556001600160a01b038116156113685761133c81610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b038116156113ac5761138081611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b600083116113f2576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b601354611405908463ffffffff6117c216565b60135533600090815260146020526040902054611428908463ffffffff6117c216565b33600081815260146020526040902091909155600754611455916001600160a01b03909116903086611889565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2506003548114610ce0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000601354600014156114f85750600d54610663565b610f416115216013546106de670de0b6b3a76400006110c56009546110c5600c546106ad6111c6565b600d549063ffffffff6117c216565b6000610f41600b54600a546116f890919063ffffffff16565b60126020526000908152604090205481565b600c5481565b611569611652565b60085442116115a95760405162461bcd60e51b8152600401808060200182810382526058815260200180611aa86058913960600191505060405180910390fd5b600b8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6115ec611652565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526014602052604090205461162790610af3565b61162f610cfc565b565b60085481565b600a5481565b600d5481565b6002546001600160a01b031681565b6000546001600160a01b0316331461162f5760405162461bcd60e51b815260040180806020018281038252602f815260200180611b35602f913960400191505060405180910390fd5b6000828211156116f2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611707575060006106f6565b8282028284828161171457fe5b04146117515760405162461bcd60e51b8152600401808060200182810382526021815260200180611b646021913960400191505060405180910390fd5b9392505050565b60008082116117ae576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b60008284816117b957fe5b04949350505050565b600082820183811015611751576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261186e9084906118e9565b505050565b60008183106118825781611751565b5090919050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118e39085906118e9565b50505050565b6118fb826001600160a01b0316611aa1565b61194c576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061198a5780518252601f19909201916020918201910161196b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146119ec576040519150601f19603f3d011682016040523d82523d6000602084013e6119f1565b606091505b509150915081611a48576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156118e357808060200190516020811015611a6457600080fd5b50516118e35760405162461bcd60e51b815260040180806020018281038252602a815260200180611bef602a913960400191505060405180910390fd5b3b15159056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f64596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f74204475616c52657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea265627a7a7231582030fed9aae8bc8caa623df1b566163750f987a66a01f9be2d3f86bf8c548f5d6a64736f6c634300051100327265776172647320746f6b656e732073686f756c6420626520646966666572656e74000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000ca1207647ff814039530d7d35df0e1dd2e91fa84000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f000000000000000000000000303ffcd201831db88422b76f633458e94e05c33e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c806370a082311161013b578063a8fe1f69116100b8578063e9fad8ee1161007c578063e9fad8ee14610561578063ebe2b12b14610569578063efa1c63c14610571578063f563055014610579578063ff510b061461058157610248565b8063a8fe1f69146104e8578063b95f0079146104f0578063c8f33c9114610516578063cc1a378f1461051e578063dba0eb911461053b57610248565b80638980f11f116100ff5780638980f11f146104875780638da5cb5b146104b357806391b4ded9146104bb578063a694fc3a146104c3578063a85594ad146104e057610248565b806370a082311461044157806372f702f31461046757806379ba50971461046f57806380faa57d1461047757806388c4c6661461047f57610248565b80633d18b912116101c9578063556f6e6b1161018d578063556f6e6b146103d25780635c975abb146103ef5780635fd1020c1461040b57806360fb362614610413578063682133291461043957610248565b80633d18b912146103705780633f800bdd146103785780634ea4618b14610380578063513c508a146103a657806353a47bb7146103ae57610248565b8063255cfca311610210578063255cfca3146102f7578063266a74ca146102ff5780632e1a7d4d1461032557806334584d3a14610342578063386a95251461036857610248565b80631627540c1461024d57806316c38b3c1461027557806318160ddd146102945780631820d739146102ae578063246132f9146102d4575b600080fd5b6102736004803603602081101561026357600080fd5b50356001600160a01b0316610589565b005b6102736004803603602081101561028b57600080fd5b503515156105e5565b61029c61065f565b60408051918252519081900360200190f35b61029c600480360360208110156102c457600080fd5b50356001600160a01b0316610666565b610273600480360360408110156102ea57600080fd5b50803590602001356106fc565b61029c610adb565b61029c6004803603602081101561031557600080fd5b50356001600160a01b0316610ae1565b6102736004803603602081101561033b57600080fd5b5035610af3565b61029c6004803603602081101561035857600080fd5b50356001600160a01b0316610ce4565b61029c610cf6565b610273610cfc565b61029c610f28565b61029c6004803603602081101561039657600080fd5b50356001600160a01b0316610f46565b61029c610f58565b6103b6610f5e565b604080516001600160a01b039092168252519081900360200190f35b610273600480360360208110156103e857600080fd5b5035610f6d565b6103f7611026565b604080519115158252519081900360200190f35b6103b661102f565b61029c6004803603602081101561042957600080fd5b50356001600160a01b0316611043565b61029c611086565b61029c6004803603602081101561045757600080fd5b50356001600160a01b03166110e0565b6103b66110fb565b61027361110a565b61029c6111c6565b6103b66111d4565b6102736004803603604081101561049d57600080fd5b506001600160a01b0381351690602001356111e3565b6103b66112a0565b61029c6112af565b610273600480360360208110156104d957600080fd5b50356112b5565b61029c6114e2565b61029c611530565b61029c6004803603602081101561050657600080fd5b50356001600160a01b0316611549565b61029c61155b565b6102736004803603602081101561053457600080fd5b5035611561565b6102736004803603602081101561055157600080fd5b50356001600160a01b03166115e4565b61027361160e565b61029c611631565b61029c611637565b61029c61163d565b6103b6611643565b610591611652565b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b6105ed611652565b60055460ff16151581151514156106035761065c565b6005805460ff1916821515179081905560ff161561062057426004555b6005546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b6013545b90565b6001600160a01b038116600090815260116020908152604080832054600f9092528220546106f691906106ea90670de0b6b3a7640000906106de906106b9906106ad6114e2565b9063ffffffff61169b16565b6001600160a01b0388166000908152601460205260409020549063ffffffff6116f816565b9063ffffffff61175816565b9063ffffffff6117c216565b92915050565b6002546001600160a01b031633146107455760405162461bcd60e51b815260040180806020018281038252602e815260200180611bc1602e913960400191505060405180910390fd5b600061074f6114e2565b600d5561075a611086565b600e556107656111c6565b600c556001600160a01b038116156107ac5761078081610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b038116156107f0576107c481611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b600854421061082c57600b5461080d90849063ffffffff61175816565b600955600b5461082490839063ffffffff61175816565b600a556108b0565b600854600090610842904263ffffffff61169b16565b9050600061085b600954836116f890919063ffffffff16565b600b54909150610875906106de878463ffffffff6117c216565b600955600a5460009061088f90849063ffffffff6116f816565b600b549091506108a9906106de878463ffffffff6117c216565b600a555050505b600554604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561090057600080fd5b505afa158015610914573d6000803e3d6000fd5b505050506040513d602081101561092a57600080fd5b5051600b5490915061094390829063ffffffff61175816565b6009541115610999576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4120746f6f2068696768000000000000604482015290519081900360640190fd5b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109e457600080fd5b505afa1580156109f8573d6000803e3d6000fd5b505050506040513d6020811015610a0e57600080fd5b5051600b54909150610a2790829063ffffffff61175816565b600a541115610a7d576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4220746f6f2068696768000000000000604482015290519081900360640190fd5b42600c819055600b54610a96919063ffffffff6117c216565b600855604080518681526020810186905281517f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55929181900390910190a15050505050565b60095481565b60116020526000908152604090205481565b600380546001019081905533610b076114e2565b600d55610b12611086565b600e55610b1d6111c6565b600c556001600160a01b03811615610b6457610b3881610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b03811615610ba857610b7c81611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b60008311610bf1576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b601354610c04908463ffffffff61169b16565b60135533600090815260146020526040902054610c27908463ffffffff61169b16565b33600081815260146020526040902091909155600754610c53916001600160a01b03909116908561181c565b60408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a2506003548114610ce0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b60106020526000908152604090205481565b600b5481565b600380546001019081905533610d106114e2565b600d55610d1b611086565b600e55610d266111c6565b600c556001600160a01b03811615610d6d57610d4181610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b03811615610db157610d8581611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b336000908152601160205260409020548015610e475733600081815260116020526040812055600554610dfa916101009091046001600160a01b0316908363ffffffff61181c16565b600554604080516101009092046001600160a01b0316825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b336000908152601260205260409020548015610ecf5733600081815260126020526040812055600654610e86916001600160a01b03909116908361181c565b600654604080516001600160a01b03909216825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b505050600354811461065c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000610f41600b546009546116f890919063ffffffff16565b905090565b600f6020526000908152604090205481565b600e5481565b6001546001600160a01b031681565b610f75611652565b6000610f7f6114e2565b600d55610f8a611086565b600e55610f956111c6565b600c556001600160a01b03811615610fdc57610fb081610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b0381161561102057610ff481611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b50600855565b60055460ff1681565b60055461010090046001600160a01b031681565b6001600160a01b03811660009081526012602090815260408083205460109092528220546106f691906106ea90670de0b6b3a7640000906106de906106b9906106ad5b60006013546000141561109c5750600e54610663565b610f416110d16013546106de670de0b6b3a76400006110c5600a546110c5600c546106ad6111c6565b9063ffffffff6116f816565b600e549063ffffffff6117c216565b6001600160a01b031660009081526014602052604090205490565b6007546001600160a01b031681565b6001546001600160a01b031633146111535760405162461bcd60e51b8152600401808060200182810382526035815260200180611b006035913960400191505060405180910390fd5b600054600154604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000610f4142600854611873565b6006546001600160a01b031681565b6111eb611652565b6007546001600160a01b03838116911614156112385760405162461bcd60e51b8152600401808060200182810382526021815260200180611c196021913960400191505060405180910390fd5b600054611258906001600160a01b0384811691168363ffffffff61181c16565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b6000546001600160a01b031681565b60045481565b600380546001019081905560055460ff16156113025760405162461bcd60e51b815260040180806020018281038252603c815260200180611b85603c913960400191505060405180910390fd5b3361130b6114e2565b600d55611316611086565b600e556113216111c6565b600c556001600160a01b038116156113685761133c81610666565b6001600160a01b038216600090815260116020908152604080832093909355600d54600f909152919020555b6001600160a01b038116156113ac5761138081611043565b6001600160a01b038216600090815260126020908152604080832093909355600e546010909152919020555b600083116113f2576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b601354611405908463ffffffff6117c216565b60135533600090815260146020526040902054611428908463ffffffff6117c216565b33600081815260146020526040902091909155600754611455916001600160a01b03909116903086611889565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2506003548114610ce0576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000601354600014156114f85750600d54610663565b610f416115216013546106de670de0b6b3a76400006110c56009546110c5600c546106ad6111c6565b600d549063ffffffff6117c216565b6000610f41600b54600a546116f890919063ffffffff16565b60126020526000908152604090205481565b600c5481565b611569611652565b60085442116115a95760405162461bcd60e51b8152600401808060200182810382526058815260200180611aa86058913960600191505060405180910390fd5b600b8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6115ec611652565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526014602052604090205461162790610af3565b61162f610cfc565b565b60085481565b600a5481565b600d5481565b6002546001600160a01b031681565b6000546001600160a01b0316331461162f5760405162461bcd60e51b815260040180806020018281038252602f815260200180611b35602f913960400191505060405180910390fd5b6000828211156116f2576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611707575060006106f6565b8282028284828161171457fe5b04146117515760405162461bcd60e51b8152600401808060200182810382526021815260200180611b646021913960400191505060405180910390fd5b9392505050565b60008082116117ae576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b60008284816117b957fe5b04949350505050565b600082820183811015611751576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261186e9084906118e9565b505050565b60008183106118825781611751565b5090919050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526118e39085906118e9565b50505050565b6118fb826001600160a01b0316611aa1565b61194c576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061198a5780518252601f19909201916020918201910161196b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146119ec576040519150601f19603f3d011682016040523d82523d6000602084013e6119f1565b606091505b509150915081611a48576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156118e357808060200190516020811015611a6457600080fd5b50516118e35760405162461bcd60e51b815260040180806020018281038252602a815260200180611bef602a913960400191505060405180910390fd5b3b15159056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f64596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f74204475616c52657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea265627a7a7231582030fed9aae8bc8caa623df1b566163750f987a66a01f9be2d3f86bf8c548f5d6a64736f6c63430005110032

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

000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe000000000000000000000000ca1207647ff814039530d7d35df0e1dd2e91fa84000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f000000000000000000000000303ffcd201831db88422b76f633458e94e05c33e

-----Decoded View---------------
Arg [0] : _owner (address): 0xDe910777C787903F78C89e7a0bf7F4C435cBB1Fe
Arg [1] : _dualRewardsDistribution (address): 0xDe910777C787903F78C89e7a0bf7F4C435cBB1Fe
Arg [2] : _rewardsTokenA (address): 0xca1207647Ff814039530D7d35df0e1Dd2e91Fa84
Arg [3] : _rewardsTokenB (address): 0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
Arg [4] : _stakingToken (address): 0x303ffcD201831DB88422b76f633458e94E05C33e

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe
Arg [1] : 000000000000000000000000de910777c787903f78c89e7a0bf7f4c435cbb1fe
Arg [2] : 000000000000000000000000ca1207647ff814039530d7d35df0e1dd2e91fa84
Arg [3] : 000000000000000000000000c011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f
Arg [4] : 000000000000000000000000303ffcd201831db88422b76f633458e94e05c33e


Deployed Bytecode Sourcemap

20449:8437:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20449:8437:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17893:141;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17893:141:0;-1:-1:-1;;;;;17893:141:0;;:::i;:::-;;19752:488;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19752:488:0;;;;:::i;21997:93::-;;;:::i;:::-;;;;;;;;;;;;;;;;23043:202;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23043:202:0;-1:-1:-1;;;;;23043:202:0;;:::i;25365:1523::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25365:1523:0;;;;;;;:::i;20826:30::-;;;:::i;21200:43::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21200:43:0;-1:-1:-1;;;;;21200:43:0;;:::i;24179:357::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24179:357:0;;:::i;21135:58::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21135:58:0;-1:-1:-1;;;;;21135:58:0;;:::i;20900:39::-;;;:::i;24544:652::-;;;:::i;23476:123::-;;;:::i;21070:58::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21070:58:0;-1:-1:-1;;;;;21070:58:0;;:::i;21025:36::-;;;:::i;17662:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;17662:29:0;;;;;;;;;;;;;;26933:131;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26933:131:0;;:::i;19338:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;20687:27;;;:::i;23253:215::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23253:215:0;-1:-1:-1;;;;;23253:215:0;;:::i;22699:336::-;;;:::i;22098:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22098:112:0;-1:-1:-1;;;;;22098:112:0;;:::i;20755:26::-;;;:::i;18042:271::-;;;:::i;22218:131::-;;;:::i;20721:27::-;;;:::i;27179:302::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27179:302:0;;;;;;;;:::i;17635:20::-;;;:::i;19306:25::-;;;:::i;23792:379::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23792:379:0;;:::i;22357:334::-;;;:::i;23607:123::-;;;:::i;21250:43::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21250:43:0;-1:-1:-1;;;;;21250:43:0;;:::i;20946:29::-;;;:::i;27489:360::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27489:360:0;;:::i;19019:158::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19019:158:0;-1:-1:-1;;;;;19019:158:0;;:::i;25204:97::-;;;:::i;20788:31::-;;;:::i;20863:30::-;;;:::i;20982:36::-;;;:::i;18719:38::-;;;:::i;17893:141::-;18351:12;:10;:12::i;:::-;17965:14;:23;;-1:-1:-1;;;;;17965:23:0;;-1:-1:-1;;;;;;17965:23:0;;;;;;;;18004:22;;;;;;;;;;;;;;;;17893:141;:::o;19752:488::-;18351:12;:10;:12::i;:::-;19905:6;;;;19894:17;;;;;;19890:56;;;19928:7;;19890:56;19992:6;:16;;-1:-1:-1;;19992:16:0;;;;;;;;;;20077:6;20073:58;;;20116:3;20100:13;:19;20073:58;20225:6;;20212:20;;;20225:6;;;;20212:20;;;;;;;;;;;;;;18374:1;19752:488;:::o;21997:93::-;22070:12;;21997:93;;:::o;23043:202::-;-1:-1:-1;;;;;23219:17:0;;23098:7;23219:17;;;:8;:17;;;;;;;;;23170:23;:32;;;;;;23125:112;;23219:17;23125:89;;23209:4;;23125:79;;23148:55;;:17;:15;:17::i;:::-;:21;:55;:21;:55;:::i;:::-;-1:-1:-1;;;;;23125:18:0;;;;;;:9;:18;;;;;;;:79;:22;:79;:::i;:::-;:83;:89;:83;:89;:::i;:::-;:93;:112;:93;:112;:::i;:::-;23118:119;23043:202;-1:-1:-1;;23043:202:0:o;25365:1523::-;18917:23;;-1:-1:-1;;;;;18917:23:0;18903:10;:37;18895:96;;;;-1:-1:-1;;;18895:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25485:1;27978:17;:15;:17::i;:::-;27954:21;:41;28030:17;:15;:17::i;:::-;28006:21;:41;28075:26;:24;:26::i;:::-;28058:14;:43;-1:-1:-1;;;;;28116:21:0;;;28112:161;;28174:16;28182:7;28174;:16::i;:::-;-1:-1:-1;;;;;28154:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28240:21;;28205:23;:32;;;;;;:56;28112:161;-1:-1:-1;;;;;28297:21:0;;;28293:161;;28355:16;28363:7;28355;:16::i;:::-;-1:-1:-1;;;;;28335:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28421:21;;28386:23;:32;;;;;;:56;28293:161;25525:12;;25506:15;:31;25502:557;;25580:15;;25568:28;;:7;;:28;:11;:28;:::i;:::-;25554:11;:42;25637:15;;25625:28;;:7;;:28;:11;:28;:::i;:::-;25611:11;:42;25502:557;;;25706:12;;25686:17;;25706:33;;25723:15;25706:33;:16;:33;:::i;:::-;25686:53;;25780:17;25800:26;25814:11;;25800:9;:13;;:26;;;;:::i;:::-;25882:15;;25780:46;;-1:-1:-1;25855:43:0;;:22;:7;25780:46;25855:22;:11;:22;:::i;:43::-;25841:11;:57;25961:11;;25927:17;;25947:26;;:9;;:26;:13;:26;:::i;:::-;26029:15;;25927:46;;-1:-1:-1;26002:43:0;;:22;:7;25927:46;26002:22;:11;:22;:::i;:43::-;25988:11;:57;-1:-1:-1;;;25502:557:0;26435:13;;:38;;;-1:-1:-1;;;26435:38:0;;26467:4;26435:38;;;;;;-1:-1:-1;;26435:13:0;;;-1:-1:-1;;;;;26435:13:0;;:23;;:38;;;;;;;;;;;;;;:13;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;26435:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26435:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26435:38:0;26520:15;;26435:38;;-1:-1:-1;26507:29:0;;26435:38;;26507:29;:12;:29;:::i;:::-;26492:11;;:44;;26484:83;;;;;-1:-1:-1;;;26484:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26596:13;;:38;;;-1:-1:-1;;;26596:38:0;;26628:4;26596:38;;;;;;26580:13;;-1:-1:-1;;;;;26596:13:0;;:23;;:38;;;;;;;;;;;;;;:13;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;26596:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26596:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26596:38:0;26681:15;;26596:38;;-1:-1:-1;26668:29:0;;26596:38;;26668:29;:12;:29;:::i;:::-;26653:11;;:44;;26645:83;;;;;-1:-1:-1;;;26645:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26758:15;26741:14;:32;;;26819:15;;26799:36;;26758:15;26799:36;:19;:36;:::i;:::-;26784:12;:51;26851:29;;;;;;;;;;;;;;;;;;;;;;;;;28464:1;;19002;25365:1523;;:::o;20826:30::-;;;;:::o;21200:43::-;;;;;;;;;;;;;:::o;24179:357::-;16494:13;:18;;16511:1;16494:18;;;;;24246:10;27978:17;:15;:17::i;:::-;27954:21;:41;28030:17;:15;:17::i;:::-;28006:21;:41;28075:26;:24;:26::i;:::-;28058:14;:43;-1:-1:-1;;;;;28116:21:0;;;28112:161;;28174:16;28182:7;28174;:16::i;:::-;-1:-1:-1;;;;;28154:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28240:21;;28205:23;:32;;;;;;:56;28112:161;-1:-1:-1;;;;;28297:21:0;;;28293:161;;28355:16;28363:7;28355;:16::i;:::-;-1:-1:-1;;;;;28335:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28421:21;;28386:23;:32;;;;;;:56;28293:161;24286:1;24277:6;:10;24269:40;;;;;-1:-1:-1;;;24269:40:0;;;;;;;;;;;;-1:-1:-1;;;24269:40:0;;;;;;;;;;;;;;;24335:12;;:24;;24352:6;24335:24;:16;:24;:::i;:::-;24320:12;:39;24404:10;24394:21;;;;:9;:21;;;;;;:33;;24420:6;24394:33;:25;:33;:::i;:::-;24380:10;24370:21;;;;:9;:21;;;;;:57;;;;24438:12;;:45;;-1:-1:-1;;;;;24438:12:0;;;;24476:6;24438:25;:45::i;:::-;24499:29;;;;;;;;24509:10;;24499:29;;;;;;;;;;16570:1;16606:13;;16590:12;:29;16582:73;;;;;-1:-1:-1;;;16582:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24179:357;;:::o;21135:58::-;;;;;;;;;;;;;:::o;20900:39::-;;;;:::o;24544:652::-;16494:13;:18;;16511:1;16494:18;;;;;24598:10;27978:17;:15;:17::i;:::-;27954:21;:41;28030:17;:15;:17::i;:::-;28006:21;:41;28075:26;:24;:26::i;:::-;28058:14;:43;-1:-1:-1;;;;;28116:21:0;;;28112:161;;28174:16;28182:7;28174;:16::i;:::-;-1:-1:-1;;;;;28154:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28240:21;;28205:23;:32;;;;;;:56;28112:161;-1:-1:-1;;;;;28297:21:0;;;28293:161;;28355:16;28363:7;28355;:16::i;:::-;-1:-1:-1;;;;;28335:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28421:21;;28386:23;:32;;;;;;:56;28293:161;24654:10;24621:21;24645:20;;;:8;:20;;;;;;24680:17;;24676:223;;24723:10;24737:1;24714:20;;;:8;:20;;;;;:24;24753:13;;:53;;:13;;;;-1:-1:-1;;;;;24753:13:0;;24792;24753:53;:26;:53;:::i;:::-;24857:13;;24826:61;;;24857:13;;;;-1:-1:-1;;;;;24857:13:0;24826:61;;;;;;;;;;24837:10;;24826:61;;;;;;;;;24676:223;24944:10;24911:21;24935:20;;;:8;:20;;;;;;24970:17;;24966:223;;25013:10;25027:1;25004:20;;;:8;:20;;;;;:24;25043:13;;:53;;-1:-1:-1;;;;;25043:13:0;;;;25082;25043:26;:53::i;:::-;25147:13;;25116:61;;;-1:-1:-1;;;;;25147:13:0;;;25116:61;;;;;;;;;;25127:10;;25116:61;;;;;;;;;24966:223;28464:1;;16570;16606:13;;16590:12;:29;16582:73;;;;;-1:-1:-1;;;16582:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23476:123;23532:7;23559:32;23575:15;;23559:11;;:15;;:32;;;;:::i;:::-;23552:39;;23476:123;:::o;21070:58::-;;;;;;;;;;;;;:::o;21025:36::-;;;;:::o;17662:29::-;;;-1:-1:-1;;;;;17662:29:0;;:::o;26933:131::-;18351:12;:10;:12::i;:::-;27017:1;27978:17;:15;:17::i;:::-;27954:21;:41;28030:17;:15;:17::i;:::-;28006:21;:41;28075:26;:24;:26::i;:::-;28058:14;:43;-1:-1:-1;;;;;28116:21:0;;;28112:161;;28174:16;28182:7;28174;:16::i;:::-;-1:-1:-1;;;;;28154:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28240:21;;28205:23;:32;;;;;;:56;28112:161;-1:-1:-1;;;;;28297:21:0;;;28293:161;;28355:16;28363:7;28355;:16::i;:::-;-1:-1:-1;;;;;28335:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28421:21;;28386:23;:32;;;;;;:56;28293:161;-1:-1:-1;27032:12:0;:24;26933:131::o;19338:18::-;;;;;;:::o;20687:27::-;;;;;;-1:-1:-1;;;;;20687:27:0;;:::o;23253:215::-;-1:-1:-1;;;;;23442:17:0;;23308:7;23442:17;;;:8;:17;;;;;;;;;23393:23;:32;;;;;;23348:112;;23442:17;23348:89;;23432:4;;23348:79;;23371:55;;:17;22699:336;22747:7;22771:12;;22787:1;22771:17;22767:78;;;-1:-1:-1;22812:21:0;;22805:28;;22767:78;22877:150;22921:91;22999:12;;22921:73;22989:4;22921:63;22972:11;;22921:46;22952:14;;22921:26;:24;:26::i;:46::-;:50;:63;:50;:63;:::i;:91::-;22877:21;;;:150;:25;:150;:::i;22098:112::-;-1:-1:-1;;;;;22184:18:0;22157:7;22184:18;;;:9;:18;;;;;;;22098:112::o;20755:26::-;;;-1:-1:-1;;;;;20755:26:0;;:::o;18042:271::-;18111:14;;-1:-1:-1;;;;;18111:14:0;18097:10;:28;18089:94;;;;-1:-1:-1;;;18089:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18212:5;;;18219:14;18199:35;;;-1:-1:-1;;;;;18212:5:0;;;18199:35;;18219:14;;;;18199:35;;;;;;;;;;;;;;;;18253:14;;;;18245:22;;-1:-1:-1;;;;;;18245:22:0;;;-1:-1:-1;;;;;18253:14:0;;18245:22;;;;18278:27;;;18042:271::o;22218:131::-;22275:7;22302:39;22311:15;22328:12;;22302:8;:39::i;20721:27::-;;;-1:-1:-1;;;;;20721:27:0;;:::o;27179:302::-;18351:12;:10;:12::i;:::-;27306;;-1:-1:-1;;;;;27282:37:0;;;27306:12;;27282:37;;27274:83;;;;-1:-1:-1;;;27274:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27402:5;;27368:53;;-1:-1:-1;;;;;27368:33:0;;;;27402:5;27409:11;27368:53;:33;:53;:::i;:::-;27437:36;;;-1:-1:-1;;;;;27437:36:0;;;;;;;;;;;;;;;;;;;;;;;27179:302;;:::o;17635:20::-;;;-1:-1:-1;;;;;17635:20:0;;:::o;19306:25::-;;;;:::o;23792:379::-;16494:13;:18;;16511:1;16494:18;;;;;20329:6;;;;20328:7;20320:80;;;;-1:-1:-1;;;20320:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23868:10;27978:17;:15;:17::i;:::-;27954:21;:41;28030:17;:15;:17::i;:::-;28006:21;:41;28075:26;:24;:26::i;:::-;28058:14;:43;-1:-1:-1;;;;;28116:21:0;;;28112:161;;28174:16;28182:7;28174;:16::i;:::-;-1:-1:-1;;;;;28154:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28240:21;;28205:23;:32;;;;;;:56;28112:161;-1:-1:-1;;;;;28297:21:0;;;28293:161;;28355:16;28363:7;28355;:16::i;:::-;-1:-1:-1;;;;;28335:17:0;;;;;;:8;:17;;;;;;;;:36;;;;28421:21;;28386:23;:32;;;;;;:56;28293:161;23908:1;23899:6;:10;23891:37;;;;;-1:-1:-1;;;23891:37:0;;;;;;;;;;;;-1:-1:-1;;;23891:37:0;;;;;;;;;;;;;;;23954:12;;:24;;23971:6;23954:24;:16;:24;:::i;:::-;23939:12;:39;24023:10;24013:21;;;;:9;:21;;;;;;:33;;24039:6;24013:33;:25;:33;:::i;:::-;23999:10;23989:21;;;;:9;:21;;;;;:57;;;;24057:12;;:64;;-1:-1:-1;;;;;24057:12:0;;;;24107:4;24114:6;24057:29;:64::i;:::-;24137:26;;;;;;;;24144:10;;24137:26;;;;;;;;;;20411:1;16606:13;;16590:12;:29;16582:73;;;;;-1:-1:-1;;;16582:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22357:334;22405:7;22429:12;;22445:1;22429:17;22425:78;;;-1:-1:-1;22470:21:0;;22463:28;;22425:78;22533:150;22577:91;22655:12;;22577:73;22645:4;22577:63;22628:11;;22577:46;22608:14;;22577:26;:24;:26::i;:91::-;22533:21;;;:150;:25;:150;:::i;23607:123::-;23663:7;23690:32;23706:15;;23690:11;;:15;;:32;;;;:::i;21250:43::-;;;;;;;;;;;;;:::o;20946:29::-;;;;:::o;27489:360::-;18351:12;:10;:12::i;:::-;27613;;27595:15;:30;27573:168;;;;-1:-1:-1;;;27573:168:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27752:15;:34;;;27802:39;;;;;;;;;;;;;;;;;27489:360;:::o;19019:158::-;18351:12;:10;:12::i;:::-;19119:23;:50;;-1:-1:-1;;;;;;19119:50:0;-1:-1:-1;;;;;19119:50:0;;;;;;;;;;19019:158::o;25204:97::-;25259:10;25249:21;;;;:9;:21;;;;;;25240:31;;:8;:31::i;:::-;25282:11;:9;:11::i;:::-;25204:97::o;20788:31::-;;;;:::o;20863:30::-;;;;:::o;20982:36::-;;;;:::o;18719:38::-;;;-1:-1:-1;;;;;18719:38:0;;:::o;18391:133::-;18459:5;;-1:-1:-1;;;;;18459:5:0;18445:10;:19;18437:79;;;;-1:-1:-1;;;18437:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3873:184;3931:7;3964:1;3959;:6;;3951:49;;;;;-1:-1:-1;;;3951:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4023:5:0;;;3873:184::o;4308:470::-;4366:7;4610:6;4606:47;;-1:-1:-1;4640:1:0;4633:8;;4606:47;4677:5;;;4681:1;4677;:5;:1;4701:5;;;;;:10;4693:56;;;;-1:-1:-1;;;4693:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4769:1;4308:470;-1:-1:-1;;;4308:470:0:o;5246:333::-;5304:7;5403:1;5399;:5;5391:44;;;;;-1:-1:-1;;;5391:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5446:9;5462:1;5458;:5;;;;;;;5246:333;-1:-1:-1;;;;5246:333:0:o;3417:181::-;3475:7;3507:5;;;3531:6;;;;3523:46;;;;;-1:-1:-1;;;3523:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;12071:176;12180:58;;;-1:-1:-1;;;;;12180:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12180:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12154:85:0;;12173:5;;12154:18;:85::i;:::-;12071:176;;;:::o;2158:106::-;2216:7;2247:1;2243;:5;:13;;2255:1;2243:13;;;-1:-1:-1;2251:1:0;;2236:20;-1:-1:-1;2158:106:0:o;12255:204::-;12382:68;;;-1:-1:-1;;;;;12382:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12382:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12356:95:0;;12375:5;;12356:18;:95::i;:::-;12255:204;;;;:::o;14065:1114::-;14669:27;14677:5;-1:-1:-1;;;;;14669:25:0;;:27::i;:::-;14661:71;;;;;-1:-1:-1;;;14661:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14806:12;14820:23;14855:5;-1:-1:-1;;;;;14847:19:0;14867:4;14847: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;;;14847: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;;14805:67:0;;;;14891:7;14883:52;;;;;-1:-1:-1;;;14883:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14952:17;;:21;14948:224;;15094:10;15083:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15083:30:0;15075:85;;;;-1:-1:-1;;;15075:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11082:422;11449:20;11488:8;;;11082:422::o

Swarm Source

bzzr://30fed9aae8bc8caa623df1b566163750f987a66a01f9be2d3f86bf8c548f5d6a

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.