ETH Price: $2,526.06 (+3.10%)

Contract

0x797B24eaA36f2E585C939b5f878A0494dE0252ff
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim173203042023-05-23 6:56:59468 days ago1684825019IN
0x797B24ea...4dE0252ff
0 ETH0.0035829340.24460315
Claim173202872023-05-23 6:53:35468 days ago1684824815IN
0x797B24ea...4dE0252ff
0 ETH0.0029770937.98329216
Claim173202772023-05-23 6:51:35468 days ago1684824695IN
0x797B24ea...4dE0252ff
0 ETH0.0015643938.22682276
Claim173202752023-05-23 6:51:11468 days ago1684824671IN
0x797B24ea...4dE0252ff
0 ETH0.0016092239.3222577
Set Merkle Root173202722023-05-23 6:50:35468 days ago1684824635IN
0x797B24ea...4dE0252ff
0 ETH0.0010997637.48743976
Set Token173202402023-05-23 6:44:11468 days ago1684824251IN
0x797B24ea...4dE0252ff
0 ETH0.0013677146.74020975
Claim173202232023-05-23 6:40:35468 days ago1684824035IN
0x797B24ea...4dE0252ff
0 ETH0.0016239.59722883
Set Merkle Root173202032023-05-23 6:36:35468 days ago1684823795IN
0x797B24ea...4dE0252ff
0 ETH0.0013088644.61485969
Claim173201962023-05-23 6:34:59468 days ago1684823699IN
0x797B24ea...4dE0252ff
0 ETH0.0026689238.26747303
Claim173200592023-05-23 6:07:11468 days ago1684822031IN
0x797B24ea...4dE0252ff
0 ETH0.0022558832.34527504
Claim173200512023-05-23 6:05:35468 days ago1684821935IN
0x797B24ea...4dE0252ff
0 ETH0.0024043134.47340627
Claim173200482023-05-23 6:04:59468 days ago1684821899IN
0x797B24ea...4dE0252ff
0 ETH0.0022276731.9408051
Claim173199682023-05-23 5:48:47468 days ago1684820927IN
0x797B24ea...4dE0252ff
0 ETH0.0023358533.47266852
Claim173199382023-05-23 5:42:47468 days ago1684820567IN
0x797B24ea...4dE0252ff
0 ETH0.00259937.24362023
Claim173199252023-05-23 5:39:59468 days ago1684820399IN
0x797B24ea...4dE0252ff
0 ETH0.0023288633.39826717
Set Merkle Root173190492023-05-23 2:42:35469 days ago1684809755IN
0x797B24ea...4dE0252ff
0 ETH0.0011639139.67410398
Claim173190432023-05-23 2:41:23469 days ago1684809683IN
0x797B24ea...4dE0252ff
0 ETH0.0029042341.62938214
Set Merkle Root173190182023-05-23 2:36:23469 days ago1684809383IN
0x797B24ea...4dE0252ff
0 ETH0.0012653143.11278973
Set Merkle Root173182142023-05-22 23:51:47469 days ago1684799507IN
0x797B24ea...4dE0252ff
0 ETH0.002850761.56359798
0x60806040173181632023-05-22 23:41:35469 days ago1684798895IN
 Create: PaperclipsAirdrop
