ETH Price: $3,893.58 (-0.57%)

Contract

0x5A0bade607eaca65A0FE6d1437E0e3EC2144d540
 
Transaction Hash
Method
Block
From
To
Deposit ETH129015682021-07-26 11:32:001237 days ago1627299120IN
0x5A0bade6...C2144d540
0.1 ETH0.0032736440
Deposit ETH127399552021-07-01 5:41:031262 days ago1625118063IN
0x5A0bade6...C2144d540
0.05 ETH0.0014841115
Deposit ETH126320502021-06-14 10:31:581279 days ago1623666718IN
0x5A0bade6...C2144d540
0.1 ETH0.0010883511
Deposit ETH126314072021-06-14 8:09:131279 days ago1623658153IN
0x5A0bade6...C2144d540
0.01 ETH0.0009002511
Deposit ETH126313382021-06-14 7:53:021279 days ago1623657182IN
0x5A0bade6...C2144d540
0.03 ETH0.0009894110
Deposit ETH126311892021-06-14 7:24:551279 days ago1623655495IN
0x5A0bade6...C2144d540
5 ETH0.000890469
Deposit ETH126309982021-06-14 6:39:581279 days ago1623652798IN
0x5A0bade6...C2144d540
0.4 ETH0.0030690337.5
Deposit ETH126309982021-06-14 6:39:581279 days ago1623652798IN
0x5A0bade6...C2144d540
0.4 ETH0.0037102837.5
Deposit ETH126305102021-06-14 4:47:521280 days ago1623646072IN
0x5A0bade6...C2144d540
5 ETH0.0009894110
Deposit ETH126303222021-06-14 4:04:191280 days ago1623643459IN
0x5A0bade6...C2144d540
0.1 ETH0.0010883511
Deposit ETH126302852021-06-14 3:53:551280 days ago1623642835IN
0x5A0bade6...C2144d540
0.5 ETH0.000870688.8
Deposit ETH126302322021-06-14 3:41:201280 days ago1623642080IN
0x5A0bade6...C2144d540
0.4 ETH0.0010883511
Deposit ETH126300772021-06-14 3:08:181280 days ago1623640098IN
0x5A0bade6...C2144d540
0.03 ETH0.0011872912
Deposit ETH126299152021-06-14 2:27:341280 days ago1623637654IN
0x5A0bade6...C2144d540
2.5 ETH0.0015830516
Deposit ETH126298252021-06-14 2:07:201280 days ago1623636440IN
0x5A0bade6...C2144d540
10 ETH0.0013171413.31242011
Deposit ETH126295862021-06-14 1:11:161280 days ago1623633076IN
0x5A0bade6...C2144d540
0.06 ETH0.0009894110
Deposit ETH126295312021-06-14 0:59:371280 days ago1623632377IN
0x5A0bade6...C2144d540
6 ETH0.0008184110
Deposit ETH126295252021-06-14 0:58:321280 days ago1623632312IN
0x5A0bade6...C2144d540
0.61 ETH0.0008184110
Deposit ETH126294992021-06-14 0:52:101280 days ago1623631930IN
0x5A0bade6...C2144d540
40 ETH0.0014841115
Deposit ETH126292182021-06-13 23:52:331280 days ago1623628353IN
0x5A0bade6...C2144d540
0.85 ETH0.0009894110
Deposit ETH126291312021-06-13 23:35:061280 days ago1623627306IN
0x5A0bade6...C2144d540
0.01 ETH0.0009894110
Deposit ETH126288512021-06-13 22:36:251280 days ago1623623785IN
0x5A0bade6...C2144d540
0.03 ETH0.0014841115
Deposit ETH126280082021-06-13 19:24:361280 days ago1623612276IN
0x5A0bade6...C2144d540
2 ETH0.0010190910.3
Deposit ETH126278262021-06-13 18:43:231280 days ago1623609803IN
0x5A0bade6...C2144d540
2.5 ETH0.0009894110
Deposit ETH126273852021-06-13 17:05:411280 days ago1623603941IN
0x5A0bade6...C2144d540
40 ETH0.0013851714
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
129015682021-07-26 11:32:001237 days ago1627299120
0x5A0bade6...C2144d540
0.1 ETH
127399552021-07-01 5:41:031262 days ago1625118063
0x5A0bade6...C2144d540
0.05 ETH
126320502021-06-14 10:31:581279 days ago1623666718
0x5A0bade6...C2144d540
0.1 ETH
126314072021-06-14 8:09:131279 days ago1623658153
0x5A0bade6...C2144d540
0.01 ETH
126313382021-06-14 7:53:021279 days ago1623657182
0x5A0bade6...C2144d540
0.03 ETH
126311892021-06-14 7:24:551279 days ago1623655495
0x5A0bade6...C2144d540
5 ETH
126309982021-06-14 6:39:581279 days ago1623652798
0x5A0bade6...C2144d540
0.4 ETH
126309982021-06-14 6:39:581279 days ago1623652798
0x5A0bade6...C2144d540
0.4 ETH
126305102021-06-14 4:47:521280 days ago1623646072
0x5A0bade6...C2144d540
5 ETH
126303222021-06-14 4:04:191280 days ago1623643459
0x5A0bade6...C2144d540
0.1 ETH
126302852021-06-14 3:53:551280 days ago1623642835
0x5A0bade6...C2144d540
0.5 ETH
126302322021-06-14 3:41:201280 days ago1623642080
0x5A0bade6...C2144d540
0.4 ETH
126300772021-06-14 3:08:181280 days ago1623640098
0x5A0bade6...C2144d540
0.03 ETH
126299152021-06-14 2:27:341280 days ago1623637654
0x5A0bade6...C2144d540
2.5 ETH
126298252021-06-14 2:07:201280 days ago1623636440
0x5A0bade6...C2144d540
10 ETH
126295862021-06-14 1:11:161280 days ago1623633076
0x5A0bade6...C2144d540
0.06 ETH
126295312021-06-14 0:59:371280 days ago1623632377
0x5A0bade6...C2144d540
6 ETH
126295252021-06-14 0:58:321280 days ago1623632312
0x5A0bade6...C2144d540
0.61 ETH
126294992021-06-14 0:52:101280 days ago1623631930
0x5A0bade6...C2144d540
40 ETH
126292182021-06-13 23:52:331280 days ago1623628353
0x5A0bade6...C2144d540
0.85 ETH
126291312021-06-13 23:35:061280 days ago1623627306
0x5A0bade6...C2144d540
0.01 ETH
126288512021-06-13 22:36:251280 days ago1623623785
0x5A0bade6...C2144d540
0.03 ETH
126280082021-06-13 19:24:361280 days ago1623612276
0x5A0bade6...C2144d540
2 ETH
126278262021-06-13 18:43:231280 days ago1623609803
0x5A0bade6...C2144d540
2.5 ETH
126273852021-06-13 17:05:411280 days ago1623603941
0x5A0bade6...C2144d540
40 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZapYvWETH

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-24
*/

