ETH Price: $3,295.51 (-9.40%)

Contract

0x8140725F7bDA9484e20a86b9ED76cD39748824D6
 
Transaction Hash
Method
Block
From
To
Supply Eth183244632023-10-11 3:15:35436 days ago1696994135IN
0x8140725F...9748824D6
0.001 ETH0.002182048.77536281
Supply Eth180537592023-09-03 5:03:23474 days ago1693717403IN
0x8140725F...9748824D6
0.1003 ETH0.0041742412.17141393
Supply Eth180452612023-09-02 0:26:35475 days ago1693614395IN
0x8140725F...9748824D6
0.91 ETH0.003407919.94425447
Supply Eth178174602023-08-01 3:26:47507 days ago1690860407IN
0x8140725F...9748824D6
8 ETH0.0075991718.61539015
Supply Eth177814712023-07-27 2:36:47512 days ago1690425407IN
0x8140725F...9748824D6
0.03 ETH0.0052340927.46389398
Supply Eth177687512023-07-25 7:53:35514 days ago1690271615IN
0x8140725F...9748824D6
1 ETH0.0087096126.74901428
Supply Eth177006502023-07-15 18:49:11523 days ago1689446951IN
0x8140725F...9748824D6
1 ETH0.0049890215.32247929
Supply Eth175475982023-06-24 6:26:47545 days ago1687588007IN
0x8140725F...9748824D6
0.92 ETH0.0026686314
Supply Eth175475932023-06-24 6:25:47545 days ago1687587947IN
0x8140725F...9748824D6
0.95 ETH0.0029394215.42059795
Supply Eth175475882023-06-24 6:24:35545 days ago1687587875IN
0x8140725F...9748824D6
0.9777 ETH0.002831114.85045599
Supply Eth173761672023-05-31 3:23:59569 days ago1685503439IN
0x8140725F...9748824D6
0.001 ETH0.0106247430.21328609
Supply Eth173319802023-05-24 22:22:35575 days ago1684966955IN
0x8140725F...9748824D6
3 ETH0.0111972534.0841519
Supply Eth172639872023-05-15 8:26:23585 days ago1684139183IN
0x8140725F...9748824D6
2.75 ETH0.0074330767.24027916
Supply Eth172629312023-05-15 4:49:59585 days ago1684126199IN
0x8140725F...9748824D6
2.74 ETH0.0046293341.87738308
Supply Eth172629212023-05-15 4:47:59585 days ago1684126079IN
0x8140725F...9748824D6
2.74 ETH0.0046723942.26686731
Supply Eth172629182023-05-15 4:47:23585 days ago1684126043IN
0x8140725F...9748824D6
2.74 ETH0.0047036142.54930542
Supply Eth172215442023-05-09 7:55:35591 days ago1683618935IN
0x8140725F...9748824D6
3 ETH0.0206864661.61196521
Supply Eth172075642023-05-07 8:45:23593 days ago1683449123IN
0x8140725F...9748824D6
0.5 ETH0.0334268587.9593927
Supply Eth171015782023-04-22 11:26:35608 days ago1682162795IN
0x8140725F...9748824D6
4.47 ETH0.0069197334.91095031
Supply Eth170348602023-04-12 22:25:35617 days ago1681338335IN
0x8140725F...9748824D6
0.1953 ETH0.0073864820.85817408
Supply Eth169215012023-03-27 21:50:47633 days ago1679953847IN
0x8140725F...9748824D6
3.9 ETH0.0134603529
Supply Eth168690922023-03-20 13:10:23641 days ago1679317823IN
0x8140725F...9748824D6
5 ETH0.0120428324.95753669
Supply Eth168678762023-03-20 9:04:47641 days ago1679303087IN
0x8140725F...9748824D6
0.8792 ETH0.007198615.28982791
Supply Eth168639692023-03-19 19:55:11641 days ago1679255711IN
0x8140725F...9748824D6
0.03 ETH0.004992125.22768452
Supply Eth168639652023-03-19 19:54:23641 days ago1679255663IN
0x8140725F...9748824D6
0.003 ETH0.0053237226.90027771
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
183244632023-10-11 3:15:35436 days ago1696994135
0x8140725F...9748824D6
0.001 ETH
180537592023-09-03 5:03:23474 days ago1693717403
0x8140725F...9748824D6
0.1003 ETH
180452612023-09-02 0:26:35475 days ago1693614395
0x8140725F...9748824D6
0.91 ETH
178174602023-08-01 3:26:47507 days ago1690860407
0x8140725F...9748824D6
8 ETH
177814712023-07-27 2:36:47512 days ago1690425407
0x8140725F...9748824D6
0.03 ETH
177687512023-07-25 7:53:35514 days ago1690271615
0x8140725F...9748824D6
1 ETH
177006502023-07-15 18:49:11523 days ago1689446951
0x8140725F...9748824D6
1 ETH
175475982023-06-24 6:26:47545 days ago1687588007
0x8140725F...9748824D6
0.92 ETH
175475932023-06-24 6:25:47545 days ago1687587947
0x8140725F...9748824D6
0.95 ETH
175475882023-06-24 6:24:35545 days ago1687587875
0x8140725F...9748824D6
0.9777 ETH
173761672023-05-31 3:23:59569 days ago1685503439
0x8140725F...9748824D6
0.001 ETH
173319802023-05-24 22:22:35575 days ago1684966955
0x8140725F...9748824D6
3 ETH
172639872023-05-15 8:26:23585 days ago1684139183
0x8140725F...9748824D6
2.75 ETH
172629312023-05-15 4:49:59585 days ago1684126199
0x8140725F...9748824D6
2.74 ETH
172629212023-05-15 4:47:59585 days ago1684126079
0x8140725F...9748824D6
2.74 ETH
172629182023-05-15 4:47:23585 days ago1684126043
0x8140725F...9748824D6
2.74 ETH
172215442023-05-09 7:55:35591 days ago1683618935
0x8140725F...9748824D6
3 ETH
172075642023-05-07 8:45:23593 days ago1683449123
0x8140725F...9748824D6
0.5 ETH
171015782023-04-22 11:26:35608 days ago1682162795
0x8140725F...9748824D6
4.47 ETH
170348602023-04-12 22:25:35617 days ago1681338335
0x8140725F...9748824D6
0.1953 ETH
169215012023-03-27 21:50:47633 days ago1679953847
0x8140725F...9748824D6
3.9 ETH
168690922023-03-20 13:10:23641 days ago1679317823
0x8140725F...9748824D6
5 ETH
168678762023-03-20 9:04:47641 days ago1679303087
0x8140725F...9748824D6
0.8792 ETH
168639692023-03-19 19:55:11641 days ago1679255711
0x8140725F...9748824D6
0.03 ETH
168639652023-03-19 19:54:23641 days ago1679255663
0x8140725F...9748824D6
0.003 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IEthSupplyWrapper

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : ethSupply.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

