ETH Price: $3,102.26 (+1.17%)
Gas: 3 Gwei

Contract

0x00E7a28F725bf5C561946548C6Cf8836d8c4D4BD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0xff2243cbc7af46a9c5c31216ddad6a540ab47d0a1772d115af259d0435a2bc9b Claim(pending)2024-07-07 11:30:333 days ago1720351833IN
0x00E7a28F...6d8c4D4BD
0 ETH(Pending)(Pending)
Claim177140372023-07-17 16:01:11359 days ago1689609671IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0012789336.79228441
Claim177140372023-07-17 16:01:11359 days ago1689609671IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0012791336.79792441
Claim174750462023-06-14 1:51:59392 days ago1686707519IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0005388515.75
Claim173465402023-05-26 23:29:47411 days ago1685143787IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0007246822.34892929
Transfer172569192023-05-14 8:24:23423 days ago1684052663IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0008752441.67832014
Claim172559842023-05-14 5:13:47423 days ago1684041227IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0012492935.90234852
Claim172547722023-05-14 1:04:23423 days ago1684026263IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0010442730
Claim172547722023-05-14 1:04:23423 days ago1684026263IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0010435530
Claim172472502023-05-12 23:35:35425 days ago1683934535IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0013396838.5
Claim172279272023-05-10 5:27:47427 days ago1683696467IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0017195749.43430195
Claim172216682023-05-09 8:20:47428 days ago1683620447IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0017665850.80339853
Claim172196592023-05-09 1:34:11428 days ago1683596051IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0019926557.24536328
Claim172179802023-05-08 19:55:11429 days ago1683575711IN
0x00E7a28F...6d8c4D4BD
0 ETH0.00361022103.71530855
Claim172134902023-05-08 4:46:47429 days ago1683521207IN
0x00E7a28F...6d8c4D4BD
0 ETH0.002358467.84630648
Claim172133512023-05-08 4:18:59429 days ago1683519539IN
0x00E7a28F...6d8c4D4BD
0 ETH0.002491471.59838034
Claim172102332023-05-07 17:46:23430 days ago1683481583IN
0x00E7a28F...6d8c4D4BD
0 ETH0.00548919157.74912964
Claim172093572023-05-07 14:49:35430 days ago1683470975IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0041844122.13316724
Claim172079722023-05-07 10:07:47430 days ago1683454067IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0030644188.03513316
Claim172079702023-05-07 10:07:23430 days ago1683454043IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0030574987.83634515
Claim172078922023-05-07 9:51:35430 days ago1683453095IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0029071183.54496338
Claim172078542023-05-07 9:43:59430 days ago1683452639IN
0x00E7a28F...6d8c4D4BD
0 ETH0.002581674.13926152
Claim172077002023-05-07 9:12:59430 days ago1683450779IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0029204583.95727389
Claim172073852023-05-07 8:08:59430 days ago1683446939IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0027857181.25157321
Claim172073822023-05-07 8:08:23430 days ago1683446903IN
0x00E7a28F...6d8c4D4BD
0 ETH0.0026863478.35326253
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:
FoxeAirdrop

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-05-06
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// 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: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC20/IERC20.sol


// 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: contracts/airdrop.sol


pragma solidity ^0.8.0;




