ETH Price: $3,322.81 (-4.90%)

Contract

0x92Cf9E5e4D1Dfbf7dA0d2BB3e884a68416a65070
 
Transaction Hash
Method
Block
From
To
Claim Rewards155944182022-09-23 7:00:59825 days ago1663916459IN
Convex Finance: Claim Zap
0 ETH0.001847655
Claim Rewards147105412022-05-04 11:00:32967 days ago1651662032IN
Convex Finance: Claim Zap
0 ETH0.0142717446.48064542
Claim Rewards145553742022-04-10 2:43:21991 days ago1649558601IN
Convex Finance: Claim Zap
0 ETH0.0162975123.05024054
Claim Rewards145040272022-04-02 2:06:44999 days ago1648865204IN
Convex Finance: Claim Zap
0 ETH0.0051696551.81936496
Claim Rewards145040272022-04-02 2:06:44999 days ago1648865204IN
Convex Finance: Claim Zap
0 ETH0.0223517351.79936496
Claim Rewards144674582022-03-27 9:37:541005 days ago1648373874IN
Convex Finance: Claim Zap
0 ETH0.0054459113.77136131
Claim Rewards144535222022-03-25 5:17:531007 days ago1648185473IN
Convex Finance: Claim Zap
0 ETH0.0158692122.91017354
Claim Rewards144492952022-03-24 13:41:081008 days ago1648129268IN
Convex Finance: Claim Zap
0 ETH0.0053449339.33306313
Claim Rewards144404532022-03-23 4:34:431009 days ago1648010083IN
Convex Finance: Claim Zap
0 ETH0.0222605667.96476349
Claim Rewards144204102022-03-20 1:48:511012 days ago1647740931IN
Convex Finance: Claim Zap
0 ETH0.0070741819.5923442
Claim Rewards144204102022-03-20 1:48:511012 days ago1647740931IN
Convex Finance: Claim Zap
0 ETH0.0161191819.5823442
Claim Rewards144204082022-03-20 1:48:321012 days ago1647740912IN
Convex Finance: Claim Zap
0 ETH0.0037649719.39117563
Claim Rewards144199502022-03-20 0:02:491012 days ago1647734569IN
Convex Finance: Claim Zap
0 ETH0.007636930.94208469
Claim Rewards144192452022-03-19 21:12:151013 days ago1647724335IN
Convex Finance: Claim Zap
0 ETH0.0271927484.66301228
Claim Rewards144192452022-03-19 21:12:151013 days ago1647724335IN
Convex Finance: Claim Zap
0 ETH0.0175391284.66301228
Claim Rewards144181952022-03-19 17:24:291013 days ago1647710669IN
Convex Finance: Claim Zap
0 ETH0.0119763522.9526101
Claim Rewards143999432022-03-16 21:12:441016 days ago1647465164IN
Convex Finance: Claim Zap
0 ETH0.01043541143.75625227
Claim Rewards143999432022-03-16 21:12:441016 days ago1647465164IN
Convex Finance: Claim Zap
0 ETH0.08473051143.75625227
Claim Rewards143999432022-03-16 21:12:441016 days ago1647465164IN
Convex Finance: Claim Zap
0 ETH0.0316925143.75625227
Claim Rewards143999432022-03-16 21:12:441016 days ago1647465164IN
Convex Finance: Claim Zap
0 ETH0.04785965151.67058199
Claim Rewards143999432022-03-16 21:12:441016 days ago1647465164IN
Convex Finance: Claim Zap
0 ETH0.03142068151.67058199
Claim Rewards143992512022-03-16 18:30:051016 days ago1647455405IN
Convex Finance: Claim Zap
0 ETH0.0144573568.69603239
Claim Rewards143992482022-03-16 18:29:101016 days ago1647455350IN
Convex Finance: Claim Zap
0 ETH0.026788264.96550562
Claim Rewards143934652022-03-15 21:00:171017 days ago1647378017IN
Convex Finance: Claim Zap
0 ETH0.0418363465
Claim Rewards143910112022-03-15 11:55:341017 days ago1647345334IN
Convex Finance: Claim Zap
0 ETH0.0071530616.09565312
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
155944182022-09-23 7:00:59825 days ago1663916459
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
147105412022-05-04 11:00:32967 days ago1651662032
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145553742022-04-10 2:43:21991 days ago1649558601
0x92Cf9E5e...416a65070
0 ETH
145040272022-04-02 2:06:44999 days ago1648865204
0x92Cf9E5e...416a65070
0 ETH
145040272022-04-02 2:06:44999 days ago1648865204
0x92Cf9E5e...416a65070
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ClaimZap

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-10-01
*/

// File: contracts\interfaces\MathUtil.sol

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

// File: contracts\interfaces\ILockedCvx.sol

pragma solidity 0.6.12;

interface ILockedCvx{
    function lock(address _account, uint256 _amount, uint256 _spendRatio) external;
    function processExpiredLocks(bool _relock, uint256 _spendRatio, address _withdrawTo) external;
    function getReward(address _account, bool _stake) external;
    function balanceAtEpochOf(uint256 _epoch, address _user) view external returns(uint256 amount);
    function totalSupplyAtEpoch(uint256 _epoch) view external returns(uint256 supply);
    function epochCount() external view returns(uint256);
    function checkpointEpoch() external;
}

