Contract 0x623B83755a39B12161A63748f3f595A530917Ab2

 
 
Txn Hash
Method
Block
From
To
Value
0x340d79a0afecfcd32783f7744620c178a98bbb8f3817a3f5ab4bf84bae6a71f7Claim Rewards(pending)2022-09-25 10:26:092 days 6 hrs ago0x29ab00ccf1aedb576773d8846cd9cf8e14b28fa0 IN 0x623b83755a39b12161a63748f3f595a530917ab20 Ether(Pending)(Pending)
0x6b4b45f6282edc4d275a2d9de0d10be15191a16304c3cd4a2113bd25f9655129Claim Rewards156256512022-09-27 15:41:471 hr 16 mins ago0x0a776abbaae0e2161d0e131f57e605efbea4b99b IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00695325 28.40114552
0x41cca377323729671d870615ccf930bbded1d11692cff4215707a0af7aa1c774Claim Rewards156253262022-09-27 14:36:232 hrs 21 mins agoENS Name ethereumpanda.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.01425335 23.91903179
0x5a403b6ac059a62d32be83f6348e0ddf18ea67ed2e22c380ac328d873b103bbdClaim Rewards156250922022-09-27 13:49:113 hrs 8 mins ago0x9e406b2c2021966f3983e899643609c45e3bbffe IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.01160184 19.23583226
0xcc5bd1188235809d946ce0260ab29282fed786221afdbda256690965fd5e9094Claim Rewards156250892022-09-27 13:48:353 hrs 9 mins agoENS Name papaafrica.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00378126 19.15875047
0x077d0f7675a75db6549542b2e64a89afe68e1394200ceca14b1217b74db91350Claim Rewards156240252022-09-27 10:13:596 hrs 43 mins ago0x023320e0c9ac45644c3305ce574360e901c7f582 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00509664 9.04850486
0xe09c61c1edb007100ed9372b0436fc5904a7c0c4e47b1bb1832c3bf4460f1340Claim Rewards156237072022-09-27 9:09:597 hrs 47 mins ago0x0a776abbaae0e2161d0e131f57e605efbea4b99b IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00222009 9.14284261
0x47754e38fb641bbc7e62967f2a91bdf3258900e748ae74e9b86b74e45673c482Claim Rewards156236272022-09-27 8:53:478 hrs 4 mins ago0x1a02715cf60f0544defdb676a3ffeee710b04115 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00637651 10.98350146
0x362234f4806600f07ebbc7a9ad9be247ada106c70480692fc20711f2df2c638aClaim Rewards156234702022-09-27 8:22:238 hrs 35 mins ago0x36cc7b13029b5dee4034745fb4f24034f3f2ffc6 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00406775 10.81857584
0x6d13eeafdbe2e4c0da672e9499dc012fb06bd58d8ecb8713ba9ca8f518880795Claim Rewards156234472022-09-27 8:17:358 hrs 40 mins ago0x0bbf7580e036ea5d69abe679cc90117eec2e3dc1 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00729869 14.23644209
0x9fb7fa2d70b9d802fea07c9eecbbaa026d3ad6cf5738d68c98546c631cf1863bClaim Rewards156226112022-09-27 5:28:5911 hrs 28 mins ago0xdfa5e76fa174d8daa6457a3a73078f8c8a87c505 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00182337 7.71083511
0x0aaeb06d4ccb07ef0d301a6db76ff6c8e1e6e5f25cac63759361f14ff59670ecClaim Rewards156220232022-09-27 3:30:5913 hrs 26 mins agoENS Name jakelee.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00240482 11.35340402
0xbe0d734d5d68bf3bc63299ee6451de177e39334a361b7b0bc0bf40d174f02229Claim Rewards156215962022-09-27 2:05:2314 hrs 52 mins agoENS Name zeir.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.0085421215
0x357e18af8889139957036b2e80b0760c44d795d56790551fe659f3a8a7b989c7Claim Rewards156212422022-09-27 0:53:3516 hrs 4 mins ago0x0a776abbaae0e2161d0e131f57e605efbea4b99b IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00174659 7.13410606
0xa4d83b7a54d6970f14583bad730b33c45aa714aaf4887ef916cb8ccb3058d3e0Claim Rewards156212312022-09-27 0:51:2316 hrs 6 mins agoENS Name sonixrw.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00333708 6.83850818
0x979fa9690de2ef93d1e01e290897b76a404df22fc85ed4438996f3a925ee9836Claim Rewards156205362022-09-26 22:32:1118 hrs 25 mins ago0x84544f4eeeaa794dfb2fbedbbb1a40b9991e3aea IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.0050270512
0x5727a7a79315f649960bdf9f1db10c2e716f13c67842ebc3783b6a583b880a9dClaim Rewards156201312022-09-26 21:10:2319 hrs 47 mins agoENS Name 0xnigiri.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.01250819 17.01392092
0xe2f78b32b5d30dbc6ea48cf49e5df5dd9e57a65214a3d13da55ba19d407fe446Claim Rewards156188762022-09-26 16:56:351 day 1 min ago0x0a776abbaae0e2161d0e131f57e605efbea4b99b IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00509757 20.82147878
0x35d92778410cfcf81241bdeb8d078dc7107382ae2cca1fff6bbb319a45bf91baClaim Rewards156178822022-09-26 13:35:591 day 3 hrs ago0xb1f881f47bab744e7283851bc090baa626df931d IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.01219327 16.9329357
0xa77612d13e6ed21654b399933c5c0b06133ac587a905a6d97871de2517231110Claim Rewards156173642022-09-26 11:51:231 day 5 hrs ago0x0a776abbaae0e2161d0e131f57e605efbea4b99b IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00121775 5.014979
0x80e2ca2243a11fe8c13b4e44c732076e889e4cd3e1b862bba2bc0b3a2f769c62Claim Rewards156169472022-09-26 10:27:111 day 6 hrs ago0x20eadfcaf91bd98674ff8fc341d148e1731576a4 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00466756 5.36037024
0x83c57a4f8df3c081b23174c85f590bbc9418484a432a7d03fbb60714abbdb1f7Claim Rewards156165052022-09-26 8:58:351 day 7 hrs agoENS Name greenfund.eth IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00210697 8.69648263
0x7f202b1fbcc38006977973e3c11b34ea862253973314ef2bd6c7d77c1e3a7dbbClaim Rewards156162642022-09-26 8:09:471 day 8 hrs ago0x2cfb091362b7f192678dae10f0a4885398f74e7d IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.003085098
0xd88cad5f0d19deec963fb47e9a7147a616af377b704511349ba97254a73368e6Claim Rewards156158512022-09-26 6:46:591 day 10 hrs ago0x54881c1b56e0e7a62a3f0752180036976435b891 IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00153567 5.59101684
0xd91be49e9886529963d9cada4d282be147c132a8bfe11a83fde7fdcdca2ce904Claim Rewards156157452022-09-26 6:25:471 day 10 hrs ago0x7c132bde28ad1e0101d45121757d7c6c2e8a550a IN  0x623b83755a39b12161a63748f3f595a530917ab20 Ether0.00417574 8.22525529
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AuraClaimZap

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 6 : AuraClaimZap.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import { AuraMath } from "./AuraMath.sol";
import { IAuraLocker, ICrvDepositorWrapper } from "./Interfaces.sol";
import "@openzeppelin/contracts-0.8/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts-0.8/token/ERC20/utils/SafeERC20.sol";

