ETH Price: $2,634.08 (+0.56%)
Gas: 8.31 Gwei

Contract

0x9aD42354661d643fC28A3a89DFEf973833805b9E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Harvest177957292023-07-29 2:30:59445 days ago1690597859IN
0x9aD42354...833805b9E
0 ETH0.0290758220.03464824
Harvest177769682023-07-26 11:30:59448 days ago1690371059IN
0x9aD42354...833805b9E
0 ETH0.0292146220.26738335
Harvest177564232023-07-23 14:30:59451 days ago1690122659IN
0x9aD42354...833805b9E
0 ETH0.0389510428.47163209
Harvest177373682023-07-20 22:31:23454 days ago1689892283IN
0x9aD42354...833805b9E
0 ETH0.0472668834.46929426
Harvest177186412023-07-18 7:30:47456 days ago1689665447IN
0x9aD42354...833805b9E
0 ETH0.020655914.80813937
Harvest176999672023-07-15 16:30:47459 days ago1689438647IN
0x9aD42354...833805b9E
0 ETH0.027440120.45404609
Harvest176825272023-07-13 5:30:47461 days ago1689226247IN
0x9aD42354...833805b9E
0 ETH0.0210251815.41053654
Harvest176644592023-07-10 16:30:59464 days ago1689006659IN
0x9aD42354...833805b9E
0 ETH0.0549016238.17737769
Harvest176446072023-07-07 21:30:59467 days ago1688765459IN
0x9aD42354...833805b9E
0 ETH0.0421491129.31058334
Harvest176250192023-07-05 3:30:59469 days ago1688527859IN
0x9aD42354...833805b9E
0 ETH0.0610449240
Harvest176059552023-07-02 11:13:59472 days ago1688296439IN
0x9aD42354...833805b9E
0 ETH0.0224013415.43494272
Revoke Role175717392023-06-27 16:01:35477 days ago1687881695IN
0x9aD42354...833805b9E
0 ETH0.0017556565
Grant Role175717382023-06-27 16:01:23477 days ago1687881683IN
0x9aD42354...833805b9E
0 ETH0.0033425665
Grant Role175717382023-06-27 16:01:23477 days ago1687881683IN
0x9aD42354...833805b9E
0 ETH0.0033417865
Grant Role175717382023-06-27 16:01:23477 days ago1687881683IN
0x9aD42354...833805b9E
0 ETH0.003317665
0x61018060175717372023-06-27 16:01:11477 days ago1687881671IN
 Create: StrategyPETHConvex
0 ETH0.1287236665

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
177957292023-07-29 2:30:59445 days ago1690597859
0x9aD42354...833805b9E
6.19647207 ETH
177957292023-07-29 2:30:59445 days ago1690597859
0x9aD42354...833805b9E
1.54911801 ETH
177957292023-07-29 2:30:59445 days ago1690597859
0x9aD42354...833805b9E
7.22630662 ETH
177957292023-07-29 2:30:59445 days ago1690597859
0x9aD42354...833805b9E
0.51928346 ETH
177769682023-07-26 11:30:59448 days ago1690371059
0x9aD42354...833805b9E
6.212247 ETH
177769682023-07-26 11:30:59448 days ago1690371059
0x9aD42354...833805b9E
1.55306175 ETH
177769682023-07-26 11:30:59448 days ago1690371059
0x9aD42354...833805b9E
7.25887792 ETH
177769682023-07-26 11:30:59448 days ago1690371059
0x9aD42354...833805b9E
0.50643083 ETH
177564232023-07-23 14:30:59451 days ago1690122659
0x9aD42354...833805b9E
6.21629991 ETH
177564232023-07-23 14:30:59451 days ago1690122659
0x9aD42354...833805b9E
1.55407497 ETH
177564232023-07-23 14:30:59451 days ago1690122659
0x9aD42354...833805b9E
7.28315517 ETH
177564232023-07-23 14:30:59451 days ago1690122659
0x9aD42354...833805b9E
0.48721971 ETH
177373682023-07-20 22:31:23454 days ago1689892283
0x9aD42354...833805b9E
6.23407088 ETH
177373682023-07-20 22:31:23454 days ago1689892283
0x9aD42354...833805b9E
1.55851772 ETH
177373682023-07-20 22:31:23454 days ago1689892283
0x9aD42354...833805b9E
7.29851723 ETH
177373682023-07-20 22:31:23454 days ago1689892283
0x9aD42354...833805b9E
0.49407136 ETH
177186412023-07-18 7:30:47456 days ago1689665447
0x9aD42354...833805b9E
6.28528714 ETH
177186412023-07-18 7:30:47456 days ago1689665447
0x9aD42354...833805b9E
1.57132178 ETH
177186412023-07-18 7:30:47456 days ago1689665447
0x9aD42354...833805b9E
7.31287468 ETH
177186412023-07-18 7:30:47456 days ago1689665447
0x9aD42354...833805b9E
0.54373425 ETH
176999672023-07-15 16:30:47459 days ago1689438647
0x9aD42354...833805b9E
6.21288408 ETH
176999672023-07-15 16:30:47459 days ago1689438647
0x9aD42354...833805b9E
1.55322102 ETH
176999672023-07-15 16:30:47459 days ago1689438647
0x9aD42354...833805b9E
7.2339855 ETH
176999672023-07-15 16:30:47459 days ago1689438647
0x9aD42354...833805b9E
0.5321196 ETH
176825272023-07-13 5:30:47461 days ago1689226247
0x9aD42354...833805b9E
6.27599644 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyPETHConvex

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion
File 1 of 17 : StrategyPETHConvex.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/I3CRVZap.sol";
import "../../../interfaces/IBooster.sol";
import "../../../interfaces/IBaseRewardPool.sol";