contract FoxeAirdrop is Ownable {
    IERC20 public token;
    uint256 private constant MAX_CLAIMABLE = 1777819;
    uint256 private claimedCount;
    mapping(address => bool) public hasClaimed;
    bytes32 public merkleRoot;
    bool public isAirdropEnabled;

    event Claimed(address indexed claimer, uint256 amount);

    constructor(IERC20 _token, bytes32 _merkleRoot) {
        token = _token;
        merkleRoot = _merkleRoot;
        isAirdropEnabled = false;
    }

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

    function toggleAirdrop(bool _isAirdropEnabled) external onlyOwner {
        isAirdropEnabled = _isAirdropEnabled;
    }

    function claim(bytes32[] calldata merkleProof) external {
        require(isAirdropEnabled, "Airdrop: The airdrop is currently disabled");
        require(claimedCount < MAX_CLAIMABLE, "Airdrop: All tokens have been claimed");
        require(!hasClaimed[msg.sender], "Airdrop: You have already claimed your tokens");

        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, merkleRoot, node), "Airdrop: Invalid merkle proof");

        uint256 amount;
        if (claimedCount < 10000) {
            amount = 5000000000 * 10 ** 18;
        } else if (claimedCount >= 10000 && claimedCount < 100000) {
            amount = 4000000000 * 10 ** 18;
        } else if (claimedCount >= 100000 && claimedCount < 1700000) {
            amount = 1000000000 * 10 ** 18;
        }

        hasClaimed[msg.sender] = true;
        claimedCount++;

        require(token.transfer(msg.sender, amount), "Airdrop: Token transfer failed");
        emit Claimed(msg.sender, amount);
    }

    function emergencyWithdraw(uint256 _amount) external onlyOwner {
        require(token.transfer(owner(), _amount), "Airdrop: Emergency withdrawal failed");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAirdropEnabled","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":"bool","name":"_isAirdropEnabled","type":"bool"}],"name":"toggleAirdrop","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"}]

608060405234801561001057600080fd5b50604051610ab8380380610ab883398101604081905261002f916100bb565b6100383361006b565b600180546001600160a01b0319166001600160a01b0393909316929092179091556004556005805460ff191690556100f5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100ce57600080fd5b82516001600160a01b03811681146100e557600080fd5b6020939093015192949293505050565b6109b4806101046000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806382e5270a1161007157806382e5270a1461012d5780638d0b3e7a146101405780638da5cb5b1461014d578063b391c50814610172578063f2fde38b14610185578063fc0c546a1461019857600080fd5b80632eb4a7ab146100ae5780635312ea8e146100ca578063715018a6146100df57806373b2e80e146100e75780637cb647591461011a575b600080fd5b6100b760045481565b6040519081526020015b60405180910390f35b6100dd6100d8366004610842565b6101ab565b005b6100dd6102a7565b61010a6100f536600461085b565b60036020526000908152604090205460ff1681565b60405190151581526020016100c1565b6100dd610128366004610842565b6102bb565b6100dd61013b366004610892565b6102c8565b60055461010a9060ff1681565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100c1565b6100dd6101803660046108af565b6102e3565b6100dd61019336600461085b565b61068d565b60015461015a906001600160a01b031681565b6101b3610703565b6001546001600160a01b031663a9059cbb6101d66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610223573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102479190610924565b6102a45760405162461bcd60e51b8152602060048201526024808201527f41697264726f703a20456d657267656e6379207769746864726177616c2066616044820152631a5b195960e21b60648201526084015b60405180910390fd5b50565b6102af610703565b6102b9600061075d565b565b6102c3610703565b600455565b6102d0610703565b6005805460ff1916911515919091179055565b60055460ff166103485760405162461bcd60e51b815260206004820152602a60248201527f41697264726f703a205468652061697264726f702069732063757272656e746c6044820152691e48191a5cd8589b195960b21b606482015260840161029b565b621b209b600254106103aa5760405162461bcd60e51b815260206004820152602560248201527f41697264726f703a20416c6c20746f6b656e732068617665206265656e20636c604482015264185a5b595960da1b606482015260840161029b565b3360009081526003602052604090205460ff16156104205760405162461bcd60e51b815260206004820152602d60248201527f41697264726f703a20596f75206861766520616c726561647920636c61696d6560448201526c6420796f757220746f6b656e7360981b606482015260840161029b565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061049a8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060045491508490506107ad565b6104e65760405162461bcd60e51b815260206004820152601d60248201527f41697264726f703a20496e76616c6964206d65726b6c652070726f6f66000000604482015260640161029b565b6000612710600254101561050757506b1027e72f1f12813088000000610564565b6127106002541015801561051f5750620186a0600254105b1561053757506b0cecb8f27f4200f3a0000000610564565b620186a06002541015801561055057506219f0a0600254105b1561056457506b033b2e3c9fd0803ce80000005b336000908152600360205260408120805460ff19166001179055600280549161058c83610941565b909155505060015460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106069190610924565b6106525760405162461bcd60e51b815260206004820152601e60248201527f41697264726f703a20546f6b656e207472616e73666572206661696c65640000604482015260640161029b565b60405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a250505050565b610695610703565b6001600160a01b0381166106fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029b565b6102a48161075d565b6000546001600160a01b031633146102b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161029b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826107ba85846107c3565b14949350505050565b600081815b8451811015610808576107f4828683815181106107e7576107e7610968565b6020026020010151610810565b91508061080081610941565b9150506107c8565b509392505050565b600081831061082c57600082815260208490526040902061083b565b60008381526020839052604090205b9392505050565b60006020828403121561085457600080fd5b5035919050565b60006020828403121561086d57600080fd5b81356001600160a01b038116811461083b57600080fd5b80151581146102a457600080fd5b6000602082840312156108a457600080fd5b813561083b81610884565b600080602083850312156108c257600080fd5b823567ffffffffffffffff808211156108da57600080fd5b818501915085601f8301126108ee57600080fd5b8135818111156108fd57600080fd5b8660208260051b850101111561091257600080fd5b60209290920196919550909350505050565b60006020828403121561093657600080fd5b815161083b81610884565b60006001820161096157634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220929377b0216b43877221c9d7c0458412e49e75adf98bea6629c5f7470770ce2664736f6c63430008130033000000000000000000000000378e1be15be6d6d1f23cfe7090b6a77660dbf14d6c9f4ec5eee9597f240e9a97f877a78ced19d6ec351fa6b3ea39f7e7afc4bdfd

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806382e5270a1161007157806382e5270a1461012d5780638d0b3e7a146101405780638da5cb5b1461014d578063b391c50814610172578063f2fde38b14610185578063fc0c546a1461019857600080fd5b80632eb4a7ab146100ae5780635312ea8e146100ca578063715018a6146100df57806373b2e80e146100e75780637cb647591461011a575b600080fd5b6100b760045481565b6040519081526020015b60405180910390f35b6100dd6100d8366004610842565b6101ab565b005b6100dd6102a7565b61010a6100f536600461085b565b60036020526000908152604090205460ff1681565b60405190151581526020016100c1565b6100dd610128366004610842565b6102bb565b6100dd61013b366004610892565b6102c8565b60055461010a9060ff1681565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100c1565b6100dd6101803660046108af565b6102e3565b6100dd61019336600461085b565b61068d565b60015461015a906001600160a01b031681565b6101b3610703565b6001546001600160a01b031663a9059cbb6101d66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610223573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102479190610924565b6102a45760405162461bcd60e51b8152602060048201526024808201527f41697264726f703a20456d657267656e6379207769746864726177616c2066616044820152631a5b195960e21b60648201526084015b60405180910390fd5b50565b6102af610703565b6102b9600061075d565b565b6102c3610703565b600455565b6102d0610703565b6005805460ff1916911515919091179055565b60055460ff166103485760405162461bcd60e51b815260206004820152602a60248201527f41697264726f703a205468652061697264726f702069732063757272656e746c6044820152691e48191a5cd8589b195960b21b606482015260840161029b565b621b209b600254106103aa5760405162461bcd60e51b815260206004820152602560248201527f41697264726f703a20416c6c20746f6b656e732068617665206265656e20636c604482015264185a5b595960da1b606482015260840161029b565b3360009081526003602052604090205460ff16156104205760405162461bcd60e51b815260206004820152602d60248201527f41697264726f703a20596f75206861766520616c726561647920636c61696d6560448201526c6420796f757220746f6b656e7360981b606482015260840161029b565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061049a8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060045491508490506107ad565b6104e65760405162461bcd60e51b815260206004820152601d60248201527f41697264726f703a20496e76616c6964206d65726b6c652070726f6f66000000604482015260640161029b565b6000612710600254101561050757506b1027e72f1f12813088000000610564565b6127106002541015801561051f5750620186a0600254105b1561053757506b0cecb8f27f4200f3a0000000610564565b620186a06002541015801561055057506219f0a0600254105b1561056457506b033b2e3c9fd0803ce80000005b336000908152600360205260408120805460ff19166001179055600280549161058c83610941565b909155505060015460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106069190610924565b6106525760405162461bcd60e51b815260206004820152601e60248201527f41697264726f703a20546f6b656e207472616e73666572206661696c65640000604482015260640161029b565b60405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a250505050565b610695610703565b6001600160a01b0381166106fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161029b565b6102a48161075d565b6000546001600160a01b031633146102b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161029b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826107ba85846107c3565b14949350505050565b600081815b8451811015610808576107f4828683815181106107e7576107e7610968565b6020026020010151610810565b91508061080081610941565b9150506107c8565b509392505050565b600081831061082c57600082815260208490526040902061083b565b60008381526020839052604090205b9392505050565b60006020828403121561085457600080fd5b5035919050565b60006020828403121561086d57600080fd5b81356001600160a01b038116811461083b57600080fd5b80151581146102a457600080fd5b6000602082840312156108a457600080fd5b813561083b81610884565b600080602083850312156108c257600080fd5b823567ffffffffffffffff808211156108da57600080fd5b818501915085601f8301126108ee57600080fd5b8135818111156108fd57600080fd5b8660208260051b850101111561091257600080fd5b60209290920196919550909350505050565b60006020828403121561093657600080fd5b815161083b81610884565b60006001820161096157634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220929377b0216b43877221c9d7c0458412e49e75adf98bea6629c5f7470770ce2664736f6c63430008130033

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

000000000000000000000000378e1be15be6d6d1f23cfe7090b6a77660dbf14d6c9f4ec5eee9597f240e9a97f877a78ced19d6ec351fa6b3ea39f7e7afc4bdfd

-----Decoded View---------------
Arg [0] : _token (address): 0x378E1BE15BE6d6D1f23Cfe7090b6a77660dBF14d
Arg [1] : _merkleRoot (bytes32): 0x6c9f4ec5eee9597f240e9a97f877a78ced19d6ec351fa6b3ea39f7e7afc4bdfd

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000378e1be15be6d6d1f23cfe7090b6a77660dbf14d
Arg [1] : 6c9f4ec5eee9597f240e9a97f877a78ced19d6ec351fa6b3ea39f7e7afc4bdfd


Deployed Bytecode Sourcemap

16135:1960:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16339:25;;;;;;;;;160::1;;;148:2;133:18;16339:25:0;;;;;;;;17929:163;;;;;;:::i;:::-;;:::i;:::-;;12370:103;;;:::i;16290:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;837:14:1;;830:22;812:41;;800:2;785:18;16290:42:0;672:187:1;16630:106:0;;;;;;:::i;:::-;;:::i;16744:121::-;;;;;;:::i;:::-;;:::i;16371:28::-;;;;;;;;;11722:87;11768:7;11795:6;-1:-1:-1;;;;;11795:6:0;11722:87;;;-1:-1:-1;;;;;1582:32:1;;;1564:51;;1552:2;1537:18;11722:87:0;1418:203:1;16873:1048:0;;;;;;:::i;:::-;;:::i;12628:201::-;;;;;;:::i;:::-;;:::i;16174:19::-;;;;;-1:-1:-1;;;;;16174:19:0;;;17929:163;11608:13;:11;:13::i;:::-;18011:5:::1;::::0;-1:-1:-1;;;;;18011:5:0::1;:14;18026:7;11768::::0;11795:6;-1:-1:-1;;;;;11795:6:0;;11722:87;18026:7:::1;18011:32;::::0;-1:-1:-1;;;;;;18011:32:0::1;::::0;;;;;;-1:-1:-1;;;;;2660:32:1;;;18011::0::1;::::0;::::1;2642:51:1::0;2709:18;;;2702:34;;;2615:18;;18011:32:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18003:81;;;::::0;-1:-1:-1;;;18003:81:0;;3199:2:1;18003:81:0::1;::::0;::::1;3181:21:1::0;3238:2;3218:18;;;3211:30;3277:34;3257:18;;;3250:62;-1:-1:-1;;;3328:18:1;;;3321:34;3372:19;;18003:81:0::1;;;;;;;;;17929:163:::0;:::o;12370:103::-;11608:13;:11;:13::i;:::-;12435:30:::1;12462:1;12435:18;:30::i;:::-;12370:103::o:0;16630:106::-;11608:13;:11;:13::i;:::-;16704:10:::1;:24:::0;16630:106::o;16744:121::-;11608:13;:11;:13::i;:::-;16821:16:::1;:36:::0;;-1:-1:-1;;16821:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;16744:121::o;16873:1048::-;16948:16;;;;16940:71;;;;-1:-1:-1;;;16940:71:0;;3604:2:1;16940:71:0;;;3586:21:1;3643:2;3623:18;;;3616:30;3682:34;3662:18;;;3655:62;-1:-1:-1;;;3733:18:1;;;3726:40;3783:19;;16940:71:0;3402:406:1;16940:71:0;16241:7;17030:12;;:28;17022:78;;;;-1:-1:-1;;;17022:78:0;;4015:2:1;17022:78:0;;;3997:21:1;4054:2;4034:18;;;4027:30;4093:34;4073:18;;;4066:62;-1:-1:-1;;;4144:18:1;;;4137:35;4189:19;;17022:78:0;3813:401:1;17022:78:0;17131:10;17120:22;;;;:10;:22;;;;;;;;17119:23;17111:81;;;;-1:-1:-1;;;17111:81:0;;4421:2:1;17111:81:0;;;4403:21:1;4460:2;4440:18;;;4433:30;4499:34;4479:18;;;4472:62;-1:-1:-1;;;4550:18:1;;;4543:43;4603:19;;17111:81:0;4219:409:1;17111:81:0;17230:28;;-1:-1:-1;;17247:10:0;4782:2:1;4778:15;4774:53;17230:28:0;;;4762:66:1;17205:12:0;;4844::1;;17230:28:0;;;;;;;;;;;;17220:39;;;;;;17205:54;;17278:49;17297:11;;17278:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17310:10:0;;;-1:-1:-1;17322:4:0;;-1:-1:-1;17278:18:0;:49::i;:::-;17270:91;;;;-1:-1:-1;;;17270:91:0;;5069:2:1;17270:91:0;;;5051:21:1;5108:2;5088:18;;;5081:30;5147:31;5127:18;;;5120:59;5196:18;;17270:91:0;4867:353:1;17270:91:0;17374:14;17418:5;17403:12;;:20;17399:315;;;-1:-1:-1;17449:21:0;17399:315;;;17508:5;17492:12;;:21;;:46;;;;;17532:6;17517:12;;:21;17492:46;17488:226;;;-1:-1:-1;17564:21:0;17488:226;;;17623:6;17607:12;;:22;;:48;;;;;17648:7;17633:12;;:22;17607:48;17603:111;;;-1:-1:-1;17681:21:0;17603:111;17737:10;17726:22;;;;:10;:22;;;;;:29;;-1:-1:-1;;17726:29:0;17751:4;17726:29;;;17766:12;:14;;;;;;:::i;:::-;;;;-1:-1:-1;;17801:5:0;;:34;;-1:-1:-1;;;17801:34:0;;17816:10;17801:34;;;2642:51:1;2709:18;;;2702:34;;;-1:-1:-1;;;;;17801:5:0;;;;:14;;2615:18:1;;17801:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17793:77;;;;-1:-1:-1;;;17793:77:0;;5664:2:1;17793:77:0;;;5646:21:1;5703:2;5683:18;;;5676:30;5742:32;5722:18;;;5715:60;5792:18;;17793:77:0;5462:354:1;17793:77:0;17886:27;;160:25:1;;;17894:10:0;;17886:27;;148:2:1;133:18;17886:27:0;;;;;;;16929:992;;16873:1048;;:::o;12628:201::-;11608:13;:11;:13::i;:::-;-1:-1:-1;;;;;12717:22:0;::::1;12709:73;;;::::0;-1:-1:-1;;;12709:73:0;;6205:2:1;12709:73:0::1;::::0;::::1;6187:21:1::0;6244:2;6224:18;;;6217:30;6283:34;6263:18;;;6256:62;-1:-1:-1;;;6334:18:1;;;6327:36;6380:19;;12709:73:0::1;6003:402:1::0;12709:73:0::1;12793:28;12812:8;12793:18;:28::i;11887:132::-:0;11768:7;11795:6;-1:-1:-1;;;;;11795:6:0;10353:10;11951:23;11943:68;;;;-1:-1:-1;;;11943:68:0;;6612:2:1;11943:68:0;;;6594:21:1;;;6631:18;;;6624:30;6690:34;6670:18;;;6663:62;6742:18;;11943:68:0;6410:356:1;12989:191:0;13063:16;13082:6;;-1:-1:-1;;;;;13099:17:0;;;-1:-1:-1;;;;;;13099:17:0;;;;;;13132:40;;13082:6;;;;;;;13132:40;;13063:16;13132:40;13052:128;12989:191;:::o;1255:190::-;1380:4;1433;1404:25;1417:5;1424:4;1404:12;:25::i;:::-;:33;;1255:190;-1:-1:-1;;;;1255:190:0:o;2122:296::-;2205:7;2248:4;2205:7;2263:118;2287:5;:12;2283:1;:16;2263:118;;;2336:33;2346:12;2360:5;2366:1;2360:8;;;;;;;;:::i;:::-;;;;;;;2336:9;:33::i;:::-;2321:48;-1:-1:-1;2301:3:0;;;;:::i;:::-;;;;2263:118;;;-1:-1:-1;2398:12:0;2122:296;-1:-1:-1;;;2122:296:0:o;9162:149::-;9225:7;9256:1;9252;:5;:51;;9387:13;9481:15;;;9517:4;9510:15;;;9564:4;9548:21;;9252:51;;;9387:13;9481:15;;;9517:4;9510:15;;;9564:4;9548:21;;9260:20;9245:58;9162:149;-1:-1:-1;;;9162:149:0:o;196:180:1:-;255:6;308:2;296:9;287:7;283:23;279:32;276:52;;;324:1;321;314:12;276:52;-1:-1:-1;347:23:1;;196:180;-1:-1:-1;196:180:1:o;381:286::-;440:6;493:2;481:9;472:7;468:23;464:32;461:52;;;509:1;506;499:12;461:52;535:23;;-1:-1:-1;;;;;587:31:1;;577:42;;567:70;;633:1;630;623:12;1049:118;1135:5;1128:13;1121:21;1114:5;1111:32;1101:60;;1157:1;1154;1147:12;1172:241;1228:6;1281:2;1269:9;1260:7;1256:23;1252:32;1249:52;;;1297:1;1294;1287:12;1249:52;1336:9;1323:23;1355:28;1377:5;1355:28;:::i;1626:615::-;1712:6;1720;1773:2;1761:9;1752:7;1748:23;1744:32;1741:52;;;1789:1;1786;1779:12;1741:52;1829:9;1816:23;1858:18;1899:2;1891:6;1888:14;1885:34;;;1915:1;1912;1905:12;1885:34;1953:6;1942:9;1938:22;1928:32;;1998:7;1991:4;1987:2;1983:13;1979:27;1969:55;;2020:1;2017;2010:12;1969:55;2060:2;2047:16;2086:2;2078:6;2075:14;2072:34;;;2102:1;2099;2092:12;2072:34;2155:7;2150:2;2140:6;2137:1;2133:14;2129:2;2125:23;2121:32;2118:45;2115:65;;;2176:1;2173;2166:12;2115:65;2207:2;2199:11;;;;;2229:6;;-1:-1:-1;1626:615:1;;-1:-1:-1;;;;1626:615:1:o;2747:245::-;2814:6;2867:2;2855:9;2846:7;2842:23;2838:32;2835:52;;;2883:1;2880;2873:12;2835:52;2915:9;2909:16;2934:28;2956:5;2934:28;:::i;5225:232::-;5264:3;5285:17;;;5282:140;;5344:10;5339:3;5335:20;5332:1;5325:31;5379:4;5376:1;5369:15;5407:4;5404:1;5397:15;5282:140;-1:-1:-1;5449:1:1;5438:13;;5225:232::o;6771:127::-;6832:10;6827:3;6823:20;6820:1;6813:31;6863:4;6860:1;6853:15;6887:4;6884:1;6877:15

Swarm Source

ipfs://929377b0216b43877221c9d7c0458412e49e75adf98bea6629c5f7470770ce26

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.