ETH Price: $1,976.00 (-1.59%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw219964362025-03-07 17:17:3513 days ago1741367855IN
0xD18DECe8...DF8Ad2388
0 ETH0.000128071.88557773
Withdraw219620852025-03-02 22:09:2318 days ago1740953363IN
0xD18DECe8...DF8Ad2388
0 ETH0.000154932.28066016
Withdraw219556562025-03-02 0:38:4719 days ago1740875927IN
0xD18DECe8...DF8Ad2388
0 ETH0.000049570.72968681
Withdraw219450212025-02-28 13:04:2320 days ago1740747863IN
0xD18DECe8...DF8Ad2388
0 ETH0.00012523.8900759
Withdraw219450182025-02-28 13:03:4720 days ago1740747827IN
0xD18DECe8...DF8Ad2388
0 ETH0.000219253.22803819
Withdraw219417032025-02-28 1:57:3521 days ago1740707855IN
0xD18DECe8...DF8Ad2388
0 ETH0.000228043.3574083
Withdraw219396142025-02-27 18:58:1121 days ago1740682691IN
0xD18DECe8...DF8Ad2388
0 ETH0.00008311.22324158
Withdraw219064412025-02-23 3:48:2326 days ago1740282503IN
0xD18DECe8...DF8Ad2388
0 ETH0.000079091.16454345
Withdraw219048412025-02-22 22:25:5926 days ago1740263159IN
0xD18DECe8...DF8Ad2388
0 ETH0.000059621.17376344
Withdraw218951032025-02-21 13:46:2327 days ago1740145583IN
0xD18DECe8...DF8Ad2388
0 ETH0.000127381.87602767
Withdraw218924652025-02-21 4:55:5928 days ago1740113759IN
0xD18DECe8...DF8Ad2388
0 ETH0.000042461.32029281
Withdraw218924642025-02-21 4:55:4728 days ago1740113747IN
0xD18DECe8...DF8Ad2388
0 ETH0.000083751.23356636
Withdraw218924532025-02-21 4:53:3528 days ago1740113615IN
0xD18DECe8...DF8Ad2388
0 ETH0.000038431.19498288
Withdraw218924522025-02-21 4:53:2328 days ago1740113603IN
0xD18DECe8...DF8Ad2388
0 ETH0.000080481.18529842
Withdraw218924392025-02-21 4:50:4728 days ago1740113447IN
0xD18DECe8...DF8Ad2388
0 ETH0.000080561.18649451
Withdraw218881732025-02-20 14:30:2328 days ago1740061823IN
0xD18DECe8...DF8Ad2388
0 ETH0.00011222.20880811
Withdraw218867502025-02-20 9:43:1128 days ago1740044591IN
0xD18DECe8...DF8Ad2388
0 ETH0.000035330.69535757
Withdraw218862712025-02-20 8:06:5928 days ago1740038819IN
0xD18DECe8...DF8Ad2388
0 ETH0.000086051.2666899
Withdraw218827052025-02-19 20:08:4729 days ago1739995727IN
0xD18DECe8...DF8Ad2388
0 ETH0.00003451.07164759
Withdraw218827012025-02-19 20:07:5929 days ago1739995679IN
0xD18DECe8...DF8Ad2388
0 ETH0.000047830.70419255
Withdraw218824762025-02-19 19:22:4729 days ago1739992967IN
0xD18DECe8...DF8Ad2388
0 ETH0.000112091.65007203
Withdraw218818952025-02-19 17:25:4729 days ago1739985947IN
0xD18DECe8...DF8Ad2388
0 ETH0.000163032.39992225
Withdraw218809612025-02-19 14:18:3529 days ago1739974715IN
0xD18DECe8...DF8Ad2388
0 ETH0.00006271.23417337
Withdraw218804592025-02-19 12:37:5929 days ago1739968679IN
0xD18DECe8...DF8Ad2388
0 ETH0.000075341.48285671
Withdraw218689602025-02-17 22:03:5931 days ago1739829839IN
0xD18DECe8...DF8Ad2388
0 ETH0.000107062.10671564
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Deposit213525392024-12-07 18:55:59103 days ago1733597759
0xD18DECe8...DF8Ad2388
0.01 ETH
Deposit213219612024-12-03 12:25:11107 days ago1733228711
0xD18DECe8...DF8Ad2388
0.01 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DelayPreStake

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 6 : DelayPreStake.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";

interface IWETH is IERC20 {
    function deposit() external payable;
    function withdraw(uint256) external;
}

contract DelayPreStake is ReentrancyGuard, Ownable, Pausable {
    // Supported tokens
    IWETH public immutable WETH;
    IERC20 public immutable USDC;
    IERC20 public immutable USDT;
    IERC20 public immutable DELAY;

    // State variables
    bool public withdrawalsEnabled;
    bool public emergencyWithdrawalsDisabled;

    // Mapping from user address to their deposits
    mapping(address => mapping(address => uint256)) public userDeposits;

    // Add new mapping for total deposits per token
    mapping(address => uint256) public totalDeposits;

    // Events
    event Deposited(
        address indexed user,
        address indexed token,
        uint256 amount,
        uint256 timestamp
    );

    event Withdrawn(
        address indexed user,
        address indexed token,
        uint256 amount
    );

    event WithdrawalsEnabled(bool enabled);

    constructor(
        address _weth,
        address _usdc,
        address _usdt,
        address _delay
    ) Ownable(msg.sender) {
        WETH = IWETH(_weth);
        USDC = IERC20(_usdc);
        USDT = IERC20(_usdt);
        DELAY = IERC20(_delay);
        withdrawalsEnabled = false;
        emergencyWithdrawalsDisabled = false;
    }

    // Modifier to check if token is supported
    modifier supportedToken(address _token) {
        require(
            _token == address(WETH) ||
            _token == address(USDC) ||
            _token == address(USDT) ||
            _token == address(DELAY),
            "Unsupported token"
        );
        _;
    }

    // Function to deposit ETH (automatically wraps to WETH)
    function depositETH() external payable nonReentrant whenNotPaused {
        require(msg.value > 0, "Amount must be greater than 0");

        // Wrap ETH to WETH
        WETH.deposit{value: msg.value}();

        // Update user's WETH deposit
        userDeposits[msg.sender][address(WETH)] += msg.value;
        totalDeposits[address(WETH)] += msg.value;

        emit Deposited(
            msg.sender,
            address(WETH),
            msg.value,
            block.timestamp
        );
    }

    // Function to deposit ERC20 tokens (including WETH)
    function depositToken(
        address _token,
        uint256 _amount
    ) external nonReentrant whenNotPaused supportedToken(_token) {
        require(_amount > 0, "Amount must be greater than 0");

        IERC20(_token).transferFrom(msg.sender, address(this), _amount);
        userDeposits[msg.sender][_token] += _amount;
        totalDeposits[_token] += _amount;

        emit Deposited(
            msg.sender,
            _token,
            _amount,
            block.timestamp
        );
    }

    // Function to withdraw tokens (only when enabled)
    function withdraw(
        address _token,
        uint256 _amount,
        bool unwrapWETH
    ) external nonReentrant supportedToken(_token) {
        require(withdrawalsEnabled, "Withdrawals not enabled yet");
        require(_amount > 0, "Amount must be greater than 0");
        require(
            userDeposits[msg.sender][_token] >= _amount,
            "Insufficient balance"
        );

        userDeposits[msg.sender][_token] -= _amount;
        totalDeposits[_token] -= _amount;

        if (_token == address(WETH) && unwrapWETH) {
            // Unwrap WETH to ETH and send to user
            WETH.withdraw(_amount);
            (bool success, ) = payable(msg.sender).call{value: _amount}("");
            require(success, "ETH transfer failed");
        } else {
            require(
                IERC20(_token).transfer(msg.sender, _amount),
                "Token transfer failed"
            );
        }

        emit Withdrawn(msg.sender, _token, _amount);
    }

    // Function to enable/disable withdrawals (owner only)
    function setWithdrawalsEnabled(bool _enabled) external onlyOwner {
        withdrawalsEnabled = _enabled;
        emit WithdrawalsEnabled(_enabled);
    }

    // Function to get user's deposit for a specific token
    function getDeposit(
        address _user,
        address _token
    ) external view returns (uint256) {
        return userDeposits[_user][_token];
    }

    // Emergency pause/unpause functionality
    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    // Add function to permanently disable emergency withdrawals
    function disableEmergencyWithdrawals() external onlyOwner {
        require(!emergencyWithdrawalsDisabled, "Emergency withdrawals already disabled");
        emergencyWithdrawalsDisabled = true;
    }

    // Update emergency withdraw functionality
    function emergencyWithdraw(
        address _token,
        address _to,
        uint256 _amount,
        bool unwrapWETH
    ) external onlyOwner {
        require(!emergencyWithdrawalsDisabled, "Emergency withdrawals permanently disabled");
        
        if (_token == address(WETH) && unwrapWETH) {
            WETH.withdraw(_amount);
            (bool success, ) = payable(_to).call{value: _amount}("");
            require(success, "ETH transfer failed");
        } else {
            require(
                IERC20(_token).transfer(_to, _amount),
                "Token transfer failed"
            );
        }
    }

    // To receive ETH (needed for WETH unwrapping)
    receive() external payable {}
}

File 2 of 6 : Ownable.sol
// 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);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 6 : IERC20.sol
// 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.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

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

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

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

File 4 of 6 : Context.sol
// 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;
    }
}

