ETH Price: $3,192.39 (-2.34%)

Contract

0xB79A4F5828eb55c10D7abF4bFe9a9f5d11aA84e0

Overview

ETH Balance

0.0147 ETH

ETH Value

$46.93 (@ $3,192.39/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Onswap192588892025-01-18 17:50:1115 hrs ago1737222611IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000253150.226
Onswap192542262025-01-18 13:32:4720 hrs ago1737207167IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000123330.148
Onswap192248152025-01-17 10:32:4347 hrs ago1737109963IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000129660.13
Onswap192163302025-01-17 2:45:192 days ago1737081919IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000056820.0564
Onswap191870272025-01-15 23:43:093 days ago1736984589IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000139730.072
Onswap191842772025-01-15 21:10:203 days ago1736975420IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000341050.18
Onswap191838332025-01-15 20:45:343 days ago1736973934IN
0xB79A4F58...d11aA84e0
0.0035 ETH0.000182690.23
Onswap191837712025-01-15 20:42:003 days ago1736973720IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000288170.23
Onswap191786132025-01-15 15:48:193 days ago1736956099IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000302880.35
Onswap191763292025-01-15 13:38:313 days ago1736948311IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000244720.207
Onswap191721642025-01-15 7:15:144 days ago1736925314IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000010620.0417
Onswap191608242025-01-14 20:53:104 days ago1736887990IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000140460.077
Onswap191608172025-01-14 20:52:474 days ago1736887967IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000120630.0775
Onswap191545932025-01-14 15:08:404 days ago1736867320IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000094940.144
Onswap191545652025-01-14 15:07:034 days ago1736867223IN
0xB79A4F58...d11aA84e0
0.006912 ETH0.000085820.158
Onswap191420992025-01-14 2:37:125 days ago1736822232IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000021510.0494
Onswap191292572025-01-13 14:36:535 days ago1736779013IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000262020.435
Onswap191235542025-01-13 9:18:356 days ago1736759915IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000014660.0532
Onswap191109282025-01-12 21:36:026 days ago1736717762IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000022560.0389
Onswap191031442025-01-12 14:27:166 days ago1736692036IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000060390.0535
Onswap191031252025-01-12 14:26:136 days ago1736691973IN
0xB79A4F58...d11aA84e0
0.0059781 ETH0.000042690.0538
Onswap191018732025-01-12 13:17:066 days ago1736687826IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000008310.0339
Onswap190993542025-01-12 10:57:466 days ago1736679466IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000032460.0278
Onswap190726802025-01-11 10:22:527 days ago1736590972IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000014190.033
Onswap190646152025-01-11 3:02:378 days ago1736564557IN
0xB79A4F58...d11aA84e0
0.0003 ETH0.000042990.0378
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
191838332025-01-15 20:45:343 days ago1736973934
0xB79A4F58...d11aA84e0
0.0032 ETH
191545652025-01-14 15:07:034 days ago1736867223
0xB79A4F58...d11aA84e0
0.006612 ETH
191031252025-01-12 14:26:136 days ago1736691973
0xB79A4F58...d11aA84e0
0.0056781 ETH
190234762025-01-09 13:10:529 days ago1736428252
0xB79A4F58...d11aA84e0
0.0032 ETH
187714872024-12-30 21:29:0919 days ago1735594149
0xB79A4F58...d11aA84e0
0.0059 ETH
187423452024-12-29 18:18:0920 days ago1735496289
0xB79A4F58...d11aA84e0
0.0027 ETH
187422062024-12-29 18:10:1720 days ago1735495817
0xB79A4F58...d11aA84e0
0.00881 ETH
186747402024-12-27 4:15:5123 days ago1735272951
0xB79A4F58...d11aA84e0
0.00021 ETH
186742142024-12-27 3:47:0023 days ago1735271220
0xB79A4F58...d11aA84e0
0.0002 ETH
185766062024-12-23 10:01:5526 days ago1734948115
0xB79A4F58...d11aA84e0
0.045 ETH
185093652024-12-20 20:05:0029 days ago1734725100
0xB79A4F58...d11aA84e0
0.0097 ETH
184173062024-12-17 6:58:5533 days ago1734418735
0xB79A4F58...d11aA84e0
0.003 ETH
183909002024-12-16 6:41:5234 days ago1734331312
0xB79A4F58...d11aA84e0
0.0033 ETH
183733682024-12-15 14:33:5834 days ago1734273238
0xB79A4F58...d11aA84e0
0.0097 ETH
183721582024-12-15 13:24:5034 days ago1734269090
0xB79A4F58...d11aA84e0
0.0077 ETH
183708372024-12-15 12:11:1834 days ago1734264678
0xB79A4F58...d11aA84e0
0.0032 ETH
183551762024-12-14 21:50:4035 days ago1734213040
0xB79A4F58...d11aA84e0
0.0032 ETH
183524912024-12-14 19:22:4235 days ago1734204162
0xB79A4F58...d11aA84e0
0.0035 ETH
183472722024-12-14 14:33:3035 days ago1734186810
0xB79A4F58...d11aA84e0
0.0032 ETH
183466422024-12-14 13:58:2035 days ago1734184700
0xB79A4F58...d11aA84e0
0.0032 ETH
183457662024-12-14 13:08:3535 days ago1734181715
0xB79A4F58...d11aA84e0
0.0272 ETH
183442232024-12-14 11:41:2835 days ago1734176488
0xB79A4F58...d11aA84e0
0.0035 ETH
183436052024-12-14 11:07:0135 days ago1734174421
0xB79A4F58...d11aA84e0
0.0032 ETH
183420852024-12-14 9:41:5136 days ago1734169311
0xB79A4F58...d11aA84e0
0.0029 ETH
182109472024-12-09 9:23:5941 days ago1733736239
0xB79A4F58...d11aA84e0
0.1997 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OnchainSwapV3

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 5 : OnchainSwapV3.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./OnchainGateway.sol";
import '@openzeppelin/contracts/access/Ownable.sol';



contract OnchainSwapV3  is Context, Ownable{

    uint256 public fee = 0.05 ether;

    event ClaimedTokens(address to, uint256 balance);
    event OnchainSwap(address token, uint256 amount, uint256 fee);

    OnchainGateway public onchainGateway;

    constructor() {
        onchainGateway = new OnchainGateway(address(this));
    }

    modifier hasFee() {
        require(msg.value >= fee);
        _;
    }

    function onswap(
        address token,
        uint256 amount,
        address dex,
        address dexgateway,
        bytes memory calldata_
    ) external payable hasFee {

        if(token!=address(0)) {
            onchainGateway.claimTokens(
                token,
                _msgSender(),
                amount
            );

            if (dexgateway == address(0)) {
                forceApprove(token, dex, amount);
            } else {
                forceApprove(token, dexgateway, amount);
            }
        }

        require(dex != address(onchainGateway), "OnchainSwap: call to onchain gateway");

        {
            uint256 size;
            address toCheck = dex;

            assembly {
                size := extcodesize(toCheck)
            }

            require(size != 0, "OnchainSwap: call for a non-contract account");
        }


        (bool swapPassed, ) = dex.call{value: msg.value - fee}(
            calldata_
        );

        require(swapPassed, "OnchainSwap: Fail to call");
        emit OnchainSwap(token, amount, fee);
    }

    function changeFee(uint256 _newFee) public onlyOwner {
        fee = _newFee;
    }

    function claimTokens(address _to) public onlyOwner {
        uint256 balance = address(this).balance;
        (bool sent, ) = _to.call{value: balance}("");
        require(sent, "Failed to send Ether");
        emit ClaimedTokens(_to, balance);
    }

    function forceApprove(address _token, address _recipient, uint256 _value) internal {
        IERC20 erc20token = IERC20(_token);
        if (erc20token.allowance(address(this), _recipient) < _value) {
            erc20token.approve(_recipient, 0);
            erc20token.approve(_recipient, type(uint256).max);
        }
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 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 {
        _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 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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 4 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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;
    }
}

File 5 of 5 : OnchainGateway.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";


contract OnchainGateway {
    address public immutable onchainSwap;

    modifier onlyOnchainSwap() {
        require(onchainSwap == msg.sender, "Symb: caller is not the onchainSwap");
        _;
    }

    constructor(address _onchainSwap) {
        onchainSwap = _onchainSwap;
    }

    function claimTokens(
        address _token,
        address _from,
        uint256 _amount
    ) external onlyOnchainSwap {
        IERC20(_token).transferFrom(_from, onchainSwap, _amount );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"OnchainSwap","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"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"changeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onchainGateway","outputs":[{"internalType":"contract OnchainGateway","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"address","name":"dexgateway","type":"address"},{"internalType":"bytes","name":"calldata_","type":"bytes"}],"name":"onswap","outputs":[],"stateMutability":"payable","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"}]

608060405266b1a2bc2ec5000060015534801561001b57600080fd5b5061002533610084565b30604051610032906100d4565b6001600160a01b039091168152602001604051809103906000f08015801561005e573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556100e1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103a180610d2b83390190565b610c3b806100f06000396000f3fe60806040526004361061007b5760003560e01c8063c20bb33c1161004e578063c20bb33c14610101578063ddca3f4314610121578063df8de3e714610145578063f2fde38b1461016557600080fd5b806321c69a19146100805780636a1db1bf14610095578063715018a6146100b55780638da5cb5b146100ca575b600080fd5b61009361008e3660046109fe565b610185565b005b3480156100a157600080fd5b506100936100b0366004610b2b565b61046d565b3480156100c157600080fd5b506100936104cc565b3480156100d657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b34801561010d57600080fd5b506002546100e4906001600160a01b031681565b34801561012d57600080fd5b5061013760015481565b6040519081526020016100f8565b34801561015157600080fd5b506100936101603660046109dc565b610532565b34801561017157600080fd5b506100936101803660046109dc565b610676565b60015434101561019457600080fd5b6001600160a01b0385161561025e576002546001600160a01b0316639fc314c886336040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101879052606401600060405180830381600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506001600160a01b0382166102535761024e858486610758565b61025e565b61025e858386610758565b6002546001600160a01b03848116911614156102e65760405162461bcd60e51b8152602060048201526024808201527f4f6e636861696e537761703a2063616c6c20746f206f6e636861696e2067617460448201527f657761790000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b823b838161035c5760405162461bcd60e51b815260206004820152602c60248201527f4f6e636861696e537761703a2063616c6c20666f722061206e6f6e2d636f6e7460448201527f72616374206163636f756e74000000000000000000000000000000000000000060648201526084016102dd565b50506000836001600160a01b0316600154346103789190610b98565b836040516103869190610b5d565b60006040518083038185875af1925050503d80600081146103c3576040519150601f19603f3d011682016040523d82523d6000602084013e6103c8565b606091505b50509050806104195760405162461bcd60e51b815260206004820152601960248201527f4f6e636861696e537761703a204661696c20746f2063616c6c0000000000000060448201526064016102dd565b600154604080516001600160a01b03891681526020810188905280820192909252517f61a4ff3bb8bbf861e1aa28d574e4b88959510ac2ae1b845521bb8c13c33d566b9181900360600190a1505050505050565b6000546001600160a01b031633146104c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b600155565b6000546001600160a01b031633146105265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6105306000610958565b565b6000546001600160a01b0316331461058c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146105d9576040519150601f19603f3d011682016040523d82523d6000602084013e6105de565b606091505b505090508061062f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e6420457468657200000000000000000000000060448201526064016102dd565b604080516001600160a01b0385168152602081018490527fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907910160405180910390a1505050565b6000546001600160a01b031633146106d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6001600160a01b03811661074c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102dd565b61075581610958565b50565b6040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0383811660248301528491839183169063dd62ed3e9060440160206040518083038186803b1580156107bc57600080fd5b505afa1580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f49190610b44565b1015610952576040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000602483015282169063095ea7b390604401602060405180830381600087803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610b09565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602483015282169063095ea7b390604401602060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109509190610b09565b505b50505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d757600080fd5b919050565b6000602082840312156109ee57600080fd5b6109f7826109c0565b9392505050565b600080600080600060a08688031215610a1657600080fd5b610a1f866109c0565b945060208601359350610a34604087016109c0565b9250610a42606087016109c0565b9150608086013567ffffffffffffffff80821115610a5f57600080fd5b818801915088601f830112610a7357600080fd5b813581811115610a8557610a85610bd6565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610acb57610acb610bd6565b816040528281528b6020848701011115610ae457600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b600060208284031215610b1b57600080fd5b815180151581146109f757600080fd5b600060208284031215610b3d57600080fd5b5035919050565b600060208284031215610b5657600080fd5b5051919050565b6000825160005b81811015610b7e5760208186018101518583015201610b64565b81811115610b8d576000828501525b509190910192915050565b600082821015610bd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220f64887f09e0ad9ca1e07772942887db6c5ffb0fd1d140d1b7da95383f6b8b2ff64736f6c6343000807003360a060405234801561001057600080fd5b506040516103a13803806103a183398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c61030361009e6000396000818160400152818160a201526101ae01526103036000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632ec609031461003b5780639fc314c81461008b575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61009e610099366004610268565b6100a0565b005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163314610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f53796d623a2063616c6c6572206973206e6f7420746865206f6e636861696e5360448201527f7761700000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301527f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018390528416906323b872dd90606401602060405180830381600087803b15801561020157600080fd5b505af1158015610215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023991906102a4565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461026357600080fd5b919050565b60008060006060848603121561027d57600080fd5b6102868461023f565b92506102946020850161023f565b9150604084013590509250925092565b6000602082840312156102b657600080fd5b815180151581146102c657600080fd5b939250505056fea2646970667358221220489f9ae0e5ff4d708afb664245d895032f4ff127fcb2102de46b4363065f699e64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061007b5760003560e01c8063c20bb33c1161004e578063c20bb33c14610101578063ddca3f4314610121578063df8de3e714610145578063f2fde38b1461016557600080fd5b806321c69a19146100805780636a1db1bf14610095578063715018a6146100b55780638da5cb5b146100ca575b600080fd5b61009361008e3660046109fe565b610185565b005b3480156100a157600080fd5b506100936100b0366004610b2b565b61046d565b3480156100c157600080fd5b506100936104cc565b3480156100d657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b34801561010d57600080fd5b506002546100e4906001600160a01b031681565b34801561012d57600080fd5b5061013760015481565b6040519081526020016100f8565b34801561015157600080fd5b506100936101603660046109dc565b610532565b34801561017157600080fd5b506100936101803660046109dc565b610676565b60015434101561019457600080fd5b6001600160a01b0385161561025e576002546001600160a01b0316639fc314c886336040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101879052606401600060405180830381600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506001600160a01b0382166102535761024e858486610758565b61025e565b61025e858386610758565b6002546001600160a01b03848116911614156102e65760405162461bcd60e51b8152602060048201526024808201527f4f6e636861696e537761703a2063616c6c20746f206f6e636861696e2067617460448201527f657761790000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b823b838161035c5760405162461bcd60e51b815260206004820152602c60248201527f4f6e636861696e537761703a2063616c6c20666f722061206e6f6e2d636f6e7460448201527f72616374206163636f756e74000000000000000000000000000000000000000060648201526084016102dd565b50506000836001600160a01b0316600154346103789190610b98565b836040516103869190610b5d565b60006040518083038185875af1925050503d80600081146103c3576040519150601f19603f3d011682016040523d82523d6000602084013e6103c8565b606091505b50509050806104195760405162461bcd60e51b815260206004820152601960248201527f4f6e636861696e537761703a204661696c20746f2063616c6c0000000000000060448201526064016102dd565b600154604080516001600160a01b03891681526020810188905280820192909252517f61a4ff3bb8bbf861e1aa28d574e4b88959510ac2ae1b845521bb8c13c33d566b9181900360600190a1505050505050565b6000546001600160a01b031633146104c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b600155565b6000546001600160a01b031633146105265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6105306000610958565b565b6000546001600160a01b0316331461058c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146105d9576040519150601f19603f3d011682016040523d82523d6000602084013e6105de565b606091505b505090508061062f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e6420457468657200000000000000000000000060448201526064016102dd565b604080516001600160a01b0385168152602081018490527fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907910160405180910390a1505050565b6000546001600160a01b031633146106d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6001600160a01b03811661074c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102dd565b61075581610958565b50565b6040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0383811660248301528491839183169063dd62ed3e9060440160206040518083038186803b1580156107bc57600080fd5b505afa1580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f49190610b44565b1015610952576040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000602483015282169063095ea7b390604401602060405180830381600087803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610b09565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602483015282169063095ea7b390604401602060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109509190610b09565b505b50505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d757600080fd5b919050565b6000602082840312156109ee57600080fd5b6109f7826109c0565b9392505050565b600080600080600060a08688031215610a1657600080fd5b610a1f866109c0565b945060208601359350610a34604087016109c0565b9250610a42606087016109c0565b9150608086013567ffffffffffffffff80821115610a5f57600080fd5b818801915088601f830112610a7357600080fd5b813581811115610a8557610a85610bd6565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610acb57610acb610bd6565b816040528281528b6020848701011115610ae457600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b600060208284031215610b1b57600080fd5b815180151581146109f757600080fd5b600060208284031215610b3d57600080fd5b5035919050565b600060208284031215610b5657600080fd5b5051919050565b6000825160005b81811015610b7e5760208186018101518583015201610b64565b81811115610b8d576000828501525b509190910192915050565b600082821015610bd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220f64887f09e0ad9ca1e07772942887db6c5ffb0fd1d140d1b7da95383f6b8b2ff64736f6c63430008070033

Block Transaction Gas Used Reward
view all blocks sequenced

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.