interface IBasicRewards {
    function getReward(address _account, bool _claimExtras) external;

    function getReward(address _account) external;

    function getReward(address _account, address _token) external;

    function stakeFor(address, uint256) external;
}

/**
 * @title   ClaimZap
 * @author  ConvexFinance -> AuraFinance
 * @notice  Claim zap to bundle various reward claims
 * @dev     Claims from all pools, and stakes cvxCrv and CVX if wanted.
 *          v2:
 *           - change exchange to use curve pool
 *           - add getReward(address,token) type
 *           - add option to lock cvx
 *           - add option use all funds in wallet
 */
contract AuraClaimZap {
    using SafeERC20 for IERC20;
    using AuraMath for uint256;

    address public immutable crv;
    address public immutable cvx;
    address public immutable cvxCrv;
    address public immutable crvDepositWrapper;
    address public immutable cvxCrvRewards;
    address public immutable locker;
    address public immutable owner;

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

    /**
     * @param _crv                CRV token (0xD533a949740bb3306d119CC777fa900bA034cd52);
     * @param _cvx                CVX token (0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B);
     * @param _cvxCrv             cvxCRV token (0x62B9c7356A2Dc64a1969e19C23e4f579F9810Aa7);
     * @param _crvDepositWrapper  crvDepositWrapper (0x8014595F2AB54cD7c604B00E9fb932176fDc86Ae);
     * @param _cvxCrvRewards      cvxCrvRewards (0x3Fe65692bfCD0e6CF84cB1E7d24108E434A7587e);
     * @param _locker             vlCVX (0xD18140b4B819b895A3dba5442F959fA44994AF50);
     */
    constructor(
        address _crv,
        address _cvx,
        address _cvxCrv,
        address _crvDepositWrapper,
        address _cvxCrvRewards,
        address _locker
    ) {
        crv = _crv;
        cvx = _cvx;
        cvxCrv = _cvxCrv;
        crvDepositWrapper = _crvDepositWrapper;
        cvxCrvRewards = _cvxCrvRewards;
        locker = _locker;
        owner = msg.sender;
    }

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

    /**
     * @notice Approve spending of:
     *          crv     -> crvDepositor
     *          cvxCrv  -> cvxCrvRewards
     *          cvx     -> Locker
     */
    function setApprovals() external {
        require(msg.sender == owner, "!auth");

        IERC20(crv).safeApprove(crvDepositWrapper, 0);
        IERC20(crv).safeApprove(crvDepositWrapper, type(uint256).max);

        IERC20(cvxCrv).safeApprove(cvxCrvRewards, 0);
        IERC20(cvxCrv).safeApprove(cvxCrvRewards, type(uint256).max);

        IERC20(cvx).safeApprove(locker, 0);
        IERC20(cvx).safeApprove(locker, type(uint256).max);
    }

    /**
     * @notice Use bitmask to check if option flag is set
     */
    function _checkOption(uint256 _mask, uint256 _flag) internal pure returns (bool) {
        return (_mask & (1 << _flag)) != 0;
    }

    /**
     * @notice Claim all the rewards
     * @param rewardContracts       Array of addresses for LP token rewards
     * @param extraRewardContracts  Array of addresses for extra rewards
     * @param tokenRewardContracts  Array of addresses for token rewards e.g vlCvxExtraRewardDistribution
     * @param tokenRewardTokens     Array of token reward addresses to use with tokenRewardContracts
     * @param depositCrvMaxAmount   The max amount of CRV to deposit if converting to crvCvx
     * @param minAmountOut          The min amount out for crv:cvxCrv swaps if swapping. Set this to zero if you
     *                              want to use CrvDepositor instead of balancer swap
     * @param depositCvxMaxAmount   The max amount of CVX to deposit if locking CVX
     * @param options               Claim options
     */
    function claimRewards(
        address[] calldata rewardContracts,
        address[] calldata extraRewardContracts,
        address[] calldata tokenRewardContracts,
        address[] calldata tokenRewardTokens,
        uint256 depositCrvMaxAmount,
        uint256 minAmountOut,
        uint256 depositCvxMaxAmount,
        uint256 options
    ) external {
        require(tokenRewardContracts.length == tokenRewardTokens.length, "!parity");

        uint256 crvBalance = IERC20(crv).balanceOf(msg.sender);
        uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender);

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

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

    /**
     * @notice  Claim additional rewards from:
     *          - cvxCrvRewards
     *          - cvxLocker
     * @param depositCrvMaxAmount see claimRewards
     * @param minAmountOut        see claimRewards
     * @param depositCvxMaxAmount see claimRewards
     * @param removeCrvBalance    crvBalance to ignore and not redeposit (starting Crv balance)
     * @param removeCvxBalance    cvxBalance to ignore and not redeposit (starting Cvx balance)
     * @param options             see claimRewards
     */
    // prettier-ignore
    function _claimExtras( // solhint-disable-line 
        uint256 depositCrvMaxAmount,
        uint256 minAmountOut,
        uint256 depositCvxMaxAmount,
        uint256 removeCrvBalance,
        uint256 removeCvxBalance,
        uint256 options
    ) internal {
        //claim from cvxCrv rewards
        if (_checkOption(options, uint256(Options.ClaimCvxCrv))) {
            IBasicRewards(cvxCrvRewards).getReward(msg.sender, true);
        }

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

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

        //lock upto given amount of crv and stake
        if (depositCrvMaxAmount > 0) {
            uint256 crvBalance = IERC20(crv).balanceOf(msg.sender).sub(removeCrvBalance);
            crvBalance = AuraMath.min(crvBalance, depositCrvMaxAmount);

            if (crvBalance > 0) {
                //pull crv
                IERC20(crv).safeTransferFrom(msg.sender, address(this), crvBalance);
                //deposit
                ICrvDepositorWrapper(crvDepositWrapper).deposit(
                    crvBalance,
                    minAmountOut,
                    _checkOption(options, uint256(Options.LockCrvDeposit)),
                    address(0)
                );

                uint256 cvxCrvBalance = IERC20(cvxCrv).balanceOf(address(this));
                //stake for msg.sender
                IBasicRewards(cvxCrvRewards).stakeFor(msg.sender, cvxCrvBalance);
            }
        }

        //stake up to given amount of cvx
        if (depositCvxMaxAmount > 0 && _checkOption(options, uint256(Options.LockCvx))) {
            uint256 cvxBalance = IERC20(cvx).balanceOf(msg.sender).sub(removeCvxBalance);
            cvxBalance = AuraMath.min(cvxBalance, depositCvxMaxAmount);
            if (cvxBalance > 0) {
                //pull cvx
                IERC20(cvx).safeTransferFrom(msg.sender, address(this), cvxBalance);
                IAuraLocker(locker).lock(msg.sender, cvxBalance);
            }
        }
    }
}