interface IVault {
    function supply(
        address token_,
        uint256 amount_,
        address to_
    ) external returns (uint256 vtokenAmount_);
}

contract IEthSupplyWrapper {
    using SafeERC20 for IERC20;

    IVault internal constant ethVault =
        IVault(0xc383a3833A87009fD9597F8184979AF5eDFad019);
    address internal constant oneInchAddr =
        0x1111111254fb6c44bAC0beD2854e76F90643097d;
    IERC20 internal constant stethContract =
        IERC20(0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84);

    function supplyEth(address to_, bytes memory swapData_)
        external
        payable
        returns (uint256 vtokenAmount_)
    {
        require(msg.value > 0, "supply amount cannot be zero");
        uint256 iniStethBal_ = stethContract.balanceOf(address(this));
        Address.functionCallWithValue(oneInchAddr, swapData_, msg.value);
        uint256 finStethBal_ = stethContract.balanceOf(address(this));
        uint256 stethAmtReceived = finStethBal_ - iniStethBal_;
        require(stethAmtReceived > msg.value, "Too-much-slippage");
        vtokenAmount_ = ethVault.supply(
            address(stethContract),
            stethAmtReceived,
            to_
        );
    }

    constructor() {
        stethContract.safeApprove(address(ethVault), type(uint256).max);
    }
}