// SPDX-License-Identifier: AGPL-3.0

pragma solidity 0.6.12;



// Part: OpenZeppelin/[email protected]/Address

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// Part: OpenZeppelin/[email protected]/IERC20

/**
 * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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);
}

// Part: OpenZeppelin/[email protected]/SafeMath

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// Part: WETH

interface WETH {
    function deposit() external payable;
}

// Part: IVaultAPI

interface IVaultAPI is IERC20 {
    function deposit(uint256 _amount, address recipient)
        external
        returns (uint256 shares);

    function withdraw(uint256 _shares) external;

    function token() external view returns (address);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        bytes calldata signature
    ) external returns (bool);
}

// Part: OpenZeppelin/[email protected]/SafeERC20

/**
 * @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 SafeMath for uint256;
    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: ZapYvWETH.sol

contract ZapYvWETH {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address public constant weth =
        address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
    address public constant yvWETH =
        address(0xa9fE4601811213c340e850ea305481afF02f5b28);

    constructor() public {
        // Setup approvals
        IERC20(weth).safeApprove(yvWETH, uint256(-1));
    }

    receive() external payable {
        depositETH();
    }

    function depositETH() public payable {
        WETH(weth).deposit{value: msg.value}();
        uint256 _amount = IERC20(weth).balanceOf(address(this));
        IVaultAPI vault = IVaultAPI(yvWETH);

        IVaultAPI(vault).deposit(_amount, msg.sender);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"depositETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yvWETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061005173c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273a9fe4601811213c340e850ea305481aff02f5b28600019610056602090811b61023d17901c565b610422565b8015806100dc575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156100ae57600080fd5b505afa1580156100c2573d6000803e3d6000fd5b505050506040513d60208110156100d857600080fd5b5051155b6101175760405162461bcd60e51b8152600401808060200182810382526036815260200180610af26036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b1790915261016d91859161017216565b505050565b60606101cb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661022760201b610355179092919060201c565b80519091501561016d578080602001905160208110156101ea57600080fd5b505161016d5760405162461bcd60e51b815260040180806020018281038252602a815260200180610ac8602a913960400191505060405180910390fd5b6060610236848460008561023e565b949350505050565b6060610249856103e9565b61029a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106102d95780518252601f1990920191602091820191016102ba565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461033b576040519150601f19603f3d011682016040523d82523d6000602084013e610340565b606091505b509150915081156103545791506102369050565b8051156103645780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156103ae578181015183820152602001610396565b50505050905090810190601f1680156103db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610236575050151592915050565b610697806104316000396000f3fe6080604052600436106100385760003560e01c806333f2a59d1461004c5780633fc8cef31461007d578063f6326fb31461009257610047565b3661004757610045610096565b005b600080fd5b34801561005857600080fd5b5061006161020d565b604080516001600160a01b039092168252519081900360200190f35b34801561008957600080fd5b50610061610225565b6100455b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156100e557600080fd5b505af11580156100f9573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000945073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc293506370a0823192506024808301926020929190829003018186803b15801561015257600080fd5b505afa158015610166573d6000803e3d6000fd5b505050506040513d602081101561017c57600080fd5b505160408051636e553f6560e01b815260048101839052336024820152905191925073a9fe4601811213c340e850ea305481aff02f5b28918291636e553f659160448083019260209291908290030181600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b505050506040513d602081101561020757600080fd5b50505050565b73a9fe4601811213c340e850ea305481aff02f5b2881565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b8015806102c3575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561029557600080fd5b505afa1580156102a9573d6000803e3d6000fd5b505050506040513d60208110156102bf57600080fd5b5051155b6102fe5760405162461bcd60e51b815260040180806020018281038252603681526020018061062c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261035090849061036c565b505050565b6060610364848460008561041d565b949350505050565b60606103c1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166103559092919063ffffffff16565b805190915015610350578080602001905160208110156103e057600080fd5b50516103505760405162461bcd60e51b815260040180806020018281038252602a815260200180610602602a913960400191505060405180910390fd5b6060610428856105c8565b610479576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106104b85780518252601f199092019160209182019101610499565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461051a576040519150601f19603f3d011682016040523d82523d6000602084013e61051f565b606091505b509150915081156105335791506103649050565b8051156105435780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561058d578181015183820152602001610575565b50505050905090810190601f1680156105ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061036457505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122005796badfac29af45c24dbded7e48ba9eff9522fb32310e54e5f615acc2beb5864736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365

Deployed Bytecode

0x6080604052600436106100385760003560e01c806333f2a59d1461004c5780633fc8cef31461007d578063f6326fb31461009257610047565b3661004757610045610096565b005b600080fd5b34801561005857600080fd5b5061006161020d565b604080516001600160a01b039092168252519081900360200190f35b34801561008957600080fd5b50610061610225565b6100455b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b1580156100e557600080fd5b505af11580156100f9573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000945073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc293506370a0823192506024808301926020929190829003018186803b15801561015257600080fd5b505afa158015610166573d6000803e3d6000fd5b505050506040513d602081101561017c57600080fd5b505160408051636e553f6560e01b815260048101839052336024820152905191925073a9fe4601811213c340e850ea305481aff02f5b28918291636e553f659160448083019260209291908290030181600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b505050506040513d602081101561020757600080fd5b50505050565b73a9fe4601811213c340e850ea305481aff02f5b2881565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b8015806102c3575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561029557600080fd5b505afa1580156102a9573d6000803e3d6000fd5b505050506040513d60208110156102bf57600080fd5b5051155b6102fe5760405162461bcd60e51b815260040180806020018281038252603681526020018061062c6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261035090849061036c565b505050565b6060610364848460008561041d565b949350505050565b60606103c1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166103559092919063ffffffff16565b805190915015610350578080602001905160208110156103e057600080fd5b50516103505760405162461bcd60e51b815260040180806020018281038252602a815260200180610602602a913960400191505060405180910390fd5b6060610428856105c8565b610479576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106104b85780518252601f199092019160209182019101610499565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461051a576040519150601f19603f3d011682016040523d82523d6000602084013e61051f565b606091505b509150915081156105335791506103649050565b8051156105435780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561058d578181015183820152602001610575565b50505050905090810190601f1680156105ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061036457505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122005796badfac29af45c24dbded7e48ba9eff9522fb32310e54e5f615acc2beb5864736f6c634300060c0033

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.