ETH Price: $2,939.50 (-0.28%)

Contract

0xC7f63B54597D76E4dC122504391877C7A3dE1a26

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Withdraw288853992023-11-10 21:45:25806 days ago1699652725IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000630.01
Airdrop288286082023-11-10 11:56:48807 days ago1699617408IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000980.01
Airdrop288215792023-11-10 10:54:28807 days ago1699613668IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000960.01
Airdrop288033762023-11-10 8:22:35807 days ago1699604555IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033432023-11-10 8:22:15807 days ago1699604535IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033362023-11-10 8:22:12807 days ago1699604532IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033312023-11-10 8:22:10807 days ago1699604530IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033242023-11-10 8:22:07807 days ago1699604527IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033202023-11-10 8:22:05807 days ago1699604525IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033152023-11-10 8:22:02807 days ago1699604522IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033102023-11-10 8:22:00807 days ago1699604520IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033092023-11-10 8:21:59807 days ago1699604519IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288033072023-11-10 8:21:58807 days ago1699604518IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029882023-11-10 8:18:44807 days ago1699604324IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029832023-11-10 8:18:42807 days ago1699604322IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029782023-11-10 8:18:40807 days ago1699604320IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029782023-11-10 8:18:40807 days ago1699604320IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029782023-11-10 8:18:40807 days ago1699604320IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029772023-11-10 8:18:40807 days ago1699604320IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029762023-11-10 8:18:39807 days ago1699604319IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288029752023-11-10 8:18:39807 days ago1699604319IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288022742023-11-10 8:12:59807 days ago1699603979IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288022732023-11-10 8:12:58807 days ago1699603978IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288022732023-11-10 8:12:58807 days ago1699603978IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
Airdrop288022722023-11-10 8:12:58807 days ago1699603978IN
0xC7f63B54...7A3dE1a26
0 ETH0.000000970.01
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Airdrop

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

