This nametag was submitted by Kleros Curate.
Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 65,427 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 21384496 | 5 days ago | IN | 0 ETH | 0.00163315 | ||||
Claim | 21236768 | 26 days ago | IN | 0 ETH | 0.00360669 | ||||
Claim | 21154059 | 38 days ago | IN | 0 ETH | 0.00105668 | ||||
Claim | 21142507 | 39 days ago | IN | 0 ETH | 0.00181073 | ||||
Claim | 21141513 | 39 days ago | IN | 0 ETH | 0.00094962 | ||||
Claim | 21130692 | 41 days ago | IN | 0 ETH | 0.00155271 | ||||
Claim | 21129581 | 41 days ago | IN | 0 ETH | 0.00321715 | ||||
Claim | 21044765 | 53 days ago | IN | 0 ETH | 0.00072663 | ||||
Claim | 20741142 | 95 days ago | IN | 0 ETH | 0.00028077 | ||||
Claim | 20564594 | 120 days ago | IN | 0 ETH | 0.00044003 | ||||
Claim | 20557612 | 121 days ago | IN | 0 ETH | 0.00039367 | ||||
Claim | 20544107 | 123 days ago | IN | 0 ETH | 0.00009468 | ||||
Claim | 20453240 | 135 days ago | IN | 0 ETH | 0.00003886 | ||||
Claim | 20431061 | 138 days ago | IN | 0 ETH | 0.00079238 | ||||
Claim | 20411849 | 141 days ago | IN | 0 ETH | 0.00018629 | ||||
Claim | 20391781 | 144 days ago | IN | 0 ETH | 0.00050906 | ||||
Claim | 20328014 | 153 days ago | IN | 0 ETH | 0.00123104 | ||||
Claim | 20317704 | 154 days ago | IN | 0 ETH | 0.00109301 | ||||
Claim | 20289398 | 158 days ago | IN | 0 ETH | 0.00048866 | ||||
Claim | 20271483 | 161 days ago | IN | 0 ETH | 0.00088145 | ||||
Claim | 20253328 | 163 days ago | IN | 0 ETH | 0.00016875 | ||||
Claim | 20252897 | 163 days ago | IN | 0 ETH | 0.00019046 | ||||
Claim | 20246801 | 164 days ago | IN | 0 ETH | 0.00049036 | ||||
Claim | 20246543 | 164 days ago | IN | 0 ETH | 0.0005555 | ||||
Claim | 20200584 | 171 days ago | IN | 0 ETH | 0.00013546 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
17721697 | 518 days ago | 0.01058674 ETH |
Loading...
Loading
Contract Name:
Airdrop
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract Airdrop is Ownable { bytes32 public merkleRoot; address public token; mapping(bytes32 => bool) public claimed; event Claimed(address indexed account, uint256 indexed amount); constructor(address _token, bytes32 _merkleRoot) { token = _token; merkleRoot = _merkleRoot; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function reclaim() public onlyOwner { uint256 balance = IERC20(token).balanceOf(address(this)); require(IERC20(token).transfer(msg.sender, balance), "Airdrop: Transfer failed."); } function verify(address account, uint256 amount, bytes32[] memory proof) public view returns (bool) { return MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(account, amount))); } function claim(address account, uint256 amount, bytes32[] memory proof) public { bytes32 node = keccak256(abi.encodePacked(account, amount)); require(!claimed[node], "Airdrop: Already claimed."); require(MerkleProof.verify(proof, merkleRoot, node), "Airdrop: Invalid proof."); claimed[node] = true; require(IERC20(token).transfer(account, amount), "Airdrop: Transfer failed."); emit Claimed(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. 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 { 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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); }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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) } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"claimed","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":"reclaim","outputs":[],"stateMutability":"nonpayable","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":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b50604051620012dd380380620012dd83398181016040528101906200003691906200020a565b620000566200004a620000a560201b60201c565b620000ac60201b60201c565b8160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060018190555050506200024f565b5f33905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200019c8262000171565b9050919050565b620001ae8162000190565b8114620001b9575f80fd5b50565b5f81519050620001cc81620001a3565b92915050565b5f819050919050565b620001e681620001d2565b8114620001f1575f80fd5b50565b5f815190506200020481620001db565b92915050565b5f80604083850312156200022357620002226200016d565b5b5f6200023285828601620001bc565b92505060206200024585828601620001f4565b9150509250929050565b611080806200025d5f395ff3fe608060405234801561000f575f80fd5b506004361061009c575f3560e01c80638be0861e116100645780638be0861e1461010a5780638da5cb5b1461013a578063cc3c0f0614610158578063f2fde38b14610188578063fc0c546a146101a45761009c565b80632eb4a7ab146100a05780633d13f874146100be578063715018a6146100da5780637cb64759146100e457806380e9071b14610100575b5f80fd5b6100a86101c2565b6040516100b591906108c3565b60405180910390f35b6100d860048036038101906100d39190610af4565b6101c8565b005b6100e26103ec565b005b6100fe60048036038101906100f99190610b60565b6103ff565b005b610108610411565b005b610124600480360381019061011f9190610af4565b610593565b6040516101319190610ba5565b60405180910390f35b6101426105d2565b60405161014f9190610bcd565b60405180910390f35b610172600480360381019061016d9190610b60565b6105f9565b60405161017f9190610ba5565b60405180910390f35b6101a2600480360381019061019d9190610be6565b610616565b005b6101ac610698565b6040516101b99190610bcd565b60405180910390f35b60015481565b5f83836040516020016101dc929190610c76565b60405160208183030381529060405280519060200120905060035f8281526020019081526020015f205f9054906101000a900460ff1615610252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024990610cfb565b60405180910390fd5b61025f82600154836106bd565b61029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029590610d63565b60405180910390fd5b600160035f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401610323929190610d90565b6020604051808303815f875af115801561033f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103639190610de1565b6103a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039990610e56565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60405160405180910390a350505050565b6103f46106d3565b6103fd5f610751565b565b6104076106d3565b8060018190555050565b6104196106d3565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104749190610bcd565b602060405180830381865afa15801561048f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b39190610e88565b905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610511929190610d90565b6020604051808303815f875af115801561052d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105519190610de1565b610590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058790610e56565b60405180910390fd5b50565b5f6105c98260015486866040516020016105ae929190610c76565b604051602081830303815290604052805190602001206106bd565b90509392505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6003602052805f5260405f205f915054906101000a900460ff1681565b61061e6106d3565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068390610f23565b60405180910390fd5b61069581610751565b50565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f826106c98584610812565b1490509392505050565b6106db610866565b73ffffffffffffffffffffffffffffffffffffffff166106f96105d2565b73ffffffffffffffffffffffffffffffffffffffff161461074f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074690610f8b565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f808290505f5b845181101561085b576108468286838151811061083957610838610fa9565b5b602002602001015161086d565b9150808061085390611003565b915050610819565b508091505092915050565b5f33905090565b5f8183106108845761087f8284610897565b61088f565b61088e8383610897565b5b905092915050565b5f825f528160205260405f20905092915050565b5f819050919050565b6108bd816108ab565b82525050565b5f6020820190506108d65f8301846108b4565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610916826108ed565b9050919050565b6109268161090c565b8114610930575f80fd5b50565b5f813590506109418161091d565b92915050565b5f819050919050565b61095981610947565b8114610963575f80fd5b50565b5f8135905061097481610950565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6109c48261097e565b810181811067ffffffffffffffff821117156109e3576109e261098e565b5b80604052505050565b5f6109f56108dc565b9050610a0182826109bb565b919050565b5f67ffffffffffffffff821115610a2057610a1f61098e565b5b602082029050602081019050919050565b5f80fd5b610a3e816108ab565b8114610a48575f80fd5b50565b5f81359050610a5981610a35565b92915050565b5f610a71610a6c84610a06565b6109ec565b90508083825260208201905060208402830185811115610a9457610a93610a31565b5b835b81811015610abd5780610aa98882610a4b565b845260208401935050602081019050610a96565b5050509392505050565b5f82601f830112610adb57610ada61097a565b5b8135610aeb848260208601610a5f565b91505092915050565b5f805f60608486031215610b0b57610b0a6108e5565b5b5f610b1886828701610933565b9350506020610b2986828701610966565b925050604084013567ffffffffffffffff811115610b4a57610b496108e9565b5b610b5686828701610ac7565b9150509250925092565b5f60208284031215610b7557610b746108e5565b5b5f610b8284828501610a4b565b91505092915050565b5f8115159050919050565b610b9f81610b8b565b82525050565b5f602082019050610bb85f830184610b96565b92915050565b610bc78161090c565b82525050565b5f602082019050610be05f830184610bbe565b92915050565b5f60208284031215610bfb57610bfa6108e5565b5b5f610c0884828501610933565b91505092915050565b5f8160601b9050919050565b5f610c2782610c11565b9050919050565b5f610c3882610c1d565b9050919050565b610c50610c4b8261090c565b610c2e565b82525050565b5f819050919050565b610c70610c6b82610947565b610c56565b82525050565b5f610c818285610c3f565b601482019150610c918284610c5f565b6020820191508190509392505050565b5f82825260208201905092915050565b7f41697264726f703a20416c726561647920636c61696d65642e000000000000005f82015250565b5f610ce5601983610ca1565b9150610cf082610cb1565b602082019050919050565b5f6020820190508181035f830152610d1281610cd9565b9050919050565b7f41697264726f703a20496e76616c69642070726f6f662e0000000000000000005f82015250565b5f610d4d601783610ca1565b9150610d5882610d19565b602082019050919050565b5f6020820190508181035f830152610d7a81610d41565b9050919050565b610d8a81610947565b82525050565b5f604082019050610da35f830185610bbe565b610db06020830184610d81565b9392505050565b610dc081610b8b565b8114610dca575f80fd5b50565b5f81519050610ddb81610db7565b92915050565b5f60208284031215610df657610df56108e5565b5b5f610e0384828501610dcd565b91505092915050565b7f41697264726f703a205472616e73666572206661696c65642e000000000000005f82015250565b5f610e40601983610ca1565b9150610e4b82610e0c565b602082019050919050565b5f6020820190508181035f830152610e6d81610e34565b9050919050565b5f81519050610e8281610950565b92915050565b5f60208284031215610e9d57610e9c6108e5565b5b5f610eaa84828501610e74565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f610f0d602683610ca1565b9150610f1882610eb3565b604082019050919050565b5f6020820190508181035f830152610f3a81610f01565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f610f75602083610ca1565b9150610f8082610f41565b602082019050919050565b5f6020820190508181035f830152610fa281610f69565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61100d82610947565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361103f5761103e610fd6565b5b60018201905091905056fea264697066735822122010b2077a9e22a83bc012a0c8075295596e303517af2b49410c84a71199664b4e64736f6c634300081400330000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050c2a10bb5cda2dfcdce37e8908004c713dc8772e222ab1e1f18ca617892a17a22
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061009c575f3560e01c80638be0861e116100645780638be0861e1461010a5780638da5cb5b1461013a578063cc3c0f0614610158578063f2fde38b14610188578063fc0c546a146101a45761009c565b80632eb4a7ab146100a05780633d13f874146100be578063715018a6146100da5780637cb64759146100e457806380e9071b14610100575b5f80fd5b6100a86101c2565b6040516100b591906108c3565b60405180910390f35b6100d860048036038101906100d39190610af4565b6101c8565b005b6100e26103ec565b005b6100fe60048036038101906100f99190610b60565b6103ff565b005b610108610411565b005b610124600480360381019061011f9190610af4565b610593565b6040516101319190610ba5565b60405180910390f35b6101426105d2565b60405161014f9190610bcd565b60405180910390f35b610172600480360381019061016d9190610b60565b6105f9565b60405161017f9190610ba5565b60405180910390f35b6101a2600480360381019061019d9190610be6565b610616565b005b6101ac610698565b6040516101b99190610bcd565b60405180910390f35b60015481565b5f83836040516020016101dc929190610c76565b60405160208183030381529060405280519060200120905060035f8281526020019081526020015f205f9054906101000a900460ff1615610252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024990610cfb565b60405180910390fd5b61025f82600154836106bd565b61029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029590610d63565b60405180910390fd5b600160035f8381526020019081526020015f205f6101000a81548160ff02191690831515021790555060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401610323929190610d90565b6020604051808303815f875af115801561033f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103639190610de1565b6103a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039990610e56565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60405160405180910390a350505050565b6103f46106d3565b6103fd5f610751565b565b6104076106d3565b8060018190555050565b6104196106d3565b5f60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104749190610bcd565b602060405180830381865afa15801561048f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b39190610e88565b905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610511929190610d90565b6020604051808303815f875af115801561052d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105519190610de1565b610590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058790610e56565b60405180910390fd5b50565b5f6105c98260015486866040516020016105ae929190610c76565b604051602081830303815290604052805190602001206106bd565b90509392505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6003602052805f5260405f205f915054906101000a900460ff1681565b61061e6106d3565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361068c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068390610f23565b60405180910390fd5b61069581610751565b50565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f826106c98584610812565b1490509392505050565b6106db610866565b73ffffffffffffffffffffffffffffffffffffffff166106f96105d2565b73ffffffffffffffffffffffffffffffffffffffff161461074f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074690610f8b565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f808290505f5b845181101561085b576108468286838151811061083957610838610fa9565b5b602002602001015161086d565b9150808061085390611003565b915050610819565b508091505092915050565b5f33905090565b5f8183106108845761087f8284610897565b61088f565b61088e8383610897565b5b905092915050565b5f825f528160205260405f20905092915050565b5f819050919050565b6108bd816108ab565b82525050565b5f6020820190506108d65f8301846108b4565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610916826108ed565b9050919050565b6109268161090c565b8114610930575f80fd5b50565b5f813590506109418161091d565b92915050565b5f819050919050565b61095981610947565b8114610963575f80fd5b50565b5f8135905061097481610950565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6109c48261097e565b810181811067ffffffffffffffff821117156109e3576109e261098e565b5b80604052505050565b5f6109f56108dc565b9050610a0182826109bb565b919050565b5f67ffffffffffffffff821115610a2057610a1f61098e565b5b602082029050602081019050919050565b5f80fd5b610a3e816108ab565b8114610a48575f80fd5b50565b5f81359050610a5981610a35565b92915050565b5f610a71610a6c84610a06565b6109ec565b90508083825260208201905060208402830185811115610a9457610a93610a31565b5b835b81811015610abd5780610aa98882610a4b565b845260208401935050602081019050610a96565b5050509392505050565b5f82601f830112610adb57610ada61097a565b5b8135610aeb848260208601610a5f565b91505092915050565b5f805f60608486031215610b0b57610b0a6108e5565b5b5f610b1886828701610933565b9350506020610b2986828701610966565b925050604084013567ffffffffffffffff811115610b4a57610b496108e9565b5b610b5686828701610ac7565b9150509250925092565b5f60208284031215610b7557610b746108e5565b5b5f610b8284828501610a4b565b91505092915050565b5f8115159050919050565b610b9f81610b8b565b82525050565b5f602082019050610bb85f830184610b96565b92915050565b610bc78161090c565b82525050565b5f602082019050610be05f830184610bbe565b92915050565b5f60208284031215610bfb57610bfa6108e5565b5b5f610c0884828501610933565b91505092915050565b5f8160601b9050919050565b5f610c2782610c11565b9050919050565b5f610c3882610c1d565b9050919050565b610c50610c4b8261090c565b610c2e565b82525050565b5f819050919050565b610c70610c6b82610947565b610c56565b82525050565b5f610c818285610c3f565b601482019150610c918284610c5f565b6020820191508190509392505050565b5f82825260208201905092915050565b7f41697264726f703a20416c726561647920636c61696d65642e000000000000005f82015250565b5f610ce5601983610ca1565b9150610cf082610cb1565b602082019050919050565b5f6020820190508181035f830152610d1281610cd9565b9050919050565b7f41697264726f703a20496e76616c69642070726f6f662e0000000000000000005f82015250565b5f610d4d601783610ca1565b9150610d5882610d19565b602082019050919050565b5f6020820190508181035f830152610d7a81610d41565b9050919050565b610d8a81610947565b82525050565b5f604082019050610da35f830185610bbe565b610db06020830184610d81565b9392505050565b610dc081610b8b565b8114610dca575f80fd5b50565b5f81519050610ddb81610db7565b92915050565b5f60208284031215610df657610df56108e5565b5b5f610e0384828501610dcd565b91505092915050565b7f41697264726f703a205472616e73666572206661696c65642e000000000000005f82015250565b5f610e40601983610ca1565b9150610e4b82610e0c565b602082019050919050565b5f6020820190508181035f830152610e6d81610e34565b9050919050565b5f81519050610e8281610950565b92915050565b5f60208284031215610e9d57610e9c6108e5565b5b5f610eaa84828501610e74565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f610f0d602683610ca1565b9150610f1882610eb3565b604082019050919050565b5f6020820190508181035f830152610f3a81610f01565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f610f75602083610ca1565b9150610f8082610f41565b602082019050919050565b5f6020820190508181035f830152610fa281610f69565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61100d82610947565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361103f5761103e610fd6565b5b60018201905091905056fea264697066735822122010b2077a9e22a83bc012a0c8075295596e303517af2b49410c84a71199664b4e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050c2a10bb5cda2dfcdce37e8908004c713dc8772e222ab1e1f18ca617892a17a22
-----Decoded View---------------
Arg [0] : _token (address): 0x6E2a43be0B1d33b726f0CA3b8de60b3482b8b050
Arg [1] : _merkleRoot (bytes32): 0xc2a10bb5cda2dfcdce37e8908004c713dc8772e222ab1e1f18ca617892a17a22
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050
Arg [1] : c2a10bb5cda2dfcdce37e8908004c713dc8772e222ab1e1f18ca617892a17a22
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.