More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 170 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Eth Refund | 21242471 | 27 hrs ago | IN | 0 ETH | 0.00069124 | ||||
Claim Eth Refund | 19915406 | 186 days ago | IN | 0 ETH | 0.00064467 | ||||
Claim Eth Refund | 18492108 | 385 days ago | IN | 0 ETH | 0.00304982 | ||||
Claim Eth Refund | 18152302 | 433 days ago | IN | 0 ETH | 0.00057227 | ||||
Claim Eth Refund | 16946755 | 603 days ago | IN | 0 ETH | 0.00136206 | ||||
Claim Eth Refund | 16854778 | 616 days ago | IN | 0 ETH | 0.00089758 | ||||
Claim Eth Refund | 16519431 | 663 days ago | IN | 0 ETH | 0.00088658 | ||||
Claim Eth Refund | 16421190 | 676 days ago | IN | 0 ETH | 0.00143553 | ||||
Claim Eth Refund | 16341965 | 687 days ago | IN | 0 ETH | 0.00155962 | ||||
Claim Eth Refund | 15268826 | 843 days ago | IN | 0 ETH | 0.00042701 | ||||
Claim Eth Refund | 14791672 | 921 days ago | IN | 0 ETH | 0.00175697 | ||||
Claim Eth Refund | 14607733 | 950 days ago | IN | 0 ETH | 0.00135671 | ||||
Claim Eth Refund | 14589538 | 953 days ago | IN | 0 ETH | 0.00170865 | ||||
Claim Eth Refund | 14586965 | 953 days ago | IN | 0 ETH | 0.00184855 | ||||
Claim Eth Refund | 14569063 | 956 days ago | IN | 0 ETH | 0.00193843 | ||||
Claim Eth Refund | 14562548 | 957 days ago | IN | 0 ETH | 0.00157629 | ||||
Claim Eth Refund | 14509625 | 965 days ago | IN | 0 ETH | 0.00225628 | ||||
Claim Eth Refund | 14463251 | 972 days ago | IN | 0 ETH | 0.0021155 | ||||
Claim Eth Refund | 14455535 | 974 days ago | IN | 0 ETH | 0.00243159 | ||||
Claim Eth Refund | 14451253 | 974 days ago | IN | 0 ETH | 0.00450129 | ||||
Claim Eth Refund | 14446292 | 975 days ago | IN | 0 ETH | 0.0021779 | ||||
Claim Eth Refund | 14443450 | 975 days ago | IN | 0 ETH | 0.00309064 | ||||
Claim Eth Refund | 14442539 | 976 days ago | IN | 0 ETH | 0.00114777 | ||||
Claim Eth Refund | 14442451 | 976 days ago | IN | 0 ETH | 0.00100508 | ||||
Claim Eth Refund | 14438861 | 976 days ago | IN | 0 ETH | 0.00235307 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21242471 | 27 hrs ago | 0.0145151 ETH | ||||
19915406 | 186 days ago | 0.01486724 ETH | ||||
18492108 | 385 days ago | 0.0129459 ETH | ||||
18152302 | 433 days ago | 0.09807505 ETH | ||||
16946755 | 603 days ago | 0.01961501 ETH | ||||
16854778 | 616 days ago | 0.0098075 ETH | ||||
16519431 | 663 days ago | 0.003923 ETH | ||||
16421190 | 676 days ago | 0.07846004 ETH | ||||
16341965 | 687 days ago | 0.02942251 ETH | ||||
15268826 | 843 days ago | 0.03923002 ETH | ||||
14791672 | 921 days ago | 0.0098075 ETH | ||||
14607733 | 950 days ago | 0.01961497 ETH | ||||
14589538 | 953 days ago | 0.01961461 ETH | ||||
14586965 | 953 days ago | 0.03923002 ETH | ||||
14569063 | 956 days ago | 0.00197881 ETH | ||||
14562548 | 957 days ago | 0.00436365 ETH | ||||
14509625 | 965 days ago | 0.00406129 ETH | ||||
14463251 | 972 days ago | 0.03962232 ETH | ||||
14455535 | 974 days ago | 0.00057131 ETH | ||||
14451253 | 974 days ago | 0.01961501 ETH | ||||
14446292 | 975 days ago | 0.07846004 ETH | ||||
14443450 | 975 days ago | 0.05884503 ETH | ||||
14442539 | 976 days ago | 0.0098075 ETH | ||||
14442451 | 976 days ago | 0.01267978 ETH | ||||
14438861 | 976 days ago | 0.0050999 ETH |
Loading...
Loading
Contract Name:
EthClaimContract
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** @notice EthClaimContract is an airdrop contract which we put ETH into and allow people to withdraw from, authenticating them using a merkle tree. */ contract EthClaimContract is Ownable { bytes32 public merkleRootEth; // alreadyClaimed stores whether an address has already claimed its eligible refund. mapping(address => bool) public alreadyClaimedEth; constructor(bytes32 _merkleRootEth) { merkleRootEth = _merkleRootEth; } /** @notice receive is implemented to allow this contract to receive ETH. */ receive() external payable {} /** @notice withdrawEth allows the owner to withdraw ETH from the contract. */ function withdrawEth(uint _amount) external onlyOwner { Address.sendValue(payable(msg.sender), _amount); } /** @notice setMerkleRootEth is used to set the root of the Merkle Tree that we will use to authenticate which users are eligible to withdraw refunds from this contract. */ function setMerkleRootEth(bytes32 _merkleRootEth) external onlyOwner { merkleRootEth = _merkleRootEth; } /** @notice claimEthRefund will claim the ETH refund that an address is eligible to claim. The caller must pass the exact amount of ETH that the address is eligible to claim. @param _to The address to claim refund for. @param _refundAmount The amount of ETH refund to claim. @param _merkleProof The merkle proof used to authenticate the transaction against the Merkle root. */ function claimEthRefund(address _to, uint _refundAmount, bytes32[] calldata _merkleProof) external { require(!alreadyClaimedEth[_to], "Refund has already been claimed for this address"); // Verify against the Merkle tree that the transaction is authenticated for the user. bytes32 leaf = keccak256(abi.encodePacked(_to, _refundAmount)); require(MerkleProof.verify(_merkleProof, merkleRootEth, leaf), "Failed to authenticate with merkle tree"); alreadyClaimedEth[_to] = true; Address.sendValue(payable(_to), _refundAmount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ 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 Returns the rebuilt hash obtained by traversing a Merklee 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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; } }
{ "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":"bytes32","name":"_merkleRootEth","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyClaimedEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_refundAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claimEthRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRootEth","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRootEth","type":"bytes32"}],"name":"setMerkleRootEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200122438038062001224833981810160405281019062000037919062000171565b620000576200004b6200006560201b60201c565b6200006d60201b60201c565b8060018190555050620001a3565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b6200014b8162000136565b81146200015757600080fd5b50565b6000815190506200016b8162000140565b92915050565b6000602082840312156200018a576200018962000131565b5b60006200019a848285016200015a565b91505092915050565b61107180620001b36000396000f3fe60806040526004361061007f5760003560e01c8063a7bbb1131161004e578063a7bbb1131461011f578063c311d0491461014a578063f2fde38b14610173578063fcfbc34d1461019c57610086565b8063311b01ff1461008b578063701c31a4146100b4578063715018a6146100dd5780638da5cb5b146100f457610086565b3661008657005b600080fd5b34801561009757600080fd5b506100b260048036038101906100ad91906109cd565b6101d9565b005b3480156100c057600080fd5b506100db60048036038101906100d69190610a77565b610389565b005b3480156100e957600080fd5b506100f261040f565b005b34801561010057600080fd5b50610109610497565b6040516101169190610ab3565b60405180910390f35b34801561012b57600080fd5b506101346104c0565b6040516101419190610add565b60405180910390f35b34801561015657600080fd5b50610171600480360381019061016c9190610af8565b6104c6565b005b34801561017f57600080fd5b5061019a60048036038101906101959190610b25565b61054f565b005b3480156101a857600080fd5b506101c360048036038101906101be9190610b25565b610647565b6040516101d09190610b6d565b60405180910390f35b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90610c0b565b60405180910390fd5b6000848460405160200161027b929190610c94565b6040516020818303038152906040528051906020012090506102e1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060015483610667565b610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610d32565b60405180910390fd5b6001600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610382858561067e565b5050505050565b610391610772565b73ffffffffffffffffffffffffffffffffffffffff166103af610497565b73ffffffffffffffffffffffffffffffffffffffff1614610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fc90610d9e565b60405180910390fd5b8060018190555050565b610417610772565b73ffffffffffffffffffffffffffffffffffffffff16610435610497565b73ffffffffffffffffffffffffffffffffffffffff161461048b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048290610d9e565b60405180910390fd5b610495600061077a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b6104ce610772565b73ffffffffffffffffffffffffffffffffffffffff166104ec610497565b73ffffffffffffffffffffffffffffffffffffffff1614610542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053990610d9e565b60405180910390fd5b61054c338261067e565b50565b610557610772565b73ffffffffffffffffffffffffffffffffffffffff16610575610497565b73ffffffffffffffffffffffffffffffffffffffff16146105cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c290610d9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063290610e30565b60405180910390fd5b6106448161077a565b50565b60026020528060005260406000206000915054906101000a900460ff1681565b600082610674858461083e565b1490509392505050565b804710156106c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b890610e9c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106e790610eed565b60006040518083038185875af1925050503d8060008114610724576040519150601f19603f3d011682016040523d82523d6000602084013e610729565b606091505b505090508061076d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076490610f74565b60405180910390fd5b505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b84518110156108a857600085828151811061086557610864610f94565b5b602002602001015190508083116108875761088083826108b3565b9250610894565b61089181846108b3565b92505b5080806108a090610ff2565b915050610847565b508091505092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006108ff826108d4565b9050919050565b61090f816108f4565b811461091a57600080fd5b50565b60008135905061092c81610906565b92915050565b6000819050919050565b61094581610932565b811461095057600080fd5b50565b6000813590506109628161093c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261098d5761098c610968565b5b8235905067ffffffffffffffff8111156109aa576109a961096d565b5b6020830191508360208202830111156109c6576109c5610972565b5b9250929050565b600080600080606085870312156109e7576109e66108ca565b5b60006109f58782880161091d565b9450506020610a0687828801610953565b935050604085013567ffffffffffffffff811115610a2757610a266108cf565b5b610a3387828801610977565b925092505092959194509250565b6000819050919050565b610a5481610a41565b8114610a5f57600080fd5b50565b600081359050610a7181610a4b565b92915050565b600060208284031215610a8d57610a8c6108ca565b5b6000610a9b84828501610a62565b91505092915050565b610aad816108f4565b82525050565b6000602082019050610ac86000830184610aa4565b92915050565b610ad781610a41565b82525050565b6000602082019050610af26000830184610ace565b92915050565b600060208284031215610b0e57610b0d6108ca565b5b6000610b1c84828501610953565b91505092915050565b600060208284031215610b3b57610b3a6108ca565b5b6000610b498482850161091d565b91505092915050565b60008115159050919050565b610b6781610b52565b82525050565b6000602082019050610b826000830184610b5e565b92915050565b600082825260208201905092915050565b7f526566756e642068617320616c7265616479206265656e20636c61696d65642060008201527f666f722074686973206164647265737300000000000000000000000000000000602082015250565b6000610bf5603083610b88565b9150610c0082610b99565b604082019050919050565b60006020820190508181036000830152610c2481610be8565b9050919050565b60008160601b9050919050565b6000610c4382610c2b565b9050919050565b6000610c5582610c38565b9050919050565b610c6d610c68826108f4565b610c4a565b82525050565b6000819050919050565b610c8e610c8982610932565b610c73565b82525050565b6000610ca08285610c5c565b601482019150610cb08284610c7d565b6020820191508190509392505050565b7f4661696c656420746f2061757468656e7469636174652077697468206d65726b60008201527f6c65207472656500000000000000000000000000000000000000000000000000602082015250565b6000610d1c602783610b88565b9150610d2782610cc0565b604082019050919050565b60006020820190508181036000830152610d4b81610d0f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610d88602083610b88565b9150610d9382610d52565b602082019050919050565b60006020820190508181036000830152610db781610d7b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610e1a602683610b88565b9150610e2582610dbe565b604082019050919050565b60006020820190508181036000830152610e4981610e0d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000610e86601d83610b88565b9150610e9182610e50565b602082019050919050565b60006020820190508181036000830152610eb581610e79565b9050919050565b600081905092915050565b50565b6000610ed7600083610ebc565b9150610ee282610ec7565b600082019050919050565b6000610ef882610eca565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000610f5e603a83610b88565b9150610f6982610f02565b604082019050919050565b60006020820190508181036000830152610f8d81610f51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ffd82610932565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110305761102f610fc3565b5b60018201905091905056fea264697066735822122061f2fc171240a1abd9868068cbbfeb53d6dd768bd5be19027c48716ff3e264bb64736f6c634300080900333e00639a1b2e1007d6b75e60c8933288b0a23182a83fb1ff000d4cb6f3f63225
Deployed Bytecode
0x60806040526004361061007f5760003560e01c8063a7bbb1131161004e578063a7bbb1131461011f578063c311d0491461014a578063f2fde38b14610173578063fcfbc34d1461019c57610086565b8063311b01ff1461008b578063701c31a4146100b4578063715018a6146100dd5780638da5cb5b146100f457610086565b3661008657005b600080fd5b34801561009757600080fd5b506100b260048036038101906100ad91906109cd565b6101d9565b005b3480156100c057600080fd5b506100db60048036038101906100d69190610a77565b610389565b005b3480156100e957600080fd5b506100f261040f565b005b34801561010057600080fd5b50610109610497565b6040516101169190610ab3565b60405180910390f35b34801561012b57600080fd5b506101346104c0565b6040516101419190610add565b60405180910390f35b34801561015657600080fd5b50610171600480360381019061016c9190610af8565b6104c6565b005b34801561017f57600080fd5b5061019a60048036038101906101959190610b25565b61054f565b005b3480156101a857600080fd5b506101c360048036038101906101be9190610b25565b610647565b6040516101d09190610b6d565b60405180910390f35b600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90610c0b565b60405180910390fd5b6000848460405160200161027b929190610c94565b6040516020818303038152906040528051906020012090506102e1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060015483610667565b610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610d32565b60405180910390fd5b6001600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610382858561067e565b5050505050565b610391610772565b73ffffffffffffffffffffffffffffffffffffffff166103af610497565b73ffffffffffffffffffffffffffffffffffffffff1614610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fc90610d9e565b60405180910390fd5b8060018190555050565b610417610772565b73ffffffffffffffffffffffffffffffffffffffff16610435610497565b73ffffffffffffffffffffffffffffffffffffffff161461048b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048290610d9e565b60405180910390fd5b610495600061077a565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b6104ce610772565b73ffffffffffffffffffffffffffffffffffffffff166104ec610497565b73ffffffffffffffffffffffffffffffffffffffff1614610542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053990610d9e565b60405180910390fd5b61054c338261067e565b50565b610557610772565b73ffffffffffffffffffffffffffffffffffffffff16610575610497565b73ffffffffffffffffffffffffffffffffffffffff16146105cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c290610d9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561063b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063290610e30565b60405180910390fd5b6106448161077a565b50565b60026020528060005260406000206000915054906101000a900460ff1681565b600082610674858461083e565b1490509392505050565b804710156106c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b890610e9c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106e790610eed565b60006040518083038185875af1925050503d8060008114610724576040519150601f19603f3d011682016040523d82523d6000602084013e610729565b606091505b505090508061076d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076490610f74565b60405180910390fd5b505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008082905060005b84518110156108a857600085828151811061086557610864610f94565b5b602002602001015190508083116108875761088083826108b3565b9250610894565b61089181846108b3565b92505b5080806108a090610ff2565b915050610847565b508091505092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006108ff826108d4565b9050919050565b61090f816108f4565b811461091a57600080fd5b50565b60008135905061092c81610906565b92915050565b6000819050919050565b61094581610932565b811461095057600080fd5b50565b6000813590506109628161093c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261098d5761098c610968565b5b8235905067ffffffffffffffff8111156109aa576109a961096d565b5b6020830191508360208202830111156109c6576109c5610972565b5b9250929050565b600080600080606085870312156109e7576109e66108ca565b5b60006109f58782880161091d565b9450506020610a0687828801610953565b935050604085013567ffffffffffffffff811115610a2757610a266108cf565b5b610a3387828801610977565b925092505092959194509250565b6000819050919050565b610a5481610a41565b8114610a5f57600080fd5b50565b600081359050610a7181610a4b565b92915050565b600060208284031215610a8d57610a8c6108ca565b5b6000610a9b84828501610a62565b91505092915050565b610aad816108f4565b82525050565b6000602082019050610ac86000830184610aa4565b92915050565b610ad781610a41565b82525050565b6000602082019050610af26000830184610ace565b92915050565b600060208284031215610b0e57610b0d6108ca565b5b6000610b1c84828501610953565b91505092915050565b600060208284031215610b3b57610b3a6108ca565b5b6000610b498482850161091d565b91505092915050565b60008115159050919050565b610b6781610b52565b82525050565b6000602082019050610b826000830184610b5e565b92915050565b600082825260208201905092915050565b7f526566756e642068617320616c7265616479206265656e20636c61696d65642060008201527f666f722074686973206164647265737300000000000000000000000000000000602082015250565b6000610bf5603083610b88565b9150610c0082610b99565b604082019050919050565b60006020820190508181036000830152610c2481610be8565b9050919050565b60008160601b9050919050565b6000610c4382610c2b565b9050919050565b6000610c5582610c38565b9050919050565b610c6d610c68826108f4565b610c4a565b82525050565b6000819050919050565b610c8e610c8982610932565b610c73565b82525050565b6000610ca08285610c5c565b601482019150610cb08284610c7d565b6020820191508190509392505050565b7f4661696c656420746f2061757468656e7469636174652077697468206d65726b60008201527f6c65207472656500000000000000000000000000000000000000000000000000602082015250565b6000610d1c602783610b88565b9150610d2782610cc0565b604082019050919050565b60006020820190508181036000830152610d4b81610d0f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610d88602083610b88565b9150610d9382610d52565b602082019050919050565b60006020820190508181036000830152610db781610d7b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610e1a602683610b88565b9150610e2582610dbe565b604082019050919050565b60006020820190508181036000830152610e4981610e0d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000610e86601d83610b88565b9150610e9182610e50565b602082019050919050565b60006020820190508181036000830152610eb581610e79565b9050919050565b600081905092915050565b50565b6000610ed7600083610ebc565b9150610ee282610ec7565b600082019050919050565b6000610ef882610eca565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000610f5e603a83610b88565b9150610f6982610f02565b604082019050919050565b60006020820190508181036000830152610f8d81610f51565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ffd82610932565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156110305761102f610fc3565b5b60018201905091905056fea264697066735822122061f2fc171240a1abd9868068cbbfeb53d6dd768bd5be19027c48716ff3e264bb64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
3e00639a1b2e1007d6b75e60c8933288b0a23182a83fb1ff000d4cb6f3f63225
-----Decoded View---------------
Arg [0] : _merkleRootEth (bytes32): 0x3e00639a1b2e1007d6b75e60c8933288b0a23182a83fb1ff000d4cb6f3f63225
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 3e00639a1b2e1007d6b75e60c8933288b0a23182a83fb1ff000d4cb6f3f63225
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,412.65 | 0.6136 | $2,093.85 |
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.