import "../../../interfaces/IPETHVaultForDAO.sol";

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

/// @title JPEG'd PEWTH Convex autocompounding strategy
/// @notice This strategy autocompounds Convex rewards from the PETH/ETH Curve pool.
/// @dev The strategy deposits either ETH or PETH in the Curve pool depending on which one has lower liquidity.
/// The strategy sells reward tokens for ETH. If the pool has less PETH than ETH, this contract uses the
/// ETH to mint PETH
contract StrategyPETHConvex is AccessControl, IStrategy {
    using SafeERC20 for IERC20;
    using SafeERC20 for ICurve;
    using RateLib for RateLib.Rate;

    error ZeroAddress();

    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;

    address public feeRecipient;

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

    /// @notice lifetime strategy earnings denominated in `want` token
    uint256 public earned;

    constructor(
        address _want,
        address _cvx,
        address _crv,
        address _cvxETH,
        address _crvETH,
        address _booster,
        address _rewardPool,
        uint256 _pid,
        address _feeAddress,
        RateLib.Rate memory _performanceFee
    ) {
        if (
            _want == address(0) ||
            _cvx == address(0) ||
            _crv == address(0) ||
            _cvxETH == address(0) ||
            _crvETH == address(0) ||
            _booster == address(0) ||
            _rewardPool == address(0) ||
            _feeAddress == 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;

        IERC20(_want).safeApprove(_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) {
        if (_newRecipient == address(0)) revert ZeroAddress();

        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 anyone to deposit the total amount of `want` tokens in this contract into Convex
    function deposit() public override {
        CVX_BOOSTER.depositAll(CVX_PETH_PID, true);
    }

    /// @notice Controller 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 controller to withdraw `want` tokens. Normally used with a vault withdrawal
    /// @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(VAULT_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 controller to withdraw all `want` tokens. Normally used when migrating strategies
    function withdrawAll() external override onlyRole(VAULT_ROLE) {
        REWARD_POOL.withdrawAllAndUnwrap(true);

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

    /// @notice Allows members of the `STRATEGIST_ROLE` to compound Convex rewards into Curve
    /// @param _minOutCurve The minimum amount of `want` tokens to receive
    function harvest(uint256 _minOutCurve) external onlyRole(STRATEGIST_ROLE) {
        REWARD_POOL.getReward(address(this), true);

        //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(1, 0, _crvBalance, 0, true);

            if (address(this).balance == 0) revert();
        }

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

        WANT.add_liquidity{ value: address(this).balance }(
            [address(this).balance, 0],
            _minOutCurve
        );

        uint256 _wantBalance = heldAssets();

        deposit();

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

File 2 of 17 : 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 17 : 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 4 of 17 : 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 5 of 17 : 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;
    }
}

File 6 of 17 : 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 payable returns (uint256);
}

File 7 of 17 : I3CRVZap.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface I3CRVZap {
    function add_liquidity(
        address _pool,
        uint256[4] calldata _deposit_amounts,
        uint256 _min_mint_amount
    ) external returns (uint256);
}

File 8 of 17 : 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 9 of 17 : 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 10 of 17 : IPETHVaultForDAO.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IPETHVaultForDAO {
    function deposit() external payable;

    function borrow(uint256 amount) external;

    function repay(uint256 amount) external;

    function withdraw(uint256 amount) external;
}

File 11 of 17 : 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 12 of 17 : 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 13 of 17 : 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 14 of 17 : 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 15 of 17 : 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 16 of 17 : 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 17 of 17 : 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);
            }
        }
    }
}

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"},{"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":"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":"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":"_minOutCurve","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"}]

