ETH Price: $3,876.08 (+7.41%)

Contract

0xCF50b810E57Ac33B91dCF525C6ddd9881B139332
 
Transaction Hash
Method
Block
From
To
Stake213315022024-12-04 20:23:5912 mins ago1733343839IN
Convex Finance: CVX Rewards
0 ETH0.003866439.91001002
Withdraw213314362024-12-04 20:10:3526 mins ago1733343035IN
Convex Finance: CVX Rewards
0 ETH0.0030530131.45104648
Withdraw213313512024-12-04 19:53:3543 mins ago1733342015IN
Convex Finance: CVX Rewards
0 ETH0.0022688430.17721559
Withdraw213305792024-12-04 17:18:473 hrs ago1733332727IN
Convex Finance: CVX Rewards
0 ETH0.0033426336.22584282
Withdraw213305062024-12-04 17:04:113 hrs ago1733331851IN
Convex Finance: CVX Rewards
0 ETH0.0041116744.54879903
Get Reward213304712024-12-04 16:57:113 hrs ago1733331431IN
Convex Finance: CVX Rewards
0 ETH0.0060077642.1804536
Stake213304232024-12-04 16:47:353 hrs ago1733330855IN
Convex Finance: CVX Rewards
0 ETH0.0041613741.72937348
Withdraw213304142024-12-04 16:45:473 hrs ago1733330747IN
Convex Finance: CVX Rewards
0 ETH0.0037858941.01906099
Stake213303582024-12-04 16:34:354 hrs ago1733330075IN
Convex Finance: CVX Rewards
0 ETH0.0045567945.7
Withdraw213303352024-12-04 16:29:594 hrs ago1733329799IN
Convex Finance: CVX Rewards
0 ETH0.0044779348.52340508
Withdraw213298112024-12-04 14:44:475 hrs ago1733323487IN
Convex Finance: CVX Rewards
0 ETH0.003628439.31274596
Get Reward213295992024-12-04 14:01:596 hrs ago1733320919IN
Convex Finance: CVX Rewards
0 ETH0.0037108926.05418973
Withdraw213295922024-12-04 14:00:356 hrs ago1733320835IN
Convex Finance: CVX Rewards
0 ETH0.0019386625.78564548
Stake213293142024-12-04 13:04:237 hrs ago1733317463IN
Convex Finance: CVX Rewards
0 ETH0.0015867519.20755278
Withdraw213293102024-12-04 13:03:357 hrs ago1733317415IN
Convex Finance: CVX Rewards
0 ETH0.0022758419.9334731
Stake213292622024-12-04 12:53:477 hrs ago1733316827IN
Convex Finance: CVX Rewards
0 ETH0.0018565522.47343926
Withdraw213289882024-12-04 11:58:478 hrs ago1733313527IN
Convex Finance: CVX Rewards
0 ETH0.0022693620.75130067
Get Reward213289552024-12-04 11:52:118 hrs ago1733313131IN
Convex Finance: CVX Rewards
0 ETH0.0029901119.14506909
Get Reward213289412024-12-04 11:49:238 hrs ago1733312963IN
Convex Finance: CVX Rewards
0 ETH0.0026644818.70731251
Get Reward213289202024-12-04 11:45:118 hrs ago1733312711IN
Convex Finance: CVX Rewards
0 ETH0.0030803421.62711061
Withdraw213289162024-12-04 11:44:238 hrs ago1733312663IN
Convex Finance: CVX Rewards
0 ETH0.0023423221.41616478
Withdraw213288712024-12-04 11:35:239 hrs ago1733312123IN
Convex Finance: CVX Rewards
0 ETH0.0022714823.4
Stake213287742024-12-04 11:15:479 hrs ago1733310947IN
Convex Finance: CVX Rewards
0 ETH0.0020525320.58487812
Get Reward213287312024-12-04 11:06:479 hrs ago1733310407IN
Convex Finance: CVX Rewards
0 ETH0.0023576818.30188065
Get Reward213286092024-12-04 10:42:239 hrs ago1733308943IN
Convex Finance: CVX Rewards
0 ETH0.0030827819.73840907
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
cvxRewardPool

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 Etherscan.io on 2021-05-18
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;


/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library MathUtil {
    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

contract ReentrancyGuard {
    uint256 private _guardCounter;

    constructor () internal {
        _guardCounter = 1;
    }

    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

interface ICurveGauge {
    function deposit(uint256) external;
    function balanceOf(address) external view returns (uint256);
    function withdraw(uint256) external;
    function claim_rewards() external;
    function reward_tokens(uint256) external view returns(address);//v2
    function rewarded_token() external view returns(address);//v1
}

interface ICurveVoteEscrow {
    function create_lock(uint256, uint256) external;
    function increase_amount(uint256) external;
    function increase_unlock_time(uint256) external;
    function withdraw() external;
    function smart_wallet_checker() external view returns (address);
}

interface IWalletChecker {
    function check(address) external view returns (bool);
}

interface IVoting{
    function vote(uint256, bool, bool) external; //voteId, support, executeIfDecided
    function getVote(uint256) external view returns(bool,bool,uint64,uint64,uint64,uint64,uint256,uint256,uint256,bytes memory); 
    function vote_for_gauge_weights(address,uint256) external;
}

interface IMinter{
    function mint(address) external;
}

interface IRegistry{
    function get_registry() external view returns(address);
    function get_address(uint256 _id) external view returns(address);
    function gauge_controller() external view returns(address);
    function get_lp_token(address) external view returns(address);
    function get_gauges(address) external view returns(address[10] memory,uint128[10] memory);
}

interface IStaker{
    function deposit(address, address) external;
    function withdraw(address) external;
    function withdraw(address, address, uint256) external;
    function withdrawAll(address, address) external;
    function createLock(uint256, uint256) external;
    function increaseAmount(uint256) external;
    function increaseTime(uint256) external;
    function release() external;
    function claimCrv(address) external returns (uint256);
    function claimRewards(address) external;
    function claimFees(address,address) external;
    function setStashAccess(address, bool) external;
    function vote(uint256,address,bool) external;
    function voteGaugeWeight(address,uint256) external;
    function balanceOfPool(address) external view returns (uint256);
    function operator() external view returns (address);
    function execute(address _to, uint256 _value, bytes calldata _data) external returns (bool, bytes memory);
}

interface IRewards{
    function stake(address, uint256) external;
    function stakeFor(address, uint256) external;
    function withdraw(address, uint256) external;
    function exit(address) external;
    function getReward(address) external;
    function queueNewRewards(uint256) external;
    function notifyRewardAmount(uint256) external;
    function addExtraReward(address) external;
    function stakingToken() external returns (address);
}

interface IStash{
    function stashRewards() external returns (bool);
    function processStash() external returns (bool);
    function claimRewards() external returns (bool);
}

interface IFeeDistro{
    function claim() external;
    function token() external view returns(address);
}

interface ITokenMinter{
    function mint(address,uint256) external;
    function burn(address,uint256) external;
}

interface IDeposit{
    function isShutdown() external view returns(bool);
    function balanceOf(address _account) external view returns(uint256);
    function totalSupply() external view returns(uint256);
    function poolInfo(uint256) external view returns(address,address,address,address,address, bool);
    function rewardClaimed(uint256,address,uint256) external;
    function withdrawTo(uint256,uint256,address) external;
    function claimRewards(uint256,address) external returns(bool);
    function rewardArbitrator() external returns(address);
}

interface ICrvDeposit{
    function deposit(uint256, bool) external;
    function lockIncentive() external view returns(uint256);
}

interface IRewardFactory{
    function setAccess(address,bool) external;
    function CreateCrvRewards(uint256,address) external returns(address);
    function CreateTokenRewards(address,address,address) external returns(address);
    function activeRewardCount(address) external view returns(uint256);
    function addActiveReward(address,uint256) external returns(bool);
    function removeActiveReward(address,uint256) external returns(bool);
}

interface IStashFactory{
    function CreateStash(uint256,address,address,uint256) external returns(address);
}

interface ITokenFactory{
    function CreateDepositToken(address) external returns(address);
}

interface IPools{
    function addPool(address _lptoken, address _gauge, uint256 _stashVersion) external returns(bool);
    function shutdownPool(uint256 _pid) external returns(bool);
    function poolInfo(uint256) external view returns(address,address,address,address,address,bool);
    function poolLength() external view returns (uint256);
    function gaugeMap(address) external view returns(bool);
    function setPoolManager(address _poolM) external;
}

interface IVestedEscrow{
    function fund(address[] calldata _recipient, uint256[] calldata _amount) external returns(bool);
}

// File: @openzeppelin\contracts\math\SafeMath.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, 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;
    }
}

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol
pragma solidity >=0.6.0 <0.8.0;

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