File 2 of 6 : AuraMath.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

/// @notice A library for performing overflow-/underflow-safe math,
/// updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math).
library AuraMath {
    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute.
        return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2);
    }

    function to224(uint256 a) internal pure returns (uint224 c) {
        require(a <= type(uint224).max, "AuraMath: uint224 Overflow");
        c = uint224(a);
    }

    function to128(uint256 a) internal pure returns (uint128 c) {
        require(a <= type(uint128).max, "AuraMath: uint128 Overflow");
        c = uint128(a);
    }

    function to112(uint256 a) internal pure returns (uint112 c) {
        require(a <= type(uint112).max, "AuraMath: uint112 Overflow");
        c = uint112(a);
    }

    function to96(uint256 a) internal pure returns (uint96 c) {
        require(a <= type(uint96).max, "AuraMath: uint96 Overflow");
        c = uint96(a);
    }

    function to32(uint256 a) internal pure returns (uint32 c) {
        require(a <= type(uint32).max, "AuraMath: uint32 Overflow");
        c = uint32(a);
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint32.
library AuraMath32 {
    function sub(uint32 a, uint32 b) internal pure returns (uint32 c) {
        c = a - b;
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint112.
library AuraMath112 {
    function add(uint112 a, uint112 b) internal pure returns (uint112 c) {
        c = a + b;
    }

    function sub(uint112 a, uint112 b) internal pure returns (uint112 c) {
        c = a - b;
    }
}

/// @notice A library for performing overflow-/underflow-safe addition and subtraction on uint224.
library AuraMath224 {
    function add(uint224 a, uint224 b) internal pure returns (uint224 c) {
        c = a + b;
    }
}

File 3 of 6 : Interfaces.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

interface IPriceOracle {
    struct OracleAverageQuery {
        Variable variable;
        uint256 secs;
        uint256 ago;
    }
    enum Variable {
        PAIR_PRICE,
        BPT_PRICE,
        INVARIANT
    }

    function getTimeWeightedAverage(OracleAverageQuery[] memory queries)
        external
        view
        returns (uint256[] memory results);
}

interface IVault {
    enum PoolSpecialization {
        GENERAL,
        MINIMAL_SWAP_INFO,
        TWO_TOKEN
    }
    enum JoinKind {
        INIT,
        EXACT_TOKENS_IN_FOR_BPT_OUT,
        TOKEN_IN_FOR_EXACT_BPT_OUT,
        ALL_TOKENS_IN_FOR_EXACT_BPT_OUT
    }

    enum SwapKind {
        GIVEN_IN,
        GIVEN_OUT
    }

    struct SingleSwap {
        bytes32 poolId;
        SwapKind kind;
        IAsset assetIn;
        IAsset assetOut;
        uint256 amount;
        bytes userData;
    }

    struct FundManagement {
        address sender;
        bool fromInternalBalance;
        address payable recipient;
        bool toInternalBalance;
    }

    struct JoinPoolRequest {
        IAsset[] assets;
        uint256[] maxAmountsIn;
        bytes userData;
        bool fromInternalBalance;
    }

    function getPool(bytes32 poolId) external view returns (address, PoolSpecialization);

    function getPoolTokens(bytes32 poolId)
        external
        view
        returns (
            address[] memory tokens,
            uint256[] memory balances,
            uint256 lastChangeBlock
        );

    function joinPool(
        bytes32 poolId,
        address sender,
        address recipient,
        JoinPoolRequest memory request
    ) external payable;

    function swap(
        SingleSwap memory singleSwap,
        FundManagement memory funds,
        uint256 limit,
        uint256 deadline
    ) external returns (uint256 amountCalculated);

    function exitPool(
        bytes32 poolId,
        address sender,
        address payable recipient,
        ExitPoolRequest memory request
    ) external;

    struct ExitPoolRequest {
        IAsset[] assets;
        uint256[] minAmountsOut;
        bytes userData;
        bool toInternalBalance;
    }
    enum ExitKind {
        EXACT_BPT_IN_FOR_ONE_TOKEN_OUT,
        EXACT_BPT_IN_FOR_TOKENS_OUT,
        BPT_IN_FOR_EXACT_TOKENS_OUT,
        MANAGEMENT_FEE_TOKENS_OUT // for ManagedPool
    }
}

interface IAsset {
    // solhint-disable-previous-line no-empty-blocks
}

interface IAuraLocker {
    function lock(address _account, uint256 _amount) external;

    function checkpointEpoch() external;

    function epochCount() external view returns (uint256);

    function balanceAtEpochOf(uint256 _epoch, address _user) external view returns (uint256 amount);

    function totalSupplyAtEpoch(uint256 _epoch) external view returns (uint256 supply);

    function queueNewRewards(address _rewardsToken, uint256 reward) external;

    function getReward(address _account, bool _stake) external;

    function getReward(address _account) external;
}

interface IExtraRewardsDistributor {
    function addReward(address _token, uint256 _amount) external;
}

interface ICrvDepositorWrapper {
    function getMinOut(uint256, uint256) external view returns (uint256);

    function deposit(
        uint256,
        uint256,
        bool,
        address _stakeAddress
    ) external;
}

File 4 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

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

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

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

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

File 5 of 6 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

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

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

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 6 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_crv","type":"address"},{"internalType":"address","name":"_cvx","type":"address"},{"internalType":"address","name":"_cvxCrv","type":"address"},{"internalType":"address","name":"_crvDepositWrapper","type":"address"},{"internalType":"address","name":"_cvxCrvRewards","type":"address"},{"internalType":"address","name":"_locker","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address[]","name":"rewardContracts","type":"address[]"},{"internalType":"address[]","name":"extraRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardContracts","type":"address[]"},{"internalType":"address[]","name":"tokenRewardTokens","type":"address[]"},{"internalType":"uint256","name":"depositCrvMaxAmount","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"depositCvxMaxAmount","type":"uint256"},{"internalType":"uint256","name":"options","type":"uint256"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crvDepositWrapper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxCrvRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040523480156200001257600080fd5b506040516200167638038062001676833981016040819052620000359162000087565b6001600160a01b0395861660805293851660a05291841660c052831660e0528216610100521661012052336101405262000108565b80516001600160a01b03811681146200008257600080fd5b919050565b60008060008060008060c08789031215620000a157600080fd5b620000ac876200006a565b9550620000bc602088016200006a565b9450620000cc604088016200006a565b9350620000dc606088016200006a565b9250620000ec608088016200006a565b9150620000fc60a088016200006a565b90509295509295509295565b60805160a05160c05160e0516101005161012051610140516114646200021260003960008181610180015261025c01526000818161021c01528181610453015281816104a801528181610a7c0152610e840152600081816101ce015281816103a8015281816103fd01528181610a0c0152610d4b0152600081816101f5015281816102fd015281816103520152610c4601526000818161014f01528181610386015281816103db0152610cb80152600081816101a70152818161043101528181610486015281816105ce01528181610df00152610e40015260008181610110015281816102db015281816103300152818161053801528181610b4f0152610be201526114646000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063923c1d6111610076578063b9f6c2921161005b578063b9f6c292146101f0578063d7b96d4e14610217578063fc917f8b1461023e57600080fd5b8063923c1d61146101a2578063a7404b70146101c957600080fd5b806382480df9116100a757806382480df91461014a5780638757b15b146101715780638da5cb5b1461017b57600080fd5b806317d7de7c146100c35780636a4874a11461010b575b600080fd5b604080518082018252600d81527f436c61696d5a61702056322e30000000000000000000000000000000000000006020820152905161010291906111fa565b60405180910390f35b6101327f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610102565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b610179610251565b005b6101327f000000000000000000000000000000000000000000000000000000000000000081565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b6101327f000000000000000000000000000000000000000000000000000000000000000081565b61017961024c366004611279565b6104d1565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102ce5760405162461bcd60e51b815260206004820152600560248201527f216175746800000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6103236001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000600061087e565b6103796001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000060001961087e565b6103ce6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000600061087e565b6104246001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000060001961087e565b6104796001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000600061087e565b6104cf6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000060001961087e565b565b8685146105205760405162461bcd60e51b815260206004820152600760248201527f217061726974790000000000000000000000000000000000000000000000000060448201526064016102c5565b6040516370a0823160e01b81523360048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ab9190611379565b6040516370a0823160e01b81523360048201529091506000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610615573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106399190611379565b905060005b8d8110156106e2578e8e8281811061065857610658611392565b905060200201602081019061066d91906113a8565b604051637050ccd960e01b8152336004820152600160248201526001600160a01b039190911690637050ccd990604401600060405180830381600087803b1580156106b757600080fd5b505af11580156106cb573d6000803e3d6000fd5b5050505080806106da906113e7565b91505061063e565b5060005b8b811015610783578c8c8281811061070057610700611392565b905060200201602081019061071591906113a8565b604051630c00007b60e41b81523360048201526001600160a01b03919091169063c00007b090602401600060405180830381600087803b15801561075857600080fd5b505af115801561076c573d6000803e3d6000fd5b50505050808061077b906113e7565b9150506106e6565b5060005b8981101561085f578a8a828181106107a1576107a1611392565b90506020020160208101906107b691906113a8565b6001600160a01b0316636b091695338b8b858181106107d7576107d7611392565b90506020020160208101906107ec91906113a8565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b15801561083457600080fd5b505af1158015610848573d6000803e3d6000fd5b505050508080610857906113e7565b915050610787565b5061086e8686868585886109e7565b5050505050505050505050505050565b8015806108f85750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f69190611379565b155b61096a5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084016102c5565b6040516001600160a01b0383166024820152604481018290526109e290849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152610ef3565b505050565b6001811615610a7157604051637050ccd960e01b8152336004820152600160248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637050ccd990604401600060405180830381600087803b158015610a5857600080fd5b505af1158015610a6c573d6000803e3d6000fd5b505050505b6002811615610b11577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637050ccd9336004841615156040516001600160e01b031960e085901b1681526001600160a01b03909216600483015215156024820152604401600060405180830381600087803b158015610af857600080fd5b505af1158015610b0c573d6000803e3d6000fd5b505050505b6010811615610b235760009250600091505b8515610db3576040516370a0823160e01b8152336004820152600090610bc19085906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906024015b602060405180830381865afa158015610b97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbb9190611379565b90610fd8565b9050610bcd8188610feb565b90508015610db157610c0a6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611001565b604080516314b47b0b60e11b81526004810183905260248101889052600884161515604482015260006064820181905291516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001692632968f616926084808201939182900301818387803b158015610c8957600080fd5b505af1158015610c9d573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa158015610d08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2c9190611379565b6040516305dc812160e31b8152336004820152602481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632ee4090890604401600060405180830381600087803b158015610d9757600080fd5b505af1158015610dab573d6000803e3d6000fd5b50505050505b505b600084118015610dc557506020811615155b15610eeb576040516370a0823160e01b8152336004820152600090610e1f9084906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401610b7a565b9050610e2b8186610feb565b90508015610ee957610e686001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611001565b60405163282d3fdf60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063282d3fdf90604401600060405180830381600087803b158015610ed057600080fd5b505af1158015610ee4573d6000803e3d6000fd5b505050505b505b505050505050565b6000610f48826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661103f9092919063ffffffff16565b8051909150156109e25780806020019051810190610f669190611402565b6109e25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016102c5565b6000610fe48284611424565b9392505050565b6000818310610ffa5781610fe4565b5090919050565b6040516001600160a01b03808516602483015283166044820152606481018290526110399085906323b872dd60e01b90608401610996565b50505050565b606061104e8484600085611056565b949350505050565b6060824710156110ce5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016102c5565b843b61111c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c5565b600080866001600160a01b03168587604051611138919061143b565b60006040518083038185875af1925050503d8060008114611175576040519150601f19603f3d011682016040523d82523d6000602084013e61117a565b606091505b509150915061118a828286611195565b979650505050505050565b606083156111a4575081610fe4565b8251156111b45782518084602001fd5b8160405162461bcd60e51b81526004016102c591906111fa565b60005b838110156111e95781810151838201526020016111d1565b838111156110395750506000910152565b60208152600082518060208401526112198160408501602087016111ce565b601f01601f19169190910160400192915050565b60008083601f84011261123f57600080fd5b50813567ffffffffffffffff81111561125757600080fd5b6020830191508360208260051b850101111561127257600080fd5b9250929050565b6000806000806000806000806000806000806101008d8f03121561129c57600080fd5b67ffffffffffffffff8d3511156112b257600080fd5b6112bf8e8e358f0161122d565b909c509a5067ffffffffffffffff60208e013511156112dd57600080fd5b6112ed8e60208f01358f0161122d565b909a50985067ffffffffffffffff60408e0135111561130b57600080fd5b61131b8e60408f01358f0161122d565b909850965067ffffffffffffffff60608e0135111561133957600080fd5b6113498e60608f01358f0161122d565b9c9f9b9e50999c989b979a96999860808101359760a0820135975060c0820135965060e090910135945092505050565b60006020828403121561138b57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156113ba57600080fd5b81356001600160a01b0381168114610fe457600080fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156113fb576113fb6113d1565b5060010190565b60006020828403121561141457600080fd5b81518015158114610fe457600080fd5b600082821015611436576114366113d1565b500390565b6000825161144d8184602087016111ce565b919091019291505056fea164736f6c634300080b000a000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d000000000000000000000000c0c293ce456ff0ed870add98a0828dd4d2903dbf000000000000000000000000616e8bfa43f920657b3497dbf40d6b1a02d4608d00000000000000000000000068655ad9852a99c87c0934c7290bb62cfa5d41230000000000000000000000005e5ea2048475854a5702f5b8468a51ba1296efcc0000000000000000000000003fa73f1e5d8a792c80f426fc8f84fbf7ce9bbcac

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

000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d000000000000000000000000c0c293ce456ff0ed870add98a0828dd4d2903dbf000000000000000000000000616e8bfa43f920657b3497dbf40d6b1a02d4608d00000000000000000000000068655ad9852a99c87c0934c7290bb62cfa5d41230000000000000000000000005e5ea2048475854a5702f5b8468a51ba1296efcc0000000000000000000000003fa73f1e5d8a792c80f426fc8f84fbf7ce9bbcac

-----Decoded View---------------
Arg [0] : _crv (address): 0xba100000625a3754423978a60c9317c58a424e3D
Arg [1] : _cvx (address): 0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF
Arg [2] : _cvxCrv (address): 0x616e8BfA43F920657B3497DBf40D6b1A02D4608d
Arg [3] : _crvDepositWrapper (address): 0x68655AD9852a99C87C0934c7290BB62CFa5D4123
Arg [4] : _cvxCrvRewards (address): 0x5e5ea2048475854a5702F5B8468A51Ba1296EFcC
Arg [5] : _locker (address): 0x3Fa73f1E5d8A792C80F426fc8F84FBF7Ce9bBCAC

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000ba100000625a3754423978a60c9317c58a424e3d
Arg [1] : 000000000000000000000000c0c293ce456ff0ed870add98a0828dd4d2903dbf
Arg [2] : 000000000000000000000000616e8bfa43f920657b3497dbf40d6b1a02d4608d
Arg [3] : 00000000000000000000000068655ad9852a99c87c0934c7290bb62cfa5d4123
Arg [4] : 0000000000000000000000005e5ea2048475854a5702f5b8468a51ba1296efcc
Arg [5] : 0000000000000000000000003fa73f1e5d8a792c80f426fc8f84fbf7ce9bbcac


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.