Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 384 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 20402461 | 219 days ago | IN | 0 ETH | 0.00012162 | ||||
Claim | 20211698 | 245 days ago | IN | 0 ETH | 0.0004594 | ||||
Claim | 20174317 | 251 days ago | IN | 0 ETH | 0.00020884 | ||||
Claim | 20173615 | 251 days ago | IN | 0 ETH | 0.00019291 | ||||
Claim | 19903326 | 289 days ago | IN | 0 ETH | 0.00029784 | ||||
Claim | 19850904 | 296 days ago | IN | 0 ETH | 0.00043959 | ||||
Claim | 19838430 | 298 days ago | IN | 0 ETH | 0.0004629 | ||||
Claim | 19623302 | 328 days ago | IN | 0 ETH | 0.00132691 | ||||
Claim | 19619111 | 328 days ago | IN | 0 ETH | 0.00449472 | ||||
Claim | 19593570 | 332 days ago | IN | 0 ETH | 0.00100049 | ||||
Claim | 19564295 | 336 days ago | IN | 0 ETH | 0.002247 | ||||
Claim | 19564290 | 336 days ago | IN | 0 ETH | 0.00235949 | ||||
Claim | 19561366 | 336 days ago | IN | 0 ETH | 0.0023083 | ||||
Claim | 19560445 | 336 days ago | IN | 0 ETH | 0.00189888 | ||||
Claim | 19558079 | 337 days ago | IN | 0 ETH | 0.0016077 | ||||
Claim | 19552119 | 338 days ago | IN | 0 ETH | 0.00190797 | ||||
Claim | 19550723 | 338 days ago | IN | 0 ETH | 0.00197897 | ||||
Claim | 19504880 | 344 days ago | IN | 0 ETH | 0.00245788 | ||||
Claim | 19493604 | 346 days ago | IN | 0 ETH | 0.00213786 | ||||
Claim | 19492953 | 346 days ago | IN | 0 ETH | 0.00234921 | ||||
Claim | 19492931 | 346 days ago | IN | 0 ETH | 0.00213837 | ||||
Claim | 19485109 | 347 days ago | IN | 0 ETH | 0.00266791 | ||||
Claim | 19466117 | 350 days ago | IN | 0 ETH | 0.00264166 | ||||
Claim | 19459591 | 351 days ago | IN | 0 ETH | 0.00250781 | ||||
Claim | 19445892 | 353 days ago | IN | 0 ETH | 0.00269438 |
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: None pragma solidity ^0.8.20; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Airdrop is Ownable { struct AirdropBucket { uint256 deadline; bytes32 root; mapping(address => bool) claimed; } address public from; IERC20 public token; mapping(uint256 => AirdropBucket) buckets; event claimAirdrop( address to, uint256 bucket, uint256 amount, uint256 blocktime ); constructor(address _token) Ownable(msg.sender) { token = IERC20(_token); from = address(this); } function newAirdrop( uint256 _bucket, bytes32 _root, uint256 _deadline, bool _force ) public onlyOwner { require(block.timestamp <= _deadline, "Expire deadline"); if (!_force) { require(buckets[_bucket].deadline == 0, "Bucket init already"); } buckets[_bucket].deadline = _deadline; buckets[_bucket].root = _root; } function disableAirdrop(uint256 _bucket) public onlyOwner { buckets[_bucket].root = bytes32(0); } function claim( uint256 _bucket, address _to, uint256 _amount, bytes32[] calldata _proof ) external { AirdropBucket storage era = buckets[_bucket]; require(!era.claimed[_to], "Already claimed airdrop"); require(block.timestamp <= era.deadline, "Expire deadline"); bytes32 _leaf = keccak256( bytes.concat(keccak256(abi.encode(_to, _amount))) ); require( MerkleProof.verify(_proof, era.root, _leaf), "Incorrect merkle proof" ); era.claimed[_to] = true; token.transfer(_to, _amount); emit claimAirdrop(_to, _bucket, _amount, block.timestamp); } function getAirdropInfo( uint256 _bucket, address _to ) external view returns (uint deadline, bytes32 root, bool claimed) { return ( buckets[_bucket].deadline, buckets[_bucket].root, buckets[_bucket].claimed[_to] ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @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 The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @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} */ 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. */ 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} */ 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. */ 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. */ 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). */ 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. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } 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. */ 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. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ 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
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"bucket","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blocktime","type":"uint256"}],"name":"claimAirdrop","type":"event"},{"inputs":[{"internalType":"uint256","name":"_bucket","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bucket","type":"uint256"}],"name":"disableAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"from","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bucket","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"getAirdropInfo","outputs":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bucket","type":"uint256"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"bool","name":"_force","type":"bool"}],"name":"newAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620013e0380380620013e0833981810160405281019062000037919062000276565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ad5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a49190620002b9565b60405180910390fd5b620000be816200014860201b60201c565b5080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620002d6565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200023e8262000211565b9050919050565b620002508162000231565b81146200025c57600080fd5b50565b600081519050620002708162000245565b92915050565b6000602082840312156200028f576200028e6200020c565b5b60006200029f848285016200025f565b91505092915050565b620002b38162000231565b82525050565b6000602082019050620002d06000830184620002a8565b92915050565b6110fa80620002e66000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a2fd10a611610066578063a2fd10a61461010e578063b1aaa36c1461012a578063d5ce338914610146578063f2fde38b14610164578063fc0c546a1461018057610093565b8063149b37c0146100985780632e7ba6ef146100ca578063715018a6146100e65780638da5cb5b146100f0575b600080fd5b6100b260048036038101906100ad9190610a0d565b61019e565b6040516100c193929190610a90565b60405180910390f35b6100e460048036038101906100df9190610b2c565b61023f565b005b6100ee61054f565b005b6100f8610563565b6040516101059190610bc3565b60405180910390f35b61012860048036038101906101239190610bde565b61058c565b005b610144600480360381019061013f9190610c63565b6105b5565b005b61014e61069b565b60405161015b9190610bc3565b60405180910390f35b61017e60048036038101906101799190610cca565b6106c1565b005b610188610747565b6040516101959190610d56565b60405180910390f35b6000806000600360008681526020019081526020016000206000015460036000878152602001908152602001600020600101546003600088815260200190815260200160002060020160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169250925092509250925092565b60006003600087815260200190815260200160002090508060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102dc90610dce565b60405180910390fd5b806000015442111561032c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032390610e3a565b60405180910390fd5b60008585604051602001610341929190610e5a565b604051602081830303815290604052805190602001206040516020016103679190610ea4565b6040516020818303038152906040528051906020012090506103cf848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083600101548361076d565b61040e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040590610f0b565b60405180910390fd5b60018260020160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b81526004016104c5929190610e5a565b6020604051808303816000875af11580156104e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105089190610f40565b507f2ff33b9259825291b7c823fa3629f39472f8988187ad0e7a33f7b85a6503057a8688874260405161053e9493929190610f6d565b60405180910390a150505050505050565b610557610784565b610561600061080b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610594610784565b6000801b600360008381526020019081526020016000206001018190555050565b6105bd610784565b81421115610600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f790610e3a565b60405180910390fd5b8061065f57600060036000868152602001908152602001600020600001541461065e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065590610ffe565b60405180910390fd5b5b81600360008681526020019081526020016000206000018190555082600360008681526020019081526020016000206001018190555050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106c9610784565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361073b5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016107329190610bc3565b60405180910390fd5b6107448161080b565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008261077a85846108cf565b1490509392505050565b61078c610925565b73ffffffffffffffffffffffffffffffffffffffff166107aa610563565b73ffffffffffffffffffffffffffffffffffffffff1614610809576107cd610925565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108009190610bc3565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b845181101561091a57610905828683815181106108f8576108f761101e565b5b602002602001015161092d565b915080806109129061107c565b9150506108d8565b508091505092915050565b600033905090565b6000818310610945576109408284610958565b610950565b61094f8383610958565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b6000819050919050565b61098c81610979565b811461099757600080fd5b50565b6000813590506109a981610983565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109da826109af565b9050919050565b6109ea816109cf565b81146109f557600080fd5b50565b600081359050610a07816109e1565b92915050565b60008060408385031215610a2457610a2361096f565b5b6000610a328582860161099a565b9250506020610a43858286016109f8565b9150509250929050565b610a5681610979565b82525050565b6000819050919050565b610a6f81610a5c565b82525050565b60008115159050919050565b610a8a81610a75565b82525050565b6000606082019050610aa56000830186610a4d565b610ab26020830185610a66565b610abf6040830184610a81565b949350505050565b600080fd5b600080fd5b600080fd5b60008083601f840112610aec57610aeb610ac7565b5b8235905067ffffffffffffffff811115610b0957610b08610acc565b5b602083019150836020820283011115610b2557610b24610ad1565b5b9250929050565b600080600080600060808688031215610b4857610b4761096f565b5b6000610b568882890161099a565b9550506020610b67888289016109f8565b9450506040610b788882890161099a565b935050606086013567ffffffffffffffff811115610b9957610b98610974565b5b610ba588828901610ad6565b92509250509295509295909350565b610bbd816109cf565b82525050565b6000602082019050610bd86000830184610bb4565b92915050565b600060208284031215610bf457610bf361096f565b5b6000610c028482850161099a565b91505092915050565b610c1481610a5c565b8114610c1f57600080fd5b50565b600081359050610c3181610c0b565b92915050565b610c4081610a75565b8114610c4b57600080fd5b50565b600081359050610c5d81610c37565b92915050565b60008060008060808587031215610c7d57610c7c61096f565b5b6000610c8b8782880161099a565b9450506020610c9c87828801610c22565b9350506040610cad8782880161099a565b9250506060610cbe87828801610c4e565b91505092959194509250565b600060208284031215610ce057610cdf61096f565b5b6000610cee848285016109f8565b91505092915050565b6000819050919050565b6000610d1c610d17610d12846109af565b610cf7565b6109af565b9050919050565b6000610d2e82610d01565b9050919050565b6000610d4082610d23565b9050919050565b610d5081610d35565b82525050565b6000602082019050610d6b6000830184610d47565b92915050565b600082825260208201905092915050565b7f416c726561647920636c61696d65642061697264726f70000000000000000000600082015250565b6000610db8601783610d71565b9150610dc382610d82565b602082019050919050565b60006020820190508181036000830152610de781610dab565b9050919050565b7f45787069726520646561646c696e650000000000000000000000000000000000600082015250565b6000610e24600f83610d71565b9150610e2f82610dee565b602082019050919050565b60006020820190508181036000830152610e5381610e17565b9050919050565b6000604082019050610e6f6000830185610bb4565b610e7c6020830184610a4d565b9392505050565b6000819050919050565b610e9e610e9982610a5c565b610e83565b82525050565b6000610eb08284610e8d565b60208201915081905092915050565b7f496e636f7272656374206d65726b6c652070726f6f6600000000000000000000600082015250565b6000610ef5601683610d71565b9150610f0082610ebf565b602082019050919050565b60006020820190508181036000830152610f2481610ee8565b9050919050565b600081519050610f3a81610c37565b92915050565b600060208284031215610f5657610f5561096f565b5b6000610f6484828501610f2b565b91505092915050565b6000608082019050610f826000830187610bb4565b610f8f6020830186610a4d565b610f9c6040830185610a4d565b610fa96060830184610a4d565b95945050505050565b7f4275636b657420696e697420616c726561647900000000000000000000000000600082015250565b6000610fe8601383610d71565b9150610ff382610fb2565b602082019050919050565b6000602082019050818103600083015261101781610fdb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061108782610979565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036110b9576110b861104d565b5b60018201905091905056fea264697066735822122088098859a0bb635f0b572144ee990a303a5ee7186ad37d94ac47450e837eb95a64736f6c63430008140033000000000000000000000000fe6f55d14a68320fe3666119281d1fc986311a59
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063a2fd10a611610066578063a2fd10a61461010e578063b1aaa36c1461012a578063d5ce338914610146578063f2fde38b14610164578063fc0c546a1461018057610093565b8063149b37c0146100985780632e7ba6ef146100ca578063715018a6146100e65780638da5cb5b146100f0575b600080fd5b6100b260048036038101906100ad9190610a0d565b61019e565b6040516100c193929190610a90565b60405180910390f35b6100e460048036038101906100df9190610b2c565b61023f565b005b6100ee61054f565b005b6100f8610563565b6040516101059190610bc3565b60405180910390f35b61012860048036038101906101239190610bde565b61058c565b005b610144600480360381019061013f9190610c63565b6105b5565b005b61014e61069b565b60405161015b9190610bc3565b60405180910390f35b61017e60048036038101906101799190610cca565b6106c1565b005b610188610747565b6040516101959190610d56565b60405180910390f35b6000806000600360008681526020019081526020016000206000015460036000878152602001908152602001600020600101546003600088815260200190815260200160002060020160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169250925092509250925092565b60006003600087815260200190815260200160002090508060020160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156102e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102dc90610dce565b60405180910390fd5b806000015442111561032c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161032390610e3a565b60405180910390fd5b60008585604051602001610341929190610e5a565b604051602081830303815290604052805190602001206040516020016103679190610ea4565b6040516020818303038152906040528051906020012090506103cf848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083600101548361076d565b61040e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040590610f0b565b60405180910390fd5b60018260020160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b81526004016104c5929190610e5a565b6020604051808303816000875af11580156104e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105089190610f40565b507f2ff33b9259825291b7c823fa3629f39472f8988187ad0e7a33f7b85a6503057a8688874260405161053e9493929190610f6d565b60405180910390a150505050505050565b610557610784565b610561600061080b565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610594610784565b6000801b600360008381526020019081526020016000206001018190555050565b6105bd610784565b81421115610600576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105f790610e3a565b60405180910390fd5b8061065f57600060036000868152602001908152602001600020600001541461065e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065590610ffe565b60405180910390fd5b5b81600360008681526020019081526020016000206000018190555082600360008681526020019081526020016000206001018190555050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106c9610784565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361073b5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016107329190610bc3565b60405180910390fd5b6107448161080b565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008261077a85846108cf565b1490509392505050565b61078c610925565b73ffffffffffffffffffffffffffffffffffffffff166107aa610563565b73ffffffffffffffffffffffffffffffffffffffff1614610809576107cd610925565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108009190610bc3565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b845181101561091a57610905828683815181106108f8576108f761101e565b5b602002602001015161092d565b915080806109129061107c565b9150506108d8565b508091505092915050565b600033905090565b6000818310610945576109408284610958565b610950565b61094f8383610958565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b6000819050919050565b61098c81610979565b811461099757600080fd5b50565b6000813590506109a981610983565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109da826109af565b9050919050565b6109ea816109cf565b81146109f557600080fd5b50565b600081359050610a07816109e1565b92915050565b60008060408385031215610a2457610a2361096f565b5b6000610a328582860161099a565b9250506020610a43858286016109f8565b9150509250929050565b610a5681610979565b82525050565b6000819050919050565b610a6f81610a5c565b82525050565b60008115159050919050565b610a8a81610a75565b82525050565b6000606082019050610aa56000830186610a4d565b610ab26020830185610a66565b610abf6040830184610a81565b949350505050565b600080fd5b600080fd5b600080fd5b60008083601f840112610aec57610aeb610ac7565b5b8235905067ffffffffffffffff811115610b0957610b08610acc565b5b602083019150836020820283011115610b2557610b24610ad1565b5b9250929050565b600080600080600060808688031215610b4857610b4761096f565b5b6000610b568882890161099a565b9550506020610b67888289016109f8565b9450506040610b788882890161099a565b935050606086013567ffffffffffffffff811115610b9957610b98610974565b5b610ba588828901610ad6565b92509250509295509295909350565b610bbd816109cf565b82525050565b6000602082019050610bd86000830184610bb4565b92915050565b600060208284031215610bf457610bf361096f565b5b6000610c028482850161099a565b91505092915050565b610c1481610a5c565b8114610c1f57600080fd5b50565b600081359050610c3181610c0b565b92915050565b610c4081610a75565b8114610c4b57600080fd5b50565b600081359050610c5d81610c37565b92915050565b60008060008060808587031215610c7d57610c7c61096f565b5b6000610c8b8782880161099a565b9450506020610c9c87828801610c22565b9350506040610cad8782880161099a565b9250506060610cbe87828801610c4e565b91505092959194509250565b600060208284031215610ce057610cdf61096f565b5b6000610cee848285016109f8565b91505092915050565b6000819050919050565b6000610d1c610d17610d12846109af565b610cf7565b6109af565b9050919050565b6000610d2e82610d01565b9050919050565b6000610d4082610d23565b9050919050565b610d5081610d35565b82525050565b6000602082019050610d6b6000830184610d47565b92915050565b600082825260208201905092915050565b7f416c726561647920636c61696d65642061697264726f70000000000000000000600082015250565b6000610db8601783610d71565b9150610dc382610d82565b602082019050919050565b60006020820190508181036000830152610de781610dab565b9050919050565b7f45787069726520646561646c696e650000000000000000000000000000000000600082015250565b6000610e24600f83610d71565b9150610e2f82610dee565b602082019050919050565b60006020820190508181036000830152610e5381610e17565b9050919050565b6000604082019050610e6f6000830185610bb4565b610e7c6020830184610a4d565b9392505050565b6000819050919050565b610e9e610e9982610a5c565b610e83565b82525050565b6000610eb08284610e8d565b60208201915081905092915050565b7f496e636f7272656374206d65726b6c652070726f6f6600000000000000000000600082015250565b6000610ef5601683610d71565b9150610f0082610ebf565b602082019050919050565b60006020820190508181036000830152610f2481610ee8565b9050919050565b600081519050610f3a81610c37565b92915050565b600060208284031215610f5657610f5561096f565b5b6000610f6484828501610f2b565b91505092915050565b6000608082019050610f826000830187610bb4565b610f8f6020830186610a4d565b610f9c6040830185610a4d565b610fa96060830184610a4d565b95945050505050565b7f4275636b657420696e697420616c726561647900000000000000000000000000600082015250565b6000610fe8601383610d71565b9150610ff382610fb2565b602082019050919050565b6000602082019050818103600083015261101781610fdb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061108782610979565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036110b9576110b861104d565b5b60018201905091905056fea264697066735822122088098859a0bb635f0b572144ee990a303a5ee7186ad37d94ac47450e837eb95a64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fe6f55d14a68320fe3666119281d1fc986311a59
-----Decoded View---------------
Arg [0] : _token (address): 0xFe6F55d14A68320FE3666119281d1fc986311a59
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fe6f55d14a68320fe3666119281d1fc986311a59
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.