ERC-20
Overview
Max Total Supply
20 OGX
Holders
1
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OGX
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.21; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract OGX is ERC20, ERC20Burnable { bytes32 public immutable merkleRoot; mapping(address => bool) public hasClaimed; error DeadlineReached(); error AlreadyClaimed(); error NotInMerkle(); error TransfersNotYetEnabled(); constructor() ERC20("OGX", "OGX") { merkleRoot = 0xe72353e2f6010f96a36250acf32969ce9c708306426e834eb3931ff25b9310db; } event Claim(uint32 rank, address indexed to, uint16 term); function claim( uint32 rank, address to, uint16 term, bytes32[] calldata proof ) external { if (block.number >= 20000000) revert DeadlineReached(); if (hasClaimed[to]) revert AlreadyClaimed(); bytes32 leaf = keccak256( bytes.concat(keccak256(abi.encode(rank, to, term))) ); bool isValidLeaf = MerkleProof.verify(proof, merkleRoot, leaf); if (!isValidLeaf) revert NotInMerkle(); hasClaimed[to] = true; _mint(to, term * (10 ** uint256(decimals()))); emit Claim(rank, to, term); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); if (from != address(0)) if (block.number < 18250000) revert TransfersNotYetEnabled(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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 rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 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 from 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) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { 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.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"DeadlineReached","type":"error"},{"inputs":[],"name":"NotInMerkle","type":"error"},{"inputs":[],"name":"TransfersNotYetEnabled","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"rank","type":"uint32"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint16","name":"term","type":"uint16"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"rank","type":"uint32"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"term","type":"uint16"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801562000010575f80fd5b506040518060400160405280600381526020017f4f475800000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4f4758000000000000000000000000000000000000000000000000000000000081525081600390816200008e919062000337565b508060049081620000a0919062000337565b5050507fe72353e2f6010f96a36250acf32969ce9c708306426e834eb3931ff25b9310db5f1b608081815250506200041b565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200014f57607f821691505b6020821081036200016557620001646200010a565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620001c97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200018c565b620001d586836200018c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200021f620002196200021384620001ed565b620001f6565b620001ed565b9050919050565b5f819050919050565b6200023a83620001ff565b62000252620002498262000226565b84845462000198565b825550505050565b5f90565b620002686200025a565b620002758184846200022f565b505050565b5b818110156200029c57620002905f826200025e565b6001810190506200027b565b5050565b601f821115620002eb57620002b5816200016b565b620002c0846200017d565b81016020851015620002d0578190505b620002e8620002df856200017d565b8301826200027a565b50505b505050565b5f82821c905092915050565b5f6200030d5f1984600802620002f0565b1980831691505092915050565b5f620003278383620002fc565b9150826002028217905092915050565b6200034282620000d3565b67ffffffffffffffff8111156200035e576200035d620000dd565b5b6200036a825462000137565b62000377828285620002a0565b5f60209050601f831160018114620003ad575f841562000398578287015190505b620003a485826200031a565b86555062000413565b601f198416620003bd866200016b565b5f5b82811015620003e657848901518255600182019150602085019450602081019050620003bf565b8683101562000406578489015162000402601f891682620002fc565b8355505b6001600288020188555050505b505050505050565b60805161202a6200043b5f395f81816104570152610736015261202a5ff3fe608060405234801561000f575f80fd5b50600436106100fe575f3560e01c806370a08231116100955780639ec70bbf116100645780639ec70bbf146102c0578063a457c2d7146102dc578063a9059cbb1461030c578063dd62ed3e1461033c576100fe565b806370a082311461022657806373b2e80e1461025657806379cc67901461028657806395d89b41146102a2576100fe565b80632eb4a7ab116100d15780632eb4a7ab1461019e578063313ce567146101bc57806339509351146101da57806342966c681461020a576100fe565b806306fdde0314610102578063095ea7b31461012057806318160ddd1461015057806323b872dd1461016e575b5f80fd5b61010a61036c565b604051610117919061131a565b60405180910390f35b61013a600480360381019061013591906113cf565b6103fc565b6040516101479190611427565b60405180910390f35b61015861041e565b604051610165919061144f565b60405180910390f35b61018860048036038101906101839190611468565b610427565b6040516101959190611427565b60405180910390f35b6101a6610455565b6040516101b391906114d0565b60405180910390f35b6101c4610479565b6040516101d19190611504565b60405180910390f35b6101f460048036038101906101ef91906113cf565b610481565b6040516102019190611427565b60405180910390f35b610224600480360381019061021f919061151d565b6104b7565b005b610240600480360381019061023b9190611548565b6104cb565b60405161024d919061144f565b60405180910390f35b610270600480360381019061026b9190611548565b610510565b60405161027d9190611427565b60405180910390f35b6102a0600480360381019061029b91906113cf565b61052d565b005b6102aa61054d565b6040516102b7919061131a565b60405180910390f35b6102da60048036038101906102d59190611644565b6105dd565b005b6102f660048036038101906102f191906113cf565b610871565b6040516103039190611427565b60405180910390f35b610326600480360381019061032191906113cf565b6108e6565b6040516103339190611427565b60405180910390f35b610356600480360381019061035191906116c8565b610908565b604051610363919061144f565b60405180910390f35b60606003805461037b90611733565b80601f01602080910402602001604051908101604052809291908181526020018280546103a790611733565b80156103f25780601f106103c9576101008083540402835291602001916103f2565b820191905f5260205f20905b8154815290600101906020018083116103d557829003601f168201915b5050505050905090565b5f8061040661098a565b9050610413818585610991565b600191505092915050565b5f600254905090565b5f8061043161098a565b905061043e858285610b54565b610449858585610bdf565b60019150509392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f6012905090565b5f8061048b61098a565b90506104ac81858561049d8589610908565b6104a79190611790565b610991565b600191505092915050565b6104c86104c261098a565b82610e4b565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6005602052805f5260405f205f915054906101000a900460ff1681565b61053f8261053961098a565b83610b54565b6105498282610e4b565b5050565b60606004805461055c90611733565b80601f016020809104026020016040519081016040528092919081815260200182805461058890611733565b80156105d35780601f106105aa576101008083540402835291602001916105d3565b820191905f5260205f20905b8154815290600101906020018083116105b657829003601f168201915b5050505050905090565b6301312d00431061061a576040517fb08ce5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561069b576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8585856040516020016106b1939291906117f0565b604051602081830303815290604052805190602001206040516020016106d79190611845565b6040516020818303038152906040528051906020012090505f61075b8484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f820116905080830192505050505050507f00000000000000000000000000000000000000000000000000000000000000008461100e565b905080610794576040517f8a585be200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160055f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550610818866107f5610479565b60ff16600a610804919061198e565b8761ffff1661081391906119d8565b611024565b8573ffffffffffffffffffffffffffffffffffffffff167fd889709dde28363127ed4988c993ffd3fe5098e2d22415e007288a8b90102c888887604051610860929190611a19565b60405180910390a250505050505050565b5f8061087b61098a565b90505f6108888286610908565b9050838110156108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c490611ab0565b60405180910390fd5b6108da8286868403610991565b60019250505092915050565b5f806108f061098a565b90506108fd818585610bdf565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f690611b3e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6490611bcc565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610b47919061144f565b60405180910390a3505050565b5f610b5f8484610908565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bd95781811015610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290611c34565b60405180910390fd5b610bd88484848403610991565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4490611cc2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb290611d50565b60405180910390fd5b610cc6838383611172565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4090611dde565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e32919061144f565b60405180910390a3610e458484846111f4565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090611e6c565b60405180910390fd5b610ec4825f83611172565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90611efa565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ff6919061144f565b60405180910390a3611009835f846111f4565b505050565b5f8261101a85846111f9565b1490509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990611f62565b60405180910390fd5b61109d5f8383611172565b8060025f8282546110ae9190611790565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161115b919061144f565b60405180910390a361116e5f83836111f4565b5050565b61117d83838361124d565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146111ef5763011679104310156111ee576040517f600026a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b5f808290505f5b84518110156112425761122d828683815181106112205761121f611f80565b5b6020026020010151611252565b9150808061123a90611fad565b915050611200565b508091505092915050565b505050565b5f81831061126957611264828461127c565b611274565b611273838361127c565b5b905092915050565b5f825f528160205260405f20905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156112c75780820151818401526020810190506112ac565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6112ec82611290565b6112f6818561129a565b93506113068185602086016112aa565b61130f816112d2565b840191505092915050565b5f6020820190508181035f83015261133281846112e2565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61136b82611342565b9050919050565b61137b81611361565b8114611385575f80fd5b50565b5f8135905061139681611372565b92915050565b5f819050919050565b6113ae8161139c565b81146113b8575f80fd5b50565b5f813590506113c9816113a5565b92915050565b5f80604083850312156113e5576113e461133a565b5b5f6113f285828601611388565b9250506020611403858286016113bb565b9150509250929050565b5f8115159050919050565b6114218161140d565b82525050565b5f60208201905061143a5f830184611418565b92915050565b6114498161139c565b82525050565b5f6020820190506114625f830184611440565b92915050565b5f805f6060848603121561147f5761147e61133a565b5b5f61148c86828701611388565b935050602061149d86828701611388565b92505060406114ae868287016113bb565b9150509250925092565b5f819050919050565b6114ca816114b8565b82525050565b5f6020820190506114e35f8301846114c1565b92915050565b5f60ff82169050919050565b6114fe816114e9565b82525050565b5f6020820190506115175f8301846114f5565b92915050565b5f602082840312156115325761153161133a565b5b5f61153f848285016113bb565b91505092915050565b5f6020828403121561155d5761155c61133a565b5b5f61156a84828501611388565b91505092915050565b5f63ffffffff82169050919050565b61158b81611573565b8114611595575f80fd5b50565b5f813590506115a681611582565b92915050565b5f61ffff82169050919050565b6115c2816115ac565b81146115cc575f80fd5b50565b5f813590506115dd816115b9565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611604576116036115e3565b5b8235905067ffffffffffffffff811115611621576116206115e7565b5b60208301915083602082028301111561163d5761163c6115eb565b5b9250929050565b5f805f805f6080868803121561165d5761165c61133a565b5b5f61166a88828901611598565b955050602061167b88828901611388565b945050604061168c888289016115cf565b935050606086013567ffffffffffffffff8111156116ad576116ac61133e565b5b6116b9888289016115ef565b92509250509295509295909350565b5f80604083850312156116de576116dd61133a565b5b5f6116eb85828601611388565b92505060206116fc85828601611388565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061174a57607f821691505b60208210810361175d5761175c611706565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61179a8261139c565b91506117a58361139c565b92508282019050808211156117bd576117bc611763565b5b92915050565b6117cc81611573565b82525050565b6117db81611361565b82525050565b6117ea816115ac565b82525050565b5f6060820190506118035f8301866117c3565b61181060208301856117d2565b61181d60408301846117e1565b949350505050565b5f819050919050565b61183f61183a826114b8565b611825565b82525050565b5f611850828461182e565b60208201915081905092915050565b5f8160011c9050919050565b5f808291508390505b60018511156118b4578086048111156118905761188f611763565b5b600185161561189f5780820291505b80810290506118ad8561185f565b9450611874565b94509492505050565b5f826118cc5760019050611987565b816118d9575f9050611987565b81600181146118ef57600281146118f957611928565b6001915050611987565b60ff84111561190b5761190a611763565b5b8360020a91508482111561192257611921611763565b5b50611987565b5060208310610133831016604e8410600b841016171561195d5782820a90508381111561195857611957611763565b5b611987565b61196a848484600161186b565b9250905081840481111561198157611980611763565b5b81810290505b9392505050565b5f6119988261139c565b91506119a38361139c565b92506119d07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846118bd565b905092915050565b5f6119e28261139c565b91506119ed8361139c565b92508282026119fb8161139c565b91508282048414831517611a1257611a11611763565b5b5092915050565b5f604082019050611a2c5f8301856117c3565b611a3960208301846117e1565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f611a9a60258361129a565b9150611aa582611a40565b604082019050919050565b5f6020820190508181035f830152611ac781611a8e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f611b2860248361129a565b9150611b3382611ace565b604082019050919050565b5f6020820190508181035f830152611b5581611b1c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f611bb660228361129a565b9150611bc182611b5c565b604082019050919050565b5f6020820190508181035f830152611be381611baa565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f611c1e601d8361129a565b9150611c2982611bea565b602082019050919050565b5f6020820190508181035f830152611c4b81611c12565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611cac60258361129a565b9150611cb782611c52565b604082019050919050565b5f6020820190508181035f830152611cd981611ca0565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611d3a60238361129a565b9150611d4582611ce0565b604082019050919050565b5f6020820190508181035f830152611d6781611d2e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611dc860268361129a565b9150611dd382611d6e565b604082019050919050565b5f6020820190508181035f830152611df581611dbc565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f611e5660218361129a565b9150611e6182611dfc565b604082019050919050565b5f6020820190508181035f830152611e8381611e4a565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f611ee460228361129a565b9150611eef82611e8a565b604082019050919050565b5f6020820190508181035f830152611f1181611ed8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f611f4c601f8361129a565b9150611f5782611f18565b602082019050919050565b5f6020820190508181035f830152611f7981611f40565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f611fb78261139c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611fe957611fe8611763565b5b60018201905091905056fea2646970667358221220b89d5be8caa909490dba128f2eff85bfe442e94ea49859b0ed31ebe702cf5d0b64736f6c63430008150033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100fe575f3560e01c806370a08231116100955780639ec70bbf116100645780639ec70bbf146102c0578063a457c2d7146102dc578063a9059cbb1461030c578063dd62ed3e1461033c576100fe565b806370a082311461022657806373b2e80e1461025657806379cc67901461028657806395d89b41146102a2576100fe565b80632eb4a7ab116100d15780632eb4a7ab1461019e578063313ce567146101bc57806339509351146101da57806342966c681461020a576100fe565b806306fdde0314610102578063095ea7b31461012057806318160ddd1461015057806323b872dd1461016e575b5f80fd5b61010a61036c565b604051610117919061131a565b60405180910390f35b61013a600480360381019061013591906113cf565b6103fc565b6040516101479190611427565b60405180910390f35b61015861041e565b604051610165919061144f565b60405180910390f35b61018860048036038101906101839190611468565b610427565b6040516101959190611427565b60405180910390f35b6101a6610455565b6040516101b391906114d0565b60405180910390f35b6101c4610479565b6040516101d19190611504565b60405180910390f35b6101f460048036038101906101ef91906113cf565b610481565b6040516102019190611427565b60405180910390f35b610224600480360381019061021f919061151d565b6104b7565b005b610240600480360381019061023b9190611548565b6104cb565b60405161024d919061144f565b60405180910390f35b610270600480360381019061026b9190611548565b610510565b60405161027d9190611427565b60405180910390f35b6102a0600480360381019061029b91906113cf565b61052d565b005b6102aa61054d565b6040516102b7919061131a565b60405180910390f35b6102da60048036038101906102d59190611644565b6105dd565b005b6102f660048036038101906102f191906113cf565b610871565b6040516103039190611427565b60405180910390f35b610326600480360381019061032191906113cf565b6108e6565b6040516103339190611427565b60405180910390f35b610356600480360381019061035191906116c8565b610908565b604051610363919061144f565b60405180910390f35b60606003805461037b90611733565b80601f01602080910402602001604051908101604052809291908181526020018280546103a790611733565b80156103f25780601f106103c9576101008083540402835291602001916103f2565b820191905f5260205f20905b8154815290600101906020018083116103d557829003601f168201915b5050505050905090565b5f8061040661098a565b9050610413818585610991565b600191505092915050565b5f600254905090565b5f8061043161098a565b905061043e858285610b54565b610449858585610bdf565b60019150509392505050565b7fe72353e2f6010f96a36250acf32969ce9c708306426e834eb3931ff25b9310db81565b5f6012905090565b5f8061048b61098a565b90506104ac81858561049d8589610908565b6104a79190611790565b610991565b600191505092915050565b6104c86104c261098a565b82610e4b565b50565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6005602052805f5260405f205f915054906101000a900460ff1681565b61053f8261053961098a565b83610b54565b6105498282610e4b565b5050565b60606004805461055c90611733565b80601f016020809104026020016040519081016040528092919081815260200182805461058890611733565b80156105d35780601f106105aa576101008083540402835291602001916105d3565b820191905f5260205f20905b8154815290600101906020018083116105b657829003601f168201915b5050505050905090565b6301312d00431061061a576040517fb08ce5b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561069b576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8585856040516020016106b1939291906117f0565b604051602081830303815290604052805190602001206040516020016106d79190611845565b6040516020818303038152906040528051906020012090505f61075b8484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f820116905080830192505050505050507fe72353e2f6010f96a36250acf32969ce9c708306426e834eb3931ff25b9310db8461100e565b905080610794576040517f8a585be200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160055f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550610818866107f5610479565b60ff16600a610804919061198e565b8761ffff1661081391906119d8565b611024565b8573ffffffffffffffffffffffffffffffffffffffff167fd889709dde28363127ed4988c993ffd3fe5098e2d22415e007288a8b90102c888887604051610860929190611a19565b60405180910390a250505050505050565b5f8061087b61098a565b90505f6108888286610908565b9050838110156108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c490611ab0565b60405180910390fd5b6108da8286868403610991565b60019250505092915050565b5f806108f061098a565b90506108fd818585610bdf565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f690611b3e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6490611bcc565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610b47919061144f565b60405180910390a3505050565b5f610b5f8484610908565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610bd95781811015610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290611c34565b60405180910390fd5b610bd88484848403610991565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4490611cc2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb290611d50565b60405180910390fd5b610cc6838383611172565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4090611dde565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e32919061144f565b60405180910390a3610e458484846111f4565b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090611e6c565b60405180910390fd5b610ec4825f83611172565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3e90611efa565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ff6919061144f565b60405180910390a3611009835f846111f4565b505050565b5f8261101a85846111f9565b1490509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990611f62565b60405180910390fd5b61109d5f8383611172565b8060025f8282546110ae9190611790565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161115b919061144f565b60405180910390a361116e5f83836111f4565b5050565b61117d83838361124d565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146111ef5763011679104310156111ee576040517f600026a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b5f808290505f5b84518110156112425761122d828683815181106112205761121f611f80565b5b6020026020010151611252565b9150808061123a90611fad565b915050611200565b508091505092915050565b505050565b5f81831061126957611264828461127c565b611274565b611273838361127c565b5b905092915050565b5f825f528160205260405f20905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156112c75780820151818401526020810190506112ac565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6112ec82611290565b6112f6818561129a565b93506113068185602086016112aa565b61130f816112d2565b840191505092915050565b5f6020820190508181035f83015261133281846112e2565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61136b82611342565b9050919050565b61137b81611361565b8114611385575f80fd5b50565b5f8135905061139681611372565b92915050565b5f819050919050565b6113ae8161139c565b81146113b8575f80fd5b50565b5f813590506113c9816113a5565b92915050565b5f80604083850312156113e5576113e461133a565b5b5f6113f285828601611388565b9250506020611403858286016113bb565b9150509250929050565b5f8115159050919050565b6114218161140d565b82525050565b5f60208201905061143a5f830184611418565b92915050565b6114498161139c565b82525050565b5f6020820190506114625f830184611440565b92915050565b5f805f6060848603121561147f5761147e61133a565b5b5f61148c86828701611388565b935050602061149d86828701611388565b92505060406114ae868287016113bb565b9150509250925092565b5f819050919050565b6114ca816114b8565b82525050565b5f6020820190506114e35f8301846114c1565b92915050565b5f60ff82169050919050565b6114fe816114e9565b82525050565b5f6020820190506115175f8301846114f5565b92915050565b5f602082840312156115325761153161133a565b5b5f61153f848285016113bb565b91505092915050565b5f6020828403121561155d5761155c61133a565b5b5f61156a84828501611388565b91505092915050565b5f63ffffffff82169050919050565b61158b81611573565b8114611595575f80fd5b50565b5f813590506115a681611582565b92915050565b5f61ffff82169050919050565b6115c2816115ac565b81146115cc575f80fd5b50565b5f813590506115dd816115b9565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112611604576116036115e3565b5b8235905067ffffffffffffffff811115611621576116206115e7565b5b60208301915083602082028301111561163d5761163c6115eb565b5b9250929050565b5f805f805f6080868803121561165d5761165c61133a565b5b5f61166a88828901611598565b955050602061167b88828901611388565b945050604061168c888289016115cf565b935050606086013567ffffffffffffffff8111156116ad576116ac61133e565b5b6116b9888289016115ef565b92509250509295509295909350565b5f80604083850312156116de576116dd61133a565b5b5f6116eb85828601611388565b92505060206116fc85828601611388565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061174a57607f821691505b60208210810361175d5761175c611706565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61179a8261139c565b91506117a58361139c565b92508282019050808211156117bd576117bc611763565b5b92915050565b6117cc81611573565b82525050565b6117db81611361565b82525050565b6117ea816115ac565b82525050565b5f6060820190506118035f8301866117c3565b61181060208301856117d2565b61181d60408301846117e1565b949350505050565b5f819050919050565b61183f61183a826114b8565b611825565b82525050565b5f611850828461182e565b60208201915081905092915050565b5f8160011c9050919050565b5f808291508390505b60018511156118b4578086048111156118905761188f611763565b5b600185161561189f5780820291505b80810290506118ad8561185f565b9450611874565b94509492505050565b5f826118cc5760019050611987565b816118d9575f9050611987565b81600181146118ef57600281146118f957611928565b6001915050611987565b60ff84111561190b5761190a611763565b5b8360020a91508482111561192257611921611763565b5b50611987565b5060208310610133831016604e8410600b841016171561195d5782820a90508381111561195857611957611763565b5b611987565b61196a848484600161186b565b9250905081840481111561198157611980611763565b5b81810290505b9392505050565b5f6119988261139c565b91506119a38361139c565b92506119d07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846118bd565b905092915050565b5f6119e28261139c565b91506119ed8361139c565b92508282026119fb8161139c565b91508282048414831517611a1257611a11611763565b5b5092915050565b5f604082019050611a2c5f8301856117c3565b611a3960208301846117e1565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f611a9a60258361129a565b9150611aa582611a40565b604082019050919050565b5f6020820190508181035f830152611ac781611a8e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f611b2860248361129a565b9150611b3382611ace565b604082019050919050565b5f6020820190508181035f830152611b5581611b1c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f611bb660228361129a565b9150611bc182611b5c565b604082019050919050565b5f6020820190508181035f830152611be381611baa565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f611c1e601d8361129a565b9150611c2982611bea565b602082019050919050565b5f6020820190508181035f830152611c4b81611c12565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f611cac60258361129a565b9150611cb782611c52565b604082019050919050565b5f6020820190508181035f830152611cd981611ca0565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f611d3a60238361129a565b9150611d4582611ce0565b604082019050919050565b5f6020820190508181035f830152611d6781611d2e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611dc860268361129a565b9150611dd382611d6e565b604082019050919050565b5f6020820190508181035f830152611df581611dbc565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f611e5660218361129a565b9150611e6182611dfc565b604082019050919050565b5f6020820190508181035f830152611e8381611e4a565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f611ee460228361129a565b9150611eef82611e8a565b604082019050919050565b5f6020820190508181035f830152611f1181611ed8565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f611f4c601f8361129a565b9150611f5782611f18565b602082019050919050565b5f6020820190508181035f830152611f7981611f40565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f611fb78261139c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611fe957611fe8611763565b5b60018201905091905056fea2646970667358221220b89d5be8caa909490dba128f2eff85bfe442e94ea49859b0ed31ebe702cf5d0b64736f6c63430008150033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.