ETH Price: $3,023.75 (-3.53%)

Contract

0x9d5d0cb1B1210d4bf0e0FdCC6aCA1583fA48f0fD

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw All3894805252025-10-14 15:10:4652 days ago1760454646IN
Adamant Finance : Locked ARBY
0 ETH0.00000770.03748
Withdraw All3789904282025-09-14 7:42:1182 days ago1757835731IN
Adamant Finance : Locked ARBY
0 ETH0.000002790.01
Withdraw All3611740462025-07-24 19:42:37134 days ago1753386157IN
Adamant Finance : Locked ARBY
0 ETH0.000003050.01
Claim3611740062025-07-24 19:42:27134 days ago1753386147IN
Adamant Finance : Locked ARBY
0 ETH0.00000150.010363
Withdraw All3586044402025-07-17 9:31:50141 days ago1752744710IN
Adamant Finance : Locked ARBY
0 ETH0.000011560.051918
Claim3586043652025-07-17 9:31:31141 days ago1752744691IN
Adamant Finance : Locked ARBY
0 ETH0.000004690.053376
Claim3586038522025-07-17 9:29:24141 days ago1752744564IN
Adamant Finance : Locked ARBY
0 ETH0.000002540.028232
Withdraw All3583540572025-07-16 16:10:38142 days ago1752682238IN
Adamant Finance : Locked ARBY
0 ETH0.000014570.046927
Withdraw All3513886192025-06-26 11:46:39162 days ago1750938399IN
Adamant Finance : Locked ARBY
0 ETH0.000003090.01
Claim3513885522025-06-26 11:46:22162 days ago1750938382IN
Adamant Finance : Locked ARBY
0 ETH0.000001490.01
Withdraw All3460999222025-06-11 3:35:31177 days ago1749612931IN
Adamant Finance : Locked ARBY
0 ETH0.000002320.01
Claim3107151422025-02-28 7:49:25280 days ago1740728965IN
Adamant Finance : Locked ARBY
0 ETH0.000009250.055776
Claim2952666532025-01-14 7:46:02325 days ago1736840762IN
Adamant Finance : Locked ARBY
0 ETH0.000001090.01
Claim2348522912024-07-22 11:19:09501 days ago1721647149IN
Adamant Finance : Locked ARBY
0 ETH0.000001550.01
Withdraw All2274010452024-06-30 20:05:40523 days ago1719777940IN
Adamant Finance : Locked ARBY
0 ETH0.000002720.01
Claim2274009952024-06-30 20:05:28523 days ago1719777928IN
Adamant Finance : Locked ARBY
0 ETH0.000001190.01
Withdraw All2162266252024-05-29 10:59:58555 days ago1716980398IN
Adamant Finance : Locked ARBY
0 ETH0.000002540.01
Claim1989558592024-04-08 18:11:13606 days ago1712599873IN
Adamant Finance : Locked ARBY
0 ETH0.000002020.01
Withdraw All1985780082024-04-07 15:51:20607 days ago1712505080IN
Adamant Finance : Locked ARBY
0 ETH0.000002610.01
Claim1985778972024-04-07 15:50:52607 days ago1712505052IN
Adamant Finance : Locked ARBY
0 ETH0.000001060.01
Withdraw All1961498592024-03-31 14:21:39614 days ago1711894899IN
Adamant Finance : Locked ARBY
0 ETH0.000004910.01
Withdraw All1920778422024-03-19 18:36:40626 days ago1710873400IN
Adamant Finance : Locked ARBY
0 ETH0.000003920.01
Claim1883162742024-03-08 11:40:34637 days ago1709898034IN
Adamant Finance : Locked ARBY
0 ETH0.000089830.1
Withdraw All1878109312024-03-06 22:50:21639 days ago1709765421IN
Adamant Finance : Locked ARBY
0 ETH0.000168340.1
Claim1867368342024-03-03 16:30:43642 days ago1709483443IN
Adamant Finance : Locked ARBY
0 ETH0.000104270.1
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
720518382023-03-21 7:55:52990 days ago1679385352
Adamant Finance : Locked ARBY
0 ETH
720518382023-03-21 7:55:52990 days ago1679385352
Adamant Finance : Locked ARBY
0 ETH
720518382023-03-21 7:55:52990 days ago1679385352
Adamant Finance : Locked ARBY
0 ETH
720257992023-03-21 6:08:50990 days ago1679378930
Adamant Finance : Locked ARBY
0 ETH
706690402023-03-17 7:17:25994 days ago1679037445
Adamant Finance : Locked ARBY
0 ETH
706690402023-03-17 7:17:25994 days ago1679037445
Adamant Finance : Locked ARBY
0 ETH
706690402023-03-17 7:17:25994 days ago1679037445
Adamant Finance : Locked ARBY
0 ETH
706690402023-03-17 7:17:25994 days ago1679037445
Adamant Finance : Locked ARBY
0 ETH
687183172023-03-11 2:50:321000 days ago1678503032
Adamant Finance : Locked ARBY
0 ETH
640003852023-02-24 5:05:141015 days ago1677215114
Adamant Finance : Locked ARBY
0 ETH
640003852023-02-24 5:05:141015 days ago1677215114
Adamant Finance : Locked ARBY
0 ETH
640003852023-02-24 5:05:141015 days ago1677215114
Adamant Finance : Locked ARBY
0 ETH
609765122023-02-14 22:49:081025 days ago1676414948
Adamant Finance : Locked ARBY
0 ETH
609765122023-02-14 22:49:081025 days ago1676414948
Adamant Finance : Locked ARBY
0 ETH
609765122023-02-14 22:49:081025 days ago1676414948
Adamant Finance : Locked ARBY
0 ETH
609765122023-02-14 22:49:081025 days ago1676414948
Adamant Finance : Locked ARBY
0 ETH
608663772023-02-14 13:44:551025 days ago1676382295
Adamant Finance : Locked ARBY
0 ETH
608663772023-02-14 13:44:551025 days ago1676382295
Adamant Finance : Locked ARBY
0 ETH
608663772023-02-14 13:44:551025 days ago1676382295
Adamant Finance : Locked ARBY
0 ETH
608663772023-02-14 13:44:551025 days ago1676382295
Adamant Finance : Locked ARBY
0 ETH
605823282023-02-13 14:41:141026 days ago1676299274
Adamant Finance : Locked ARBY
0 ETH
580099452023-02-04 17:34:321035 days ago1675532072
Adamant Finance : Locked ARBY
0 ETH
580099452023-02-04 17:34:321035 days ago1675532072
Adamant Finance : Locked ARBY
0 ETH
580099452023-02-04 17:34:321035 days ago1675532072
Adamant Finance : Locked ARBY
0 ETH
580099452023-02-04 17:34:321035 days ago1675532072
Adamant Finance : Locked ARBY
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingDualRewards2

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan.io on 2021-09-15
*/

pragma solidity ^0.6.12;
// SPDX-License-Identifier: UNLICENSED


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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


/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

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

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on 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;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}



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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "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 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 Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied 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.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// Inheritance

// https://docs.synthetix.io/contracts/Pausable
abstract contract Pausable is Ownable {
    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");
        _;
    }
}
interface IStrategy {
    //Returns the token sent to the fee dist contract, which is used to calculate the amount of ADDY to mint when claiming rewards
    function getFeeDistToken() external view returns (address);

    //Returns the harvested token, which is not guaranteed to be the fee dist token
    function getHarvestedToken() external view returns (address);

    function lastHarvestTime() external view returns (uint256);

    function rewards() external view returns (address);

    function want() external view returns (address);

    function deposit() external;

    function withdrawForSwap(uint256) external returns (uint256);

    function withdraw(uint256) external;

    function balanceOf() external view returns (uint256);

    function getHarvestable() external view returns (uint256);

    function harvest() external;

    function setJar(address _jar) external;
}//Modified SNX's StakingDualRewards contract


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

    //Renamed from `totalSupply()` to match LockedAddyVault
    function balance() external view returns (uint256);

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

    // Mutative

    //Renamed from `stake()` to match LockedAddyVault
    function deposit(uint256 amount, uint256 duration) external;

    function withdraw(uint256 amount) external;

    //Renamed from `getReward()` to match LockedAddyVault
    function claim() external;

    //Renamed from `exit()` to match LockedAddyVault
    function withdrawAll() external;
}

