ETH Price: $2,615.65 (-4.30%)

Contract

0x47b24fDF2f8EC7b72ac879b124F90f3FC53b51cA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...199740712024-05-29 7:37:11265 days ago1716968231IN
0x47b24fDF...FC53b51cA
0 ETH0.0003155911
Bid With Eth124952662021-05-24 5:52:431366 days ago1621835563IN
0x47b24fDF...FC53b51cA
0.052 ETH0.01837721237
Bid With Eth124934902021-05-23 23:15:501366 days ago1621811750IN
0x47b24fDF...FC53b51cA
1.3 ETH0.0045833559
Bid With Eth124934892021-05-23 23:15:291366 days ago1621811729IN
0x47b24fDF...FC53b51cA
0.26 ETH0.0047387261
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
0.253 ETH0.005722860
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
0.2 ETH0.0047743461
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
0.025 ETH0.0057927274
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
1.3 ETH0.0062614480
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
0.11 ETH0.007045290
Bid With Eth124934872021-05-23 23:14:481366 days ago1621811688IN
0x47b24fDF...FC53b51cA
0.15 ETH0.0073583294
Bid With Eth124934862021-05-23 23:14:411366 days ago1621811681IN
0x47b24fDF...FC53b51cA
1.3 ETH0.0059405475.9
Bid With Eth124934852021-05-23 23:14:371366 days ago1621811677IN
0x47b24fDF...FC53b51cA
0.06 ETH0.0060275677
Bid With Eth124934832021-05-23 23:14:211366 days ago1621811661IN
0x47b24fDF...FC53b51cA
1.2 ETH0.0060844763.8
Bid With Eth124934822021-05-23 23:14:081366 days ago1621811648IN
0x47b24fDF...FC53b51cA
0.25 ETH0.0056352972
Bid With Eth124934822021-05-23 23:14:081366 days ago1621811648IN
0x47b24fDF...FC53b51cA
0.0234 ETH0.0057918374
Bid With Eth124934822021-05-23 23:14:081366 days ago1621811648IN
0x47b24fDF...FC53b51cA
0.951 ETH0.005870175
Bid With Eth124934812021-05-23 23:13:591366 days ago1621811639IN
0x47b24fDF...FC53b51cA
1.2 ETH0.0076294480
Bid With Eth124934802021-05-23 23:13:551366 days ago1621811635IN
0x47b24fDF...FC53b51cA
0.03 ETH0.0048990862.59375
Bid With Eth124934802021-05-23 23:13:551366 days ago1621811635IN
0x47b24fDF...FC53b51cA
0.04 ETH0.0048990862.59375
Bid With Eth124934772021-05-23 23:13:221366 days ago1621811602IN
0x47b24fDF...FC53b51cA
0.14 ETH0.0056361672
Bid With Eth124934762021-05-23 23:12:581366 days ago1621811578IN
0x47b24fDF...FC53b51cA
0.4 ETH0.0057135673
Bid With Eth124934762021-05-23 23:12:581366 days ago1621811578IN
0x47b24fDF...FC53b51cA
0.2111 ETH0.007153575
Bid With Eth124934742021-05-23 23:12:331366 days ago1621811553IN
0x47b24fDF...FC53b51cA
0.2 ETH0.0062614480
Bid With Eth124934722021-05-23 23:12:291366 days ago1621811549IN
0x47b24fDF...FC53b51cA
0.052 ETH0.0049308863
Bid With Eth124934682021-05-23 23:11:281366 days ago1621811488IN
0x47b24fDF...FC53b51cA
0.05 ETH0.0063406881
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
124952662021-05-24 5:52:431366 days ago1621835563
0x47b24fDF...FC53b51cA
0.052 ETH
124934902021-05-23 23:15:501366 days ago1621811750
0x47b24fDF...FC53b51cA
1.3 ETH
124934892021-05-23 23:15:291366 days ago1621811729
0x47b24fDF...FC53b51cA
0.26 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
0.253 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
0.2 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
0.025 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
1.3 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
0.11 ETH
124934872021-05-23 23:14:481366 days ago1621811688
0x47b24fDF...FC53b51cA
0.15 ETH
124934862021-05-23 23:14:411366 days ago1621811681
0x47b24fDF...FC53b51cA
1.3 ETH
124934852021-05-23 23:14:371366 days ago1621811677
0x47b24fDF...FC53b51cA
0.06 ETH
124934832021-05-23 23:14:211366 days ago1621811661
0x47b24fDF...FC53b51cA
1.2 ETH
124934822021-05-23 23:14:081366 days ago1621811648
0x47b24fDF...FC53b51cA
0.25 ETH
124934822021-05-23 23:14:081366 days ago1621811648
0x47b24fDF...FC53b51cA
0.0234 ETH
124934822021-05-23 23:14:081366 days ago1621811648
0x47b24fDF...FC53b51cA
0.951 ETH
124934812021-05-23 23:13:591366 days ago1621811639
0x47b24fDF...FC53b51cA
1.2 ETH
124934802021-05-23 23:13:551366 days ago1621811635
0x47b24fDF...FC53b51cA
0.03 ETH
124934802021-05-23 23:13:551366 days ago1621811635
0x47b24fDF...FC53b51cA
0.04 ETH
124934772021-05-23 23:13:221366 days ago1621811602
0x47b24fDF...FC53b51cA
0.14 ETH
124934762021-05-23 23:12:581366 days ago1621811578
0x47b24fDF...FC53b51cA
0.4 ETH
124934762021-05-23 23:12:581366 days ago1621811578
0x47b24fDF...FC53b51cA
0.2111 ETH
124934742021-05-23 23:12:331366 days ago1621811553
0x47b24fDF...FC53b51cA
0.2 ETH
124934722021-05-23 23:12:291366 days ago1621811549
0x47b24fDF...FC53b51cA
0.052 ETH
124934682021-05-23 23:11:281366 days ago1621811488
0x47b24fDF...FC53b51cA
0.05 ETH
124934672021-05-23 23:11:261366 days ago1621811486
0x47b24fDF...FC53b51cA
0.5 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RankedAuctionWETHGateway

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : RankedAuctionWETHGateway.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import {IRankedAuction} from '../interfaces/IRankedAuction.sol';
import {WETHGatewayBase} from './WETHGatewayBase.sol';

