Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,401 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Tokens | 16867133 | 644 days ago | IN | 0 ETH | 0.00048917 | ||||
Claim Tokens | 16654609 | 674 days ago | IN | 0 ETH | 0.00364585 | ||||
Claim Tokens | 16654268 | 674 days ago | IN | 0 ETH | 0.00395821 | ||||
Transfer | 16654259 | 674 days ago | IN | 0.008974 ETH | 0.00055558 | ||||
Claim Tokens | 16653124 | 674 days ago | IN | 0 ETH | 0.00351902 | ||||
Claim Tokens | 16652852 | 675 days ago | IN | 0 ETH | 0.00429464 | ||||
Claim Tokens | 16652494 | 675 days ago | IN | 0 ETH | 0.00378012 | ||||
Claim Tokens | 16650073 | 675 days ago | IN | 0 ETH | 0.01187561 | ||||
Claim Tokens | 16646234 | 675 days ago | IN | 0 ETH | 0.00334059 | ||||
Claim Tokens | 16645769 | 676 days ago | IN | 0 ETH | 0.0044186 | ||||
Claim Tokens | 16643543 | 676 days ago | IN | 0 ETH | 0.00839751 | ||||
Claim Tokens | 16642893 | 676 days ago | IN | 0 ETH | 0.00613936 | ||||
Claim Tokens | 16641251 | 676 days ago | IN | 0 ETH | 0.00433522 | ||||
Claim Tokens | 16640502 | 676 days ago | IN | 0 ETH | 0.00431334 | ||||
Claim Tokens | 16636667 | 677 days ago | IN | 0 ETH | 0.00849502 | ||||
Claim Tokens | 16633861 | 677 days ago | IN | 0 ETH | 0.00368356 | ||||
Claim Tokens | 16632550 | 677 days ago | IN | 0 ETH | 0.00343863 | ||||
Claim Tokens | 16628616 | 678 days ago | IN | 0 ETH | 0.00331636 | ||||
Claim Tokens | 16621486 | 679 days ago | IN | 0 ETH | 0.00563768 | ||||
Claim Tokens | 16619186 | 679 days ago | IN | 0 ETH | 0.00327074 | ||||
Claim Tokens | 16612093 | 680 days ago | IN | 0 ETH | 0.00232722 | ||||
Claim Tokens | 16608442 | 681 days ago | IN | 0 ETH | 0.00298136 | ||||
Claim Tokens | 16608183 | 681 days ago | IN | 0 ETH | 0.00245746 | ||||
Claim Tokens | 16604804 | 681 days ago | IN | 0 ETH | 0.00261252 | ||||
Claim Tokens | 16601946 | 682 days ago | IN | 0 ETH | 0.00331963 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ClaimCODE
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./ICODE.sol"; import "./MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/structs/BitMaps.sol"; contract ClaimCODE is Ownable, Pausable { using BitMaps for BitMaps.BitMap; BitMaps.BitMap private claimed; bytes32 public merkleRoot; uint256 public claimPeriodEnds; ICODE public immutable codeToken; event Claim(address indexed _claimant, uint256 _amount); event Sweep20(address _token); event Sweep721(address _token, uint256 _tokenID); error Address0Error(); error InvalidProof(); error AlreadyClaimed(); error ClaimEnded(); error ClaimNotEnded(); error InitError(); constructor( uint256 _claimPeriodEnds, address _codeToken, bytes32 _merkleRoot ) { if (_codeToken == address(0)) revert Address0Error(); claimPeriodEnds = _claimPeriodEnds; codeToken = ICODE(_codeToken); merkleRoot = _merkleRoot; _pause(); } function verify(bytes32[] calldata _proof, bytes32 _leaf) public view returns (bool, uint256) { return MerkleProof.verify(_proof, merkleRoot, _leaf); } function claimTokens(uint256 _amount, bytes32[] calldata _merkleProof) external whenNotPaused { bytes32 leaf = keccak256(abi.encodePacked(msg.sender, _amount)); (bool valid, uint256 index) = verify(_merkleProof, leaf); if (!valid) revert InvalidProof(); if (isClaimed(index)) revert AlreadyClaimed(); if (block.timestamp > claimPeriodEnds) revert ClaimEnded(); claimed.set(index); emit Claim(msg.sender, _amount); codeToken.claim_delegate(msg.sender, msg.sender); codeToken.transfer(msg.sender, _amount); } function isClaimed(uint256 _index) public view returns (bool) { return claimed.get(_index); } function sweep20(address _tokenAddr) external onlyOwner { IERC20 token = IERC20(_tokenAddr); if (_tokenAddr == address(codeToken) && block.timestamp <= claimPeriodEnds) revert ClaimNotEnded(); token.transfer(owner(), token.balanceOf(address(this))); emit Sweep20(_tokenAddr); } function sweep721(address _tokenAddr, uint256 _tokenID) external onlyOwner { IERC721 token = IERC721(_tokenAddr); token.transferFrom(address(this), owner(), _tokenID); emit Sweep721(_tokenAddr, _tokenID); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { 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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ICODE is IERC20 { function claim_delegate(address _delegator, address _delegatee) external; }
// SPDX-License-Identifier: MIT // Modified from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.3.0/contracts/utils/cryptography/MerkleProof.sol pragma solidity ^0.8.9; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool, uint256) { bytes32 computedHash = leaf; uint256 index = 0; for (uint256 i = 0; i < proof.length; i++) { index *= 2; 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)); index += 1; } } // Check if the computed hash (root) is equal to the provided root return (computedHash == root, index); } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 2000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_claimPeriodEnds","type":"uint256"},{"internalType":"address","name":"_codeToken","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Address0Error","type":"error"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"ClaimEnded","type":"error"},{"inputs":[],"name":"ClaimNotEnded","type":"error"},{"inputs":[],"name":"InitError","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Claim","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":"_token","type":"address"}],"name":"Sweep20","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"Sweep721","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"claimPeriodEnds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"codeToken","outputs":[{"internalType":"contract ICODE","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"_tokenAddr","type":"address"}],"name":"sweep20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"sweep721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a060405234801561001057600080fd5b50604051620012c2380380620012c283398101604081905261003191610194565b61003a33610095565b6000805460ff60a01b191690556001600160a01b03821661006e576040516324560b2960e11b815260040160405180910390fd5b60038390556001600160a01b038216608052600281905561008d6100e5565b5050506101da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100f8600054600160a01b900460ff1690565b1561013c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586101773390565b6040516001600160a01b03909116815260200160405180910390a1565b6000806000606084860312156101a957600080fd5b835160208501519093506001600160a01b03811681146101c857600080fd5b80925050604084015190509250925092565b6080516110b76200020b6000396000818161018901528181610721015281816107b801526108a801526110b76000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c5780639a114cb2116100665780639a114cb2146101d55780639e34070f146101e8578063d85f9a8b14610219578063f2fde38b1461022c57600080fd5b80638da5cb5b1461015f578063904d202214610184578063972a2a62146101ab57600080fd5b806366deac47116100c857806366deac4714610133578063715018a61461013c57806376cc4854146101445780638456cb591461015757600080fd5b80632eb4a7ab146100ef5780633f4ba83a1461010b5780635c975abb14610115575b600080fd5b6100f860025481565b6040519081526020015b60405180910390f35b61011361023f565b005b600054600160a01b900460ff165b6040519015158152602001610102565b6100f860035481565b6101136102a8565b610113610152366004610e4d565b61030c565b610113610450565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b61016c7f000000000000000000000000000000000000000000000000000000000000000081565b6101be6101b9366004610ec3565b6104b2565b604080519215158352602083019190915201610102565b6101136101e3366004610f0f565b610502565b6101236101f6366004610f5b565b600881901c60009081526001602081905260409091205460ff9092161b16151590565b610113610227366004610f74565b610847565b61011361023a366004610f74565b610aa8565b6000546001600160a01b0316331461029e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102a6610b8a565b565b6000546001600160a01b031633146103025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6102a66000610c4b565b6000546001600160a01b031633146103665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b816001600160a01b0381166323b872dd306103896000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101859052606401600060405180830381600087803b1580156103f057600080fd5b505af1158015610404573d6000803e3d6000fd5b5050604080516001600160a01b0387168152602081018690527f82b0210374125cdd64dfcfea448d1e398cd4ebbd12b15edd564efe6f2750ce27935001905060405180910390a1505050565b6000546001600160a01b031633146104aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6102a6610cb3565b6000806104f6858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150869050610d63565b91509150935093915050565b600054600160a01b900460ff161561055c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610295565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000806105bd8585856104b2565b91509150816105f8576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61061f81600881901c60009081526001602081905260409091205460ff9092161b16151590565b15610656576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600354421115610692576040517f4f184b7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600881901c6000908152600160208190526040909120805460ff84169290921b909117905560405186815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49060200160405180910390a26040517fd371ddd5000000000000000000000000000000000000000000000000000000008152336004820181905260248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d371ddd590604401600060405180830381600087803b15801561076d57600080fd5b505af1158015610781573d6000803e3d6000fd5b50506040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018990527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063a9059cbb9150604401602060405180830381600087803b15801561080657600080fd5b505af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e9190610f96565b50505050505050565b6000546001600160a01b031633146108a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b60008190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156108e957506003544211155b15610920576040517f72c38d2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b031663a9059cbb6109416000546001600160a01b031690565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561099957600080fd5b505afa1580156109ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d19190610fb8565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610a2f57600080fd5b505af1158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190610f96565b506040516001600160a01b03831681527f510a40bef53ebad78064fc0e32d3ceface15a9e2d325d8fa92d3430fa976b01b9060200160405180910390a15050565b6000546001600160a01b03163314610b025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6001600160a01b038116610b7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610295565b610b8781610c4b565b50565b600054600160a01b900460ff16610be35760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610295565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff1615610d0d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610295565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c2e3390565b6000808281805b8751811015610e2557610d7e600283611000565b91506000888281518110610d9457610d9461101f565b60200260200101519050808411610dd6576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350610e12565b6040805160208101839052908101859052606001604051602081830303815290604052805190602001209350600183610e0f919061104e565b92505b5080610e1d81611066565b915050610d6a565b50941495939450505050565b80356001600160a01b0381168114610e4857600080fd5b919050565b60008060408385031215610e6057600080fd5b610e6983610e31565b946020939093013593505050565b60008083601f840112610e8957600080fd5b50813567ffffffffffffffff811115610ea157600080fd5b6020830191508360208260051b8501011115610ebc57600080fd5b9250929050565b600080600060408486031215610ed857600080fd5b833567ffffffffffffffff811115610eef57600080fd5b610efb86828701610e77565b909790965060209590950135949350505050565b600080600060408486031215610f2457600080fd5b83359250602084013567ffffffffffffffff811115610f4257600080fd5b610f4e86828701610e77565b9497909650939450505050565b600060208284031215610f6d57600080fd5b5035919050565b600060208284031215610f8657600080fd5b610f8f82610e31565b9392505050565b600060208284031215610fa857600080fd5b81518015158114610f8f57600080fd5b600060208284031215610fca57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600081600019048311821515161561101a5761101a610fd1565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561106157611061610fd1565b500190565b600060001982141561107a5761107a610fd1565b506001019056fea2646970667358221220bbf6b7e291e242c56ea85102bbab69610b486fd72993349276e2171d23ef8a4c64736f6c634300080900330000000000000000000000000000000000000000000000000000000063f0ca54000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f11faa17e7be3479cc3ebf495727ad8044bc41c58626c575ce410d2f437fe0440fc
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638da5cb5b1161008c5780639a114cb2116100665780639a114cb2146101d55780639e34070f146101e8578063d85f9a8b14610219578063f2fde38b1461022c57600080fd5b80638da5cb5b1461015f578063904d202214610184578063972a2a62146101ab57600080fd5b806366deac47116100c857806366deac4714610133578063715018a61461013c57806376cc4854146101445780638456cb591461015757600080fd5b80632eb4a7ab146100ef5780633f4ba83a1461010b5780635c975abb14610115575b600080fd5b6100f860025481565b6040519081526020015b60405180910390f35b61011361023f565b005b600054600160a01b900460ff165b6040519015158152602001610102565b6100f860035481565b6101136102a8565b610113610152366004610e4d565b61030c565b610113610450565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b61016c7f000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f1181565b6101be6101b9366004610ec3565b6104b2565b604080519215158352602083019190915201610102565b6101136101e3366004610f0f565b610502565b6101236101f6366004610f5b565b600881901c60009081526001602081905260409091205460ff9092161b16151590565b610113610227366004610f74565b610847565b61011361023a366004610f74565b610aa8565b6000546001600160a01b0316331461029e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6102a6610b8a565b565b6000546001600160a01b031633146103025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6102a66000610c4b565b6000546001600160a01b031633146103665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b816001600160a01b0381166323b872dd306103896000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101859052606401600060405180830381600087803b1580156103f057600080fd5b505af1158015610404573d6000803e3d6000fd5b5050604080516001600160a01b0387168152602081018690527f82b0210374125cdd64dfcfea448d1e398cd4ebbd12b15edd564efe6f2750ce27935001905060405180910390a1505050565b6000546001600160a01b031633146104aa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6102a6610cb3565b6000806104f6858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506002549150869050610d63565b91509150935093915050565b600054600160a01b900460ff161561055c5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610295565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152603481018490526000906054016040516020818303038152906040528051906020012090506000806105bd8585856104b2565b91509150816105f8576040517f09bde33900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61061f81600881901c60009081526001602081905260409091205460ff9092161b16151590565b15610656576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600354421115610692576040517f4f184b7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600881901c6000908152600160208190526040909120805460ff84169290921b909117905560405186815233907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49060200160405180910390a26040517fd371ddd5000000000000000000000000000000000000000000000000000000008152336004820181905260248201527f000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f116001600160a01b03169063d371ddd590604401600060405180830381600087803b15801561076d57600080fd5b505af1158015610781573d6000803e3d6000fd5b50506040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018990527f000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f116001600160a01b0316925063a9059cbb9150604401602060405180830381600087803b15801561080657600080fd5b505af115801561081a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083e9190610f96565b50505050505050565b6000546001600160a01b031633146108a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b60008190507f000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f116001600160a01b0316826001600160a01b03161480156108e957506003544211155b15610920576040517f72c38d2900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b031663a9059cbb6109416000546001600160a01b031690565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038516906370a082319060240160206040518083038186803b15801561099957600080fd5b505afa1580156109ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d19190610fb8565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610a2f57600080fd5b505af1158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190610f96565b506040516001600160a01b03831681527f510a40bef53ebad78064fc0e32d3ceface15a9e2d325d8fa92d3430fa976b01b9060200160405180910390a15050565b6000546001600160a01b03163314610b025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610295565b6001600160a01b038116610b7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610295565b610b8781610c4b565b50565b600054600160a01b900460ff16610be35760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610295565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff1615610d0d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610295565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c2e3390565b6000808281805b8751811015610e2557610d7e600283611000565b91506000888281518110610d9457610d9461101f565b60200260200101519050808411610dd6576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350610e12565b6040805160208101839052908101859052606001604051602081830303815290604052805190602001209350600183610e0f919061104e565b92505b5080610e1d81611066565b915050610d6a565b50941495939450505050565b80356001600160a01b0381168114610e4857600080fd5b919050565b60008060408385031215610e6057600080fd5b610e6983610e31565b946020939093013593505050565b60008083601f840112610e8957600080fd5b50813567ffffffffffffffff811115610ea157600080fd5b6020830191508360208260051b8501011115610ebc57600080fd5b9250929050565b600080600060408486031215610ed857600080fd5b833567ffffffffffffffff811115610eef57600080fd5b610efb86828701610e77565b909790965060209590950135949350505050565b600080600060408486031215610f2457600080fd5b83359250602084013567ffffffffffffffff811115610f4257600080fd5b610f4e86828701610e77565b9497909650939450505050565b600060208284031215610f6d57600080fd5b5035919050565b600060208284031215610f8657600080fd5b610f8f82610e31565b9392505050565b600060208284031215610fa857600080fd5b81518015158114610f8f57600080fd5b600060208284031215610fca57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600081600019048311821515161561101a5761101a610fd1565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561106157611061610fd1565b500190565b600060001982141561107a5761107a610fd1565b506001019056fea2646970667358221220bbf6b7e291e242c56ea85102bbab69610b486fd72993349276e2171d23ef8a4c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000063f0ca54000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f11faa17e7be3479cc3ebf495727ad8044bc41c58626c575ce410d2f437fe0440fc
-----Decoded View---------------
Arg [0] : _claimPeriodEnds (uint256): 1676724820
Arg [1] : _codeToken (address): 0xb24cd494faE4C180A89975F1328Eab2a7D5d8f11
Arg [2] : _merkleRoot (bytes32): 0xfaa17e7be3479cc3ebf495727ad8044bc41c58626c575ce410d2f437fe0440fc
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000063f0ca54
Arg [1] : 000000000000000000000000b24cd494fae4c180a89975f1328eab2a7d5d8f11
Arg [2] : faa17e7be3479cc3ebf495727ad8044bc41c58626c575ce410d2f437fe0440fc
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.