Sepolia Testnet

Contract

0xf61Fa39fb137710B4383e0F1268bb1b09c6A7E8D
Transaction Hash
Method
Block
From
To
Request Token74054302025-01-02 10:23:1235 days ago1735813392IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0029358327.35364485
Request Token73003972024-12-17 22:18:2451 days ago1734473904IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000148451.5
Request Token73003642024-12-17 22:11:2451 days ago1734473484IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000177351.5
Request Token73003542024-12-17 22:09:2451 days ago1734473364IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000148381.5
Request Token73003542024-12-17 22:09:2451 days ago1734473364IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000148451.5
Request Token72467272024-12-09 23:58:4858 days ago1733788728IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000017870.64987995
Request Token72467272024-12-09 23:58:4858 days ago1733788728IN
0xf61Fa39f...09c6A7E8D
0 ETH0.000065260.60796659
Request Token72232152024-12-06 12:46:0062 days ago1733489160IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0003188611.58447948
Request Token72232142024-12-06 12:45:3662 days ago1733489136IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0010783711.17045568
Request Token65627172024-08-24 14:25:12166 days ago1724509512IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627162024-08-24 14:24:36166 days ago1724509476IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627142024-08-24 14:24:00166 days ago1724509440IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627122024-08-24 14:23:00166 days ago1724509380IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627092024-08-24 14:22:24166 days ago1724509344IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627082024-08-24 14:22:00166 days ago1724509320IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627052024-08-24 14:21:24166 days ago1724509284IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627032024-08-24 14:21:00166 days ago1724509260IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65627012024-08-24 14:20:24166 days ago1724509224IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626982024-08-24 14:19:48166 days ago1724509188IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626962024-08-24 14:19:24166 days ago1724509164IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626932024-08-24 14:18:48166 days ago1724509128IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626902024-08-24 14:18:12166 days ago1724509092IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626882024-08-24 14:17:48166 days ago1724509068IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626852024-08-24 14:17:12166 days ago1724509032IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096538100
Request Token65626832024-08-24 14:16:24166 days ago1724508984IN
0xf61Fa39f...09c6A7E8D
0 ETH0.0096526100
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenFaucet

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 5 : TokenFaucet.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract TokenFaucet is Ownable2Step {
    struct AmountRestriction {
        uint256 amountAllowedDate; //token and address daily limit
        uint256 totalAmountAllowedDate; //Total daily limit
    }

    mapping(address => AmountRestriction) public amountRestrictionMap;

    mapping(uint256 => mapping(address => mapping(address => uint256))) amountAllowedDate; //token and address Daily number
    mapping(uint256 => mapping(address => uint256)) totalAmountAllowedDate; //Total number of tokens per day

    event RequestToken(address from, address indexed to, uint256 amountAllowed);

    function requestToken(
        address token,
        address to,
        uint256 amountAllowed
    ) external {
        uint256 currentTime = getCurrentTime();

        require(
            tx.origin == _msgSender() && !isContract(to),
            "Contract addresses are not allowed"
        );

        uint256 checkAmount = amountAllowedDate[currentTime][token][to] +
            amountAllowed;
        require(
            checkAmount <= amountRestrictionMap[token].amountAllowedDate,
            "The daily maximum is exceeded"
        );

        checkAmount =
            totalAmountAllowedDate[currentTime][token] +
            amountAllowed;
        require(
            checkAmount <= amountRestrictionMap[token].totalAmountAllowedDate,
            "Exceed the maximum daily currency limit"
        );

        amountAllowedDate[currentTime][token][to] += amountAllowed;
        totalAmountAllowedDate[currentTime][token] += amountAllowed;

        bool success = IERC20(token).transfer(to, amountAllowed);
        require(success, "TRANSFER FAILED");
        emit RequestToken(token, to, amountAllowed);
    }

    function getAvailableBalance(
        address _token,
        address _account
    ) public view returns (uint256) {
        uint256 currentTime = getCurrentTime();
        return
            amountRestrictionMap[_token].amountAllowedDate -
            amountAllowedDate[currentTime][_token][_account];
    }

    function transfer(
        address _token,
        address _to,
        uint256 _amount
    ) public onlyOwner {
        bool success = IERC20(_token).transfer(_to, _amount);
        require(success, "TRANSFER FAILED");
    }

    function balanceOf(
        address _token,
        address _account
    ) public view returns (uint256) {
        return IERC20(_token).balanceOf(_account);
    }

    function setAllownAmount(
        address _token,
        uint256 _amountAllowedDate,
        uint256 _totalAmountAllowedDate
    ) public onlyOwner {
        amountRestrictionMap[_token] = AmountRestriction(
            _amountAllowedDate,
            _totalAmountAllowedDate
        );
    }

    function getCurrentTime() private view returns (uint256) {
        return (block.timestamp / 86400) * 86400;
    }

    function isContract(address addr) private view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }
}