6101806040523480156200001257600080fd5b5060405162002ced38038062002ced833981016040819052620000359162000a2f565b6001600160a01b038a1615806200005357506001600160a01b038916155b806200006657506001600160a01b038816155b806200007957506001600160a01b038716155b806200008c57506001600160a01b038616155b806200009f57506001600160a01b038516155b80620000b257506001600160a01b038416155b80620000c557506001600160a01b038216155b15620000e45760405163d92e233d60e01b815260040160405180910390fd5b620000f1600033620001d6565b620000fc82620001e6565b62000107816200023f565b60608a811b6001600160601b03199081166080528a821b811660a05289821b811660c05288821b811660e05287821b81166101005286821b8116610120529085901b1661014052610160839052620001786001600160a01b038b1686600019620002c4602090811b620013e717901c565b6200019f876000198b6001600160a01b0316620002c460201b620013e7179092919060201c565b620001c6866000198a6001600160a01b0316620002c460201b620013e7179092919060201c565b5050505050505050505062000cfa565b620001e2828262000427565b5050565b6000620001f48133620004c7565b6001600160a01b0382166200021c5760405163d92e233d60e01b815260040160405180910390fd5b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b60006200024d8133620004c7565b62000263826200056260201b620015451760201c565b158062000283575062000281826200057460201b620015571760201c565b155b15620002a257604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b801580620003525750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b1580156200031557600080fd5b505afa1580156200032a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000350919062000b75565b155b620003ca5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620004229185916200058d16565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001e2576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004833390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001e25762000511816001600160a01b031660146200066b60201b620015701760201c565b62000527836020620015706200066b821b17811c565b6040516020016200053a92919062000bac565b60408051601f198184030181529082905262461bcd60e51b8252620003c19160040162000c25565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b6000620005e9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200086760201b62001759179092919060201c565b8051909150156200042257808060200190518101906200060a919062000b53565b620004225760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401620003c1565b606060006200067c83600262000c75565b6200068990600262000c5a565b6001600160401b03811115620006af57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620006da576020820181803683370190505b509050600360fc1b816000815181106200070457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106200074257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006200076884600262000c75565b6200077590600162000c5a565b90505b60018111156200080f576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110620007b957634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110620007de57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93620008078162000cca565b905062000778565b508315620008605760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401620003c1565b9392505050565b606062000878848460008562000880565b949350505050565b606082471015620008e35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401620003c1565b6001600160a01b0385163b6200093c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620003c1565b600080866001600160a01b031685876040516200095a919062000b8e565b60006040518083038185875af1925050503d806000811462000999576040519150601f19603f3d011682016040523d82523d6000602084013e6200099e565b606091505b509092509050620009b1828286620009bc565b979650505050505050565b60608315620009cd57508162000860565b825115620009de5782518084602001fd5b8160405162461bcd60e51b8152600401620003c1919062000c25565b80516001600160a01b038116811462000a1257600080fd5b919050565b80516001600160801b038116811462000a1257600080fd5b6000806000806000806000806000808a8c0361016081121562000a50578687fd5b62000a5b8c620009fa565b9a5062000a6b60208d01620009fa565b995062000a7b60408d01620009fa565b985062000a8b60608d01620009fa565b975062000a9b60808d01620009fa565b965062000aab60a08d01620009fa565b955062000abb60c08d01620009fa565b945060e08c0151935062000ad36101008d01620009fa565b9250604061011f198201121562000ae8578182fd5b50604080519081016001600160401b038111828210171562000b1857634e487b7160e01b83526041600452602483fd5b60405262000b2a6101208d0162000a17565b815262000b3b6101408d0162000a17565b6020820152809150509295989b9194979a5092959850565b60006020828403121562000b65578081fd5b8151801515811462000860578182fd5b60006020828403121562000b87578081fd5b5051919050565b6000825162000ba281846020870162000c97565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162000be681601785016020880162000c97565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000c1981602884016020880162000c97565b01602801949350505050565b602081526000825180602084015262000c4681604085016020870162000c97565b601f01601f19169190910160400192915050565b6000821982111562000c705762000c7062000ce4565b500190565b600081600019048311821515161562000c925762000c9262000ce4565b500290565b60005b8381101562000cb457818101518382015260200162000c9a565b8381111562000cc4576000848401525b50505050565b60008162000cdc5762000cdc62000ce4565b506000190190565b634e487b7160e01b600052601160045260246000fd5b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160601c61016051611f0162000dec600039600081816102470152610aa10152600081816104f701528181610897015281816109e301528181610bc2015261120601526000818161027b0152610ace0152600081816106730152610e750152600081816103a20152610d1b01526000818161048f0152610db901526000818161036e0152610c5f0152600081816105c90152818161072501528181610912015281816109a401528181610fc60152818161115c01528181611299015261131a0152611f016000f3fe6080604052600436106101d15760003560e01c8063945c9142116100f7578063d547741f11610095578063e74b981b11610064578063e74b981b14610621578063f3fef3a314610641578063f475a9d814610661578063f940e3851461069557600080fd5b8063d547741f14610597578063d5fdfae6146105b7578063d6f19262146105eb578063ddc632621461060157600080fd5b8063a217fddf116100d1578063a217fddf14610519578063a378a3241461052e578063a85658db14610562578063d0e30db01461058257600080fd5b8063945c91421461047d57806398c4f1ac146104b157806399f91c28146104e557600080fd5b806336568abe1161016f578063853828b61161013e578063853828b6146103c4578063861b3030146103d957806387788782146103ee57806391d148541461043957600080fd5b806336568abe1461031c578063469048401461033c578063759cb53b1461035c57806380dbd9031461039057600080fd5b80631fdde5c3116101ab5780631fdde5c314610269578063248a9ca3146102b5578063257c5908146102e55780632f2ff15d146102fa57600080fd5b806301e1d114146101dd57806301ffc9a71461020557806313b9e04a1461023557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26106b5565b6040519081526020015b60405180910390f35b34801561021157600080fd5b50610225610220366004611c79565b6106d6565b60405190151581526020016101fc565b34801561024157600080fd5b506101f27f000000000000000000000000000000000000000000000000000000000000000081565b34801561027557600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fc565b3480156102c157600080fd5b506101f26102d0366004611c3f565b60009081526020819052604090206001015490565b3480156102f157600080fd5b506101f261070d565b34801561030657600080fd5b5061031a610315366004611c57565b6107a8565b005b34801561032857600080fd5b5061031a610337366004611c57565b6107d3565b34801561034857600080fd5b5060015461029d906001600160a01b031681565b34801561036857600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561039c57600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d057600080fd5b5061031a610856565b3480156103e557600080fd5b506101f26109cb565b3480156103fa57600080fd5b50600254610419906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101fc565b34801561044557600080fd5b50610225610454366004611c57565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561048957600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bd57600080fd5b506101f27f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d95981565b3480156104f157600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561052557600080fd5b506101f2600081565b34801561053a57600080fd5b506101f27f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb081565b34801561056e57600080fd5b5061031a61057d366004611ca1565b610a1a565b34801561058e57600080fd5b5061031a610a92565b3480156105a357600080fd5b5061031a6105b2366004611c57565b610b55565b3480156105c357600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f757600080fd5b506101f260035481565b34801561060d57600080fd5b5061031a61061c366004611c3f565b610b7b565b34801561062d57600080fd5b5061031a61063c366004611baa565b6110b6565b34801561064d57600080fd5b5061031a61065c366004611bf6565b611119565b34801561066d57600080fd5b5061029d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a157600080fd5b5061031a6106b0366004611bc4565b6112c6565b60006106bf6109cb565b6106c761070d565b6106d19190611e1b565b905090565b60006001600160e01b03198216637965db0b60e01b148061070757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a08231906024015b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d19190611d07565b6000828152602081905260409020600101546107c48133611770565b6107ce83836117ee565b505050565b6001600160a01b03811633146108485760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610852828261188c565b5050565b7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d9596108818133611770565b6040516324f81cd160e11b8152600160048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906349f039a290602401600060405180830381600087803b1580156108e357600080fd5b505af11580156108f7573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a082319060240160206040518083038186803b15801561095d57600080fd5b505afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109959190611d07565b90506108526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338361190b565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401610758565b6000610a268133611770565b60208201516001600160801b03161580610a525750815160208301516001600160801b03918216911611155b15610a7057604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b60405163303acfe760e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906360759fce90604401602060405180830381600087803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b529190611c1f565b50565b600082815260208190526040902060010154610b718133611770565b6107ce838361188c565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb0610ba68133611770565b604051637050ccd960e01b8152306004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637050ccd990604401602060405180830381600087803b158015610c0e57600080fd5b505af1158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c469190611c1f565b506040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610ca957600080fd5b505afa158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce19190611d07565b90508015610da15760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063394747c59060a401602060405180830381600087803b158015610d6757600080fd5b505af1158015610d7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9f9190611d07565b505b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b158015610e0357600080fd5b505afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611d07565b90508015610efb5760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063394747c59060a401602060405180830381600087803b158015610ec157600080fd5b505af1158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190611d07565b505b47610f0557600080fd5b50506002546000906001600160801b03600160801b8204811691610f2a911647611e53565b610f349190611e33565b60015460405191925060009182916001600160a01b03169084908381818185875af1925050503d8060008114610f86576040519150601f19603f3d011682016040523d82523d6000602084013e610f8b565b606091505b509150915081610f9d57805160208201fd5b604080518082018252478152600060208201529051630b4c7e4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691630b4c7e4d914791610ffd918a90600401611db0565b6020604051808303818588803b15801561101657600080fd5b505af115801561102a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061104f9190611d07565b50600061105a61070d565b9050611064610a92565b80600360008282546110769190611e1b565b90915550506040518181527f8e55ccfc9778ff8eba1646d765cf1982537ce0f9257054a17b48aad7452501839060200160405180910390a1505050505050565b60006110c28133611770565b6001600160a01b0382166110e95760405163d92e233d60e01b815260040160405180910390fd5b506001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d9596111448133611770565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156111a657600080fd5b505afa1580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de9190611d07565b90508281101561128c57604051636197390160e11b81528184036004820152600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e720290604401602060405180830381600087803b15801561125257600080fd5b505af1158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190611c1f565b505b6112c06001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016858561190b565b50505050565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb06112f18133611770565b6001600160a01b0383166113185760405163d92e233d60e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561135757600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b15801561139957600080fd5b505afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d19190611d07565b90506112c06001600160a01b038416858361190b565b8015806114705750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561143657600080fd5b505afa15801561144a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146e9190611d07565b155b6114e25760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161083f565b6040516001600160a01b0383166024820152604481018290526107ce90849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261193b565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b6060600061157f836002611e53565b61158a906002611e1b565b67ffffffffffffffff8111156115b057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115da576020820181803683370190505b509050600360fc1b8160008151811061160357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611664846002611e53565b61166f906001611e1b565b90505b6001811115611703576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116b157634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106116d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936116fc81611e9e565b9050611672565b5083156117525760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161083f565b9392505050565b60606117688484600085611a0d565b949350505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610852576117ac816001600160a01b03166014611570565b6117b7836020611570565b6040516020016117c8929190611d3b565b60408051601f198184030181529082905262461bcd60e51b825261083f91600401611de8565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610852576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556118483390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610852576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b0383166024820152604481018290526107ce90849063a9059cbb60e01b9060640161150e565b6000611990826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117599092919063ffffffff16565b8051909150156107ce57808060200190518101906119ae9190611c1f565b6107ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161083f565b606082471015611a6e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161083f565b6001600160a01b0385163b611ac55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161083f565b600080866001600160a01b03168587604051611ae19190611d1f565b60006040518083038185875af1925050503d8060008114611b1e576040519150601f19603f3d011682016040523d82523d6000602084013e611b23565b606091505b5091509150611b33828286611b3e565b979650505050505050565b60608315611b4d575081611752565b825115611b5d5782518084602001fd5b8160405162461bcd60e51b815260040161083f9190611de8565b80356001600160a01b0381168114611b8e57600080fd5b919050565b80356001600160801b0381168114611b8e57600080fd5b600060208284031215611bbb578081fd5b61175282611b77565b60008060408385031215611bd6578081fd5b611bdf83611b77565b9150611bed60208401611b77565b90509250929050565b60008060408385031215611c08578182fd5b611c1183611b77565b946020939093013593505050565b600060208284031215611c30578081fd5b81518015158114611752578182fd5b600060208284031215611c50578081fd5b5035919050565b60008060408385031215611c69578182fd5b82359150611bed60208401611b77565b600060208284031215611c8a578081fd5b81356001600160e01b031981168114611752578182fd5b600060408284031215611cb2578081fd5b6040516040810181811067ffffffffffffffff82111715611ce157634e487b7160e01b83526041600452602483fd5b604052611ced83611b93565b8152611cfb60208401611b93565b60208201529392505050565b600060208284031215611d18578081fd5b5051919050565b60008251611d31818460208701611e72565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611d73816017850160208801611e72565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611da4816028840160208801611e72565b01602801949350505050565b60608101818460005b6002811015611dd8578151835260209283019290910190600101611db9565b5050508260408301529392505050565b6020815260008251806020840152611e07816040850160208701611e72565b601f01601f19169190910160400192915050565b60008219821115611e2e57611e2e611eb5565b500190565b600082611e4e57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e6d57611e6d611eb5565b500290565b60005b83811015611e8d578181015183820152602001611e75565b838111156112c05750506000910152565b600081611ead57611ead611eb5565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220facfd6282e963a79a6e910a18ea2fb16233cb01168dd4b43dc0ee986030b02dd64736f6c634300080400330000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c50000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d40000000000000000000000008301ae4fc9c624d1d396cbdaa1ed877821d7c511000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be75000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000d2436479caa12aaaeafef89081a5967f602fcaa300000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x6080604052600436106101d15760003560e01c8063945c9142116100f7578063d547741f11610095578063e74b981b11610064578063e74b981b14610621578063f3fef3a314610641578063f475a9d814610661578063f940e3851461069557600080fd5b8063d547741f14610597578063d5fdfae6146105b7578063d6f19262146105eb578063ddc632621461060157600080fd5b8063a217fddf116100d1578063a217fddf14610519578063a378a3241461052e578063a85658db14610562578063d0e30db01461058257600080fd5b8063945c91421461047d57806398c4f1ac146104b157806399f91c28146104e557600080fd5b806336568abe1161016f578063853828b61161013e578063853828b6146103c4578063861b3030146103d957806387788782146103ee57806391d148541461043957600080fd5b806336568abe1461031c578063469048401461033c578063759cb53b1461035c57806380dbd9031461039057600080fd5b80631fdde5c3116101ab5780631fdde5c314610269578063248a9ca3146102b5578063257c5908146102e55780632f2ff15d146102fa57600080fd5b806301e1d114146101dd57806301ffc9a71461020557806313b9e04a1461023557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26106b5565b6040519081526020015b60405180910390f35b34801561021157600080fd5b50610225610220366004611c79565b6106d6565b60405190151581526020016101fc565b34801561024157600080fd5b506101f27f000000000000000000000000000000000000000000000000000000000000007a81565b34801561027557600080fd5b5061029d7f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae3181565b6040516001600160a01b0390911681526020016101fc565b3480156102c157600080fd5b506101f26102d0366004611c3f565b60009081526020819052604090206001015490565b3480156102f157600080fd5b506101f261070d565b34801561030657600080fd5b5061031a610315366004611c57565b6107a8565b005b34801561032857600080fd5b5061031a610337366004611c57565b6107d3565b34801561034857600080fd5b5060015461029d906001600160a01b031681565b34801561036857600080fd5b5061029d7f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b34801561039c57600080fd5b5061029d7f000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d481565b3480156103d057600080fd5b5061031a610856565b3480156103e557600080fd5b506101f26109cb565b3480156103fa57600080fd5b50600254610419906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101fc565b34801561044557600080fd5b50610225610454366004611c57565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561048957600080fd5b5061029d7f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd5281565b3480156104bd57600080fd5b506101f27f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d95981565b3480156104f157600080fd5b5061029d7f000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be7581565b34801561052557600080fd5b506101f2600081565b34801561053a57600080fd5b506101f27f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb081565b34801561056e57600080fd5b5061031a61057d366004611ca1565b610a1a565b34801561058e57600080fd5b5061031a610a92565b3480156105a357600080fd5b5061031a6105b2366004611c57565b610b55565b3480156105c357600080fd5b5061029d7f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c581565b3480156105f757600080fd5b506101f260035481565b34801561060d57600080fd5b5061031a61061c366004611c3f565b610b7b565b34801561062d57600080fd5b5061031a61063c366004611baa565b6110b6565b34801561064d57600080fd5b5061031a61065c366004611bf6565b611119565b34801561066d57600080fd5b5061029d7f0000000000000000000000008301ae4fc9c624d1d396cbdaa1ed877821d7c51181565b3480156106a157600080fd5b5061031a6106b0366004611bc4565b6112c6565b60006106bf6109cb565b6106c761070d565b6106d19190611e1b565b905090565b60006001600160e01b03198216637965db0b60e01b148061070757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c56001600160a01b0316906370a08231906024015b60206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d19190611d07565b6000828152602081905260409020600101546107c48133611770565b6107ce83836117ee565b505050565b6001600160a01b03811633146108485760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610852828261188c565b5050565b7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d9596108818133611770565b6040516324f81cd160e11b8152600160048201527f000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be756001600160a01b0316906349f039a290602401600060405180830381600087803b1580156108e357600080fd5b505af11580156108f7573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c56001600160a01b031691506370a082319060240160206040518083038186803b15801561095d57600080fd5b505afa158015610971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109959190611d07565b90506108526001600160a01b037f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c516338361190b565b6040516370a0823160e01b81523060048201526000907f000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be756001600160a01b0316906370a0823190602401610758565b6000610a268133611770565b60208201516001600160801b03161580610a525750815160208301516001600160801b03918216911611155b15610a7057604051636a43f8d160e01b815260040160405180910390fd5b5080516020909101516001600160801b03908116600160801b02911617600255565b60405163303acfe760e11b81527f000000000000000000000000000000000000000000000000000000000000007a6004820152600160248201527f000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae316001600160a01b0316906360759fce90604401602060405180830381600087803b158015610b1a57600080fd5b505af1158015610b2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b529190611c1f565b50565b600082815260208190526040902060010154610b718133611770565b6107ce838361188c565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb0610ba68133611770565b604051637050ccd960e01b8152306004820152600160248201527f000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be756001600160a01b031690637050ccd990604401602060405180830381600087803b158015610c0e57600080fd5b505af1158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c469190611c1f565b506040516370a0823160e01b81523060048201526000907f0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b0316906370a082319060240160206040518083038186803b158015610ca957600080fd5b505afa158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce19190611d07565b90508015610da15760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d46001600160a01b03169063394747c59060a401602060405180830381600087803b158015610d6757600080fd5b505af1158015610d7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9f9190611d07565b505b6040516370a0823160e01b81523060048201526000907f000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd526001600160a01b0316906370a082319060240160206040518083038186803b158015610e0357600080fd5b505afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190611d07565b90508015610efb5760405163394747c560e01b815260016004820181905260006024830181905260448301849052606483015260848201527f0000000000000000000000008301ae4fc9c624d1d396cbdaa1ed877821d7c5116001600160a01b03169063394747c59060a401602060405180830381600087803b158015610ec157600080fd5b505af1158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190611d07565b505b47610f0557600080fd5b50506002546000906001600160801b03600160801b8204811691610f2a911647611e53565b610f349190611e33565b60015460405191925060009182916001600160a01b03169084908381818185875af1925050503d8060008114610f86576040519150601f19603f3d011682016040523d82523d6000602084013e610f8b565b606091505b509150915081610f9d57805160208201fd5b604080518082018252478152600060208201529051630b4c7e4d60e01b81526001600160a01b037f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c51691630b4c7e4d914791610ffd918a90600401611db0565b6020604051808303818588803b15801561101657600080fd5b505af115801561102a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061104f9190611d07565b50600061105a61070d565b9050611064610a92565b80600360008282546110769190611e1b565b90915550506040518181527f8e55ccfc9778ff8eba1646d765cf1982537ce0f9257054a17b48aad7452501839060200160405180910390a1505050505050565b60006110c28133611770565b6001600160a01b0382166110e95760405163d92e233d60e01b815260040160405180910390fd5b506001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b7f31e0210044b4f6757ce6aa31f9c6e8d4896d24a755014887391a926c5224d9596111448133611770565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c56001600160a01b0316906370a082319060240160206040518083038186803b1580156111a657600080fd5b505afa1580156111ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111de9190611d07565b90508281101561128c57604051636197390160e11b81528184036004820152600060248201527f000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be756001600160a01b03169063c32e720290604401602060405180830381600087803b15801561125257600080fd5b505af1158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190611c1f565b505b6112c06001600160a01b037f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c516858561190b565b50505050565b7f17a8e30262c1f919c33056d877a3c22b95c2f5e4dac44683c1c2323cd79fbdb06112f18133611770565b6001600160a01b0383166113185760405163d92e233d60e01b815260040160405180910390fd5b7f0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c56001600160a01b0316826001600160a01b0316141561135757600080fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a082319060240160206040518083038186803b15801561139957600080fd5b505afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d19190611d07565b90506112c06001600160a01b038416858361190b565b8015806114705750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561143657600080fd5b505afa15801561144a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146e9190611d07565b155b6114e25760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161083f565b6040516001600160a01b0383166024820152604481018290526107ce90849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261193b565b602001516001600160801b0316151590565b80516020909101516001600160801b0391821691161190565b6060600061157f836002611e53565b61158a906002611e1b565b67ffffffffffffffff8111156115b057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115da576020820181803683370190505b509050600360fc1b8160008151811061160357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061164057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611664846002611e53565b61166f906001611e1b565b90505b6001811115611703576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106116b157634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106116d557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936116fc81611e9e565b9050611672565b5083156117525760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161083f565b9392505050565b60606117688484600085611a0d565b949350505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610852576117ac816001600160a01b03166014611570565b6117b7836020611570565b6040516020016117c8929190611d3b565b60408051601f198184030181529082905262461bcd60e51b825261083f91600401611de8565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610852576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556118483390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610852576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516001600160a01b0383166024820152604481018290526107ce90849063a9059cbb60e01b9060640161150e565b6000611990826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117599092919063ffffffff16565b8051909150156107ce57808060200190518101906119ae9190611c1f565b6107ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161083f565b606082471015611a6e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161083f565b6001600160a01b0385163b611ac55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161083f565b600080866001600160a01b03168587604051611ae19190611d1f565b60006040518083038185875af1925050503d8060008114611b1e576040519150601f19603f3d011682016040523d82523d6000602084013e611b23565b606091505b5091509150611b33828286611b3e565b979650505050505050565b60608315611b4d575081611752565b825115611b5d5782518084602001fd5b8160405162461bcd60e51b815260040161083f9190611de8565b80356001600160a01b0381168114611b8e57600080fd5b919050565b80356001600160801b0381168114611b8e57600080fd5b600060208284031215611bbb578081fd5b61175282611b77565b60008060408385031215611bd6578081fd5b611bdf83611b77565b9150611bed60208401611b77565b90509250929050565b60008060408385031215611c08578182fd5b611c1183611b77565b946020939093013593505050565b600060208284031215611c30578081fd5b81518015158114611752578182fd5b600060208284031215611c50578081fd5b5035919050565b60008060408385031215611c69578182fd5b82359150611bed60208401611b77565b600060208284031215611c8a578081fd5b81356001600160e01b031981168114611752578182fd5b600060408284031215611cb2578081fd5b6040516040810181811067ffffffffffffffff82111715611ce157634e487b7160e01b83526041600452602483fd5b604052611ced83611b93565b8152611cfb60208401611b93565b60208201529392505050565b600060208284031215611d18578081fd5b5051919050565b60008251611d31818460208701611e72565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611d73816017850160208801611e72565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611da4816028840160208801611e72565b01602801949350505050565b60608101818460005b6002811015611dd8578151835260209283019290910190600101611db9565b5050508260408301529392505050565b6020815260008251806020840152611e07816040850160208701611e72565b601f01601f19169190910160400192915050565b60008219821115611e2e57611e2e611eb5565b500190565b600082611e4e57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e6d57611e6d611eb5565b500290565b60005b83811015611e8d578181015183820152602001611e75565b838111156112c05750506000910152565b600081611ead57611ead611eb5565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220facfd6282e963a79a6e910a18ea2fb16233cb01168dd4b43dc0ee986030b02dd64736f6c63430008040033

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