File 5 of 6 : Pausable.sol
// 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`.
     */
    event Unpaused(address account);

    /**
     * @dev The operation failed because the contract is paused.
     */
    error EnforcedPause();

    /**
     * @dev The operation failed because the contract is not paused.
     */
    error ExpectedPause();

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        if (paused()) {
            revert EnforcedPause();
        }
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        if (!paused()) {
            revert ExpectedPause();
        }
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 6 : ReentrancyGuard.sol
// 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
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_usdc","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"address","name":"_delay","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Deposited","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"WithdrawalsEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DELAY","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableEmergencyWithdrawals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"unwrapWETH","type":"bool"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdrawalsDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"getDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setWithdrawalsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"unwrapWETH","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040523480156200001257600080fd5b506040516200173c3803806200173c833981016040819052620000359162000111565b600160005533806200006157604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6200006c81620000a2565b50600180546001600160a01b0395861660805293851660a05291841660c05290921660e05262ffffff60a01b191690556200016e565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146200010c57600080fd5b919050565b600080600080608085870312156200012857600080fd5b6200013385620000f4565b93506200014360208601620000f4565b92506200015360408601620000f4565b91506200016360608601620000f4565b905092959194509250565b60805160a05160c05160e051611524620002186000396000818161024e015281816107fc0152610b6601526000818161036a015281816107c00152610b2a0152600081816102c4015281816107840152610aee0152600081816103160152818161051f015281816105760152818161074901528181610ab301528181610d2601528181610d7d01528181610fea0152818161106d015281816110c1015261111301526115246000f3fe60806040526004361061012e5760003560e01c806389a30271116100ab578063d0dbcd241161006f578063d0dbcd241461038c578063da298477146103ad578063e9403256146103ce578063ead5d359146103fb578063f2fde38b1461041b578063f6326fb31461043b57600080fd5b806389a30271146102b25780638da5cb5b146102e6578063ad5c464814610304578063c35082a914610338578063c54e44eb1461035857600080fd5b80635c975abb116100f25780635c975abb146101fc5780636300a5e21461022757806369b411701461023c578063715018a6146102885780638456cb591461029d57600080fd5b80630a1793271461013a578063171f94f21461015c578063338b5dea1461017c5780633f4ba83a1461019c578063436d8039146101b157600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5061015a610155366004611317565b610443565b005b34801561016857600080fd5b5061015a610177366004611357565b6104a3565b34801561018857600080fd5b5061015a6101973660046113a6565b610736565b3480156101a857600080fd5b5061015a6109c1565b3480156101bd57600080fd5b506101e96101cc3660046113d0565b600260209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b34801561020857600080fd5b50600154600160a01b900460ff165b60405190151581526020016101f3565b34801561023357600080fd5b5061015a6109d3565b34801561024857600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101f3565b34801561029457600080fd5b5061015a610a59565b3480156102a957600080fd5b5061015a610a6b565b3480156102be57600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b3480156102f257600080fd5b506001546001600160a01b0316610270565b34801561031057600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b34801561034457600080fd5b506101e96103533660046113d0565b610a7b565b34801561036457600080fd5b506102707f000000000000000000000000000000000000000000000000000000000000000081565b34801561039857600080fd5b5060015461021790600160a81b900460ff1681565b3480156103b957600080fd5b5060015461021790600160b01b900460ff1681565b3480156103da57600080fd5b506101e96103e9366004611403565b60036020526000908152604090205481565b34801561040757600080fd5b5061015a61041636600461141e565b610aa8565b34801561042757600080fd5b5061015a610436366004611403565b610f7a565b61015a610fb8565b61044b611173565b60018054821515600160a81b0260ff60a81b199091161790556040517f45e7e6146471a396eb58b618e88efd46f5c95bd1815b282ed75c5220a559ab109061049890831515815260200190565b60405180910390a150565b6104ab611173565b600154600160b01b900460ff161561051d5760405162461bcd60e51b815260206004820152602a60248201527f456d657267656e6379207769746864726177616c73207065726d616e656e746c6044820152691e48191a5cd8589b195960b21b60648201526084015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614801561055b5750805b1561067957604051632e1a7d4d60e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156105c257600080fd5b505af11580156105d6573d6000803e3d6000fd5b505050506000836001600160a01b03168360405160006040518083038185875af1925050503d8060008114610627576040519150601f19603f3d011682016040523d82523d6000602084013e61062c565b606091505b50509050806106735760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610514565b50610730565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb906044016020604051808303816000875af11580156106c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ec919061145e565b6107305760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610514565b50505050565b61073e6111a0565b6107466111ca565b817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614806107b857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b806107f457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b8061083057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b6108705760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2103a37b5b2b760791b6044820152606401610514565b600082116108905760405162461bcd60e51b81526004016105149061147b565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038416906323b872dd906064016020604051808303816000875af11580156108e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610907919061145e565b503360009081526002602090815260408083206001600160a01b03871684529091528120805484929061093b9084906114c8565b90915550506001600160a01b038316600090815260036020526040812080548492906109689084906114c8565b9091555050604080518381524260208201526001600160a01b0385169133917ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c5910160405180910390a3506109bd6001600055565b5050565b6109c9611173565b6109d16111f5565b565b6109db611173565b600154600160b01b900460ff1615610a445760405162461bcd60e51b815260206004820152602660248201527f456d657267656e6379207769746864726177616c7320616c72656164792064696044820152651cd8589b195960d21b6064820152608401610514565b6001805460ff60b01b1916600160b01b179055565b610a61611173565b6109d1600061124a565b610a73611173565b6109d161129c565b6001600160a01b038083166000908152600260209081526040808320938516835292905220545b92915050565b610ab06111a0565b827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161480610b2257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b80610b5e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b80610b9a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316145b610bda5760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2103a37b5b2b760791b6044820152606401610514565b600154600160a81b900460ff16610c335760405162461bcd60e51b815260206004820152601b60248201527f5769746864726177616c73206e6f7420656e61626c65642079657400000000006044820152606401610514565b60008311610c535760405162461bcd60e51b81526004016105149061147b565b3360009081526002602090815260408083206001600160a01b0388168452909152902054831115610cbd5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610514565b3360009081526002602090815260408083206001600160a01b038816845290915281208054859290610cf09084906114db565b90915550506001600160a01b03841660009081526003602052604081208054859290610d1d9084906114db565b925050819055507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316148015610d625750815b15610e7557604051632e1a7d4d60e01b8152600481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015610dc957600080fd5b505af1158015610ddd573d6000803e3d6000fd5b50506040516000925033915085908381818185875af1925050503d8060008114610e23576040519150601f19603f3d011682016040523d82523d6000602084013e610e28565b606091505b5050905080610e6f5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610514565b50610f2a565b60405163a9059cbb60e01b8152336004820152602481018490526001600160a01b0385169063a9059cbb906044016020604051808303816000875af1158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee6919061145e565b610f2a5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610514565b6040518381526001600160a01b0385169033907fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9060200160405180910390a350610f756001600055565b505050565b610f82611173565b6001600160a01b038116610fac57604051631e4fbdf760e01b815260006004820152602401610514565b610fb58161124a565b50565b610fc06111a0565b610fc86111ca565b60003411610fe85760405162461bcd60e51b81526004016105149061147b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561104357600080fd5b505af1158015611057573d6000803e3d6000fd5b50503360009081526002602090815260408083207f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168452909152812080543495509093509091506110b29084906114c8565b90915550506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600090815260036020526040812080543492906110ff9084906114c8565b9091555050604080513481524260208201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169133917ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c5910160405180910390a36109d16001600055565b6001546001600160a01b031633146109d15760405163118cdaa760e01b8152336004820152602401610514565b6002600054036111c357604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b600154600160a01b900460ff16156109d15760405163d93c066560e01b815260040160405180910390fd5b6111fd6112df565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6112a46111ca565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861122d3390565b600154600160a01b900460ff166109d157604051638dfc202b60e01b815260040160405180910390fd5b8015158114610fb557600080fd5b60006020828403121561132957600080fd5b813561133481611309565b9392505050565b80356001600160a01b038116811461135257600080fd5b919050565b6000806000806080858703121561136d57600080fd5b6113768561133b565b93506113846020860161133b565b925060408501359150606085013561139b81611309565b939692955090935050565b600080604083850312156113b957600080fd5b6113c28361133b565b946020939093013593505050565b600080604083850312156113e357600080fd5b6113ec8361133b565b91506113fa6020840161133b565b90509250929050565b60006020828403121561141557600080fd5b6113348261133b565b60008060006060848603121561143357600080fd5b61143c8461133b565b925060208401359150604084013561145381611309565b809150509250925092565b60006020828403121561147057600080fd5b815161133481611309565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610aa257610aa26114b2565b81810381811115610aa257610aa26114b256fea264697066735822122038707c4776051d72e61b9a10eb39ac47736f5ecbae6f9c40558b86a38367aa9164736f6c63430008170033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc280