abstract contract DualRewardsDistributionRecipient is Ownable {
    address public dualRewardsDistribution;

    function notifyRewardAmount(uint256 rewardA, uint256 rewardB) external virtual;

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

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

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

    uint256 public constant MIN_DURATION = 91 days; //13 weeks
    uint256 public constant MAX_DURATION = 1460 days; //4 years

    /* ========== 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 = 1; //instantly distribute rewards
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenAStored;
    uint256 public rewardPerTokenBStored;

    address public strategy;

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

    mapping(address => bool) public approvedStakers;

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

    bool public unlockedStakes; // Release lock stakes in case of system migration

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

    constructor(
        address _strategy,
        address _rewardsTokenA, //WMATIC
        address _rewardsTokenB, //ADDY
        address _stakingToken
    ) public {
        require(_rewardsTokenA != _rewardsTokenB, "rewards tokens should be different");
        rewardsTokenA = IERC20(_rewardsTokenA);
        rewardsTokenB = IERC20(_rewardsTokenB);
        stakingToken = IERC20(_stakingToken);

        dualRewardsDistribution = _strategy;
        strategy = _strategy;
    }

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

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

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

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

    function rewardPerTokenA() public override view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenAStored;
        }
        return
            rewardPerTokenAStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRateA).mul(1e18).div(_totalSupply)
            );
    }

    function rewardPerTokenB() public override 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 override view returns (uint256) {
        return _balances[account].mul(rewardPerTokenA().sub(userRewardPerTokenAPaid[account])).div(1e18).add(rewardsA[account]);
    }

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

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

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

    //Functions added for compatibility with LockedAddyVault
    function getLastDepositTime(address _user) public view returns (uint256) {
        return userDepositTime[_user];
    }

    function getEndingTimestamp(address _user) public view returns (uint256) {
        return userUnlockTime[_user];
    }

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

    function setLockEndingDate(uint256 duration) external nonReentrant notPaused {
        require(duration >= MIN_DURATION, "minimum lock duration is 91 days");
        require(duration <= MAX_DURATION, "maximum lock duration is 4 years");
        userUnlockTime[msg.sender] = Math.max(userUnlockTime[msg.sender], now.add(duration));
    }

    //Added for compatibility with LockedAddyVault
    function depositAll(uint256 duration) external {
        deposit(stakingToken.balanceOf(msg.sender), duration);
    }

    function depositFor(address beneficiary, uint256 amount, uint256 duration) public nonReentrant notPaused updateReward(beneficiary) {
        //To prevent griefers from permanently locking users by depositing for them
        require(beneficiary == msg.sender || approvedStakers[msg.sender], "Not authorized to stake for msg.sender");

        require(amount > 0, "Cannot stake 0");
        require(duration >= MIN_DURATION, "minimum lock duration is 91 days"); //lock time of the fee distribution contract is 13 weeks = 91 days
        require(duration <= MAX_DURATION, "maximum lock duration is 4 years");

        _totalSupply = _totalSupply.add(amount);
        _balances[beneficiary] = _balances[beneficiary].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);

        userUnlockTime[beneficiary] = Math.max(userUnlockTime[beneficiary], now.add(duration));
        userDepositTime[beneficiary] = now;

        stakingToken.safeTransfer(strategy, amount);
        IStrategy(strategy).deposit();

        emit Staked(beneficiary, amount, userUnlockTime[beneficiary]);
    }

    function deposit(uint256 amount, uint256 duration) public override {
        depositFor(msg.sender, amount, duration);
    }

    function withdraw(uint256 amount) public override nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        //Even if unlockedStakes is true, locked stakes in the fee dist contract have a 91 day minimum lock time
        require(userUnlockTime[msg.sender] < now || (unlockedStakes && userDepositTime[msg.sender].add(MIN_DURATION) < now), "Can't withdraw yet");

        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);

        IStrategy(strategy).withdraw(amount);

        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function claim() public override nonReentrant updateReward(msg.sender) {
        require(userUnlockTime[msg.sender] > now || unlockedStakes, "User must withdraw and restake if their lock is expired");

        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 withdrawAll() external override {
        withdraw(_balances[msg.sender]);
        _claim();
    }

    //Copy of the normal claim() function, used by withdrawAll()
    function _claim() internal 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);
        }
    }

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

    function notifyRewardAmount(uint256 rewardA, uint256 rewardB) external override 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);
    }

    function unlockStakes() external onlyOwner {
        unlockedStakes = !unlockedStakes;
    }

    function setApprovedStaker(address _staker, bool _approved) external onlyOwner {
        approvedStakers[_staker] = _approved;
    }

    /* ========== 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, uint256 endingTimeStamp);
    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

API
[{"inputs":[{"internalType":"address","name":"_strategy","type":"address"},{"internalType":"address","name":"_rewardsTokenA","type":"address"},{"internalType":"address","name":"_rewardsTokenB","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"indexed":false,"internalType":"uint256","name":"endingTimeStamp","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"},{"inputs":[],"name":"MAX_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedStakers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dualRewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earnedA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earnedB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getEndingTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getLastDepositTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardAForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardBForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardA","type":"uint256"},{"internalType":"uint256","name":"rewardB","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerTokenA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenAStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenBStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRateA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRateB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardsB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsTokenA","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsTokenB","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovedStaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dualRewardsDistribution","type":"address"}],"name":"setDualRewardsDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"setLockEndingDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockStakes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockedStakes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"updatePeriodFinish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userDepositTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenAPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenBPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600755600060085560006009556001600a553480156200002557600080fd5b5060405162002b9238038062002b92833981810160405260808110156200004b57600080fd5b508051602082015160408301516060909301519192909160006200006e62000175565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016002556001600160a01b0383811690831614156200010a5760405162461bcd60e51b815260040180806020018281038252602281526020018062002b706022913960400191505060405180910390fd5b600480546001600160a01b0394851661010002610100600160a81b0319909116179055600580549284166001600160a01b03199384161790556006805491841691831691909117905560018054939092169281168317909155600e8054909116909117905562000179565b3390565b6129e780620001896000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c806388c4c666116101b8578063c6f678bd11610104578063e2bbb158116100a2578063f2fde38b1161007c578063f2fde38b1461078a578063f5630550146107b0578063fa20a042146107b8578063ff510b06146107de57610327565b8063e2bbb15814610757578063ebe2b12b1461077a578063efa1c63c1461078257610327565b8063cf27e06f116100de578063cf27e06f146106dd578063dba0eb9114610703578063dc582bbe14610729578063e1ba95d21461074f57610327565b8063c6f678bd1461069b578063c8f33c91146106b8578063cc1a378f146106c057610327565b8063a8c62e7611610171578063b1724b461161014b578063b1724b461461065d578063b69ef8a814610665578063b6a6d1771461066d578063b95f00791461067557610327565b8063a8c62e7614610627578063a8fe1f691461062f578063ab7f043a1461063757610327565b806388c4c666146105b55780638980f11f146105bd5780638da5cb5b146105e957806391b4ded9146105f15780639c2006c1146105f9578063a85594ad1461061f57610327565b80634ea4618b116102775780636821332911610230578063715018a61161020a578063715018a61461059557806372f702f31461059d57806380faa57d146105a5578063853828b6146105ad57610327565b8063682133291461053957806368c1c0881461054157806370a082311461056f57610327565b80634ea4618b1461049c578063513c508a146104c2578063556f6e6b146104ca5780635c975abb146104e75780635fd1020c146104ef57806360fb36261461051357610327565b806334584d3a116102e45780633b21b404116102be5780633b21b4041461043d5780633f800bdd1461045a5780634cf5fbf5146104625780634e71d92d1461049457610327565b806334584d3a146103f3578063386a952514610419578063399f54671461042157610327565b806316c38b3c1461032c5780631820d7391461034d578063246132f914610385578063255cfca3146103a8578063266a74ca146103b05780632e1a7d4d146103d6575b600080fd5b61034b6004803603602081101561034257600080fd5b503515156107e6565b005b6103736004803603602081101561036357600080fd5b50356001600160a01b03166108ba565b60408051918252519081900360200190f35b61034b6004803603604081101561039b57600080fd5b5080359060200135610938565b610373610cf5565b610373600480360360208110156103c657600080fd5b50356001600160a01b0316610cfb565b61034b600480360360208110156103ec57600080fd5b5035610d0d565b6103736004803603602081101561040957600080fd5b50356001600160a01b0316610fc9565b610373610fdb565b610429610fe1565b604080519115158252519081900360200190f35b61034b6004803603602081101561045357600080fd5b5035610fea565b610373611161565b61034b6004803603606081101561047857600080fd5b506001600160a01b038135169060208101359060400135611180565b61034b61159a565b610373600480360360208110156104b257600080fd5b50356001600160a01b0316611809565b61037361181b565b61034b600480360360208110156104e057600080fd5b5035611821565b610429611934565b6104f761193d565b604080516001600160a01b039092168252519081900360200190f35b6103736004803603602081101561052957600080fd5b50356001600160a01b0316611951565b610373611994565b61034b6004803603604081101561055757600080fd5b506001600160a01b03813516906020013515156119e2565b6103736004803603602081101561058557600080fd5b50356001600160a01b0316611a6f565b61034b611a8a565b6104f7611b36565b610373611b45565b61034b611b53565b6104f7611b76565b61034b600480360360408110156105d357600080fd5b506001600160a01b038135169060200135611b85565b6104f7611c98565b610373611ca7565b6103736004803603602081101561060f57600080fd5b50356001600160a01b0316611cad565b610373611cbf565b6104f7611d07565b610373611d16565b6103736004803603602081101561064d57600080fd5b50356001600160a01b0316611d2f565b610373611d4a565b610373611d52565b610373611d58565b6103736004803603602081101561068b57600080fd5b50356001600160a01b0316611d5f565b61034b600480360360208110156106b157600080fd5b5035611d71565b610373611def565b61034b600480360360208110156106d657600080fd5b5035611df5565b610373600480360360208110156106f357600080fd5b50356001600160a01b0316611ed2565b61034b6004803603602081101561071957600080fd5b50356001600160a01b0316611ee4565b6103736004803603602081101561073f57600080fd5b50356001600160a01b0316611f68565b61034b611f83565b61034b6004803603604081101561076d57600080fd5b5080359060200135611ff9565b610373612008565b61037361200e565b61034b600480360360208110156107a057600080fd5b50356001600160a01b0316612014565b610373612116565b610429600480360360208110156107ce57600080fd5b50356001600160a01b031661211c565b6104f7612131565b6107ee612140565b6001600160a01b03166107ff611c98565b6001600160a01b031614610848576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b60045460ff161515811515141561085e576108b7565b6004805460ff1916821515179081905560ff161561087b57426003555b6004546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b6001600160a01b0381166000908152601360209081526040808320546011909252822054610932919061092c90670de0b6b3a7640000906109269061090790610901611cbf565b90612144565b6001600160a01b038816600090815260176020526040902054906121a1565b90612201565b90612268565b92915050565b6001546001600160a01b031633146109815760405162461bcd60e51b815260040180806020018281038252602e815260200180612902602e913960400191505060405180910390fd5b600061098b611cbf565b600c55610996611994565b600d556109a1611b45565b600b556001600160a01b038116156109e8576109bc816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b03811615610a2c57610a0081611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b6007544210610a5c57600a54610a43908490612201565b600855600a54610a54908390612201565b600955610ac8565b600754600090610a6c9042612144565b90506000610a85600854836121a190919063ffffffff16565b600a54909150610a99906109268784612268565b600855600954600090610aad9084906121a1565b600a54909150610ac1906109268784612268565b6009555050505b6000600460019054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b2c57600080fd5b505afa158015610b40573d6000803e3d6000fd5b505050506040513d6020811015610b5657600080fd5b5051600a54909150610b69908290612201565b6008541115610bbf576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4120746f6f2068696768000000000000604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610c0a57600080fd5b505afa158015610c1e573d6000803e3d6000fd5b505050506040513d6020811015610c3457600080fd5b5051600a54909150610c47908290612201565b6009541115610c9d576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4220746f6f2068696768000000000000604482015290519081900360640190fd5b42600b819055600a54610cb09190612268565b600755604080518681526020810186905281517f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55929181900390910190a15050505050565b60085481565b60136020526000908152604090205481565b600280541415610d52576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805533610d5f611cbf565b600c55610d6a611994565b600d55610d75611b45565b600b556001600160a01b03811615610dbc57610d90816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b03811615610e0057610dd481611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b60008211610e49576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b336000908152600f6020526040902054421180610e8f575060185460ff168015610e8f5750336000908152601060205260409020544290610e8d906277f880612268565b105b610ed5576040805162461bcd60e51b815260206004820152601260248201527110d85b89dd081dda5d1a191c985dc81e595d60721b604482015290519081900360640190fd5b601654610ee29083612144565b60165533600090815260176020526040902054610eff9083612144565b3360009081526017602052604080822092909255600e548251632e1a7d4d60e01b81526004810186905292516001600160a01b0390911692632e1a7d4d92602480830193919282900301818387803b158015610f5a57600080fd5b505af1158015610f6e573d6000803e3d6000fd5b5050600654610f8a92506001600160a01b0316905033846122c2565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600255565b60126020526000908152604090205481565b600a5481565b60185460ff1681565b60028054141561102f576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805560045460ff16156110755760405162461bcd60e51b815260040180806020018281038252603c8152602001806128c6603c913960400191505060405180910390fd5b6277f8808110156110cd576040805162461bcd60e51b815260206004820181905260248201527f6d696e696d756d206c6f636b206475726174696f6e2069732039312064617973604482015290519081900360640190fd5b630784ce00811115611126576040805162461bcd60e51b815260206004820181905260248201527f6d6178696d756d206c6f636b206475726174696f6e2069732034207965617273604482015290519081900360640190fd5b336000908152600f6020526040902054611149906111444284612268565b612319565b336000908152600f6020526040902055506001600255565b600061117a600a546008546121a190919063ffffffff16565b90505b90565b6002805414156111c5576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805560045460ff161561120b5760405162461bcd60e51b815260040180806020018281038252603c8152602001806128c6603c913960400191505060405180910390fd5b82611214611cbf565b600c5561121f611994565b600d5561122a611b45565b600b556001600160a01b0381161561127157611245816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b038116156112b55761128981611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b6001600160a01b0384163314806112db57503360009081526015602052604090205460ff165b6113165760405162461bcd60e51b815260040180806020018281038252602681526020018061285f6026913960400191505060405180910390fd5b6000831161135c576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6277f8808210156113b4576040805162461bcd60e51b815260206004820181905260248201527f6d696e696d756d206c6f636b206475726174696f6e2069732039312064617973604482015290519081900360640190fd5b630784ce0082111561140d576040805162461bcd60e51b815260206004820181905260248201527f6d6178696d756d206c6f636b206475726174696f6e2069732034207965617273604482015290519081900360640190fd5b60165461141a9084612268565b6016556001600160a01b0384166000908152601760205260409020546114409084612268565b6001600160a01b0380861660009081526017602052604090209190915560065461146d9116333086612330565b6001600160a01b0384166000908152600f6020526040902054611494906111444285612268565b6001600160a01b038086166000908152600f60209081526040808320949094556010905291909120429055600e546006546114d4929081169116856122c2565b600e60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561152457600080fd5b505af1158015611538573d6000803e3d6000fd5b505050506001600160a01b0384166000818152600f60209081526040918290205482518781529182015281517f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90929181900390910190a2505060016002555050565b6002805414156115df576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b60028055336115ec611cbf565b600c556115f7611994565b600d55611602611b45565b600b556001600160a01b038116156116495761161d816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b0381161561168d5761166181611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b336000908152600f60205260409020544210806116ac575060185460ff165b6116e75760405162461bcd60e51b81526004018080602001828103825260378152602001806129306037913960400191505060405180910390fd5b336000908152601360205260409020548015611777573360008181526013602052604081205560045461172a916101009091046001600160a01b031690836122c2565b600454604080516101009092046001600160a01b0316825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b3360009081526014602052604090205480156117ff57336000818152601460205260408120556005546117b6916001600160a01b0390911690836122c2565b600554604080516001600160a01b03909216825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b5050600160025550565b60116020526000908152604090205481565b600d5481565b611829612140565b6001600160a01b031661183a611c98565b6001600160a01b031614611883576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600061188d611cbf565b600c55611898611994565b600d556118a3611b45565b600b556001600160a01b038116156118ea576118be816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b0381161561192e5761190281611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b50600755565b60045460ff1681565b60045461010090046001600160a01b031681565b6001600160a01b0381166000908152601460209081526040808320546012909252822054610932919061092c90670de0b6b3a76400009061092690610907906109015b6000601654600014156119aa5750600d5461117d565b61117a6119d9601654610926670de0b6b3a76400006119d36009546119d3600b54610901611b45565b906121a1565b600d5490612268565b6119ea612140565b6001600160a01b03166119fb611c98565b6001600160a01b031614611a44576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b031660009081526017602052604090205490565b611a92612140565b6001600160a01b0316611aa3611c98565b6001600160a01b031614611aec576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6006546001600160a01b031681565b600061117a42600754612390565b33600090815260176020526040902054611b6c90610d0d565b611b7461239f565b565b6005546001600160a01b031681565b611b8d612140565b6001600160a01b0316611b9e611c98565b6001600160a01b031614611be7576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6006546001600160a01b0383811691161415611c345760405162461bcd60e51b81526004018080602001828103825260218152602001806129916021913960400191505060405180910390fd5b611c50611c3f611c98565b6001600160a01b03841690836122c2565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b6000546001600160a01b031690565b60035481565b600f6020526000908152604090205481565b600060165460001415611cd55750600c5461117d565b61117a611cfe601654610926670de0b6b3a76400006119d36008546119d3600b54610901611b45565b600c5490612268565b600e546001600160a01b031681565b600061117a600a546009546121a190919063ffffffff16565b6001600160a01b031660009081526010602052604090205490565b630784ce0081565b60165490565b6277f88081565b60146020526000908152604090205481565b600654604080516370a0823160e01b815233600482015290516108b7926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611dbd57600080fd5b505afa158015611dd1573d6000803e3d6000fd5b505050506040513d6020811015611de757600080fd5b505182611ff9565b600b5481565b611dfd612140565b6001600160a01b0316611e0e611c98565b6001600160a01b031614611e57576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6007544211611e975760405162461bcd60e51b815260040180806020018281038252605881526020018061279b6058913960600191505060405180910390fd5b600a8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b60106020526000908152604090205481565b611eec612140565b6001600160a01b0316611efd611c98565b6001600160a01b031614611f46576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600f602052604090205490565b611f8b612140565b6001600160a01b0316611f9c611c98565b6001600160a01b031614611fe5576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6018805460ff19811660ff90911615179055565b612004338383611180565b5050565b60075481565b60095481565b61201c612140565b6001600160a01b031661202d611c98565b6001600160a01b031614612076576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6001600160a01b0381166120bb5760405162461bcd60e51b81526004018080602001828103825260268152602001806128136026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c5481565b60156020526000908152604090205460ff1681565b6001546001600160a01b031681565b3390565b60008282111561219b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826121b057506000610932565b828202828482816121bd57fe5b04146121fa5760405162461bcd60e51b81526004018080602001828103825260218152602001806128856021913960400191505060405180910390fd5b9392505050565b6000808211612257576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161226057fe5b049392505050565b6000828201838110156121fa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526123149084906124cc565b505050565b60008183101561232957816121fa565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261238a9085906124cc565b50505050565b600081831061232957816121fa565b6002805414156123e4576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b60028055336123f1611cbf565b600c556123fc611994565b600d55612407611b45565b600b556001600160a01b0381161561244e57612422816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b038116156116e75761246681611951565b6001600160a01b038216600090815260146020908152604080832093909355600d5460128252838320553382526013905220548015611777573360008181526013602052604081205560045461172a916101009091046001600160a01b031690836122c2565b6060612521826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661257d9092919063ffffffff16565b8051909150156123145780806020019051602081101561254057600080fd5b50516123145760405162461bcd60e51b815260040180806020018281038252602a815260200180612967602a913960400191505060405180910390fd5b606061258c8484600085612594565b949350505050565b6060824710156125d55760405162461bcd60e51b81526004018080602001828103825260268152602001806128396026913960400191505060405180910390fd5b6125de856126f0565b61262f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061266e5780518252601f19909201916020918201910161264f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126d0576040519150601f19603f3d011682016040523d82523d6000602084013e6126d5565b606091505b50915091506126e58282866126f6565b979650505050505050565b3b151590565b606083156127055750816121fa565b8251156127155782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561275f578181015183820152602001612747565b50505050905090810190601f16801561278c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f645265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6f7420617574686f72697a656420746f207374616b6520666f72206d73672e73656e646572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f74204475616c52657761726473446973747269627574696f6e20636f6e747261637455736572206d75737420776974686472617720616e642072657374616b65206966207468656972206c6f636b20697320657870697265645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea26469706673582212209952e2c1467d673a1d00591f70944c7b1f6fa14de2646549416aa727fef25ca864736f6c634300060c00337265776172647320746f6b656e732073686f756c6420626520646966666572656e74000000000000000000000000bbb3d3de73b972a018144fa2565f4bf9c8efa88300000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000009ad12552ec45f82be90b38dfe7b06332a68086400000000000000000000000009ad12552ec45f82be90b38dfe7b06332a680864

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103275760003560e01c806388c4c666116101b8578063c6f678bd11610104578063e2bbb158116100a2578063f2fde38b1161007c578063f2fde38b1461078a578063f5630550146107b0578063fa20a042146107b8578063ff510b06146107de57610327565b8063e2bbb15814610757578063ebe2b12b1461077a578063efa1c63c1461078257610327565b8063cf27e06f116100de578063cf27e06f146106dd578063dba0eb9114610703578063dc582bbe14610729578063e1ba95d21461074f57610327565b8063c6f678bd1461069b578063c8f33c91146106b8578063cc1a378f146106c057610327565b8063a8c62e7611610171578063b1724b461161014b578063b1724b461461065d578063b69ef8a814610665578063b6a6d1771461066d578063b95f00791461067557610327565b8063a8c62e7614610627578063a8fe1f691461062f578063ab7f043a1461063757610327565b806388c4c666146105b55780638980f11f146105bd5780638da5cb5b146105e957806391b4ded9146105f15780639c2006c1146105f9578063a85594ad1461061f57610327565b80634ea4618b116102775780636821332911610230578063715018a61161020a578063715018a61461059557806372f702f31461059d57806380faa57d146105a5578063853828b6146105ad57610327565b8063682133291461053957806368c1c0881461054157806370a082311461056f57610327565b80634ea4618b1461049c578063513c508a146104c2578063556f6e6b146104ca5780635c975abb146104e75780635fd1020c146104ef57806360fb36261461051357610327565b806334584d3a116102e45780633b21b404116102be5780633b21b4041461043d5780633f800bdd1461045a5780634cf5fbf5146104625780634e71d92d1461049457610327565b806334584d3a146103f3578063386a952514610419578063399f54671461042157610327565b806316c38b3c1461032c5780631820d7391461034d578063246132f914610385578063255cfca3146103a8578063266a74ca146103b05780632e1a7d4d146103d6575b600080fd5b61034b6004803603602081101561034257600080fd5b503515156107e6565b005b6103736004803603602081101561036357600080fd5b50356001600160a01b03166108ba565b60408051918252519081900360200190f35b61034b6004803603604081101561039b57600080fd5b5080359060200135610938565b610373610cf5565b610373600480360360208110156103c657600080fd5b50356001600160a01b0316610cfb565b61034b600480360360208110156103ec57600080fd5b5035610d0d565b6103736004803603602081101561040957600080fd5b50356001600160a01b0316610fc9565b610373610fdb565b610429610fe1565b604080519115158252519081900360200190f35b61034b6004803603602081101561045357600080fd5b5035610fea565b610373611161565b61034b6004803603606081101561047857600080fd5b506001600160a01b038135169060208101359060400135611180565b61034b61159a565b610373600480360360208110156104b257600080fd5b50356001600160a01b0316611809565b61037361181b565b61034b600480360360208110156104e057600080fd5b5035611821565b610429611934565b6104f761193d565b604080516001600160a01b039092168252519081900360200190f35b6103736004803603602081101561052957600080fd5b50356001600160a01b0316611951565b610373611994565b61034b6004803603604081101561055757600080fd5b506001600160a01b03813516906020013515156119e2565b6103736004803603602081101561058557600080fd5b50356001600160a01b0316611a6f565b61034b611a8a565b6104f7611b36565b610373611b45565b61034b611b53565b6104f7611b76565b61034b600480360360408110156105d357600080fd5b506001600160a01b038135169060200135611b85565b6104f7611c98565b610373611ca7565b6103736004803603602081101561060f57600080fd5b50356001600160a01b0316611cad565b610373611cbf565b6104f7611d07565b610373611d16565b6103736004803603602081101561064d57600080fd5b50356001600160a01b0316611d2f565b610373611d4a565b610373611d52565b610373611d58565b6103736004803603602081101561068b57600080fd5b50356001600160a01b0316611d5f565b61034b600480360360208110156106b157600080fd5b5035611d71565b610373611def565b61034b600480360360208110156106d657600080fd5b5035611df5565b610373600480360360208110156106f357600080fd5b50356001600160a01b0316611ed2565b61034b6004803603602081101561071957600080fd5b50356001600160a01b0316611ee4565b6103736004803603602081101561073f57600080fd5b50356001600160a01b0316611f68565b61034b611f83565b61034b6004803603604081101561076d57600080fd5b5080359060200135611ff9565b610373612008565b61037361200e565b61034b600480360360208110156107a057600080fd5b50356001600160a01b0316612014565b610373612116565b610429600480360360208110156107ce57600080fd5b50356001600160a01b031661211c565b6104f7612131565b6107ee612140565b6001600160a01b03166107ff611c98565b6001600160a01b031614610848576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b60045460ff161515811515141561085e576108b7565b6004805460ff1916821515179081905560ff161561087b57426003555b6004546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b6001600160a01b0381166000908152601360209081526040808320546011909252822054610932919061092c90670de0b6b3a7640000906109269061090790610901611cbf565b90612144565b6001600160a01b038816600090815260176020526040902054906121a1565b90612201565b90612268565b92915050565b6001546001600160a01b031633146109815760405162461bcd60e51b815260040180806020018281038252602e815260200180612902602e913960400191505060405180910390fd5b600061098b611cbf565b600c55610996611994565b600d556109a1611b45565b600b556001600160a01b038116156109e8576109bc816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b03811615610a2c57610a0081611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b6007544210610a5c57600a54610a43908490612201565b600855600a54610a54908390612201565b600955610ac8565b600754600090610a6c9042612144565b90506000610a85600854836121a190919063ffffffff16565b600a54909150610a99906109268784612268565b600855600954600090610aad9084906121a1565b600a54909150610ac1906109268784612268565b6009555050505b6000600460019054906101000a90046001600160a01b03166001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610b2c57600080fd5b505afa158015610b40573d6000803e3d6000fd5b505050506040513d6020811015610b5657600080fd5b5051600a54909150610b69908290612201565b6008541115610bbf576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4120746f6f2068696768000000000000604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610c0a57600080fd5b505afa158015610c1e573d6000803e3d6000fd5b505050506040513d6020811015610c3457600080fd5b5051600a54909150610c47908290612201565b6009541115610c9d576040805162461bcd60e51b815260206004820152601a60248201527f50726f7669646564207265776172642d4220746f6f2068696768000000000000604482015290519081900360640190fd5b42600b819055600a54610cb09190612268565b600755604080518681526020810186905281517f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f55929181900390910190a15050505050565b60085481565b60136020526000908152604090205481565b600280541415610d52576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805533610d5f611cbf565b600c55610d6a611994565b600d55610d75611b45565b600b556001600160a01b03811615610dbc57610d90816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b03811615610e0057610dd481611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b60008211610e49576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b336000908152600f6020526040902054421180610e8f575060185460ff168015610e8f5750336000908152601060205260409020544290610e8d906277f880612268565b105b610ed5576040805162461bcd60e51b815260206004820152601260248201527110d85b89dd081dda5d1a191c985dc81e595d60721b604482015290519081900360640190fd5b601654610ee29083612144565b60165533600090815260176020526040902054610eff9083612144565b3360009081526017602052604080822092909255600e548251632e1a7d4d60e01b81526004810186905292516001600160a01b0390911692632e1a7d4d92602480830193919282900301818387803b158015610f5a57600080fd5b505af1158015610f6e573d6000803e3d6000fd5b5050600654610f8a92506001600160a01b0316905033846122c2565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600255565b60126020526000908152604090205481565b600a5481565b60185460ff1681565b60028054141561102f576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805560045460ff16156110755760405162461bcd60e51b815260040180806020018281038252603c8152602001806128c6603c913960400191505060405180910390fd5b6277f8808110156110cd576040805162461bcd60e51b815260206004820181905260248201527f6d696e696d756d206c6f636b206475726174696f6e2069732039312064617973604482015290519081900360640190fd5b630784ce00811115611126576040805162461bcd60e51b815260206004820181905260248201527f6d6178696d756d206c6f636b206475726174696f6e2069732034207965617273604482015290519081900360640190fd5b336000908152600f6020526040902054611149906111444284612268565b612319565b336000908152600f6020526040902055506001600255565b600061117a600a546008546121a190919063ffffffff16565b90505b90565b6002805414156111c5576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b6002805560045460ff161561120b5760405162461bcd60e51b815260040180806020018281038252603c8152602001806128c6603c913960400191505060405180910390fd5b82611214611cbf565b600c5561121f611994565b600d5561122a611b45565b600b556001600160a01b0381161561127157611245816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b038116156112b55761128981611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b6001600160a01b0384163314806112db57503360009081526015602052604090205460ff165b6113165760405162461bcd60e51b815260040180806020018281038252602681526020018061285f6026913960400191505060405180910390fd5b6000831161135c576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b6277f8808210156113b4576040805162461bcd60e51b815260206004820181905260248201527f6d696e696d756d206c6f636b206475726174696f6e2069732039312064617973604482015290519081900360640190fd5b630784ce0082111561140d576040805162461bcd60e51b815260206004820181905260248201527f6d6178696d756d206c6f636b206475726174696f6e2069732034207965617273604482015290519081900360640190fd5b60165461141a9084612268565b6016556001600160a01b0384166000908152601760205260409020546114409084612268565b6001600160a01b0380861660009081526017602052604090209190915560065461146d9116333086612330565b6001600160a01b0384166000908152600f6020526040902054611494906111444285612268565b6001600160a01b038086166000908152600f60209081526040808320949094556010905291909120429055600e546006546114d4929081169116856122c2565b600e60009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561152457600080fd5b505af1158015611538573d6000803e3d6000fd5b505050506001600160a01b0384166000818152600f60209081526040918290205482518781529182015281517f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90929181900390910190a2505060016002555050565b6002805414156115df576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b60028055336115ec611cbf565b600c556115f7611994565b600d55611602611b45565b600b556001600160a01b038116156116495761161d816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b0381161561168d5761166181611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b336000908152600f60205260409020544210806116ac575060185460ff165b6116e75760405162461bcd60e51b81526004018080602001828103825260378152602001806129306037913960400191505060405180910390fd5b336000908152601360205260409020548015611777573360008181526013602052604081205560045461172a916101009091046001600160a01b031690836122c2565b600454604080516101009092046001600160a01b0316825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b3360009081526014602052604090205480156117ff57336000818152601460205260408120556005546117b6916001600160a01b0390911690836122c2565b600554604080516001600160a01b03909216825260208201839052805133927f540798df468d7b23d11f156fdb954cb19ad414d150722a7b6d55ba369dea792e92908290030190a25b5050600160025550565b60116020526000908152604090205481565b600d5481565b611829612140565b6001600160a01b031661183a611c98565b6001600160a01b031614611883576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600061188d611cbf565b600c55611898611994565b600d556118a3611b45565b600b556001600160a01b038116156118ea576118be816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b0381161561192e5761190281611951565b6001600160a01b038216600090815260146020908152604080832093909355600d546012909152919020555b50600755565b60045460ff1681565b60045461010090046001600160a01b031681565b6001600160a01b0381166000908152601460209081526040808320546012909252822054610932919061092c90670de0b6b3a76400009061092690610907906109015b6000601654600014156119aa5750600d5461117d565b61117a6119d9601654610926670de0b6b3a76400006119d36009546119d3600b54610901611b45565b906121a1565b600d5490612268565b6119ea612140565b6001600160a01b03166119fb611c98565b6001600160a01b031614611a44576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6001600160a01b031660009081526017602052604090205490565b611a92612140565b6001600160a01b0316611aa3611c98565b6001600160a01b031614611aec576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6006546001600160a01b031681565b600061117a42600754612390565b33600090815260176020526040902054611b6c90610d0d565b611b7461239f565b565b6005546001600160a01b031681565b611b8d612140565b6001600160a01b0316611b9e611c98565b6001600160a01b031614611be7576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6006546001600160a01b0383811691161415611c345760405162461bcd60e51b81526004018080602001828103825260218152602001806129916021913960400191505060405180910390fd5b611c50611c3f611c98565b6001600160a01b03841690836122c2565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b6000546001600160a01b031690565b60035481565b600f6020526000908152604090205481565b600060165460001415611cd55750600c5461117d565b61117a611cfe601654610926670de0b6b3a76400006119d36008546119d3600b54610901611b45565b600c5490612268565b600e546001600160a01b031681565b600061117a600a546009546121a190919063ffffffff16565b6001600160a01b031660009081526010602052604090205490565b630784ce0081565b60165490565b6277f88081565b60146020526000908152604090205481565b600654604080516370a0823160e01b815233600482015290516108b7926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611dbd57600080fd5b505afa158015611dd1573d6000803e3d6000fd5b505050506040513d6020811015611de757600080fd5b505182611ff9565b600b5481565b611dfd612140565b6001600160a01b0316611e0e611c98565b6001600160a01b031614611e57576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6007544211611e975760405162461bcd60e51b815260040180806020018281038252605881526020018061279b6058913960600191505060405180910390fd5b600a8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b60106020526000908152604090205481565b611eec612140565b6001600160a01b0316611efd611c98565b6001600160a01b031614611f46576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03166000908152600f602052604090205490565b611f8b612140565b6001600160a01b0316611f9c611c98565b6001600160a01b031614611fe5576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6018805460ff19811660ff90911615179055565b612004338383611180565b5050565b60075481565b60095481565b61201c612140565b6001600160a01b031661202d611c98565b6001600160a01b031614612076576040805162461bcd60e51b815260206004820181905260248201526000805160206128a6833981519152604482015290519081900360640190fd5b6001600160a01b0381166120bb5760405162461bcd60e51b81526004018080602001828103825260268152602001806128136026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c5481565b60156020526000908152604090205460ff1681565b6001546001600160a01b031681565b3390565b60008282111561219b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826121b057506000610932565b828202828482816121bd57fe5b04146121fa5760405162461bcd60e51b81526004018080602001828103825260218152602001806128856021913960400191505060405180910390fd5b9392505050565b6000808211612257576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161226057fe5b049392505050565b6000828201838110156121fa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526123149084906124cc565b505050565b60008183101561232957816121fa565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261238a9085906124cc565b50505050565b600081831061232957816121fa565b6002805414156123e4576040805162461bcd60e51b815260206004820152601f60248201526000805160206127f3833981519152604482015290519081900360640190fd5b60028055336123f1611cbf565b600c556123fc611994565b600d55612407611b45565b600b556001600160a01b0381161561244e57612422816108ba565b6001600160a01b038216600090815260136020908152604080832093909355600c546011909152919020555b6001600160a01b038116156116e75761246681611951565b6001600160a01b038216600090815260146020908152604080832093909355600d5460128252838320553382526013905220548015611777573360008181526013602052604081205560045461172a916101009091046001600160a01b031690836122c2565b6060612521826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661257d9092919063ffffffff16565b8051909150156123145780806020019051602081101561254057600080fd5b50516123145760405162461bcd60e51b815260040180806020018281038252602a815260200180612967602a913960400191505060405180910390fd5b606061258c8484600085612594565b949350505050565b6060824710156125d55760405162461bcd60e51b81526004018080602001828103825260268152602001806128396026913960400191505060405180910390fd5b6125de856126f0565b61262f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061266e5780518252601f19909201916020918201910161264f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146126d0576040519150601f19603f3d011682016040523d82523d6000602084013e6126d5565b606091505b50915091506126e58282866126f6565b979650505050505050565b3b151590565b606083156127055750816121fa565b8251156127155782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561275f578181015183820152602001612747565b50505050905090810190601f16801561278c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f645265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6f7420617574686f72697a656420746f207374616b6520666f72206d73672e73656e646572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616c6c6572206973206e6f74204475616c52657761726473446973747269627574696f6e20636f6e747261637455736572206d75737420776974686472617720616e642072657374616b65206966207468656972206c6f636b20697320657870697265645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea26469706673582212209952e2c1467d673a1d00591f70944c7b1f6fa14de2646549416aa727fef25ca864736f6c634300060c0033

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

000000000000000000000000bbb3d3de73b972a018144fa2565f4bf9c8efa88300000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000009ad12552ec45f82be90b38dfe7b06332a68086400000000000000000000000009ad12552ec45f82be90b38dfe7b06332a680864

-----Decoded View---------------
Arg [0] : _strategy (address): 0xBBb3D3DE73B972A018144FA2565f4bF9c8eFA883
Arg [1] : _rewardsTokenA (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
Arg [2] : _rewardsTokenB (address): 0x09ad12552ec45f82bE90B38dFE7b06332A680864
Arg [3] : _stakingToken (address): 0x09ad12552ec45f82bE90B38dFE7b06332A680864

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000bbb3d3de73b972a018144fa2565f4bf9c8efa883
Arg [1] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Arg [2] : 00000000000000000000000009ad12552ec45f82be90b38dfe7b06332a680864
Arg [3] : 00000000000000000000000009ad12552ec45f82be90b38dfe7b06332a680864


Deployed Bytecode Sourcemap

32104:12105:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28799:488;;;;;;;;;;;;;;;;-1:-1:-1;28799:488:0;;;;:::i;:::-;;35164:211;;;;;;;;;;;;;;;;-1:-1:-1;35164:211:0;-1:-1:-1;;;;;35164:211:0;;:::i;:::-;;;;;;;;;;;;;;;;40452:1496;;;;;;;;;;;;;;;;-1:-1:-1;40452:1496:0;;;;;;;:::i;32613:30::-;;;:::i;33158:43::-;;;;;;;;;;;;;;;;-1:-1:-1;33158:43:0;-1:-1:-1;;;;;33158:43:0;;:::i;38067:682::-;;;;;;;;;;;;;;;;-1:-1:-1;38067:682:0;;:::i;33093:58::-;;;;;;;;;;;;;;;;-1:-1:-1;33093:58:0;-1:-1:-1;;;;;33093:58:0;;:::i;32687:34::-;;;:::i;33405:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;36268:340;;;;;;;;;;;;;;;;-1:-1:-1;36268:340:0;;:::i;35615:132::-;;;:::i;36795:1130::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36795:1130:0;;;;;;;;;;;;;:::i;38757:788::-;;;:::i;33028:58::-;;;;;;;;;;;;;;;;-1:-1:-1;33028:58:0;-1:-1:-1;;;;;33028:58:0;;:::i;32838:36::-;;;:::i;41993:131::-;;;;;;;;;;;;;;;;-1:-1:-1;41993:131:0;;:::i;28383:18::-;;;:::i;32474:27::-;;;:::i;:::-;;;;-1:-1:-1;;;;;32474:27:0;;;;;;;;;;;;;;35383:224;;;;;;;;;;;;;;;;-1:-1:-1;35383:224:0;-1:-1:-1;;;;;35383:224:0;;:::i;34811:345::-;;;:::i;43021:134::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43021:134:0;;;;;;;;;;:::i;34183:121::-;;;;;;;;;;;;;;;;-1:-1:-1;34183:121:0;-1:-1:-1;;;;;34183:121:0;;:::i;25077:148::-;;;:::i;32542:26::-;;;:::i;34312:140::-;;;:::i;39553:110::-;;;:::i;32508:27::-;;;:::i;42239:304::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42239:304:0;;;;;;;;:::i;24426:87::-;;;:::i;28351:25::-;;;:::i;32915:49::-;;;;;;;;;;;;;;;;-1:-1:-1;32915:49:0;-1:-1:-1;;;;;32915:49:0;;:::i;34460:343::-;;;:::i;32883:23::-;;;:::i;35755:132::-;;;:::i;35957:121::-;;;;;;;;;;;;;;;;-1:-1:-1;35957:121:0;-1:-1:-1;;;;;35957:121:0;;:::i;32356:48::-;;;:::i;34077:98::-;;;:::i;32292:46::-;;;:::i;33208:43::-;;;;;;;;;;;;;;;;-1:-1:-1;33208:43:0;-1:-1:-1;;;;;33208:43:0;;:::i;36668:119::-;;;;;;;;;;;;;;;;-1:-1:-1;36668:119:0;;:::i;32759:29::-;;;:::i;42551:360::-;;;;;;;;;;;;;;;;-1:-1:-1;42551:360:0;;:::i;32971:50::-;;;;;;;;;;;;;;;;-1:-1:-1;32971:50:0;-1:-1:-1;;;;;32971:50:0;;:::i;31939:158::-;;;;;;;;;;;;;;;;-1:-1:-1;31939:158:0;-1:-1:-1;;;;;31939:158:0;;:::i;36086:120::-;;;;;;;;;;;;;;;;-1:-1:-1;36086:120:0;-1:-1:-1;;;;;36086:120:0;;:::i;42919:94::-;;;:::i;37933:126::-;;;;;;;;;;;;;;;;-1:-1:-1;37933:126:0;;;;;;;:::i;32575:31::-;;;:::i;32650:30::-;;;:::i;25380:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25380:244:0;-1:-1:-1;;;;;25380:244:0;;:::i;32795:36::-;;;:::i;33260:47::-;;;;;;;;;;;;;;;;-1:-1:-1;33260:47:0;-1:-1:-1;;;;;33260:47:0;;:::i;31631:38::-;;;:::i;28799:488::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;28952:6:::1;::::0;::::1;;28941:17;;::::0;::::1;;;28937:56;;;28975:7;;28937:56;29039:6;:16:::0;;-1:-1:-1;;29039:16:0::1;::::0;::::1;;;::::0;;;;::::1;29124:6;29120:58;;;29163:3;29147:13;:19:::0;29120:58:::1;29272:6;::::0;29259:20:::1;::::0;;29272:6:::1;::::0;;::::1;29259:20;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;24717:1;28799:488:::0;:::o;35164:211::-;-1:-1:-1;;;;;35349:17:0;;35228:7;35349:17;;;:8;:17;;;;;;;;;35300:23;:32;;;;;;35255:112;;35349:17;35255:89;;35339:4;;35255:79;;35278:55;;:17;:15;:17::i;:::-;:21;;:55::i;:::-;-1:-1:-1;;;;;35255:18:0;;;;;;:9;:18;;;;;;;:22;:79::i;:::-;:83;;:89::i;:::-;:93;;:112::i;:::-;35248:119;35164:211;-1:-1:-1;;35164:211:0:o;40452:1496::-;31837:23;;-1:-1:-1;;;;;31837:23:0;31823:10;:37;31815:96;;;;-1:-1:-1;;;31815:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40581:1:::1;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::1;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::1;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::1;::::0;43418:161:::1;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43546:21:::1;::::0;43511:23:::1;:32:::0;;;;;;:56;43418:161:::1;-1:-1:-1::0;;;;;43595:21:0;::::1;::::0;43591:161:::1;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43719:21:::1;::::0;43684:23:::1;:32:::0;;;;;;:56;43591:161:::1;40621:12:::2;;40602:15;:31;40598:521;;40676:15;::::0;40664:28:::2;::::0;:7;;:11:::2;:28::i;:::-;40650:11;:42:::0;40733:15:::2;::::0;40721:28:::2;::::0;:7;;:11:::2;:28::i;:::-;40707:11;:42:::0;40598:521:::2;;;40802:12;::::0;40782:17:::2;::::0;40802:33:::2;::::0;40819:15:::2;40802:16;:33::i;:::-;40782:53;;40852:17;40872:26;40886:11;;40872:9;:13;;:26;;;;:::i;:::-;40954:15;::::0;40852:46;;-1:-1:-1;40927:43:0::2;::::0;:22:::2;:7:::0;40852:46;40927:11:::2;:22::i;:43::-;40913:11;:57:::0;41021:11:::2;::::0;40987:17:::2;::::0;41007:26:::2;::::0;:9;;:13:::2;:26::i;:::-;41089:15;::::0;40987:46;;-1:-1:-1;41062:43:0::2;::::0;:22:::2;:7:::0;40987:46;41062:11:::2;:22::i;:43::-;41048:11;:57:::0;-1:-1:-1;;;40598:521:0::2;41479:13;41495;;;;;;;;;-1:-1:-1::0;;;;;41495:13:0::2;-1:-1:-1::0;;;;;41495:23:0::2;;41527:4;41495:38;;;;;;;;;;;;;-1:-1:-1::0;;;;;41495:38:0::2;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;41495:38:0;41580:15:::2;::::0;41495:38;;-1:-1:-1;41567:29:0::2;::::0;41495:38;;41567:12:::2;:29::i;:::-;41552:11;;:44;;41544:83;;;::::0;;-1:-1:-1;;;41544:83:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;41656:13;::::0;:38:::2;::::0;;-1:-1:-1;;;41656:38:0;;41688:4:::2;41656:38;::::0;::::2;::::0;;;41640:13:::2;::::0;-1:-1:-1;;;;;41656:13:0::2;::::0;:23:::2;::::0;:38;;;;;::::2;::::0;;;;;;;;:13;:38;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;41656:38:0;41741:15:::2;::::0;41656:38;;-1:-1:-1;41728:29:0::2;::::0;41656:38;;41728:12:::2;:29::i;:::-;41713:11;;:44;;41705:83;;;::::0;;-1:-1:-1;;;41705:83:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;41818:15;41801:14;:32:::0;;;41879:15:::2;::::0;41859:36:::2;::::0;41818:15;41859:19:::2;:36::i;:::-;41844:12;:51:::0;41911:29:::2;::::0;;;;;::::2;::::0;::::2;::::0;;;;;::::2;::::0;;;;;;;;;::::2;43762:1;;31922::::1;40452:1496:::0;;:::o;32613:30::-;;;;:::o;33158:43::-;;;;;;;;;;;;;:::o;38067:682::-;27284:1;27890:7;;:19;;27882:63;;;;;-1:-1:-1;;;27882:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27882:63:0;;;;;;;;;;;;;;;27284:1;28023:18;;38143:10:::1;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::1;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::1;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::1;::::0;43418:161:::1;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43546:21:::1;::::0;43511:23:::1;:32:::0;;;;;;:56;43418:161:::1;-1:-1:-1::0;;;;;43595:21:0;::::1;::::0;43591:161:::1;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43719:21:::1;::::0;43684:23:::1;:32:::0;;;;;;:56;43591:161:::1;38183:1:::2;38174:6;:10;38166:40;;;::::0;;-1:-1:-1;;;38166:40:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;38166:40:0;;;;;;;;;;;;;::::2;;38354:10;38339:26;::::0;;;:14:::2;:26;::::0;;;;;38368:3:::2;-1:-1:-1::0;38339:32:0;:107:::2;;-1:-1:-1::0;38376:14:0::2;::::0;::::2;;:69:::0;::::2;;;-1:-1:-1::0;38410:10:0::2;38394:27;::::0;;;:15:::2;:27;::::0;;;;;38442:3:::2;::::0;38394:45:::2;::::0;32331:7:::2;38394:31;:45::i;:::-;:51;38376:69;38331:138;;;::::0;;-1:-1:-1;;;38331:138:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;38331:138:0;;;;;;;;;;;;;::::2;;38497:12;::::0;:24:::2;::::0;38514:6;38497:16:::2;:24::i;:::-;38482:12;:39:::0;38566:10:::2;38556:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;38582:6;38556:25:::2;:33::i;:::-;38542:10;38532:21;::::0;;;:9:::2;:21;::::0;;;;;:57;;;;38612:8:::2;::::0;38602:36;;-1:-1:-1;;;38602:36:0;;::::2;::::0;::::2;::::0;;;;;-1:-1:-1;;;;;38612:8:0;;::::2;::::0;38602:28:::2;::::0;:36;;;;;38532:21;;38602:36;;;;;38532:21;38612:8;38602:36;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;38651:12:0::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;;38651:12:0::2;::::0;-1:-1:-1;38677:10:0::2;38689:6:::0;38651:25:::2;:45::i;:::-;38712:29;::::0;;;;;;;38722:10:::2;::::0;38712:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;27240:1:0;28202:7;:22;38067:682::o;33093:58::-;;;;;;;;;;;;;:::o;32687:34::-;;;;:::o;33405:26::-;;;;;;:::o;36268:340::-;27284:1;27890:7;;:19;;27882:63;;;;;-1:-1:-1;;;27882:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27882:63:0;;;;;;;;;;;;;;;27284:1;28023:18;;29376:6:::1;::::0;::::1;;29375:7;29367:80;;;;-1:-1:-1::0;;;29367:80:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32331:7:::2;36364:8;:24;;36356:69;;;::::0;;-1:-1:-1;;;36356:69:0;;::::2;;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;::::2;;32395:9;36444:8;:24;;36436:69;;;::::0;;-1:-1:-1;;;36436:69:0;;::::2;;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;::::2;;36569:10;36554:26;::::0;;;:14:::2;:26;::::0;;;;;36545:55:::2;::::0;36582:17:::2;:3;36590:8:::0;36582:7:::2;:17::i;:::-;36545:8;:55::i;:::-;36531:10;36516:26;::::0;;;:14:::2;:26;::::0;;;;:84;-1:-1:-1;27240:1:0;28202:7;:22;36268:340::o;35615:132::-;35680:7;35707:32;35723:15;;35707:11;;:15;;:32;;;;:::i;:::-;35700:39;;35615:132;;:::o;36795:1130::-;27284:1;27890:7;;:19;;27882:63;;;;;-1:-1:-1;;;27882:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27882:63:0;;;;;;;;;;;;;;;27284:1;28023:18;;29376:6:::1;::::0;::::1;;29375:7;29367:80;;;;-1:-1:-1::0;;;29367:80:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36913:11:::2;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::2;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::2;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::2;::::0;43418:161:::2;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::2;;::::0;;;:8:::2;:17;::::0;;;;;;;:36;;;;43546:21:::2;::::0;43511:23:::2;:32:::0;;;;;;:56;43418:161:::2;-1:-1:-1::0;;;;;43595:21:0;::::2;::::0;43591:161:::2;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::2;;::::0;;;:8:::2;:17;::::0;;;;;;;:36;;;;43719:21:::2;::::0;43684:23:::2;:32:::0;;;;;;:56;43591:161:::2;-1:-1:-1::0;;;;;37030:25:0;::::3;37045:10;37030:25;::::0;:56:::3;;-1:-1:-1::0;37075:10:0::3;37059:27;::::0;;;:15:::3;:27;::::0;;;;;::::3;;37030:56;37022:107;;;;-1:-1:-1::0;;;37022:107:0::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37159:1;37150:6;:10;37142:37;;;::::0;;-1:-1:-1;;;37142:37:0;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;37142:37:0;;;;;;;;;;;;;::::3;;32331:7;37198:8;:24;;37190:69;;;::::0;;-1:-1:-1;;;37190:69:0;;::::3;;::::0;::::3;::::0;;;;;;;::::3;::::0;;;;;;;;;;;;;::::3;;32395:9;37345:8;:24;;37337:69;;;::::0;;-1:-1:-1;;;37337:69:0;;::::3;;::::0;::::3;::::0;;;;;;;::::3;::::0;;;;;;;;;;;;;::::3;;37434:12;::::0;:24:::3;::::0;37451:6;37434:16:::3;:24::i;:::-;37419:12;:39:::0;-1:-1:-1;;;;;37494:22:0;::::3;;::::0;;;:9:::3;:22;::::0;;;;;:34:::3;::::0;37521:6;37494:26:::3;:34::i;:::-;-1:-1:-1::0;;;;;37469:22:0;;::::3;;::::0;;;:9:::3;:22;::::0;;;;:59;;;;37539:12:::3;::::0;:64:::3;::::0;:12:::3;37569:10;37589:4;37596:6:::0;37539:29:::3;:64::i;:::-;-1:-1:-1::0;;;;;37655:27:0;::::3;;::::0;;;:14:::3;:27;::::0;;;;;37646:56:::3;::::0;37684:17:::3;:3;37692:8:::0;37684:7:::3;:17::i;37646:56::-;-1:-1:-1::0;;;;;37616:27:0;;::::3;;::::0;;;:14:::3;:27;::::0;;;;;;;:86;;;;37713:15:::3;:28:::0;;;;;;37744:3:::3;37713:34:::0;;37786:8:::3;::::0;37760:12:::3;::::0;:43:::3;::::0;:12;;::::3;::::0;37786:8:::3;37796:6:::0;37760:25:::3;:43::i;:::-;37824:8;;;;;;;;;-1:-1:-1::0;;;;;37824:8:0::3;-1:-1:-1::0;;;;;37814:27:0::3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;;;;;;;;37861:56:0;::::3;37889:27;::::0;;;:14:::3;:27;::::0;;;;;;;;;37861:56;;;;;;;::::3;::::0;;;::::3;::::0;;;;;;;;;::::3;-1:-1:-1::0;;27240:1:0;28202:7;:22;-1:-1:-1;;36795:1130:0:o;38757:788::-;27284:1;27890:7;;:19;;27882:63;;;;;-1:-1:-1;;;27882:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27882:63:0;;;;;;;;;;;;;;;27284:1;28023:18;;38816:10:::1;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::1;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::1;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::1;::::0;43418:161:::1;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43546:21:::1;::::0;43511:23:::1;:32:::0;;;;;;:56;43418:161:::1;-1:-1:-1::0;;;;;43595:21:0;::::1;::::0;43591:161:::1;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43719:21:::1;::::0;43684:23:::1;:32:::0;;;;;;:56;43591:161:::1;38862:10:::2;38847:26;::::0;;;:14:::2;:26;::::0;;;;;38876:3:::2;-1:-1:-1::0;38847:32:0;:50:::2;;-1:-1:-1::0;38883:14:0::2;::::0;::::2;;38847:50;38839:118;;;;-1:-1:-1::0;;;38839:118:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39003:10;38970:21;38994:20:::0;;;:8:::2;:20;::::0;;;;;39029:17;;39025:223:::2;;39072:10;39086:1;39063:20:::0;;;:8:::2;:20;::::0;;;;:24;39102:13:::2;::::0;:53:::2;::::0;:13:::2;::::0;;::::2;-1:-1:-1::0;;;;;39102:13:0::2;::::0;39141;39102:26:::2;:53::i;:::-;39206:13;::::0;39175:61:::2;::::0;;39206:13:::2;::::0;;::::2;-1:-1:-1::0;;;;;39206:13:0::2;39175:61:::0;;::::2;::::0;::::2;::::0;;;;;39186:10:::2;::::0;39175:61:::2;::::0;;;;;;;::::2;39025:223;39293:10;39260:21;39284:20:::0;;;:8:::2;:20;::::0;;;;;39319:17;;39315:223:::2;;39362:10;39376:1;39353:20:::0;;;:8:::2;:20;::::0;;;;:24;39392:13:::2;::::0;:53:::2;::::0;-1:-1:-1;;;;;39392:13:0;;::::2;::::0;39431;39392:26:::2;:53::i;:::-;39496:13;::::0;39465:61:::2;::::0;;-1:-1:-1;;;;;39496:13:0;;::::2;39465:61:::0;;::::2;::::0;::::2;::::0;;;;;39476:10:::2;::::0;39465:61:::2;::::0;;;;;;;::::2;39315:223;-1:-1:-1::0;;27240:1:0;28202:7;:22;-1:-1:-1;38757:788:0:o;33028:58::-;;;;;;;;;;;;;:::o;32838:36::-;;;;:::o;41993:131::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;42077:1:::1;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::1;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::1;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::1;::::0;43418:161:::1;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43546:21:::1;::::0;43511:23:::1;:32:::0;;;;;;:56;43418:161:::1;-1:-1:-1::0;;;;;43595:21:0;::::1;::::0;43591:161:::1;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43719:21:::1;::::0;43684:23:::1;:32:::0;;;;;;:56;43591:161:::1;-1:-1:-1::0;42092:12:0::2;:24:::0;41993:131::o;28383:18::-;;;;;;:::o;32474:27::-;;;;;;-1:-1:-1;;;;;32474:27:0;;:::o;35383:224::-;-1:-1:-1;;;;;35581:17:0;;35447:7;35581:17;;;:8;:17;;;;;;;;;35532:23;:32;;;;;;35487:112;;35581:17;35487:89;;35571:4;;35487:79;;35510:55;;:17;34811:345;34868:7;34892:12;;34908:1;34892:17;34888:78;;;-1:-1:-1;34933:21:0;;34926:28;;34888:78;34998:150;35042:91;35120:12;;35042:73;35110:4;35042:63;35093:11;;35042:46;35073:14;;35042:26;:24;:26::i;:46::-;:50;;:63::i;:91::-;34998:21;;;:25;:150::i;43021:134::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43111:24:0;;;::::1;;::::0;;;:15:::1;:24;::::0;;;;:36;;-1:-1:-1;;43111:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;43021:134::o;34183:121::-;-1:-1:-1;;;;;34278:18:0;34251:7;34278:18;;;:9;:18;;;;;;;34183:121::o;25077:148::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;25184:1:::1;25168:6:::0;;25147:40:::1;::::0;-1:-1:-1;;;;;25168:6:0;;::::1;::::0;25147:40:::1;::::0;25184:1;;25147:40:::1;25215:1;25198:19:::0;;-1:-1:-1;;;;;;25198:19:0::1;::::0;;25077:148::o;32542:26::-;;;-1:-1:-1;;;;;32542:26:0;;:::o;34312:140::-;34378:7;34405:39;34414:15;34431:12;;34405:8;:39::i;39553:110::-;39624:10;39614:21;;;;:9;:21;;;;;;39605:31;;:8;:31::i;:::-;39647:8;:6;:8::i;:::-;39553:110::o;32508:27::-;;;-1:-1:-1;;;;;32508:27:0;;:::o;42239:304::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;42366:12:::1;::::0;-1:-1:-1;;;;;42342:37:0;;::::1;42366:12:::0;::::1;42342:37;;42334:83;;;;-1:-1:-1::0;;;42334:83:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42428:55;42462:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;42428:33:0;::::1;::::0;42471:11;42428:33:::1;:55::i;:::-;42499:36;::::0;;-1:-1:-1;;;;;42499:36:0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;42239:304:::0;;:::o;24426:87::-;24472:7;24499:6;-1:-1:-1;;;;;24499:6:0;24426:87;:::o;28351:25::-;;;;:::o;32915:49::-;;;;;;;;;;;;;:::o;34460:343::-;34517:7;34541:12;;34557:1;34541:17;34537:78;;;-1:-1:-1;34582:21:0;;34575:28;;34537:78;34645:150;34689:91;34767:12;;34689:73;34757:4;34689:63;34740:11;;34689:46;34720:14;;34689:26;:24;:26::i;:91::-;34645:21;;;:25;:150::i;32883:23::-;;;-1:-1:-1;;;;;32883:23:0;;:::o;35755:132::-;35820:7;35847:32;35863:15;;35847:11;;:15;;:32;;;;:::i;35957:121::-;-1:-1:-1;;;;;36048:22:0;36021:7;36048:22;;;:15;:22;;;;;;;35957:121::o;32356:48::-;32395:9;32356:48;:::o;34077:98::-;34155:12;;34077:98;:::o;32292:46::-;32331:7;32292:46;:::o;33208:43::-;;;;;;;;;;;;;:::o;36668:119::-;36734:12;;:34;;;-1:-1:-1;;;36734:34:0;;36757:10;36734:34;;;;;;36726:53;;-1:-1:-1;;;;;36734:12:0;;:22;;:34;;;;;;;;;;;;;;:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36734:34:0;36770:8;36726:7;:53::i;32759:29::-;;;;:::o;42551:360::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;42675:12:::1;;42657:15;:30;42635:168;;;;-1:-1:-1::0;;;42635:168:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42814:15;:34:::0;;;42864:39:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;42551:360:::0;:::o;32971:50::-;;;;;;;;;;;;;:::o;31939:158::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;32039:23:::1;:50:::0;;-1:-1:-1;;;;;;32039:50:0::1;-1:-1:-1::0;;;;;32039:50:0;;;::::1;::::0;;;::::1;::::0;;31939:158::o;36086:120::-;-1:-1:-1;;;;;36177:21:0;36150:7;36177:21;;;:14;:21;;;;;;;36086:120::o;42919:94::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;42991:14:::1;::::0;;-1:-1:-1;;42973:32:0;::::1;42991:14;::::0;;::::1;42990:15;42973:32;::::0;;42919:94::o;37933:126::-;38011:40;38022:10;38034:6;38042:8;38011:10;:40::i;:::-;37933:126;;:::o;32575:31::-;;;;:::o;32650:30::-;;;;:::o;25380:244::-;24657:12;:10;:12::i;:::-;-1:-1:-1;;;;;24646:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24646:23:0;;24638:68;;;;;-1:-1:-1;;;24638:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24638:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25469:22:0;::::1;25461:73;;;;-1:-1:-1::0;;;25461:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25571:6;::::0;;25550:38:::1;::::0;-1:-1:-1;;;;;25550:38:0;;::::1;::::0;25571:6;::::1;::::0;25550:38:::1;::::0;::::1;25599:6;:17:::0;;-1:-1:-1;;;;;;25599:17:0::1;-1:-1:-1::0;;;;;25599:17:0;;;::::1;::::0;;;::::1;::::0;;25380:244::o;32795:36::-;;;;:::o;33260:47::-;;;;;;;;;;;;;;;:::o;31631:38::-;;;-1:-1:-1;;;;;31631:38:0;;:::o;23053:106::-;23141:10;23053:106;:::o;5951:158::-;6009:7;6042:1;6037;:6;;6029:49;;;;;-1:-1:-1;;;6029:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6096:5:0;;;5951:158::o;6368:220::-;6426:7;6450:6;6446:20;;-1:-1:-1;6465:1:0;6458:8;;6446:20;6489:5;;;6493:1;6489;:5;:1;6513:5;;;;;:10;6505:56;;;;-1:-1:-1;;;6505:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6579:1;6368:220;-1:-1:-1;;;6368:220:0:o;7066:153::-;7124:7;7156:1;7152;:5;7144:44;;;;;-1:-1:-1;;;7144:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7210:1;7206;:5;;;;;;;7066:153;-1:-1:-1;;;7066:153:0:o;5489:179::-;5547:7;5579:5;;;5603:6;;;;5595:46;;;;;-1:-1:-1;;;5595:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18661:177;18771:58;;;-1:-1:-1;;;;;18771:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18771:58:0;-1:-1:-1;;;18771:58:0;;;18744:86;;18764:5;;18744:19;:86::i;:::-;18661:177;;;:::o;21900:107::-;21958:7;21990:1;21985;:6;;:14;;21998:1;21985:14;;;-1:-1:-1;21994:1:0;;21978:21;-1:-1:-1;21900:107:0:o;18846:205::-;18974:68;;;-1:-1:-1;;;;;18974:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18974:68:0;-1:-1:-1;;;18974:68:0;;;18947:96;;18967:5;;18947:19;:96::i;:::-;18846:205;;;;:::o;22083:106::-;22141:7;22172:1;22168;:5;:13;;22180:1;22168:13;;39737:651;27284:1;27890:7;;:19;;27882:63;;;;;-1:-1:-1;;;27882:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;27882:63:0;;;;;;;;;;;;;;;27284:1;28023:18;;39790:10:::1;43284:17;:15;:17::i;:::-;43260:21;:41:::0;43336:17:::1;:15;:17::i;:::-;43312:21;:41:::0;43381:26:::1;:24;:26::i;:::-;43364:14;:43:::0;-1:-1:-1;;;;;43422:21:0;::::1;::::0;43418:161:::1;;43480:16;43488:7;43480;:16::i;:::-;-1:-1:-1::0;;;;;43460:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43546:21:::1;::::0;43511:23:::1;:32:::0;;;;;;:56;43418:161:::1;-1:-1:-1::0;;;;;43595:21:0;::::1;::::0;43591:161:::1;;43653:16;43661:7;43653;:16::i;:::-;-1:-1:-1::0;;;;;43633:17:0;::::1;;::::0;;;:8:::1;:17;::::0;;;;;;;:36;;;;43719:21:::1;::::0;43684:23:::1;:32:::0;;;;;:56;39846:10:::2;39837:20:::0;;:8:::2;:20:::0;;;;39872:17;;39868:223:::2;;39915:10;39929:1;39906:20:::0;;;:8:::2;:20;::::0;;;;:24;39945:13:::2;::::0;:53:::2;::::0;:13:::2;::::0;;::::2;-1:-1:-1::0;;;;;39945:13:0::2;::::0;39984;39945:26:::2;:53::i;20966:761::-:0;21390:23;21416:69;21444:4;21416:69;;;;;;;;;;;;;;;;;21424:5;-1:-1:-1;;;;;21416:27:0;;;:69;;;;;:::i;:::-;21500:17;;21390:95;;-1:-1:-1;21500:21:0;21496:224;;21642:10;21631:30;;;;;;;;;;;;;;;-1:-1:-1;21631:30:0;21623:85;;;;-1:-1:-1;;;21623:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13757:195;13860:12;13892:52;13914:6;13922:4;13928:1;13931:12;13892:21;:52::i;:::-;13885:59;13757:195;-1:-1:-1;;;;13757:195:0:o;14809:530::-;14936:12;14994:5;14969:21;:30;;14961:81;;;;-1:-1:-1;;;14961:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15061:18;15072:6;15061:10;:18::i;:::-;15053:60;;;;;-1:-1:-1;;;15053:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15187:12;15201:23;15228:6;-1:-1:-1;;;;;15228:11:0;15248:5;15256:4;15228:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15228:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15186:75;;;;15279:52;15297:7;15306:10;15318:12;15279:17;:52::i;:::-;15272:59;14809:530;-1:-1:-1;;;;;;;14809:530:0:o;10839:422::-;11206:20;11245:8;;;10839:422::o;17349:742::-;17464:12;17493:7;17489:595;;;-1:-1:-1;17524:10:0;17517:17;;17489:595;17638:17;;:21;17634:439;;17901:10;17895:17;17962:15;17949:10;17945:2;17941:19;17934:44;17849:148;18044:12;18037:20;;-1:-1:-1;;;18037:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://9952e2c1467d673a1d00591f70944c7b1f6fa14de2646549416aa727fef25ca8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.