ETH Price: $2,932.76 (-9.51%)
Gas: 55 Gwei

Contract

0x1B8b4946a3d1953B145897F4bdD4583B7f8dFF7b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim From Distr...178451452023-08-05 0:18:59335 days ago1691194739IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0069133913.44974223
Claim From Distr...178425562023-08-04 15:37:11335 days ago1691163431IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0123487924.0269566
Claim From Distr...178263482023-08-02 9:13:59337 days ago1690967639IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0078937514.95962258
Claim From Distr...178179892023-08-01 5:13:47338 days ago1690866827IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0077443515.06872235
Claim From Distr...178173332023-08-01 3:01:23339 days ago1690858883IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0109589320.77027193
Claim From Distr...178144482023-07-31 17:21:35339 days ago1690824095IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0176439934.32796628
Claim From Distr...178143642023-07-31 17:04:35339 days ago1690823075IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0213988140.55293608
Claim From Distr...178143492023-07-31 17:01:35339 days ago1690822895IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0223845842.42590843
Claim From Distr...178127312023-07-31 11:36:11339 days ago1690803371IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0081811115.50449742
Claim From Distr...178098322023-07-31 1:52:47340 days ago1690768367IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0088614413.96206686
Claim From Distr...178047102023-07-30 8:38:47340 days ago1690706327IN
0x1B8b4946...B7f8dFF7b
0 ETH0.014738618.32622403
Claim From Distr...177992852023-07-29 14:27:23341 days ago1690640843IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0212326126.11805377
Claim From Distr...177960662023-07-29 3:38:35341 days ago1690601915IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0155797614.40064167
Claim From Distr...177922442023-07-28 14:47:59342 days ago1690555679IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0278798334
Claim From Distr...177896842023-07-28 6:11:59342 days ago1690524719IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0175449521.48803269
Claim From Distr...177882702023-07-28 1:26:59343 days ago1690507619IN
0x1B8b4946...B7f8dFF7b
0 ETH0.008674616.87781471
Claim From Distr...177794222023-07-26 19:44:23344 days ago1690400663IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0365593832.01772952
Claim From Distr...177764592023-07-26 9:48:47344 days ago1690364927IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0113817317.55375359
Claim From Distr...177759352023-07-26 8:03:11344 days ago1690358591IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0126970815.48416116
Claim From Distr...177749432023-07-26 4:43:11344 days ago1690346591IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0183963317.27679411
Claim From Distr...177745162023-07-26 3:16:59345 days ago1690341419IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0144523718.08284915
Claim From Distr...177734242023-07-25 23:36:59345 days ago1690328219IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0092017617
Claim From Distr...177731982023-07-25 22:51:47345 days ago1690325507IN
0x1B8b4946...B7f8dFF7b
0 ETH0.013016724.0459129
Claim From Distr...177705132023-07-25 13:49:35345 days ago1690292975IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0479879351.12066255
Claim From Distr...177679642023-07-25 5:15:35345 days ago1690262135IN
0x1B8b4946...B7f8dFF7b
0 ETH0.0099566119.37251185
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
stkCvxCrvDistributorZaps

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : stkCvxCrvDistributorZaps.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "SafeERC20.sol";
import "DistributorZaps.sol";
import "IGenericVault.sol";