0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c50000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d40000000000000000000000008301ae4fc9c624d1d396cbdaa1ed877821d7c511000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be75000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000d2436479caa12aaaeafef89081a5967f602fcaa300000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : _want (address): 0x9848482da3Ee3076165ce6497eDA906E66bB85C5
Arg [1] : _cvx (address): 0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B
Arg [2] : _crv (address): 0xD533a949740bb3306d119CC777fa900bA034cd52
Arg [3] : _cvxETH (address): 0xB576491F1E6e5E62f1d8F26062Ee822B40B0E0d4
Arg [4] : _crvETH (address): 0x8301AE4fc9c624d1D396cbDAa1ed877821D7C511
Arg [5] : _booster (address): 0xF403C135812408BFbE8713b5A23a04b3D48AAE31
Arg [6] : _rewardPool (address): 0xb235205E1096E0Ad221Fb7621a2E2cbaB875bE75
Arg [7] : _pid (uint256): 122
Arg [8] : _feeAddress (address): 0xd2436479caA12AaAeAFef89081a5967f602FcAa3
Arg [9] : _performanceFee (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000009848482da3ee3076165ce6497eda906e66bb85c5
Arg [1] : 0000000000000000000000004e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
Arg [2] : 000000000000000000000000d533a949740bb3306d119cc777fa900ba034cd52
Arg [3] : 000000000000000000000000b576491f1e6e5e62f1d8f26062ee822b40b0e0d4
Arg [4] : 0000000000000000000000008301ae4fc9c624d1d396cbdaa1ed877821d7c511
Arg [5] : 000000000000000000000000f403c135812408bfbe8713b5a23a04b3d48aae31
Arg [6] : 000000000000000000000000b235205e1096e0ad221fb7621a2e2cbab875be75
Arg [7] : 000000000000000000000000000000000000000000000000000000000000007a
Arg [8] : 000000000000000000000000d2436479caa12aaaeafef89081a5967f602fcaa3
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [10] : 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.