APE Price: $1.08 (-5.87%)

Contract

0x00000000000f7e000644657dC9417b185962645a

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo1 APE

APE Value

$1.08 (@ $1.08/APE)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer43295042024-11-15 14:03:162 days ago1731679396IN
0x00000000...85962645a
0 APE0.0013168125.42069
Set Delegate43281772024-11-15 13:44:362 days ago1731678276IN
0x00000000...85962645a
0 APE0.0006791825.42069
Set Delegate43281452024-11-15 13:43:532 days ago1731678233IN
0x00000000...85962645a
0 APE0.0015783725.42069
Set Delegate43281072024-11-15 13:43:122 days ago1731678192IN
0x00000000...85962645a
0 APE0.0013775425.42069
Transfer43277012024-11-15 13:32:142 days ago1731677534IN
0x00000000...85962645a
1 APE0.0011388925.42069

Latest 1 internal transaction

Parent Transaction Hash Block From To
35503112024-11-05 7:14:3812 days ago1730790878  Contract Creation0 APE

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedApe

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 800 runs

Other Settings:
paris EvmVersion
File 1 of 9 : WrappedApe.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import {Ownable2Step} from "@openzeppelin/contracts/access/Ownable2Step.sol";

import "../interfaces/IGeneralErrors.sol";
import "../interfaces/IArbInfo.sol";

import "../libraries/NativeYieldUtils.sol";
import "./WETH9.sol";

/**
 * @dev Non-rebasing Wrapped Ape contract used by gTrade. Delegates native yield to another contract.
 */
contract WrappedApe is WETH9, Ownable2Step {
    string public constant name = "Wrapped Ape";
    string public constant symbol = "WAPE";
    uint8 public constant decimals = 18;

    /// @dev The current Native Yield delegate
    address public delegate;

    /**
     * @dev Constructor. Transfers ownership to `_owner`. Native yield mode is disabled by default.
     * @param _owner the initial owner of this contract
     */
    constructor(address _owner) {
        if (_owner == address(0)) revert IGeneralErrors.ZeroAddress();

        _transferOwnership(_owner);
    }

    /**
     * @dev Sets the Native Yield delegate for this contract.
     * @param _delegate the new delegate
     */
    function setDelegate(address _delegate) external onlyOwner {
        // Update delegate state
        delegate = _delegate;

        // Call `NativeYieldUtils._trySetDelegate()`
        NativeYieldUtils.trySetDelegate(_delegate);
    }
}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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 9 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 4 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @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 9 : IArbInfo.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

/**
 * @dev Interface for Arbitrum special l2 functions
 */
interface IArbInfo {
    function configureAutomaticYield() external;
    function configureVoidYield() external;
    function configureDelegateYield(address delegate) external;
}

File 6 of 9 : IGeneralErrors.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

/**
 * @dev Interface for errors potentially used in all libraries (general names)
 */
interface IGeneralErrors {
    error InitError();
    error InvalidAddresses();
    error InvalidInputLength();
    error InvalidCollateralIndex();
    error WrongParams();
    error WrongLength();
    error WrongOrder();
    error WrongIndex();
    error BlockOrder();
    error Overflow();
    error ZeroAddress();
    error ZeroValue();
    error AlreadyExists();
    error DoesntExist();
    error Paused();
    error BelowMin();
    error AboveMax();
    error NotAuthorized();
    error WrongTradeType();
    error WrongOrderType();
    error InsufficientBalance();
    error UnsupportedChain();
}

File 7 of 9 : IWETH9.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

/**
 * @dev Interface for WETH9 token
 */
interface IWETH9 {
    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address to, uint256 amount) external returns (bool);
    function deposit() external payable;
    function withdraw(uint256) external;

    function balanceOf(address account) external view returns (uint256);

    event Approval(address indexed src, address indexed guy, uint256 wad);
    event Transfer(address indexed src, address indexed dst, uint256 wad);
    event Deposit(address indexed dst, uint256 wad);
    event Withdrawal(address indexed src, uint256 wad);
}

File 8 of 9 : NativeYieldUtils.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

import "../interfaces/IArbInfo.sol";

/**
 *
 * @dev Library that handles delegating native yield. Only supports Arbitrum Orbit chains.
 */
