More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 314 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 21897267 | 14 hrs ago | IN | 0 ETH | 0.00020105 | ||||
Claim | 21896763 | 15 hrs ago | IN | 0 ETH | 0.00024292 | ||||
Claim | 21895397 | 20 hrs ago | IN | 0 ETH | 0.00042283 | ||||
Claim | 21895396 | 20 hrs ago | IN | 0 ETH | 0.00040816 | ||||
Claim | 21895394 | 20 hrs ago | IN | 0 ETH | 0.00039707 | ||||
Claim | 21894968 | 21 hrs ago | IN | 0 ETH | 0.00023884 | ||||
Claim | 21893887 | 25 hrs ago | IN | 0 ETH | 0.00029059 | ||||
Claim | 21890455 | 37 hrs ago | IN | 0 ETH | 0.00012691 | ||||
Claim | 21890347 | 37 hrs ago | IN | 0 ETH | 0.00005827 | ||||
Claim | 21890344 | 37 hrs ago | IN | 0 ETH | 0.00012787 | ||||
Claim | 21888913 | 42 hrs ago | IN | 0 ETH | 0.00035571 | ||||
Claim | 21888910 | 42 hrs ago | IN | 0 ETH | 0.00034503 | ||||
Claim | 21888436 | 43 hrs ago | IN | 0 ETH | 0.00019165 | ||||
Claim | 21886457 | 2 days ago | IN | 0 ETH | 0.00011592 | ||||
Claim | 21886455 | 2 days ago | IN | 0 ETH | 0.000083 | ||||
Claim | 21886453 | 2 days ago | IN | 0 ETH | 0.00011417 | ||||
Claim | 21886421 | 2 days ago | IN | 0 ETH | 0.00025943 | ||||
Claim | 21883115 | 2 days ago | IN | 0 ETH | 0.00012532 | ||||
Claim | 21882672 | 2 days ago | IN | 0 ETH | 0.0001209 | ||||
Claim | 21882580 | 2 days ago | IN | 0 ETH | 0.00013244 | ||||
Claim | 21882117 | 2 days ago | IN | 0 ETH | 0.00011048 | ||||
Claim | 21881812 | 2 days ago | IN | 0 ETH | 0.00020218 | ||||
Claim | 21879509 | 3 days ago | IN | 0 ETH | 0.00019714 | ||||
Claim | 21878864 | 3 days ago | IN | 0 ETH | 0.00007219 | ||||
Claim | 21876458 | 3 days ago | IN | 0 ETH | 0.00026969 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Airdrop
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
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) } } }
{ "evmVersion": "paris", "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
60806040523480156200001157600080fd5b506040516200136538038062001365833981810160405281019062000037919062000218565b620000576200004b620000a760201b60201c565b620000af60201b60201c565b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060018190555050506200025f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001a58262000178565b9050919050565b620001b78162000198565b8114620001c357600080fd5b50565b600081519050620001d781620001ac565b92915050565b6000819050919050565b620001f281620001dd565b8114620001fe57600080fd5b50565b6000815190506200021281620001e7565b92915050565b6000806040838503121562000232576200023162000173565b5b60006200024285828601620001c6565b9250506020620002558582860162000201565b9150509250929050565b6110f6806200026f6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638be0861e116100665780638be0861e1461010d5780638da5cb5b1461013d578063cc3c0f061461015b578063f2fde38b1461018b578063fc0c546a146101a75761009e565b80632eb4a7ab146100a35780633d13f874146100c1578063715018a6146100dd5780637cb64759146100e757806380e9071b14610103575b600080fd5b6100ab6101c5565b6040516100b891906108ee565b60405180910390f35b6100db60048036038101906100d69190610b36565b6101cb565b005b6100e56103fa565b005b61010160048036038101906100fc9190610ba5565b61040e565b005b61010b610420565b005b61012760048036038101906101229190610b36565b6105aa565b6040516101349190610bed565b60405180910390f35b6101456105ea565b6040516101529190610c17565b60405180910390f35b61017560048036038101906101709190610ba5565b610613565b6040516101829190610bed565b60405180910390f35b6101a560048036038101906101a09190610c32565b610633565b005b6101af6106b6565b6040516101bc9190610c17565b60405180910390f35b60015481565b600083836040516020016101e0929190610cc8565b6040516020818303038152906040528051906020012090506003600082815260200190815260200160002060009054906101000a900460ff1615610259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025090610d51565b60405180910390fd5b61026682600154836106dc565b6102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c90610dbd565b60405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b815260040161032e929190610dec565b6020604051808303816000875af115801561034d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103719190610e41565b6103b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a790610eba565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60405160405180910390a350505050565b6104026106f3565b61040c6000610771565b565b6104166106f3565b8060018190555050565b6104286106f3565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104859190610c17565b602060405180830381865afa1580156104a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c69190610eef565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610525929190610dec565b6020604051808303816000875af1158015610544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105689190610e41565b6105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e90610eba565b60405180910390fd5b50565b60006105e18260015486866040516020016105c6929190610cc8565b604051602081830303815290604052805190602001206106dc565b90509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915054906101000a900460ff1681565b61063b6106f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a190610f8e565b60405180910390fd5b6106b381610771565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000826106e98584610835565b1490509392505050565b6106fb61088b565b73ffffffffffffffffffffffffffffffffffffffff166107196105ea565b73ffffffffffffffffffffffffffffffffffffffff161461076f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076690610ffa565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b84518110156108805761086b8286838151811061085e5761085d61101a565b5b6020026020010151610893565b9150808061087890611078565b91505061083e565b508091505092915050565b600033905090565b60008183106108ab576108a682846108be565b6108b6565b6108b583836108be565b5b905092915050565b600082600052816020526040600020905092915050565b6000819050919050565b6108e8816108d5565b82525050565b600060208201905061090360008301846108df565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109488261091d565b9050919050565b6109588161093d565b811461096357600080fd5b50565b6000813590506109758161094f565b92915050565b6000819050919050565b61098e8161097b565b811461099957600080fd5b50565b6000813590506109ab81610985565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6109ff826109b6565b810181811067ffffffffffffffff82111715610a1e57610a1d6109c7565b5b80604052505050565b6000610a31610909565b9050610a3d82826109f6565b919050565b600067ffffffffffffffff821115610a5d57610a5c6109c7565b5b602082029050602081019050919050565b600080fd5b610a7c816108d5565b8114610a8757600080fd5b50565b600081359050610a9981610a73565b92915050565b6000610ab2610aad84610a42565b610a27565b90508083825260208201905060208402830185811115610ad557610ad4610a6e565b5b835b81811015610afe5780610aea8882610a8a565b845260208401935050602081019050610ad7565b5050509392505050565b600082601f830112610b1d57610b1c6109b1565b5b8135610b2d848260208601610a9f565b91505092915050565b600080600060608486031215610b4f57610b4e610913565b5b6000610b5d86828701610966565b9350506020610b6e8682870161099c565b925050604084013567ffffffffffffffff811115610b8f57610b8e610918565b5b610b9b86828701610b08565b9150509250925092565b600060208284031215610bbb57610bba610913565b5b6000610bc984828501610a8a565b91505092915050565b60008115159050919050565b610be781610bd2565b82525050565b6000602082019050610c026000830184610bde565b92915050565b610c118161093d565b82525050565b6000602082019050610c2c6000830184610c08565b92915050565b600060208284031215610c4857610c47610913565b5b6000610c5684828501610966565b91505092915050565b60008160601b9050919050565b6000610c7782610c5f565b9050919050565b6000610c8982610c6c565b9050919050565b610ca1610c9c8261093d565b610c7e565b82525050565b6000819050919050565b610cc2610cbd8261097b565b610ca7565b82525050565b6000610cd48285610c90565b601482019150610ce48284610cb1565b6020820191508190509392505050565b600082825260208201905092915050565b7f41697264726f703a20416c726561647920636c61696d65642e00000000000000600082015250565b6000610d3b601983610cf4565b9150610d4682610d05565b602082019050919050565b60006020820190508181036000830152610d6a81610d2e565b9050919050565b7f41697264726f703a20496e76616c69642070726f6f662e000000000000000000600082015250565b6000610da7601783610cf4565b9150610db282610d71565b602082019050919050565b60006020820190508181036000830152610dd681610d9a565b9050919050565b610de68161097b565b82525050565b6000604082019050610e016000830185610c08565b610e0e6020830184610ddd565b9392505050565b610e1e81610bd2565b8114610e2957600080fd5b50565b600081519050610e3b81610e15565b92915050565b600060208284031215610e5757610e56610913565b5b6000610e6584828501610e2c565b91505092915050565b7f41697264726f703a205472616e73666572206661696c65642e00000000000000600082015250565b6000610ea4601983610cf4565b9150610eaf82610e6e565b602082019050919050565b60006020820190508181036000830152610ed381610e97565b9050919050565b600081519050610ee981610985565b92915050565b600060208284031215610f0557610f04610913565b5b6000610f1384828501610eda565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610f78602683610cf4565b9150610f8382610f1c565b604082019050919050565b60006020820190508181036000830152610fa781610f6b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610fe4602083610cf4565b9150610fef82610fae565b602082019050919050565b6000602082019050818103600083015261101381610fd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006110838261097b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036110b5576110b4611049565b5b60018201905091905056fea264697066735822122067c1be349967e1ec8a126011c3fb836e3a99db19d04d5a2180fd393dc4ebefd564736f6c634300081400330000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050a86d54e9aab41ae5e520ff0062ff1b4cbd0b2192bb01080a058bb170d84e6457
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638be0861e116100665780638be0861e1461010d5780638da5cb5b1461013d578063cc3c0f061461015b578063f2fde38b1461018b578063fc0c546a146101a75761009e565b80632eb4a7ab146100a35780633d13f874146100c1578063715018a6146100dd5780637cb64759146100e757806380e9071b14610103575b600080fd5b6100ab6101c5565b6040516100b891906108ee565b60405180910390f35b6100db60048036038101906100d69190610b36565b6101cb565b005b6100e56103fa565b005b61010160048036038101906100fc9190610ba5565b61040e565b005b61010b610420565b005b61012760048036038101906101229190610b36565b6105aa565b6040516101349190610bed565b60405180910390f35b6101456105ea565b6040516101529190610c17565b60405180910390f35b61017560048036038101906101709190610ba5565b610613565b6040516101829190610bed565b60405180910390f35b6101a560048036038101906101a09190610c32565b610633565b005b6101af6106b6565b6040516101bc9190610c17565b60405180910390f35b60015481565b600083836040516020016101e0929190610cc8565b6040516020818303038152906040528051906020012090506003600082815260200190815260200160002060009054906101000a900460ff1615610259576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025090610d51565b60405180910390fd5b61026682600154836106dc565b6102a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029c90610dbd565b60405180910390fd5b60016003600083815260200190815260200160002060006101000a81548160ff021916908315150217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b815260040161032e929190610dec565b6020604051808303816000875af115801561034d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103719190610e41565b6103b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a790610eba565b60405180910390fd5b828473ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a60405160405180910390a350505050565b6104026106f3565b61040c6000610771565b565b6104166106f3565b8060018190555050565b6104286106f3565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104859190610c17565b602060405180830381865afa1580156104a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c69190610eef565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610525929190610dec565b6020604051808303816000875af1158015610544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105689190610e41565b6105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e90610eba565b60405180910390fd5b50565b60006105e18260015486866040516020016105c6929190610cc8565b604051602081830303815290604052805190602001206106dc565b90509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915054906101000a900460ff1681565b61063b6106f3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a190610f8e565b60405180910390fd5b6106b381610771565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000826106e98584610835565b1490509392505050565b6106fb61088b565b73ffffffffffffffffffffffffffffffffffffffff166107196105ea565b73ffffffffffffffffffffffffffffffffffffffff161461076f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076690610ffa565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b84518110156108805761086b8286838151811061085e5761085d61101a565b5b6020026020010151610893565b9150808061087890611078565b91505061083e565b508091505092915050565b600033905090565b60008183106108ab576108a682846108be565b6108b6565b6108b583836108be565b5b905092915050565b600082600052816020526040600020905092915050565b6000819050919050565b6108e8816108d5565b82525050565b600060208201905061090360008301846108df565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109488261091d565b9050919050565b6109588161093d565b811461096357600080fd5b50565b6000813590506109758161094f565b92915050565b6000819050919050565b61098e8161097b565b811461099957600080fd5b50565b6000813590506109ab81610985565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6109ff826109b6565b810181811067ffffffffffffffff82111715610a1e57610a1d6109c7565b5b80604052505050565b6000610a31610909565b9050610a3d82826109f6565b919050565b600067ffffffffffffffff821115610a5d57610a5c6109c7565b5b602082029050602081019050919050565b600080fd5b610a7c816108d5565b8114610a8757600080fd5b50565b600081359050610a9981610a73565b92915050565b6000610ab2610aad84610a42565b610a27565b90508083825260208201905060208402830185811115610ad557610ad4610a6e565b5b835b81811015610afe5780610aea8882610a8a565b845260208401935050602081019050610ad7565b5050509392505050565b600082601f830112610b1d57610b1c6109b1565b5b8135610b2d848260208601610a9f565b91505092915050565b600080600060608486031215610b4f57610b4e610913565b5b6000610b5d86828701610966565b9350506020610b6e8682870161099c565b925050604084013567ffffffffffffffff811115610b8f57610b8e610918565b5b610b9b86828701610b08565b9150509250925092565b600060208284031215610bbb57610bba610913565b5b6000610bc984828501610a8a565b91505092915050565b60008115159050919050565b610be781610bd2565b82525050565b6000602082019050610c026000830184610bde565b92915050565b610c118161093d565b82525050565b6000602082019050610c2c6000830184610c08565b92915050565b600060208284031215610c4857610c47610913565b5b6000610c5684828501610966565b91505092915050565b60008160601b9050919050565b6000610c7782610c5f565b9050919050565b6000610c8982610c6c565b9050919050565b610ca1610c9c8261093d565b610c7e565b82525050565b6000819050919050565b610cc2610cbd8261097b565b610ca7565b82525050565b6000610cd48285610c90565b601482019150610ce48284610cb1565b6020820191508190509392505050565b600082825260208201905092915050565b7f41697264726f703a20416c726561647920636c61696d65642e00000000000000600082015250565b6000610d3b601983610cf4565b9150610d4682610d05565b602082019050919050565b60006020820190508181036000830152610d6a81610d2e565b9050919050565b7f41697264726f703a20496e76616c69642070726f6f662e000000000000000000600082015250565b6000610da7601783610cf4565b9150610db282610d71565b602082019050919050565b60006020820190508181036000830152610dd681610d9a565b9050919050565b610de68161097b565b82525050565b6000604082019050610e016000830185610c08565b610e0e6020830184610ddd565b9392505050565b610e1e81610bd2565b8114610e2957600080fd5b50565b600081519050610e3b81610e15565b92915050565b600060208284031215610e5757610e56610913565b5b6000610e6584828501610e2c565b91505092915050565b7f41697264726f703a205472616e73666572206661696c65642e00000000000000600082015250565b6000610ea4601983610cf4565b9150610eaf82610e6e565b602082019050919050565b60006020820190508181036000830152610ed381610e97565b9050919050565b600081519050610ee981610985565b92915050565b600060208284031215610f0557610f04610913565b5b6000610f1384828501610eda565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610f78602683610cf4565b9150610f8382610f1c565b604082019050919050565b60006020820190508181036000830152610fa781610f6b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610fe4602083610cf4565b9150610fef82610fae565b602082019050919050565b6000602082019050818103600083015261101381610fd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006110838261097b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036110b5576110b4611049565b5b60018201905091905056fea264697066735822122067c1be349967e1ec8a126011c3fb836e3a99db19d04d5a2180fd393dc4ebefd564736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050a86d54e9aab41ae5e520ff0062ff1b4cbd0b2192bb01080a058bb170d84e6457
-----Decoded View---------------
Arg [0] : _token (address): 0x6E2a43be0B1d33b726f0CA3b8de60b3482b8b050
Arg [1] : _merkleRoot (bytes32): 0xa86d54e9aab41ae5e520ff0062ff1b4cbd0b2192bb01080a058bb170d84e6457
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006e2a43be0b1d33b726f0ca3b8de60b3482b8b050
Arg [1] : a86d54e9aab41ae5e520ff0062ff1b4cbd0b2192bb01080a058bb170d84e6457
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.668092 | 970,899 | $648,649.88 |
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.