// 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: node_modules\@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: node_modules\@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\ClaimZap.sol
pragma solidity 0.6.12;


interface IBasicRewards{
    function getReward(address _account, bool _claimExtras) external;
    function getReward(address _account) external;
    function getReward(address _account, address _token) external;
    function stakeFor(address, uint256) external;
}

interface ICvxRewards{
    function getReward(address _account, bool _claimExtras, bool _stake) external;
}

interface IChefRewards{
    function claim(uint256 _pid, address _account) external;
}

interface ICvxCrvDeposit{
    function deposit(uint256, bool) external;
}

interface ISwapExchange {

    function exchange(
        int128,
        int128,
        uint256,
        uint256
    ) external returns (uint256);
}

//Claim zap to bundle various reward claims
//v2:
// - change exchange to use curve pool
// - add getReward(address,token) type
// - add option to lock cvx
// - add option use all funds in wallet
contract ClaimZap{
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52);
    address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B);
    address public constant cvxCrv = address(0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7);
    address public constant crvDeposit = address(0x8014595F2AB54cD7c604B00E9fb932176fDc86Ae);
    address public constant cvxCrvRewards = address(0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e);
    address public constant cvxRewards = address(0xCF50b810E57Ac33B91dCF525C6ddd9881B139332);

    address public constant exchange = address(0x9D0464996170c6B9e75eED71c68B99dDEDf279e8);//curve

    address public constant locker = address(0xD18140b4B819b895A3dba5442F959fA44994AF50);

    address public immutable owner;

    enum Options{
        ClaimCvx, //1
        ClaimCvxAndStake, //2
        ClaimCvxCrv, //4
        ClaimLockedCvx, //8
        ClaimLockedCvxStake, //16
        LockCrvDeposit, //32
        UseAllWalletFunds, //64
        LockCvx //128
    }

    constructor() public {
        owner = msg.sender;
    }

    function getName() external pure returns (string memory) {
        return "ClaimZap V2.0";
    }

    function setApprovals() external {
        require(msg.sender == owner, "!auth");
        IERC20(crv).safeApprove(crvDeposit, 0);
        IERC20(crv).safeApprove(crvDeposit, uint256(-1));
        IERC20(crv).safeApprove(exchange, 0);
        IERC20(crv).safeApprove(exchange, uint256(-1));

        IERC20(cvx).safeApprove(cvxRewards, 0);
        IERC20(cvx).safeApprove(cvxRewards, uint256(-1));

        IERC20(cvxCrv).safeApprove(cvxCrvRewards, 0);
        IERC20(cvxCrv).safeApprove(cvxCrvRewards, uint256(-1));

        IERC20(cvx).safeApprove(locker, 0);
        IERC20(cvx).safeApprove(locker, uint256(-1));
    }

    function CheckOption(uint256 _mask, uint256 _flag) internal pure returns(bool){
        return (_mask & (1<<_flag)) != 0;
    }

    function claimRewards(
        address[] calldata rewardContracts,
        address[] calldata extraRewardContracts,
        address[] calldata tokenRewardContracts,
        address[] calldata tokenRewardTokens,
        uint256 depositCrvMaxAmount,
        uint256 minAmountOut,
        uint256 depositCvxMaxAmount,
        uint256 spendCvxAmount,
        uint256 options
        ) external{

        uint256 crvBalance = IERC20(crv).balanceOf(msg.sender);
        uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender);
 
        //claim from main curve LP pools
        for(uint256 i = 0; i < rewardContracts.length; i++){
            IBasicRewards(rewardContracts[i]).getReward(msg.sender,true);
        }
        //claim from extra rewards
        for(uint256 i = 0; i < extraRewardContracts.length; i++){
            IBasicRewards(extraRewardContracts[i]).getReward(msg.sender);
        }
        //claim from multi reward token contract
        for(uint256 i = 0; i < tokenRewardContracts.length; i++){
            IBasicRewards(tokenRewardContracts[i]).getReward(msg.sender,tokenRewardTokens[i]);
        }

        //claim others/deposit/lock/stake
        _claimExtras(depositCrvMaxAmount,minAmountOut,depositCvxMaxAmount,spendCvxAmount,crvBalance,cvxBalance,options);
    }

    function _claimExtras(
        uint256 depositCrvMaxAmount,
        uint256 minAmountOut,
        uint256 depositCvxMaxAmount,
        uint256 spendCvxAmount,
        uint256 removeCrvBalance,
        uint256 removeCvxBalance,
        uint256 options
        ) internal{

        //claim (and stake) from cvx rewards
        if(CheckOption(options,uint256(Options.ClaimCvxAndStake))){
            ICvxRewards(cvxRewards).getReward(msg.sender,true,true);
        }else if(CheckOption(options,uint256(Options.ClaimCvx))){
            ICvxRewards(cvxRewards).getReward(msg.sender,true,false);
        }

        //claim from cvxCrv rewards
        if(CheckOption(options,uint256(Options.ClaimCvxCrv))){
            IBasicRewards(cvxCrvRewards).getReward(msg.sender,true);
        }

        //claim from locker
        if(CheckOption(options,uint256(Options.ClaimLockedCvx))){
            ILockedCvx(locker).getReward(msg.sender,CheckOption(options,uint256(Options.ClaimLockedCvxStake)));
        }

        //reset remove balances if we want to also stake/lock funds already in our wallet
        if(CheckOption(options,uint256(Options.UseAllWalletFunds))){
            removeCrvBalance = 0;
            removeCvxBalance = 0;
        }

        //lock upto given amount of crv and stake
        if(depositCrvMaxAmount > 0){
            uint256 crvBalance = IERC20(crv).balanceOf(msg.sender).sub(removeCrvBalance);
            crvBalance = MathUtil.min(crvBalance, depositCrvMaxAmount);
            if(crvBalance > 0){
                //pull crv
                IERC20(crv).safeTransferFrom(msg.sender, address(this), crvBalance);
                if(minAmountOut > 0){
                    //swap
                    ISwapExchange(exchange).exchange(0,1,crvBalance,minAmountOut);
                }else{
                    //deposit
                    ICvxCrvDeposit(crvDeposit).deposit(crvBalance,CheckOption(options,uint256(Options.LockCrvDeposit)));
                }
                //get cvxcrv amount
                uint256 cvxCrvBalance = IERC20(cvxCrv).balanceOf(address(this));
                //stake for msg.sender
                IBasicRewards(cvxCrvRewards).stakeFor(msg.sender, cvxCrvBalance);
            }
        }

        //stake up to given amount of cvx
        if(depositCvxMaxAmount > 0){
            uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender).sub(removeCvxBalance);
            cvxBalance = MathUtil.min(cvxBalance, depositCvxMaxAmount);
            if(cvxBalance > 0){
                //pull cvx
                IERC20(cvx).safeTransferFrom(msg.sender, address(this), cvxBalance);
                if(CheckOption(options,uint256(Options.LockCvx))){
                    ILockedCvx(locker).lock(msg.sender, cvxBalance, spendCvxAmount);
                }else{
                    //stake for msg.sender
                    IBasicRewards(cvxRewards).stakeFor(msg.sender, cvxBalance);
                }
            }
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address[]","name":"rewardContracts","type":"address[]"},{"internalType":"address[]","name":"extraRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardTokens","type":"address[]"},{"internalType":"uint256","name":"depositCrvMaxAmount","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"depositCvxMaxAmount","type":"uint256"},{"internalType":"uint256","name":"spendCvxAmount","type":"uint256"},{"internalType":"uint256","name":"options","type":"uint256"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchange","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5033606081901b60805261162f610036600039806106a85280610913525061162f6000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063923c1d6111610071578063923c1d61146102eb578063a7404b70146102f3578063aa5ccb90146102fb578063b026e22714610303578063d2f7265a1461030b578063d7b96d4e14610313576100b4565b806317d7de7c146100b95780635a7b87f2146101365780636a4874a1146102af57806382480df9146102d35780638757b15b146102db5780638da5cb5b146102e3575b600080fd5b6100c161031b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ad600480360361012081101561014d57600080fd5b810190602081018135600160201b81111561016757600080fd5b82018360208201111561017957600080fd5b803590602001918460208302840111600160201b8311171561019a57600080fd5b919390929091602081019035600160201b8111156101b757600080fd5b8201836020820111156101c957600080fd5b803590602001918460208302840111600160201b831117156101ea57600080fd5b919390929091602081019035600160201b81111561020757600080fd5b82018360208201111561021957600080fd5b803590602001918460208302840111600160201b8311171561023a57600080fd5b919390929091602081019035600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460208302840111600160201b8311171561028a57600080fd5b919350915080359060208101359060408101359060608101359060800135610342565b005b6102b761066d565b604080516001600160a01b039092168252519081900360200190f35b6102b7610685565b6102ad61069d565b6102b7610911565b6102b7610935565b6102b761094d565b6102b7610965565b6102b761097d565b6102b7610995565b6102b76109ad565b60408051808201909152600d81526c0436c61696d5a61702056322e3609c1b602082015290565b604080516370a0823160e01b8152336004820152905160009173d533a949740bb3306d119cc777fa900ba034cd52916370a0823191602480820192602092909190829003018186803b15801561039757600080fd5b505afa1580156103ab573d6000803e3d6000fd5b505050506040513d60208110156103c157600080fd5b5051604080516370a0823160e01b81523360048201529051919250600091734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b916370a08231916024808301926020929190829003018186803b15801561041a57600080fd5b505afa15801561042e573d6000803e3d6000fd5b505050506040513d602081101561044457600080fd5b5051905060005b8e8110156104ec578f8f8281811061045f57fe5b905060200201356001600160a01b03166001600160a01b0316637050ccd93360016040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b50506001909201915061044b9050565b5060005b8c811015610586578d8d8281811061050457fe5b905060200201356001600160a01b03166001600160a01b031663c00007b0336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561056257600080fd5b505af1158015610576573d6000803e3d6000fd5b5050600190920191506104f09050565b5060005b8a81101561064c578b8b8281811061059e57fe5b905060200201356001600160a01b03166001600160a01b0316636b091695338c8c858181106105c957fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b50506001909201915061058a9050565b5061065c878787878686896109c5565b505050505050505050505050505050565b73d533a949740bb3306d119cc777fa900ba034cd5281565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610702576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61073673d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60006110ae565b61076b73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae6000196110ae565b61079f73d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e860006110ae565b6107d473d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e86000196110ae565b610808734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b13933260006110ae565b61083d734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b1393326000196110ae565b6108717362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e60006110ae565b6108a67362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e6000196110ae565b6108da734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73d18140b4b819b895a3dba5442f959fa44994af5060006110ae565b61090f734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73d18140b4b819b895a3dba5442f959fa44994af506000196110ae565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b733fe65692bfcd0e6cf84cb1e7d24108e434a7587e81565b73cf50b810e57ac33b91dcf525c6ddd9881b13933281565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b739d0464996170c6b9e75eed71c68b99ddedf279e881565b73d18140b4b819b895a3dba5442f959fa44994af5081565b6109d18160015b6111c6565b15610a535760408051633e69b9d960e21b81523360048201526001602482018190526044820152905173cf50b810e57ac33b91dcf525c6ddd9881b1393329163f9a6e76491606480830192600092919082900301818387803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b50505050610ada565b610a5e8160006109cc565b15610ada5760408051633e69b9d960e21b815233600482015260016024820152600060448201819052915173cf50b810e57ac33b91dcf525c6ddd9881b1393329263f9a6e764926064808201939182900301818387803b158015610ac157600080fd5b505af1158015610ad5573d6000803e3d6000fd5b505050505b610ae58160026109cc565b15610b5c5760408051637050ccd960e01b8152336004820152600160248201529051733fe65692bfcd0e6cf84cb1e7d24108e434a7587e91637050ccd991604480830192600092919082900301818387803b158015610b4357600080fd5b505af1158015610b57573d6000803e3d6000fd5b505050505b610b678160036109cc565b15610bf35773d18140b4b819b895a3dba5442f959fa44994af50637050ccd933610b928460046109cc565b6040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b158015610bda57600080fd5b505af1158015610bee573d6000803e3d6000fd5b505050505b610bfe8160066109cc565b15610c0c5760009250600091505b8615610f03576000610cab8473d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c7957600080fd5b505afa158015610c8d573d6000803e3d6000fd5b505050506040513d6020811015610ca357600080fd5b5051906111d0565b9050610cb7818961122d565b90508015610f0157610cdf73d533a949740bb3306d119cc777fa900ba034cd52333084611245565b8615610d8b57739d0464996170c6b9e75eed71c68b99ddedf279e86001600160a01b0316633df0212460006001848b6040518563ffffffff1660e01b815260040180858152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610d5957600080fd5b505af1158015610d6d573d6000803e3d6000fd5b505050506040513d6020811015610d8357600080fd5b50610e099050565b738014595f2ab54cd7c604b00e9fb932176fdc86ae639a40832182610db18560056109cc565b6040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b158015610df057600080fd5b505af1158015610e04573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516000917362b9c7356a2dc64a1969e19c23e4f579f9810aa7916370a0823191602480820192602092909190829003018186803b158015610e5e57600080fd5b505afa158015610e72573d6000803e3d6000fd5b505050506040513d6020811015610e8857600080fd5b5051604080516305dc812160e31b8152336004820152602481018390529051919250733fe65692bfcd0e6cf84cb1e7d24108e434a7587e91632ee409089160448082019260009290919082900301818387803b158015610ee757600080fd5b505af1158015610efb573d6000803e3d6000fd5b50505050505b505b84156110a5576000610f7083734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c7957600080fd5b9050610f7c818761122d565b905080156110a357610fa4734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b333084611245565b610faf8260076109cc565b15611031576040805163e2ab691d60e01b81523360048201526024810183905260448101879052905173d18140b4b819b895a3dba5442f959fa44994af509163e2ab691d91606480830192600092919082900301818387803b15801561101457600080fd5b505af1158015611028573d6000803e3d6000fd5b505050506110a3565b604080516305dc812160e31b815233600482015260248101839052905173cf50b810e57ac33b91dcf525c6ddd9881b13933291632ee4090891604480830192600092919082900301818387803b15801561108a57600080fd5b505af115801561109e573d6000803e3d6000fd5b505050505b505b50505050505050565b801580611134575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561110657600080fd5b505afa15801561111a573d6000803e3d6000fd5b505050506040513d602081101561113057600080fd5b5051155b61116f5760405162461bcd60e51b81526004018080602001828103825260368152602001806115c46036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526111c19084906112a5565b505050565b6001901b16151590565b600082821115611227576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081831061123c578161123e565b825b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261129f9085906112a5565b50505050565b60606112fa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113569092919063ffffffff16565b8051909150156111c15780806020019051602081101561131957600080fd5b50516111c15760405162461bcd60e51b815260040180806020018281038252602a81526020018061159a602a913960400191505060405180910390fd5b6060611365848460008561136d565b949350505050565b6060824710156113ae5760405162461bcd60e51b81526004018080602001828103825260268152602001806115746026913960400191505060405180910390fd5b6113b7856114c9565b611408576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106114475780518252601f199092019160209182019101611428565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146114a9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ae565b606091505b50915091506114be8282866114cf565b979650505050505050565b3b151590565b606083156114de57508161123e565b8251156114ee5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611538578181015183820152602001611520565b50505050905090810190601f1680156115655780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220a3d4f60b46060f912ffd0012acac8b5caf067d9f1de079dc9d23d3fcf84ca1e164736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063923c1d6111610071578063923c1d61146102eb578063a7404b70146102f3578063aa5ccb90146102fb578063b026e22714610303578063d2f7265a1461030b578063d7b96d4e14610313576100b4565b806317d7de7c146100b95780635a7b87f2146101365780636a4874a1146102af57806382480df9146102d35780638757b15b146102db5780638da5cb5b146102e3575b600080fd5b6100c161031b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ad600480360361012081101561014d57600080fd5b810190602081018135600160201b81111561016757600080fd5b82018360208201111561017957600080fd5b803590602001918460208302840111600160201b8311171561019a57600080fd5b919390929091602081019035600160201b8111156101b757600080fd5b8201836020820111156101c957600080fd5b803590602001918460208302840111600160201b831117156101ea57600080fd5b919390929091602081019035600160201b81111561020757600080fd5b82018360208201111561021957600080fd5b803590602001918460208302840111600160201b8311171561023a57600080fd5b919390929091602081019035600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460208302840111600160201b8311171561028a57600080fd5b919350915080359060208101359060408101359060608101359060800135610342565b005b6102b761066d565b604080516001600160a01b039092168252519081900360200190f35b6102b7610685565b6102ad61069d565b6102b7610911565b6102b7610935565b6102b761094d565b6102b7610965565b6102b761097d565b6102b7610995565b6102b76109ad565b60408051808201909152600d81526c0436c61696d5a61702056322e3609c1b602082015290565b604080516370a0823160e01b8152336004820152905160009173d533a949740bb3306d119cc777fa900ba034cd52916370a0823191602480820192602092909190829003018186803b15801561039757600080fd5b505afa1580156103ab573d6000803e3d6000fd5b505050506040513d60208110156103c157600080fd5b5051604080516370a0823160e01b81523360048201529051919250600091734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b916370a08231916024808301926020929190829003018186803b15801561041a57600080fd5b505afa15801561042e573d6000803e3d6000fd5b505050506040513d602081101561044457600080fd5b5051905060005b8e8110156104ec578f8f8281811061045f57fe5b905060200201356001600160a01b03166001600160a01b0316637050ccd93360016040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b50506001909201915061044b9050565b5060005b8c811015610586578d8d8281811061050457fe5b905060200201356001600160a01b03166001600160a01b031663c00007b0336040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561056257600080fd5b505af1158015610576573d6000803e3d6000fd5b5050600190920191506104f09050565b5060005b8a81101561064c578b8b8281811061059e57fe5b905060200201356001600160a01b03166001600160a01b0316636b091695338c8c858181106105c957fe5b905060200201356001600160a01b03166040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561062857600080fd5b505af115801561063c573d6000803e3d6000fd5b50506001909201915061058a9050565b5061065c878787878686896109c5565b505050505050505050505050505050565b73d533a949740bb3306d119cc777fa900ba034cd5281565b7362b9c7356a2dc64a1969e19c23e4f579f9810aa781565b336001600160a01b037f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d02771614610702576040805162461bcd60e51b8152602060048201526005602482015264042c2eae8d60db1b604482015290519081900360640190fd5b61073673d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae60006110ae565b61076b73d533a949740bb3306d119cc777fa900ba034cd52738014595f2ab54cd7c604b00e9fb932176fdc86ae6000196110ae565b61079f73d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e860006110ae565b6107d473d533a949740bb3306d119cc777fa900ba034cd52739d0464996170c6b9e75eed71c68b99ddedf279e86000196110ae565b610808734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b13933260006110ae565b61083d734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73cf50b810e57ac33b91dcf525c6ddd9881b1393326000196110ae565b6108717362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e60006110ae565b6108a67362b9c7356a2dc64a1969e19c23e4f579f9810aa7733fe65692bfcd0e6cf84cb1e7d24108e434a7587e6000196110ae565b6108da734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73d18140b4b819b895a3dba5442f959fa44994af5060006110ae565b61090f734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b73d18140b4b819b895a3dba5442f959fa44994af506000196110ae565b565b7f000000000000000000000000947b7742c403f20e5faccdac5e092c943e7d027781565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b733fe65692bfcd0e6cf84cb1e7d24108e434a7587e81565b73cf50b810e57ac33b91dcf525c6ddd9881b13933281565b738014595f2ab54cd7c604b00e9fb932176fdc86ae81565b739d0464996170c6b9e75eed71c68b99ddedf279e881565b73d18140b4b819b895a3dba5442f959fa44994af5081565b6109d18160015b6111c6565b15610a535760408051633e69b9d960e21b81523360048201526001602482018190526044820152905173cf50b810e57ac33b91dcf525c6ddd9881b1393329163f9a6e76491606480830192600092919082900301818387803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b50505050610ada565b610a5e8160006109cc565b15610ada5760408051633e69b9d960e21b815233600482015260016024820152600060448201819052915173cf50b810e57ac33b91dcf525c6ddd9881b1393329263f9a6e764926064808201939182900301818387803b158015610ac157600080fd5b505af1158015610ad5573d6000803e3d6000fd5b505050505b610ae58160026109cc565b15610b5c5760408051637050ccd960e01b8152336004820152600160248201529051733fe65692bfcd0e6cf84cb1e7d24108e434a7587e91637050ccd991604480830192600092919082900301818387803b158015610b4357600080fd5b505af1158015610b57573d6000803e3d6000fd5b505050505b610b678160036109cc565b15610bf35773d18140b4b819b895a3dba5442f959fa44994af50637050ccd933610b928460046109cc565b6040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b158015610bda57600080fd5b505af1158015610bee573d6000803e3d6000fd5b505050505b610bfe8160066109cc565b15610c0c5760009250600091505b8615610f03576000610cab8473d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c7957600080fd5b505afa158015610c8d573d6000803e3d6000fd5b505050506040513d6020811015610ca357600080fd5b5051906111d0565b9050610cb7818961122d565b90508015610f0157610cdf73d533a949740bb3306d119cc777fa900ba034cd52333084611245565b8615610d8b57739d0464996170c6b9e75eed71c68b99ddedf279e86001600160a01b0316633df0212460006001848b6040518563ffffffff1660e01b815260040180858152602001848152602001838152602001828152602001945050505050602060405180830381600087803b158015610d5957600080fd5b505af1158015610d6d573d6000803e3d6000fd5b505050506040513d6020811015610d8357600080fd5b50610e099050565b738014595f2ab54cd7c604b00e9fb932176fdc86ae639a40832182610db18560056109cc565b6040518363ffffffff1660e01b815260040180838152602001821515815260200192505050600060405180830381600087803b158015610df057600080fd5b505af1158015610e04573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516000917362b9c7356a2dc64a1969e19c23e4f579f9810aa7916370a0823191602480820192602092909190829003018186803b158015610e5e57600080fd5b505afa158015610e72573d6000803e3d6000fd5b505050506040513d6020811015610e8857600080fd5b5051604080516305dc812160e31b8152336004820152602481018390529051919250733fe65692bfcd0e6cf84cb1e7d24108e434a7587e91632ee409089160448082019260009290919082900301818387803b158015610ee757600080fd5b505af1158015610efb573d6000803e3d6000fd5b50505050505b505b84156110a5576000610f7083734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610c7957600080fd5b9050610f7c818761122d565b905080156110a357610fa4734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b333084611245565b610faf8260076109cc565b15611031576040805163e2ab691d60e01b81523360048201526024810183905260448101879052905173d18140b4b819b895a3dba5442f959fa44994af509163e2ab691d91606480830192600092919082900301818387803b15801561101457600080fd5b505af1158015611028573d6000803e3d6000fd5b505050506110a3565b604080516305dc812160e31b815233600482015260248101839052905173cf50b810e57ac33b91dcf525c6ddd9881b13933291632ee4090891604480830192600092919082900301818387803b15801561108a57600080fd5b505af115801561109e573d6000803e3d6000fd5b505050505b505b50505050505050565b801580611134575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561110657600080fd5b505afa15801561111a573d6000803e3d6000fd5b505050506040513d602081101561113057600080fd5b5051155b61116f5760405162461bcd60e51b81526004018080602001828103825260368152602001806115c46036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526111c19084906112a5565b505050565b6001901b16151590565b600082821115611227576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600081831061123c578161123e565b825b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261129f9085906112a5565b50505050565b60606112fa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113569092919063ffffffff16565b8051909150156111c15780806020019051602081101561131957600080fd5b50516111c15760405162461bcd60e51b815260040180806020018281038252602a81526020018061159a602a913960400191505060405180910390fd5b6060611365848460008561136d565b949350505050565b6060824710156113ae5760405162461bcd60e51b81526004018080602001828103825260268152602001806115746026913960400191505060405180910390fd5b6113b7856114c9565b611408576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106114475780518252601f199092019160209182019101611428565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146114a9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ae565b606091505b50915091506114be8282866114cf565b979650505050505050565b3b151590565b606083156114de57508161123e565b8251156114ee5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611538578181015183820152602001611520565b50505050905090810190601f1680156115655780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220a3d4f60b46060f912ffd0012acac8b5caf067d9f1de079dc9d23d3fcf84ca1e164736f6c634300060c0033

Deployed Bytecode Sourcemap

24075:6448:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25282:98;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26168:1312;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26168:1312:0;;;;;;;;;;;;-1:-1:-1;26168:1312:0;-1:-1:-1;26168:1312:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24167:81;;;:::i;:::-;;;;-1:-1:-1;;;;;24167:81:0;;;;;;;;;;;;;;24343:84;;;:::i;25388:635::-;;;:::i;24919:30::-;;;:::i;24255:81::-;;;:::i;24529:91::-;;;:::i;24627:88::-;;;:::i;24434:::-;;;:::i;24724:86::-;;;:::i;24826:84::-;;;:::i;25282:98::-;25350:22;;;;;;;;;;;;-1:-1:-1;;;25350:22:0;;;;25282:98;:::o;26168:1312::-;26601:33;;;-1:-1:-1;;;26601:33:0;;26623:10;26601:33;;;;;;26580:18;;24205:42;;26601:21;;:33;;;;;;;;;;;;;;;24205:42;26601:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26601:33:0;26666;;;-1:-1:-1;;;26666:33:0;;26688:10;26666:33;;;;;;26601;;-1:-1:-1;26645:18:0;;24293:42;;26666:21;;:33;;;;;26601;;26666;;;;;;;24293:42;26666:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26666:33:0;;-1:-1:-1;26759:9:0;26755:138;26774:26;;;26755:138;;;26835:15;;26851:1;26835:18;;;;;;;;;;;;;-1:-1:-1;;;;;26835:18:0;-1:-1:-1;;;;;26821:43:0;;26865:10;26876:4;26821:60;;;;;;;;;;;;;-1:-1:-1;;;;;26821:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26802:3:0;;;;;-1:-1:-1;26755:138:0;;-1:-1:-1;26755:138:0;;;26943:9;26939:143;26958:31;;;26939:143;;;27024:20;;27045:1;27024:23;;;;;;;;;;;;;-1:-1:-1;;;;;27024:23:0;-1:-1:-1;;;;;27010:48:0;;27059:10;27010:60;;;;;;;;;;;;;-1:-1:-1;;;;;27010:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26991:3:0;;;;;-1:-1:-1;26939:143:0;;-1:-1:-1;26939:143:0;;;27146:9;27142:164;27161:31;;;27142:164;;;27227:20;;27248:1;27227:23;;;;;;;;;;;;;-1:-1:-1;;;;;27227:23:0;-1:-1:-1;;;;;27213:48:0;;27262:10;27273:17;;27291:1;27273:20;;;;;;;;;;;;;-1:-1:-1;;;;;27273:20:0;27213:81;;;;;;;;;;;;;-1:-1:-1;;;;;27213:81:0;;;;;;-1:-1:-1;;;;;27213:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27194:3:0;;;;;-1:-1:-1;27142:164:0;;-1:-1:-1;27142:164:0;;;27361:111;27374:19;27394:12;27407:19;27427:14;27442:10;27453;27464:7;27361:12;:111::i;:::-;26168:1312;;;;;;;;;;;;;;;:::o;24167:81::-;24205:42;24167:81;:::o;24343:84::-;24384:42;24343:84;:::o;25388:635::-;25440:10;-1:-1:-1;;;;;25454:5:0;25440:19;;25432:37;;;;;-1:-1:-1;;;25432:37:0;;;;;;;;;;;;-1:-1:-1;;;25432:37:0;;;;;;;;;;;;;;;25480:38;24205:42;24479;25516:1;25480:23;:38::i;:::-;25529:48;24205:42;24479;-1:-1:-1;;25529:23:0;:48::i;:::-;25588:36;24205:42;24767;25622:1;25588:23;:36::i;:::-;25635:46;24205:42;24767;-1:-1:-1;;25635:23:0;:46::i;:::-;25694:38;24293:42;24672;25730:1;25694:23;:38::i;:::-;25743:48;24293:42;24672;-1:-1:-1;;25743:23:0;:48::i;:::-;25804:44;24384:42;24577;25846:1;25804:26;:44::i;:::-;25859:54;24384:42;24577;-1:-1:-1;;25859:26:0;:54::i;:::-;25926:34;24293:42;24867;25958:1;25926:23;:34::i;:::-;25971:44;24293:42;24867;-1:-1:-1;;25971:23:0;:44::i;:::-;25388:635::o;24919:30::-;;;:::o;24255:81::-;24293:42;24255:81;:::o;24529:91::-;24577:42;24529:91;:::o;24627:88::-;24672:42;24627:88;:::o;24434:::-;24479:42;24434:88;:::o;24724:86::-;24767:42;24724:86;:::o;24826:84::-;24867:42;24826:84;:::o;27488:3030::-;27827:54;27839:7;27855:24;27847:33;27827:11;:54::i;:::-;27824:278;;;27897:55;;;-1:-1:-1;;;27897:55:0;;27931:10;27897:55;;;;27942:4;27897:55;;;;;;;;;;;;24672:42;;27897:33;;:55;;;;;-1:-1:-1;;27897:55:0;;;;;;;-1:-1:-1;24672:42:0;27897:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27824:278;;;27972:46;27984:7;28000:16;27992:25;;27972:46;27969:133;;;28034:56;;;-1:-1:-1;;;28034:56:0;;28068:10;28034:56;;;;28079:4;28034:56;;;;28084:5;28034:56;;;;;;;;24672:42;;28034:33;;:56;;;;;;;;;;;28084:5;24672:42;28034:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27969:133;28154:49;28166:7;28182:19;28174:28;;28154:49;28151:135;;;28219:55;;;-1:-1:-1;;;28219:55:0;;28258:10;28219:55;;;;28269:4;28219:55;;;;;;24577:42;;28219:38;;:55;;;;;-1:-1:-1;;28219:55:0;;;;;;;-1:-1:-1;24577:42:0;28219:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28151:135;28330:52;28342:7;28358:22;28350:31;;28330:52;28327:181;;;24867:42;28398:28;28427:10;28438:57;28450:7;28466:27;28458:36;;28438:57;28398:98;;;;;;;;;;;;;-1:-1:-1;;;;;28398:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28327:181;28614:55;28626:7;28642:25;28634:34;;28614:55;28611:141;;;28704:1;28685:20;;28739:1;28720:20;;28611:141;28818:23;;28815:954;;28857:18;28878:55;28916:16;24205:42;-1:-1:-1;;;;;28878:21:0;;28900:10;28878:33;;;;;;;;;;;;;-1:-1:-1;;;;;28878:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28878:33:0;;:37;:55::i;:::-;28857:76;;28961:45;28974:10;28986:19;28961:12;:45::i;:::-;28948:58;-1:-1:-1;29024:14:0;;29021:737;;29086:67;24205:42;29115:10;29135:4;29142:10;29086:28;:67::i;:::-;29175:16;;29172:329;;24767:42;-1:-1:-1;;;;;29243:32:0;;29276:1;29278;29280:10;29291:12;29243:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29172:329:0;;-1:-1:-1;29172:329:0;;24479:42;29382:34;29417:10;29428:52;29440:7;29456:22;29448:31;;29428:52;29382:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29172:329;29580:39;;;-1:-1:-1;;;29580:39:0;;29613:4;29580:39;;;;;;29556:21;;24384:42;;29580:24;;:39;;;;;;;;;;;;;;;24384:42;29580:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29580:39:0;29678:64;;;-1:-1:-1;;;29678:64:0;;29716:10;29678:64;;;;;;;;;;;;29580:39;;-1:-1:-1;24577:42:0;;29678:37;;:64;;;;;-1:-1:-1;;29678:64:0;;;;;;;;-1:-1:-1;24577:42:0;29678:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29021:737;;28815:954;;29827:23;;29824:687;;29866:18;29887:55;29925:16;24293:42;-1:-1:-1;;;;;29887:21:0;;29909:10;29887:33;;;;;;;;;;;;;-1:-1:-1;;;;;29887:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;:55;29866:76;;29970:45;29983:10;29995:19;29970:12;:45::i;:::-;29957:58;-1:-1:-1;30033:14:0;;30030:470;;30095:67;24293:42;30124:10;30144:4;30151:10;30095:28;:67::i;:::-;30184:45;30196:7;30212:15;30204:24;;30184:45;30181:304;;;30253:63;;;-1:-1:-1;;;30253:63:0;;30277:10;30253:63;;;;;;;;;;;;;;;;;;24867:42;;30253:23;;:63;;;;;-1:-1:-1;;30253:63:0;;;;;;;-1:-1:-1;24867:42:0;30253:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30181:304;;;30407:58;;;-1:-1:-1;;;30407:58:0;;30442:10;30407:58;;;;;;;;;;;;24672:42;;30407:34;;:58;;;;;-1:-1:-1;;30407:58:0;;;;;;;-1:-1:-1;24672:42:0;30407:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30181:304;29824:687;;27488:3030;;;;;;;:::o;20676:622::-;21046:10;;;21045:62;;-1:-1:-1;21062:39:0;;;-1:-1:-1;;;21062:39:0;;21086:4;21062:39;;;;-1:-1:-1;;;;;21062:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21062:39:0;:44;21045:62;21037:152;;;;-1:-1:-1;;;21037:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21227:62;;;-1:-1:-1;;;;;21227:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21227:62:0;-1:-1:-1;;;21227:62:0;;;21200:90;;21220:5;;21200:19;:90::i;:::-;20676:622;;;:::o;26031:129::-;26137:1;:8;;26128:18;26127:25;;;26031:129::o;7108:158::-;7166:7;7199:1;7194;:6;;7186:49;;;;;-1:-1:-1;;;7186:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7253:5:0;;;7108:158::o;275:106::-;333:7;364:1;360;:5;:13;;372:1;360:13;;;368:1;360:13;353:20;275:106;-1:-1:-1;;;275:106:0:o;20202:205::-;20330:68;;;-1:-1:-1;;;;;20330:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20330:68:0;-1:-1:-1;;;20330:68:0;;;20303:96;;20323:5;;20303:19;:96::i;:::-;20202:205;;;;:::o;22322:761::-;22746:23;22772:69;22800:4;22772:69;;;;;;;;;;;;;;;;;22780:5;-1:-1:-1;;;;;22772:27:0;;;:69;;;;;:::i;:::-;22856:17;;22746:95;;-1:-1:-1;22856:21:0;22852:224;;22998:10;22987:30;;;;;;;;;;;;;;;-1:-1:-1;22987:30:0;22979:85;;;;-1:-1:-1;;;22979:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15016:195;15119:12;15151:52;15173:6;15181:4;15187:1;15190:12;15151:21;:52::i;:::-;15144:59;15016:195;-1:-1:-1;;;;15016:195:0:o;16068:530::-;16195:12;16253:5;16228:21;:30;;16220:81;;;;-1:-1:-1;;;16220:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16320:18;16331:6;16320:10;:18::i;:::-;16312:60;;;;;-1:-1:-1;;;16312:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16446:12;16460:23;16487:6;-1:-1:-1;;;;;16487:11:0;16507:5;16515:4;16487:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16487:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16445:75;;;;16538:52;16556:7;16565:10;16577:12;16538:17;:52::i;:::-;16531:59;16068:530;-1:-1:-1;;;;;;;16068:530:0:o;12098:422::-;12465:20;12504:8;;;12098:422::o;18608:742::-;18723:12;18752:7;18748:595;;;-1:-1:-1;18783:10:0;18776:17;;18748:595;18897:17;;:21;18893:439;;19160:10;19154:17;19221:15;19208:10;19204:2;19200:19;19193:44;19108:148;19303:12;19296:20;;-1:-1:-1;;;19296:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://a3d4f60b46060f912ffd0012acac8b5caf067d9f1de079dc9d23d3fcf84ca1e1

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.