File 2 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 3 of 4 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 4 of 4 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"bytes","name":"swapData_","type":"bytes"}],"name":"supplyEth","outputs":[{"internalType":"uint256","name":"vtokenAmount_","type":"uint256"}],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b506200005573ae7ab96520de3a18e5e111b5eaab095312d7fe8473c383a3833a87009fd9597f8184979af5edfad0196000196200005b602090811b620002d517901c565b620004f5565b801580620000e95750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b158015620000ac57600080fd5b505afa158015620000c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000e7919062000455565b155b620001615760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620001b9918591620001be16565b505050565b60006200021a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200029c60201b62000420179092919060201c565b805190915015620001b957808060200190518101906200023b919062000431565b620001b95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000158565b6060620002ad8484600085620002b7565b90505b9392505050565b6060824710156200031a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000158565b6001600160a01b0385163b620003735760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000158565b600080866001600160a01b031685876040516200039191906200046f565b60006040518083038185875af1925050503d8060008114620003d0576040519150601f19603f3d011682016040523d82523d6000602084013e620003d5565b606091505b509092509050620003e8828286620003f3565b979650505050505050565b6060831562000404575081620002b0565b825115620004155782518084602001fd5b8160405162461bcd60e51b81526004016200015891906200048d565b6000602082840312156200044457600080fd5b81518015158114620002b057600080fd5b6000602082840312156200046857600080fd5b5051919050565b6000825162000483818460208701620004c2565b9190910192915050565b6020815260008251806020840152620004ae816040850160208701620004c2565b601f01601f19169190910160400192915050565b60005b83811015620004df578181015183820152602001620004c5565b83811115620004ef576000848401525b50505050565b6108bf80620005056000396000f3fe60806040526004361061001e5760003560e01c806311b948d414610023575b600080fd5b61003661003136600461069b565b610048565b60405190815260200160405180910390f35b600080341161009e5760405162461bcd60e51b815260206004820152601c60248201527f737570706c7920616d6f756e742063616e6e6f74206265207a65726f0000000060448201526064015b60405180910390fd5b6040516370a0823160e01b815230600482015260009073ae7ab96520de3a18e5e111b5eaab095312d7fe84906370a082319060240160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610123919061078d565b9050610144731111111254fb6c44bac0bed2854e76f90643097d8434610439565b506040516370a0823160e01b815230600482015260009073ae7ab96520de3a18e5e111b5eaab095312d7fe84906370a082319060240160206040518083038186803b15801561019257600080fd5b505afa1580156101a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ca919061078d565b905060006101d883836107f5565b905034811161021d5760405162461bcd60e51b8152602060048201526011602482015270546f6f2d6d7563682d736c69707061676560781b6044820152606401610095565b604051638b2a4df560e01b815273ae7ab96520de3a18e5e111b5eaab095312d7fe846004820152602481018290526001600160a01b038716604482015273c383a3833a87009fd9597f8184979af5edfad01990638b2a4df590606401602060405180830381600087803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cb919061078d565b9695505050505050565b80158061035e5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561032457600080fd5b505afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c919061078d565b155b6103c95760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610095565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261041b90849061045f565b505050565b606061042f8484600085610531565b90505b9392505050565b606061042f84848460405180606001604052806029815260200161086160299139610531565b60006104b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166104209092919063ffffffff16565b80519091501561041b57808060200190518101906104d2919061076b565b61041b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610095565b6060824710156105925760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610095565b6001600160a01b0385163b6105e95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610095565b600080866001600160a01b0316858760405161060591906107a6565b60006040518083038185875af1925050503d8060008114610642576040519150601f19603f3d011682016040523d82523d6000602084013e610647565b606091505b5091509150610657828286610662565b979650505050505050565b60608315610671575081610432565b8251156106815782518084602001fd5b8160405162461bcd60e51b815260040161009591906107c2565b600080604083850312156106ae57600080fd5b82356001600160a01b03811681146106c557600080fd5b9150602083013567ffffffffffffffff808211156106e257600080fd5b818501915085601f8301126106f657600080fd5b8135818111156107085761070861084a565b604051601f8201601f19908116603f011681019083821181831017156107305761073061084a565b8160405282815288602084870101111561074957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561077d57600080fd5b8151801515811461043257600080fd5b60006020828403121561079f57600080fd5b5051919050565b600082516107b881846020870161081a565b9190910192915050565b60208152600082518060208401526107e181604085016020870161081a565b601f01601f19169190910160400192915050565b60008282101561081557634e487b7160e01b600052601160045260246000fd5b500390565b60005b8381101561083557818101518382015260200161081d565b83811115610844576000848401525b50505050565b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a264697066735822122018d302fd842a620da9dea56a6d1262a2bc8bda98cf220c5d12a6071407424f9e64736f6c63430008060033