library NativeYieldUtils {
    address private constant ARB_INFO = address(101);

    event Delegated(address newDelegate, bool success);
    event AutomaticYieldSet(bool success);

    /**
     * @dev Sets the Native Yield delegate for this contract
     * @param _delegate the new delegate. Setting to address(0) disables native yield
     *
     * Emits {Delegated} event
     */
    function trySetDelegate(address _delegate) internal returns (bool success) {
        bytes memory data;

        if (_delegate == address(0)) {
            // If `_delegate` is address(0) then disable yield
            data = abi.encodeWithSelector(IArbInfo.configureVoidYield.selector);
        } else {
            // If `_delegate` is not address(0) then delegate the native yield
            data = abi.encodeWithSelector(IArbInfo.configureDelegateYield.selector, _delegate);
        }

        (success, ) = ARB_INFO.call(data);

        emit Delegated(_delegate, success);
    }

    /**
     * @dev Sets the Native Yield mode to Automatic
     */
    function trySetAutomaticYield() internal returns (bool success) {
        (success, ) = ARB_INFO.call(abi.encodeWithSelector(IArbInfo.configureAutomaticYield.selector));

        emit AutomaticYieldSet(success);
    }
}

File 9 of 9 : WETH9.sol
// SPDX-License-Identifier: GNU General Public License

// Copyright (C) 2015, 2016, 2017 Dapphub

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

// Copied from: https://github.com/smartcontractkit/chainlink-local/blob/main/src/shared/WETH9.sol

pragma solidity ^0.8.23;

import "../interfaces/IWETH9.sol";

