S Price: $0.841336 (-1.07%)
    /

    Contract

    0x6171ba9Eac89C41c319441B6001b66d36965b386

    Overview

    S Balance

    Sonic LogoSonic LogoSonic Logo0 S

    S Value

    $0.00

    Multichain Info

    No addresses found
    Transaction Hash
    Method
    Block
    Age
    From
    To
    Withdraw All87725432025-02-20 0:48:324 days ago1740012512IN
    0x6171ba9E...36965b386
    0 S0.0132415855
    Withdraw All65279572025-02-04 11:52:5920 days ago1738669979IN
    0x6171ba9E...36965b386
    0 S0.0134032855
    Deposit All58747762025-01-30 8:33:0225 days ago1738225982IN
    0x6171ba9E...36965b386
    0 S0.0410465557
    Deposit All45802302025-01-19 19:24:2535 days ago1737314665IN
    0x6171ba9E...36965b386
    0 S0.0394495255
    Withdraw All44313232025-01-18 18:18:5936 days ago1737224339IN
    0x6171ba9E...36965b386
    0 S0.0047150455
    Withdraw All44312682025-01-18 18:18:3336 days ago1737224313IN
    0x6171ba9E...36965b386
    0 S0.0136599155
    Deposit All40300082025-01-15 18:11:3539 days ago1736964695IN
    0x6171ba9E...36965b386
    0 S0.0247350133
    Deposit All39551862025-01-15 5:28:0640 days ago1736918886IN
    0x6171ba9E...36965b386
    0 S0.0133208733

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

    Contract Name:
    Blacksail_Vault

    Compiler Version
    v0.8.20+commit.a1b79de6

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    paris EvmVersion
    File 1 of 16 : Blacksail_Vault.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/ERC20.sol";
    import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
    import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
    import "@openzeppelin/contracts/access/Ownable.sol";
    import "./BlackSail_Interface.sol";
    contract Blacksail_Vault is ERC20, ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;
    mapping (address => AccountInfo) public accountData;
    // The last proposed strategy to switch to.
    UpgradedStrategy public stratCandidate;
    // The strategy currently in use by the vault.
    ISailStrategy public strategy;
    // The minimum time it has to pass before a strat candidate can be approved, set to 24 hours
    uint256 constant approvalDelay = 86400;
    struct AccountInfo {
    uint256 actionTime;
    uint256 amount;
    string lastAction;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 16 : 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 16 : draft-IERC6093.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/draft-IERC6093.sol)
    pragma solidity ^0.8.20;
    /**
    * @dev Standard ERC-20 Errors
    * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
    */
    interface IERC20Errors {
    /**
    * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
    * @param sender Address whose tokens are being transferred.
    * @param balance Current balance for the interacting account.
    * @param needed Minimum amount required to perform a transfer.
    */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);
    /**
    * @dev Indicates a failure with the token `sender`. Used in transfers.
    * @param sender Address whose tokens are being transferred.
    */
    error ERC20InvalidSender(address sender);
    /**
    * @dev Indicates a failure with the token `receiver`. Used in transfers.
    * @param receiver Address to which tokens are being transferred.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 16 : 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 5 of 16 : 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 6 of 16 : 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 7 of 16 : ERC20.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/ERC20.sol)
    pragma solidity ^0.8.20;
    import {IERC20} from "./IERC20.sol";
    import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
    import {Context} from "../../utils/Context.sol";
    import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
    /**
    * @dev Implementation of the {IERC20} interface.
    *
    * This implementation is agnostic to the way tokens are created. This means
    * that a supply mechanism has to be added in a derived contract using {_mint}.
    *
    * TIP: For a detailed writeup see our guide
    * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
    * to implement supply mechanisms].
    *
    * The default value of {decimals} is 18. To change this, you should override
    * this function so it returns a different value.
    *
    * We have followed general OpenZeppelin Contracts guidelines: functions revert
    * instead returning `false` on failure. This behavior is nonetheless
    * conventional and does not conflict with the expectations of ERC-20
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 16 : IERC20Metadata.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/extensions/IERC20Metadata.sol)
    pragma solidity ^0.8.20;
    import {IERC20} from "../IERC20.sol";
    /**
    * @dev Interface for the optional metadata functions from the ERC-20 standard.
    */
    interface IERC20Metadata is IERC20 {
    /**
    * @dev Returns the name of the token.
    */
    function name() external view returns (string memory);
    /**
    * @dev Returns the symbol of the token.
    */
    function symbol() external view returns (string memory);
    /**
    * @dev Returns the decimals places of the token.
    */
    function decimals() external view returns (uint8);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 16 : 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 10 of 16 : 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 11 of 16 : 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 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : 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 16 of 16 : BlackSail_Interface.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';
    interface ISailFactory {
    function treasury() external view returns (address);
    function paused() external view returns (bool);
    }
    interface ISailCurve {
    function mustStaySAIL(address account) external view returns (uint256);
    }
    interface IxSAIL {
    function balanceOf(address account) external view returns (uint256);
    //function notifyRewardAmount(address _rewardsToken, uint256 reward) external;
    }
    interface ISailWhalePrevention {
    function timelockRemaining() external view returns (bool active, uint256 timeleft);
    }
    interface ISailStrategy {
    function vault() external view returns (address);
    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":"contract ISailStrategy","name":"_strategy","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","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":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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":"implementation","type":"address"}],"name":"ProposedStrategyUpgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"implementation","type":"address"}],"name":"UpgradeStrat","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accountData","outputs":[{"internalType":"uint256","name":"actionTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"lastAction","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"proposeStrategyUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stratCandidate","outputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"uint256","name":"proposedTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"contract ISailStrategy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

    Deployed Bytecode

    0x6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde031461121057508063095ea7b31461116757806318160ddd146111485780631f1fcd511461111a57806323b872dd146110275780632e1a7d4d14610df1578063313ce56714610dd557806336d7d3f814610c8457806348a0d75414610c6757806370a0823114610c30578063715018a614610bd257806376dfabb814610b9d57806377c7b8fc14610b205780637b510fe814610aeb578063853828b6146108725780638da5cb5b1461084957806395d89b411461075e578063a8c62e7614610735578063a9059cbb14610704578063b69ef8a8146106e0578063b6b55f2514610647578063dd62ed3e146105f9578063de5f6268146103a9578063deb906e714610353578063e6685244146101cf5763f2fde38b1461014157600080fd5b346101cb5760203660031901126101cb5761015a6112f8565b9061016361148b565b6001600160a01b039182169283156101b5575050600654826001600160601b0360a01b821617600655167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50346101cb57826003193601126101cb576101e861148b565b6008546001600160a01b0392908316801561031857600954620151808101809111610305574211156102cb57907f7f37d440e85aba7fbf641c4bda5ca4ef669a80bffaacde2aa8d9feb1b048c82c60208694938351908152a183600a541691823b156102c757815163fb61778760e01b81529284918491829084905af19081156102be57506102a6575b50506008546001600160601b0360a01b91811682600a541617600a551660085564012a05f2006009556102a3611982565b80f35b6102af9061137d565b6102ba578138610272565b5080fd5b513d84823e3d90fd5b8380fd5b815162461bcd60e51b8152602081850152601460248201527311195b185e481a185cc81b9bdd081c185cdcd95960621b6044820152606490fd5b634e487b7160e01b865260118452602486fd5b815162461bcd60e51b815260208185015260156024820152745468657265206973206e6f2063616e64696461746560581b6044820152606490fd5b5050346102ba5760203660031901126102ba579081906001600160a01b036103796112f8565b168152600760205220906103a582549161039a6002600186015495016113e5565b905193849384611324565b0390f35b50346101cb57826003193601126101cb576001600160a01b0391826103cc6116dd565b1681519384916370a0823160e01b8352338584015282602460209788935afa9182156105ef5786926105bb575b5061040261195f565b8115610587578590600a5416803b156102ba5781809186865180948193632b9ff78560e11b83525af1801561057d57610565575b505061047e61044361173f565b9161044c6116dd565b8451916323b872dd60e01b88840152336024840152306044840152606483015260648252610479826113a7565b611903565b610486611982565b6104978161049261173f565b6118bf565b90600254801560001461054a575050600781945b83518381527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c823392a23387528181526002848820016104f46104ee8254611343565b826118cc565b600e6611195c1bdcda5d60ca1b01905533875252610519600183872001918254611583565b90553315610534578361052c8433611662565b600160055580f35b5163ec442f0560e01b8152908101839052602490fd5b60079161055a61055f928561188c565b61189f565b946104ab565b61056e9061137d565b610579578438610436565b8480fd5b84513d84823e3d90fd5b825162461bcd60e51b8152808501869052600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b6044820152606490fd5b9091508481813d83116105e8575b6105d381836113c3565b810103126105e3575190386103f9565b600080fd5b503d6105c9565b83513d88823e3d90fd5b5050346102ba57806003193601126102ba576020916106166112f8565b8261061f61130e565b6001600160a01b03928316845260018652922091166000908152908352819020549051908152f35b50346101cb57602091826003193601126102c757813561066561195f565b80156106ad57600a5485906001600160a01b0316803b156102ba5781809186865180948193632b9ff78560e11b83525af1801561057d5761056557505061047e61044361173f565b5091606492519162461bcd60e51b8352820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b6044820152fd5b5050346102ba57816003193601126102ba576020906106fd61173f565b9051908152f35b5050346102ba57806003193601126102ba5760209061072e6107246112f8565b60243590336114b7565b5160018152f35b5050346102ba57816003193601126102ba57600a5490516001600160a01b039091168152602090f35b50913461084657806003193601126108465750805190600092805461078281611343565b8085529160019180831690811561081e57506001146107c0575b5050506107ae826103a59403836113c3565b519182916020835260208301906112b8565b600090815294507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b828610610806575050506107ae8260206103a5958201019461079c565b805460208787018101919091529095019481016107e9565b6103a59750869350602092506107ae94915060ff191682840152151560051b8201019461079c565b80fd5b5050346102ba57816003193601126102ba5760065490516001600160a01b039091168152602090f35b5090346101cb57826003193601126101cb57338352602090838252808420549161089a61195f565b6108b76108ae846108a961173f565b61188c565b6002549061189f565b923315610ad457906108cb869392336115a6565b6001600160a01b03806108dc6116dd565b1683519683886024816370a0823160e01b9586825230868301525afa978815610aca578698610a97575b50868810610985575b8561052c888260018960078a82518681527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364823392a233855281815260028386200161095e6104ee8254611343565b601067576974686472617760c01b0190553385525282200155336109806116dd565b6119e5565b61098f88886118bf565b9280600a5416803b15610a93578780916024895180948193632e1a7d4d60e01b83528a898401525af18015610a8957869392918991610a6c575b50506024906109d66116dd565b169387519485938492835230908301525afa908115610a62578591610a2d575b5095610a058161052c986118bf565b918210610a13575b8061090f565b600193929550600791610a2591611583565b949192610a0d565b809550838092503d8311610a5b575b610a4681836113c3565b810103126105e3579251869390610a056109f6565b503d610a3c565b84513d87823e3d90fd5b610a789192945061137d565b610a8557849187386109c9565b8680fd5b87513d8a823e3d90fd5b8780fd5b84809299508197503d8311610ac3575b610ab181836113c3565b810103126105e3578794519638610906565b503d610aa7565b85513d88823e3d90fd5b8251634b637e8f60e11b8152808601879052602490fd5b5050346102ba5760203660031901126102ba576103a590610b12610b0d6112f8565b611a21565b909391925193849384611324565b5091346108465780600319360112610846576002549081610b5257505060209150670de0b6b3a7640000905b51908152f35b610b5a61173f565b90670de0b6b3a764000091828102928184041490151715610b8a57506020935090610b849161189f565b90610b4c565b634e487b7160e01b815260118552602490fd5b8284346108465780600319360112610846575060085460095491516001600160a01b0390911681526020810191909152604090f35b8334610846578060031936011261084657610beb61148b565b600680546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102ba5760203660031901126102ba5760209181906001600160a01b03610c586112f8565b16815280845220549051908152f35b5050346102ba57816003193601126102ba576020906106fd61181e565b509190346102ba57602090816003193601126101cb57610ca26112f8565b90610cab61148b565b805163fbfa77cf60e01b81526001600160a01b03928316929084818881875afa9081156105ef578691610da8575b50163003610d5c57805181810181811067ffffffffffffffff821117610d47577f8a3493fb3a47f4ad752dfbeb8dc0b8ce6bb6c8a55a9cf69512ca5c2cc8768adb95965082528281528342910152816001600160601b0360a01b60085416176008554260095551908152a180f35b604187634e487b7160e01b6000525260246000fd5b5162461bcd60e51b8152808501839052602160248201527f50726f706f73616c206e6f742076616c696420666f722074686973205661756c6044820152601d60fa1b6064820152608490fd5b610dc89150853d8711610dce575b610dc081836113c3565b8101906116be565b38610cd9565b503d610db6565b5050346102ba57816003193601126102ba576020905160128152f35b508290346102ba57602092836003193601126101cb57813591610e1261195f565b610e216108ae846108a961173f565b92331561101157610e3290336115a6565b6001600160a01b0380610e436116dd565b169083519187836024816370a0823160e01b9485825230898301525afa928315611007578793610fd8575b50858310610ec6575b8661052c878260018960078e82518681527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364823392a233855281815260028386200161095e6104ee8254611343565b610ed5838796959994976118bf565b9180600a5416803b15610fd457888460248c838a519586948593632e1a7d4d60e01b85528401525af18015610fca57610fae575b50879860248592610f1c9a98999a6116dd565b169387519485938492835230908301525afa908115610a62578591610f79575b5095610f4b8161052c986118bf565b918210610f5f575b82975083949650610e77565b600193929550600791610f7191611583565b949192610f53565b809550838092503d8311610fa7575b610f9281836113c3565b810103126105e3579251869390610f4b610f3c565b503d610f88565b988491969798610fbf60249b61137d565b989796915098610f09565b86513d8b823e3d90fd5b8880fd5b9092508781813d8311611000575b610ff081836113c3565b81010312610a8557519188610e6e565b503d610fe6565b85513d89823e3d90fd5b50836024925191634b637e8f60e11b8352820152fd5b508234610846576060366003190112610846576110426112f8565b61104a61130e565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198303611086575b60208861072e8989896114b7565b8683106110ee5781156110d75733156110c05750825260016020908152868320338452815291869020908590039055829061072e87611078565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b5050346102ba57816003193601126102ba576020906111376116dd565b90516001600160a01b039091168152f35b5050346102ba57816003193601126102ba576020906002549051908152f35b50346101cb57816003193601126101cb576111806112f8565b6024359033156111f9576001600160a01b03169182156111e257508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b849084346101cb57826003193601126101cb578260035461123081611343565b8085529160019180831690811561081e575060011461125b575050506107ae826103a59403836113c3565b9450600385527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8286106112a0575050506107ae8260206103a5958201019461079c565b80546020878701810191909152909501948101611283565b919082519283825260005b8481106112e4575050826000602080949584010152601f8019910116010190565b6020818301810151848301820152016112c3565b600435906001600160a01b03821682036105e357565b602435906001600160a01b03821682036105e357565b61134093926060928252602082015281604082015201906112b8565b90565b90600182811c92168015611373575b602083101461135d57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611352565b67ffffffffffffffff811161139157604052565b634e487b7160e01b600052604160045260246000fd5b60a0810190811067ffffffffffffffff82111761139157604052565b90601f8019910116810190811067ffffffffffffffff82111761139157604052565b90604051918260008254926113f984611343565b9081845260019485811690816000146114685750600114611425575b5050611423925003836113c3565b565b9093915060005260209081600020936000915b81831061145057505061142393508201013880611415565b85548884018501529485019487945091830191611438565b91505061142394506020925060ff191682840152151560051b8201013880611415565b6006546001600160a01b0316330361149f57565b60405163118cdaa760e01b8152336004820152602490fd5b916001600160a01b0380841692831561156a5716928315611551576000908382528160205260408220549083821061151f57509160408282600080516020611afd833981519152958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fd5b9190820180921161159057565b634e487b7160e01b600052601160045260246000fd5b9091906001600160a01b03811690816115f05750600080516020611afd8339815191526020846115db60009596600254611583565b6002555b8060025403600255604051908152a3565b92600082815280602052604081205494828610611631575081816040600080516020611afd83398151915294600097988760209652838652039120556115df565b60405163391434e360e21b81526001600160a01b039190911660048201526024810186905260448101839052606490fd5b600080516020611afd833981519152602060009261168285600254611583565b6002556001600160a01b031693841584146116a95780600254036002555b604051908152a3565b848452838252604084208181540190556116a0565b908160209103126105e357516001600160a01b03811681036105e35790565b600a54604051630b71f5d360e21b81526001600160a01b03916020908290600490829086165afa9081156117335760009161171757501690565b61172f915060203d8111610dce57610dc081836113c3565b1690565b6040513d6000823e3d90fd5b6001600160a01b0390816117516116dd565b169160405180936370a0823160e01b825230600483015281602460209687935afa9182156117335784916000936117eb575b50600a5460405163722713f760e01b8152929183916004918391165afa938415611733576000946117bc575b5050916113409192611583565b81813d83116117e4575b6117d081836113c3565b810103126102c757519250611340386117af565b503d6117c6565b9182819492943d8311611817575b61180381836113c3565b810103126108465750519083906004611783565b503d6117f9565b602460206001600160a01b036118326116dd565b16604051928380926370a0823160e01b82523060048301525afa9081156117335760009161185e575090565b906020823d8211611884575b81611877602093836113c3565b8101031261084657505190565b3d915061186a565b8181029291811591840414171561159057565b81156118a9570490565b634e487b7160e01b600052601260045260246000fd5b9190820391821161159057565b601f82116118d8575050565b6000908152601f60208220920160051c8201915b8281106118f857505050565b8181556001016118ec565b906000602091828151910182855af115611733576000513d61195657506001600160a01b0381163b155b6119345750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141561192d565b600260055414611970576002600555565b604051633ee5aeb560e01b8152600490fd5b61198a61181e565b6119ab6119956116dd565b600a546001600160a01b039391908416906119e5565b600a5416803b156105e35760008091600460405180948193630d0e30db60e41b83525af18015611733576119dc5750565b6114239061137d565b60405163a9059cbb60e01b60208201526001600160a01b03929092166024830152604480830193909352918152611423916104796064836113c3565b6001600160a01b031660008181526007602052604081206002549193909290918015611a9657611a4f61173f565b91604051906370a0823160e01b82526004820152602081602481305afa908115611af1578691611aba575b5061055a90611a889361188c565b600183015490818111611aa7575b5050611340600283549493016113e5565b611ab29294506118bf565b913880611a96565b90506020813d8211611ae9575b81611ad4602093836113c3565b81010312611ae55751611a88611a7a565b8580fd5b3d9150611ac7565b6040513d88823e3d90fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201dc6b603133596494603df0284adc413d5dac44942f35a91cd2b06357154a10364736f6c63430008140033

    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.