More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 569 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 21405485 | 14 days ago | IN | 0 ETH | 0.0006884 | ||||
Claim | 21299224 | 29 days ago | IN | 0 ETH | 0.00080742 | ||||
Claim | 21149511 | 50 days ago | IN | 0 ETH | 0.00083398 | ||||
Claim | 20958630 | 76 days ago | IN | 0 ETH | 0.00160094 | ||||
Claim | 20878031 | 88 days ago | IN | 0 ETH | 0.00095099 | ||||
Claim | 20733247 | 108 days ago | IN | 0 ETH | 0.00020442 | ||||
Claim | 20602835 | 126 days ago | IN | 0 ETH | 0.00009427 | ||||
Claim | 20569156 | 131 days ago | IN | 0 ETH | 0.00007826 | ||||
Claim | 20569156 | 131 days ago | IN | 0 ETH | 0.00028729 | ||||
Claim | 20551722 | 133 days ago | IN | 0 ETH | 0.00008337 | ||||
Claim | 20539763 | 135 days ago | IN | 0 ETH | 0.00013595 | ||||
Claim | 20378153 | 157 days ago | IN | 0 ETH | 0.00042821 | ||||
Claim | 20291352 | 169 days ago | IN | 0 ETH | 0.00053871 | ||||
Claim | 20147374 | 190 days ago | IN | 0 ETH | 0.00037429 | ||||
Claim | 20138287 | 191 days ago | IN | 0 ETH | 0.00030574 | ||||
Claim | 20082650 | 199 days ago | IN | 0 ETH | 0.00095002 | ||||
Claim | 20049888 | 203 days ago | IN | 0 ETH | 0.00044472 | ||||
Claim | 20008577 | 209 days ago | IN | 0 ETH | 0.00123193 | ||||
Claim | 20007488 | 209 days ago | IN | 0 ETH | 0.00058584 | ||||
Claim | 19876931 | 227 days ago | IN | 0 ETH | 0.00067621 | ||||
Claim | 19842459 | 232 days ago | IN | 0 ETH | 0.00059011 | ||||
Claim | 19732492 | 248 days ago | IN | 0 ETH | 0.00102996 | ||||
Claim | 19725789 | 249 days ago | IN | 0 ETH | 0.00252713 | ||||
Claim | 19722974 | 249 days ago | IN | 0 ETH | 0.00079799 | ||||
Claim | 19701128 | 252 days ago | IN | 0 ETH | 0.00051729 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MerkleDistributor
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-18 */ // File: github/new-order-network/merkle-distributor/contracts/interfaces/IMerkleDistributor.sol pragma solidity =0.8.4; //pragma solidity >=0.5.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 merkle root of the merkle tree containing account balances available to claim. function merkleRoot() external view returns (bytes32); /// Returns the amount of airdrops claimed. function claimed(address index) external view returns (uint256); /// Claim the given amount of the token to the given address. Reverts if the inputs are invalid. /// @param amount the TOTAL eligible amount of airdop in MerkleTree (including claimed amount). function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external; /// Updates the root of the merkle tree. /// /// @dev The assumption is that the updated amount values of MerkleTree are total eligible airdrops for user. /// So if the new amount is greater than the previous, the delta will be considered new eligible airdrop amount /// when user claims. Conversely if the updated amount is less than previous (and it was already claimed) user will not be able to claim any more tokens. function updateMerkleRoot(bytes32 newMerkleRoot) external; /// Admin function. Withdraws token `to` provided address for the `amount`. function withdrawToken(address to, uint256 amount) external; /// Admin function. Withdraws all tokens `to` address. function withdrawAllTokens(address to) external; /// This event is triggered whenever a call to #claim succeeds. /// @param airdropAmount the new amount of airdrop transferred to user event Claimed(uint256 index, address account, uint256 airdropAmount); /// This event is triggered whenever a call to update merkle root succeeds. event UpdateMerkleRoot(address indexed owner, bytes32 previousRoot, bytes32 newRoot); /// This event is triggered whenever a call to withdraw token succeeds. event WithdrawToken(address indexed owner, address indexed to, uint amount); } // File: github/new-order-network/merkle-distributor/contracts/MerkleProof.sol // pragma solidity =0.8.4; /** * @dev These functions deal with verification of Merkle trees (hash trees), */ 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) { 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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) //pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) //pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) //pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) //pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: github/new-order-network/merkle-distributor/contracts/MerkleDistributor.sol //pragma solidity =0.8.4; contract MerkleDistributor is IMerkleDistributor, Ownable, Pausable { address public immutable override token; bytes32 public override merkleRoot; using SafeERC20 for IERC20; /// inheritdoc IMerkleDistributor mapping(address => uint256) public override claimed; constructor( address token_, bytes32 merkleRoot_, address owner_ ) { token = token_; merkleRoot = merkleRoot_; transferOwnership(owner_); } /// inheritdoc IMerkleDistributor function claim( uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof ) external override whenNotPaused{ uint256 alreadyClaimed = claimed[account]; require( amount > alreadyClaimed, "MerkleDistributor: airdrop limit reached" ); // 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. claimed[account] = amount; uint256 airdropAmount = amount - alreadyClaimed; IERC20(token).safeTransfer(account, airdropAmount); emit Claimed(index, account, airdropAmount); } /// inheritdoc IMerkleDistributor function updateMerkleRoot(bytes32 newMerkleRoot) public override onlyOwner { emit UpdateMerkleRoot(msg.sender, merkleRoot, newMerkleRoot); merkleRoot = newMerkleRoot; } /// inheritdoc IMerkleDistributor function withdrawToken(address to, uint256 amount) public override onlyOwner { require(to != address(0), "to address is the zero address"); require(amount > 0, "Amount is zero"); require( IERC20(token).balanceOf(address(this)) >= amount, "Amount exceeds balance" ); IERC20(token).safeTransfer(to, amount); emit WithdrawToken(msg.sender, to, amount); } /// inheritdoc IMerkleDistributor function withdrawAllTokens(address to) public override onlyOwner { withdrawToken(to, IERC20(token).balanceOf(address(this))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"address","name":"owner_","type":"address"}],"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":"airdropAmount","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bytes32","name":"previousRoot","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"UpdateMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawAllTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162001131380380620011318339810160408190526200003491620001c5565b6200003f3362000077565b6000805460ff60a01b191690556001600160601b0319606084901b1660805260018290556200006e81620000c7565b50505062000205565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620000d16200014a565b6001600160a01b0381166200013c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620001478162000077565b50565b6000546001600160a01b03163314620001a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000133565b565b80516001600160a01b0381168114620001c057600080fd5b919050565b600080600060608486031215620001da578283fd5b620001e584620001a8565b925060208401519150620001fc60408501620001a8565b90509250925092565b60805160601c610ef162000240600039600081816101ba015281816103a9015281816105470152818161062401526106ba0152610ef16000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80638da5cb5b11610081578063c884ef831161005b578063c884ef8314610182578063f2fde38b146101a2578063fc0c546a146101b557600080fd5b80638da5cb5b146101375780639e281a981461015c578063a878aee61461016f57600080fd5b80634783f0ef116100b25780634783f0ef146100ff5780635c975abb14610112578063715018a61461012f57600080fd5b80632e7ba6ef146100ce5780632eb4a7ab146100e3575b600080fd5b6100e16100dc366004610d62565b6101dc565b005b6100ec60015481565b6040519081526020015b60405180910390f35b6100e161010d366004610d32565b610423565b600054600160a01b900460ff1660405190151581526020016100f6565b6100e161046e565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100f6565b6100e161016a366004610ce9565b610482565b6100e161017d366004610cc8565b61068f565b6100ec610190366004610cc8565b60026020526000908152604090205481565b6100e16101b0366004610cc8565b610737565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6101e46107c4565b6001600160a01b0384166000908152600260205260409020548084116102775760405162461bcd60e51b815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2061697264726f70206c696d697460448201527f207265616368656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60408051602081018890526bffffffffffffffffffffffff19606088901b16918101919091526054810185905260009060740160405160208183030381529060405280519060200120905061030384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600154915084905061081e565b6103755760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e00000000000000000000000000000000000000000000000000000000000000606482015260840161026e565b6001600160a01b038616600090815260026020526040812086905561039a8387610e43565b90506103d06001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001688836108dc565b604080518981526001600160a01b03891660208201529081018290527f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269060600160405180910390a15050505050505050565b61042b610961565b600154604080519182526020820183905233917f8b67e84be49a1952e3818ead1025bf3a2299ec901780204d0dec64678b235287910160405180910390a2600155565b610476610961565b61048060006109bb565b565b61048a610961565b6001600160a01b0382166104e05760405162461bcd60e51b815260206004820152601e60248201527f746f206164647265737320697320746865207a65726f20616464726573730000604482015260640161026e565b600081116105305760405162461bcd60e51b815260206004820152600e60248201527f416d6f756e74206973207a65726f000000000000000000000000000000000000604482015260640161026e565b6040516370a0823160e01b815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561059157600080fd5b505afa1580156105a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c99190610d4a565b10156106175760405162461bcd60e51b815260206004820152601660248201527f416d6f756e7420657863656564732062616c616e636500000000000000000000604482015260640161026e565b61064b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001683836108dc565b6040518181526001600160a01b0383169033907f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f13049060200160405180910390a35050565b610697610961565b6040516370a0823160e01b81523060048201526107349082906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b1580156106fc57600080fd5b505afa158015610710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016a9190610d4a565b50565b61073f610961565b6001600160a01b0381166107bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026e565b610734816109bb565b600054600160a01b900460ff16156104805760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161026e565b600081815b85518110156108d157600086828151811061084e57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808310156108915760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506108be565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806108c981610e8a565b915050610823565b509092149392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261095c908490610a23565b505050565b6000546001600160a01b031633146104805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026e565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a78826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b089092919063ffffffff16565b80519091501561095c5780806020019051810190610a969190610d12565b61095c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161026e565b6060610b178484600085610b1f565b949350505050565b606082471015610b975760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161026e565b600080866001600160a01b03168587604051610bb39190610df4565b60006040518083038185875af1925050503d8060008114610bf0576040519150601f19603f3d011682016040523d82523d6000602084013e610bf5565b606091505b5091509150610c0687838387610c11565b979650505050505050565b60608315610c7d578251610c76576001600160a01b0385163b610c765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161026e565b5081610b17565b610b178383815115610c925781518083602001fd5b8060405162461bcd60e51b815260040161026e9190610e10565b80356001600160a01b0381168114610cc357600080fd5b919050565b600060208284031215610cd9578081fd5b610ce282610cac565b9392505050565b60008060408385031215610cfb578081fd5b610d0483610cac565b946020939093013593505050565b600060208284031215610d23578081fd5b81518015158114610ce2578182fd5b600060208284031215610d43578081fd5b5035919050565b600060208284031215610d5b578081fd5b5051919050565b600080600080600060808688031215610d79578081fd5b85359450610d8960208701610cac565b935060408601359250606086013567ffffffffffffffff80821115610dac578283fd5b818801915088601f830112610dbf578283fd5b813581811115610dcd578384fd5b8960208260051b8501011115610de1578384fd5b9699959850939650602001949392505050565b60008251610e06818460208701610e5a565b9190910192915050565b6020815260008251806020840152610e2f816040850160208701610e5a565b601f01601f19169190910160400192915050565b600082821015610e5557610e55610ea5565b500390565b60005b83811015610e75578181015183820152602001610e5d565b83811115610e84576000848401525b50505050565b6000600019821415610e9e57610e9e610ea5565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202ef802cd158f9b7515ebab4125ba495e5fb0c7854872f5a92b07ad6566095e0d64736f6c6343000804003300000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d96ae6dd11a50bb3c81d941451917b62f4e772ab3495cd0f4350fe2b1d0998e85bb0000000000000000000000004a848f44146ca6d1d6aa34bcdf3c41093def1761
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100c95760003560e01c80638da5cb5b11610081578063c884ef831161005b578063c884ef8314610182578063f2fde38b146101a2578063fc0c546a146101b557600080fd5b80638da5cb5b146101375780639e281a981461015c578063a878aee61461016f57600080fd5b80634783f0ef116100b25780634783f0ef146100ff5780635c975abb14610112578063715018a61461012f57600080fd5b80632e7ba6ef146100ce5780632eb4a7ab146100e3575b600080fd5b6100e16100dc366004610d62565b6101dc565b005b6100ec60015481565b6040519081526020015b60405180910390f35b6100e161010d366004610d32565b610423565b600054600160a01b900460ff1660405190151581526020016100f6565b6100e161046e565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100f6565b6100e161016a366004610ce9565b610482565b6100e161017d366004610cc8565b61068f565b6100ec610190366004610cc8565b60026020526000908152604090205481565b6100e16101b0366004610cc8565b610737565b6101447f00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d9681565b6101e46107c4565b6001600160a01b0384166000908152600260205260409020548084116102775760405162461bcd60e51b815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2061697264726f70206c696d697460448201527f207265616368656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b60408051602081018890526bffffffffffffffffffffffff19606088901b16918101919091526054810185905260009060740160405160208183030381529060405280519060200120905061030384848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600154915084905061081e565b6103755760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e00000000000000000000000000000000000000000000000000000000000000606482015260840161026e565b6001600160a01b038616600090815260026020526040812086905561039a8387610e43565b90506103d06001600160a01b037f00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d961688836108dc565b604080518981526001600160a01b03891660208201529081018290527f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269060600160405180910390a15050505050505050565b61042b610961565b600154604080519182526020820183905233917f8b67e84be49a1952e3818ead1025bf3a2299ec901780204d0dec64678b235287910160405180910390a2600155565b610476610961565b61048060006109bb565b565b61048a610961565b6001600160a01b0382166104e05760405162461bcd60e51b815260206004820152601e60248201527f746f206164647265737320697320746865207a65726f20616464726573730000604482015260640161026e565b600081116105305760405162461bcd60e51b815260206004820152600e60248201527f416d6f756e74206973207a65726f000000000000000000000000000000000000604482015260640161026e565b6040516370a0823160e01b815230600482015281907f00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d966001600160a01b0316906370a082319060240160206040518083038186803b15801561059157600080fd5b505afa1580156105a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c99190610d4a565b10156106175760405162461bcd60e51b815260206004820152601660248201527f416d6f756e7420657863656564732062616c616e636500000000000000000000604482015260640161026e565b61064b6001600160a01b037f00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d961683836108dc565b6040518181526001600160a01b0383169033907f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f13049060200160405180910390a35050565b610697610961565b6040516370a0823160e01b81523060048201526107349082906001600160a01b037f00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d9616906370a082319060240160206040518083038186803b1580156106fc57600080fd5b505afa158015610710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016a9190610d4a565b50565b61073f610961565b6001600160a01b0381166107bb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161026e565b610734816109bb565b600054600160a01b900460ff16156104805760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161026e565b600081815b85518110156108d157600086828151811061084e57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808310156108915760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506108be565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806108c981610e8a565b915050610823565b509092149392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261095c908490610a23565b505050565b6000546001600160a01b031633146104805760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161026e565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610a78826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b089092919063ffffffff16565b80519091501561095c5780806020019051810190610a969190610d12565b61095c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161026e565b6060610b178484600085610b1f565b949350505050565b606082471015610b975760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161026e565b600080866001600160a01b03168587604051610bb39190610df4565b60006040518083038185875af1925050503d8060008114610bf0576040519150601f19603f3d011682016040523d82523d6000602084013e610bf5565b606091505b5091509150610c0687838387610c11565b979650505050505050565b60608315610c7d578251610c76576001600160a01b0385163b610c765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161026e565b5081610b17565b610b178383815115610c925781518083602001fd5b8060405162461bcd60e51b815260040161026e9190610e10565b80356001600160a01b0381168114610cc357600080fd5b919050565b600060208284031215610cd9578081fd5b610ce282610cac565b9392505050565b60008060408385031215610cfb578081fd5b610d0483610cac565b946020939093013593505050565b600060208284031215610d23578081fd5b81518015158114610ce2578182fd5b600060208284031215610d43578081fd5b5035919050565b600060208284031215610d5b578081fd5b5051919050565b600080600080600060808688031215610d79578081fd5b85359450610d8960208701610cac565b935060408601359250606086013567ffffffffffffffff80821115610dac578283fd5b818801915088601f830112610dbf578283fd5b813581811115610dcd578384fd5b8960208260051b8501011115610de1578384fd5b9699959850939650602001949392505050565b60008251610e06818460208701610e5a565b9190910192915050565b6020815260008251806020840152610e2f816040850160208701610e5a565b601f01601f19169190910160400192915050565b600082821015610e5557610e55610ea5565b500390565b60005b83811015610e75578181015183820152602001610e5d565b83811115610e84576000848401525b50505050565b6000600019821415610e9e57610e9e610ea5565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212202ef802cd158f9b7515ebab4125ba495e5fb0c7854872f5a92b07ad6566095e0d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d96ae6dd11a50bb3c81d941451917b62f4e772ab3495cd0f4350fe2b1d0998e85bb0000000000000000000000004a848f44146ca6d1d6aa34bcdf3c41093def1761
-----Decoded View---------------
Arg [0] : token_ (address): 0x98585dFc8d9e7D48F0b1aE47ce33332CF4237D96
Arg [1] : merkleRoot_ (bytes32): 0xae6dd11a50bb3c81d941451917b62f4e772ab3495cd0f4350fe2b1d0998e85bb
Arg [2] : owner_ (address): 0x4a848F44146Ca6D1D6AA34bcdF3C41093deF1761
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000098585dfc8d9e7d48f0b1ae47ce33332cf4237d96
Arg [1] : ae6dd11a50bb3c81d941451917b62f4e772ab3495cd0f4350fe2b1d0998e85bb
Arg [2] : 0000000000000000000000004a848f44146ca6d1d6aa34bcdf3c41093def1761
Deployed Bytecode Sourcemap
29234:2363:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29780:873;;;;;;:::i;:::-;;:::i;:::-;;29355:34;;;;;;;;;4028:25:1;;;4016:2;4001:18;29355:34:0;;;;;;;;30700:191;;;;;;:::i;:::-;;:::i;6237:86::-;6284:4;6308:7;-1:-1:-1;;;6308:7:0;;;;6237:86;;3855:14:1;;3848:22;3830:41;;3818:2;3803:18;6237:86:0;3785:92:1;9104:103:0;;;:::i;8456:87::-;8502:7;8529:6;-1:-1:-1;;;;;8529:6:0;8456:87;;;-1:-1:-1;;;;;3321:55:1;;;3303:74;;3291:2;3276:18;8456:87:0;3258:125:1;30938:468:0;;;;;;:::i;:::-;;:::i;31453:141::-;;;;;;:::i;:::-;;:::i;29470:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;9362:201;;;;;;:::i;:::-;;:::i;29309:39::-;;;;;29780:873;5842:19;:17;:19::i;:::-;-1:-1:-1;;;;;29985:16:0;::::1;29960:22;29985:16:::0;;;:7:::1;:16;::::0;;;;;30034:23;;::::1;30012:113;;;::::0;-1:-1:-1;;;30012:113:0;;5665:2:1;30012:113:0::1;::::0;::::1;5647:21:1::0;5704:2;5684:18;;;5677:30;5743:34;5723:18;;;5716:62;5814:10;5794:18;;;5787:38;5842:19;;30012:113:0::1;;;;;;;;;30200:40;::::0;;::::1;::::0;::::1;2978:19:1::0;;;-1:-1:-1;;3035:2:1;3031:15;;;3027:53;3013:12;;;3006:75;;;;3097:12;;;3090:28;;;30175:12:0::1;::::0;3134::1;;30200:40:0::1;;;;;;;;;;;;30190:51;;;;;;30175:66;;30274:49;30293:11;;30274:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;30306:10:0::1;::::0;;-1:-1:-1;30318:4:0;;-1:-1:-1;30274:18:0::1;:49::i;:::-;30252:132;;;::::0;-1:-1:-1;;;30252:132:0;;6826:2:1;30252:132:0::1;::::0;::::1;6808:21:1::0;6865:2;6845:18;;;6838:30;6904:34;6884:18;;;6877:62;6975:3;6955:18;;;6948:31;6996:19;;30252:132:0::1;6798:223:1::0;30252:132:0::1;-1:-1:-1::0;;;;;30445:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;:25;;;30505:23:::1;30514:14:::0;30464:6;30505:23:::1;:::i;:::-;30481:47:::0;-1:-1:-1;30539:50:0::1;-1:-1:-1::0;;;;;30546:5:0::1;30539:26;30566:7:::0;30481:47;30539:26:::1;:50::i;:::-;30607:38;::::0;;9242:25:1;;;-1:-1:-1;;;;;9303:55:1;;9298:2;9283:18;;9276:83;9375:18;;;9368:34;;;30607:38:0::1;::::0;9230:2:1;9215:18;30607:38:0::1;;;;;;;5872:1;;;29780:873:::0;;;;;:::o;30700:191::-;8342:13;:11;:13::i;:::-;30820:10:::1;::::0;30791:55:::1;::::0;;4238:25:1;;;4294:2;4279:18;;4272:34;;;30808:10:0::1;::::0;30791:55:::1;::::0;4211:18:1;30791:55:0::1;;;;;;;30857:10;:26:::0;30700:191::o;9104:103::-;8342:13;:11;:13::i;:::-;9169:30:::1;9196:1;9169:18;:30::i;:::-;9104:103::o:0;30938:468::-;8342:13;:11;:13::i;:::-;-1:-1:-1;;;;;31066:16:0;::::1;31058:59;;;::::0;-1:-1:-1;;;31058:59:0;;7932:2:1;31058:59:0::1;::::0;::::1;7914:21:1::0;7971:2;7951:18;;;7944:30;8010:32;7990:18;;;7983:60;8060:18;;31058:59:0::1;7904:180:1::0;31058:59:0::1;31145:1;31136:6;:10;31128:37;;;::::0;-1:-1:-1;;;31128:37:0;;7228:2:1;31128:37:0::1;::::0;::::1;7210:21:1::0;7267:2;7247:18;;;7240:30;7306:16;7286:18;;;7279:44;7340:18;;31128:37:0::1;7200:164:1::0;31128:37:0::1;31198:38;::::0;-1:-1:-1;;;31198:38:0;;31230:4:::1;31198:38;::::0;::::1;3303:74:1::0;31240:6:0;;31205:5:::1;-1:-1:-1::0;;;;;31198:23:0::1;::::0;::::1;::::0;3276:18:1;;31198:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;31176:120;;;::::0;-1:-1:-1;;;31176:120:0;;4907:2:1;31176:120:0::1;::::0;::::1;4889:21:1::0;4946:2;4926:18;;;4919:30;4985:24;4965:18;;;4958:52;5027:18;;31176:120:0::1;4879:172:1::0;31176:120:0::1;31307:38;-1:-1:-1::0;;;;;31314:5:0::1;31307:26;31334:2:::0;31338:6;31307:26:::1;:38::i;:::-;31361:37;::::0;4028:25:1;;;-1:-1:-1;;;;;31361:37:0;::::1;::::0;31375:10:::1;::::0;31361:37:::1;::::0;4016:2:1;4001:18;31361:37:0::1;;;;;;;30938:468:::0;;:::o;31453:141::-;8342:13;:11;:13::i;:::-;31547:38:::1;::::0;-1:-1:-1;;;31547:38:0;;31579:4:::1;31547:38;::::0;::::1;3303:74:1::0;31529:57:0::1;::::0;31543:2;;-1:-1:-1;;;;;31554:5:0::1;31547:23;::::0;::::1;::::0;3276:18:1;;31547:38:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;31529:57::-;31453:141:::0;:::o;9362:201::-;8342:13;:11;:13::i;:::-;-1:-1:-1;;;;;9451:22:0;::::1;9443:73;;;::::0;-1:-1:-1;;;9443:73:0;;5258:2:1;9443:73:0::1;::::0;::::1;5240:21:1::0;5297:2;5277:18;;;5270:30;5336:34;5316:18;;;5309:62;5407:8;5387:18;;;5380:36;5433:19;;9443:73:0::1;5230:228:1::0;9443:73:0::1;9527:28;9546:8;9527:18;:28::i;6396:108::-:0;6284:4;6308:7;-1:-1:-1;;;6308:7:0;;;;6466:9;6458:38;;;;-1:-1:-1;;;6458:38:0;;6481:2:1;6458:38:0;;;6463:21:1;6520:2;6500:18;;;6493:30;6559:18;6539;;;6532:46;6595:18;;6458:38:0;6453:166:1;2865:795:0;2956:4;2996;2956;3013:524;3037:5;:12;3033:1;:16;3013:524;;;3071:20;3094:5;3100:1;3094:8;;;;;;-1:-1:-1;;;3094:8:0;;;;;;;;;;;;;;;3071:31;;3138:12;3123;:27;3119:407;;;3275:44;;;;;;2419:19:1;;;2454:12;;;2447:28;;;2491:12;;3275:44:0;;;;;;;;;;;;3265:55;;;;;;3250:70;;3119:407;;;3465:44;;;;;;2419:19:1;;;2454:12;;;2447:28;;;2491:12;;3465:44:0;;;;;;;;;;;;3455:55;;;;;;3440:70;;3119:407;-1:-1:-1;3051:3:0;;;;:::i;:::-;;;;3013:524;;;-1:-1:-1;3632:20:0;;;;2865:795;-1:-1:-1;;;2865:795:0:o;25313:211::-;25457:58;;;-1:-1:-1;;;;;3580:55:1;;25457:58:0;;;3562:74:1;3652:18;;;;3645:34;;;25457:58:0;;;;;;;;;;3535:18:1;;;;25457:58:0;;;;;;;;;;25480:23;25457:58;;;25430:86;;25450:5;;25430:19;:86::i;:::-;25313:211;;;:::o;8621:132::-;8502:7;8529:6;-1:-1:-1;;;;;8529:6:0;4428:10;8685:23;8677:68;;;;-1:-1:-1;;;8677:68:0;;7571:2:1;8677:68:0;;;7553:21:1;;;7590:18;;;7583:30;7649:34;7629:18;;;7622:62;7701:18;;8677:68:0;7543:182:1;9723:191:0;9797:16;9816:6;;-1:-1:-1;;;;;9833:17:0;;;;;;;;;;9866:40;;9816:6;;;;;;;9866:40;;9797:16;9866:40;9723:191;;:::o;28380:716::-;28804:23;28830:69;28858:4;28830:69;;;;;;;;;;;;;;;;;28838:5;-1:-1:-1;;;;;28830:27:0;;;:69;;;;;:::i;:::-;28914:17;;28804:95;;-1:-1:-1;28914:21:0;28910:179;;29011:10;29000:30;;;;;;;;;;;;:::i;:::-;28992:85;;;;-1:-1:-1;;;28992:85:0;;8649:2:1;28992:85:0;;;8631:21:1;8688:2;8668:18;;;8661:30;8727:34;8707:18;;;8700:62;8798:12;8778:18;;;8771:40;8828:19;;28992:85:0;8621:232:1;13913:229:0;14050:12;14082:52;14104:6;14112:4;14118:1;14121:12;14082:21;:52::i;:::-;14075:59;13913:229;-1:-1:-1;;;;13913:229:0:o;15033:455::-;15203:12;15261:5;15236:21;:30;;15228:81;;;;-1:-1:-1;;;15228:81:0;;6074:2:1;15228:81:0;;;6056:21:1;6113:2;6093:18;;;6086:30;6152:34;6132:18;;;6125:62;6223:8;6203:18;;;6196:36;6249:19;;15228:81:0;6046:228:1;15228:81:0;15321:12;15335:23;15362:6;-1:-1:-1;;;;;15362:11:0;15381:5;15388:4;15362:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15320:73;;;;15411:69;15438:6;15446:7;15455:10;15467:12;15411:26;:69::i;:::-;15404:76;15033:455;-1:-1:-1;;;;;;;15033:455:0:o;17606:644::-;17791:12;17820:7;17816:427;;;17848:17;;17844:290;;-1:-1:-1;;;;;11451:19:0;;;18058:60;;;;-1:-1:-1;;;18058:60:0;;8291:2:1;18058:60:0;;;8273:21:1;8330:2;8310:18;;;8303:30;8369:31;8349:18;;;8342:59;8418:18;;18058:60:0;8263:179:1;18058:60:0;-1:-1:-1;18155:10:0;18148:17;;17816:427;18198:33;18206:10;18218:12;18953:17;;:21;18949:388;;19185:10;19179:17;19242:15;19229:10;19225:2;19221:19;19214:44;19137:136;19312:12;19305:20;;-1:-1:-1;;;19305:20:0;;;;;;;;:::i;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;:::-;366:39;285:126;-1:-1:-1;;;285:126:1:o;416:264::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;670:2;655:18;;;;642:32;;-1:-1:-1;;;503:177:1:o;685:297::-;752:6;805:2;793:9;784:7;780:23;776:32;773:2;;;826:6;818;811:22;773:2;863:9;857:16;916:5;909:13;902:21;895:5;892:32;882:2;;943:6;935;928:22;987:190;1046:6;1099:2;1087:9;1078:7;1074:23;1070:32;1067:2;;;1120:6;1112;1105:22;1067:2;-1:-1:-1;1148:23:1;;1057:120;-1:-1:-1;1057:120:1:o;1182:194::-;1252:6;1305:2;1293:9;1284:7;1280:23;1276:32;1273:2;;;1326:6;1318;1311:22;1273:2;-1:-1:-1;1354:16:1;;1263:113;-1:-1:-1;1263:113:1:o;1381:876::-;1494:6;1502;1510;1518;1526;1579:3;1567:9;1558:7;1554:23;1550:33;1547:2;;;1601:6;1593;1586:22;1547:2;1642:9;1629:23;1619:33;;1671:38;1705:2;1694:9;1690:18;1671:38;:::i;:::-;1661:48;;1756:2;1745:9;1741:18;1728:32;1718:42;;1811:2;1800:9;1796:18;1783:32;1834:18;1875:2;1867:6;1864:14;1861:2;;;1896:6;1888;1881:22;1861:2;1939:6;1928:9;1924:22;1914:32;;1984:7;1977:4;1973:2;1969:13;1965:27;1955:2;;2011:6;2003;1996:22;1955:2;2056;2043:16;2082:2;2074:6;2071:14;2068:2;;;2103:6;2095;2088:22;2068:2;2161:7;2156:2;2146:6;2143:1;2139:14;2135:2;2131:23;2127:32;2124:45;2121:2;;;2187:6;2179;2172:22;2121:2;1537:720;;;;-1:-1:-1;1537:720:1;;-1:-1:-1;2223:2:1;2215:11;;2245:6;1537:720;-1:-1:-1;;;1537:720:1:o;2514:274::-;2643:3;2681:6;2675:13;2697:53;2743:6;2738:3;2731:4;2723:6;2719:17;2697:53;:::i;:::-;2766:16;;;;;2651:137;-1:-1:-1;;2651:137:1:o;4317:383::-;4466:2;4455:9;4448:21;4429:4;4498:6;4492:13;4541:6;4536:2;4525:9;4521:18;4514:34;4557:66;4616:6;4611:2;4600:9;4596:18;4591:2;4583:6;4579:15;4557:66;:::i;:::-;4684:2;4663:15;-1:-1:-1;;4659:29:1;4644:45;;;;4691:2;4640:54;;4438:262;-1:-1:-1;;4438:262:1:o;9413:125::-;9453:4;9481:1;9478;9475:8;9472:2;;;9486:18;;:::i;:::-;-1:-1:-1;9523:9:1;;9462:76::o;9543:258::-;9615:1;9625:113;9639:6;9636:1;9633:13;9625:113;;;9715:11;;;9709:18;9696:11;;;9689:39;9661:2;9654:10;9625:113;;;9756:6;9753:1;9750:13;9747:2;;;9791:1;9782:6;9777:3;9773:16;9766:27;9747:2;;9596:205;;;:::o;9806:135::-;9845:3;-1:-1:-1;;9866:17:1;;9863:2;;;9886:18;;:::i;:::-;-1:-1:-1;9933:1:1;9922:13;;9853:88::o;9946:184::-;-1:-1:-1;;;9995:1:1;9988:88;10095:4;10092:1;10085:15;10119:4;10116:1;10109:15
Swarm Source
ipfs://2ef802cd158f9b7515ebab4125ba495e5fb0c7854872f5a92b07ad6566095e0d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.003923 | 952,107.4673 | $3,734.97 |
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.