// File: @openzeppelin\contracts\utils\Address.sol

pragma solidity >=0.6.2 <0.8.0;

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


// File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol

pragma solidity >=0.6.0 <0.8.0;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for 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");
        }
    }
}

// File: contracts\cvxRewardPool.sol

pragma solidity 0.6.12;
/**
 *Submitted for verification at Etherscan.io on 2020-07-17
 */

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

* Synthetix: cvxRewardPool.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/



contract cvxRewardPool{
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    IERC20 public immutable rewardToken;
    IERC20 public immutable stakingToken;
    uint256 public constant duration = 7 days;
    uint256 public constant FEE_DENOMINATOR = 10000;

    address public immutable operator;
    address public immutable crvDeposits;
    address public immutable cvxCrvRewards;
    IERC20 public immutable cvxCrvToken;
    address public immutable rewardManager;

    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    uint256 public queuedRewards = 0;
    uint256 public currentRewards = 0;
    uint256 public historicalRewards = 0;
    uint256 public constant newRewardRatio = 830;
    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;
    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    address[] public extraRewards;

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);

    constructor(
        address stakingToken_,
        address rewardToken_,
        address crvDeposits_,
        address cvxCrvRewards_,
        address cvxCrvToken_,
        address operator_,
        address rewardManager_
    ) public {
        stakingToken = IERC20(stakingToken_);
        rewardToken = IERC20(rewardToken_);
        operator = operator_;
        rewardManager = rewardManager_;
        crvDeposits = crvDeposits_;
        cvxCrvRewards = cvxCrvRewards_;
        cvxCrvToken = IERC20(cvxCrvToken_);
    }

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

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

    function extraRewardsLength() external view returns (uint256) {
        return extraRewards.length;
    }

    function addExtraReward(address _reward) external {
        require(msg.sender == rewardManager, "!authorized");
        require(_reward != address(0),"!reward setting");

        extraRewards.push(_reward);
    }
    function clearExtraRewards() external{
        require(msg.sender == rewardManager, "!authorized");
        delete extraRewards;
    }

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

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

    function rewardPerToken() public view returns (uint256) {
        uint256 supply = totalSupply();
        if (supply == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate)
                    .mul(1e18)
                    .div(supply)
            );
    }

    function earnedReward(address account) internal view returns (uint256) {
        return
            balanceOf(account)
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
                .div(1e18)
                .add(rewards[account]);
    }

    function earned(address account) external view returns (uint256) {
        uint256 depositFeeRate = ICrvDeposit(crvDeposits).lockIncentive();

        uint256 r = earnedReward(account);
        uint256 fees = r.mul(depositFeeRate).div(FEE_DENOMINATOR);
        
        //fees dont apply until whitelist+vecrv lock begins so will report
        //slightly less value than what is actually received.
        return r.sub(fees);
    }

    function stake(uint256 _amount)
        public
        updateReward(msg.sender)
    {
        require(_amount > 0, 'RewardPool : Cannot stake 0');

        //also stake to linked rewards
        uint256 length = extraRewards.length;
        for(uint i=0; i < length; i++){
            IRewards(extraRewards[i]).stake(msg.sender, _amount);
        }

        //add supply
        _totalSupply = _totalSupply.add(_amount);
        //add to sender balance sheet
        _balances[msg.sender] = _balances[msg.sender].add(_amount);
        //take tokens from sender
        stakingToken.safeTransferFrom(msg.sender, address(this), _amount);

        emit Staked(msg.sender, _amount);
    }

    function stakeAll() external{
        uint256 balance = stakingToken.balanceOf(msg.sender);
        stake(balance);
    }

    function stakeFor(address _for, uint256 _amount)
        public
        updateReward(_for)
    {
        require(_amount > 0, 'RewardPool : Cannot stake 0');

        //also stake to linked rewards
        uint256 length = extraRewards.length;
        for(uint i=0; i < length; i++){
            IRewards(extraRewards[i]).stake(_for, _amount);
        }

         //add supply
        _totalSupply = _totalSupply.add(_amount);
        //add to _for's balance sheet
        _balances[_for] = _balances[_for].add(_amount);
        //take tokens from sender
        stakingToken.safeTransferFrom(msg.sender, address(this), _amount);

        emit Staked(msg.sender, _amount);
    }

    function withdraw(uint256 _amount, bool claim)
        public
        updateReward(msg.sender)
    {
        require(_amount > 0, 'RewardPool : Cannot withdraw 0');

        //also withdraw from linked rewards
        uint256 length = extraRewards.length;
        for(uint i=0; i < length; i++){
            IRewards(extraRewards[i]).withdraw(msg.sender, _amount);
        }

        _totalSupply = _totalSupply.sub(_amount);
        _balances[msg.sender] = _balances[msg.sender].sub(_amount);
        stakingToken.safeTransfer(msg.sender, _amount);
        emit Withdrawn(msg.sender, _amount);

        if(claim){
            getReward(msg.sender,true,false);
        }
    }

    function withdrawAll(bool claim) external{
        withdraw(_balances[msg.sender],claim);
    }

    function getReward(address _account, bool _claimExtras, bool _stake) public updateReward(_account){
        uint256 reward = earnedReward(_account);
        if (reward > 0) {
            rewards[_account] = 0;
            rewardToken.safeApprove(crvDeposits,0);
            rewardToken.safeApprove(crvDeposits,reward);
            ICrvDeposit(crvDeposits).deposit(reward,false);

            uint256 cvxCrvBalance = cvxCrvToken.balanceOf(address(this));
            if(_stake){
                IERC20(cvxCrvToken).safeApprove(cvxCrvRewards,0);
                IERC20(cvxCrvToken).safeApprove(cvxCrvRewards,cvxCrvBalance);
                IRewards(cvxCrvRewards).stakeFor(_account,cvxCrvBalance);
            }else{
                cvxCrvToken.safeTransfer(_account, cvxCrvBalance);
            }
            emit RewardPaid(_account, cvxCrvBalance);
        }

        //also get rewards from linked rewards
        if(_claimExtras){
            uint256 length = extraRewards.length;
            for(uint i=0; i < length; i++){
                IRewards(extraRewards[i]).getReward(_account);
            }
        }
    }

    function getReward(bool _stake) external{
        getReward(msg.sender,true, _stake);
    }

    function donate(uint256 _amount) external returns(bool){
        IERC20(rewardToken).safeTransferFrom(msg.sender, address(this), _amount);
        queuedRewards = queuedRewards.add(_amount);
    }

    function queueNewRewards(uint256 _rewards) external{
        require(msg.sender == operator, "!authorized");

        _rewards = _rewards.add(queuedRewards);

        if (block.timestamp >= periodFinish) {
            notifyRewardAmount(_rewards);
            queuedRewards = 0;
            return;
        }

        //et = now - (finish-duration)
        uint256 elapsedTime = block.timestamp.sub(periodFinish.sub(duration));
        //current at now: rewardRate * elapsedTime
        uint256 currentAtNow = rewardRate * elapsedTime;
        uint256 queuedRatio = currentAtNow.mul(1000).div(_rewards);
        if(queuedRatio < newRewardRatio){
            notifyRewardAmount(_rewards);
            queuedRewards = 0;
        }else{
            queuedRewards = _rewards;
        }
    }

    function notifyRewardAmount(uint256 reward)
        internal
        updateReward(address(0))
    {
        historicalRewards = historicalRewards.add(reward);
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(duration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            reward = reward.add(leftover);
            rewardRate = reward.div(duration);
        }
        currentRewards = reward;
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(duration);
        emit RewardAdded(reward);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"stakingToken_","type":"address"},{"internalType":"address","name":"rewardToken_","type":"address"},{"internalType":"address","name":"crvDeposits_","type":"address"},{"internalType":"address","name":"cvxCrvRewards_","type":"address"},{"internalType":"address","name":"cvxCrvToken_","type":"address"},{"internalType":"address","name":"operator_","type":"address"},{"internalType":"address","name":"rewardManager_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"FEE_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_reward","type":"address"}],"name":"addExtraReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearExtraRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crvDeposits","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"donate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"extraRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extraRewardsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_stake","type":"bool"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_claimExtras","type":"bool"},{"internalType":"bool","name":"_stake","type":"bool"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"historicalRewards","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":[],"name":"newRewardRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewards","type":"uint256"}],"name":"queueNewRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"queuedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_for","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stakeFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"claim","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"claim","type":"bool"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61016060405260008055600060015560006004556000600555600060065534801561002957600080fd5b5060405161206a38038061206a833981810160405260e081101561004c57600080fd5b5080516020820151604083015160608085015160808087015160a08089015160c0998a01516001600160601b031999871b8a1690925296851b881690925294831b861690965294811b84166101405290811b831660e05292831b82166101005290911b166101205260805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160601c611ee5610185600039806105ed52806106935280610c395250806110ef528061134252806113ee5280611443528061152b52508061105b52806114105280611465528061148c525080610523528061066f5280611240528061129452806112e3525080610b185280610b455250806108855280610a715280610d615280610db25280610fee52508061112c528061116b528061121d52806112725250611ee56000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c806372f702f311610130578063c8f33c91116100b8578063df136d651161007c578063df136d651461049f578063ebe2b12b146104a7578063f14faf6f146104af578063f7c618c1146104e0578063f9a6e764146104e857610226565b8063c8f33c9114610477578063cd3daf9d1461047f578063d55a23f414610487578063d73792a91461048f578063dd4adfbc1461049757610226565b80638dcb4061116100ff5780638dcb406114610423578063901a7d531461042b578063a4698feb14610433578063a694fc3a14610452578063a7404b701461046f57610226565b806372f702f3146103e55780637b0a47ee146103ed57806380faa57d146103f55780638b876347146103fd57610226565b80632ee40908116101b3578063590a41f511610182578063590a41f51461036c5780635e43c47b1461038957806363d38c3b146103af5780636c8bcee8146103b757806370a08231146103bf57610226565b80632ee40908146102f657806338d074361461032257806340c3544614610347578063570ca7351461036457610226565b80630f4ef8a6116101fa5780630f4ef8a6146102b75780630fb5a6b4146102bf57806318160ddd146102c75780631c1c6fe5146102cf578063262d3d6d146102ee57610226565b80628cc2621461022b5780630569d388146102635780630700037d1461026d578063090b11b614610293575b600080fd5b6102516004803603602081101561024157600080fd5b50356001600160a01b031661051e565b60408051918252519081900360200190f35b61026b6105e2565b005b6102516004803603602081101561028357600080fd5b50356001600160a01b031661065b565b61029b61066d565b604080516001600160a01b039092168252519081900360200190f35b61029b610691565b6102516106b5565b6102516106bc565b61026b600480360360208110156102e557600080fd5b503515156106c3565b6102516106e0565b61026b6004803603604081101561030c57600080fd5b506001600160a01b0381351690602001356106e6565b61026b6004803603604081101561033857600080fd5b508035906020013515156108e9565b61029b6004803603602081101561035d57600080fd5b5035610aef565b61029b610b16565b61026b6004803603602081101561038257600080fd5b5035610b3a565b61026b6004803603602081101561039f57600080fd5b50356001600160a01b0316610c2e565b610251610d38565b610251610d3e565b610251600480360360208110156103d557600080fd5b50356001600160a01b0316610d44565b61029b610d5f565b610251610d83565b610251610d89565b6102516004803603602081101561041357600080fd5b50356001600160a01b0316610d9c565b61026b610dae565b610251610e54565b61026b6004803603602081101561044957600080fd5b50351515610e5a565b61026b6004803603602081101561046857600080fd5b5035610e66565b61029b611059565b61025161107d565b610251611083565b6102516110e1565b6102516110e7565b61029b6110ed565b610251611111565b610251611117565b6104cc600480360360208110156104c557600080fd5b503561111d565b604080519115158252519081900360200190f35b61029b611169565b61026b600480360360608110156104fe57600080fd5b506001600160a01b0381351690602081013515159060400135151561118d565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663509406186040518163ffffffff1660e01b815260040160206040518083038186803b15801561057a57600080fd5b505afa15801561058e573d6000803e3d6000fd5b505050506040513d60208110156105a457600080fd5b5051905060006105b384611634565b905060006105cd6127106105c78486611690565b906116f0565b90506105d98282611757565b95945050505050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461064d576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b610659600b6000611dd6565b565b600a6020526000908152604090205481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b62093a8081565b6007545b90565b336000908152600860205260409020546106dd90826108e9565b50565b60065481565b816106ef611083565b6003556106fa610d89565b6002556001600160a01b038116156107415761071581611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008211610796576040805162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015290519081900360640190fd5b600b5460005b8181101561082e57600b81815481106107b157fe5b6000918252602082200154604080516356e4bb9760e11b81526001600160a01b038981166004830152602482018990529151919092169263adc9772e926044808201939182900301818387803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b50506001909201915061079c9050565b5060075461083c90846117b4565b6007556001600160a01b03841660009081526008602052604090205461086290846117b4565b6001600160a01b038086166000908152600860205260409020919091556108ad907f00000000000000000000000000000000000000000000000000000000000000001633308661180e565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250505050565b336108f2611083565b6003556108fd610d89565b6002556001600160a01b038116156109445761091881611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008311610999576040805162461bcd60e51b815260206004820152601e60248201527f526577617264506f6f6c203a2043616e6e6f7420776974686472617720300000604482015290519081900360640190fd5b600b5460005b81811015610a2d57600b81815481106109b457fe5b60009182526020822001546040805163f3fef3a360e01b81523360048201526024810189905290516001600160a01b039092169263f3fef3a39260448084019382900301818387803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b50506001909201915061099f9050565b50600754610a3b9085611757565b60075533600090815260086020526040902054610a589085611757565b33600081815260086020526040902091909155610aa0907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169086611868565b60408051858152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a28215610ae957610ae9336001600061118d565b50505050565b600b8181548110610afc57fe5b6000918252602090912001546001600160a01b0316905081565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ba5576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600454610bb39082906117b4565b90506000544210610bd157610bc7816118bf565b60006004556106dd565b60008054610bed90610be69062093a80611757565b4290611757565b60015490915081026000610c07846105c7846103e8611690565b905061033e811015610c2657610c1c846118bf565b6000600455610ae9565b505050600455565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c99576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6001600160a01b038116610ce6576040805162461bcd60e51b815260206004820152600f60248201526e217265776172642073657474696e6760881b604482015290519081900360640190fd5b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0392909216919091179055565b60045481565b61033e81565b6001600160a01b031660009081526008602052604090205490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60015481565b6000610d97426000546119e3565b905090565b60096020526000908152604090205481565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e1d57600080fd5b505afa158015610e31573d6000803e3d6000fd5b505050506040513d6020811015610e4757600080fd5b505190506106dd81610e66565b60055481565b6106dd3360018361118d565b33610e6f611083565b600355610e7a610d89565b6002556001600160a01b03811615610ec157610e9581611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008211610f16576040805162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015290519081900360640190fd5b600b5460005b81811015610faa57600b8181548110610f3157fe5b6000918252602082200154604080516356e4bb9760e11b81523360048201526024810188905290516001600160a01b039092169263adc9772e9260448084019382900301818387803b158015610f8657600080fd5b505af1158015610f9a573d6000803e3d6000fd5b505060019092019150610f1c9050565b50600754610fb890846117b4565b60075533600090815260086020526040902054610fd590846117b4565b3360008181526008602052604090209190915561101e907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690308661180e565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b60008061108e6106bc565b90508061109f5750506003546106c0565b6110db6110d2826105c7670de0b6b3a76400006110cc6001546110cc6002546110c6610d89565b90611757565b90611690565b600354906117b4565b91505090565b600b5490565b61271081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035481565b60005481565b60006111546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308561180e565b60045461116190836117b4565b600455919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b82611196611083565b6003556111a1610d89565b6002556001600160a01b038116156111e8576111bc81611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60006111f385611634565b90508015611593576001600160a01b038086166000908152600a60205260408120819055611265917f000000000000000000000000000000000000000000000000000000000000000016907f0000000000000000000000000000000000000000000000000000000000000000906119f9565b6112b96001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000836119f9565b60408051639a40832160e01b81526004810183905260006024820181905291516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692639a408321926044808201939182900301818387803b15801561132657600080fd5b505af115801561133a573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113ad57600080fd5b505afa1580156113c1573d6000803e3d6000fd5b505050506040513d60208110156113d757600080fd5b50519050831561151e576114366001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000060006119f9565b61148a6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000836119f9565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632ee4090887836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561150157600080fd5b505af1158015611515573d6000803e3d6000fd5b50505050611552565b6115526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168783611868565b6040805182815290516001600160a01b038816917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2505b831561162d57600b5460005b8181101561162a57600b81815481106115b457fe5b600091825260208220015460408051630c00007b60e41b81526001600160a01b038b811660048301529151919092169263c00007b0926024808201939182900301818387803b15801561160657600080fd5b505af115801561161a573d6000803e3d6000fd5b50506001909201915061159f9050565b50505b5050505050565b6001600160a01b0381166000908152600a6020908152604080832054600990925282205461168a919061168490670de0b6b3a7640000906105c79061167b906110c6611083565b6110cc88610d44565b906117b4565b92915050565b60008261169f5750600061168a565b828202828482816116ac57fe5b04146116e95760405162461bcd60e51b8152600401808060200182810382526021815260200180611e2f6021913960400191505060405180910390fd5b9392505050565b6000808211611746576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161174f57fe5b049392505050565b6000828211156117ae576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156116e9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ae9908590611b08565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526118ba908490611b08565b505050565b60006118c9611083565b6003556118d4610d89565b6002556001600160a01b0381161561191b576118ef81611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60065461192890836117b4565b6006556000544210611949576119418262093a806116f0565b600155611991565b600080546119579042611757565b905060006119706001548361169090919063ffffffff16565b905061197c84826117b4565b935061198b8462093a806116f0565b60015550505b60058290554260028190556119a99062093a806117b4565b6000556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b60008183106119f257816116e9565b5090919050565b801580611a7f575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611a5157600080fd5b505afa158015611a65573d6000803e3d6000fd5b505050506040513d6020811015611a7b57600080fd5b5051155b611aba5760405162461bcd60e51b8152600401808060200182810382526036815260200180611e7a6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526118ba9084905b6060611b5d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bb99092919063ffffffff16565b8051909150156118ba57808060200190516020811015611b7c57600080fd5b50516118ba5760405162461bcd60e51b815260040180806020018281038252602a815260200180611e50602a913960400191505060405180910390fd5b6060611bc88484600085611bd0565b949350505050565b606082471015611c115760405162461bcd60e51b8152600401808060200182810382526026815260200180611e096026913960400191505060405180910390fd5b611c1a85611d2c565b611c6b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611caa5780518252601f199092019160209182019101611c8b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d0c576040519150601f19603f3d011682016040523d82523d6000602084013e611d11565b606091505b5091509150611d21828286611d32565b979650505050505050565b3b151590565b60608315611d415750816116e9565b825115611d515782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d9b578181015183820152602001611d83565b50505050905090810190601f168015611dc85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50805460008255906000526020600020908101906106dd91905b80821115611e045760008155600101611df0565b509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220f7eb240a40c014fb70748c6c1fc7b8fe98a03bd7474d717ac9a95d7b1af86dc264736f6c634300060c00330000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd520000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d0277

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102265760003560e01c806372f702f311610130578063c8f33c91116100b8578063df136d651161007c578063df136d651461049f578063ebe2b12b146104a7578063f14faf6f146104af578063f7c618c1146104e0578063f9a6e764146104e857610226565b8063c8f33c9114610477578063cd3daf9d1461047f578063d55a23f414610487578063d73792a91461048f578063dd4adfbc1461049757610226565b80638dcb4061116100ff5780638dcb406114610423578063901a7d531461042b578063a4698feb14610433578063a694fc3a14610452578063a7404b701461046f57610226565b806372f702f3146103e55780637b0a47ee146103ed57806380faa57d146103f55780638b876347146103fd57610226565b80632ee40908116101b3578063590a41f511610182578063590a41f51461036c5780635e43c47b1461038957806363d38c3b146103af5780636c8bcee8146103b757806370a08231146103bf57610226565b80632ee40908146102f657806338d074361461032257806340c3544614610347578063570ca7351461036457610226565b80630f4ef8a6116101fa5780630f4ef8a6146102b75780630fb5a6b4146102bf57806318160ddd146102c75780631c1c6fe5146102cf578063262d3d6d146102ee57610226565b80628cc2621461022b5780630569d388146102635780630700037d1461026d578063090b11b614610293575b600080fd5b6102516004803603602081101561024157600080fd5b50356001600160a01b031661051e565b60408051918252519081900360200190f35b61026b6105e2565b005b6102516004803603602081101561028357600080fd5b50356001600160a01b031661065b565b61029b61066d565b604080516001600160a01b039092168252519081900360200190f35b61029b610691565b6102516106b5565b6102516106bc565b61026b600480360360208110156102e557600080fd5b503515156106c3565b6102516106e0565b61026b6004803603604081101561030c57600080fd5b506001600160a01b0381351690602001356106e6565b61026b6004803603604081101561033857600080fd5b508035906020013515156108e9565b61029b6004803603602081101561035d57600080fd5b5035610aef565b61029b610b16565b61026b6004803603602081101561038257600080fd5b5035610b3a565b61026b6004803603602081101561039f57600080fd5b50356001600160a01b0316610c2e565b610251610d38565b610251610d3e565b610251600480360360208110156103d557600080fd5b50356001600160a01b0316610d44565b61029b610d5f565b610251610d83565b610251610d89565b6102516004803603602081101561041357600080fd5b50356001600160a01b0316610d9c565b61026b610dae565b610251610e54565b61026b6004803603602081101561044957600080fd5b50351515610e5a565b61026b6004803603602081101561046857600080fd5b5035610e66565b61029b611059565b61025161107d565b610251611083565b6102516110e1565b6102516110e7565b61029b6110ed565b610251611111565b610251611117565b6104cc600480360360208110156104c557600080fd5b503561111d565b604080519115158252519081900360200190f35b61029b611169565b61026b600480360360608110156104fe57600080fd5b506001600160a01b0381351690602081013515159060400135151561118d565b6000807f0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae6001600160a01b031663509406186040518163ffffffff1660e01b815260040160206040518083038186803b15801561057a57600080fd5b505afa15801561058e573d6000803e3d6000fd5b505050506040513d60208110156105a457600080fd5b5051905060006105b384611634565b905060006105cd6127106105c78486611690565b906116f0565b90506105d98282611757565b95945050505050565b336001600160a01b037f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d0277161461064d576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b610659600b6000611dd6565b565b600a6020526000908152604090205481565b7f0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae81565b7f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d027781565b62093a8081565b6007545b90565b336000908152600860205260409020546106dd90826108e9565b50565b60065481565b816106ef611083565b6003556106fa610d89565b6002556001600160a01b038116156107415761071581611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008211610796576040805162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015290519081900360640190fd5b600b5460005b8181101561082e57600b81815481106107b157fe5b6000918252602082200154604080516356e4bb9760e11b81526001600160a01b038981166004830152602482018990529151919092169263adc9772e926044808201939182900301818387803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b50506001909201915061079c9050565b5060075461083c90846117b4565b6007556001600160a01b03841660009081526008602052604090205461086290846117b4565b6001600160a01b038086166000908152600860205260409020919091556108ad907f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b1633308661180e565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250505050565b336108f2611083565b6003556108fd610d89565b6002556001600160a01b038116156109445761091881611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008311610999576040805162461bcd60e51b815260206004820152601e60248201527f526577617264506f6f6c203a2043616e6e6f7420776974686472617720300000604482015290519081900360640190fd5b600b5460005b81811015610a2d57600b81815481106109b457fe5b60009182526020822001546040805163f3fef3a360e01b81523360048201526024810189905290516001600160a01b039092169263f3fef3a39260448084019382900301818387803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b50506001909201915061099f9050565b50600754610a3b9085611757565b60075533600090815260086020526040902054610a589085611757565b33600081815260086020526040902091909155610aa0907f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03169086611868565b60408051858152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a28215610ae957610ae9336001600061118d565b50505050565b600b8181548110610afc57fe5b6000918252602090912001546001600160a01b0316905081565b7f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae3181565b336001600160a01b037f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae311614610ba5576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b600454610bb39082906117b4565b90506000544210610bd157610bc7816118bf565b60006004556106dd565b60008054610bed90610be69062093a80611757565b4290611757565b60015490915081026000610c07846105c7846103e8611690565b905061033e811015610c2657610c1c846118bf565b6000600455610ae9565b505050600455565b336001600160a01b037f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d02771614610c99576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6001600160a01b038116610ce6576040805162461bcd60e51b815260206004820152600f60248201526e217265776172642073657474696e6760881b604482015290519081900360640190fd5b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0392909216919091179055565b60045481565b61033e81565b6001600160a01b031660009081526008602052604090205490565b7f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60015481565b6000610d97426000546119e3565b905090565b60096020526000908152604090205481565b60007f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610e1d57600080fd5b505afa158015610e31573d6000803e3d6000fd5b505050506040513d6020811015610e4757600080fd5b505190506106dd81610e66565b60055481565b6106dd3360018361118d565b33610e6f611083565b600355610e7a610d89565b6002556001600160a01b03811615610ec157610e9581611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60008211610f16576040805162461bcd60e51b815260206004820152601b60248201527f526577617264506f6f6c203a2043616e6e6f74207374616b6520300000000000604482015290519081900360640190fd5b600b5460005b81811015610faa57600b8181548110610f3157fe5b6000918252602082200154604080516356e4bb9760e11b81523360048201526024810188905290516001600160a01b039092169263adc9772e9260448084019382900301818387803b158015610f8657600080fd5b505af1158015610f9a573d6000803e3d6000fd5b505060019092019150610f1c9050565b50600754610fb890846117b4565b60075533600090815260086020526040902054610fd590846117b4565b3360008181526008602052604090209190915561101e907f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b031690308661180e565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a2505050565b7f0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e81565b60025481565b60008061108e6106bc565b90508061109f5750506003546106c0565b6110db6110d2826105c7670de0b6b3a76400006110cc6001546110cc6002546110c6610d89565b90611757565b90611690565b600354906117b4565b91505090565b600b5490565b61271081565b7f00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa781565b60035481565b60005481565b60006111546001600160a01b037f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd521633308561180e565b60045461116190836117b4565b600455919050565b7f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd5281565b82611196611083565b6003556111a1610d89565b6002556001600160a01b038116156111e8576111bc81611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60006111f385611634565b90508015611593576001600160a01b038086166000908152600a60205260408120819055611265917f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd5216907f0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae906119f9565b6112b96001600160a01b037f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52167f0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae836119f9565b60408051639a40832160e01b81526004810183905260006024820181905291516001600160a01b037f0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae1692639a408321926044808201939182900301818387803b15801561132657600080fd5b505af115801561133a573d6000803e3d6000fd5b5050505060007f00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa76001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156113ad57600080fd5b505afa1580156113c1573d6000803e3d6000fd5b505050506040513d60208110156113d757600080fd5b50519050831561151e576114366001600160a01b037f00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7167f0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e60006119f9565b61148a6001600160a01b037f00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7167f0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e836119f9565b7f0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e6001600160a01b0316632ee4090887836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561150157600080fd5b505af1158015611515573d6000803e3d6000fd5b50505050611552565b6115526001600160a01b037f00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7168783611868565b6040805182815290516001600160a01b038816917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a2505b831561162d57600b5460005b8181101561162a57600b81815481106115b457fe5b600091825260208220015460408051630c00007b60e41b81526001600160a01b038b811660048301529151919092169263c00007b0926024808201939182900301818387803b15801561160657600080fd5b505af115801561161a573d6000803e3d6000fd5b50506001909201915061159f9050565b50505b5050505050565b6001600160a01b0381166000908152600a6020908152604080832054600990925282205461168a919061168490670de0b6b3a7640000906105c79061167b906110c6611083565b6110cc88610d44565b906117b4565b92915050565b60008261169f5750600061168a565b828202828482816116ac57fe5b04146116e95760405162461bcd60e51b8152600401808060200182810382526021815260200180611e2f6021913960400191505060405180910390fd5b9392505050565b6000808211611746576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161174f57fe5b049392505050565b6000828211156117ae576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156116e9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ae9908590611b08565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526118ba908490611b08565b505050565b60006118c9611083565b6003556118d4610d89565b6002556001600160a01b0381161561191b576118ef81611634565b6001600160a01b0382166000908152600a60209081526040808320939093556003546009909152919020555b60065461192890836117b4565b6006556000544210611949576119418262093a806116f0565b600155611991565b600080546119579042611757565b905060006119706001548361169090919063ffffffff16565b905061197c84826117b4565b935061198b8462093a806116f0565b60015550505b60058290554260028190556119a99062093a806117b4565b6000556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b60008183106119f257816116e9565b5090919050565b801580611a7f575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611a5157600080fd5b505afa158015611a65573d6000803e3d6000fd5b505050506040513d6020811015611a7b57600080fd5b5051155b611aba5760405162461bcd60e51b8152600401808060200182810382526036815260200180611e7a6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526118ba9084905b6060611b5d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bb99092919063ffffffff16565b8051909150156118ba57808060200190516020811015611b7c57600080fd5b50516118ba5760405162461bcd60e51b815260040180806020018281038252602a815260200180611e50602a913960400191505060405180910390fd5b6060611bc88484600085611bd0565b949350505050565b606082471015611c115760405162461bcd60e51b8152600401808060200182810382526026815260200180611e096026913960400191505060405180910390fd5b611c1a85611d2c565b611c6b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611caa5780518252601f199092019160209182019101611c8b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d0c576040519150601f19603f3d011682016040523d82523d6000602084013e611d11565b606091505b5091509150611d21828286611d32565b979650505050505050565b3b151590565b60608315611d415750816116e9565b825115611d515782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d9b578181015183820152602001611d83565b50505050905090810190601f168015611dc85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50805460008255906000526020600020908101906106dd91905b80821115611e045760008155600101611df0565b509056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220f7eb240a40c014fb70748c6c1fc7b8fe98a03bd7474d717ac9a95d7b1af86dc264736f6c634300060c0033

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

