Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 723 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 17776981 | 468 days ago | IN | 0 ETH | 0.00848505 | ||||
Claim | 17776341 | 469 days ago | IN | 0 ETH | 0.00686899 | ||||
Claim | 17776318 | 469 days ago | IN | 0 ETH | 0.00704445 | ||||
Claim | 17775935 | 469 days ago | IN | 0 ETH | 0.00716881 | ||||
Claim | 17775300 | 469 days ago | IN | 0 ETH | 0.00774115 | ||||
Claim | 17774725 | 469 days ago | IN | 0 ETH | 0.01059165 | ||||
Claim | 17774536 | 469 days ago | IN | 0 ETH | 0.00932126 | ||||
Claim | 17774500 | 469 days ago | IN | 0 ETH | 0.00882245 | ||||
Claim | 17773945 | 469 days ago | IN | 0 ETH | 0.00077485 | ||||
Claim | 17773925 | 469 days ago | IN | 0 ETH | 0.00999254 | ||||
Claim | 17773557 | 469 days ago | IN | 0 ETH | 0.01479629 | ||||
Claim | 17772416 | 469 days ago | IN | 0 ETH | 0.0178184 | ||||
Claim | 17766787 | 470 days ago | IN | 0 ETH | 0.01150879 | ||||
Claim | 17766349 | 470 days ago | IN | 0 ETH | 0.01193024 | ||||
Claim | 17755761 | 471 days ago | IN | 0 ETH | 0.00763749 | ||||
Claim | 17753195 | 472 days ago | IN | 0 ETH | 0.00680015 | ||||
Claim | 17750276 | 472 days ago | IN | 0 ETH | 0.00065353 | ||||
Claim | 17749129 | 472 days ago | IN | 0 ETH | 0.01153913 | ||||
Claim | 17747702 | 473 days ago | IN | 0 ETH | 0.00745756 | ||||
Claim | 17747384 | 473 days ago | IN | 0 ETH | 0.00789624 | ||||
Claim | 17746883 | 473 days ago | IN | 0 ETH | 0.0071862 | ||||
Claim | 17742765 | 473 days ago | IN | 0 ETH | 0.01668889 | ||||
Claim | 17742676 | 473 days ago | IN | 0 ETH | 0.01759937 | ||||
Claim | 17741155 | 473 days ago | IN | 0 ETH | 0.00081124 | ||||
Claim | 17741145 | 473 days ago | IN | 0 ETH | 0.00983856 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x1FE0fbA0...15FEA9C8b The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ClaimTokens
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface TokenDecimal { function decimals() external returns (uint8); } contract ClaimTokens is Ownable, ReentrancyGuard, Pausable { using SafeERC20 for IERC20; IERC20 private token; bytes32 public root; uint256 public totalClaimed; address private tokenHolder; mapping(address => bool) public isClaimed; event Claimed(address indexed tokenAddress, address indexed user, uint256 amount, uint256 indexed timestamp); constructor(address _token, address _tokenholder, bytes32 _root) { token = IERC20(_token); tokenHolder = _tokenholder; root = _root; } function isValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, root, leaf); } function setRoot(bytes32 _root) external onlyOwner { root = _root; } function _getToken() external view returns(IERC20) { return token; } function _setToken(IERC20 _token) external onlyOwner { token = _token; } function _getTokenHolder() external view returns(address) { return tokenHolder; } function _setTokenHolder(address _tokenholder) external onlyOwner { tokenHolder = _tokenholder; } function Claim(uint256 _amount, bytes32[] memory proof) external nonReentrant whenNotPaused { require(msg.sender != address(0), "CONTRACT: Caller is zero address"); require(!isClaimed[msg.sender], "CONTRACT: Tokens already claimed!!"); require(address(token) != address(0), "CONTRACT: Token is not set."); require(isValid(proof, keccak256(abi.encodePacked(msg.sender, _amount))), "Caller not whitelisted"); uint256 claimedTokens = _amount; totalClaimed += claimedTokens; token.safeTransferFrom(tokenHolder, msg.sender, claimedTokens); isClaimed[msg.sender] = true; emit Claimed(address(token), msg.sender, claimedTokens, block.timestamp); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } fallback() external payable {} receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions 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.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @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"); } } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // 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); } } }
// SPDX-License-Identifier: MIT // 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); }
// 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": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_tokenholder","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"Claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_getToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_getTokenHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"_setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenholder","type":"address"}],"name":"_setTokenHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","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":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100eb5760003560e01c8063b8a20ed011610084578063e0587ac211610056578063e0587ac214610280578063ebf0c717146102a3578063f2fde38b146102b9578063fec53fc5146102d957005b8063b8a20ed0146101fc578063be030bd81461021c578063d54ad2a11461023c578063dab5f3401461026057005b8063715018a6116100bd578063715018a6146101845780638456cb59146101995780638cc08025146101ae5780638da5cb5b146101de57005b80633f4ba83a146100f45780634fc1a91f146101095780635967bd29146101405780635c975abb1461016057005b366100f257005b005b34801561010057600080fd5b506100f26102f9565b34801561011557600080fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b34801561014c57600080fd5b506100f261015b366004610c20565b61030b565b34801561016c57600080fd5b5060025460ff165b6040519015158152602001610137565b34801561019057600080fd5b506100f2610335565b3480156101a557600080fd5b506100f2610347565b3480156101ba57600080fd5b506101746101c9366004610c20565b60066020526000908152604090205460ff1681565b3480156101ea57600080fd5b506000546001600160a01b0316610123565b34801561020857600080fd5b50610174610217366004610cea565b610357565b34801561022857600080fd5b506100f2610237366004610c20565b61036f565b34801561024857600080fd5b5061025260045481565b604051908152602001610137565b34801561026c57600080fd5b506100f261027b366004610d2f565b61039f565b34801561028c57600080fd5b5060025461010090046001600160a01b0316610123565b3480156102af57600080fd5b5061025260035481565b3480156102c557600080fd5b506100f26102d4366004610c20565b6103ac565b3480156102e557600080fd5b506100f26102f4366004610d48565b61042a565b610301610691565b6103096106eb565b565b610313610691565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61033d610691565b610309600061073d565b61034f610691565b61030961078d565b600061036683600354846107ca565b90505b92915050565b610377610691565b600280546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6103a7610691565b600355565b6103b4610691565b6001600160a01b03811661041e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6104278161073d565b50565b6104326107e0565b61043a610839565b336104875760405162461bcd60e51b815260206004820181905260248201527f434f4e54524143543a2043616c6c6572206973207a65726f20616464726573736044820152606401610415565b3360009081526006602052604090205460ff16156104f25760405162461bcd60e51b815260206004820152602260248201527f434f4e54524143543a20546f6b656e7320616c726561647920636c61696d6564604482015261212160f01b6064820152608401610415565b60025461010090046001600160a01b031661054f5760405162461bcd60e51b815260206004820152601b60248201527f434f4e54524143543a20546f6b656e206973206e6f74207365742e00000000006044820152606401610415565b6040516bffffffffffffffffffffffff193360601b1660208201526034810183905261059590829060540160405160208183030381529060405280519060200120610357565b6105da5760405162461bcd60e51b815260206004820152601660248201527510d85b1b195c881b9bdd081dda1a5d195b1a5cdd195960521b6044820152606401610415565b600082905080600460008282546105f19190610da5565b9091555050600554600254610619916001600160a01b0361010090920482169116338461087f565b3360008181526006602052604090819020805460ff19166001179055600254905142929161010090046001600160a01b0316907f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689061067b9086815260200190565b60405180910390a45061068d60018055565b5050565b6000546001600160a01b031633146103095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610415565b6106f36108df565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610795610839565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586107203390565b6000826107d78584610928565b14949350505050565b6002600154036108325760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610415565b6002600155565b60025460ff16156103095760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610415565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526108d9908590610975565b50505050565b60025460ff166103095760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610415565b600081815b845181101561096d576109598286838151811061094c5761094c610db8565b6020026020010151610a4c565b91508061096581610dce565b91505061092d565b509392505050565b60006109ca826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a7b9092919063ffffffff16565b805190915015610a4757808060200190518101906109e89190610de7565b610a475760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610415565b505050565b6000818310610a68576000828152602084905260409020610366565b6000838152602083905260409020610366565b6060610a8a8484600085610a92565b949350505050565b606082471015610af35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610415565b600080866001600160a01b03168587604051610b0f9190610e2d565b60006040518083038185875af1925050503d8060008114610b4c576040519150601f19603f3d011682016040523d82523d6000602084013e610b51565b606091505b5091509150610b6287838387610b6d565b979650505050505050565b60608315610bdc578251600003610bd5576001600160a01b0385163b610bd55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610415565b5081610a8a565b610a8a8383815115610bf15781518083602001fd5b8060405162461bcd60e51b81526004016104159190610e49565b6001600160a01b038116811461042757600080fd5b600060208284031215610c3257600080fd5b8135610c3d81610c0b565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610c6b57600080fd5b8135602067ffffffffffffffff80831115610c8857610c88610c44565b8260051b604051601f19603f83011681018181108482111715610cad57610cad610c44565b604052938452858101830193838101925087851115610ccb57600080fd5b83870191505b84821015610b6257813583529183019190830190610cd1565b60008060408385031215610cfd57600080fd5b823567ffffffffffffffff811115610d1457600080fd5b610d2085828601610c5a565b95602094909401359450505050565b600060208284031215610d4157600080fd5b5035919050565b60008060408385031215610d5b57600080fd5b82359150602083013567ffffffffffffffff811115610d7957600080fd5b610d8585828601610c5a565b9150509250929050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561036957610369610d8f565b634e487b7160e01b600052603260045260246000fd5b600060018201610de057610de0610d8f565b5060010190565b600060208284031215610df957600080fd5b81518015158114610c3d57600080fd5b60005b83811015610e24578181015183820152602001610e0c565b50506000910152565b60008251610e3f818460208701610e09565b9190910192915050565b6020815260008251806020840152610e68816040850160208701610e09565b601f01601f1916919091016040019291505056fea264697066735822122029508424cfdac3619e214d9a445d6d2817b01d5c880b49f328491e5088ae369264736f6c63430008110033
Deployed Bytecode Sourcemap
516:2167:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2538:65;;;;;;;;;;;;;:::i;1511:95::-;;;;;;;;;;-1:-1:-1;1587:11:9;;-1:-1:-1;;;;;1587:11:9;1511:95;;;-1:-1:-1;;;;;178:32:10;;;160:51;;148:2;133:18;1511:95:9;;;;;;;;1614:111;;;;;;;;;;-1:-1:-1;1614:111:9;;;;;:::i;:::-;;:::i;1615:84:1:-;;;;;;;;;;-1:-1:-1;1685:7:1;;;;1615:84;;;775:14:10;;768:22;750:41;;738:2;723:18;1615:84:1;610:187:10;1831:101:0;;;;;;;;;;;;;:::i;2469:61:9:-;;;;;;;;;;;;;:::i;744:41::-;;;;;;;;;;-1:-1:-1;744:41:9;;;;;:::i;:::-;;;;;;;;;;;;;;;;1201:85:0;;;;;;;;;;-1:-1:-1;1247:7:0;1273:6;-1:-1:-1;;;;;1273:6:0;1201:85;;1085:144:9;;;;;;;;;;-1:-1:-1;1085:144:9;;;;;:::i;:::-;;:::i;1417:86::-;;;;;;;;;;-1:-1:-1;1417:86:9;;;;;:::i;:::-;;:::i;672:27::-;;;;;;;;;;;;;;;;;;;2674:25:10;;;2662:2;2647:18;672:27:9;2528:177:10;1237:82:9;;;;;;;;;;-1:-1:-1;1237:82:9;;;;;:::i;:::-;;:::i;1327:::-;;;;;;;;;;-1:-1:-1;1396:5:9;;;;;-1:-1:-1;;;;;1396:5:9;1327:82;;644:19;;;;;;;;;;;;;;;;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;1733:728:9:-;;;;;;;;;;-1:-1:-1;1733:728:9;;;;;:::i;:::-;;:::i;2538:65::-;1094:13:0;:11;:13::i;:::-;2585:10:9::1;:8;:10::i;:::-;2538:65::o:0;1614:111::-;1094:13:0;:11;:13::i;:::-;1691:11:9::1;:26:::0;;-1:-1:-1;;;;;;1691:26:9::1;-1:-1:-1::0;;;;;1691:26:9;;;::::1;::::0;;;::::1;::::0;;1614:111::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;2469:61:9:-:0;1094:13:0;:11;:13::i;:::-;2514:8:9::1;:6;:8::i;1085:144::-:0;1161:4;1184:37;1203:5;1210:4;;1216;1184:18;:37::i;:::-;1177:44;;1085:144;;;;;:::o;1417:86::-;1094:13:0;:11;:13::i;:::-;1481:5:9::1;:14:::0;;-1:-1:-1;;;;;1481:14:9;;::::1;;;-1:-1:-1::0;;;;;;1481:14:9;;::::1;::::0;;;::::1;::::0;;1417:86::o;1237:82::-;1094:13:0;:11;:13::i;:::-;1299:4:9::1;:12:::0;1237:82::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;3922:2:10;2161:73:0::1;::::0;::::1;3904:21:10::0;3961:2;3941:18;;;3934:30;4000:34;3980:18;;;3973:62;-1:-1:-1;;;4051:18:10;;;4044:36;4097:19;;2161:73:0::1;;;;;;;;;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1733:728:9:-;2261:21:2;:19;:21::i;:::-;1239:19:1::1;:17;:19::i;:::-;1844:10:9::2;1836:69;;;::::0;-1:-1:-1;;;1836:69:9;;4329:2:10;1836:69:9::2;::::0;::::2;4311:21:10::0;;;4348:18;;;4341:30;4407:34;4387:18;;;4380:62;4459:18;;1836:69:9::2;4127:356:10::0;1836:69:9::2;1935:10;1925:21;::::0;;;:9:::2;:21;::::0;;;;;::::2;;1924:22;1916:69;;;::::0;-1:-1:-1;;;1916:69:9;;4690:2:10;1916:69:9::2;::::0;::::2;4672:21:10::0;4729:2;4709:18;;;4702:30;4768:34;4748:18;;;4741:62;-1:-1:-1;;;4819:18:10;;;4812:32;4861:19;;1916:69:9::2;4488:398:10::0;1916:69:9::2;2012:5;::::0;::::2;::::0;::::2;-1:-1:-1::0;;;;;2012:5:9::2;1996:68;;;::::0;-1:-1:-1;;;1996:68:9;;5093:2:10;1996:68:9::2;::::0;::::2;5075:21:10::0;5132:2;5112:18;;;5105:30;5171:29;5151:18;;;5144:57;5218:18;;1996:68:9::2;4891:351:10::0;1996:68:9::2;2108:37;::::0;-1:-1:-1;;2125:10:9::2;5424:2:10::0;5420:15;5416:53;2108:37:9::2;::::0;::::2;5404:66:10::0;5486:12;;;5479:28;;;2083:64:9::2;::::0;2091:5;;5523:12:10;;2108:37:9::2;;;;;;;;;;;;2098:48;;;;;;2083:7;:64::i;:::-;2075:99;;;::::0;-1:-1:-1;;;2075:99:9;;5748:2:10;2075:99:9::2;::::0;::::2;5730:21:10::0;5787:2;5767:18;;;5760:30;-1:-1:-1;;;5806:18:10;;;5799:52;5868:18;;2075:99:9::2;5546:346:10::0;2075:99:9::2;2187:21;2211:7;2187:31;;2245:13;2229:12;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;2292:11:9::2;::::0;2269:5:::2;::::0;:62:::2;::::0;-1:-1:-1;;;;;2292:11:9::2;2269:5:::0;;::::2;::::0;::::2;::::0;2292:11:::2;2305:10;2317:13:::0;2269:22:::2;:62::i;:::-;2352:10;2342:21;::::0;;;:9:::2;:21;::::0;;;;;;:28;;-1:-1:-1;;2342:28:9::2;2366:4;2342:28;::::0;;2402:5:::2;::::0;2386:67;;2437:15:::2;::::0;2352:10;2342:28:::2;2402:5:::0;::::2;-1:-1:-1::0;;;;;2402:5:9::2;::::0;2386:67:::2;::::0;::::2;::::0;2422:13;2674:25:10;;2662:2;2647:18;;2528:177;2386:67:9::2;;;;;;;;1825:636;2303:20:2::0;1716:1;2809:22;;2629:209;2303:20;1733:728:9;;:::o;1359:130:0:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:0;719:10:7;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;6361:2:10;1414:68:0;;;6343:21:10;;;6380:18;;;6373:30;6439:34;6419:18;;;6412:62;6491:18;;1414:68:0;6159:356:10;2433:117:1;1486:16;:14;:16::i;:::-;2491:7:::1;:15:::0;;-1:-1:-1;;2491:15:1::1;::::0;;2521:22:::1;719:10:7::0;2530:12:1::1;2521:22;::::0;-1:-1:-1;;;;;178:32:10;;;160:51;;148:2;133:18;2521:22:1::1;;;;;;;2433:117::o:0;:187:0:-;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;2186:115:1:-;1239:19;:17;:19::i;:::-;2245:7:::1;:14:::0;;-1:-1:-1;;2245:14:1::1;2255:4;2245:14;::::0;;2274:20:::1;2281:12;719:10:7::0;;640:96;1156:184:8;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:8:o;2336:287:2:-;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:2;;6722:2:10;2460:63:2;;;6704:21:10;6761:2;6741:18;;;6734:30;6800:33;6780:18;;;6773:61;6851:18;;2460:63:2;6520:355:10;2460:63:2;1759:1;2598:7;:18;2336:287::o;1767:106:1:-;1685:7;;;;1836:9;1828:38;;;;-1:-1:-1;;;1828:38:1;;7082:2:10;1828:38:1;;;7064:21:10;7121:2;7101:18;;;7094:30;-1:-1:-1;;;7140:18:10;;;7133:46;7196:18;;1828:38:1;6880:340:10;974:241:5;1139:68;;;-1:-1:-1;;;;;7483:15:10;;;1139:68:5;;;7465:34:10;7535:15;;7515:18;;;7508:43;7567:18;;;;7560:34;;;1139:68:5;;;;;;;;;;7400:18:10;;;;1139:68:5;;;;;;;;-1:-1:-1;;;;;1139:68:5;-1:-1:-1;;;1139:68:5;;;1112:96;;1132:5;;1112:19;:96::i;:::-;974:241;;;;:::o;1945:106:1:-;1685:7;;;;2003:41;;;;-1:-1:-1;;;2003:41:1;;7807:2:10;2003:41:1;;;7789:21:10;7846:2;7826:18;;;7819:30;-1:-1:-1;;;7865:18:10;;;7858:50;7925:18;;2003:41:1;7605:344:10;1994:290:8;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:8;;;;:::i;:::-;;;;2133:116;;;-1:-1:-1;2265:12:8;1994:290;-1:-1:-1;;;1994:290:8:o;3747:706:5:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;-1:-1:-1;;;;;4192:27:5;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:5;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:5;;8710:2:10;4351:85:5;;;8692:21:10;8749:2;8729:18;;;8722:30;8788:34;8768:18;;;8761:62;-1:-1:-1;;;8839:18:10;;;8832:40;8889:19;;4351:85:5;8508:406:10;4351:85:5;3817:636;3747:706;;:::o;8879:147:8:-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8976:20;9032:261;3873:223:6;4006:12;4037:52;4059:6;4067:4;4073:1;4076:12;4037:21;:52::i;:::-;4030:59;3873:223;-1:-1:-1;;;;3873:223:6:o;4960:446::-;5125:12;5182:5;5157:21;:30;;5149:81;;;;-1:-1:-1;;;5149:81:6;;9121:2:10;5149:81:6;;;9103:21:10;9160:2;9140:18;;;9133:30;9199:34;9179:18;;;9172:62;-1:-1:-1;;;9250:18:10;;;9243:36;9296:19;;5149:81:6;8919:402:10;5149:81:6;5241:12;5255:23;5282:6;-1:-1:-1;;;;;5282:11:6;5301:5;5308:4;5282:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5240:73;;;;5330:69;5357:6;5365:7;5374:10;5386:12;5330:26;:69::i;:::-;5323:76;4960:446;-1:-1:-1;;;;;;;4960:446:6:o;7466:628::-;7646:12;7674:7;7670:418;;;7701:10;:17;7722:1;7701:22;7697:286;;-1:-1:-1;;;;;1465:19:6;;;7908:60;;;;-1:-1:-1;;;7908:60:6;;10075:2:10;7908:60:6;;;10057:21:10;10114:2;10094:18;;;10087:30;10153:31;10133:18;;;10126:59;10202:18;;7908:60:6;9873:353:10;7908:60:6;-1:-1:-1;8003:10:6;7996:17;;7670:418;8044:33;8052:10;8064:12;8775:17;;:21;8771:379;;9003:10;8997:17;9059:15;9046:10;9042:2;9038:19;9031:44;8771:379;9126:12;9119:20;;-1:-1:-1;;;9119:20:6;;;;;;;;:::i;222:131:10:-;-1:-1:-1;;;;;297:31:10;;287:42;;277:70;;343:1;340;333:12;358:247;417:6;470:2;458:9;449:7;445:23;441:32;438:52;;;486:1;483;476:12;438:52;525:9;512:23;544:31;569:5;544:31;:::i;:::-;594:5;358:247;-1:-1:-1;;;358:247:10:o;802:127::-;863:10;858:3;854:20;851:1;844:31;894:4;891:1;884:15;918:4;915:1;908:15;934:902;988:5;1041:3;1034:4;1026:6;1022:17;1018:27;1008:55;;1059:1;1056;1049:12;1008:55;1095:6;1082:20;1121:4;1144:18;1181:2;1177;1174:10;1171:36;;;1187:18;;:::i;:::-;1233:2;1230:1;1226:10;1265:2;1259:9;1328:2;1324:7;1319:2;1315;1311:11;1307:25;1299:6;1295:38;1383:6;1371:10;1368:22;1363:2;1351:10;1348:18;1345:46;1342:72;;;1394:18;;:::i;:::-;1430:2;1423:22;1480:18;;;1556:15;;;1552:24;;;1514:15;;;;-1:-1:-1;1588:15:10;;;1585:35;;;1616:1;1613;1606:12;1585:35;1652:2;1644:6;1640:15;1629:26;;1664:142;1680:6;1675:3;1672:15;1664:142;;;1746:17;;1734:30;;1784:12;;;;1697;;;;1664:142;;1841:416;1934:6;1942;1995:2;1983:9;1974:7;1970:23;1966:32;1963:52;;;2011:1;2008;2001:12;1963:52;2051:9;2038:23;2084:18;2076:6;2073:30;2070:50;;;2116:1;2113;2106:12;2070:50;2139:61;2192:7;2183:6;2172:9;2168:22;2139:61;:::i;:::-;2129:71;2247:2;2232:18;;;;2219:32;;-1:-1:-1;;;;1841:416:10:o;2710:180::-;2769:6;2822:2;2810:9;2801:7;2797:23;2793:32;2790:52;;;2838:1;2835;2828:12;2790:52;-1:-1:-1;2861:23:10;;2710:180;-1:-1:-1;2710:180:10:o;3299:416::-;3392:6;3400;3453:2;3441:9;3432:7;3428:23;3424:32;3421:52;;;3469:1;3466;3459:12;3421:52;3505:9;3492:23;3482:33;;3566:2;3555:9;3551:18;3538:32;3593:18;3585:6;3582:30;3579:50;;;3625:1;3622;3615:12;3579:50;3648:61;3701:7;3692:6;3681:9;3677:22;3648:61;:::i;:::-;3638:71;;;3299:416;;;;;:::o;5897:127::-;5958:10;5953:3;5949:20;5946:1;5939:31;5989:4;5986:1;5979:15;6013:4;6010:1;6003:15;6029:125;6094:9;;;6115:10;;;6112:36;;;6128:18;;:::i;7954:127::-;8015:10;8010:3;8006:20;8003:1;7996:31;8046:4;8043:1;8036:15;8070:4;8067:1;8060:15;8086:135;8125:3;8146:17;;;8143:43;;8166:18;;:::i;:::-;-1:-1:-1;8213:1:10;8202:13;;8086:135::o;8226:277::-;8293:6;8346:2;8334:9;8325:7;8321:23;8317:32;8314:52;;;8362:1;8359;8352:12;8314:52;8394:9;8388:16;8447:5;8440:13;8433:21;8426:5;8423:32;8413:60;;8469:1;8466;8459:12;9326:250;9411:1;9421:113;9435:6;9432:1;9429:13;9421:113;;;9511:11;;;9505:18;9492:11;;;9485:39;9457:2;9450:10;9421:113;;;-1:-1:-1;;9568:1:10;9550:16;;9543:27;9326:250::o;9581:287::-;9710:3;9748:6;9742:13;9764:66;9823:6;9818:3;9811:4;9803:6;9799:17;9764:66;:::i;:::-;9846:16;;;;;9581:287;-1:-1:-1;;9581:287:10:o;10231:396::-;10380:2;10369:9;10362:21;10343:4;10412:6;10406:13;10455:6;10450:2;10439:9;10435:18;10428:34;10471:79;10543:6;10538:2;10527:9;10523:18;10518:2;10510:6;10506:15;10471:79;:::i;:::-;10611:2;10590:15;-1:-1:-1;;10586:29:10;10571:45;;;;10618:2;10567:54;;10231:396;-1:-1:-1;;10231:396:10:o
Swarm Source
ipfs://29508424cfdac3619e214d9a445d6d2817b01d5c880b49f328491e5088ae3692
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.