contract stkCvxCrvDistributorZaps is DistributorZaps {
    using SafeERC20 for IERC20;

    constructor(
        address _strategyZaps,
        address _distributor,
        address _vault
    ) DistributorZaps(_strategyZaps, _distributor, _vault) {}

    /// @notice Claim from distributor as cvxCrv
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param to - address to send withdrawn underlying to
    /// @return amount of underlying withdrawn
    function claimFromDistributorAsUnderlying(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        address to
    ) external returns (uint256) {
        _claim(index, account, amount, merkleProof);
        return IGenericVault(vault).withdrawAll(to);
    }

    /// @notice Claim from distributor as CRV.
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param minAmountOut - min amount of CRV expected
    /// @param to - address to lock on behalf of
    function claimFromDistributorAsCrv(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address to
    ) external {
        _claim(index, account, amount, merkleProof);
        IStrategyZaps(zaps).claimFromVaultAsCrv(amount, minAmountOut, to);
    }

    /// @notice Claim from the distributor, unstake and deposits in 3pool.
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param minAmountOut - minimum amount of 3CRV (NOT USDT!)
    /// @param to - address on behalf of which to stake
    function claimFromDistributorAndStakeIn3PoolConvex(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address to
    ) external {
        _claim(index, account, amount, merkleProof);
        IStrategyZaps(zaps).claimFromVaultAndStakeIn3PoolConvex(
            amount,
            minAmountOut,
            to
        );
    }
}

File 2 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "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'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + 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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 3 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

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 4 of 8 : Address.sol
// SPDX-License-Identifier: MIT

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;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 8 : DistributorZaps.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "SafeERC20.sol";
import "IStrategyZaps.sol";
import "IGenericDistributor.sol";

contract DistributorZaps {
    using SafeERC20 for IERC20;

    address public immutable zaps;
    address public vault;
    IGenericDistributor public distributor;

    constructor(
        address _strategyZaps,
        address _distributor,
        address _vault
    ) {
        zaps = _strategyZaps;
        distributor = IGenericDistributor(_distributor);
        vault = _vault;
    }

    function setApprovals() external {
        IERC20(vault).safeApprove(zaps, 0);
        IERC20(vault).safeApprove(zaps, type(uint256).max);
    }

    /// @notice Claim from distributor and transfer back tokens to zap
    function _claim(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof
    ) internal {
        distributor.claim(index, account, amount, merkleProof);
        IERC20(vault).safeTransferFrom(msg.sender, address(this), amount);
    }

    /// @notice Claim from distributor as either FXS or cvxFXS
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param assetIndex - asset to withdraw (0: FXS, 1: cvxFXS)
    /// @param minAmountOut - minimum amount of underlying tokens expected
    /// @param to - address to send withdrawn underlying to
    /// @return amount of underlying withdrawn
    function claimFromDistributorAsUnderlying(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 assetIndex,
        uint256 minAmountOut,
        address to
    ) external returns (uint256) {
        _claim(index, account, amount, merkleProof);
        return
            IStrategyZaps(zaps).claimFromVaultAsUnderlying(
                amount,
                assetIndex,
                minAmountOut,
                to
            );
    }

    /// @notice Claim from distributor as USDT.
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param minAmountOut - the min expected amount of USDT to receive
    /// @param to - the adress that will receive the USDT
    /// @return amount of USDT obtained
    function claimFromDistributorAsUsdt(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address to
    ) external returns (uint256) {
        _claim(index, account, amount, merkleProof);
        return
            IStrategyZaps(zaps).claimFromVaultAsUsdt(amount, minAmountOut, to);
    }

    /// @notice Claim to any token via a univ2 router
    /// @notice Use at your own risk
    /// @param amount - amount of uCRV to unstake
    /// @param minAmountOut - min amount of output token expected
    /// @param router - address of the router to use. e.g. 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F for Sushi
    /// @param outputToken - address of the token to swap to
    /// @param to - address of the final recipient of the swapped tokens
    function claimFromDistributorViaUniV2EthPair(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address router,
        address outputToken,
        address to
    ) external {
        _claim(index, account, amount, merkleProof);
        IStrategyZaps(zaps).claimFromVaultViaUniV2EthPair(
            amount,
            minAmountOut,
            router,
            outputToken,
            to
        );
    }

    /// @notice Claim from distributor as ETH.
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param minAmountOut - min amount of ETH expected
    /// @param to - address to lock on behalf of
    function claimFromDistributorAsEth(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address to
    ) external {
        _claim(index, account, amount, merkleProof);
        IStrategyZaps(zaps).claimFromVaultAsEth(amount, minAmountOut, to);
    }

    /// @notice Claim from distributor as CVX and optionally lock.
    /// @param index - claimer index
    /// @param account - claimer account
    /// @param amount - claim amount
    /// @param merkleProof - merkle proof for the claim
    /// @param minAmountOut - min amount of CVX expected
    /// @param to - address to lock on behalf of
    /// @param lock - whether to lock the Cvx or not
    function claimFromDistributorAsCvx(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 minAmountOut,
        address to,
        bool lock
    ) external {
        _claim(index, account, amount, merkleProof);
        IStrategyZaps(zaps).claimFromVaultAsCvx(amount, minAmountOut, to, lock);
    }
}

