Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 23,819 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 15703613 | 1135 days ago | IN | 0 ETH | 0.00020903 | ||||
| Claim | 15075093 | 1231 days ago | IN | 0 ETH | 0.00077118 | ||||
| Claim | 15075093 | 1231 days ago | IN | 0 ETH | 0.00077118 | ||||
| Claim | 15061012 | 1233 days ago | IN | 0 ETH | 0.00037096 | ||||
| Claim | 14821265 | 1274 days ago | IN | 0 ETH | 0.00045829 | ||||
| Claim | 14816762 | 1275 days ago | IN | 0 ETH | 0.00046718 | ||||
| Claim | 14748841 | 1286 days ago | IN | 0 ETH | 0.00173335 | ||||
| Claim | 14725038 | 1290 days ago | IN | 0 ETH | 0.00096588 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054506 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00047355 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054485 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054473 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00044226 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054418 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054536 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00047355 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054521 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054443 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054551 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054551 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00054503 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00047391 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00047373 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00047391 | ||||
| Claim | 14643957 | 1302 days ago | IN | 0 ETH | 0.00050707 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MerkleDistributor
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./interfaces/IMerkleDistributor.sol";
contract MerkleDistributor is IMerkleDistributor, Ownable {
address public immutable override token;
bytes32 public immutable override merkleRoot;
uint256 public immutable override expireTimestamp;
// This is a packed array of booleans.
mapping(uint256 => uint256) private claimedBitMap;
constructor(address token_, bytes32 merkleRoot_, uint256 expireTimestamp_) {
token = token_;
merkleRoot = merkleRoot_;
expireTimestamp = expireTimestamp_;
}
function isClaimed(uint256 index) public view override returns (bool) {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
uint256 claimedWord = claimedBitMap[claimedWordIndex];
uint256 mask = (1 << claimedBitIndex);
return claimedWord & mask == mask;
}
function _setClaimed(uint256 index) private {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
}
function claim(uint256 index, uint256 amount, bytes32[] calldata merkleProof) external override {
address account = msg.sender;
require(!isClaimed(index), 'MerkleDistributor: Drop already claimed.');
// Verify the merkle proof.
bytes32 node = keccak256(abi.encodePacked(index, account, amount));
require(MerkleProof.verify(merkleProof, merkleRoot, node), 'MerkleDistributor: Invalid proof.');
// Mark it claimed and send the token.
_setClaimed(index);
require(IERC20(token).transfer(account, amount), 'MerkleDistributor: Transfer failed.');
emit Claimed(index, account, amount);
}
/**
* @dev Sweep any unclaimed funds to arbitrary destination. Can only be called by owner.
*/
function sweep(address target) external override onlyOwner {
require(block.timestamp >= expireTimestamp, "MerkleDistributor: Drop not expired");
IERC20 tokenContract = IERC20(token);
uint256 balance = tokenContract.balanceOf(address(this));
tokenContract.transfer(target, balance);
}
/**
* @dev Sweep any unclaimed funds to contract owner. Can be called by anyone.
*/
function sweepToOwner() external override {
require(block.timestamp >= expireTimestamp, "MerkleDistributor: Drop not expired");
IERC20 tokenContract = IERC20(token);
uint256 balance = tokenContract.balanceOf(address(this));
tokenContract.transfer(owner(), balance);
}
}// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
// Allows anyone to claim a token if they exist in a merkle root.
interface IMerkleDistributor {
// Returns the address of the token distributed by this contract.
function token() external view returns (address);
// Returns the expiration time of the airdrop as unix timestamp (Seconds since unix epoch)
function expireTimestamp() external view returns (uint256);
// Returns the merkle root of the merkle tree containing account balances available to claim.
function merkleRoot() external view returns (bytes32);
// Returns true if the index has been marked claimed.
function isClaimed(uint256 index) external view returns (bool);
// Claim the given amount of the token to the given address. Reverts if the inputs are invalid.
function claim(uint256 index, uint256 amount, bytes32[] calldata merkleProof) external;
// Transfers the full token balance from the distributor contract to `target` address.
function sweep(address target) external;
// Transfers the full token balance from the distributor contract to owner of contract.
function sweepToOwner() external;
// This event is triggered whenever a call to #claim succeeds.
event Claimed(uint256 index, address account, uint256 amount);
}// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @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);
/**
* @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);
}// 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);
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"uint256","name":"expireTimestamp_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"expireTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sweepToOwner","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"}]Contract Creation Code
60e060405234801561001057600080fd5b50604051610dec380380610dec83398101604081905261002f916100b1565b61003f61003a61005d565b610061565b60609290921b6001600160601b03191660805260a05260c0526100f2565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000606084860312156100c5578283fd5b83516001600160a01b03811681146100db578384fd5b602085015160409095015190969495509392505050565b60805160601c60a05160c051610c9e61014e6000396000818161019b0152818161032901526105c201526000818161030501526104710152600081816101e8015281816104d80152818161060f01526107a20152610c9e6000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80639e34070f116100665780639e34070f146100fb578063ae0b51df1461011b578063e9eaa69b1461012e578063f2fde38b14610136578063fc0c546a146101495761009e565b806301681a62146100a35780632eb4a7ab146100b8578063338b84c1146100d6578063715018a6146100de5780638da5cb5b146100e6575b600080fd5b6100b66100b13660046108f6565b610151565b005b6100c0610303565b6040516100cd9190610a51565b60405180910390f35b6100c0610327565b6100b661034b565b6100ee610396565b6040516100cd9190610a19565b61010e610109366004610944565b6103a5565b6040516100cd9190610a46565b6100b6610129366004610974565b6103e6565b6100b66105c0565b6100b66101443660046108f6565b61072f565b6100ee6107a0565b6101596107c4565b6001600160a01b031661016a610396565b6001600160a01b0316146101995760405162461bcd60e51b815260040161019090610baf565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000004210156101d95760405162461bcd60e51b815260040161019090610ae8565b6040516370a0823160e01b81527f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b038316906370a082319061022a903090600401610a19565b60206040518083038186803b15801561024257600080fd5b505afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061095c565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb906102ab9086908590600401610a2d565b602060405180830381600087803b1580156102c557600080fd5b505af11580156102d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fd9190610924565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6103536107c4565b6001600160a01b0316610364610396565b6001600160a01b03161461038a5760405162461bcd60e51b815260040161019090610baf565b61039460006107c8565b565b6000546001600160a01b031690565b6000806103b461010084610c03565b905060006103c461010085610c3e565b60009283526001602081905260409093205492901b9182169091149392505050565b336103f0856103a5565b1561040d5760405162461bcd60e51b815260040161019090610aa0565b6000858286604051602001610424939291906109f1565b60405160208183030381529060405280519060200120905061049c8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506108189050565b6104b85760405162461bcd60e51b815260040161019090610b2b565b6104c18661082e565b60405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb9061050f9085908990600401610a2d565b602060405180830381600087803b15801561052957600080fd5b505af115801561053d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610924565b61057d5760405162461bcd60e51b815260040161019090610b6c565b7f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268683876040516105b093929190610be4565b60405180910390a1505050505050565b7f00000000000000000000000000000000000000000000000000000000000000004210156106005760405162461bcd60e51b815260040161019090610ae8565b6040516370a0823160e01b81527f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b038316906370a0823190610651903090600401610a19565b60206040518083038186803b15801561066957600080fd5b505afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a1919061095c565b9050816001600160a01b031663a9059cbb6106ba610396565b836040518363ffffffff1660e01b81526004016106d8929190610a2d565b602060405180830381600087803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a9190610924565b505050565b6107376107c4565b6001600160a01b0316610748610396565b6001600160a01b03161461076e5760405162461bcd60e51b815260040161019090610baf565b6001600160a01b0381166107945760405162461bcd60e51b815260040161019090610a5a565b61079d816107c8565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610825858461086d565b14949350505050565b600061083c61010083610c03565b9050600061084c61010084610c3e565b600092835260016020819052604090932080549390911b9092179091555050565b600081815b84518110156108df57600085828151811061089d57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116108bf576108b883826108e7565b92506108cc565b6108c981846108e7565b92505b50806108d781610c17565b915050610872565b509392505050565b60009182526020526040902090565b600060208284031215610907578081fd5b81356001600160a01b038116811461091d578182fd5b9392505050565b600060208284031215610935578081fd5b8151801515811461091d578182fd5b600060208284031215610955578081fd5b5035919050565b60006020828403121561096d578081fd5b5051919050565b60008060008060608587031215610989578283fd5b8435935060208501359250604085013567ffffffffffffffff808211156109ae578384fd5b818701915087601f8301126109c1578384fd5b8135818111156109cf578485fd5b88602080830285010111156109e2578485fd5b95989497505060200194505050565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526028908201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060408201526731b630b4b6b2b21760c11b606082015260800190565b60208082526023908201527f4d65726b6c654469737472696275746f723a2044726f70206e6f7420657870696040820152621c995960ea1b606082015260800190565b60208082526021908201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666040820152601760f91b606082015260800190565b60208082526023908201527f4d65726b6c654469737472696275746f723a205472616e73666572206661696c60408201526232b21760e91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9283526001600160a01b03919091166020830152604082015260600190565b600082610c1257610c12610c52565b500490565b6000600019821415610c3757634e487b7160e01b81526011600452602481fd5b5060010190565b600082610c4d57610c4d610c52565b500690565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220d6a30a0a7a19208da7669002034b122bf91aa042d02f5e56ee926895924f34cd64736f6c63430008000033000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd8000000000000000000000000000000000000000000000000000000006239d660
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80639e34070f116100665780639e34070f146100fb578063ae0b51df1461011b578063e9eaa69b1461012e578063f2fde38b14610136578063fc0c546a146101495761009e565b806301681a62146100a35780632eb4a7ab146100b8578063338b84c1146100d6578063715018a6146100de5780638da5cb5b146100e6575b600080fd5b6100b66100b13660046108f6565b610151565b005b6100c0610303565b6040516100cd9190610a51565b60405180910390f35b6100c0610327565b6100b661034b565b6100ee610396565b6040516100cd9190610a19565b61010e610109366004610944565b6103a5565b6040516100cd9190610a46565b6100b6610129366004610974565b6103e6565b6100b66105c0565b6100b66101443660046108f6565b61072f565b6100ee6107a0565b6101596107c4565b6001600160a01b031661016a610396565b6001600160a01b0316146101995760405162461bcd60e51b815260040161019090610baf565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000006239d6604210156101d95760405162461bcd60e51b815260040161019090610ae8565b6040516370a0823160e01b81527f000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f906000906001600160a01b038316906370a082319061022a903090600401610a19565b60206040518083038186803b15801561024257600080fd5b505afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a919061095c565b60405163a9059cbb60e01b81529091506001600160a01b0383169063a9059cbb906102ab9086908590600401610a2d565b602060405180830381600087803b1580156102c557600080fd5b505af11580156102d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102fd9190610924565b50505050565b7f95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd881565b7f000000000000000000000000000000000000000000000000000000006239d66081565b6103536107c4565b6001600160a01b0316610364610396565b6001600160a01b03161461038a5760405162461bcd60e51b815260040161019090610baf565b61039460006107c8565b565b6000546001600160a01b031690565b6000806103b461010084610c03565b905060006103c461010085610c3e565b60009283526001602081905260409093205492901b9182169091149392505050565b336103f0856103a5565b1561040d5760405162461bcd60e51b815260040161019090610aa0565b6000858286604051602001610424939291906109f1565b60405160208183030381529060405280519060200120905061049c8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd892508591506108189050565b6104b85760405162461bcd60e51b815260040161019090610b2b565b6104c18661082e565b60405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f169063a9059cbb9061050f9085908990600401610a2d565b602060405180830381600087803b15801561052957600080fd5b505af115801561053d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105619190610924565b61057d5760405162461bcd60e51b815260040161019090610b6c565b7f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0268683876040516105b093929190610be4565b60405180910390a1505050505050565b7f000000000000000000000000000000000000000000000000000000006239d6604210156106005760405162461bcd60e51b815260040161019090610ae8565b6040516370a0823160e01b81527f000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f906000906001600160a01b038316906370a0823190610651903090600401610a19565b60206040518083038186803b15801561066957600080fd5b505afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a1919061095c565b9050816001600160a01b031663a9059cbb6106ba610396565b836040518363ffffffff1660e01b81526004016106d8929190610a2d565b602060405180830381600087803b1580156106f257600080fd5b505af1158015610706573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072a9190610924565b505050565b6107376107c4565b6001600160a01b0316610748610396565b6001600160a01b03161461076e5760405162461bcd60e51b815260040161019090610baf565b6001600160a01b0381166107945760405162461bcd60e51b815260040161019090610a5a565b61079d816107c8565b50565b7f000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f81565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600082610825858461086d565b14949350505050565b600061083c61010083610c03565b9050600061084c61010084610c3e565b600092835260016020819052604090932080549390911b9092179091555050565b600081815b84518110156108df57600085828151811061089d57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116108bf576108b883826108e7565b92506108cc565b6108c981846108e7565b92505b50806108d781610c17565b915050610872565b509392505050565b60009182526020526040902090565b600060208284031215610907578081fd5b81356001600160a01b038116811461091d578182fd5b9392505050565b600060208284031215610935578081fd5b8151801515811461091d578182fd5b600060208284031215610955578081fd5b5035919050565b60006020828403121561096d578081fd5b5051919050565b60008060008060608587031215610989578283fd5b8435935060208501359250604085013567ffffffffffffffff808211156109ae578384fd5b818701915087601f8301126109c1578384fd5b8135818111156109cf578485fd5b88602080830285010111156109e2578485fd5b95989497505060200194505050565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526028908201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060408201526731b630b4b6b2b21760c11b606082015260800190565b60208082526023908201527f4d65726b6c654469737472696275746f723a2044726f70206e6f7420657870696040820152621c995960ea1b606082015260800190565b60208082526021908201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666040820152601760f91b606082015260800190565b60208082526023908201527f4d65726b6c654469737472696275746f723a205472616e73666572206661696c60408201526232b21760e91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9283526001600160a01b03919091166020830152604082015260600190565b600082610c1257610c12610c52565b500490565b6000600019821415610c3757634e487b7160e01b81526011600452602481fd5b5060010190565b600082610c4d57610c4d610c52565b500690565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220d6a30a0a7a19208da7669002034b122bf91aa042d02f5e56ee926895924f34cd64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd8000000000000000000000000000000000000000000000000000000006239d660
-----Decoded View---------------
Arg [0] : token_ (address): 0xc98D64DA73a6616c42117b582e832812e7B8D57F
Arg [1] : merkleRoot_ (bytes32): 0x95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd8
Arg [2] : expireTimestamp_ (uint256): 1647957600
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c98d64da73a6616c42117b582e832812e7b8d57f
Arg [1] : 95f881a2b312e932003b8c15c498801d337480cc8dfbca70d3399406ff16fcd8
Arg [2] : 000000000000000000000000000000000000000000000000000000006239d660
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.