/**
 * @title RankedAuctionWETHGateway contract
 *
 * @author Aito
 * @notice Simple gateway to allow bidding in Aito ranked auctions denominated in WETH using ETH.
 */
contract RankedAuctionWETHGateway is WETHGatewayBase {

    constructor(address weth) WETHGatewayBase(weth){}

    /**
     * @notice Bids using the caller's ETH onBehalfOf the given address.
     *
     * @param auction The auction address to query an auction to bid on.
     * @param auctionId The ranked auction ID to bid on.
     * @param onBehalfOf The address to bid on behalf of.
     * @param amount The amount to bid.
     */
    function bidWithEth(
        address auction,
        uint256 auctionId,
        address onBehalfOf,
        uint256 amount
    ) external payable {
        uint256 WETHBefore = WETH.balanceOf(address(this));
        WETH.deposit{value: msg.value}();
        IRankedAuction(auction).bid(auctionId, onBehalfOf, amount);
        uint256 WETHAfter = WETH.balanceOf(address(this));
        if (WETHAfter > WETHBefore) {
            uint256 diff = WETHAfter - WETHBefore;
            WETH.withdraw(diff);
            _safeTransferETH(msg.sender, diff);
        }
        require(WETH.balanceOf(address(this)) == WETHBefore, "RankedAuctionWETHGateway: Invalid WETH After");
    }

    receive() external payable {
        require(msg.sender == address(WETH), "RankedAuctionWETHGateway: Not WETH address");
    }
}

File 2 of 8 : IRankedAuction.sol
pragma solidity 0.7.6;

interface IRankedAuction {
    function bid(uint256 auctionId, address onBehalfOf, uint256 amount) external;
}

File 3 of 8 : WETHGatewayBase.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import {WETHBase} from './WETHBase.sol';
import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol';

/**
 * @title WETHGatewayBase contract
 *
 * @author Aito
 * @notice Simple WETH gateway contract with basic functionality, must be inherited.
 */
contract WETHGatewayBase is Ownable, WETHBase {

    /**
     * @notice Constructor sets the immutable WETH address.
     *
     * @param weth The WETH address.
     */
    constructor(address weth) WETHBase(weth) {}

    /**
     * @dev Admin function authorizes an address through WETH approval.
     *
     * @param toAuthorize The address to approve with WETH.
     */
    function authorize(address toAuthorize) external onlyOwner {
        WETH.approve(toAuthorize, type(uint256).max);
    }

    /**
     * @dev transfer ERC20 from the utility contract, for ERC20 recovery in case of stuck tokens due
     * direct transfers to the contract address.
     *
     * @param token token to transfer
     * @param to recipient of the transfer
     * @param amount amount to send
     */
    function emergencyTokenTransfer(
        address token,
        address to,
        uint256 amount
    ) external onlyOwner {
        IERC20(token).transfer(to, amount);
    }

    /**
     * @dev transfer native Ether from the utility contract, for native Ether recovery in case of stuck Ether
     * due selfdestructs or transfer ether to pre-computated contract address before deployment.
     *
     * @param to recipient of the transfer
     * @param amount amount to send
     */
    function emergencyEtherTransfer(address to, uint256 amount) external onlyOwner {
        _safeTransferETH(to, amount);
    }
}

