ETH Price: $3,450.43 (-0.87%)
Gas: 7 Gwei

Contract

0xe8419C3Ef05dAc50c1388df61464955C25d6Db23
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Harvest202473272024-07-06 12:00:3511 days ago1720267235IN
0xe8419C3E...C25d6Db23
0 ETH0.001712223.38901723
Harvest198981802024-05-18 17:00:3560 days ago1716051635IN
0xe8419C3E...C25d6Db23
0 ETH0.002925345.80339054
Harvest196185442024-04-09 14:00:5999 days ago1712671259IN
0xe8419C3E...C25d6Db23
0 ETH0.020739640
Harvest195181792024-03-26 11:00:35114 days ago1711450835IN
0xe8419C3E...C25d6Db23
0 ETH0.0141512627.12457171
Harvest194553152024-03-17 15:00:47122 days ago1710687647IN
0xe8419C3E...C25d6Db23
0 ETH0.0197010636.58569531
Harvest193880242024-03-08 4:20:11132 days ago1709871611IN
0xe8419C3E...C25d6Db23
0 ETH0.0217602840
Harvest192940242024-02-24 1:00:47145 days ago1708736447IN
0xe8419C3E...C25d6Db23
0 ETH0.0119640922.55996933
Harvest192263682024-02-14 13:00:35154 days ago1707915635IN
0xe8419C3E...C25d6Db23
0 ETH0.0156928229.46970469
Harvest191482842024-02-03 14:00:35165 days ago1706968835IN
0xe8419C3E...C25d6Db23
0 ETH0.0106973320.26210142
Harvest190644962024-01-22 20:01:11177 days ago1705953671IN
0xe8419C3E...C25d6Db23
0 ETH0.0199749639.95072061
Harvest189805792024-01-11 2:00:35189 days ago1704938435IN
0xe8419C3E...C25d6Db23
0 ETH0.0216385735.6947847
Harvest189038392023-12-31 7:00:35200 days ago1704006035IN
0xe8419C3E...C25d6Db23
0 ETH0.0071523112.03012488
Harvest188408232023-12-22 10:35:11209 days ago1703241311IN
0xe8419C3E...C25d6Db23
0 ETH0.0190983731.58724794
Harvest187387382023-12-08 3:03:47223 days ago1702004627IN
0xe8419C3E...C25d6Db23
0 ETH0.0199267439.91631178
Harvest186762372023-11-29 9:00:35232 days ago1701248435IN
0xe8419C3E...C25d6Db23
0 ETH0.0196132233.01261321
Harvest186313162023-11-23 2:00:35238 days ago1700704835IN
0xe8419C3E...C25d6Db23
0 ETH0.0218384636.18185009
Harvest185905672023-11-17 9:00:35244 days ago1700211635IN
0xe8419C3E...C25d6Db23
0 ETH0.0173418129.24298032
Harvest185503372023-11-11 18:00:35249 days ago1699725635IN
0xe8419C3E...C25d6Db23
0 ETH0.0214522735.51341798
Harvest183184252023-10-10 7:00:35282 days ago1696921235IN
0xe8419C3E...C25d6Db23
0 ETH0.003283776.37860636
Revoke Role183118852023-10-09 9:01:11283 days ago1696842071IN
0xe8419C3E...C25d6Db23
0 ETH0.00021297.86335643
Grant Role183118852023-10-09 9:01:11283 days ago1696842071IN
0xe8419C3E...C25d6Db23
0 ETH0.000404367.86335643
Grant Role183118842023-10-09 9:00:59283 days ago1696842059IN
0xe8419C3E...C25d6Db23
0 ETH0.000367127.19296399
0x6101a060183118812023-10-09 9:00:23283 days ago1696842023IN
 Create: DAOStrategyConvex
0 ETH0.018576359.42466304

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
202473272024-07-06 12:00:3511 days ago1720267235
0xe8419C3E...C25d6Db23
0.30083714 ETH
202473272024-07-06 12:00:3511 days ago1720267235
0xe8419C3E...C25d6Db23
0.10027904 ETH
202473272024-07-06 12:00:3511 days ago1720267235
0xe8419C3E...C25d6Db23
0.38689417 ETH
202473272024-07-06 12:00:3511 days ago1720267235
0xe8419C3E...C25d6Db23
0.01422202 ETH
198981802024-05-18 17:00:3560 days ago1716051635
0xe8419C3E...C25d6Db23
0.30092136 ETH
198981802024-05-18 17:00:3560 days ago1716051635
0xe8419C3E...C25d6Db23
0.10030712 ETH
198981802024-05-18 17:00:3560 days ago1716051635
0xe8419C3E...C25d6Db23
0.39027757 ETH
198981802024-05-18 17:00:3560 days ago1716051635
0xe8419C3E...C25d6Db23
0.01095091 ETH
196185442024-04-09 14:00:5999 days ago1712671259
0xe8419C3E...C25d6Db23
0.30007345 ETH
196185442024-04-09 14:00:5999 days ago1712671259
0xe8419C3E...C25d6Db23
0.10002448 ETH
196185442024-04-09 14:00:5999 days ago1712671259
0xe8419C3E...C25d6Db23
0.38860177 ETH
196185442024-04-09 14:00:5999 days ago1712671259
0xe8419C3E...C25d6Db23
0.01149616 ETH
195181792024-03-26 11:00:35114 days ago1711450835
0xe8419C3E...C25d6Db23
0.30316841 ETH
195181792024-03-26 11:00:35114 days ago1711450835
0xe8419C3E...C25d6Db23
0.10105613 ETH
195181792024-03-26 11:00:35114 days ago1711450835
0xe8419C3E...C25d6Db23
0.39039589 ETH
195181792024-03-26 11:00:35114 days ago1711450835
0xe8419C3E...C25d6Db23
0.01382866 ETH
194553152024-03-17 15:00:47122 days ago1710687647
0xe8419C3E...C25d6Db23
0.3034843 ETH
194553152024-03-17 15:00:47122 days ago1710687647
0xe8419C3E...C25d6Db23
0.10116143 ETH
194553152024-03-17 15:00:47122 days ago1710687647
0xe8419C3E...C25d6Db23
0.39012346 ETH
194553152024-03-17 15:00:47122 days ago1710687647
0xe8419C3E...C25d6Db23
0.01452228 ETH
193880242024-03-08 4:20:11132 days ago1709871611
0xe8419C3E...C25d6Db23
0.30172577 ETH
193880242024-03-08 4:20:11132 days ago1709871611
0xe8419C3E...C25d6Db23
0.10057525 ETH
193880242024-03-08 4:20:11132 days ago1709871611
0xe8419C3E...C25d6Db23
0.38723859 ETH
193880242024-03-08 4:20:11132 days ago1709871611
0xe8419C3E...C25d6Db23
0.01506243 ETH
192940242024-02-24 1:00:47145 days ago1708736447
0xe8419C3E...C25d6Db23
0.30326227 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DAOStrategyConvex

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion
File 1 of 16 : DAOStrategyConvex.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "../../../utils/RateLib.sol";

