S Price: $0.566045 (-6.10%)
    /

    Contract

    0x06370F1F60c102D44d5fdc056262115A66Fb5924

    Overview

    S Balance

    Sonic LogoSonic LogoSonic Logo0 S

    S Value

    $0.00

    Multichain Info

    No addresses found
    Amount:Between 1-1M
    Reset Filter

    Transaction Hash
    Method
    Block
    Age
    From
    To
    Amount

    There are no matching entries

    4 Token Transfers found.

    Parent Transaction Hash Block Age From To Amount
    View All Internal Transactions
    Loading...
    Loading

    Similar Match Source Code
    This contract matches the deployed Bytecode of the Source Code for Contract 0x64B08544...78DB53D21
    The constructor portion of the code might be different and could alter the actual behaviour of the contract

    Contract Name:
    Blacksail_ICHI_Strategy_SwapX

    Compiler Version
    v0.8.20+commit.a1b79de6

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    paris EvmVersion
    File 1 of 15 : Blacksail_ICHI_Strategy_SwapX.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.20;
    import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
    import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
    import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
    import "@openzeppelin/contracts/access/Ownable.sol";
    import "@openzeppelin/contracts/utils/Pausable.sol";
    import "../interfacing/ISwapX.sol";
    import "../interfacing/ISwapXGauge.sol";
    interface IIchiDepositHelper {
    function forwardDepositToICHIVault(
    address _vault,
    address _deployer,
    address _token,
    uint256 _amount,
    uint256 _minAmountOut,
    address _to
    ) external;
    function deposit(uint256, uint256, address) external returns (uint256);
    function allowToken0() external returns (bool);
    function token0() external returns (address);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 15 : Ownable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
    pragma solidity ^0.8.20;
    import {Context} from "../utils/Context.sol";
    /**
    * @dev Contract module which provides a basic access control mechanism, where
    * there is an account (an owner) that can be granted exclusive access to
    * specific functions.
    *
    * The initial owner is set to the address provided by the deployer. This can
    * later be changed with {transferOwnership}.
    *
    * This module is used through inheritance. It will make available the modifier
    * `onlyOwner`, which can be applied to your functions to restrict their use to
    * the owner.
    */
    abstract contract Ownable is Context {
    address private _owner;
    /**
    * @dev The caller account is not authorized to perform an operation.
    */
    error OwnableUnauthorizedAccount(address account);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 15 : IERC1363.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)
    pragma solidity ^0.8.20;
    import {IERC20} from "./IERC20.sol";
    import {IERC165} from "./IERC165.sol";
    /**
    * @title IERC1363
    * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
    *
    * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
    * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
    */
    interface IERC1363 is IERC20, IERC165 {
    /*
    * Note: the ERC-165 identifier for this interface is 0xb0202a11.
    * 0xb0202a11 ===
    * bytes4(keccak256('transferAndCall(address,uint256)')) ^
    * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
    * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
    * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
    * bytes4(keccak256('approveAndCall(address,uint256)')) ^
    * bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 15 : IERC165.sol
    1
    2
    3
    4
    5
    6
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)
    pragma solidity ^0.8.20;
    import {IERC165} from "../utils/introspection/IERC165.sol";
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 5 of 15 : IERC20.sol
    1
    2
    3
    4
    5
    6
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)
    pragma solidity ^0.8.20;
    import {IERC20} from "../token/ERC20/IERC20.sol";
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 6 of 15 : IERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Interface of the ERC-20 standard as defined in the ERC.
    */
    interface IERC20 {
    /**
    * @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);
    /**
    * @dev Returns the value of tokens in existence.
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 7 of 15 : SafeERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)
    pragma solidity ^0.8.20;
    import {IERC20} from "../IERC20.sol";
    import {IERC1363} from "../../../interfaces/IERC1363.sol";
    import {Address} from "../../../utils/Address.sol";
    /**
    * @title SafeERC20
    * @dev Wrappers around ERC-20 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 {
    /**
    * @dev An operation with an ERC-20 token failed.
    */
    error SafeERC20FailedOperation(address token);
    /**
    * @dev Indicates a failed `decreaseAllowance` request.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 15 : Address.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)
    pragma solidity ^0.8.20;
    import {Errors} from "./Errors.sol";
    /**
    * @dev Collection of functions related to the address type
    */
    library Address {
    /**
    * @dev There's no code at `target` (it is not a contract).
    */
    error AddressEmptyCode(address target);
    /**
    * @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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 15 : Context.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Provides information about the current execution context, including the
    * sender of the transaction and its data. While these are generally available
    * via msg.sender and msg.data, they should not be accessed in such a direct
    * manner, since when dealing with meta-transactions the account sending and
    * paying for execution may not be the actual sender (as far as an application
    * is concerned).
    *
    * This contract is only required for intermediate, library-like contracts.
    */
    abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
    return msg.sender;
    }
    function _msgData() internal view virtual returns (bytes calldata) {
    return msg.data;
    }
    function _contextSuffixLength() internal view virtual returns (uint256) {
    return 0;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 10 of 15 : Errors.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Collection of common custom errors used in multiple contracts
    *
    * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
    * It is recommended to avoid relying on the error API for critical functionality.
    *
    * _Available since v5.1._
    */
    library Errors {
    /**
    * @dev The ETH balance of the account is not enough to perform the operation.
    */
    error InsufficientBalance(uint256 balance, uint256 needed);
    /**
    * @dev A call to an address target failed. The target may have reverted.
    */
    error FailedCall();
    /**
    * @dev The deployment failed.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 11 of 15 : IERC165.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Interface of the ERC-165 standard, as defined in the
    * https://eips.ethereum.org/EIPS/eip-165[ERC].
    *
    * Implementers can declare support of contract interfaces, which can then be
    * queried by others ({ERC165Checker}).
    *
    * For an implementation, see {ERC165}.
    */
    interface IERC165 {
    /**
    * @dev Returns true if this contract implements the interface defined by
    * `interfaceId`. See the corresponding
    * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
    * to learn more about how these ids are created.
    *
    * This function call must use less than 30 000 gas.
    */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 12 of 15 : Pausable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
    pragma solidity ^0.8.20;
    import {Context} from "../utils/Context.sol";
    /**
    * @dev Contract module which allows children to implement an emergency stop
    * mechanism that can be triggered by an authorized account.
    *
    * This module is used through inheritance. It will make available the
    * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
    * the functions of your contract. Note that they will not be pausable by
    * simply including this module, only once the modifiers are put in place.
    */
    abstract contract Pausable is Context {
    bool private _paused;
    /**
    * @dev Emitted when the pause is triggered by `account`.
    */
    event Paused(address account);
    /**
    * @dev Emitted when the pause is lifted by `account`.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 13 of 15 : ReentrancyGuard.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Contract module that helps prevent reentrant calls to a function.
    *
    * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
    * available, which can be applied to functions to make sure there are no nested
    * (reentrant) calls to them.
    *
    * Note that because there is a single `nonReentrant` guard, functions marked as
    * `nonReentrant` may not call one another. This can be worked around by making
    * those functions `private`, and then adding `external` `nonReentrant` entry
    * points to them.
    *
    * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,
    * consider using {ReentrancyGuardTransient} instead.
    *
    * TIP: If you would like to learn more about reentrancy and alternative ways
    * to protect against it, check out our blog post
    * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
    */
    abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 14 of 15 : ISwapX.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: GPL-2.0-or-later
    pragma solidity >=0.7.5;
    /// @title Router token swapping functionality
    /// @notice Functions for swapping tokens via Algebra
    /// @dev Credit to Uniswap Labs under GPL-2.0-or-later license:
    /// https://github.com/Uniswap/v3-periphery
    interface ISwapX {
    struct ExactInputSingleParams {
    address tokenIn;
    address tokenOut;
    address recipient;
    uint256 amountIn;
    uint256 amountOutMinimum;
    uint160 limitSqrtPrice;
    }
    /// @notice Swaps `amountIn` of one token for as much as possible of another token
    /// @dev Setting `amountIn` to 0 will cause the contract to look up its own balance,
    /// and swap the entire amount, enabling contracts to send tokens before calling this function.
    /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata
    /// @return amountOut The amount of the received token
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);
    struct ExactInputParams {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 15 of 15 : ISwapXGauge.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity 0.8.20;
    interface ISwapXGauge {
    /* -----------------------------------------------------------------------------
    --------------------------------------------------------------------------------
    --------------------------------------------------------------------------------
    VIEW
    --------------------------------------------------------------------------------
    --------------------------------------------------------------------------------
    ----------------------------------------------------------------------------- */
    ///@notice total supply held
    function totalSupply() external view returns (uint256);
    ///@notice balance of a user
    function balanceOf(address account) external view returns (uint256);
    ///@notice last time reward
    function lastTimeRewardApplicable() external view returns (uint256);
    ///@notice reward for a sinle token
    function rewardPerToken() external view returns (uint256);
    ///@notice see earned rewards for user
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Settings
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    {
    "viaIR": true,
    "optimizer": {
    "enabled": true,
    "runs": 200
    },
    "evmVersion": "paris",
    "outputSelection": {
    "*": {
    "*": [
    "evm.bytecode",
    "evm.deployedBytecode",
    "devdoc",
    "userdoc",
    "metadata",
    "abi"
    ]
    }
    },
    "libraries": {}
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Contract Security Audit

    Contract ABI

    API
    [{"inputs":[{"internalType":"address","name":"_staking_token","type":"address"},{"internalType":"address","name":"_rewardPool","type":"address"},{"internalType":"address","name":"_reward_token","type":"address"},{"internalType":"address","name":"_deposit_token","type":"address"},{"internalType":"address","name":"_ichi","type":"address"},{"internalType":"address","name":"_vaultDeployer","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolFee","type":"uint256"}],"name":"ChargeFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTolerance","type":"uint256"}],"name":"SetSlippageTolerance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newVault","type":"address"}],"name":"SetVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"SetWithdrawalFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_BATCH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PLATFORM_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"amount0Delta","type":"int256"},{"internalType":"int256","name":"amount1Delta","type":"int256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"algebraSwapCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfStakingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit_token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestCallReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ichi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"native_token","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reward_token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tolerance","type":"uint256"}],"name":"setSlippageTolerance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippageTolerance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"staking_token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"v3router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultDeployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

    Deployed Bytecode

    0x608060408181526004918236101561001657600080fd5b600092833560e01c918263025e30b014611ecb575081630e8fbb5a14611e4f578163111e4b6014611e265781631158808614611e09578163117da1ee14611d79578163171d218914611d5e578163257ae0de14611d355781632638c09e14611d0c57816327ced53714611cdd5781632c8958f614611c015781632dc7d74c14611bd85781632e1a7d4d146119935781632f17e0301461196a5781633410fe6e1461194b57816334fbc9a11461192c5781633f4ba83a146116835781634641257d146110dd57816354518b1a146110be578163573fef0a14610abe5781635c975abb14610a9957816361d027b314610a7057816366666aa914610a475781636817031b1461097d578163715018a614610920578163722713f7146109035781637ff8f1e9146108df5781638456cb59146107325781638912cb8b1461070e5781638cab0f99146106e65781638da5cb5b146106be578163951d6d201461069f5781639bff5ddb14610680578163d03153aa14610661578163d0e30db0146105bf578163d49d518114610584578163dfca09221461055b578163e7a7250a146104c8578163f1a392da146104a9578163f2fde38b14610410578163f301af42146103b9578163fb61778714610222575063fbfa77cf146101f357600080fd5b3461021e578160031936011261021e57601154905160089190911c6001600160a01b03168152602090f35b5080fd5b919050346103b557826003193601126103b55760018060a01b039061024f8260115460081c16331461204a565b8382600b541661025d612316565b813b156103b55782916024839286519485938492632e1a7d4d60e01b84528b8401525af180156103ab57610393575b505081600354168151906370a0823160e01b82523085830152602094868684602481865afa938415610387579087949392918194610349575b50601154865163a9059cbb60e01b81526001600160a01b0360089290921c9098161691870191825260208201939093528592839182906040015b03925af19081156103405750610313578280f35b8161033292903d10610339575b61032a8183611f5e565b810190612354565b5038808280f35b503d610320565b513d85823e3d90fd5b9480929794508591503d8311610380575b6103648183611f5e565b8101031261037b576102ff948787945193966102c5565b600080fd5b503d61035a565b508451903d90823e3d90fd5b61039c90611f34565b6103a757833861028c565b8380fd5b83513d84823e3d90fd5b8280fd5b9050346103b55760203660031901126103b557356013548110156103b55760136020935260018060a01b03907f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900154169051908152f35b919050346103b55760203660031901126103b5576001600160a01b038235818116939192908490036104a557610444611ee7565b831561048f575050600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8480fd5b50503461021e578160031936011261021e576020906010549051908152f35b83833461021e578160031936011261021e57600b5481516246613160e11b81523094810194909452602090849060249082906001600160a01b03165afa918215610550579161051c575b6020925051908152f35b90506020823d8211610548575b8161053660209383611f5e565b8101031261037b576020915190610512565b3d9150610529565b9051903d90823e3d90fd5b50503461021e578160031936011261021e57600f5490516001600160a01b039091168152602090f35b50503461021e578160031936011261021e57602090517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8152f35b919050346103b557826003193601126103b5576011543360089190911c6001600160a01b0316148015610658575b1561060657826105fb611f13565b610603611f80565b80f35b906020608492519162461bcd60e51b8352820152602660248201527f4e6f7420617574686f72697a65642c206f6e6c79205661756c74206f7220537460448201526572617465677960d01b6064820152fd5b503033146105ed565b50503461021e578160031936011261021e576020906014549051908152f35b50503461021e578160031936011261021e576020906006549051908152f35b50503461021e578160031936011261021e576020906008549051908152f35b50503461021e578160031936011261021e57905490516001600160a01b039091168152602090f35b9050346103b557826003193601126103b5575490516001600160a01b03909116815260209150f35b50503461021e578160031936011261021e5760209060ff6011541690519015158152f35b9050346103b557826003193601126103b55761074c611ee7565b610754611f13565b825460ff60a01b1916600160a01b1783558151338152602092907f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258908490a1600354600b54825163095ea7b360e01b8082526001600160a01b0392831682870152602482018890529194928690829060449082908b908a165af1801561089b576108c2575b5083600e54168351908282528382015286602482015285816044818a73039e2fb66102314ce7b64ce5ce3e5183bc94ad385af1801561089b576108a5575b5085858560025416604487600e541687519485938492888452898401528160248401525af1801561089b579160449187949361087e575b50878684541696600c5416968651978895869485528401528160248401525af19081156103405750610313578280f35b61089490853d87116103395761032a8183611f5e565b503861084e565b84513d89823e3d90fd5b6108bb90863d88116103395761032a8183611f5e565b5038610817565b6108d890863d88116103395761032a8183611f5e565b50386107d9565b50503461021e578160031936011261021e576020906108fc6122aa565b9051908152f35b50503461021e578160031936011261021e576020906108fc61228e565b833461097a578060031936011261097a57610939611ee7565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b9050346103b55760203660031901126103b55780356001600160a01b038116929091908383036104a5576109af611ee7565b823b15610a0457505060118054610100600160a81b03191660089290921b610100600160a81b03169190911790557fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f308280a280f35b906020606492519162461bcd60e51b8352820152601860248201527f5661756c74206d757374206265206120636f6e747261637400000000000000006044820152fd5b50503461021e578160031936011261021e57600b5490516001600160a01b039091168152602090f35b50503461021e578160031936011261021e5760125490516001600160a01b039091168152602090f35b50503461021e578160031936011261021e5760ff6020925460a01c1690519015158152f35b8391503461021e578160031936011261021e576011549060ff8216610ae1578280f35b6001600160a01b039160081c82163303611086578293610aff611f13565b82600b5416803b156104a55784809184845180948193631e8c5c8960e11b83525af1801561107c57908591611063575b50508260025416928151926370a0823160e01b90818552308186015260209560249587818881855afa908115611028578991611032575b50610ba4575b505050505050505042601055337f188a622567eeca997c3d494fd65f76ca910b90a50a0c44d5e37b2ea5539e027b8280a28082808280f35b845190838252308383015287828881845afa918215611028578992610ff6575b50610bcd6121ff565b90815273039e2fb66102314ce7b64ce5ce3e5183bc94ad38918289830152308783015260608201528860a082015284600e54168887518092818d81610c1f63076c8e2d60e11b988983528b8301612242565b03925af18015610f8b57610fc8575b508551848152308482015288818981865afa908115610f8b578a91610f95575b5086610c7e7f5c48b059bc2759d631bf4951f184f5641ca6db26a8ad956276910a01562d59b392600a54906120a2565b610ca0610c8e60075480936120b5565b91610c9b600854846120a2565b6120b5565b90610cb8610cae838361207f565b8a601254166120d5565b82519182528b820152a1855191848352308484015288838981845afa928315610f8b578a93610f59575b5082610d08575b50505050505050505050610cfb611f80565b8082808080808080610b6c565b88918685541693828503610ed7575b5050505050828154168451928352308284015286838781845afa928315610ecd578893610e9b575b5082610d4d575b8080610ce9565b87908785600c5416848851809c8193630dfe168160e01b83525af18015610e91578899839997989991610e57575b50851603610df15760649293600c54168187519889968795638dbdbe6d60e01b87528601528401523060448401525af19081156103405750610dc8575b50505b8082808080808080610d46565b813d8311610dea575b610ddb8183611f5e565b8101031261037b578180610db8565b503d610dd1565b6064928194600c54169087519889968795638dbdbe6d60e01b87528601528401523060448401525af19081156103405750610e2e575b5050610dbb565b813d8311610e50575b610e418183611f5e565b8101031261037b578180610e27565b503d610e37565b8781939892503d8311610e8a575b610e6f8183611f5e565b8101031261021e575194848616860361021e57889585610d7b565b503d610e65565b86513d84823e3d90fd5b975091508587813d8111610ec6575b610eb48183611f5e565b8101031261037b578796519189610d3f565b503d610eaa565b85513d8a823e3d90fd5b610f1394610ee36121ff565b93845284840152308984015260608301528a60a083015286600e5416908b89518096819582948352898301612242565b03925af18015610ecd57610f2b575b86818080610d17565b86809298503d8311610f52575b610f428183611f5e565b8101031261037b57869588610f22565b503d610f38565b995091508789813d8111610f84575b610f728183611f5e565b8101031261037b57899851918b610ce2565b503d610f68565b87513d8c823e3d90fd5b809a50898092503d8311610fc1575b610fae8183611f5e565b8101031261037b57975189989086610c4e565b503d610fa4565b8880929a503d8311610fef575b610fdf8183611f5e565b8101031261037b5788978a610c2e565b503d610fd5565b985090508688813d8111611021575b61100f8183611f5e565b8101031261037b57889751908a610bc4565b503d611005565b86513d8b823e3d90fd5b809950888092503d831161105c575b61104b8183611f5e565b8101031261037b578897518a610b66565b503d611041565b61106c90611f34565b611077578386610b2f565b505050fd5b82513d87823e3d90fd5b606490602085519162461bcd60e51b835282015260126024820152715661756c74206465706f736974206f6e6c7960701b6044820152fd5b50503461021e578160031936011261021e576020906005549051908152f35b8391503461021e578160031936011261021e57333b158015611669575b1561162d5791819261110a611f13565b600b546001600160a01b0392908316803b156104a55784809184845180948193631e8c5c8960e11b83525af1801561107c57908591611619575b50508260025416928151926370a0823160e01b90818552308186015260209560249587818881855afa9081156110285789916115e8575b506111ae575b8742601055337f188a622567eeca997c3d494fd65f76ca910b90a50a0c44d5e37b2ea5539e027b8280a280f35b845190838252308383015287828881845afa9182156110285789926115b6575b506111d76121ff565b90815273039e2fb66102314ce7b64ce5ce3e5183bc94ad38918289830152308783015260608201528860a082015284600e54168887518092818d8161122963076c8e2d60e11b988983528b8301612242565b03925af18015610f8b57611588575b508551848152308482015288818981865afa908115610f8b578a91611555575b50866112887f5c48b059bc2759d631bf4951f184f5641ca6db26a8ad956276910a01562d59b392600a54906120a2565b611298610c8e60075480936120b5565b906112b76112a6838361207f565b303303611546578a601254166120d5565b82519182528b820152a1855191848352308484015288838981845afa928315610f8b578a93611514575b5082611307575b505050505050505050506112fa611f80565b8082808080808080611181565b889186855416938285036114c2575b5050505050828154168451928352308284015286838781845afa928315610ecd578893611490575b508261134c575b80806112e8565b87908785600c5416848851809c8193630dfe168160e01b83525af18015610e91578899839997989991611456575b508516036113f05760649293600c54168187519889968795638dbdbe6d60e01b87528601528401523060448401525af190811561034057506113c7575b50505b8082808080808080611345565b813d83116113e9575b6113da8183611f5e565b8101031261037b5781806113b7565b503d6113d0565b6064928194600c54169087519889968795638dbdbe6d60e01b87528601528401523060448401525af1908115610340575061142d575b50506113ba565b813d831161144f575b6114408183611f5e565b8101031261037b578180611426565b503d611436565b8781939892503d8311611489575b61146e8183611f5e565b8101031261021e575194848616860361021e5788958561137a565b503d611464565b975091508587813d81116114bb575b6114a98183611f5e565b8101031261037b57879651918961133e565b503d61149f565b6114ce94610ee36121ff565b03925af18015610ecd576114e6575b86818080611316565b86809298503d831161150d575b6114fd8183611f5e565b8101031261037b578695886114dd565b503d6114f3565b995091508789813d811161153f575b61152d8183611f5e565b8101031261037b57899851918b6112e1565b503d611523565b61155084336120d5565b610cae565b809a50898092503d8311611581575b61156e8183611f5e565b8101031261037b57975189989086611258565b503d611564565b8880929a503d83116115af575b61159f8183611f5e565b8101031261037b5788978a611238565b503d611595565b985090508688813d81116115e1575b6115cf8183611f5e565b8101031261037b57889751908a6111ce565b503d6115c5565b809950888092503d8311611612575b6116018183611f5e565b8101031261037b578897518a61117b565b503d6115f7565b61162290611f34565b611077578386611144565b606490602084519162461bcd60e51b8352820152601660248201527508585d5d1a0810dbdb9d1c9858dd0812185c9d995cdd60521b6044820152fd5b506011543360089190911c6001600160a01b0316146110fa565b919050346103b557826003193601126103b55761169e611ee7565b825460ff8160a01c161561191e5760ff60a01b191683558051338152602091907f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa908390a1600354600b54825163095ea7b360e01b8082526001600160a01b039283168288019081527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6020820181905293949192918791839187169082908c90829060400103925af18015610ecd57611901575b50600e54845182815290841687820152600019602482015285816044818b73039e2fb66102314ce7b64ce5ce3e5183bc94ad385af18015610ecd576118e4575b506117cd8583856002541686600e54168b8b8a51968795869485938b8552840160209093929193604081019460018060a01b031681520152565b03925af18015610ecd5791611819939187936118c7575b5084885416908986600c54169188519687958694859384528d840160209093929193604081019460018060a01b031681520152565b03925af180156118bd576118a0575b5060115460081c1633148015611897575b1561184757836105fb611f13565b5162461bcd60e51b815291820152602660248201527f4e6f7420617574686f72697a65642c206f6e6c79205661756c74206f7220537460448201526572617465677960d01b606482015260849150fd5b50303314611839565b6118b690843d86116103395761032a8183611f5e565b5038611828565b83513d88823e3d90fd5b6118dd90843d86116103395761032a8183611f5e565b50386117e4565b6118fa90863d88116103395761032a8183611f5e565b5038611793565b61191790863d88116103395761032a8183611f5e565b5038611753565b5051638dfc202b60e01b8152fd5b50503461021e578160031936011261021e57602090600a549051908152f35b50503461021e578160031936011261021e576020906007549051908152f35b50503461021e578160031936011261021e57600d5490516001600160a01b039091168152602090f35b919050346103b557602090816003193601126103a757823592600260015414611bca57600260015560018060a01b03936119d58560115460081c16331461204a565b846003541683519285846024816370a0823160e01b9586825230868301525afa938415610ecd578894611b97575b508784848110611abc575b50505050907f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9482611a81938311611ab4575b50611a5a611a51600654846120a2565b600554906120b5565b60ff885460a01c161580611aa7575b611a96575b5060035460115460081c8216911661216f565b611a8961228e565b9051908152a16001805580f35b611aa0919261207f565b9038611a6e565b5060ff6011541615611a69565b915038611a41565b909192939450611ad188600b5416918661207f565b90803b156103b5576024839288519485938492632e1a7d4d60e01b8452888401525af18015610ecd57611b84575b508490602487600354169386519485938492835230908301525afa9081156118bd578691611b35575b509084611a818738611a0e565b9190508382813d8311611b7d575b611b4d8183611f5e565b8101031261037b5790517f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d611b28565b503d611b43565b96611b90869298611f34565b9690611aff565b9093508581813d8311611bc3575b611baf8183611f5e565b81010312611bbf57519238611a03565b8780fd5b503d611ba5565b9051633ee5aeb560e01b8152fd5b50503461021e578160031936011261021e5760035490516001600160a01b039091168152602090f35b9050346103b55760603660031901126103b55780359060243560443567ffffffffffffffff808211611cd95736602383011215611cd95781840135908111611cd957369101602401116104a557600c546001600160a01b03949085163303611c9f575084831315611c7a5750610603923391541661216f565b9150838213611c8a575b50505080f35b611c97923391541661216f565b388080611c84565b5162461bcd60e51b81526020818401526015602482015274556e617574686f72697a65642063616c6c6261636b60581b6044820152606490fd5b8680fd5b50503461021e578160031936011261021e576020905173039e2fb66102314ce7b64ce5ce3e5183bc94ad388152f35b50503461021e578160031936011261021e5760025490516001600160a01b039091168152602090f35b50503461021e578160031936011261021e57600e5490516001600160a01b039091168152602090f35b50503461021e578160031936011261021e5751908152602090f35b919050346103b55760203660031901126103b557813591611d98611ee7565b6105dc8311611dd35750816020917fe4a7fd2711237e77309a9a16ff636a748dbf956fd91f6e6da800d9302f441a799360145551908152a180f35b6020606492519162461bcd60e51b83528201526011602482015270496e76616c696420746f6c6572616e636560781b6044820152fd5b50503461021e578160031936011261021e576020906108fc612316565b50503461021e578160031936011261021e57600c5490516001600160a01b039091168152602090f35b9050346103b55760203660031901126103b557358015158091036103b5577f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af91602091611e9a611ee7565b60ff8019601154169116809117601155600014611ebd578360065551838152a180f35b600a60065551600a8152a180f35b84903461021e578160031936011261021e576020906009548152f35b6000546001600160a01b03163303611efb57565b60405163118cdaa760e01b8152336004820152602490fd5b60ff60005460a01c16611f2257565b60405163d93c066560e01b8152600490fd5b67ffffffffffffffff8111611f4857604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117611f4857604052565b6003546040516370a0823160e01b8152306004820152906001600160a01b03906020908390602490829085165afa91821561200b57600092612017575b5081611fc7575050565b600b541690813b1561037b5760009160248392604051948593849263b6b55f2560e01b845260048401525af1801561200b576120005750565b61200990611f34565b565b6040513d6000823e3d90fd5b90916020823d8211612042575b8161203160209383611f5e565b8101031261097a5750519038611fbd565b3d9150612024565b1561205157565b60405162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b6044820152606490fd5b9190820391821161208c57565b634e487b7160e01b600052601160045260246000fd5b8181029291811591840414171561208c57565b81156120bf570490565b634e487b7160e01b600052601260045260246000fd5b60405163a9059cbb60e01b60208281019182526001600160a01b039093166024830152604482019390935260009061211a81606481015b03601f198101835282611f5e565b5173039e2fb66102314ce7b64ce5ce3e5183bc94ad389382855af11561200b576000513d6121665750803b155b61214e5750565b60249060405190635274afe760e01b82526004820152fd5b60011415612147565b60405163a9059cbb60e01b60208281019182526001600160a01b039094166024830152604482019490945290926000916121ac816064810161210c565b519082855af11561200b576000513d6121f657506001600160a01b0381163b155b6121d45750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b600114156121cd565b6040519060c0820182811067ffffffffffffffff821117611f48576040528160a06000918281528260208201528260408201528260608201528260808201520152565b91909160a060c082019381600180821b03918281511685528260208201511660208601528260408201511660408601526060810151606086015260808101516080860152015116910152565b6122966122aa565b61229e612316565b810180911161208c5790565b6003546040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa90811561200b576000916122e8575090565b906020823d821161230e575b8161230160209383611f5e565b8101031261097a57505190565b3d91506122f4565b600b546040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa90811561200b576000916122e8575090565b9081602091031261037b5751801515810361037b579056fea26469706673582212202b653c00ef666e69c3bf69982319ef4801c2fd1bdf07f2644aca749a7d6b4f1d64736f6c63430008140033

    Block Age Transaction Gas Used Reward
    view all blocks ##produced##

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

    Validator Index Block Age Amount
    View All Withdrawals

    Transaction Hash Block Age Value Eth2 PubKey Valid
    View All Deposits

    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.