Deployed Bytecode

0x60806040526004361061012e5760003560e01c806389a30271116100ab578063d0dbcd241161006f578063d0dbcd241461038c578063da298477146103ad578063e9403256146103ce578063ead5d359146103fb578063f2fde38b1461041b578063f6326fb31461043b57600080fd5b806389a30271146102b25780638da5cb5b146102e6578063ad5c464814610304578063c35082a914610338578063c54e44eb1461035857600080fd5b80635c975abb116100f25780635c975abb146101fc5780636300a5e21461022757806369b411701461023c578063715018a6146102885780638456cb591461029d57600080fd5b80630a1793271461013a578063171f94f21461015c578063338b5dea1461017c5780633f4ba83a1461019c578063436d8039146101b157600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5061015a610155366004611317565b610443565b005b34801561016857600080fd5b5061015a610177366004611357565b6104a3565b34801561018857600080fd5b5061015a6101973660046113a6565b610736565b3480156101a857600080fd5b5061015a6109c1565b3480156101bd57600080fd5b506101e96101cc3660046113d0565b600260209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b34801561020857600080fd5b50600154600160a01b900460ff165b60405190151581526020016101f3565b34801561023357600080fd5b5061015a6109d3565b34801561024857600080fd5b506102707f00000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc28081565b6040516001600160a01b0390911681526020016101f3565b34801561029457600080fd5b5061015a610a59565b3480156102a957600080fd5b5061015a610a6b565b3480156102be57600080fd5b506102707f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b3480156102f257600080fd5b506001546001600160a01b0316610270565b34801561031057600080fd5b506102707f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561034457600080fd5b506101e96103533660046113d0565b610a7b565b34801561036457600080fd5b506102707f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec781565b34801561039857600080fd5b5060015461021790600160a81b900460ff1681565b3480156103b957600080fd5b5060015461021790600160b01b900460ff1681565b3480156103da57600080fd5b506101e96103e9366004611403565b60036020526000908152604090205481565b34801561040757600080fd5b5061015a61041636600461141e565b610aa8565b34801561042757600080fd5b5061015a610436366004611403565b610f7a565b61015a610fb8565b61044b611173565b60018054821515600160a81b0260ff60a81b199091161790556040517f45e7e6146471a396eb58b618e88efd46f5c95bd1815b282ed75c5220a559ab109061049890831515815260200190565b60405180910390a150565b6104ab611173565b600154600160b01b900460ff161561051d5760405162461bcd60e51b815260206004820152602a60248201527f456d657267656e6379207769746864726177616c73207065726d616e656e746c6044820152691e48191a5cd8589b195960b21b60648201526084015b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316846001600160a01b031614801561055b5750805b1561067957604051632e1a7d4d60e01b8152600481018390527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156105c257600080fd5b505af11580156105d6573d6000803e3d6000fd5b505050506000836001600160a01b03168360405160006040518083038185875af1925050503d8060008114610627576040519150601f19603f3d011682016040523d82523d6000602084013e61062c565b606091505b50509050806106735760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610514565b50610730565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb906044016020604051808303816000875af11580156106c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ec919061145e565b6107305760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610514565b50505050565b61073e6111a0565b6107466111ca565b817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316816001600160a01b031614806107b857507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316816001600160a01b0316145b806107f457507f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec76001600160a01b0316816001600160a01b0316145b8061083057507f00000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc2806001600160a01b0316816001600160a01b0316145b6108705760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2103a37b5b2b760791b6044820152606401610514565b600082116108905760405162461bcd60e51b81526004016105149061147b565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038416906323b872dd906064016020604051808303816000875af11580156108e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610907919061145e565b503360009081526002602090815260408083206001600160a01b03871684529091528120805484929061093b9084906114c8565b90915550506001600160a01b038316600090815260036020526040812080548492906109689084906114c8565b9091555050604080518381524260208201526001600160a01b0385169133917ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c5910160405180910390a3506109bd6001600055565b5050565b6109c9611173565b6109d16111f5565b565b6109db611173565b600154600160b01b900460ff1615610a445760405162461bcd60e51b815260206004820152602660248201527f456d657267656e6379207769746864726177616c7320616c72656164792064696044820152651cd8589b195960d21b6064820152608401610514565b6001805460ff60b01b1916600160b01b179055565b610a61611173565b6109d1600061124a565b610a73611173565b6109d161129c565b6001600160a01b038083166000908152600260209081526040808320938516835292905220545b92915050565b610ab06111a0565b827f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316816001600160a01b03161480610b2257507f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb486001600160a01b0316816001600160a01b0316145b80610b5e57507f000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec76001600160a01b0316816001600160a01b0316145b80610b9a57507f00000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc2806001600160a01b0316816001600160a01b0316145b610bda5760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2103a37b5b2b760791b6044820152606401610514565b600154600160a81b900460ff16610c335760405162461bcd60e51b815260206004820152601b60248201527f5769746864726177616c73206e6f7420656e61626c65642079657400000000006044820152606401610514565b60008311610c535760405162461bcd60e51b81526004016105149061147b565b3360009081526002602090815260408083206001600160a01b0388168452909152902054831115610cbd5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610514565b3360009081526002602090815260408083206001600160a01b038816845290915281208054859290610cf09084906114db565b90915550506001600160a01b03841660009081526003602052604081208054859290610d1d9084906114db565b925050819055507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b0316846001600160a01b0316148015610d625750815b15610e7557604051632e1a7d4d60e01b8152600481018490527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015610dc957600080fd5b505af1158015610ddd573d6000803e3d6000fd5b50506040516000925033915085908381818185875af1925050503d8060008114610e23576040519150601f19603f3d011682016040523d82523d6000602084013e610e28565b606091505b5050905080610e6f5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610514565b50610f2a565b60405163a9059cbb60e01b8152336004820152602481018490526001600160a01b0385169063a9059cbb906044016020604051808303816000875af1158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee6919061145e565b610f2a5760405162461bcd60e51b8152602060048201526015602482015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610514565b6040518381526001600160a01b0385169033907fd1c19fbcd4551a5edfb66d43d2e337c04837afda3482b42bdf569a8fccdae5fb9060200160405180910390a350610f756001600055565b505050565b610f82611173565b6001600160a01b038116610fac57604051631e4fbdf760e01b815260006004820152602401610514565b610fb58161124a565b50565b610fc06111a0565b610fc86111ca565b60003411610fe85760405162461bcd60e51b81526004016105149061147b565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561104357600080fd5b505af1158015611057573d6000803e3d6000fd5b50503360009081526002602090815260408083207f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03168452909152812080543495509093509091506110b29084906114c8565b90915550506001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216600090815260036020526040812080543492906110ff9084906114c8565b9091555050604080513481524260208201527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03169133917ff5681f9d0db1b911ac18ee83d515a1cf1051853a9eae418316a2fdf7dea427c5910160405180910390a36109d16001600055565b6001546001600160a01b031633146109d15760405163118cdaa760e01b8152336004820152602401610514565b6002600054036111c357604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b600154600160a01b900460ff16156109d15760405163d93c066560e01b815260040160405180910390fd5b6111fd6112df565b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6112a46111ca565b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861122d3390565b600154600160a01b900460ff166109d157604051638dfc202b60e01b815260040160405180910390fd5b8015158114610fb557600080fd5b60006020828403121561132957600080fd5b813561133481611309565b9392505050565b80356001600160a01b038116811461135257600080fd5b919050565b6000806000806080858703121561136d57600080fd5b6113768561133b565b93506113846020860161133b565b925060408501359150606085013561139b81611309565b939692955090935050565b600080604083850312156113b957600080fd5b6113c28361133b565b946020939093013593505050565b600080604083850312156113e357600080fd5b6113ec8361133b565b91506113fa6020840161133b565b90509250929050565b60006020828403121561141557600080fd5b6113348261133b565b60008060006060848603121561143357600080fd5b61143c8461133b565b925060208401359150604084013561145381611309565b809150509250925092565b60006020828403121561147057600080fd5b815161133481611309565b6020808252601d908201527f416d6f756e74206d7573742062652067726561746572207468616e2030000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610aa257610aa26114b2565b81810381811115610aa257610aa26114b256fea264697066735822122038707c4776051d72e61b9a10eb39ac47736f5ecbae6f9c40558b86a38367aa9164736f6c63430008170033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc280

-----Decoded View---------------
Arg [0] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [1] : _usdc (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [2] : _usdt (address): 0xdAC17F958D2ee523a2206206994597C13D831ec7
Arg [3] : _delay (address): 0x40D4e93b888d5ee9EC61A29a018b199070FfC280

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 00000000000000000000000040d4e93b888d5ee9ec61a29a018b199070ffc280


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.