0 ETH0.0417630638.20548464

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PaperclipsAirdrop

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : PaperclipsAirdrop.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract PaperclipsAirdrop is Ownable {
    IERC20 public token;
    bytes32 public merkleRoot;
    mapping(address => bool) public claimed;

    constructor(IERC20 _token) {
        token = _token;
    }

    function isClaimed(address account) public view returns (bool) {
        return claimed[account];
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setToken(IERC20 _token) external onlyOwner {
        token = _token;
    }

    function claim(uint256 amount, bytes32[] calldata proof) external {
        require(!claimed[msg.sender], "Airdrop has already been claimed!");

        // Verify the merkle proof
        bytes32 node = keccak256(abi.encodePacked(msg.sender, amount));
        require(
            MerkleProof.verify(proof, merkleRoot, node),
            "Invalid merkle proof"
        );

        // Mark it as claimed and send the token.
        claimed[msg.sender] = true;
        require(
            token.balanceOf(address(this)) >= amount * 10**18,
            "Not enough tokens left"
        );
        require(token.transfer(msg.sender, amount * 10**18), "Transfer failed");
    }
}

File 2 of 5 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 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 4 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 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001410380380620014108339818101604052810190620000379190620001e9565b620000576200004b6200009f60201b60201c565b620000a760201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200021b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200019d8262000170565b9050919050565b6000620001b18262000190565b9050919050565b620001c381620001a4565b8114620001cf57600080fd5b50565b600081519050620001e381620001b8565b92915050565b6000602082840312156200020257620002016200016b565b5b60006200021284828501620001d2565b91505092915050565b6111e5806200022b6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638cc08025116100665780638cc080251461011f5780638da5cb5b1461014f578063c884ef831461016d578063f2fde38b1461019d578063fc0c546a146101b95761009e565b8063144fa6d7146100a35780632eb4a7ab146100bf5780632f52ebb7146100dd578063715018a6146100f95780637cb6475914610103575b600080fd5b6100bd60048036038101906100b89190610992565b6101d7565b005b6100c7610223565b6040516100d491906109d8565b60405180910390f35b6100f760048036038101906100f29190610a8e565b610229565b005b6101016105b1565b005b61011d60048036038101906101189190610b1a565b6105c5565b005b61013960048036038101906101349190610b73565b6105d7565b6040516101469190610bbb565b60405180910390f35b61015761062d565b6040516101649190610be5565b60405180910390f35b61018760048036038101906101829190610b73565b610656565b6040516101949190610bbb565b60405180910390f35b6101b760048036038101906101b29190610b73565b610676565b005b6101c16106f9565b6040516101ce9190610c5f565b60405180910390f35b6101df61071f565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ad90610cfd565b60405180910390fd5b600033846040516020016102cb929190610d86565b604051602081830303815290604052805190602001209050610331838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506002548361079d565b610370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036790610dfe565b60405180910390fd5b6001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550670de0b6b3a7640000846103dc9190610e4d565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104379190610be5565b602060405180830381865afa158015610454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104789190610ea4565b10156104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090610f1d565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33670de0b6b3a76400008761050c9190610e4d565b6040518363ffffffff1660e01b8152600401610529929190610f4c565b6020604051808303816000875af1158015610548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056c9190610fa1565b6105ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a29061101a565b60405180910390fd5b50505050565b6105b961071f565b6105c360006107b4565b565b6105cd61071f565b8060028190555050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915054906101000a900460ff1681565b61067e61071f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e4906110ac565b60405180910390fd5b6106f6816107b4565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610727610878565b73ffffffffffffffffffffffffffffffffffffffff1661074561062d565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079290611118565b60405180910390fd5b565b6000826107aa8584610880565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008082905060005b84518110156108cb576108b6828683815181106108a9576108a8611138565b5b60200260200101516108d6565b915080806108c390611167565b915050610889565b508091505092915050565b60008183106108ee576108e98284610901565b6108f9565b6108f88383610901565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061094d82610922565b9050919050565b600061095f82610942565b9050919050565b61096f81610954565b811461097a57600080fd5b50565b60008135905061098c81610966565b92915050565b6000602082840312156109a8576109a7610918565b5b60006109b68482850161097d565b91505092915050565b6000819050919050565b6109d2816109bf565b82525050565b60006020820190506109ed60008301846109c9565b92915050565b6000819050919050565b610a06816109f3565b8114610a1157600080fd5b50565b600081359050610a23816109fd565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610a4e57610a4d610a29565b5b8235905067ffffffffffffffff811115610a6b57610a6a610a2e565b5b602083019150836020820283011115610a8757610a86610a33565b5b9250929050565b600080600060408486031215610aa757610aa6610918565b5b6000610ab586828701610a14565b935050602084013567ffffffffffffffff811115610ad657610ad561091d565b5b610ae286828701610a38565b92509250509250925092565b610af7816109bf565b8114610b0257600080fd5b50565b600081359050610b1481610aee565b92915050565b600060208284031215610b3057610b2f610918565b5b6000610b3e84828501610b05565b91505092915050565b610b5081610942565b8114610b5b57600080fd5b50565b600081359050610b6d81610b47565b92915050565b600060208284031215610b8957610b88610918565b5b6000610b9784828501610b5e565b91505092915050565b60008115159050919050565b610bb581610ba0565b82525050565b6000602082019050610bd06000830184610bac565b92915050565b610bdf81610942565b82525050565b6000602082019050610bfa6000830184610bd6565b92915050565b6000819050919050565b6000610c25610c20610c1b84610922565b610c00565b610922565b9050919050565b6000610c3782610c0a565b9050919050565b6000610c4982610c2c565b9050919050565b610c5981610c3e565b82525050565b6000602082019050610c746000830184610c50565b92915050565b600082825260208201905092915050565b7f41697264726f702068617320616c7265616479206265656e20636c61696d656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000610ce7602183610c7a565b9150610cf282610c8b565b604082019050919050565b60006020820190508181036000830152610d1681610cda565b9050919050565b60008160601b9050919050565b6000610d3582610d1d565b9050919050565b6000610d4782610d2a565b9050919050565b610d5f610d5a82610942565b610d3c565b82525050565b6000819050919050565b610d80610d7b826109f3565b610d65565b82525050565b6000610d928285610d4e565b601482019150610da28284610d6f565b6020820191508190509392505050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b6000610de8601483610c7a565b9150610df382610db2565b602082019050919050565b60006020820190508181036000830152610e1781610ddb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610e58826109f3565b9150610e63836109f3565b9250828202610e71816109f3565b91508282048414831517610e8857610e87610e1e565b5b5092915050565b600081519050610e9e816109fd565b92915050565b600060208284031215610eba57610eb9610918565b5b6000610ec884828501610e8f565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b6000610f07601683610c7a565b9150610f1282610ed1565b602082019050919050565b60006020820190508181036000830152610f3681610efa565b9050919050565b610f46816109f3565b82525050565b6000604082019050610f616000830185610bd6565b610f6e6020830184610f3d565b9392505050565b610f7e81610ba0565b8114610f8957600080fd5b50565b600081519050610f9b81610f75565b92915050565b600060208284031215610fb757610fb6610918565b5b6000610fc584828501610f8c565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000611004600f83610c7a565b915061100f82610fce565b602082019050919050565b6000602082019050818103600083015261103381610ff7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611096602683610c7a565b91506110a18261103a565b604082019050919050565b600060208201905081810360008301526110c581611089565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611102602083610c7a565b915061110d826110cc565b602082019050919050565b60006020820190508181036000830152611131816110f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611172826109f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036111a4576111a3610e1e565b5b60018201905091905056fea2646970667358221220199f03a090eefdbc7f8d2dc913fc42b792c3ca4556e4f58020c18b11724d9a7964736f6c63430008120033000000000000000000000000d44efd42453089660276638e6aa3c05b499b51d2

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638cc08025116100665780638cc080251461011f5780638da5cb5b1461014f578063c884ef831461016d578063f2fde38b1461019d578063fc0c546a146101b95761009e565b8063144fa6d7146100a35780632eb4a7ab146100bf5780632f52ebb7146100dd578063715018a6146100f95780637cb6475914610103575b600080fd5b6100bd60048036038101906100b89190610992565b6101d7565b005b6100c7610223565b6040516100d491906109d8565b60405180910390f35b6100f760048036038101906100f29190610a8e565b610229565b005b6101016105b1565b005b61011d60048036038101906101189190610b1a565b6105c5565b005b61013960048036038101906101349190610b73565b6105d7565b6040516101469190610bbb565b60405180910390f35b61015761062d565b6040516101649190610be5565b60405180910390f35b61018760048036038101906101829190610b73565b610656565b6040516101949190610bbb565b60405180910390f35b6101b760048036038101906101b29190610b73565b610676565b005b6101c16106f9565b6040516101ce9190610c5f565b60405180910390f35b6101df61071f565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ad90610cfd565b60405180910390fd5b600033846040516020016102cb929190610d86565b604051602081830303815290604052805190602001209050610331838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506002548361079d565b610370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036790610dfe565b60405180910390fd5b6001600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550670de0b6b3a7640000846103dc9190610e4d565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104379190610be5565b602060405180830381865afa158015610454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104789190610ea4565b10156104b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b090610f1d565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33670de0b6b3a76400008761050c9190610e4d565b6040518363ffffffff1660e01b8152600401610529929190610f4c565b6020604051808303816000875af1158015610548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056c9190610fa1565b6105ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a29061101a565b60405180910390fd5b50505050565b6105b961071f565b6105c360006107b4565b565b6105cd61071f565b8060028190555050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915054906101000a900460ff1681565b61067e61071f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e4906110ac565b60405180910390fd5b6106f6816107b4565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610727610878565b73ffffffffffffffffffffffffffffffffffffffff1661074561062d565b73ffffffffffffffffffffffffffffffffffffffff161461079b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079290611118565b60405180910390fd5b565b6000826107aa8584610880565b1490509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008082905060005b84518110156108cb576108b6828683815181106108a9576108a8611138565b5b60200260200101516108d6565b915080806108c390611167565b915050610889565b508091505092915050565b60008183106108ee576108e98284610901565b6108f9565b6108f88383610901565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061094d82610922565b9050919050565b600061095f82610942565b9050919050565b61096f81610954565b811461097a57600080fd5b50565b60008135905061098c81610966565b92915050565b6000602082840312156109a8576109a7610918565b5b60006109b68482850161097d565b91505092915050565b6000819050919050565b6109d2816109bf565b82525050565b60006020820190506109ed60008301846109c9565b92915050565b6000819050919050565b610a06816109f3565b8114610a1157600080fd5b50565b600081359050610a23816109fd565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112610a4e57610a4d610a29565b5b8235905067ffffffffffffffff811115610a6b57610a6a610a2e565b5b602083019150836020820283011115610a8757610a86610a33565b5b9250929050565b600080600060408486031215610aa757610aa6610918565b5b6000610ab586828701610a14565b935050602084013567ffffffffffffffff811115610ad657610ad561091d565b5b610ae286828701610a38565b92509250509250925092565b610af7816109bf565b8114610b0257600080fd5b50565b600081359050610b1481610aee565b92915050565b600060208284031215610b3057610b2f610918565b5b6000610b3e84828501610b05565b91505092915050565b610b5081610942565b8114610b5b57600080fd5b50565b600081359050610b6d81610b47565b92915050565b600060208284031215610b8957610b88610918565b5b6000610b9784828501610b5e565b91505092915050565b60008115159050919050565b610bb581610ba0565b82525050565b6000602082019050610bd06000830184610bac565b92915050565b610bdf81610942565b82525050565b6000602082019050610bfa6000830184610bd6565b92915050565b6000819050919050565b6000610c25610c20610c1b84610922565b610c00565b610922565b9050919050565b6000610c3782610c0a565b9050919050565b6000610c4982610c2c565b9050919050565b610c5981610c3e565b82525050565b6000602082019050610c746000830184610c50565b92915050565b600082825260208201905092915050565b7f41697264726f702068617320616c7265616479206265656e20636c61696d656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000610ce7602183610c7a565b9150610cf282610c8b565b604082019050919050565b60006020820190508181036000830152610d1681610cda565b9050919050565b60008160601b9050919050565b6000610d3582610d1d565b9050919050565b6000610d4782610d2a565b9050919050565b610d5f610d5a82610942565b610d3c565b82525050565b6000819050919050565b610d80610d7b826109f3565b610d65565b82525050565b6000610d928285610d4e565b601482019150610da28284610d6f565b6020820191508190509392505050565b7f496e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b6000610de8601483610c7a565b9150610df382610db2565b602082019050919050565b60006020820190508181036000830152610e1781610ddb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610e58826109f3565b9150610e63836109f3565b9250828202610e71816109f3565b91508282048414831517610e8857610e87610e1e565b5b5092915050565b600081519050610e9e816109fd565b92915050565b600060208284031215610eba57610eb9610918565b5b6000610ec884828501610e8f565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b6000610f07601683610c7a565b9150610f1282610ed1565b602082019050919050565b60006020820190508181036000830152610f3681610efa565b9050919050565b610f46816109f3565b82525050565b6000604082019050610f616000830185610bd6565b610f6e6020830184610f3d565b9392505050565b610f7e81610ba0565b8114610f8957600080fd5b50565b600081519050610f9b81610f75565b92915050565b600060208284031215610fb757610fb6610918565b5b6000610fc584828501610f8c565b91505092915050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000611004600f83610c7a565b915061100f82610fce565b602082019050919050565b6000602082019050818103600083015261103381610ff7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611096602683610c7a565b91506110a18261103a565b604082019050919050565b600060208201905081810360008301526110c581611089565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611102602083610c7a565b915061110d826110cc565b602082019050919050565b60006020820190508181036000830152611131816110f5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611172826109f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036111a4576111a3610e1e565b5b60018201905091905056fea2646970667358221220199f03a090eefdbc7f8d2dc913fc42b792c3ca4556e4f58020c18b11724d9a7964736f6c63430008120033

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

000000000000000000000000d44efd42453089660276638e6aa3c05b499b51d2

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

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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.