File 6 of 8 : IStrategyZaps.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

interface IStrategyZaps {
    function claimFromVaultAsUnderlying(
        uint256 amount,
        uint256 assetIndex,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAsFxs(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAsEth(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultViaUniV2EthPair(
        uint256 amount,
        uint256 minAmountOut,
        address router,
        address outputToken,
        address to
    ) external;

    function claimFromVaultAsUsdt(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAsCvx(
        uint256 amount,
        uint256 minAmountOut,
        address to,
        bool lock
    ) external returns (uint256);

    function claimFromVaultAsCvx(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAsCrv(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAsCvxCrv(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);

    function claimFromVaultAndStakeIn3PoolConvex(
        uint256 amount,
        uint256 minAmountOut,
        address to
    ) external returns (uint256);
}

File 7 of 8 : IGenericDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

interface IGenericDistributor {
    function vault() external view returns (address);

    function merkleRoot() external view returns (bytes32);

    function week() external view returns (uint32);

    function frozen() external view returns (bool);

    function isClaimed(uint256 index) external view returns (bool);

    function setApprovals() external;

    function claim(
        uint256 index,
        address account,
        uint256 amount,
        bytes32[] calldata merkleProof
    ) external;

    function freeze() external;

    function unfreeze() external;

    function stake() external;

    function updateMerkleRoot(bytes32 newMerkleRoot, bool unfreeze) external;

    function updateDepositor(address newDepositor) external;

    function updateAdmin(address newAdmin) external;

    function updateVault(address newVault) external;

    event DepositorUpdated(
        address indexed oldDepositor,
        address indexed newDepositor
    );

    event AdminUpdated(address indexed oldAdmin, address indexed newAdmin);

    event VaultUpdated(address indexed oldVault, address indexed newVault);

    event MerkleRootUpdated(bytes32 indexed merkleRoot, uint32 indexed week);
}

File 8 of 8 : IGenericVault.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

interface IGenericVault {
    function withdraw(address _to, uint256 _shares)
        external
        returns (uint256 withdrawn);

    function withdrawAll(address _to) external returns (uint256 withdrawn);

    function depositAll(address _to) external returns (uint256 _shares);

    function deposit(address _to, uint256 _amount)
        external
        returns (uint256 _shares);

    function harvest() external;

    function balanceOfUnderlying(address user)
        external
        view
        returns (uint256 amount);

    function totalUnderlying() external view returns (uint256 total);

    function totalSupply() external view returns (uint256 total);

    function underlying() external view returns (address);

    function strategy() external view returns (address);

    function platform() external view returns (address);

    function setPlatform(address _platform) external;

    function setPlatformFee(uint256 _fee) external;

    function setCallIncentive(uint256 _incentive) external;

    function setWithdrawalPenalty(uint256 _penalty) external;

    function setApprovals() external;

    function callIncentive() external view returns (uint256);

    function withdrawalPenalty() external view returns (uint256);

    function platformFee() external view returns (uint256);

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

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "stkCvxCrvDistributorZaps.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_strategyZaps","type":"address"},{"internalType":"address","name":"_distributor","type":"address"},{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAndStakeIn3PoolConvex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAsCrv","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"lock","type":"bool"}],"name":"claimFromDistributorAsCvx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAsEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"assetIndex","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAsUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAsUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorAsUsdt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"outputToken","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"claimFromDistributorViaUniV2EthPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributor","outputs":[{"internalType":"contract IGenericDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zaps","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a060405234801561001057600080fd5b5060405161117c38038061117c83398101604081905261002f91610086565b6001600160a01b03928316608052600180549284166001600160a01b03199384161790556000805493909116929091169190911790556100c9565b80516001600160a01b038116811461008157600080fd5b919050565b60008060006060848603121561009b57600080fd5b6100a48461006a565b92506100b26020850161006a565b91506100c06040850161006a565b90509250925092565b6080516110596101236000396000818161011f0152818161020d015281816102d00152818161039201528181610404015281816104a3015281816104da0152818161053d015281816105b6015261065f01526110596000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063b41cbb4311610071578063b41cbb4314610161578063bfe1092814610174578063cdc0256114610187578063e373fc7f1461019a578063fb86a435146101ad578063fbfa77cf146101c057600080fd5b806334840a7e146100b95780633edb7cac146100ce57806343281513146100f457806365a5c746146101075780636af650781461011a5780638757b15b14610159575b600080fd5b6100cc6100c7366004610c4c565b6101d3565b005b6100e16100dc366004610c4c565b610294565b6040519081526020015b60405180910390f35b6100cc610102366004610c4c565b610358565b6100e1610115366004610ccd565b6103c1565b6101417f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100eb565b6100cc61048d565b6100cc61016f366004610c4c565b610503565b600154610141906001600160a01b031681565b6100cc610195366004610d57565b61056c565b6100cc6101a8366004610e0a565b61061d565b6100e16101bb366004610e9f565b6106e6565b600054610141906001600160a01b031681565b6101e0878787878761077f565b60405163a8d9693d60e01b815260048101869052602481018390526001600160a01b0382811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063a8d9693d906064015b602060405180830381600087803b15801561025257600080fd5b505af1158015610266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028a9190610f16565b5050505050505050565b60006102a3888888888861077f565b604051631dd5247760e21b815260048101879052602481018490526001600160a01b0383811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063775491dc90606401602060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034c9190610f16565b98975050505050505050565b610365878787878761077f565b6040516321d3c43f60e11b815260048101869052602481018390526001600160a01b0382811660448301527f000000000000000000000000000000000000000000000000000000000000000016906343a7887e90606401610238565b60006103d0898989898961077f565b6040516352c55c4d60e11b81526004810188905260248101859052604481018490526001600160a01b0383811660648301527f0000000000000000000000000000000000000000000000000000000000000000169063a58ab89a90608401602060405180830381600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104809190610f16565b9998505050505050505050565b600080546104c8916001600160a01b03909116907f000000000000000000000000000000000000000000000000000000000000000090610809565b600054610501906001600160a01b03167f0000000000000000000000000000000000000000000000000000000000000000600019610809565b565b610510878787878761077f565b60405163dbc199d760e01b815260048101869052602481018390526001600160a01b0382811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063dbc199d790606401610238565b610579898989898961077f565b6040516321c0b29760e21b815260048101889052602481018590526001600160a01b038481166044830152838116606483015282811660848301527f00000000000000000000000000000000000000000000000000000000000000001690638702ca5c9060a401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b50505050505050505050505050565b61062a888888888861077f565b60405163f3bb2ca160e01b815260048101879052602481018490526001600160a01b03838116604483015282151560648301527f0000000000000000000000000000000000000000000000000000000000000000169063f3bb2ca190608401602060405180830381600087803b1580156106a357600080fd5b505af11580156106b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db9190610f16565b505050505050505050565b60006106f5878787878761077f565b600054604051630fa09e6360e41b81526001600160a01b0384811660048301529091169063fa09e63090602401602060405180830381600087803b15801561073c57600080fd5b505af1158015610750573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107749190610f16565b979650505050505050565b600154604051632e7ba6ef60e01b81526001600160a01b0390911690632e7ba6ef906107b79088908890889088908890600401610f2f565b600060405180830381600087803b1580156107d157600080fd5b505af11580156107e5573d6000803e3d6000fd5b505060005461080292506001600160a01b0316905033308661096a565b5050505050565b8015806108925750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561085857600080fd5b505afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108909190610f16565b155b6109025760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084015b60405180910390fd5b6040516001600160a01b03831660248201526044810182905261096590849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526109a8565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109a29085906323b872dd60e01b9060840161092e565b50505050565b60006109fd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a7a9092919063ffffffff16565b8051909150156109655780806020019051810190610a1b9190610f8b565b6109655760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108f9565b6060610a898484600085610a93565b90505b9392505050565b606082471015610af45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108f9565b843b610b425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108f9565b600080866001600160a01b03168587604051610b5e9190610fd4565b60006040518083038185875af1925050503d8060008114610b9b576040519150601f19603f3d011682016040523d82523d6000602084013e610ba0565b606091505b509150915061077482828660608315610bba575081610a8c565b825115610bca5782518084602001fd5b8160405162461bcd60e51b81526004016108f99190610ff0565b80356001600160a01b0381168114610bfb57600080fd5b919050565b60008083601f840112610c1257600080fd5b50813567ffffffffffffffff811115610c2a57600080fd5b6020830191508360208260051b8501011115610c4557600080fd5b9250929050565b600080600080600080600060c0888a031215610c6757600080fd5b87359650610c7760208901610be4565b955060408801359450606088013567ffffffffffffffff811115610c9a57600080fd5b610ca68a828b01610c00565b90955093505060808801359150610cbf60a08901610be4565b905092959891949750929550565b60008060008060008060008060e0898b031215610ce957600080fd5b88359750610cf960208a01610be4565b965060408901359550606089013567ffffffffffffffff811115610d1c57600080fd5b610d288b828c01610c00565b9096509450506080890135925060a08901359150610d4860c08a01610be4565b90509295985092959890939650565b60008060008060008060008060006101008a8c031215610d7657600080fd5b89359850610d8660208b01610be4565b975060408a0135965060608a013567ffffffffffffffff811115610da957600080fd5b610db58c828d01610c00565b90975095505060808a01359350610dce60a08b01610be4565b9250610ddc60c08b01610be4565b9150610dea60e08b01610be4565b90509295985092959850929598565b8015158114610e0757600080fd5b50565b60008060008060008060008060e0898b031215610e2657600080fd5b88359750610e3660208a01610be4565b965060408901359550606089013567ffffffffffffffff811115610e5957600080fd5b610e658b828c01610c00565b90965094505060808901359250610e7e60a08a01610be4565b915060c0890135610e8e81610df9565b809150509295985092959890939650565b60008060008060008060a08789031215610eb857600080fd5b86359550610ec860208801610be4565b945060408701359350606087013567ffffffffffffffff811115610eeb57600080fd5b610ef789828a01610c00565b9094509250610f0a905060808801610be4565b90509295509295509295565b600060208284031215610f2857600080fd5b5051919050565b8581526001600160a01b038516602082015260408101849052608060608201819052810182905260006001600160fb1b03831115610f6c57600080fd5b8260051b808560a08501376000920160a0019182525095945050505050565b600060208284031215610f9d57600080fd5b8151610a8c81610df9565b60005b83811015610fc3578181015183820152602001610fab565b838111156109a25750506000910152565b60008251610fe6818460208701610fa8565b9190910192915050565b602081526000825180602084015261100f816040850160208701610fa8565b601f01601f1916919091016040019291505056fea26469706673582212209383222479efff6d73b94675ad5bf0d0c1e570eebf7a3b278550087b89af6e1664736f6c63430008090033000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a950000000000000000000000002c5e808fca6d8299ce194e12ed728f0fdbbf06c8000000000000000000000000de2bef0a01845257b4aef2a2eaa48f6eaeafa8b7

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063b41cbb4311610071578063b41cbb4314610161578063bfe1092814610174578063cdc0256114610187578063e373fc7f1461019a578063fb86a435146101ad578063fbfa77cf146101c057600080fd5b806334840a7e146100b95780633edb7cac146100ce57806343281513146100f457806365a5c746146101075780636af650781461011a5780638757b15b14610159575b600080fd5b6100cc6100c7366004610c4c565b6101d3565b005b6100e16100dc366004610c4c565b610294565b6040519081526020015b60405180910390f35b6100cc610102366004610c4c565b610358565b6100e1610115366004610ccd565b6103c1565b6101417f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a9581565b6040516001600160a01b0390911681526020016100eb565b6100cc61048d565b6100cc61016f366004610c4c565b610503565b600154610141906001600160a01b031681565b6100cc610195366004610d57565b61056c565b6100cc6101a8366004610e0a565b61061d565b6100e16101bb366004610e9f565b6106e6565b600054610141906001600160a01b031681565b6101e0878787878761077f565b60405163a8d9693d60e01b815260048101869052602481018390526001600160a01b0382811660448301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95169063a8d9693d906064015b602060405180830381600087803b15801561025257600080fd5b505af1158015610266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028a9190610f16565b5050505050505050565b60006102a3888888888861077f565b604051631dd5247760e21b815260048101879052602481018490526001600160a01b0383811660448301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95169063775491dc90606401602060405180830381600087803b15801561031457600080fd5b505af1158015610328573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034c9190610f16565b98975050505050505050565b610365878787878761077f565b6040516321d3c43f60e11b815260048101869052602481018390526001600160a01b0382811660448301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a9516906343a7887e90606401610238565b60006103d0898989898961077f565b6040516352c55c4d60e11b81526004810188905260248101859052604481018490526001600160a01b0383811660648301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95169063a58ab89a90608401602060405180830381600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104809190610f16565b9998505050505050505050565b600080546104c8916001600160a01b03909116907f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a9590610809565b600054610501906001600160a01b03167f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95600019610809565b565b610510878787878761077f565b60405163dbc199d760e01b815260048101869052602481018390526001600160a01b0382811660448301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95169063dbc199d790606401610238565b610579898989898961077f565b6040516321c0b29760e21b815260048101889052602481018590526001600160a01b038481166044830152838116606483015282811660848301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a951690638702ca5c9060a401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b50505050505050505050505050565b61062a888888888861077f565b60405163f3bb2ca160e01b815260048101879052602481018490526001600160a01b03838116604483015282151560648301527f000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95169063f3bb2ca190608401602060405180830381600087803b1580156106a357600080fd5b505af11580156106b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106db9190610f16565b505050505050505050565b60006106f5878787878761077f565b600054604051630fa09e6360e41b81526001600160a01b0384811660048301529091169063fa09e63090602401602060405180830381600087803b15801561073c57600080fd5b505af1158015610750573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107749190610f16565b979650505050505050565b600154604051632e7ba6ef60e01b81526001600160a01b0390911690632e7ba6ef906107b79088908890889088908890600401610f2f565b600060405180830381600087803b1580156107d157600080fd5b505af11580156107e5573d6000803e3d6000fd5b505060005461080292506001600160a01b0316905033308661096a565b5050505050565b8015806108925750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561085857600080fd5b505afa15801561086c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108909190610f16565b155b6109025760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084015b60405180910390fd5b6040516001600160a01b03831660248201526044810182905261096590849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526109a8565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109a29085906323b872dd60e01b9060840161092e565b50505050565b60006109fd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a7a9092919063ffffffff16565b8051909150156109655780806020019051810190610a1b9190610f8b565b6109655760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108f9565b6060610a898484600085610a93565b90505b9392505050565b606082471015610af45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108f9565b843b610b425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108f9565b600080866001600160a01b03168587604051610b5e9190610fd4565b60006040518083038185875af1925050503d8060008114610b9b576040519150601f19603f3d011682016040523d82523d6000602084013e610ba0565b606091505b509150915061077482828660608315610bba575081610a8c565b825115610bca5782518084602001fd5b8160405162461bcd60e51b81526004016108f99190610ff0565b80356001600160a01b0381168114610bfb57600080fd5b919050565b60008083601f840112610c1257600080fd5b50813567ffffffffffffffff811115610c2a57600080fd5b6020830191508360208260051b8501011115610c4557600080fd5b9250929050565b600080600080600080600060c0888a031215610c6757600080fd5b87359650610c7760208901610be4565b955060408801359450606088013567ffffffffffffffff811115610c9a57600080fd5b610ca68a828b01610c00565b90955093505060808801359150610cbf60a08901610be4565b905092959891949750929550565b60008060008060008060008060e0898b031215610ce957600080fd5b88359750610cf960208a01610be4565b965060408901359550606089013567ffffffffffffffff811115610d1c57600080fd5b610d288b828c01610c00565b9096509450506080890135925060a08901359150610d4860c08a01610be4565b90509295985092959890939650565b60008060008060008060008060006101008a8c031215610d7657600080fd5b89359850610d8660208b01610be4565b975060408a0135965060608a013567ffffffffffffffff811115610da957600080fd5b610db58c828d01610c00565b90975095505060808a01359350610dce60a08b01610be4565b9250610ddc60c08b01610be4565b9150610dea60e08b01610be4565b90509295985092959850929598565b8015158114610e0757600080fd5b50565b60008060008060008060008060e0898b031215610e2657600080fd5b88359750610e3660208a01610be4565b965060408901359550606089013567ffffffffffffffff811115610e5957600080fd5b610e658b828c01610c00565b90965094505060808901359250610e7e60a08a01610be4565b915060c0890135610e8e81610df9565b809150509295985092959890939650565b60008060008060008060a08789031215610eb857600080fd5b86359550610ec860208801610be4565b945060408701359350606087013567ffffffffffffffff811115610eeb57600080fd5b610ef789828a01610c00565b9094509250610f0a905060808801610be4565b90509295509295509295565b600060208284031215610f2857600080fd5b5051919050565b8581526001600160a01b038516602082015260408101849052608060608201819052810182905260006001600160fb1b03831115610f6c57600080fd5b8260051b808560a08501376000920160a0019182525095945050505050565b600060208284031215610f9d57600080fd5b8151610a8c81610df9565b60005b83811015610fc3578181015183820152602001610fab565b838111156109a25750506000910152565b60008251610fe6818460208701610fa8565b9190910192915050565b602081526000825180602084015261100f816040850160208701610fa8565b601f01601f1916919091016040019291505056fea26469706673582212209383222479efff6d73b94675ad5bf0d0c1e570eebf7a3b278550087b89af6e1664736f6c63430008090033

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

000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a950000000000000000000000002c5e808fca6d8299ce194e12ed728f0fdbbf06c8000000000000000000000000de2bef0a01845257b4aef2a2eaa48f6eaeafa8b7

-----Decoded View---------------
Arg [0] : _strategyZaps (address): 0xFF87Da30E779ca78ff2E9b1582D6C15C1ac31A95
Arg [1] : _distributor (address): 0x2c5e808fCA6D8299ce194E12ed728f0fDbbF06c8
Arg [2] : _vault (address): 0xde2bEF0A01845257b4aEf2A2EAa48f6EAeAfa8B7

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000ff87da30e779ca78ff2e9b1582d6c15c1ac31a95
Arg [1] : 0000000000000000000000002c5e808fca6d8299ce194e12ed728f0fdbbf06c8
Arg [2] : 000000000000000000000000de2bef0a01845257b4aef2a2eaa48f6eaeafa8b7


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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