Deployed Bytecode

0x60806040526004361061001e5760003560e01c806311b948d414610023575b600080fd5b61003661003136600461069b565b610048565b60405190815260200160405180910390f35b600080341161009e5760405162461bcd60e51b815260206004820152601c60248201527f737570706c7920616d6f756e742063616e6e6f74206265207a65726f0000000060448201526064015b60405180910390fd5b6040516370a0823160e01b815230600482015260009073ae7ab96520de3a18e5e111b5eaab095312d7fe84906370a082319060240160206040518083038186803b1580156100eb57600080fd5b505afa1580156100ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610123919061078d565b9050610144731111111254fb6c44bac0bed2854e76f90643097d8434610439565b506040516370a0823160e01b815230600482015260009073ae7ab96520de3a18e5e111b5eaab095312d7fe84906370a082319060240160206040518083038186803b15801561019257600080fd5b505afa1580156101a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101ca919061078d565b905060006101d883836107f5565b905034811161021d5760405162461bcd60e51b8152602060048201526011602482015270546f6f2d6d7563682d736c69707061676560781b6044820152606401610095565b604051638b2a4df560e01b815273ae7ab96520de3a18e5e111b5eaab095312d7fe846004820152602481018290526001600160a01b038716604482015273c383a3833a87009fd9597f8184979af5edfad01990638b2a4df590606401602060405180830381600087803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cb919061078d565b9695505050505050565b80158061035e5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561032457600080fd5b505afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c919061078d565b155b6103c95760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610095565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261041b90849061045f565b505050565b606061042f8484600085610531565b90505b9392505050565b606061042f84848460405180606001604052806029815260200161086160299139610531565b60006104b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166104209092919063ffffffff16565b80519091501561041b57808060200190518101906104d2919061076b565b61041b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610095565b6060824710156105925760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610095565b6001600160a01b0385163b6105e95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610095565b600080866001600160a01b0316858760405161060591906107a6565b60006040518083038185875af1925050503d8060008114610642576040519150601f19603f3d011682016040523d82523d6000602084013e610647565b606091505b5091509150610657828286610662565b979650505050505050565b60608315610671575081610432565b8251156106815782518084602001fd5b8160405162461bcd60e51b815260040161009591906107c2565b600080604083850312156106ae57600080fd5b82356001600160a01b03811681146106c557600080fd5b9150602083013567ffffffffffffffff808211156106e257600080fd5b818501915085601f8301126106f657600080fd5b8135818111156107085761070861084a565b604051601f8201601f19908116603f011681019083821181831017156107305761073061084a565b8160405282815288602084870101111561074957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561077d57600080fd5b8151801515811461043257600080fd5b60006020828403121561079f57600080fd5b5051919050565b600082516107b881846020870161081a565b9190910192915050565b60208152600082518060208401526107e181604085016020870161081a565b601f01601f19169190910160400192915050565b60008282101561081557634e487b7160e01b600052601160045260246000fd5b500390565b60005b8381101561083557818101518382015260200161081d565b83811115610844576000848401525b50505050565b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a264697066735822122018d302fd842a620da9dea56a6d1262a2bc8bda98cf220c5d12a6071407424f9e64736f6c63430008060033

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.