import "../../../interfaces/ICurve.sol";
import "../../../interfaces/IBooster.sol";
import "../../../interfaces/IBaseRewardPool.sol";

import "../../../interfaces/IStrategy.sol";
import "../../../interfaces/IJPEGIndexStaking.sol";

/// @title JPEG Index convex strategy
contract DAOStrategyConvex is AccessControl, IStrategy {
    using SafeERC20 for IERC20;
    using SafeERC20 for ICurve;
    using RateLib for RateLib.Rate;

    error ZeroAddress();
    error InsufficientBalance();

    event Harvested(uint256 wantEarned);

    bytes32 public constant STRATEGIST_ROLE = keccak256("STRATEGIST_ROLE");
    bytes32 public constant VAULT_ROLE = keccak256("VAULT_ROLE");

    ICurve public immutable WANT;

    IERC20 public immutable CVX;
    IERC20 public immutable CRV;

    ICurve public immutable CVX_ETH;
    ICurve public immutable CRV_ETH;

    IBooster public immutable CVX_BOOSTER;
    IBaseRewardPool public immutable REWARD_POOL;
    uint256 public immutable CVX_PETH_PID;

    IJPEGIndexStaking public immutable IJPEG_STAKING;

    address public feeRecipient;

    /// @notice The performance fee to be sent to the DAO/strategists
    RateLib.Rate public performanceFee;

    /// @notice lifetime strategy earnings denominated in `eth` tokens
    uint256 public earned;

    constructor(
        address _want,
        address _cvx,
        address _crv,
        address _cvxETH,
        address _crvETH,
        address _booster,
        address _rewardPool,
        uint256 _pid,
        address _feeAddress,
        address _jpegIndexStaking,
        RateLib.Rate memory _performanceFee
    ) {
        if (
            _want == address(0) ||
            _cvx == address(0) ||
            _crv == address(0) ||
            _cvxETH == address(0) ||
            _crvETH == address(0) ||
            _booster == address(0) ||
            _feeAddress == address(0) ||
            _jpegIndexStaking == address(0)
        ) revert ZeroAddress();

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        setFeeRecipient(_feeAddress);
        setPerformanceFee(_performanceFee);

        WANT = ICurve(_want);

        CVX = IERC20(_cvx);
        CRV = IERC20(_crv);

        CVX_ETH = ICurve(_cvxETH);
        CRV_ETH = ICurve(_crvETH);

        CVX_BOOSTER = IBooster(_booster);
        REWARD_POOL = IBaseRewardPool(_rewardPool);
        CVX_PETH_PID = _pid;

        IJPEG_STAKING = IJPEGIndexStaking(_jpegIndexStaking);

        IERC20(_want).safeApprove(address(_booster), type(uint256).max);
        IERC20(_cvx).safeApprove(_cvxETH, type(uint256).max);
        IERC20(_crv).safeApprove(_crvETH, type(uint256).max);
    }

    receive() external payable {}

    /// @notice Allows the DAO to set the performance fee
    /// @param _performanceFee The new performance fee
    function setPerformanceFee(
        RateLib.Rate memory _performanceFee
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        if (!_performanceFee.isValid() || !_performanceFee.isBelowOne())
            revert RateLib.InvalidRate();

        performanceFee = _performanceFee;
    }

    function setFeeRecipient(
        address _newRecipient
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(_newRecipient != address(0), "INVALID_FEE_RECIPIENT");

        feeRecipient = _newRecipient;
    }

    /// @return The amount of `want` tokens held by this contract
    function heldAssets() public view returns (uint256) {
        return WANT.balanceOf(address(this));
    }

    /// @return The amount of `want` tokens deposited in the Convex pool by this contract
    function depositedAssets() public view returns (uint256) {
        return REWARD_POOL.balanceOf(address(this));
    }

    /// @return The total amount of `want` tokens this contract manages (held + deposited)
    function totalAssets() external view override returns (uint256) {
        return heldAssets() + depositedAssets();
    }

    /// @notice Allows the admin to deposit all want tokens held by this contract on convex
    function deposit() public override onlyRole(DEFAULT_ADMIN_ROLE) {
        CVX_BOOSTER.depositAll(CVX_PETH_PID, true);
    }

    /// @notice Strategist only function that allows to withdraw non-strategy tokens (e.g tokens sent accidentally).
    /// CVX and CRV can be withdrawn with this function.
    function withdraw(
        address _to,
        address _asset
    ) external override onlyRole(STRATEGIST_ROLE) {
        if (_to == address(0)) revert ZeroAddress();

        if (_asset == address(WANT)) revert();

        uint256 _balance = IERC20(_asset).balanceOf(address(this));
        IERC20(_asset).safeTransfer(_to, _balance);
    }

    /// @notice Allows the owner to withdraw `want` tokens.
    /// @param _to The address to send the tokens to
    /// @param _amount The amount of `want` tokens to withdraw
    function withdraw(
        address _to,
        uint256 _amount
    ) external override onlyRole(DEFAULT_ADMIN_ROLE) {
        uint256 _balance = WANT.balanceOf(address(this));
        //if the contract doesn't have enough want, withdraw from Convex
        if (_balance < _amount) {
            unchecked {
                REWARD_POOL.withdrawAndUnwrap(_amount - _balance, false);
            }
        }

        WANT.safeTransfer(_to, _amount);
    }

    /// @notice Allows the owner to withdraw all `want` tokens.
    function withdrawAll() external override onlyRole(DEFAULT_ADMIN_ROLE) {
        REWARD_POOL.withdrawAllAndUnwrap(true);

        uint256 _balance = WANT.balanceOf(address(this));
        WANT.safeTransfer(msg.sender, _balance);
    }

    /// @notice Allows members of the `STRATEGIST_ROLE` to claim convex rewards, sell them to ETH and distribute them to JPEG Index stakers.
    /// @param _minOutETH The minimum amount of ETH to receive
    function harvest(uint256 _minOutETH) external onlyRole(STRATEGIST_ROLE) {
        REWARD_POOL.getReward(address(this), true);
        uint256 _ethBalance;

        //Prevent `Stack too deep` errors
        {
            uint256 _cvxBalance = CVX.balanceOf(address(this));
            if (_cvxBalance > 0)
                //minOut is not needed here, we already have it on the Curve deposit
                CVX_ETH.exchange(1, 0, _cvxBalance, 0, true);

            uint256 _crvBalance = CRV.balanceOf(address(this));
            if (_crvBalance > 0)
                //minOut is not needed here, we already have it on the Curve deposit
                CRV_ETH.exchange(2, 1, _crvBalance, 0, true);

            _ethBalance = address(this).balance;
            if (_ethBalance == _minOutETH) revert InsufficientBalance();
        }

        //take the performance fee
        uint256 _fee = (address(this).balance * performanceFee.numerator) /
            performanceFee.denominator;

        (bool _success, bytes memory _result) = feeRecipient.call{
            value: _fee
        }("");
        if (!_success) {
            assembly {
                revert(add(_result, 32), mload(_result))
            }
        }

        unchecked {
            _ethBalance -= _fee;
        }

        IJPEG_STAKING.notifyReward{ value: _ethBalance }();

        earned += _ethBalance;
        emit Harvested(_ethBalance);
    }
}