// Uncomment this line to use console.log
// import "hardhat/console.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract Airdrop is Ownable {
    struct AirdropData {
        address to;
        uint256 amount;
    }

    struct AirdropState {
        uint256 airdropAmount;
        bool airdropped;
    }

    uint256 public constant AIRDROP_PERIOD = 7 days;
    uint256 public constant AIRDROP_AMOUNT = 33082581285212259141440;

    mapping(address => AirdropState) public airdrops;
    uint256 public startAirdropTime;
    address public airdropToken;

    event Airdropped(address to, uint256 amount);

    constructor(address _token) Ownable(msg.sender) {
        airdropToken = _token;
    }

    function startAirdrop() external onlyOwner {
        require(startAirdropTime == 0, "Airdrop: already started");
        startAirdropTime = block.timestamp;

        IERC20(airdropToken).transferFrom(
            msg.sender,
            address(this),
            AIRDROP_AMOUNT
        );
    }

    function setAirdropData(AirdropData[] memory _data) external onlyOwner {
        require(startAirdropTime == 0, "Airdrop: already started");
        for (uint i = 0; i < _data.length; i++) {
            address _to = _data[i].to;
            uint256 _amount = _data[i].amount;

            AirdropState storage _state = airdrops[_to];
            _state.airdropAmount += _amount;
        }
    }

    function airdrop() external {
        address _sender = msg.sender;
        require(startAirdropTime > 0, "Airdrop: not started yet");
        require(
            startAirdropTime + AIRDROP_PERIOD >= block.timestamp,
            "Airdrop: already finished"
        );
        uint256 amount = airdrops[_sender].airdropAmount;
        require(amount > 0, "Airdrop: no airdrop account");
        require(!airdrops[_sender].airdropped, "Airdrop: already airdopped");

        IERC20(airdropToken).transfer(_sender, amount);
        airdrops[_sender].airdropped = true;

        emit Airdropped(_sender, amount);
    }

    function withdraw(address to) external onlyOwner {
        require(
            startAirdropTime + AIRDROP_PERIOD < block.timestamp,
            "Airdrop: not finished yet"
        );
        uint256 balance = IERC20(airdropToken).balanceOf(address(this));
        if (balance > 0) {
            IERC20(airdropToken).transfer(to, balance);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Airdropped","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":[],"name":"AIRDROP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AIRDROP_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"airdropToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"airdrops","outputs":[{"internalType":"uint256","name":"airdropAmount","type":"uint256"},{"internalType":"bool","name":"airdropped","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Airdrop.AirdropData[]","name":"_data","type":"tuple[]"}],"name":"setAirdropData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAirdropTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620015d9380380620015d9833981810160405281019062000037919062000235565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ad5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a4919062000278565b60405180910390fd5b620000be816200010760201b60201c565b5080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000295565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001fd82620001d0565b9050919050565b6200020f81620001f0565b81146200021b57600080fd5b50565b6000815190506200022f8162000204565b92915050565b6000602082840312156200024e576200024d620001cb565b5b60006200025e848285016200021e565b91505092915050565b6200027281620001f0565b82525050565b60006020820190506200028f600083018462000267565b92915050565b61133480620002a56000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638c86f0a7116100715780638c86f0a7146101435780638da5cb5b14610174578063a132ab8214610192578063d2a569c3146101b0578063e54e48bd146101ba578063f2fde38b146101d6576100b4565b80632b5b6872146100b95780633884d635146100d7578063469ced01146100e15780634d06068a146100ff57806351cff8d91461011d578063715018a614610139575b600080fd5b6100c16101f2565b6040516100ce9190610b45565b60405180910390f35b6100df610200565b005b6100e96104ef565b6040516100f69190610b45565b60405180910390f35b6101076104f6565b6040516101149190610ba1565b60405180910390f35b61013760048036038101906101329190610bfc565b61051c565b005b6101416106c5565b005b61015d60048036038101906101589190610bfc565b6106d9565b60405161016b929190610c44565b60405180910390f35b61017c61070a565b6040516101899190610ba1565b60405180910390f35b61019a610733565b6040516101a79190610b45565b60405180910390f35b6101b8610739565b005b6101d460048036038101906101cf9190610e47565b61083c565b005b6101f060048036038101906101eb9190610bfc565b610953565b005b690701690b0fdf6e8cc74081565b600033905060006002541161024a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024190610eed565b60405180910390fd5b4262093a8060025461025c9190610f3c565b101561029d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029490610fbc565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154905060008111610327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031e90611028565b60405180910390fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff16156103b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ae90611094565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016104149291906110b4565b6020604051808303816000875af1158015610433573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104579190611109565b5060018060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160006101000a81548160ff0219169083151502179055507f7bd6d4be1decdc27a9ed9c7ccdf5bb7cc38e31b3647b958c6b37162a2296c0fa82826040516104e39291906110b4565b60405180910390a15050565b62093a8081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105246109d9565b4262093a806002546105369190610f3c565b10610576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056d90611182565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105d39190610ba1565b602060405180830381865afa1580156105f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061491906111b7565b905060008111156106c157600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161067c9291906110b4565b6020604051808303816000875af115801561069b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bf9190611109565b505b5050565b6106cd6109d9565b6106d76000610a60565b565b60016020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16905082565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6107416109d9565b600060025414610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90611230565b60405180910390fd5b42600281905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330690701690b0fdf6e8cc7406040518463ffffffff1660e01b81526004016107f693929190611250565b6020604051808303816000875af1158015610815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190611109565b50565b6108446109d9565b600060025414610889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088090611230565b60405180910390fd5b60005b815181101561094f5760008282815181106108aa576108a9611287565b5b602002602001015160000151905060008383815181106108cd576108cc611287565b5b60200260200101516020015190506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050818160000160008282546109329190610f3c565b925050819055505050508080610947906112b6565b91505061088c565b5050565b61095b6109d9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109cd5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109c49190610ba1565b60405180910390fd5b6109d681610a60565b50565b6109e1610b24565b73ffffffffffffffffffffffffffffffffffffffff166109ff61070a565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e57610a22610b24565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a559190610ba1565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b610b3f81610b2c565b82525050565b6000602082019050610b5a6000830184610b36565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b8b82610b60565b9050919050565b610b9b81610b80565b82525050565b6000602082019050610bb66000830184610b92565b92915050565b6000604051905090565b600080fd5b600080fd5b610bd981610b80565b8114610be457600080fd5b50565b600081359050610bf681610bd0565b92915050565b600060208284031215610c1257610c11610bc6565b5b6000610c2084828501610be7565b91505092915050565b60008115159050919050565b610c3e81610c29565b82525050565b6000604082019050610c596000830185610b36565b610c666020830184610c35565b9392505050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610cbb82610c72565b810181811067ffffffffffffffff82111715610cda57610cd9610c83565b5b80604052505050565b6000610ced610bbc565b9050610cf98282610cb2565b919050565b600067ffffffffffffffff821115610d1957610d18610c83565b5b602082029050602081019050919050565b600080fd5b600080fd5b610d3d81610b2c565b8114610d4857600080fd5b50565b600081359050610d5a81610d34565b92915050565b600060408284031215610d7657610d75610d2f565b5b610d806040610ce3565b90506000610d9084828501610be7565b6000830152506020610da484828501610d4b565b60208301525092915050565b6000610dc3610dbe84610cfe565b610ce3565b90508083825260208201905060408402830185811115610de657610de5610d2a565b5b835b81811015610e0f5780610dfb8882610d60565b845260208401935050604081019050610de8565b5050509392505050565b600082601f830112610e2e57610e2d610c6d565b5b8135610e3e848260208601610db0565b91505092915050565b600060208284031215610e5d57610e5c610bc6565b5b600082013567ffffffffffffffff811115610e7b57610e7a610bcb565b5b610e8784828501610e19565b91505092915050565b600082825260208201905092915050565b7f41697264726f703a206e6f742073746172746564207965740000000000000000600082015250565b6000610ed7601883610e90565b9150610ee282610ea1565b602082019050919050565b60006020820190508181036000830152610f0681610eca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f4782610b2c565b9150610f5283610b2c565b9250828201905080821115610f6a57610f69610f0d565b5b92915050565b7f41697264726f703a20616c72656164792066696e697368656400000000000000600082015250565b6000610fa6601983610e90565b9150610fb182610f70565b602082019050919050565b60006020820190508181036000830152610fd581610f99565b9050919050565b7f41697264726f703a206e6f2061697264726f70206163636f756e740000000000600082015250565b6000611012601b83610e90565b915061101d82610fdc565b602082019050919050565b6000602082019050818103600083015261104181611005565b9050919050565b7f41697264726f703a20616c726561647920616972646f70706564000000000000600082015250565b600061107e601a83610e90565b915061108982611048565b602082019050919050565b600060208201905081810360008301526110ad81611071565b9050919050565b60006040820190506110c96000830185610b92565b6110d66020830184610b36565b9392505050565b6110e681610c29565b81146110f157600080fd5b50565b600081519050611103816110dd565b92915050565b60006020828403121561111f5761111e610bc6565b5b600061112d848285016110f4565b91505092915050565b7f41697264726f703a206e6f742066696e69736865642079657400000000000000600082015250565b600061116c601983610e90565b915061117782611136565b602082019050919050565b6000602082019050818103600083015261119b8161115f565b9050919050565b6000815190506111b181610d34565b92915050565b6000602082840312156111cd576111cc610bc6565b5b60006111db848285016111a2565b91505092915050565b7f41697264726f703a20616c726561647920737461727465640000000000000000600082015250565b600061121a601883610e90565b9150611225826111e4565b602082019050919050565b600060208201905081810360008301526112498161120d565b9050919050565b60006060820190506112656000830186610b92565b6112726020830185610b92565b61127f6040830184610b36565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006112c182610b2c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036112f3576112f2610f0d565b5b60018201905091905056fea264697066735822122084ae5e78125c26dc93876cb058f62fab4dd301291bcd1767857fb0f4bceaa6a764736f6c634300081400330000000000000000000000004b2576bc44310d6dfb4cfcf2630f25190fc60803

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80638c86f0a7116100715780638c86f0a7146101435780638da5cb5b14610174578063a132ab8214610192578063d2a569c3146101b0578063e54e48bd146101ba578063f2fde38b146101d6576100b4565b80632b5b6872146100b95780633884d635146100d7578063469ced01146100e15780634d06068a146100ff57806351cff8d91461011d578063715018a614610139575b600080fd5b6100c16101f2565b6040516100ce9190610b45565b60405180910390f35b6100df610200565b005b6100e96104ef565b6040516100f69190610b45565b60405180910390f35b6101076104f6565b6040516101149190610ba1565b60405180910390f35b61013760048036038101906101329190610bfc565b61051c565b005b6101416106c5565b005b61015d60048036038101906101589190610bfc565b6106d9565b60405161016b929190610c44565b60405180910390f35b61017c61070a565b6040516101899190610ba1565b60405180910390f35b61019a610733565b6040516101a79190610b45565b60405180910390f35b6101b8610739565b005b6101d460048036038101906101cf9190610e47565b61083c565b005b6101f060048036038101906101eb9190610bfc565b610953565b005b690701690b0fdf6e8cc74081565b600033905060006002541161024a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024190610eed565b60405180910390fd5b4262093a8060025461025c9190610f3c565b101561029d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029490610fbc565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154905060008111610327576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031e90611028565b60405180910390fd5b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff16156103b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ae90611094565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b81526004016104149291906110b4565b6020604051808303816000875af1158015610433573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104579190611109565b5060018060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160006101000a81548160ff0219169083151502179055507f7bd6d4be1decdc27a9ed9c7ccdf5bb7cc38e31b3647b958c6b37162a2296c0fa82826040516104e39291906110b4565b60405180910390a15050565b62093a8081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105246109d9565b4262093a806002546105369190610f3c565b10610576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056d90611182565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016105d39190610ba1565b602060405180830381865afa1580156105f0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061491906111b7565b905060008111156106c157600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b815260040161067c9291906110b4565b6020604051808303816000875af115801561069b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bf9190611109565b505b5050565b6106cd6109d9565b6106d76000610a60565b565b60016020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16905082565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6107416109d9565b600060025414610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90611230565b60405180910390fd5b42600281905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330690701690b0fdf6e8cc7406040518463ffffffff1660e01b81526004016107f693929190611250565b6020604051808303816000875af1158015610815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190611109565b50565b6108446109d9565b600060025414610889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088090611230565b60405180910390fd5b60005b815181101561094f5760008282815181106108aa576108a9611287565b5b602002602001015160000151905060008383815181106108cd576108cc611287565b5b60200260200101516020015190506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050818160000160008282546109329190610f3c565b925050819055505050508080610947906112b6565b91505061088c565b5050565b61095b6109d9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109cd5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016109c49190610ba1565b60405180910390fd5b6109d681610a60565b50565b6109e1610b24565b73ffffffffffffffffffffffffffffffffffffffff166109ff61070a565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e57610a22610b24565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a559190610ba1565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b610b3f81610b2c565b82525050565b6000602082019050610b5a6000830184610b36565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610b8b82610b60565b9050919050565b610b9b81610b80565b82525050565b6000602082019050610bb66000830184610b92565b92915050565b6000604051905090565b600080fd5b600080fd5b610bd981610b80565b8114610be457600080fd5b50565b600081359050610bf681610bd0565b92915050565b600060208284031215610c1257610c11610bc6565b5b6000610c2084828501610be7565b91505092915050565b60008115159050919050565b610c3e81610c29565b82525050565b6000604082019050610c596000830185610b36565b610c666020830184610c35565b9392505050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610cbb82610c72565b810181811067ffffffffffffffff82111715610cda57610cd9610c83565b5b80604052505050565b6000610ced610bbc565b9050610cf98282610cb2565b919050565b600067ffffffffffffffff821115610d1957610d18610c83565b5b602082029050602081019050919050565b600080fd5b600080fd5b610d3d81610b2c565b8114610d4857600080fd5b50565b600081359050610d5a81610d34565b92915050565b600060408284031215610d7657610d75610d2f565b5b610d806040610ce3565b90506000610d9084828501610be7565b6000830152506020610da484828501610d4b565b60208301525092915050565b6000610dc3610dbe84610cfe565b610ce3565b90508083825260208201905060408402830185811115610de657610de5610d2a565b5b835b81811015610e0f5780610dfb8882610d60565b845260208401935050604081019050610de8565b5050509392505050565b600082601f830112610e2e57610e2d610c6d565b5b8135610e3e848260208601610db0565b91505092915050565b600060208284031215610e5d57610e5c610bc6565b5b600082013567ffffffffffffffff811115610e7b57610e7a610bcb565b5b610e8784828501610e19565b91505092915050565b600082825260208201905092915050565b7f41697264726f703a206e6f742073746172746564207965740000000000000000600082015250565b6000610ed7601883610e90565b9150610ee282610ea1565b602082019050919050565b60006020820190508181036000830152610f0681610eca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f4782610b2c565b9150610f5283610b2c565b9250828201905080821115610f6a57610f69610f0d565b5b92915050565b7f41697264726f703a20616c72656164792066696e697368656400000000000000600082015250565b6000610fa6601983610e90565b9150610fb182610f70565b602082019050919050565b60006020820190508181036000830152610fd581610f99565b9050919050565b7f41697264726f703a206e6f2061697264726f70206163636f756e740000000000600082015250565b6000611012601b83610e90565b915061101d82610fdc565b602082019050919050565b6000602082019050818103600083015261104181611005565b9050919050565b7f41697264726f703a20616c726561647920616972646f70706564000000000000600082015250565b600061107e601a83610e90565b915061108982611048565b602082019050919050565b600060208201905081810360008301526110ad81611071565b9050919050565b60006040820190506110c96000830185610b92565b6110d66020830184610b36565b9392505050565b6110e681610c29565b81146110f157600080fd5b50565b600081519050611103816110dd565b92915050565b60006020828403121561111f5761111e610bc6565b5b600061112d848285016110f4565b91505092915050565b7f41697264726f703a206e6f742066696e69736865642079657400000000000000600082015250565b600061116c601983610e90565b915061117782611136565b602082019050919050565b6000602082019050818103600083015261119b8161115f565b9050919050565b6000815190506111b181610d34565b92915050565b6000602082840312156111cd576111cc610bc6565b5b60006111db848285016111a2565b91505092915050565b7f41697264726f703a20616c726561647920737461727465640000000000000000600082015250565b600061121a601883610e90565b9150611225826111e4565b602082019050919050565b600060208201905081810360008301526112498161120d565b9050919050565b60006060820190506112656000830186610b92565b6112726020830185610b92565b61127f6040830184610b36565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006112c182610b2c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036112f3576112f2610f0d565b5b60018201905091905056fea264697066735822122084ae5e78125c26dc93876cb058f62fab4dd301291bcd1767857fb0f4bceaa6a764736f6c63430008140033

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

0000000000000000000000004b2576bc44310d6dfb4cfcf2630f25190fc60803

-----Decoded View---------------
Arg [0] : _token (address): 0x4b2576BC44310D6dfb4cfCf2630f25190fc60803

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004b2576bc44310d6dfb4cfcf2630f25190fc60803


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]

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.