File 2 of 5 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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() external {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 3 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 4 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 5 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;
    }
}

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

Contract ABI

[{"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":false,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountAllowed","type":"uint256"}],"name":"RequestToken","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountRestrictionMap","outputs":[{"internalType":"uint256","name":"amountAllowedDate","type":"uint256"},{"internalType":"uint256","name":"totalAmountAllowedDate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"getAvailableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountAllowed","type":"uint256"}],"name":"requestToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amountAllowedDate","type":"uint256"},{"internalType":"uint256","name":"_totalAmountAllowedDate","type":"uint256"}],"name":"setAllownAmount","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":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a3361001f565b610096565b600180546001600160a01b031916905561004381610046602090811b61080217901c565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ab6806100a56000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b14610127578063b2838a731461014c578063beabacc81461016d578063e30c397814610180578063f2fde38b14610191578063f7888aec146101a457600080fd5b806304de29ae146100ae5780634965162a146100c35780635718d0ab146100d6578063715018a61461011757806379ba50971461011f575b600080fd5b6100c16100bc366004610902565b6101b7565b005b6100c16100d1366004610935565b6101f9565b6100fd6100e4366004610971565b6002602052600090815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b6100c161054f565b6100c1610563565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161010e565b61015f61015a36600461098c565b6105dd565b60405190815260200161010e565b6100c161017b366004610935565b610638565b6001546001600160a01b0316610134565b6100c161019f366004610971565b61070d565b61015f6101b236600461098c565b61077e565b6101bf610852565b60408051808201825292835260208084019283526001600160a01b0390941660009081526002909452909220905181559051600190910155565b60006102036108ac565b905032331480156102135750823b155b61026f5760405162461bcd60e51b815260206004820152602260248201527f436f6e74726163742061646472657373657320617265206e6f7420616c6c6f77604482015261195960f21b60648201526084015b60405180910390fd5b60008181526003602090815260408083206001600160a01b03808916855290835281842090871684529091528120546102a99084906109d5565b6001600160a01b0386166000908152600260205260409020549091508111156103145760405162461bcd60e51b815260206004820152601d60248201527f546865206461696c79206d6178696d756d2069732065786365656465640000006044820152606401610266565b60008281526004602090815260408083206001600160a01b03891684529091529020546103429084906109d5565b6001600160a01b0386166000908152600260205260409020600101549091508111156103c05760405162461bcd60e51b815260206004820152602760248201527f45786365656420746865206d6178696d756d206461696c792063757272656e636044820152661e481b1a5b5a5d60ca1b6064820152608401610266565b60008281526003602090815260408083206001600160a01b03808a1685529083528184209088168452909152812080548592906103fe9084906109d5565b909155505060008281526004602090815260408083206001600160a01b0389168452909152812080548592906104359084906109d5565b909155505060405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590526000919087169063a9059cbb90604401602060405180830381600087803b15801561048857600080fd5b505af115801561049c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c091906109ed565b9050806105015760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915488119052531151608a1b6044820152606401610266565b604080516001600160a01b038881168252602082018790528716917f4f06fb787d0836a0f1133bd5910d7284ceb1dd4dc8cfd473449633df8161d69a910160405180910390a2505050505050565b610557610852565b61056160006108cd565b565b60015433906001600160a01b031681146105d15760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610266565b6105da816108cd565b50565b6000806105e86108ac565b60008181526003602090815260408083206001600160a01b03808a16808652918452828520908916855283528184205490845260029092529091205491925061063091610a0f565b949350505050565b610640610852565b60405163a9059cbb60e01b81526001600160a01b038381166004830152602482018390526000919085169063a9059cbb90604401602060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c691906109ed565b9050806107075760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915488119052531151608a1b6044820152606401610266565b50505050565b610715610852565b600180546001600160a01b0383166001600160a01b031990911681179091556107466000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6040516370a0823160e01b81526001600160a01b038281166004830152600091908416906370a082319060240160206040518083038186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190610a26565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146105615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60006108bb6201518042610a3f565b6108c89062015180610a61565b905090565b600180546001600160a01b03191690556105da81610802565b80356001600160a01b03811681146108fd57600080fd5b919050565b60008060006060848603121561091757600080fd5b610920846108e6565b95602085013595506040909401359392505050565b60008060006060848603121561094a57600080fd5b610953846108e6565b9250610961602085016108e6565b9150604084013590509250925092565b60006020828403121561098357600080fd5b6107fb826108e6565b6000806040838503121561099f57600080fd5b6109a8836108e6565b91506109b6602084016108e6565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b600082198211156109e8576109e86109bf565b500190565b6000602082840312156109ff57600080fd5b815180151581146107fb57600080fd5b600082821015610a2157610a216109bf565b500390565b600060208284031215610a3857600080fd5b5051919050565b600082610a5c57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610a7b57610a7b6109bf565b50029056fea2646970667358221220e96363f389a5b2c715fd914f2e3701df968d592164486fb24a256c98c08899a964736f6c63430008080033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b14610127578063b2838a731461014c578063beabacc81461016d578063e30c397814610180578063f2fde38b14610191578063f7888aec146101a457600080fd5b806304de29ae146100ae5780634965162a146100c35780635718d0ab146100d6578063715018a61461011757806379ba50971461011f575b600080fd5b6100c16100bc366004610902565b6101b7565b005b6100c16100d1366004610935565b6101f9565b6100fd6100e4366004610971565b6002602052600090815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b6100c161054f565b6100c1610563565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161010e565b61015f61015a36600461098c565b6105dd565b60405190815260200161010e565b6100c161017b366004610935565b610638565b6001546001600160a01b0316610134565b6100c161019f366004610971565b61070d565b61015f6101b236600461098c565b61077e565b6101bf610852565b60408051808201825292835260208084019283526001600160a01b0390941660009081526002909452909220905181559051600190910155565b60006102036108ac565b905032331480156102135750823b155b61026f5760405162461bcd60e51b815260206004820152602260248201527f436f6e74726163742061646472657373657320617265206e6f7420616c6c6f77604482015261195960f21b60648201526084015b60405180910390fd5b60008181526003602090815260408083206001600160a01b03808916855290835281842090871684529091528120546102a99084906109d5565b6001600160a01b0386166000908152600260205260409020549091508111156103145760405162461bcd60e51b815260206004820152601d60248201527f546865206461696c79206d6178696d756d2069732065786365656465640000006044820152606401610266565b60008281526004602090815260408083206001600160a01b03891684529091529020546103429084906109d5565b6001600160a01b0386166000908152600260205260409020600101549091508111156103c05760405162461bcd60e51b815260206004820152602760248201527f45786365656420746865206d6178696d756d206461696c792063757272656e636044820152661e481b1a5b5a5d60ca1b6064820152608401610266565b60008281526003602090815260408083206001600160a01b03808a1685529083528184209088168452909152812080548592906103fe9084906109d5565b909155505060008281526004602090815260408083206001600160a01b0389168452909152812080548592906104359084906109d5565b909155505060405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590526000919087169063a9059cbb90604401602060405180830381600087803b15801561048857600080fd5b505af115801561049c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c091906109ed565b9050806105015760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915488119052531151608a1b6044820152606401610266565b604080516001600160a01b038881168252602082018790528716917f4f06fb787d0836a0f1133bd5910d7284ceb1dd4dc8cfd473449633df8161d69a910160405180910390a2505050505050565b610557610852565b61056160006108cd565b565b60015433906001600160a01b031681146105d15760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610266565b6105da816108cd565b50565b6000806105e86108ac565b60008181526003602090815260408083206001600160a01b03808a16808652918452828520908916855283528184205490845260029092529091205491925061063091610a0f565b949350505050565b610640610852565b60405163a9059cbb60e01b81526001600160a01b038381166004830152602482018390526000919085169063a9059cbb90604401602060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c691906109ed565b9050806107075760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915488119052531151608a1b6044820152606401610266565b50505050565b610715610852565b600180546001600160a01b0383166001600160a01b031990911681179091556107466000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6040516370a0823160e01b81526001600160a01b038281166004830152600091908416906370a082319060240160206040518083038186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fb9190610a26565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146105615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610266565b60006108bb6201518042610a3f565b6108c89062015180610a61565b905090565b600180546001600160a01b03191690556105da81610802565b80356001600160a01b03811681146108fd57600080fd5b919050565b60008060006060848603121561091757600080fd5b610920846108e6565b95602085013595506040909401359392505050565b60008060006060848603121561094a57600080fd5b610953846108e6565b9250610961602085016108e6565b9150604084013590509250925092565b60006020828403121561098357600080fd5b6107fb826108e6565b6000806040838503121561099f57600080fd5b6109a8836108e6565b91506109b6602084016108e6565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b600082198211156109e8576109e86109bf565b500190565b6000602082840312156109ff57600080fd5b815180151581146107fb57600080fd5b600082821015610a2157610a216109bf565b500390565b600060208284031215610a3857600080fd5b5051919050565b600082610a5c57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615610a7b57610a7b6109bf565b50029056fea2646970667358221220e96363f389a5b2c715fd914f2e3701df968d592164486fb24a256c98c08899a964736f6c63430008080033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.