File 4 of 8 : WETHBase.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import {IWETH} from '../interfaces/IWETH.sol';

contract WETHBase {

    IWETH public immutable WETH;

    /**
     * @notice Constructor sets the immutable WETH address.
     */
    constructor(address weth) {
        WETH = IWETH(weth);
    }

    /**
    * @dev transfer ETH to an address, revert if it fails.
    * @param to recipient of the transfer
    * @param value the amount to send
    */
    function _safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'ETH_TRANSFER_FAILED');
    }    
}

File 5 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 `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);
}

File 6 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 8 : IWETH.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

interface IWETH {

  function balanceOf(address guy) external returns (uint256);

  function deposit() external payable;

  function withdraw(uint256 wad) external;

  function approve(address guy, uint256 wad) external returns (bool);

  function transferFrom(
    address src,
    address dst,
    uint256 wad
  ) external returns (bool);

}

File 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAuthorize","type":"address"}],"name":"authorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"auction","type":"address"},{"internalType":"uint256","name":"auctionId","type":"uint256"},{"internalType":"address","name":"onBehalfOf","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bidWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyEtherTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyTokenTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234801561001057600080fd5b50604051610d0a380380610d0a8339818101604052602081101561003357600080fd5b5051808060006100416100a3565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b031916608052506100a79050565b3390565b60805160601c610c246100e660003980608f52806104105280610496528061054052806105f652806106cb528061079252806108005250610c246000f3fe60806040526004361061007f5760003560e01c8063b6a5d7de1161004e578063b6a5d7de14610190578063c6cb9a8a146101c3578063eed88b8d146101fd578063f2fde38b14610236576100ed565b8063715018a6146100f25780638da5cb5b14610107578063a3d5b25514610138578063ad5c46481461017b576100ed565b366100ed57336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610bc5602a913960400191505060405180910390fd5b005b600080fd5b3480156100fe57600080fd5b506100eb610269565b34801561011357600080fd5b5061011c610315565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100eb6004803603606081101561015b57600080fd5b506001600160a01b03813581169160208101359091169060400135610324565b34801561018757600080fd5b5061011c61040e565b34801561019c57600080fd5b506100eb600480360360208110156101b357600080fd5b50356001600160a01b0316610432565b6100eb600480360360808110156101d957600080fd5b506001600160a01b038135811691602081013591604082013516906060013561053c565b34801561020957600080fd5b506100eb6004803603604081101561022057600080fd5b506001600160a01b0381351690602001356108dd565b34801561024257600080fd5b506100eb6004803603602081101561025957600080fd5b50356001600160a01b031661094d565b610271610a4f565b6001600160a01b0316610282610315565b6001600160a01b0316146102cb576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b61032c610a4f565b6001600160a01b031661033d610315565b6001600160a01b031614610386576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b826001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156103dd57600080fd5b505af11580156103f1573d6000803e3d6000fd5b505050506040513d602081101561040757600080fd5b5050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61043a610a4f565b6001600160a01b031661044b610315565b6001600160a01b031614610494576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b3826000196040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561050d57600080fd5b505af1158015610521573d6000803e3d6000fd5b505050506040513d602081101561053757600080fd5b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b1580156105ad57600080fd5b505af11580156105c1573d6000803e3d6000fd5b505050506040513d60208110156105d757600080fd5b505160408051630d0e30db60e41b815290519192506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163d0e30db0913491600480830192600092919082900301818588803b15801561063f57600080fd5b505af1158015610653573d6000803e3d6000fd5b50506040805163c0f4ed3160e01b8152600481018990526001600160a01b038881166024830152604482018890529151918a16945063c0f4ed319350606480820193506000929182900301818387803b1580156106af57600080fd5b505af11580156106c3573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b15801561073857600080fd5b505af115801561074c573d6000803e3d6000fd5b505050506040513d602081101561076257600080fd5b50519050818111156107fd5760408051632e1a7d4d60e01b81528383036004820181905291516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691632e1a7d4d91602480830192600092919082900301818387803b1580156107d957600080fd5b505af11580156107ed573d6000803e3d6000fd5b505050506107fb3382610a53565b505b817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b505050506040513d602081101561089757600080fd5b5051146108d55760405162461bcd60e51b815260040180806020018281038252602c815260200180610b99602c913960400191505060405180910390fd5b505050505050565b6108e5610a4f565b6001600160a01b03166108f6610315565b6001600160a01b03161461093f576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b6109498282610a53565b5050565b610955610a4f565b6001600160a01b0316610966610315565b6001600160a01b0316146109af576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b6001600160a01b0381166109f45760405162461bcd60e51b8152600401808060200182810382526026815260200180610b536026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310610a9f5780518252601f199092019160209182019101610a80565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610b01576040519150601f19603f3d011682016040523d82523d6000602084013e610b06565b606091505b5050905080610537576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657252616e6b656441756374696f6e57455448476174657761793a20496e76616c6964205745544820416674657252616e6b656441756374696f6e57455448476174657761793a204e6f7420574554482061646472657373a264697066735822122002a56022b4d51fb3a3690b38336a80e9e3abc7a77ad9732c036dc4f193479a3d64736f6c63430007060033000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Deployed Bytecode

0x60806040526004361061007f5760003560e01c8063b6a5d7de1161004e578063b6a5d7de14610190578063c6cb9a8a146101c3578063eed88b8d146101fd578063f2fde38b14610236576100ed565b8063715018a6146100f25780638da5cb5b14610107578063a3d5b25514610138578063ad5c46481461017b576100ed565b366100ed57336001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216146100eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610bc5602a913960400191505060405180910390fd5b005b600080fd5b3480156100fe57600080fd5b506100eb610269565b34801561011357600080fd5b5061011c610315565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100eb6004803603606081101561015b57600080fd5b506001600160a01b03813581169160208101359091169060400135610324565b34801561018757600080fd5b5061011c61040e565b34801561019c57600080fd5b506100eb600480360360208110156101b357600080fd5b50356001600160a01b0316610432565b6100eb600480360360808110156101d957600080fd5b506001600160a01b038135811691602081013591604082013516906060013561053c565b34801561020957600080fd5b506100eb6004803603604081101561022057600080fd5b506001600160a01b0381351690602001356108dd565b34801561024257600080fd5b506100eb6004803603602081101561025957600080fd5b50356001600160a01b031661094d565b610271610a4f565b6001600160a01b0316610282610315565b6001600160a01b0316146102cb576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b61032c610a4f565b6001600160a01b031661033d610315565b6001600160a01b031614610386576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b826001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156103dd57600080fd5b505af11580156103f1573d6000803e3d6000fd5b505050506040513d602081101561040757600080fd5b5050505050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b61043a610a4f565b6001600160a01b031661044b610315565b6001600160a01b031614610494576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663095ea7b3826000196040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561050d57600080fd5b505af1158015610521573d6000803e3d6000fd5b505050506040513d602081101561053757600080fd5b505050565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b1580156105ad57600080fd5b505af11580156105c1573d6000803e3d6000fd5b505050506040513d60208110156105d757600080fd5b505160408051630d0e30db60e41b815290519192506001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169163d0e30db0913491600480830192600092919082900301818588803b15801561063f57600080fd5b505af1158015610653573d6000803e3d6000fd5b50506040805163c0f4ed3160e01b8152600481018990526001600160a01b038881166024830152604482018890529151918a16945063c0f4ed319350606480820193506000929182900301818387803b1580156106af57600080fd5b505af11580156106c3573d6000803e3d6000fd5b5050505060007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b15801561073857600080fd5b505af115801561074c573d6000803e3d6000fd5b505050506040513d602081101561076257600080fd5b50519050818111156107fd5760408051632e1a7d4d60e01b81528383036004820181905291516001600160a01b037f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21691632e1a7d4d91602480830192600092919082900301818387803b1580156107d957600080fd5b505af11580156107ed573d6000803e3d6000fd5b505050506107fb3382610a53565b505b817f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050602060405180830381600087803b15801561086d57600080fd5b505af1158015610881573d6000803e3d6000fd5b505050506040513d602081101561089757600080fd5b5051146108d55760405162461bcd60e51b815260040180806020018281038252602c815260200180610b99602c913960400191505060405180910390fd5b505050505050565b6108e5610a4f565b6001600160a01b03166108f6610315565b6001600160a01b03161461093f576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b6109498282610a53565b5050565b610955610a4f565b6001600160a01b0316610966610315565b6001600160a01b0316146109af576040805162461bcd60e51b81526020600482018190526024820152600080516020610b79833981519152604482015290519081900360640190fd5b6001600160a01b0381166109f45760405162461bcd60e51b8152600401808060200182810382526026815260200180610b536026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310610a9f5780518252601f199092019160209182019101610a80565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610b01576040519150601f19603f3d011682016040523d82523d6000602084013e610b06565b606091505b5050905080610537576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657252616e6b656441756374696f6e57455448476174657761793a20496e76616c6964205745544820416674657252616e6b656441756374696f6e57455448476174657761793a204e6f7420574554482061646472657373a264697066735822122002a56022b4d51fb3a3690b38336a80e9e3abc7a77ad9732c036dc4f193479a3d64736f6c63430007060033

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

000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

-----Decoded View---------------
Arg [0] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

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


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.