0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd520000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d0277

-----Decoded View---------------
Arg [0] : stakingToken_ (address): 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B
Arg [1] : rewardToken_ (address): 0xD533a949740bb3306d119CC777fa900bA034cd52
Arg [2] : crvDeposits_ (address): 0x8014595F2AB54cD7c604B00E9fb932176fDc86Ae
Arg [3] : cvxCrvRewards_ (address): 0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e
Arg [4] : cvxCrvToken_ (address): 0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7
Arg [5] : operator_ (address): 0xF403C135812408BFbE8713b5A23a04b3D48AAE31
Arg [6] : rewardManager_ (address): 0x947B7742C403f20e5FaCcDAc5E092C943E7D0277

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
Arg [1] : 000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52
Arg [2] : 0000000000000000000000008014595f2ab54cd7c604b00e9fb932176fdc86ae
Arg [3] : 0000000000000000000000003fe65692bfcd0e6cf84cb1e7d24108e434a7587e
Arg [4] : 00000000000000000000000062b9c7356a2dc64a1969e19c23e4f579f9810aa7
Arg [5] : 000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31
Arg [6] : 000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d0277


Deployed Bytecode Sourcemap

29619:9530:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33379:441;;;;;;;;;;;;;;;;-1:-1:-1;33379:441:0;-1:-1:-1;;;;;33379:441:0;;:::i;:::-;;;;;;;;;;;;;;;;32011:137;;;:::i;:::-;;30598:42;;;;;;;;;;;;;;;;-1:-1:-1;30598:42:0;-1:-1:-1;;;;;30598:42:0;;:::i;29945:36::-;;;:::i;:::-;;;;-1:-1:-1;;;;;29945:36:0;;;;;;;;;;;;;;30075:38;;;:::i;29801:41::-;;;:::i;31455:91::-;;;:::i;36082:97::-;;;;;;;;;;;;;;;;-1:-1:-1;36082:97:0;;;;:::i;30353:36::-;;;:::i;34672:698::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34672:698:0;;;;;;;;:::i;35378:696::-;;;;;;;;;;;;;;;;-1:-1:-1;35378:696:0;;;;;;;;;:::i;30649:29::-;;;;;;;;;;;;;;;;-1:-1:-1;30649:29:0;;:::i;29905:33::-;;;:::i;37649:809::-;;;;;;;;;;;;;;;;-1:-1:-1;37649:809:0;;:::i;31787:218::-;;;;;;;;;;;;;;;;-1:-1:-1;31787:218:0;-1:-1:-1;;;;;31787:218:0;;:::i;30274:32::-;;;:::i;30396:44::-;;;:::i;31554:110::-;;;;;;;;;;;;;;;;-1:-1:-1;31554:110:0;-1:-1:-1;;;;;31554:110:0;;:::i;29758:36::-;;;:::i;30160:29::-;;;:::i;32500:135::-;;;:::i;30534:57::-;;;;;;;;;;;;;;;;-1:-1:-1;30534:57:0;-1:-1:-1;;;;;30534:57:0;;:::i;34540:124::-;;;:::i;30313:33::-;;;:::i;37341:93::-;;;;;;;;;;;;;;;;-1:-1:-1;37341:93:0;;;;:::i;33828:704::-;;;;;;;;;;;;;;;;-1:-1:-1;33828:704:0;;:::i;29988:38::-;;;:::i;30196:29::-;;;:::i;32643:447::-;;;:::i;31672:107::-;;;:::i;29849:47::-;;;:::i;30033:35::-;;;:::i;30232:::-;;;:::i;30122:31::-;;;:::i;37442:199::-;;;;;;;;;;;;;;;;-1:-1:-1;37442:199:0;;:::i;:::-;;;;;;;;;;;;;;;;;;29716:35;;;:::i;36187:1146::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36187:1146:0;;;;;;;;;;;;;;;;;:::i;33379:441::-;33435:7;33455:22;33492:11;-1:-1:-1;;;;;33480:38:0;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33480:40:0;;-1:-1:-1;33533:9:0;33545:21;33558:7;33545:12;:21::i;:::-;33533:33;-1:-1:-1;33577:12:0;33592:42;29891:5;33592:21;33533:33;33598:14;33592:5;:21::i;:::-;:25;;:42::i;:::-;33577:57;-1:-1:-1;33801:11:0;:1;33577:57;33801:5;:11::i;:::-;33794:18;33379:441;-1:-1:-1;;;;;33379:441:0:o;32011:137::-;32067:10;-1:-1:-1;;;;;32081:13:0;32067:27;;32059:51;;;;;-1:-1:-1;;;32059:51:0;;;;;;;;;;;;-1:-1:-1;;;32059:51:0;;;;;;;;;;;;;;;32121:19;32128:12;;32121:19;:::i;:::-;32011:137::o;30598:42::-;;;;;;;;;;;;;:::o;29945:36::-;;;:::o;30075:38::-;;;:::o;29801:41::-;29836:6;29801:41;:::o;31455:91::-;31526:12;;31455:91;;:::o;36082:97::-;36153:10;36143:21;;;;:9;:21;;;;;;36134:37;;36165:5;36134:8;:37::i;:::-;36082:97;:::o;30353:36::-;;;;:::o;34672:698::-;34759:4;32229:16;:14;:16::i;:::-;32206:20;:39;32273:26;:24;:26::i;:::-;32256:14;:43;-1:-1:-1;;;;;32314:21:0;;;32310:163;;32371:21;32384:7;32371:12;:21::i;:::-;-1:-1:-1;;;;;32352:16:0;;;;;;:7;:16;;;;;;;;:40;;;;32441:20;;32407:22;:31;;;;;;:54;32310:163;34799:1:::1;34789:7;:11;34781:51;;;::::0;;-1:-1:-1;;;34781:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34902:12;:19:::0;34885:14:::1;34932:103;34950:6;34946:1;:10;34932:103;;;34986:12;34999:1;34986:15;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;34977:46:::1;::::0;;-1:-1:-1;;;34977:46:0;;-1:-1:-1;;;;;34977:46:0;;::::1;;::::0;::::1;::::0;;;;;;;;;34986:15;;;::::1;::::0;34977:31:::1;::::0;:46;;;;;;;;;;;34986:15;;34977:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;34958:3:0::1;::::0;;::::1;::::0;-1:-1:-1;34932:103:0::1;::::0;-1:-1:-1;34932:103:0::1;;-1:-1:-1::0;35085:12:0::1;::::0;:25:::1;::::0;35102:7;35085:16:::1;:25::i;:::-;35070:12;:40:::0;-1:-1:-1;;;;;35178:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;;:28:::1;::::0;35198:7;35178:19:::1;:28::i;:::-;-1:-1:-1::0;;;;;35160:15:0;;::::1;;::::0;;;:9:::1;:15;::::0;;;;:46;;;;35252:65:::1;::::0;:12:::1;:29;35282:10;35302:4;35309:7:::0;35252:29:::1;:65::i;:::-;35335:27;::::0;;;;;;;35342:10:::1;::::0;35335:27:::1;::::0;;;;;::::1;::::0;;::::1;32483:1;34672:698:::0;;;:::o;35378:696::-;35463:10;32229:16;:14;:16::i;:::-;32206:20;:39;32273:26;:24;:26::i;:::-;32256:14;:43;-1:-1:-1;;;;;32314:21:0;;;32310:163;;32371:21;32384:7;32371:12;:21::i;:::-;-1:-1:-1;;;;;32352:16:0;;;;;;:7;:16;;;;;;;;:40;;;;32441:20;;32407:22;:31;;;;;;:54;32310:163;35509:1:::1;35499:7;:11;35491:54;;;::::0;;-1:-1:-1;;;35491:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;35620:12;:19:::0;35603:14:::1;35650:112;35668:6;35664:1;:10;35650:112;;;35704:12;35717:1;35704:15;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;35695:55:::1;::::0;;-1:-1:-1;;;35695:55:0;;35730:10:::1;35695:55;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;35704:15:0;;::::1;::::0;35695:34:::1;::::0;:55;;;;;;;;;;35704:15;;35695:55;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;35676:3:0::1;::::0;;::::1;::::0;-1:-1:-1;35650:112:0::1;::::0;-1:-1:-1;35650:112:0::1;;-1:-1:-1::0;35789:12:0::1;::::0;:25:::1;::::0;35806:7;35789:16:::1;:25::i;:::-;35774:12;:40:::0;35859:10:::1;35849:21;::::0;;;:9:::1;:21;::::0;;;;;:34:::1;::::0;35875:7;35849:25:::1;:34::i;:::-;35835:10;35825:21;::::0;;;:9:::1;:21;::::0;;;;:58;;;;35894:46:::1;::::0;:12:::1;-1:-1:-1::0;;;;;35894:25:0::1;::::0;35932:7;35894:25:::1;:46::i;:::-;35956:30;::::0;;;;;;;35966:10:::1;::::0;35956:30:::1;::::0;;;;;::::1;::::0;;::::1;36002:5;35999:68;;;36023:32;36033:10;36044:4;36049:5;36023:9;:32::i;:::-;32483:1;35378:696:::0;;;:::o;30649:29::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30649:29:0;;-1:-1:-1;30649:29:0;:::o;29905:33::-;;;:::o;37649:809::-;37719:10;-1:-1:-1;;;;;37733:8:0;37719:22;;37711:46;;;;;-1:-1:-1;;;37711:46:0;;;;;;;;;;;;-1:-1:-1;;;37711:46:0;;;;;;;;;;;;;;;37794:13;;37781:27;;:8;;:12;:27::i;:::-;37770:38;;37844:12;;37825:15;:31;37821:145;;37873:28;37892:8;37873:18;:28::i;:::-;37932:1;37916:13;:17;37948:7;;37821:145;38018:19;38060:12;;38040:47;;38060:26;;29836:6;38060:16;:26::i;:::-;38040:15;;:19;:47::i;:::-;38173:10;;38018:69;;-1:-1:-1;38173:24:0;;38150:20;38230:36;38257:8;38230:22;38173:24;38247:4;38230:16;:22::i;:36::-;38208:58;;30437:3;38280:11;:28;38277:174;;;38324:28;38343:8;38324:18;:28::i;:::-;38383:1;38367:13;:17;38277:174;;;-1:-1:-1;;;38415:13:0;:24;37649:809::o;31787:218::-;31856:10;-1:-1:-1;;;;;31870:13:0;31856:27;;31848:51;;;;;-1:-1:-1;;;31848:51:0;;;;;;;;;;;;-1:-1:-1;;;31848:51:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31918:21:0;;31910:48;;;;;-1:-1:-1;;;31910:48:0;;;;;;;;;;;;-1:-1:-1;;;31910:48:0;;;;;;;;;;;;;;;31971:12;:26;;;;;;;-1:-1:-1;31971:26:0;;;;;;;;-1:-1:-1;;;;;;31971:26:0;-1:-1:-1;;;;;31971:26:0;;;;;;;;;;31787:218::o;30274:32::-;;;;:::o;30396:44::-;30437:3;30396:44;:::o;31554:110::-;-1:-1:-1;;;;;31638:18:0;31611:7;31638:18;;;:9;:18;;;;;;;31554:110::o;29758:36::-;;;:::o;30160:29::-;;;;:::o;32500:135::-;32557:7;32584:43;32597:15;32614:12;;32584;:43::i;:::-;32577:50;;32500:135;:::o;30534:57::-;;;;;;;;;;;;;:::o;34540:124::-;34579:15;34597:12;-1:-1:-1;;;;;34597:22:0;;34620:10;34597:34;;;;;;;;;;;;;-1:-1:-1;;;;;34597:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34597:34:0;;-1:-1:-1;34642:14:0;34597:34;34642:5;:14::i;30313:33::-;;;;:::o;37341:93::-;37392:34;37402:10;37413:4;37419:6;37392:9;:34::i;33828:704::-;33898:10;32229:16;:14;:16::i;:::-;32206:20;:39;32273:26;:24;:26::i;:::-;32256:14;:43;-1:-1:-1;;;;;32314:21:0;;;32310:163;;32371:21;32384:7;32371:12;:21::i;:::-;-1:-1:-1;;;;;32352:16:0;;;;;;:7;:16;;;;;;;;:40;;;;32441:20;;32407:22;:31;;;;;;:54;32310:163;33944:1:::1;33934:7;:11;33926:51;;;::::0;;-1:-1:-1;;;33926:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34047:12;:19:::0;34030:14:::1;34077:109;34095:6;34091:1;:10;34077:109;;;34131:12;34144:1;34131:15;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;34122:52:::1;::::0;;-1:-1:-1;;;34122:52:0;;34154:10:::1;34122:52;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;34131:15:0;;::::1;::::0;34122:31:::1;::::0;:52;;;;;;;;;;34131:15;;34122:52;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;34103:3:0::1;::::0;;::::1;::::0;-1:-1:-1;34077:109:0::1;::::0;-1:-1:-1;34077:109:0::1;;-1:-1:-1::0;34235:12:0::1;::::0;:25:::1;::::0;34252:7;34235:16:::1;:25::i;:::-;34220:12;:40:::0;34344:10:::1;34334:21;::::0;;;:9:::1;:21;::::0;;;;;:34:::1;::::0;34360:7;34334:25:::1;:34::i;:::-;34320:10;34310:21;::::0;;;:9:::1;:21;::::0;;;;:58;;;;34414:65:::1;::::0;:12:::1;-1:-1:-1::0;;;;;34414:29:0::1;::::0;34464:4:::1;34471:7:::0;34414:29:::1;:65::i;:::-;34497:27;::::0;;;;;;;34504:10:::1;::::0;34497:27:::1;::::0;;;;;::::1;::::0;;::::1;32483:1;33828:704:::0;;:::o;29988:38::-;;;:::o;30196:29::-;;;;:::o;32643:447::-;32690:7;32710:14;32727:13;:11;:13::i;:::-;32710:30;-1:-1:-1;32755:11:0;32751:71;;-1:-1:-1;;32790:20:0;;32783:27;;32751:71;32852:230;32895:172;33060:6;32895:138;33028:4;32895:106;32990:10;;32895:68;32948:14;;32895:26;:24;:26::i;:::-;:52;;:68::i;:::-;:94;;:106::i;:172::-;32852:20;;;:24;:230::i;:::-;32832:250;;;32643:447;:::o;31672:107::-;31752:12;:19;31672:107;:::o;29849:47::-;29891:5;29849:47;:::o;30033:35::-;;;:::o;30232:::-;;;;:::o;30122:31::-;;;;:::o;37442:199::-;37492:4;37508:72;-1:-1:-1;;;;;37515:11:0;37508:36;37545:10;37565:4;37572:7;37508:36;:72::i;:::-;37607:13;;:26;;37625:7;37607:17;:26::i;:::-;37591:13;:42;37442:199;;-1:-1:-1;37442:199:0:o;29716:35::-;;;:::o;36187:1146::-;36276:8;32229:16;:14;:16::i;:::-;32206:20;:39;32273:26;:24;:26::i;:::-;32256:14;:43;-1:-1:-1;;;;;32314:21:0;;;32310:163;;32371:21;32384:7;32371:12;:21::i;:::-;-1:-1:-1;;;;;32352:16:0;;;;;;:7;:16;;;;;;;;:40;;;;32441:20;;32407:22;:31;;;;;;:54;32310:163;36296:14:::1;36313:22;36326:8;36313:12;:22::i;:::-;36296:39:::0;-1:-1:-1;36350:10:0;;36346:717:::1;;-1:-1:-1::0;;;;;36377:17:0;;::::1;36397:1;36377:17:::0;;;:7:::1;:17;::::0;;;;:21;;;36413:38:::1;::::0;:11:::1;:23;::::0;36437:11:::1;::::0;36413:23:::1;:38::i;:::-;36466:43;-1:-1:-1::0;;;;;36466:11:0::1;:23;36490:11;36502:6:::0;36466:23:::1;:43::i;:::-;36524:46;::::0;;-1:-1:-1;;;36524:46:0;;::::1;::::0;::::1;::::0;;;36564:5:::1;36524:46:::0;;;;;;;;-1:-1:-1;;;;;36536:11:0::1;36524:32;::::0;::::1;::::0;:46;;;;;;;;;;;36564:5;36524:32;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36587:21;36611:11;-1:-1:-1::0;;;;;36611:21:0::1;;36641:4;36611:36;;;;;;;;;;;;;-1:-1:-1::0;;;;;36611:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;36611:36:0;;-1:-1:-1;36662:335:0;::::1;;;36691:48;-1:-1:-1::0;;;;;36698:11:0::1;36691:31;36723:13;36737:1;36691:31;:48::i;:::-;36758:60;-1:-1:-1::0;;;;;36765:11:0::1;36758:31;36790:13;36804::::0;36758:31:::1;:60::i;:::-;36846:13;-1:-1:-1::0;;;;;36837:32:0::1;;36870:8;36879:13;36837:56;;;;;;;;;;;;;-1:-1:-1::0;;;;;36837:56:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36662:335;;;36932:49;-1:-1:-1::0;;;;;36932:11:0::1;:24;36957:8:::0;36967:13;36932:24:::1;:49::i;:::-;37016:35;::::0;;;;;;;-1:-1:-1;;;;;37016:35:0;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;::::1;36346:717;;37126:12;37123:203;;;37171:12;:19:::0;37154:14:::1;37205:110;37223:6;37219:1;:10;37205:110;;;37263:12;37276:1;37263:15;;;;;;;;;::::0;;;::::1;::::0;;::::1;::::0;37254:45:::1;::::0;;-1:-1:-1;;;37254:45:0;;-1:-1:-1;;;;;37254:45:0;;::::1;;::::0;::::1;::::0;;;37263:15;;;::::1;::::0;37254:35:::1;::::0;:45;;;;;;;;;;;37263:15;;37254:45;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;37231:3:0::1;::::0;;::::1;::::0;-1:-1:-1;37205:110:0::1;::::0;-1:-1:-1;37205:110:0::1;;;37123:203;;32483:1;36187:1146:::0;;;;:::o;33098:273::-;-1:-1:-1;;;;;33346:16:0;;33160:7;33346:16;;;:7;:16;;;;;;;;;33262:22;:31;;;;;;33200:163;;33346:16;33200:123;;33318:4;;33200:95;;33241:53;;:16;:14;:16::i;:53::-;33200:18;33210:7;33200:9;:18::i;:123::-;:145;;:163::i;:::-;33180:183;33098:273;-1:-1:-1;;33098:273:0:o;9710:220::-;9768:7;9792:6;9788:20;;-1:-1:-1;9807:1:0;9800:8;;9788:20;9831:5;;;9835:1;9831;:5;:1;9855:5;;;;;:10;9847:56;;;;-1:-1:-1;;;9847:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9921:1;9710:220;-1:-1:-1;;;9710:220:0:o;10408:153::-;10466:7;10498:1;10494;:5;10486:44;;;;;-1:-1:-1;;;10486:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10552:1;10548;:5;;;;;;;10408:153;-1:-1:-1;;;10408:153:0:o;9293:158::-;9351:7;9384:1;9379;:6;;9371:49;;;;;-1:-1:-1;;;9371:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9438:5:0;;;9293:158::o;8831:179::-;8889:7;8921:5;;;8945:6;;;;8937:46;;;;;-1:-1:-1;;;8937:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;25177:205;25305:68;;;-1:-1:-1;;;;;25305:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25305:68:0;-1:-1:-1;;;25305:68:0;;;25278:96;;25298:5;;25278:19;:96::i;24992:177::-;25102:58;;;-1:-1:-1;;;;;25102:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25102:58:0;-1:-1:-1;;;25102:58:0;;;25075:86;;25095:5;;25075:19;:86::i;:::-;24992:177;;;:::o;38466:680::-;38558:1;32229:16;:14;:16::i;:::-;32206:20;:39;32273:26;:24;:26::i;:::-;32256:14;:43;-1:-1:-1;;;;;32314:21:0;;;32310:163;;32371:21;32384:7;32371:12;:21::i;:::-;-1:-1:-1;;;;;32352:16:0;;;;;;:7;:16;;;;;;;;:40;;;;32441:20;;32407:22;:31;;;;;;:54;32310:163;38598:17:::1;::::0;:29:::1;::::0;38620:6;38598:21:::1;:29::i;:::-;38578:17;:49:::0;38661:12:::1;::::0;38642:15:::1;:31;38638:334;;38703:20;:6:::0;29836::::1;38703:10;:20::i;:::-;38690:10;:33:::0;38638:334:::1;;;38756:17;38776:12:::0;;:33:::1;::::0;38793:15:::1;38776:16;:33::i;:::-;38756:53;;38824:16;38843:25;38857:10;;38843:9;:13;;:25;;;;:::i;:::-;38824:44:::0;-1:-1:-1;38892:20:0::1;:6:::0;38824:44;38892:10:::1;:20::i;:::-;38883:29:::0;-1:-1:-1;38940:20:0::1;38883:29:::0;29836:6:::1;38940:10;:20::i;:::-;38927:10;:33:::0;-1:-1:-1;;38638:334:0::1;38982:14;:23:::0;;;39033:15:::1;39016:14;:32:::0;;;39074:29:::1;::::0;29836:6:::1;39074:19;:29::i;:::-;39059:12;:44:::0;39119:19:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;38466:680:::0;;:::o;231:106::-;289:7;320:1;316;:5;:13;;328:1;316:13;;;-1:-1:-1;324:1:0;;309:20;-1:-1:-1;231:106:0:o;25651:622::-;26021:10;;;26020:62;;-1:-1:-1;26037:39:0;;;-1:-1:-1;;;26037:39:0;;26061:4;26037:39;;;;-1:-1:-1;;;;;26037:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26037:39:0;:44;26020:62;26012:152;;;;-1:-1:-1;;;26012:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26202:62;;;-1:-1:-1;;;;;26202:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26202:62:0;-1:-1:-1;;;26202:62:0;;;26175:90;;26195:5;;27297:761;27721:23;27747:69;27775:4;27747:69;;;;;;;;;;;;;;;;;27755:5;-1:-1:-1;;;;;27747:27:0;;;:69;;;;;:::i;:::-;27831:17;;27721:95;;-1:-1:-1;27831:21:0;27827:224;;27973:10;27962:30;;;;;;;;;;;;;;;-1:-1:-1;27962:30:0;27954:85;;;;-1:-1:-1;;;27954:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19991:195;20094:12;20126:52;20148:6;20156:4;20162:1;20165:12;20126:21;:52::i;:::-;20119:59;19991:195;-1:-1:-1;;;;19991:195:0:o;21043:530::-;21170:12;21228:5;21203:21;:30;;21195:81;;;;-1:-1:-1;;;21195:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21295:18;21306:6;21295:10;:18::i;:::-;21287:60;;;;;-1:-1:-1;;;21287:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21421:12;21435:23;21462:6;-1:-1:-1;;;;;21462:11:0;21482:5;21490:4;21462:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21462:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21420:75;;;;21513:52;21531:7;21540:10;21552:12;21513:17;:52::i;:::-;21506:59;21043:530;-1:-1:-1;;;;;;;21043:530:0:o;17073:422::-;17440:20;17479:8;;;17073:422::o;23583:742::-;23698:12;23727:7;23723:595;;;-1:-1:-1;23758:10:0;23751:17;;23723:595;23872:17;;:21;23868:439;;24135:10;24129:17;24196:15;24183:10;24179:2;24175:19;24168:44;24083:148;24278:12;24271:20;;-1:-1:-1;;;24271:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://f7eb240a40c014fb70748c6c1fc7b8fe98a03bd7474d717ac9a95d7b1af86dc2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.