contract WETH9 is IWETH9 {
    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    receive() external payable {
        _deposit();
    }

    function _deposit() internal {
        balanceOf[msg.sender] += msg.value;
        emit Deposit(msg.sender, msg.value);
    }

    function deposit() external payable {
        _deposit();
    }

    function withdraw(uint256 wad) external {
        require(balanceOf[msg.sender] >= wad);
        balanceOf[msg.sender] -= wad;
        payable(msg.sender).transfer(wad);
        emit Withdrawal(msg.sender, wad);
    }

    function totalSupply() public view returns (uint256) {
        return address(this).balance;
    }

    function approve(address guy, uint256 wad) public returns (bool) {
        allowance[msg.sender][guy] = wad;
        emit Approval(msg.sender, guy, wad);
        return true;
    }

    function transfer(address dst, uint256 wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(address src, address dst, uint256 wad) public returns (bool) {
        require(balanceOf[src] >= wad);

        if (src != msg.sender && allowance[src][msg.sender] != type(uint128).max) {
            require(allowance[src][msg.sender] >= wad);
            allowance[src][msg.sender] -= wad;
        }

        balanceOf[src] -= wad;
        balanceOf[dst] += wad;

        emit Transfer(src, dst, wad);

        return true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"guy","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newDelegate","type":"address"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"}],"name":"Delegated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610d4e380380610d4e83398101604081905261002f916100dc565b6100383361006e565b6001600160a01b03811661005f5760405163d92e233d60e01b815260040160405180910390fd5b6100688161006e565b5061010c565b600380546001600160a01b03191690556100878161008a565b50565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000602082840312156100ee57600080fd5b81516001600160a01b038116811461010557600080fd5b9392505050565b610c338061011b6000396000f3fe60806040526004361061012d5760003560e01c80638da5cb5b116100a5578063ca5eb5e111610074578063dd62ed3e11610059578063dd62ed3e14610375578063e30c3978146103ad578063f2fde38b146103cb57600080fd5b8063ca5eb5e11461034d578063d0e30db01461036d57600080fd5b80638da5cb5b146102ab57806395d89b41146102dd578063a9059cbb1461030d578063c89e43611461032d57600080fd5b80632e1a7d4d116100fc57806370a08231116100e157806370a0823114610254578063715018a61461028157806379ba50971461029657600080fd5b80632e1a7d4d1461020d578063313ce5671461022d57600080fd5b806306fdde0314610141578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101ed57600080fd5b3661013c5761013a6103eb565b005b600080fd5b34801561014d57600080fd5b5061018a6040518060400160405280600b81526020017f577261707065642041706500000000000000000000000000000000000000000081525081565b6040516101979190610a89565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb366004610ad8565b610446565b6040519015158152602001610197565b3480156101dc57600080fd5b50475b604051908152602001610197565b3480156101f957600080fd5b506101c0610208366004610b02565b6104b3565b34801561021957600080fd5b5061013a610228366004610b3e565b610645565b34801561023957600080fd5b50610242601281565b60405160ff9091168152602001610197565b34801561026057600080fd5b506101df61026f366004610b57565b60006020819052908152604090205481565b34801561028d57600080fd5b5061013a6106eb565b3480156102a257600080fd5b5061013a6106ff565b3480156102b757600080fd5b506002546001600160a01b03165b6040516001600160a01b039091168152602001610197565b3480156102e957600080fd5b5061018a604051806040016040528060048152602001635741504560e01b81525081565b34801561031957600080fd5b506101c0610328366004610ad8565b610792565b34801561033957600080fd5b506004546102c5906001600160a01b031681565b34801561035957600080fd5b5061013a610368366004610b57565b6107a6565b61013a6107d6565b34801561038157600080fd5b506101df610390366004610b72565b600160209081526000928352604080842090915290825290205481565b3480156103b957600080fd5b506003546001600160a01b03166102c5565b3480156103d757600080fd5b5061013a6103e6366004610b57565b6107de565b336000908152602081905260408120805434929061040a908490610bbb565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104a19086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152602081905260408120548211156104d857600080fd5b6001600160a01b038416331480159061052457506001600160a01b03841660009081526001602090815260408083203384529091529020546fffffffffffffffffffffffffffffffff14155b15610592576001600160a01b038416600090815260016020908152604080832033845290915290205482111561055957600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091528120805484929061058c908490610bce565b90915550505b6001600160a01b038416600090815260208190526040812080548492906105ba908490610bce565b90915550506001600160a01b038316600090815260208190526040812080548492906105e7908490610bbb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161063391815260200190565b60405180910390a35060019392505050565b3360009081526020819052604090205481111561066157600080fd5b3360009081526020819052604081208054839290610680908490610bce565b9091555050604051339082156108fc029083906000818181858888f193505050501580156106b2573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b6106f361084f565b6106fd60006108a9565b565b60035433906001600160a01b031681146107865760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61078f816108a9565b50565b600061079f3384846104b3565b9392505050565b6107ae61084f565b600480546001600160a01b0319166001600160a01b0383161790556107d2816108c2565b5050565b6106fd6103eb565b6107e661084f565b600380546001600160a01b0383166001600160a01b031990911681179091556108176002546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002546001600160a01b031633146106fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077d565b600380546001600160a01b031916905561078f81610a13565b600060606001600160a01b03831661091857506040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16631550afb360e31b179052610972565b50604080516001600160a01b0384166024808301919091528251808303909101815260449091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16630f06e20760e21b1790525b604051606590610983908390610be1565b6000604051808303816000865af19150503d80600081146109c0576040519150601f19603f3d011682016040523d82523d6000602084013e6109c5565b606091505b5050604080516001600160a01b038616815282151560208201529193507f4e5634a57ec0aa1047506bb5ca35ff8ff5e2a09dba74a834de9ce20433a1b7b2910160405180910390a150919050565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b83811015610a80578181015183820152602001610a68565b50506000910152565b6020815260008251806020840152610aa8816040850160208701610a65565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610ad357600080fd5b919050565b60008060408385031215610aeb57600080fd5b610af483610abc565b946020939093013593505050565b600080600060608486031215610b1757600080fd5b610b2084610abc565b9250610b2e60208501610abc565b9150604084013590509250925092565b600060208284031215610b5057600080fd5b5035919050565b600060208284031215610b6957600080fd5b61079f82610abc565b60008060408385031215610b8557600080fd5b610b8e83610abc565b9150610b9c60208401610abc565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104ad576104ad610ba5565b818103818111156104ad576104ad610ba5565b60008251610bf3818460208701610a65565b919091019291505056fea2646970667358221220de8a897c92a5001ec19390c3dea4a3b408e9001384e2349dffe8ed60252b770764736f6c63430008170033000000000000000000000000f2e0085c5a3a867a4f03fc7c24824f30841c586c

Deployed Bytecode

0x60806040526004361061012d5760003560e01c80638da5cb5b116100a5578063ca5eb5e111610074578063dd62ed3e11610059578063dd62ed3e14610375578063e30c3978146103ad578063f2fde38b146103cb57600080fd5b8063ca5eb5e11461034d578063d0e30db01461036d57600080fd5b80638da5cb5b146102ab57806395d89b41146102dd578063a9059cbb1461030d578063c89e43611461032d57600080fd5b80632e1a7d4d116100fc57806370a08231116100e157806370a0823114610254578063715018a61461028157806379ba50971461029657600080fd5b80632e1a7d4d1461020d578063313ce5671461022d57600080fd5b806306fdde0314610141578063095ea7b3146101a057806318160ddd146101d057806323b872dd146101ed57600080fd5b3661013c5761013a6103eb565b005b600080fd5b34801561014d57600080fd5b5061018a6040518060400160405280600b81526020017f577261707065642041706500000000000000000000000000000000000000000081525081565b6040516101979190610a89565b60405180910390f35b3480156101ac57600080fd5b506101c06101bb366004610ad8565b610446565b6040519015158152602001610197565b3480156101dc57600080fd5b50475b604051908152602001610197565b3480156101f957600080fd5b506101c0610208366004610b02565b6104b3565b34801561021957600080fd5b5061013a610228366004610b3e565b610645565b34801561023957600080fd5b50610242601281565b60405160ff9091168152602001610197565b34801561026057600080fd5b506101df61026f366004610b57565b60006020819052908152604090205481565b34801561028d57600080fd5b5061013a6106eb565b3480156102a257600080fd5b5061013a6106ff565b3480156102b757600080fd5b506002546001600160a01b03165b6040516001600160a01b039091168152602001610197565b3480156102e957600080fd5b5061018a604051806040016040528060048152602001635741504560e01b81525081565b34801561031957600080fd5b506101c0610328366004610ad8565b610792565b34801561033957600080fd5b506004546102c5906001600160a01b031681565b34801561035957600080fd5b5061013a610368366004610b57565b6107a6565b61013a6107d6565b34801561038157600080fd5b506101df610390366004610b72565b600160209081526000928352604080842090915290825290205481565b3480156103b957600080fd5b506003546001600160a01b03166102c5565b3480156103d757600080fd5b5061013a6103e6366004610b57565b6107de565b336000908152602081905260408120805434929061040a908490610bbb565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104a19086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152602081905260408120548211156104d857600080fd5b6001600160a01b038416331480159061052457506001600160a01b03841660009081526001602090815260408083203384529091529020546fffffffffffffffffffffffffffffffff14155b15610592576001600160a01b038416600090815260016020908152604080832033845290915290205482111561055957600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091528120805484929061058c908490610bce565b90915550505b6001600160a01b038416600090815260208190526040812080548492906105ba908490610bce565b90915550506001600160a01b038316600090815260208190526040812080548492906105e7908490610bbb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161063391815260200190565b60405180910390a35060019392505050565b3360009081526020819052604090205481111561066157600080fd5b3360009081526020819052604081208054839290610680908490610bce565b9091555050604051339082156108fc029083906000818181858888f193505050501580156106b2573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b6106f361084f565b6106fd60006108a9565b565b60035433906001600160a01b031681146107865760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e6572000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61078f816108a9565b50565b600061079f3384846104b3565b9392505050565b6107ae61084f565b600480546001600160a01b0319166001600160a01b0383161790556107d2816108c2565b5050565b6106fd6103eb565b6107e661084f565b600380546001600160a01b0383166001600160a01b031990911681179091556108176002546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6002546001600160a01b031633146106fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161077d565b600380546001600160a01b031916905561078f81610a13565b600060606001600160a01b03831661091857506040805160048152602481019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16631550afb360e31b179052610972565b50604080516001600160a01b0384166024808301919091528251808303909101815260449091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff16630f06e20760e21b1790525b604051606590610983908390610be1565b6000604051808303816000865af19150503d80600081146109c0576040519150601f19603f3d011682016040523d82523d6000602084013e6109c5565b606091505b5050604080516001600160a01b038616815282151560208201529193507f4e5634a57ec0aa1047506bb5ca35ff8ff5e2a09dba74a834de9ce20433a1b7b2910160405180910390a150919050565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b83811015610a80578181015183820152602001610a68565b50506000910152565b6020815260008251806020840152610aa8816040850160208701610a65565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610ad357600080fd5b919050565b60008060408385031215610aeb57600080fd5b610af483610abc565b946020939093013593505050565b600080600060608486031215610b1757600080fd5b610b2084610abc565b9250610b2e60208501610abc565b9150604084013590509250925092565b600060208284031215610b5057600080fd5b5035919050565b600060208284031215610b6957600080fd5b61079f82610abc565b60008060408385031215610b8557600080fd5b610b8e83610abc565b9150610b9c60208401610abc565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104ad576104ad610ba5565b818103818111156104ad576104ad610ba5565b60008251610bf3818460208701610a65565b919091019291505056fea2646970667358221220de8a897c92a5001ec19390c3dea4a3b408e9001384e2349dffe8ed60252b770764736f6c63430008170033

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

000000000000000000000000f2e0085c5a3a867a4f03fc7c24824f30841c586c

-----Decoded View---------------
Arg [0] : _owner (address): 0xf2E0085C5a3A867A4F03FC7c24824f30841C586c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f2e0085c5a3a867a4f03fc7c24824f30841c586c


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