File 2 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 4 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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 5 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. 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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

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

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 9 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 10 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 11 of 16 : IBaseRewardPool.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IBaseRewardPool {
    function withdrawAndUnwrap(
        uint256 amount,
        bool claim
    ) external returns (bool);

    function withdrawAllAndUnwrap(bool claim) external;

    function getReward(
        address _account,
        bool _claimExtras
    ) external returns (bool);

    function donate(uint256 _amount) external returns (bool);

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

    function extraRewards(uint256) external view returns (address);

    function extraRewardsLength() external view returns (uint256);

    function rewardToken() external view returns (address);

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

File 12 of 16 : IBooster.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IBooster {
    function depositAll(uint256 _pid, bool _stake) external returns (bool);
}

File 13 of 16 : ICurve.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface ICurve is IERC20 {
    function balances(uint256 index) external view returns (uint256);

    function exchange(
        uint256 i,
        uint256 j,
        uint256 _dx,
        uint256 _min_dy
    ) external payable returns (uint256);

    function exchange(
        uint256 i,
        uint256 j,
        uint256 _dx,
        uint256 _min_dy,
        bool use_eth
    ) external payable returns (uint256);

    function add_liquidity(
        uint256[2] calldata _amounts,
        uint256 _min_mint_amount
    ) external returns (uint256);
}

File 14 of 16 : IJPEGIndexStaking.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IJPEGIndexStaking {
    function notifyReward() external payable;
}

File 15 of 16 : IStrategy.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IStrategy {
    function deposit() external;

    function withdraw(address _to, address _asset) external;

    function withdraw(address _to, uint256 _amount) external;

    function withdrawAll() external;

    function totalAssets() external view returns (uint256);
}

File 16 of 16 : RateLib.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

library RateLib {
    error InvalidRate();

    struct Rate {
        uint128 numerator;
        uint128 denominator;
    }

    function isValid(Rate memory _rate) internal pure returns (bool) {
        return _rate.denominator != 0;
    }

    function isZero(Rate memory _rate) internal pure returns (bool) {
        return _rate.numerator == 0;
    }

    function isAboveOne(Rate memory _rate) internal pure returns (bool) {
        return _rate.numerator > _rate.denominator;
    }

    function isBelowOne(Rate memory _rate) internal pure returns (bool) {
        return _rate.denominator > _rate.numerator;
    }

    function isOne(Rate memory _rate) internal pure returns (bool) {
        return _rate.numerator == _rate.denominator;
    }

    function greaterThan(
        Rate memory _r1,
        Rate memory _r2
    ) internal pure returns (bool) {
        return
            _r1.numerator * _r2.denominator > _r2.numerator * _r1.denominator;
    }

    function sum(
        Rate memory _r1,
        Rate memory _r2
    ) internal pure returns (Rate memory) {
        return
            Rate({
                numerator: _r1.numerator *
                    _r2.denominator +
                    _r1.denominator *
                    _r2.numerator,
                denominator: _r1.denominator * _r2.denominator
            });
    }

    function calculate(
        Rate memory _rate,
        uint256 _num
    ) internal pure returns (uint256) {
        return (_num * _rate.numerator) / _rate.denominator;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 300
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_cvx","type":"address"},{"internalType":"address","name":"_crv","type":"address"},{"internalType":"address","name":"_cvxETH","type":"address"},{"internalType":"address","name":"_crvETH","type":"address"},{"internalType":"address","name":"_booster","type":"address"},{"internalType":"address","name":"_rewardPool","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"address","name":"_jpegIndexStaking","type":"address"},{"components":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"internalType":"struct RateLib.Rate","name":"_performanceFee","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidRate","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"wantEarned","type":"uint256"}],"name":"Harvested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"CRV","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CRV_ETH","outputs":[{"internalType":"contract ICurve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CVX","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CVX_BOOSTER","outputs":[{"internalType":"contract IBooster","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CVX_ETH","outputs":[{"internalType":"contract ICurve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CVX_PETH_PID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IJPEG_STAKING","outputs":[{"internalType":"contract IJPEGIndexStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_POOL","outputs":[{"internalType":"contract IBaseRewardPool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STRATEGIST_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VAULT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WANT","outputs":[{"internalType":"contract ICurve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minOutETH","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"heldAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRecipient","type":"address"}],"name":"setFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint128","name":"numerator","type":"uint128"},{"internalType":"uint128","name":"denominator","type":"uint128"}],"internalType":"struct RateLib.Rate","name":"_performanceFee","type":"tuple"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"address","name":"_asset","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101a06040523480156200001257600080fd5b5060405162002d1838038062002d18833981016040819052620000359162000a69565b6001600160a01b038b1615806200005357506001600160a01b038a16155b806200006657506001600160a01b038916155b806200007957506001600160a01b038816155b806200008c57506001600160a01b038716155b806200009f57506001600160a01b038616155b80620000b257506001600160a01b038316155b80620000c557506001600160a01b038216155b15620000e45760405163d92e233d60e01b815260040160405180910390fd5b620000f1600033620001e0565b620000fc83620001f0565b62000107816200027d565b60608b811b6001600160601b03199081166080528b821b811660a0528a821b811660c05289821b811660e05288821b81166101005287821b81166101205286821b8116610140526101608690529083901b1661018052620001816001600160a01b038c168760001962000302602090811b620013ee17901c565b620001a8886000198c6001600160a01b03166200030260201b620013ee179092919060201c565b620001cf876000198b6001600160a01b03166200030260201b620013ee179092919060201c565b505050505050505050505062000d48565b620001ec828262000461565b5050565b6000620001fe813362000501565b6001600160a01b0382166200025a5760405162461bcd60e51b815260206004820152601560248201527f494e56414c49445f4645455f524543495049454e54000000000000000000000060448201526064015b60405180910390fd5b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006200028b813362000501565b620002a1826200059c60201b6200154c1760201c565b1580620002c15750620002bf82620005ae60201b6200155e1760201c565b155b15620002e057604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b801580620003905750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b1580156200035357600080fd5b505afa15801562000368573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038e919062000bc3565b155b620004045760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840162000251565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200045c918591620005c716565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001ec576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004bd3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001ec576200054b816001600160a01b03166014620006a560201b620015771760201c565b6200056183602062001577620006a5821b17811c565b6040516020016200057492919062000bfa565b60408051601f198184030181529082905262461bcd60e51b8252620002519160040162000c73565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b600062000623826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620008a160201b62001760179092919060201c565b8051909150156200045c578080602001905181019062000644919062000ba1565b6200045c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000251565b60606000620006b683600262000cc3565b620006c390600262000ca8565b6001600160401b03811115620006e957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562000714576020820181803683370190505b509050600360fc1b816000815181106200073e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106200077c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000620007a284600262000cc3565b620007af90600162000ca8565b90505b600181111562000849576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110620007f357634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106200081857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93620008418162000d18565b9050620007b2565b5083156200089a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000251565b9392505050565b6060620008b28484600085620008ba565b949350505050565b6060824710156200091d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000251565b6001600160a01b0385163b620009765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000251565b600080866001600160a01b0316858760405162000994919062000bdc565b60006040518083038185875af1925050503d8060008114620009d3576040519150601f19603f3d011682016040523d82523d6000602084013e620009d8565b606091505b509092509050620009eb828286620009f6565b979650505050505050565b6060831562000a075750816200089a565b82511562000a185782518084602001fd5b8160405162461bcd60e51b815260040162000251919062000c73565b80516001600160a01b038116811462000a4c57600080fd5b919050565b80516001600160801b038116811462000a4c57600080fd5b60008060008060008060008060008060008b8d0361018081121562000a8c578788fd5b62000a978d62000a34565b9b5062000aa760208e0162000a34565b9a5062000ab760408e0162000a34565b995062000ac760608e0162000a34565b985062000ad760808e0162000a34565b975062000ae760a08e0162000a34565b965062000af760c08e0162000a34565b955060e08d0151945062000b0f6101008e0162000a34565b935062000b206101208e0162000a34565b9250604061013f198201121562000b35578182fd5b50604080519081016001600160401b038111828210171562000b6557634e487b7160e01b83526041600452602483fd5b60405262000b776101408e0162000a51565b815262000b886101608e0162000a51565b6020820152809150509295989b509295989b9093969950565b60006020828403121562000bb3578081fd5b815180151581146200089a578182fd5b60006020828403121562000bd5578081fd5b5051919050565b6000825162000bf081846020870162000ce5565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162000c3481601785016020880162000ce5565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000c6781602884016020880162000ce5565b01602801949350505050565b602081526000825180602084015262000c9481604085016020870162000ce5565b601f01601f19169190910160400192915050565b6000821982111562000cbe5762000cbe62000d32565b500190565b600081600019048311821515161562000ce05762000ce062000d32565b500290565b60005b8381101562000d0257818101518382015260200162000ce8565b8381111562000d12576000848401525b50505050565b60008162000d2a5762000d2a62000d32565b506000190190565b634e487b7160e01b600052601160045260246000fd5b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160601c610160516101805160601c611ed062000e486000396000818161065e0152610fe90152600081816102520152610acd015260008181610502015281816108b701528181610a0301528181610beb015261120d0152600081816102860152610afa0152600081816106b20152610ea00152600081816103ad0152610d4601526000818161049a0152610de40152600081816103790152610c920152600081816105d40152818161076401528181610932015281816109c401528181611163015281816112a001526113210152611ed06000f3fe6080604052600436106101dc5760003560e01c8063945c914211610102578063d5fdfae611610095578063e858858811610064578063e85885881461064c578063f3fef3a314610680578063f475a9d8146106a0578063f940e385146106d457600080fd5b8063d5fdfae6146105c2578063d6f19262146105f6578063ddc632621461060c578063e74b981b1461062c57600080fd5b8063a378a324116100d1578063a378a32414610539578063a85658db1461056d578063d0e30db01461058d578063d547741f146105a257600080fd5b8063945c91421461048857806398c4f1ac146104bc57806399f91c28146104f0578063a217fddf1461052457600080fd5b806336568abe1161017a578063853828b611610149578063853828b6146103cf578063861b3030146103e457806387788782146103f957806391d148541461044457600080fd5b806336568abe146103275780634690484014610347578063759cb53b1461036757806380dbd9031461039b57600080fd5b80631fdde5c3116101b65780631fdde5c314610274578063248a9ca3146102c0578063257c5908146102f05780632f2ff15d1461030557600080fd5b806301e1d114146101e857806301ffc9a71461021057806313b9e04a1461024057600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506101fd6106f4565b6040519081526020015b60405180910390f35b34801561021c57600080fd5b5061023061022b366004611c80565b610715565b6040519015158152602001610207565b34801561024c57600080fd5b506101fd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561028057600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610207565b3480156102cc57600080fd5b506101fd6102db366004611c46565b60009081526020819052604090206001015490565b3480156102fc57600080fd5b506101fd61074c565b34801561031157600080fd5b50610325610320366004611c5e565b6107e7565b005b34801561033357600080fd5b50610325610342366004611c5e565b610812565b34801561035357600080fd5b506001546102a8906001600160a01b031681565b34801561037357600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103a757600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156103db57600080fd5b50610325610895565b3480156103f057600080fd5b506101fd6109eb565b34801561040557600080fd5b50600254610424906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610207565b34801561045057600080fd5b5061023061045f366004611c5e565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561049457600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c857600080fd5b506101fd7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d95981565b3480156104fc57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561053057600080fd5b506101fd600081565b34801561054557600080fd5b506101fd7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb081565b34801561057957600080fd5b50610325610588366004611ca8565b610a3a565b34801561059957600080fd5b50610325610ab2565b3480156105ae57600080fd5b506103256105bd366004611c5e565b610b7e565b3480156105ce57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561060257600080fd5b506101fd60035481565b34801561061857600080fd5b50610325610627366004611c46565b610ba4565b34801561063857600080fd5b50610325610647366004611bb1565b6110ad565b34801561065857600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b34801561068c57600080fd5b5061032561069b366004611bfd565b61113f565b3480156106ac57600080fd5b506102a87f000000000000000000000000000000000000000000000000000000000000000081565b3480156106e057600080fd5b506103256106ef366004611bcb565b6112cd565b60006106fe6109eb565b61070661074c565b6107109190611dea565b905090565b60006001600160e01b03198216637965db0b60e01b148061074657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a08231906024015b60206040518083038186803b1580156107af57600080fd5b505afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107109190611d0e565b6000828152602081905260409020600101546108038133611777565b61080d83836117f5565b505050565b6001600160a01b03811633146108875760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108918282611893565b5050565b60006108a18133611777565b6040516324f81cd160e11b8152600160048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906349f039a290602401600060405180830381600087803b15801561090357600080fd5b505af1158015610917573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b15801561097d57600080fd5b505afa158015610991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b59190611d0e565b90506108916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383611912565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401610797565b6000610a468133611777565b60208201516001600160801b03161580610a725750815160208301516001600160801b03918216911611155b15610a9057604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b6000610abe8133611777565b60405163303acfe760e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906360759fce90604401602060405180830381600087803b158015610b4657600080fd5b505af1158015610b5a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108919190611c26565b600082815260208190526040902060010154610b9a8133611777565b61080d8383611893565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb0610bcf8133611777565b604051637050ccd960e01b8152306004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637050ccd990604401602060405180830381600087803b158015610c3757600080fd5b505af1158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f9190611c26565b506040516370a0823160e01b815230600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b158015610cd457600080fd5b505afa158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190611d0e565b90508015610dcc5760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063394747c59060a401602060405180830381600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190611d0e565b505b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610e2e57600080fd5b505afa158015610e42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e669190611d0e565b90508015610f265760405163394747c560e01b815260026004820152600160248201819052604482018390526000606483015260848201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063394747c59060a401602060405180830381600087803b158015610eec57600080fd5b505af1158015610f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f249190611d0e565b505b47925084831415610f4a57604051631e9acf1760e31b815260040160405180910390fd5b50506002546000906001600160801b03600160801b8204811691610f6f911647611e22565b610f799190611e02565b60015460405191925060009182916001600160a01b03169084908381818185875af1925050503d8060008114610fcb576040519150601f19603f3d011682016040523d82523d6000602084013e610fd0565b606091505b509150915081610fe257805160208201fd5b82840393507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635d54bda4856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b5050505050836003600082825461106d9190611dea565b90915550506040518481527f8e55ccfc9778ff8eba1646d765cf1982537ce0f9257054a17b48aad7452501839060200160405180910390a1505050505050565b60006110b98133611777565b6001600160a01b03821661110f5760405162461bcd60e51b815260206004820152601560248201527f494e56414c49445f4645455f524543495049454e540000000000000000000000604482015260640161087e565b506001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600061114b8133611777565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156111ad57600080fd5b505afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190611d0e565b90508281101561129357604051636197390160e11b81528184036004820152600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e720290604401602060405180830381600087803b15801561125957600080fd5b505af115801561126d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112919190611c26565b505b6112c76001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168585611912565b50505050565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb06112f88133611777565b6001600160a01b03831661131f5760405163d92e233d60e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561135e57600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b1580156113a057600080fd5b505afa1580156113b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d89190611d0e565b90506112c76001600160a01b0384168583611912565b8015806114775750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561143d57600080fd5b505afa158015611451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114759190611d0e565b155b6114e95760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161087e565b6040516001600160a01b03831660248201526044810182905261080d90849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611942565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b60606000611586836002611e22565b611591906002611dea565b67ffffffffffffffff8111156115b757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e1576020820181803683370190505b509050600360fc1b8160008151811061160a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061166b846002611e22565b611676906001611dea565b90505b600181111561170a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116b857634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106116dc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361170381611e6d565b9050611679565b5083156117595760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161087e565b9392505050565b606061176f8484600085611a14565b949350505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610891576117b3816001600160a01b03166014611577565b6117be836020611577565b6040516020016117cf929190611d42565b60408051601f198184030181529082905262461bcd60e51b825261087e91600401611db7565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610891576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561184f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610891576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b03831660248201526044810182905261080d90849063a9059cbb60e01b90606401611515565b6000611997826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117609092919063ffffffff16565b80519091501561080d57808060200190518101906119b59190611c26565b61080d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161087e565b606082471015611a755760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161087e565b6001600160a01b0385163b611acc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161087e565b600080866001600160a01b03168587604051611ae89190611d26565b60006040518083038185875af1925050503d8060008114611b25576040519150601f19603f3d011682016040523d82523d6000602084013e611b2a565b606091505b5091509150611b3a828286611b45565b979650505050505050565b60608315611b54575081611759565b825115611b645782518084602001fd5b8160405162461bcd60e51b815260040161087e9190611db7565b80356001600160a01b0381168114611b9557600080fd5b919050565b80356001600160801b0381168114611b9557600080fd5b600060208284031215611bc2578081fd5b61175982611b7e565b60008060408385031215611bdd578081fd5b611be683611b7e565b9150611bf460208401611b7e565b90509250929050565b60008060408385031215611c0f578182fd5b611c1883611b7e565b946020939093013593505050565b600060208284031215611c37578081fd5b81518015158114611759578182fd5b600060208284031215611c57578081fd5b5035919050565b60008060408385031215611c70578182fd5b82359150611bf460208401611b7e565b600060208284031215611c91578081fd5b81356001600160e01b031981168114611759578182fd5b600060408284031215611cb9578081fd5b6040516040810181811067ffffffffffffffff82111715611ce857634e487b7160e01b83526041600452602483fd5b604052611cf483611b9a565b8152611d0260208401611b9a565b60208201529392505050565b600060208284031215611d1f578081fd5b5051919050565b60008251611d38818460208701611e41565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611d7a816017850160208801611e41565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611dab816028840160208801611e41565b01602801949350505050565b6020815260008251806020840152611dd6816040850160208701611e41565b601f01601f19169190910160400192915050565b60008219821115611dfd57611dfd611e84565b500190565b600082611e1d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e3c57611e3c611e84565b500290565b60005b83811015611e5c578181015183820152602001611e44565b838111156112c75750506000910152565b600081611e7c57611e7c611e84565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220ccbce0208082959660290cb25b9661c2a25eeddf8e358ac22ea0b6f30348a39c64736f6c634300080400330000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d40000000000000000000000004ebdf703948ddcea3b11f675b4d1fba9d2414a14000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae310000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c00000000000000000000000000000000000000000000000000000000000000df00000000000000000000000009dcdeed84106f894412228479caffc3dd70199f0000000000000000000000007bdcb68657f72a329e70e909bd72762f4834862300000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x6080604052600436106101dc5760003560e01c8063945c914211610102578063d5fdfae611610095578063e858858811610064578063e85885881461064c578063f3fef3a314610680578063f475a9d8146106a0578063f940e385146106d457600080fd5b8063d5fdfae6146105c2578063d6f19262146105f6578063ddc632621461060c578063e74b981b1461062c57600080fd5b8063a378a324116100d1578063a378a32414610539578063a85658db1461056d578063d0e30db01461058d578063d547741f146105a257600080fd5b8063945c91421461048857806398c4f1ac146104bc57806399f91c28146104f0578063a217fddf1461052457600080fd5b806336568abe1161017a578063853828b611610149578063853828b6146103cf578063861b3030146103e457806387788782146103f957806391d148541461044457600080fd5b806336568abe146103275780634690484014610347578063759cb53b1461036757806380dbd9031461039b57600080fd5b80631fdde5c3116101b65780631fdde5c314610274578063248a9ca3146102c0578063257c5908146102f05780632f2ff15d1461030557600080fd5b806301e1d114146101e857806301ffc9a71461021057806313b9e04a1461024057600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506101fd6106f4565b6040519081526020015b60405180910390f35b34801561021c57600080fd5b5061023061022b366004611c80565b610715565b6040519015158152602001610207565b34801561024c57600080fd5b506101fd7f00000000000000000000000000000000000000000000000000000000000000df81565b34801561028057600080fd5b506102a87f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae3181565b6040516001600160a01b039091168152602001610207565b3480156102cc57600080fd5b506101fd6102db366004611c46565b60009081526020819052604090206001015490565b3480156102fc57600080fd5b506101fd61074c565b34801561031157600080fd5b50610325610320366004611c5e565b6107e7565b005b34801561033357600080fd5b50610325610342366004611c5e565b610812565b34801561035357600080fd5b506001546102a8906001600160a01b031681565b34801561037357600080fd5b506102a87f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b3480156103a757600080fd5b506102a87f000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d481565b3480156103db57600080fd5b50610325610895565b3480156103f057600080fd5b506101fd6109eb565b34801561040557600080fd5b50600254610424906001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610207565b34801561045057600080fd5b5061023061045f366004611c5e565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561049457600080fd5b506102a87f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd5281565b3480156104c857600080fd5b506101fd7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d95981565b3480156104fc57600080fd5b506102a87f0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c81565b34801561053057600080fd5b506101fd600081565b34801561054557600080fd5b506101fd7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb081565b34801561057957600080fd5b50610325610588366004611ca8565b610a3a565b34801561059957600080fd5b50610325610ab2565b3480156105ae57600080fd5b506103256105bd366004611c5e565b610b7e565b3480156105ce57600080fd5b506102a87f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b81565b34801561060257600080fd5b506101fd60035481565b34801561061857600080fd5b50610325610627366004611c46565b610ba4565b34801561063857600080fd5b50610325610647366004611bb1565b6110ad565b34801561065857600080fd5b506102a87f0000000000000000000000007bdcb68657f72a329e70e909bd72762f4834862381565b34801561068c57600080fd5b5061032561069b366004611bfd565b61113f565b3480156106ac57600080fd5b506102a87f0000000000000000000000004ebdf703948ddcea3b11f675b4d1fba9d2414a1481565b3480156106e057600080fd5b506103256106ef366004611bcb565b6112cd565b60006106fe6109eb565b61070661074c565b6107109190611dea565b905090565b60006001600160e01b03198216637965db0b60e01b148061074657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b6001600160a01b0316906370a08231906024015b60206040518083038186803b1580156107af57600080fd5b505afa1580156107c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107109190611d0e565b6000828152602081905260409020600101546108038133611777565b61080d83836117f5565b505050565b6001600160a01b03811633146108875760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6108918282611893565b5050565b60006108a18133611777565b6040516324f81cd160e11b8152600160048201527f0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c6001600160a01b0316906349f039a290602401600060405180830381600087803b15801561090357600080fd5b505af1158015610917573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b6001600160a01b031691506370a082319060240160206040518083038186803b15801561097d57600080fd5b505afa158015610991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b59190611d0e565b90506108916001600160a01b037f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b163383611912565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c6001600160a01b0316906370a0823190602401610797565b6000610a468133611777565b60208201516001600160801b03161580610a725750815160208301516001600160801b03918216911611155b15610a9057604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b6000610abe8133611777565b60405163303acfe760e11b81527f00000000000000000000000000000000000000000000000000000000000000df6004820152600160248201527f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae316001600160a01b0316906360759fce90604401602060405180830381600087803b158015610b4657600080fd5b505af1158015610b5a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108919190611c26565b600082815260208190526040902060010154610b9a8133611777565b61080d8383611893565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb0610bcf8133611777565b604051637050ccd960e01b8152306004820152600160248201527f0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c6001600160a01b031690637050ccd990604401602060405180830381600087803b158015610c3757600080fd5b505af1158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f9190611c26565b506040516370a0823160e01b815230600482015260009081906001600160a01b037f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b16906370a082319060240160206040518083038186803b158015610cd457600080fd5b505afa158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190611d0e565b90508015610dcc5760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d46001600160a01b03169063394747c59060a401602060405180830381600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190611d0e565b505b6040516370a0823160e01b81523060048201526000907f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd526001600160a01b0316906370a082319060240160206040518083038186803b158015610e2e57600080fd5b505afa158015610e42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e669190611d0e565b90508015610f265760405163394747c560e01b815260026004820152600160248201819052604482018390526000606483015260848201527f0000000000000000000000004ebdf703948ddcea3b11f675b4d1fba9d2414a146001600160a01b03169063394747c59060a401602060405180830381600087803b158015610eec57600080fd5b505af1158015610f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f249190611d0e565b505b47925084831415610f4a57604051631e9acf1760e31b815260040160405180910390fd5b50506002546000906001600160801b03600160801b8204811691610f6f911647611e22565b610f799190611e02565b60015460405191925060009182916001600160a01b03169084908381818185875af1925050503d8060008114610fcb576040519150601f19603f3d011682016040523d82523d6000602084013e610fd0565b606091505b509150915081610fe257805160208201fd5b82840393507f0000000000000000000000007bdcb68657f72a329e70e909bd72762f483486236001600160a01b0316635d54bda4856040518263ffffffff1660e01b81526004016000604051808303818588803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b5050505050836003600082825461106d9190611dea565b90915550506040518481527f8e55ccfc9778ff8eba1646d765cf1982537ce0f9257054a17b48aad7452501839060200160405180910390a1505050505050565b60006110b98133611777565b6001600160a01b03821661110f5760405162461bcd60e51b815260206004820152601560248201527f494e56414c49445f4645455f524543495049454e540000000000000000000000604482015260640161087e565b506001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600061114b8133611777565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b6001600160a01b0316906370a082319060240160206040518083038186803b1580156111ad57600080fd5b505afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190611d0e565b90508281101561129357604051636197390160e11b81528184036004820152600060248201527f0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c6001600160a01b03169063c32e720290604401602060405180830381600087803b15801561125957600080fd5b505af115801561126d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112919190611c26565b505b6112c76001600160a01b037f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b168585611912565b50505050565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb06112f88133611777565b6001600160a01b03831661131f5760405163d92e233d60e01b815260040160405180910390fd5b7f0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b6001600160a01b0316826001600160a01b0316141561135e57600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b1580156113a057600080fd5b505afa1580156113b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d89190611d0e565b90506112c76001600160a01b0384168583611912565b8015806114775750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561143d57600080fd5b505afa158015611451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114759190611d0e565b155b6114e95760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161087e565b6040516001600160a01b03831660248201526044810182905261080d90849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611942565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b60606000611586836002611e22565b611591906002611dea565b67ffffffffffffffff8111156115b757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e1576020820181803683370190505b509050600360fc1b8160008151811061160a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061166b846002611e22565b611676906001611dea565b90505b600181111561170a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116b857634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106116dc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361170381611e6d565b9050611679565b5083156117595760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161087e565b9392505050565b606061176f8484600085611a14565b949350505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610891576117b3816001600160a01b03166014611577565b6117be836020611577565b6040516020016117cf929190611d42565b60408051601f198184030181529082905262461bcd60e51b825261087e91600401611db7565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610891576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561184f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610891576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b03831660248201526044810182905261080d90849063a9059cbb60e01b90606401611515565b6000611997826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117609092919063ffffffff16565b80519091501561080d57808060200190518101906119b59190611c26565b61080d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161087e565b606082471015611a755760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161087e565b6001600160a01b0385163b611acc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161087e565b600080866001600160a01b03168587604051611ae89190611d26565b60006040518083038185875af1925050503d8060008114611b25576040519150601f19603f3d011682016040523d82523d6000602084013e611b2a565b606091505b5091509150611b3a828286611b45565b979650505050505050565b60608315611b54575081611759565b825115611b645782518084602001fd5b8160405162461bcd60e51b815260040161087e9190611db7565b80356001600160a01b0381168114611b9557600080fd5b919050565b80356001600160801b0381168114611b9557600080fd5b600060208284031215611bc2578081fd5b61175982611b7e565b60008060408385031215611bdd578081fd5b611be683611b7e565b9150611bf460208401611b7e565b90509250929050565b60008060408385031215611c0f578182fd5b611c1883611b7e565b946020939093013593505050565b600060208284031215611c37578081fd5b81518015158114611759578182fd5b600060208284031215611c57578081fd5b5035919050565b60008060408385031215611c70578182fd5b82359150611bf460208401611b7e565b600060208284031215611c91578081fd5b81356001600160e01b031981168114611759578182fd5b600060408284031215611cb9578081fd5b6040516040810181811067ffffffffffffffff82111715611ce857634e487b7160e01b83526041600452602483fd5b604052611cf483611b9a565b8152611d0260208401611b9a565b60208201529392505050565b600060208284031215611d1f578081fd5b5051919050565b60008251611d38818460208701611e41565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611d7a816017850160208801611e41565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611dab816028840160208801611e41565b01602801949350505050565b6020815260008251806020840152611dd6816040850160208701611e41565b601f01601f19169190910160400192915050565b60008219821115611dfd57611dfd611e84565b500190565b600082611e1d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e3c57611e3c611e84565b500290565b60005b83811015611e5c578181015183820152602001611e44565b838111156112c75750506000910152565b600081611e7c57611e7c611e84565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220ccbce0208082959660290cb25b9661c2a25eeddf8e358ac22ea0b6f30348a39c64736f6c63430008040033

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

0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d40000000000000000000000004ebdf703948ddcea3b11f675b4d1fba9d2414a14000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae310000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c00000000000000000000000000000000000000000000000000000000000000df00000000000000000000000009dcdeed84106f894412228479caffc3dd70199f0000000000000000000000007bdcb68657f72a329e70e909bd72762f4834862300000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : _want (address): 0x1C5F80b6B68A9E1Ef25926EeE00b5255791b996B
Arg [1] : _cvx (address): 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B
Arg [2] : _crv (address): 0xD533a949740bb3306d119CC777fa900bA034cd52
Arg [3] : _cvxETH (address): 0xB576491F1E6e5E62f1d8F26062Ee822B40B0E0d4
Arg [4] : _crvETH (address): 0x4eBdF703948ddCEA3B11f675B4D1Fba9d2414A14
Arg [5] : _booster (address): 0xF403C135812408BFbE8713b5A23a04b3D48AAE31
Arg [6] : _rewardPool (address): 0x5A20643fc0c2c39aB28aFAC727f8A2cB6a1D616C
Arg [7] : _pid (uint256): 223
Arg [8] : _feeAddress (address): 0x09dcdeeD84106f894412228479CAfFC3dD70199F
Arg [9] : _jpegIndexStaking (address): 0x7bdCB68657f72a329e70E909BD72762f48348623
Arg [10] : _performanceFee (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000001c5f80b6b68a9e1ef25926eee00b5255791b996b
Arg [1] : 0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
Arg [2] : 000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52
Arg [3] : 000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d4
Arg [4] : 0000000000000000000000004ebdf703948ddcea3b11f675b4d1fba9d2414a14
Arg [5] : 000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31
Arg [6] : 0000000000000000000000005a20643fc0c2c39ab28afac727f8a2cb6a1d616c
Arg [7] : 00000000000000000000000000000000000000000000000000000000000000df
Arg [8] : 00000000000000000000000009dcdeed84106f894412228479caffc3dd70199f
Arg [9] : 0000000000000000000000007bdcb68657f72a329e70e909bd72762f48348623
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000064


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  ]
[ 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.