S Price: $0.718869 (+6.82%)
    /

    Contract

    0xBFa6850E8344DB1CD3A1e62dbd3B14417C126a59

    Overview

    S Balance

    Sonic LogoSonic LogoSonic Logo0 S

    S Value

    $0.00

    Multichain Info

    No addresses found
    Transaction Hash
    Method
    Block
    Age
    From
    To
    Harvest87358922025-02-19 20:52:029 days ago1739998322IN
    0xBFa6850E...17C126a59
    0 S0.0289508455
    Harvest87161122025-02-19 18:51:009 days ago1739991060IN
    0xBFa6850E...17C126a59
    0 S0.0289511755
    Harvest86947232025-02-19 16:49:599 days ago1739983799IN
    0xBFa6850E...17C126a59
    0 S0.0327851155
    Harvest86728382025-02-19 14:49:049 days ago1739976544IN
    0xBFa6850E...17C126a59
    0 S0.0287976155
    Harvest86521252025-02-19 12:48:039 days ago1739969283IN
    0xBFa6850E...17C126a59
    0 S0.0287976155
    Harvest85658472025-02-19 2:35:5010 days ago1739932550IN
    0xBFa6850E...17C126a59
    0 S0.028796955
    Harvest85510532025-02-19 0:34:5810 days ago1739925298IN
    0xBFa6850E...17C126a59
    0 S0.0287971755
    Harvest85358552025-02-18 22:34:0410 days ago1739918044IN
    0xBFa6850E...17C126a59
    0 S0.032632655
    Harvest85194212025-02-18 20:33:0710 days ago1739910787IN
    0xBFa6850E...17C126a59
    0 S0.0287548255
    Harvest85027062025-02-18 18:32:1510 days ago1739903535IN
    0xBFa6850E...17C126a59
    0 S0.028796955
    Harvest84846272025-02-18 16:31:1010 days ago1739896270IN
    0xBFa6850E...17C126a59
    0 S0.0288015255
    Harvest84663022025-02-18 14:30:1310 days ago1739889013IN
    0xBFa6850E...17C126a59
    0 S0.0287532855
    Harvest84515752025-02-18 12:29:1810 days ago1739881758IN
    0xBFa6850E...17C126a59
    0 S0.0289516155
    Harvest84374572025-02-18 10:28:2611 days ago1739874506IN
    0xBFa6850E...17C126a59
    0 S0.0289527155
    Harvest84226222025-02-18 8:27:3511 days ago1739867255IN
    0xBFa6850E...17C126a59
    0 S0.0326316155
    Harvest84063872025-02-18 6:26:3511 days ago1739859995IN
    0xBFa6850E...17C126a59
    0 S0.0326315555
    Harvest83928212025-02-18 4:25:4211 days ago1739852742IN
    0xBFa6850E...17C126a59
    0 S0.0325841455
    Harvest83799322025-02-18 2:24:4711 days ago1739845487IN
    0xBFa6850E...17C126a59
    0 S0.0326300755
    Harvest83655042025-02-18 0:23:5411 days ago1739838234IN
    0xBFa6850E...17C126a59
    0 S0.0289531555
    Harvest83037062025-02-17 16:47:0711 days ago1739810827IN
    0xBFa6850E...17C126a59
    0 S0.0293428355
    Harvest82863432025-02-17 14:46:1111 days ago1739803571IN
    0xBFa6850E...17C126a59
    0 S0.0288787955
    Harvest82695712025-02-17 12:45:1611 days ago1739796316IN
    0xBFa6850E...17C126a59
    0 S0.028795355
    Harvest82529502025-02-17 10:40:2812 days ago1739788828IN
    0xBFa6850E...17C126a59
    0 S0.0290338955
    Harvest82358112025-02-17 8:27:0512 days ago1739780825IN
    0xBFa6850E...17C126a59
    0 S0.0289582155
    Harvest82229972025-02-17 6:05:5212 days ago1739772352IN
    0xBFa6850E...17C126a59
    0 S0.0287976155
    View all transactions

    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 0xF0e8a2a1...E19DD02E4
    The constructor portion of the code might be different and could alter the actual behaviour of the contract

    Contract Name:
    Blacksail_Strategy_SwapX

    Compiler Version
    v0.8.20+commit.a1b79de6

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    paris EvmVersion
    File 1 of 18 : Blacksail_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/swapX/IPair.sol";
    import "../interfacing/ISwapX.sol";
    import "../interfacing/ISwapXGauge.sol";
    import "../interfacing/swapX/IRouterV2.sol";
    import "../interfacing/swapX/IV2SwapRouter.sol";
    contract Blacksail_Strategy_SwapX is Ownable, Pausable, ReentrancyGuard {
    using SafeERC20 for IERC20;
    // Tokens
    address public constant native_token = address(0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38);
    address public lp0;
    address public lp1;
    address public reward_token;
    address public staking_token;
    // Fee structure
    uint256 public WITHDRAWAL_MAX = 100000;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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 18 : 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

    File 16 of 18 : IPair.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 IPair {
    function metadata() external view returns (uint dec0, uint dec1, uint r0, uint r1, bool st, address t0, address t1);
    function claimFees() external returns (uint, uint);
    function tokens() external view returns (address, address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function transferFrom(address src, address dst, uint amount) external returns (bool);
    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function burn(address to) external returns (uint amount0, uint amount1);
    function mint(address to) external returns (uint liquidity);
    function getReserves() external view returns (uint _reserve0, uint _reserve1, uint _blockTimestampLast);
    function getAmountOut(uint, address) external view returns (uint);
    function name() external view returns(string memory);
    function symbol() external view returns(string memory);
    function totalSupply() external view returns (uint);
    function decimals() external view returns (uint8);
    function claimable0(address _user) external view returns (uint);
    function claimable1(address _user) external view returns (uint);
    function isStable() external view returns(bool);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 17 of 18 : IRouterV2.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 IRouterV2 {
    struct route {
    address from;
    address to;
    bool stable;
    }
    // performs chained getAmountOut calculations on any number of pairs
    function getAmountOut(
    uint amountIn,
    address tokenIn,
    address tokenOut
    ) external view returns (uint amount, bool stable);
    // performs chained getAmountOut calculations on any number of pairs
    function getAmountsOut(
    uint amountIn,
    route[] memory routes
    ) external view returns (uint[] memory amounts);
    function isPair(address pair) external view returns (bool);
    function quoteAddLiquidity(
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 18 of 18 : IV2SwapRouter.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;
    pragma abicoder v2;
    /// @title Router token swapping functionality
    /// @notice Functions for swapping tokens via Uniswap V2
    interface IV2SwapRouter {
    struct Route {
    address from;
    address to;
    bool stable;
    }
    /// @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 amountIn The amount of token to swap
    /// @param amountOutMin The minimum amount of output that must be received
    /// @param path The ordered list of tokens to swap through
    /// @param to The recipient address
    /// @return amountOut The amount of the received token
    function swapExactTokensForTokens(
    uint256 amountIn,
    uint256 amountOutMin,
    Route[] calldata path,
    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

    [{"inputs":[{"internalType":"address","name":"_staking_token","type":"address"},{"internalType":"address","name":"_rewardPool","type":"address"},{"internalType":"address","name":"_reward_token","type":"address"},{"internalType":"address","name":"_unirouter","type":"address"},{"internalType":"address","name":"_lpRouter","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":"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":[],"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":"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":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lp0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lp1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"vault","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

    0x608060408181526004918236101561001657600080fd5b600092833560e01c918263025e30b014611f49575081630974632414611f205781630c8106dc14611ef75781630e8fbb5a14611e7b5781631158808614611e5e578163117da1ee14611dce578163171d218914611db3578163257ae0de14611d8a5781632638c09e14611d6257816327ced53714611d335781632dc7d74c14611d0a5781632e1a7d4d14611a465781633410fe6e14611a2757816334fbc9a114611a085781633f4ba83a146117df5781634641257d1461118457816354518b1a14611165578163573fef0a14610a875781635c975abb14610a6257816361d027b314610a3957816366666aa914610a105781636817031b14610946578163715018a6146108e9578163722713f7146108cc5781637b83fc1d146108a35781637ff8f1e91461087f5781638456cb59146106855781638912cb8b146106615781638da5cb5b14610639578163951d6d201461061a5781639bff5ddb146105fb578163d03153aa146105dc578163d0e30db01461053a578163e7a7250a146104a7578163f1a392da14610488578163f2fde38b146103ef578163f301af4214610398578163fb61778714610201575063fbfa77cf146101d257600080fd5b346101fd57816003193601126101fd57601054905160089190911c6001600160a01b03168152602090f35b5080fd5b9190503461039457826003193601126103945760018060a01b039061022e8260105460081c16331461211c565b8382600c541661023c612365565b813b156103945782916024839286519485938492632e1a7d4d60e01b84528b8401525af1801561038a57610372575b505081600554168151906370a0823160e01b82523085830152602094868684602481865afa938415610366579087949392918194610328575b50601054865163a9059cbb60e01b81526001600160a01b0360089290921c9098161691870191825260208201939093528592839182906040015b03925af190811561031f57506102f2578280f35b8161031192903d10610318575b6103098183612030565b8101906123a3565b5038808280f35b503d6102ff565b513d85823e3d90fd5b9480929794508591503d831161035f575b6103438183612030565b8101031261035a576102de948787945193966102a4565b600080fd5b503d610339565b508451903d90823e3d90fd5b61037b90611fb2565b61038657833861026b565b8380fd5b83513d84823e3d90fd5b8280fd5b90503461039457602036600319011261039457356012548110156103945760126020935260018060a01b03907fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440154169051908152f35b91905034610394576020366003190112610394576001600160a01b0382358181169391929084900361048457610423611f65565b831561046e575050600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8480fd5b5050346101fd57816003193601126101fd57602090600f549051908152f35b8383346101fd57816003193601126101fd57600c5481516246613160e11b81523094810194909452602090849060249082906001600160a01b03165afa91821561052f57916104fb575b6020925051908152f35b90506020823d8211610527575b8161051560209383612030565b8101031261035a5760209151906104f1565b3d9150610508565b9051903d90823e3d90fd5b919050346103945782600319360112610394576010543360089190911c6001600160a01b03161480156105d3575b156105815782610576611f91565b61057e612052565b80f35b906020608492519162461bcd60e51b8352820152602660248201527f4e6f7420617574686f72697a65642c206f6e6c79205661756c74206f7220537460448201526572617465677960d01b6064820152fd5b50303314610568565b5050346101fd57816003193601126101fd576020906013549051908152f35b5050346101fd57816003193601126101fd576020906007549051908152f35b5050346101fd57816003193601126101fd576020906009549051908152f35b5050346101fd57816003193601126101fd57905490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5760209060ff6010541690519015158152f35b90503461039457826003193601126103945761069f611f65565b6106a7611f91565b825460ff60a01b1916600160a01b1783558151338152602092907f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258908490a1600554600c54825163095ea7b360e01b8082526001600160a01b0392831682870152602482018890529194928690829060449082908b908a165af1801561081e57610862575b5083600d54168351908282528382015286602482015285816044818a73039e2fb66102314ce7b64ce5ce3e5183bc94ad385af1801561081e57610845575b50858585845416604487600d541687519485938492888452898401528160248401525af1801561081e57610828575b5085858560025416604487600e541687519485938492888452898401528160248401525af1801561081e5791604491879493610801575b5087866003541696600e5416968651978895869485528401528160248401525af190811561031f57506102f2578280f35b61081790853d8711610318576103098183612030565b50386107d0565b84513d89823e3d90fd5b61083e90863d8811610318576103098183612030565b5038610799565b61085b90863d8811610318576103098183612030565b503861076a565b61087890863d8811610318576103098183612030565b503861072c565b5050346101fd57816003193601126101fd5760209061089c6122f9565b9051908152f35b5050346101fd57816003193601126101fd5760025490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5760209061089c6122dd565b8334610943578060031936011261094357610902611f65565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b9050346103945760203660031901126103945780356001600160a01b0381169290919083830361048457610978611f65565b823b156109cd57505060108054610100600160a81b03191660089290921b610100600160a81b03169190911790557fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f308280a280f35b906020606492519162461bcd60e51b8352820152601860248201527f5661756c74206d757374206265206120636f6e747261637400000000000000006044820152fd5b5050346101fd57816003193601126101fd57600c5490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5760115490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5760ff6020925460a01c1690519015158152f35b9190503461039457826003193601126103945760105460ff8116610aa9578380f35b6001600160a01b039060081c8116330361112d57610ac5611f91565b8381600c5416803b156101fd5781809186865180948193631e8c5c8960e11b83525af180156111235761110f575b5050808354168251936370a0823160e01b808652308287015260209260249684818981855afa9081156110385789916110e2575b50610b64575b5050505050505042600f55337f188a622567eeca997c3d494fd65f76ca910b90a50a0c44d5e37b2ea5539e027b8280a23880808380f35b87865191838352308584015285838a81845afa9283156110d85792888388938c968b969461109d575b50908591835194610b9d86611fdc565b60808601918383528652838b8888019a8273039e2fb66102314ce7b64ce5ce3e5183bc94ad389c8d8152898b019330855260608c0196875260a08c0198895282600d54169a519d8e9c8d63076c8e2d60e11b90525116908c015251169089015251166044870152516064860152516084850152511660a4830152818c5a9260c493f1801561103857908591611074575b50508551828152308482015284818981855afa9081156110385787908a92611042575b50610c7f7f5c48b059bc2759d631bf4951f184f5641ca6db26a8ad956276910a01562d59b392600b5490612174565b610ca1610c8f6008548093612187565b91610c9c60095484612174565b612187565b90610cb9610caf8383612151565b8a601154166121a7565b825191825287820152a18551828152308482015284818981855afa90811561103857899161100b575b50908489939260011c8851610cf681612014565b60018152855b838110610fd957508860025416808503610f39575b508860035416808503610e98575b50505050508460025416938651828152308582015281818a81895afa908115610e8e578491610e5d575b508660035416928851908152308682015282818b81875afa928315610e53578593610e19575b50509061012494939291606097600e54169289519a8b988997635a47ddc360e01b8952880152860152836044860152606485015260848401528160a48401528160c48401523060e4840152426101048401525af1908115610e105750610de5575b50610dd9612052565b38808080808080610b2d565b606090813d8111610e09575b610dfb8183612030565b810103126109435738610dd0565b503d610df1565b513d84823e3d90fd5b8092969550819493503d8311610e4c575b610e348183612030565b8101031261035a579051919288929080610124610d6f565b503d610e2a565b89513d87823e3d90fd5b809450828092503d8311610e87575b610e768183612030565b8101031261035a5788925138610d49565b503d610e6c565b88513d86823e3d90fd5b610ee594610ea583612237565b515283610eb183612237565b510152858a610ebf83612237565b51015288600d541690868b51809681958294632fdb223960e01b845230918d850161225a565b03925af18015610f2f57908591610f00575b80808392610d1f565b90809293503d8311610f28575b610f178183612030565b8101031261035a5786908338610ef7565b503d610f0d565b87513d85823e3d90fd5b9091925083610f4783612237565b515287610f5383612237565b5101528489610f6183612237565b51015287600d5416878a518092632fdb223960e01b8252818981610f8a8d898b3092850161225a565b03925af18015610fcf57908893929115610d11579092809296503d8311610fc8575b610fb68183612030565b8101031261035a578993869138610d11565b503d610fac565b8a513d88823e3d90fd5b909291939495508951610feb81611ff8565b8c81528c838201528c8b820152828285010152019186918b959493610cfc565b90508481813d8311611031575b6110228183612030565b8101031261035a575138610ce2565b503d611018565b87513d8b823e3d90fd5b809250868092503d831161106d575b61105b8183612030565b8101031261035a575186610c7f610c50565b503d611051565b813d8311611096575b6110878183612030565b8101031261035a578338610c2d565b503d61107d565b9650945050505082813d83116110d1575b6110b88183612030565b8101031261035a5784869188838c8c9651939091610b8d565b503d6110ae565b88513d84823e3d90fd5b90508481813d8311611108575b6110f98183612030565b8101031261035a575138610b27565b503d6110ef565b61111890611fb2565b610386578338610af3565b84513d84823e3d90fd5b815162461bcd60e51b815260208185015260126024820152715661756c74206465706f736974206f6e6c7960701b6044820152606490fd5b5050346101fd57816003193601126101fd576020906006549051908152f35b91905034610394578260031936011261039457333b1580156117c5575b15611789576111ae611f91565b600c546001600160a01b039084908216803b156101fd5781809186865180948193631e8c5c8960e11b83525af1801561112357611775575b5050808354168251936370a0823160e01b808652308287015260209260249684818981855afa908115611038578991611748575b5061124d575b8742600f55337f188a622567eeca997c3d494fd65f76ca910b90a50a0c44d5e37b2ea5539e027b8280a280f35b87865191838352308584015285838a81845afa9283156110d857888388938c938b969761170e575b50908591898385519661128788611fdc565b8888019082888a019260608b019560808c01978989528c5273039e2fb66102314ce7b64ce5ce3e5183bc94ad389e8f8352308652875260a08c0198895282600d54169a519d8e9c8d63076c8e2d60e11b90525116908c015251169089015251166044870152516064860152516084850152511660a4830152818c5a9260c493f18015611038579085916116e5575b50508551828152308482015284818981855afa9081156110385787908a926116b3575b506113677f5c48b059bc2759d631bf4951f184f5641ca6db26a8ad956276910a01562d59b392600b5490612174565b611377610c8f6008548093612187565b906113966113858383612151565b3033036116a4578a601154166121a7565b825191825287820152a18551828152308482015284818981855afa908115611038578991611677575b50908489939260011c88516113d381612014565b60018152855b838110611645575088600254168085036115af575b508860035416808503611558575b50505050508460025416938651828152308582015281818a81895afa908115610e8e578491611527575b508660035416928851908152308682015282818b81875afa928315610e535785936114ed575b50509061012494939291606097600e54169289519a8b988997635a47ddc360e01b8952880152860152836044860152606485015260848401528160a48401528160c48401523060e4840152426101048401525af1908115610e1057506114c2575b506114b6612052565b38808080808080611220565b606090813d81116114e6575b6114d88183612030565b8101031261094357386114ad565b503d6114ce565b8092969550819493503d8311611520575b6115088183612030565b8101031261035a57905191928892908061012461144c565b503d6114fe565b809450828092503d8311611551575b6115408183612030565b8101031261035a5788925138611426565b503d611536565b61156594610ea583612237565b03925af18015610f2f57908591611580575b808083926113fc565b90809293503d83116115a8575b6115978183612030565b8101031261035a5786908338611577565b503d61158d565b90919250836115bd83612237565b5152876115c983612237565b51015284896115d783612237565b51015287600d5416878a518092632fdb223960e01b82528189816116008d898b3092850161225a565b03925af18015610fcf579088939291156113ee579092809296503d831161163e575b61162c8183612030565b8101031261035a5789938691386113ee565b503d611622565b90929193949550895161165781611ff8565b8c81528c838201528c8b820152828285010152019186918b9594936113d9565b90508481813d831161169d575b61168e8183612030565b8101031261035a5751386113bf565b503d611684565b6116ae84336121a7565b610caf565b809250868092503d83116116de575b6116cc8183612030565b8101031261035a575186611367611338565b503d6116c2565b813d8311611707575b6116f88183612030565b8101031261035a578338611315565b503d6116ee565b9550955050505081813d8311611741575b6117298183612030565b8101031261035a57848888888c819551969091611275565b503d61171f565b90508481813d831161176e575b61175f8183612030565b8101031261035a57513861121a565b503d611755565b61177e90611fb2565b6103865783386111e6565b906020606492519162461bcd60e51b8352820152601660248201527508585d5d1a0810dbdb9d1c9858dd0812185c9d995cdd60521b6044820152fd5b506010543360089190911c6001600160a01b0316146111a1565b9050346103945782600319360112610394576117f9611f65565b825460ff8160a01c16156119f95760ff60a01b191683558151338152602092907f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa908490a160018060a01b03918260055416928581600c541691845163095ea7b360e01b93848252858201528781604481866000199b8c60248401525af18015611998576119dc575b5080600d54168551908482528582015286602482015287816044818673039e2fb66102314ce7b64ce5ce3e5183bc94ad385af18015611998576119bf575b50818782865416604484600d5416895194859384928a84528b8401528c60248401525af18015611998576119a2575b5081878260025416604484600e5416895194859384928a84528b8401528c60248401525af180156119985791604493918996959361197b575b50806003541690600e54169787519889968795865285015260248401525af190811561031f575061195d575b8261057e612052565b8161197392903d10610318576103098183612030565b503880611954565b61199190873d8911610318576103098183612030565b5038611928565b86513d85823e3d90fd5b6119b890883d8a11610318576103098183612030565b50386118ef565b6119d590883d8a11610318576103098183612030565b50386118c0565b6119f290883d8a11610318576103098183612030565b5038611882565b509051638dfc202b60e01b8152fd5b5050346101fd57816003193601126101fd57602090600b549051908152f35b5050346101fd57816003193601126101fd576020906008549051908152f35b839150346101fd5760209081600319360112610394578035600260015414611cfb57600260015560018060a01b0390611a878260105460081c16331461211c565b816005541686519085826024816370a0823160e01b94858252308a8301525afa918215611cb957908692918892611cc7575b5081848110611bf1575b505082600092938211611be9575b50611aea611ae160075483612174565b60065490612187565b60ff885460a01c161580611bdc575b611bcd575b50600554601054895163a9059cbb60e01b86820190815260089290921c87166001600160a01b03166024820152604481019390935294169390611b4e81606481015b03601f198101835282612030565b519082855af115611bc2576000513d611bb95750803b155b611ba357837f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d8487611b966122dd565b9051908152a16001805580f35b8451635274afe760e01b81529182015260249150fd5b60011415611b66565b84513d6000823e3d90fd5b611bd691612151565b88611afe565b5060ff6010541615611af9565b905088611ad1565b91509150611c0484600c54169184612151565b813b15611cc3578791602483928b519485938492632e1a7d4d60e01b84528b8401525af18015611cb957611ca6575b50848360055416916024895180948193825230898301525afa908115611c9c57908592918791611c6a575b50909190600089611ac3565b8381939492503d8311611c95575b611c828183612030565b8101031261035a57518491906000611c5e565b503d611c78565b87513d88823e3d90fd5b611cb290969196611fb2565b9487611c33565b88513d89823e3d90fd5b8780fd5b8092508391933d8311611cf4575b611cdf8183612030565b81010312611cf05751859189611ab9565b8680fd5b503d611cd5565b508351633ee5aeb560e01b8152fd5b5050346101fd57816003193601126101fd5760055490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd576020905173039e2fb66102314ce7b64ce5ce3e5183bc94ad388152f35b9050346103945782600319360112610394575490516001600160a01b03909116815260209150f35b5050346101fd57816003193601126101fd57600d5490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5751908152602090f35b9190503461039457602036600319011261039457813591611ded611f65565b6105dc8311611e285750816020917fe4a7fd2711237e77309a9a16ff636a748dbf956fd91f6e6da800d9302f441a799360135551908152a180f35b6020606492519162461bcd60e51b83528201526011602482015270496e76616c696420746f6c6572616e636560781b6044820152fd5b5050346101fd57816003193601126101fd5760209061089c612365565b9050346103945760203660031901126103945735801515809103610394577f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af91602091611ec6611f65565b60ff8019601054169116809117601055600014611ee9578360075551838152a180f35b600a60075551600a8152a180f35b5050346101fd57816003193601126101fd57600e5490516001600160a01b039091168152602090f35b5050346101fd57816003193601126101fd5760035490516001600160a01b039091168152602090f35b8490346101fd57816003193601126101fd57602090600a548152f35b6000546001600160a01b03163303611f7957565b60405163118cdaa760e01b8152336004820152602490fd5b60ff60005460a01c16611fa057565b60405163d93c066560e01b8152600490fd5b67ffffffffffffffff8111611fc657604052565b634e487b7160e01b600052604160045260246000fd5b60c0810190811067ffffffffffffffff821117611fc657604052565b6060810190811067ffffffffffffffff821117611fc657604052565b6040810190811067ffffffffffffffff821117611fc657604052565b90601f8019910116810190811067ffffffffffffffff821117611fc657604052565b6005546040516370a0823160e01b8152306004820152906001600160a01b03906020908390602490829085165afa9182156120dd576000926120e9575b5081612099575050565b600c541690813b1561035a5760009160248392604051948593849263b6b55f2560e01b845260048401525af180156120dd576120d25750565b6120db90611fb2565b565b6040513d6000823e3d90fd5b90916020823d8211612114575b8161210360209383612030565b81010312610943575051903861208f565b3d91506120f6565b1561212357565b60405162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b6044820152606490fd5b9190820391821161215e57565b634e487b7160e01b600052601160045260246000fd5b8181029291811591840414171561215e57565b8115612191570490565b634e487b7160e01b600052601260045260246000fd5b60405163a9059cbb60e01b60208281019182526001600160a01b03909316602483015260448201939093526000906121e28160648101611b40565b5173039e2fb66102314ce7b64ce5ce3e5183bc94ad389382855af1156120dd576000513d61222e5750803b155b6122165750565b60249060405190635274afe760e01b82526004820152fd5b6001141561220f565b8051156122445760200190565b634e487b7160e01b600052603260045260246000fd5b91939293608083019183526001602092818486015260409360808587015283518092528060a087019401946000905b8382106122a7575050505050606091509360018060a01b0316910152565b865180516001600160a01b0390811688528482015116848801528101511515818701529582019560609095019490840190612289565b6122e56122f9565b6122ed612365565b810180911161215e5790565b6005546040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa9081156120dd57600091612337575090565b906020823d821161235d575b8161235060209383612030565b8101031261094357505190565b3d9150612343565b600c546040516370a0823160e01b815230600482015290602090829060249082906001600160a01b03165afa9081156120dd57600091612337575090565b9081602091031261035a5751801515810361035a579056fea2646970667358221220d58749e9b9ba810847f910cfc829f8ad55d207a3bf7753c0d56c4a821519ac8564736f6c63430008140033

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