ERC-721
Overview
Max Total Supply
100 UNMASKED
Holders
54
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Unmasked
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; import './ERC721B.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; error InvalidProof(); error OverMaxSupply(); error WrongEtherValue(); error OverMintLimit(); error DoubleClaim(); error SaleNotActive(); contract Unmasked is ERC721B, Ownable { using Strings for uint256; // OpenSea whitelisting address constant proxyRegistryAddress = address(0xa5409ec958C83C3f309868babACA7c86DCB077c1); mapping(address => bool) public addressToRegistryDisabled; // Merkle whitelisting mapping(address => bool) public claimed; bytes32 public CLAIM_ROOT; bytes32 public WHITELIST_ROOT; // collection specific parameters string private baseURI; string public provenance; bool public publicSaleActive; uint256 public supply = 3333; uint256 public price = 0.06 ether; uint256 public price2 = 0.04 ether; uint256 constant maxBatchSize = 20; constructor() ERC721B('TheUnmasked', 'UNMASKED') {} /*/////////////////////////////////////////////////////////////// OWNER FUNCTIONS //////////////////////////////////////////////////////////////*/ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setClaim(bytes32 _root) external onlyOwner { CLAIM_ROOT = _root; } function setWhitelist(bytes32 _root) external onlyOwner { WHITELIST_ROOT = _root; } function setProvenanceHash(string calldata provenanceHash) external onlyOwner { provenance = provenanceHash; } function setBaseURI(string calldata _baseURI) external onlyOwner { baseURI = _baseURI; } function togglePublicSale() external onlyOwner { publicSaleActive = !publicSaleActive; } function setPrice(uint256 _price, uint256 _price2) external onlyOwner { price = _price; price2 = _price2; } function setSupply(uint256 _supply) external onlyOwner { supply = _supply; } /** * Reserve NFTs for giveaways */ function reserveUnmasked(uint256 qty) external onlyOwner { if ((_owners.length + qty) > supply) revert OverMaxSupply(); _mint(msg.sender, qty); } /** * Claim function for whitelisted addresses */ function claim( address account, uint256 qty, bytes32[] calldata proof ) external { if (!_verify(_leaf(account, qty), proof)) revert InvalidProof(); if ((_owners.length + qty) > supply) revert OverMaxSupply(); if (claimed[account]) revert DoubleClaim(); // set claimed to true to prevent double claiming claimed[account] = true; _mint(account, qty); } function whitelistMint(uint256 qty, bytes32[] calldata proof) external payable { if (!_verify2(_leaf2(msg.sender), proof)) revert InvalidProof(); if (qty > maxBatchSize) revert OverMintLimit(); if ((_owners.length + qty) > supply) revert OverMaxSupply(); if (msg.value < price2 * qty) revert WrongEtherValue(); _mint(msg.sender, qty); } function publicMint(uint256 qty) external payable { if (!publicSaleActive) revert SaleNotActive(); if (qty > maxBatchSize) revert OverMintLimit(); if ((_owners.length + qty) > supply) revert OverMaxSupply(); if (msg.value < price * qty) revert WrongEtherValue(); _safeMint(msg.sender, qty); } /** An override to whitelist the OpenSea proxy contract to enable gas-free listings. This function returns true if `_operator` is approved to transfer items owned by `_owner`. @param owner The owner of items to check for transfer ability. @param operator The potential transferrer of `_owner`'s items. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator && !addressToRegistryDisabled[owner]) { return true; } return super.isApprovedForAll(owner, operator); } /** * @notice Allow a user to disable the OpenSea pre-approval if they believe OS to not be secure. */ function toggleRegistryAccess() public virtual { addressToRegistryDisabled[msg.sender] = !addressToRegistryDisabled[msg.sender]; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { if (!_exists(_tokenId)) revert URIQueryForNonexistentToken(); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } /** * @dev See OpenZeppelin MerkleProof. */ function _leaf(address account, uint256 qty) internal pure returns (bytes32) { return keccak256(abi.encodePacked(account, qty)); } function _leaf2(address account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(account)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, CLAIM_ROOT, leaf); } function _verify2(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, WHITELIST_ROOT, leaf); } } /** @title An OpenSea delegate proxy contract which we include for whitelisting. @author OpenSea */ contract OwnableDelegateProxy { } /** * Used to delegate ownership of a contract to another address, * to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error UnableDetermineTokenOwner(); error UnableGetTokenOwnerByIndex(); error URIQueryForNonexistentToken(); /** * Updated, minimalist and gas efficient version of OpenZeppelins ERC721 contract. * Includes the Metadata and Enumerable extension. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * Does not support burning tokens * * @author beskay0x * Credits: chiru-labs, solmate, transmissions11, nftchance, squeebo_nft and others */ abstract contract ERC721B { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*/////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 tokenId) public view virtual returns (string memory); /*/////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ // Array which maps token ID to address (index is tokenID) address[] internal _owners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*/////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x780e9d63 || // ERC165 Interface ID for ERC721Enumerable interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*/////////////////////////////////////////////////////////////// ERC721ENUMERABLE LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * Dont call this function on chain from another smart contract, since it can become quite expensive */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256 tokenId) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (tokenId; tokenId < qty; tokenId++) { if (owner == ownerOf(tokenId)) { if (count == index) return tokenId; else count++; } } } revert UnableGetTokenOwnerByIndex(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual returns (uint256) { if (index >= totalSupply()) revert TokenIndexOutOfBounds(); return index; } /*/////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev Iterates through _owners array, returns balance of address * It is not recommended to call this function from another smart contract * as it can become quite expensive -- call this function off chain instead. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i; i < qty; i++) { if (owner == ownerOf(i)) { count++; } } } return count; } /** * @dev See {IERC721-ownerOf}. * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); // Cannot realistically overflow, since we are using uint256 unchecked { for (tokenId; ; tokenId++) { if (_owners[tokenId] != address(0)) { return _owners[tokenId]; } } } revert UnableDetermineTokenOwner(); } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { address owner = ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (msg.sender != owner && !isApprovedForAll(owner, msg.sender)) revert ApprovalCallerNotOwnerNorApproved(); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { if (operator == msg.sender) revert ApproveToCaller(); _operatorApprovals[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); if (ownerOf(tokenId) != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); bool isApprovedOrOwner = (msg.sender == from || msg.sender == getApproved(tokenId) || isApprovedForAll(from, msg.sender)); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // delete token approvals from previous owner delete _tokenApprovals[tokenId]; _owners[tokenId] = to; // if token ID below transferred one isnt set, set it to previous owner // if tokenid is zero, skip this to prevent underflow if (tokenId > 0 && _owners[tokenId - 1] == address(0)) { _owners[tokenId - 1] = from; } emit Transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id ) public virtual { safeTransferFrom(from, to, id, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, bytes memory data ) public virtual { transferFrom(from, to, id); if (!_checkOnERC721Received(from, to, id, data)) revert TransferToNonERC721ReceiverImplementer(); } /** * @dev Returns whether `tokenId` exists. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.code.length == 0) return true; try IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) revert TransferToNonERC721ReceiverImplementer(); assembly { revert(add(32, reason), mload(reason)) } } } /*/////////////////////////////////////////////////////////////// INTERNAL MINT LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev check if contract confirms token transfer, if not - reverts * unlike the standard ERC721 implementation this is only called once per mint, * no matter how many tokens get minted, since it is useless to check this * requirement several times -- if the contract confirms one token, * it will confirm all additional ones too. * This saves us around 5k gas per additional mint */ function _safeMint(address to, uint256 qty) internal virtual { _safeMint(to, qty, ''); } function _safeMint( address to, uint256 qty, bytes memory data ) internal virtual { _mint(to, qty); if (!_checkOnERC721Received(address(0), to, _owners.length - 1, data)) revert TransferToNonERC721ReceiverImplementer(); } function _mint(address to, uint256 qty) internal virtual { if (to == address(0)) revert MintToZeroAddress(); if (qty == 0) revert MintZeroQuantity(); uint256 _currentIndex = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i; i < qty - 1; i++) { _owners.push(); emit Transfer(address(0), to, _currentIndex + i); } } // set last index to receiver _owners.push(to); emit Transfer(address(0), to, _currentIndex + (qty - 1)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"DoubleClaim","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OverMaxSupply","type":"error"},{"inputs":[],"name":"OverMintLimit","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","type":"error"},{"inputs":[],"name":"UnableGetTokenOwnerByIndex","type":"error"},{"inputs":[],"name":"WrongEtherValue","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CLAIM_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToRegistryDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"reserveUnmasked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_price2","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRegistryAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610d05600d5566d529ae9e860000600e55668e1bc9bf040000600f553480156200002d57600080fd5b50604080518082018252600b81526a151a19555b9b585cdad95960aa1b6020808301918252835180850190945260088452671553935054d2d15160c21b908401528151919291620000819160009162000110565b5080516200009790600190602084019062000110565b505050620000b4620000ae620000ba60201b60201c565b620000be565b620001f3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011e90620001b6565b90600052602060002090601f0160209004810192826200014257600085556200018d565b82601f106200015d57805160ff19168380011785556200018d565b828001600101855582156200018d579182015b828111156200018d57825182559160200191906001019062000170565b506200019b9291506200019f565b5090565b5b808211156200019b5760008155600101620001a0565b600181811c90821680620001cb57607f821691505b60208210811415620001ed57634e487b7160e01b600052602260045260246000fd5b50919050565b6121ce80620002036000396000f3fe6080604052600436106102465760003560e01c806344e2048d11610139578063a22cb465116100b6578063d2cab0561161007a578063d2cab0561461068c578063e222c7f91461069f578063e985e9c5146106b4578063f2fde38b146106d4578063f621c007146106f4578063f7d975771461072557600080fd5b8063a22cb465146105e2578063b88d4fde14610602578063bc8893b414610622578063c87b56dd1461063c578063c884ef831461065c57600080fd5b8063715018a6116100fd578063715018a6146105545780638da5cb5b14610569578063953332781461058757806395d89b41146105b7578063a035b1fe146105cc57600080fd5b806344e2048d146104b45780634f6ccce7146104d457806355f804b3146104f45780636352211e1461051457806370a082311461053457600080fd5b806323b872dd116101c75780633b4c4b251161018b5780633b4c4b251461041f5780633ccfd60b1461043f5780633d13f8741461045457806342842e0e14610474578063440bc7f31461049457600080fd5b806323b872dd146103a057806327a3181d146103c05780632a1d6190146103d65780632db11544146103ec5780632f745c59146103ff57600080fd5b8063095ea7b31161020e578063095ea7b3146103205780630f7309e8146103405780631096952314610355578063170e96a31461037557806318160ddd1461038b57600080fd5b806301ffc9a71461024b578063047fc9aa1461028057806306fdde03146102a4578063081812fc146102c657806308a3a52b146102fe575b600080fd5b34801561025757600080fd5b5061026b610266366004611af1565b610745565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610296600d5481565b604051908152602001610277565b3480156102b057600080fd5b506102b96107b2565b6040516102779190611b66565b3480156102d257600080fd5b506102e66102e1366004611b79565b610840565b6040516001600160a01b039091168152602001610277565b34801561030a57600080fd5b5061031e610319366004611b79565b610886565b005b34801561032c57600080fd5b5061031e61033b366004611ba7565b6108be565b34801561034c57600080fd5b506102b9610998565b34801561036157600080fd5b5061031e610370366004611bd3565b6109a5565b34801561038157600080fd5b5061029660085481565b34801561039757600080fd5b50600254610296565b3480156103ac57600080fd5b5061031e6103bb366004611c45565b6109e0565b3480156103cc57600080fd5b50610296600f5481565b3480156103e257600080fd5b5061029660095481565b61031e6103fa366004611b79565b610c05565b34801561040b57600080fd5b5061029661041a366004611ba7565b610cb5565b34801561042b57600080fd5b5061031e61043a366004611b79565b610d4a565b34801561044b57600080fd5b5061031e610d79565b34801561046057600080fd5b5061031e61046f366004611cd2565b610dd6565b34801561048057600080fd5b5061031e61048f366004611c45565b610f0d565b3480156104a057600080fd5b5061031e6104af366004611b79565b610f28565b3480156104c057600080fd5b5061031e6104cf366004611b79565b610f57565b3480156104e057600080fd5b506102966104ef366004611b79565b610fbb565b34801561050057600080fd5b5061031e61050f366004611bd3565b610fe9565b34801561052057600080fd5b506102e661052f366004611b79565b61101f565b34801561054057600080fd5b5061029661054f366004611d2e565b6110ba565b34801561056057600080fd5b5061031e61112d565b34801561057557600080fd5b506005546001600160a01b03166102e6565b34801561059357600080fd5b5061026b6105a2366004611d2e565b60066020526000908152604090205460ff1681565b3480156105c357600080fd5b506102b9611163565b3480156105d857600080fd5b50610296600e5481565b3480156105ee57600080fd5b5061031e6105fd366004611d4b565b611170565b34801561060e57600080fd5b5061031e61061d366004611d9f565b611206565b34801561062e57600080fd5b50600c5461026b9060ff1681565b34801561064857600080fd5b506102b9610657366004611b79565b61123a565b34801561066857600080fd5b5061026b610677366004611d2e565b60076020526000908152604090205460ff1681565b61031e61069a366004611e7f565b611296565b3480156106ab57600080fd5b5061031e6113b1565b3480156106c057600080fd5b5061026b6106cf366004611ecb565b6113ef565b3480156106e057600080fd5b5061031e6106ef366004611d2e565b6114e4565b34801561070057600080fd5b5061031e336000908152600660205260409020805460ff19811660ff90911615179055565b34801561073157600080fd5b5061031e610740366004611ef9565b61157c565b60006301ffc9a760e01b6001600160e01b03198316148061077657506380ac58cd60e01b6001600160e01b03198316145b80610791575063780e9d6360e01b6001600160e01b03198316145b806107ac5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546107bf90611f1b565b80601f01602080910402602001604051908101604052809291908181526020018280546107eb90611f1b565b80156108385780601f1061080d57610100808354040283529160200191610838565b820191906000526020600020905b81548152906001019060200180831161081b57829003601f168201915b505050505081565b600061084d826002541190565b61086a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6005546001600160a01b031633146108b95760405162461bcd60e51b81526004016108b090611f56565b60405180910390fd5b600855565b60006108c98261101f565b9050806001600160a01b0316836001600160a01b031614156108fe5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091e575061091c81336113ef565b155b1561093c576040516367d9dca160e11b815260040160405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b80546107bf90611f1b565b6005546001600160a01b031633146109cf5760405162461bcd60e51b81526004016108b090611f56565b6109db600b8383611a4b565b505050565b6109eb816002541190565b610a0857604051636f96cda160e11b815260040160405180910390fd5b826001600160a01b0316610a1b8261101f565b6001600160a01b031614610a415760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038216610a6857604051633a954ecd60e21b815260040160405180910390fd5b6000336001600160a01b0385161480610a9a5750610a8582610840565b6001600160a01b0316336001600160a01b0316145b80610aaa5750610aaa84336113ef565b905080610aca57604051632ce44b5f60e11b815260040160405180910390fd5b600082815260036020526040902080546001600160a01b03191690556002805484919084908110610afd57610afd611f8b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600082118015610b6c575060006002610b45600185611fb7565b81548110610b5557610b55611f8b565b6000918252602090912001546001600160a01b0316145b15610bbe57836002610b7f600185611fb7565b81548110610b8f57610b8f611f8b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b81836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600c5460ff16610c285760405163b7b2409760e01b815260040160405180910390fd5b6014811115610c4a5760405163436a537960e01b815260040160405180910390fd5b600d54600254610c5b908390611fce565b1115610c7a57604051634c9c5c3360e11b815260040160405180910390fd5b80600e54610c889190611fe6565b341015610ca85760405163e079429d60e01b815260040160405180910390fd5b610cb233826115b1565b50565b6000610cc0836110ba565b8210610cdf576040516306ed618760e11b815260040160405180910390fd5b6002546000905b80831015610d3157610cf78361101f565b6001600160a01b0316856001600160a01b03161415610d265783821415610d1f5750506107ac565b6001909101905b600190920191610ce6565b604051637339954760e01b815260040160405180910390fd5b6005546001600160a01b03163314610d745760405162461bcd60e51b81526004016108b090611f56565b600d55565b6005546001600160a01b03163314610da35760405162461bcd60e51b81526004016108b090611f56565b6040514790339082156108fc029083906000818181858888f19350505050158015610dd2573d6000803e3d6000fd5b5050565b60408051606086901b6bffffffffffffffffffffffff191660208083019190915260348083018790528351808403909101815260549092019092528051910120610e53908383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506115cb92505050565b610e70576040516309bde33960e01b815260040160405180910390fd5b600d54600254610e81908590611fce565b1115610ea057604051634c9c5c3360e11b815260040160405180910390fd5b6001600160a01b03841660009081526007602052604090205460ff1615610eda5760405163494f740f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600760205260409020805460ff19166001179055610f0784846115e1565b50505050565b6109db83838360405180602001604052806000815250611206565b6005546001600160a01b03163314610f525760405162461bcd60e51b81526004016108b090611f56565b600955565b6005546001600160a01b03163314610f815760405162461bcd60e51b81526004016108b090611f56565b600d54600254610f92908390611fce565b1115610fb157604051634c9c5c3360e11b815260040160405180910390fd5b610cb233826115e1565b6000610fc660025490565b8210610fe5576040516329c8c00760e21b815260040160405180910390fd5b5090565b6005546001600160a01b031633146110135760405162461bcd60e51b81526004016108b090611f56565b6109db600a8383611a4b565b600061102c826002541190565b61104957604051636f96cda160e11b815260040160405180910390fd5b60006001600160a01b03166002838154811061106757611067611f8b565b6000918252602090912001546001600160a01b0316146110af576002828154811061109457611094611f8b565b6000918252602090912001546001600160a01b031692915050565b600190910190611049565b60006001600160a01b0382166110e3576040516323d3ad8160e21b815260040160405180910390fd5b600254600090815b81811015611124576110fc8161101f565b6001600160a01b0316856001600160a01b0316141561111c576001909201915b6001016110eb565b50909392505050565b6005546001600160a01b031633146111575760405162461bcd60e51b81526004016108b090611f56565b611161600061171f565b565b600180546107bf90611f1b565b6001600160a01b03821633141561119a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112118484846109e0565b61121d84848484611771565b610f07576040516368d2bf6b60e11b815260040160405180910390fd5b6060611247826002541190565b61126457604051630a14c4b560e41b815260040160405180910390fd5b600a61126f8361186f565b604051602001611280929190612021565b6040516020818303038152906040529050919050565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061130a9083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061196d92505050565b611327576040516309bde33960e01b815260040160405180910390fd5b60148311156113495760405163436a537960e01b815260040160405180910390fd5b600d5460025461135a908590611fce565b111561137957604051634c9c5c3360e11b815260040160405180910390fd5b82600f546113879190611fe6565b3410156113a75760405163e079429d60e01b815260040160405180910390fd5b6109db33846115e1565b6005546001600160a01b031633146113db5760405162461bcd60e51b81526004016108b090611f56565b600c805460ff19811660ff90911615179055565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015611450573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147491906120c8565b6001600160a01b03161480156114a357506001600160a01b03841660009081526006602052604090205460ff16155b156114b25760019150506107ac565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b0316331461150e5760405162461bcd60e51b81526004016108b090611f56565b6001600160a01b0381166115735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b0565b610cb28161171f565b6005546001600160a01b031633146115a65760405162461bcd60e51b81526004016108b090611f56565b600e91909155600f55565b610dd282826040518060200160405280600081525061197c565b60006115da82600854856119c1565b9392505050565b6001600160a01b03821661160757604051622e076360e81b815260040160405180910390fd5b806116255760405163b562e8dd60e01b815260040160405180910390fd5b60025460005b60018303811015611683576002805460010181556000908152604051838301916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a460010161162b565b5060028054600180820183556000929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0386161790556116da9083611fb7565b6116e49082611fce565b6040516001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b61178a575060016114dc565b604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117bc9033908990889088906004016120e5565b6020604051808303816000875af19250505080156117f7575060408051601f3d908101601f191682019092526117f491810190612122565b60015b611852573d808015611825576040519150601f19603f3d011682016040523d82523d6000602084013e61182a565b606091505b50805161184a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816118935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118bd57806118a78161213f565b91506118b69050600a83612170565b9150611897565b60008167ffffffffffffffff8111156118d8576118d8611d89565b6040519080825280601f01601f191660200182016040528015611902576020820181803683370190505b5090505b84156114dc57611917600183611fb7565b9150611924600a86612184565b61192f906030611fce565b60f81b81838151811061194457611944611f8b565b60200101906001600160f81b031916908160001a905350611966600a86612170565b9450611906565b60006115da82600954856119c1565b61198683836115e1565b6119a4600084600160028054905061199e9190611fb7565b84611771565b6109db576040516368d2bf6b60e11b815260040160405180910390fd5b6000826119ce85846119d7565b14949350505050565b600081815b8451811015611a435760008582815181106119f9576119f9611f8b565b60200260200101519050808311611a1f5760008381526020829052604090209250611a30565b600081815260208490526040902092505b5080611a3b8161213f565b9150506119dc565b509392505050565b828054611a5790611f1b565b90600052602060002090601f016020900481019282611a795760008555611abf565b82601f10611a925782800160ff19823516178555611abf565b82800160010185558215611abf579182015b82811115611abf578235825591602001919060010190611aa4565b50610fe59291505b80821115610fe55760008155600101611ac7565b6001600160e01b031981168114610cb257600080fd5b600060208284031215611b0357600080fd5b81356115da81611adb565b60005b83811015611b29578181015183820152602001611b11565b83811115610f075750506000910152565b60008151808452611b52816020860160208601611b0e565b601f01601f19169290920160200192915050565b6020815260006115da6020830184611b3a565b600060208284031215611b8b57600080fd5b5035919050565b6001600160a01b0381168114610cb257600080fd5b60008060408385031215611bba57600080fd5b8235611bc581611b92565b946020939093013593505050565b60008060208385031215611be657600080fd5b823567ffffffffffffffff80821115611bfe57600080fd5b818501915085601f830112611c1257600080fd5b813581811115611c2157600080fd5b866020828501011115611c3357600080fd5b60209290920196919550909350505050565b600080600060608486031215611c5a57600080fd5b8335611c6581611b92565b92506020840135611c7581611b92565b929592945050506040919091013590565b60008083601f840112611c9857600080fd5b50813567ffffffffffffffff811115611cb057600080fd5b6020830191508360208260051b8501011115611ccb57600080fd5b9250929050565b60008060008060608587031215611ce857600080fd5b8435611cf381611b92565b935060208501359250604085013567ffffffffffffffff811115611d1657600080fd5b611d2287828801611c86565b95989497509550505050565b600060208284031215611d4057600080fd5b81356115da81611b92565b60008060408385031215611d5e57600080fd5b8235611d6981611b92565b915060208301358015158114611d7e57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611db557600080fd5b8435611dc081611b92565b93506020850135611dd081611b92565b925060408501359150606085013567ffffffffffffffff80821115611df457600080fd5b818701915087601f830112611e0857600080fd5b813581811115611e1a57611e1a611d89565b604051601f8201601f19908116603f01168101908382118183101715611e4257611e42611d89565b816040528281528a6020848701011115611e5b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600060408486031215611e9457600080fd5b83359250602084013567ffffffffffffffff811115611eb257600080fd5b611ebe86828701611c86565b9497909650939450505050565b60008060408385031215611ede57600080fd5b8235611ee981611b92565b91506020830135611d7e81611b92565b60008060408385031215611f0c57600080fd5b50508035926020909101359150565b600181811c90821680611f2f57607f821691505b60208210811415611f5057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611fc957611fc9611fa1565b500390565b60008219821115611fe157611fe1611fa1565b500190565b600081600019048311821515161561200057612000611fa1565b500290565b60008151612017818560208601611b0e565b9290920192915050565b600080845481600182811c91508083168061203d57607f831692505b602080841082141561205d57634e487b7160e01b86526022600452602486fd5b8180156120715760018114612082576120af565b60ff198616895284890196506120af565b60008b81526020902060005b868110156120a75781548b82015290850190830161208e565b505084890196505b5050505050506120bf8185612005565b95945050505050565b6000602082840312156120da57600080fd5b81516115da81611b92565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211890830184611b3a565b9695505050505050565b60006020828403121561213457600080fd5b81516115da81611adb565b600060001982141561215357612153611fa1565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261217f5761217f61215a565b500490565b6000826121935761219361215a565b50069056fea26469706673582212207fe0a76197b47261a526b7dd868b8920d1f0e8e5d7206e5154852ea36f3b996e64736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102465760003560e01c806344e2048d11610139578063a22cb465116100b6578063d2cab0561161007a578063d2cab0561461068c578063e222c7f91461069f578063e985e9c5146106b4578063f2fde38b146106d4578063f621c007146106f4578063f7d975771461072557600080fd5b8063a22cb465146105e2578063b88d4fde14610602578063bc8893b414610622578063c87b56dd1461063c578063c884ef831461065c57600080fd5b8063715018a6116100fd578063715018a6146105545780638da5cb5b14610569578063953332781461058757806395d89b41146105b7578063a035b1fe146105cc57600080fd5b806344e2048d146104b45780634f6ccce7146104d457806355f804b3146104f45780636352211e1461051457806370a082311461053457600080fd5b806323b872dd116101c75780633b4c4b251161018b5780633b4c4b251461041f5780633ccfd60b1461043f5780633d13f8741461045457806342842e0e14610474578063440bc7f31461049457600080fd5b806323b872dd146103a057806327a3181d146103c05780632a1d6190146103d65780632db11544146103ec5780632f745c59146103ff57600080fd5b8063095ea7b31161020e578063095ea7b3146103205780630f7309e8146103405780631096952314610355578063170e96a31461037557806318160ddd1461038b57600080fd5b806301ffc9a71461024b578063047fc9aa1461028057806306fdde03146102a4578063081812fc146102c657806308a3a52b146102fe575b600080fd5b34801561025757600080fd5b5061026b610266366004611af1565b610745565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610296600d5481565b604051908152602001610277565b3480156102b057600080fd5b506102b96107b2565b6040516102779190611b66565b3480156102d257600080fd5b506102e66102e1366004611b79565b610840565b6040516001600160a01b039091168152602001610277565b34801561030a57600080fd5b5061031e610319366004611b79565b610886565b005b34801561032c57600080fd5b5061031e61033b366004611ba7565b6108be565b34801561034c57600080fd5b506102b9610998565b34801561036157600080fd5b5061031e610370366004611bd3565b6109a5565b34801561038157600080fd5b5061029660085481565b34801561039757600080fd5b50600254610296565b3480156103ac57600080fd5b5061031e6103bb366004611c45565b6109e0565b3480156103cc57600080fd5b50610296600f5481565b3480156103e257600080fd5b5061029660095481565b61031e6103fa366004611b79565b610c05565b34801561040b57600080fd5b5061029661041a366004611ba7565b610cb5565b34801561042b57600080fd5b5061031e61043a366004611b79565b610d4a565b34801561044b57600080fd5b5061031e610d79565b34801561046057600080fd5b5061031e61046f366004611cd2565b610dd6565b34801561048057600080fd5b5061031e61048f366004611c45565b610f0d565b3480156104a057600080fd5b5061031e6104af366004611b79565b610f28565b3480156104c057600080fd5b5061031e6104cf366004611b79565b610f57565b3480156104e057600080fd5b506102966104ef366004611b79565b610fbb565b34801561050057600080fd5b5061031e61050f366004611bd3565b610fe9565b34801561052057600080fd5b506102e661052f366004611b79565b61101f565b34801561054057600080fd5b5061029661054f366004611d2e565b6110ba565b34801561056057600080fd5b5061031e61112d565b34801561057557600080fd5b506005546001600160a01b03166102e6565b34801561059357600080fd5b5061026b6105a2366004611d2e565b60066020526000908152604090205460ff1681565b3480156105c357600080fd5b506102b9611163565b3480156105d857600080fd5b50610296600e5481565b3480156105ee57600080fd5b5061031e6105fd366004611d4b565b611170565b34801561060e57600080fd5b5061031e61061d366004611d9f565b611206565b34801561062e57600080fd5b50600c5461026b9060ff1681565b34801561064857600080fd5b506102b9610657366004611b79565b61123a565b34801561066857600080fd5b5061026b610677366004611d2e565b60076020526000908152604090205460ff1681565b61031e61069a366004611e7f565b611296565b3480156106ab57600080fd5b5061031e6113b1565b3480156106c057600080fd5b5061026b6106cf366004611ecb565b6113ef565b3480156106e057600080fd5b5061031e6106ef366004611d2e565b6114e4565b34801561070057600080fd5b5061031e336000908152600660205260409020805460ff19811660ff90911615179055565b34801561073157600080fd5b5061031e610740366004611ef9565b61157c565b60006301ffc9a760e01b6001600160e01b03198316148061077657506380ac58cd60e01b6001600160e01b03198316145b80610791575063780e9d6360e01b6001600160e01b03198316145b806107ac5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600080546107bf90611f1b565b80601f01602080910402602001604051908101604052809291908181526020018280546107eb90611f1b565b80156108385780601f1061080d57610100808354040283529160200191610838565b820191906000526020600020905b81548152906001019060200180831161081b57829003601f168201915b505050505081565b600061084d826002541190565b61086a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6005546001600160a01b031633146108b95760405162461bcd60e51b81526004016108b090611f56565b60405180910390fd5b600855565b60006108c98261101f565b9050806001600160a01b0316836001600160a01b031614156108fe5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091e575061091c81336113ef565b155b1561093c576040516367d9dca160e11b815260040160405180910390fd5b60008281526003602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600b80546107bf90611f1b565b6005546001600160a01b031633146109cf5760405162461bcd60e51b81526004016108b090611f56565b6109db600b8383611a4b565b505050565b6109eb816002541190565b610a0857604051636f96cda160e11b815260040160405180910390fd5b826001600160a01b0316610a1b8261101f565b6001600160a01b031614610a415760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038216610a6857604051633a954ecd60e21b815260040160405180910390fd5b6000336001600160a01b0385161480610a9a5750610a8582610840565b6001600160a01b0316336001600160a01b0316145b80610aaa5750610aaa84336113ef565b905080610aca57604051632ce44b5f60e11b815260040160405180910390fd5b600082815260036020526040902080546001600160a01b03191690556002805484919084908110610afd57610afd611f8b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600082118015610b6c575060006002610b45600185611fb7565b81548110610b5557610b55611f8b565b6000918252602090912001546001600160a01b0316145b15610bbe57836002610b7f600185611fb7565b81548110610b8f57610b8f611f8b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b81836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600c5460ff16610c285760405163b7b2409760e01b815260040160405180910390fd5b6014811115610c4a5760405163436a537960e01b815260040160405180910390fd5b600d54600254610c5b908390611fce565b1115610c7a57604051634c9c5c3360e11b815260040160405180910390fd5b80600e54610c889190611fe6565b341015610ca85760405163e079429d60e01b815260040160405180910390fd5b610cb233826115b1565b50565b6000610cc0836110ba565b8210610cdf576040516306ed618760e11b815260040160405180910390fd5b6002546000905b80831015610d3157610cf78361101f565b6001600160a01b0316856001600160a01b03161415610d265783821415610d1f5750506107ac565b6001909101905b600190920191610ce6565b604051637339954760e01b815260040160405180910390fd5b6005546001600160a01b03163314610d745760405162461bcd60e51b81526004016108b090611f56565b600d55565b6005546001600160a01b03163314610da35760405162461bcd60e51b81526004016108b090611f56565b6040514790339082156108fc029083906000818181858888f19350505050158015610dd2573d6000803e3d6000fd5b5050565b60408051606086901b6bffffffffffffffffffffffff191660208083019190915260348083018790528351808403909101815260549092019092528051910120610e53908383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506115cb92505050565b610e70576040516309bde33960e01b815260040160405180910390fd5b600d54600254610e81908590611fce565b1115610ea057604051634c9c5c3360e11b815260040160405180910390fd5b6001600160a01b03841660009081526007602052604090205460ff1615610eda5760405163494f740f60e01b815260040160405180910390fd5b6001600160a01b0384166000908152600760205260409020805460ff19166001179055610f0784846115e1565b50505050565b6109db83838360405180602001604052806000815250611206565b6005546001600160a01b03163314610f525760405162461bcd60e51b81526004016108b090611f56565b600955565b6005546001600160a01b03163314610f815760405162461bcd60e51b81526004016108b090611f56565b600d54600254610f92908390611fce565b1115610fb157604051634c9c5c3360e11b815260040160405180910390fd5b610cb233826115e1565b6000610fc660025490565b8210610fe5576040516329c8c00760e21b815260040160405180910390fd5b5090565b6005546001600160a01b031633146110135760405162461bcd60e51b81526004016108b090611f56565b6109db600a8383611a4b565b600061102c826002541190565b61104957604051636f96cda160e11b815260040160405180910390fd5b60006001600160a01b03166002838154811061106757611067611f8b565b6000918252602090912001546001600160a01b0316146110af576002828154811061109457611094611f8b565b6000918252602090912001546001600160a01b031692915050565b600190910190611049565b60006001600160a01b0382166110e3576040516323d3ad8160e21b815260040160405180910390fd5b600254600090815b81811015611124576110fc8161101f565b6001600160a01b0316856001600160a01b0316141561111c576001909201915b6001016110eb565b50909392505050565b6005546001600160a01b031633146111575760405162461bcd60e51b81526004016108b090611f56565b611161600061171f565b565b600180546107bf90611f1b565b6001600160a01b03821633141561119a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112118484846109e0565b61121d84848484611771565b610f07576040516368d2bf6b60e11b815260040160405180910390fd5b6060611247826002541190565b61126457604051630a14c4b560e41b815260040160405180910390fd5b600a61126f8361186f565b604051602001611280929190612021565b6040516020818303038152906040529050919050565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061130a9083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061196d92505050565b611327576040516309bde33960e01b815260040160405180910390fd5b60148311156113495760405163436a537960e01b815260040160405180910390fd5b600d5460025461135a908590611fce565b111561137957604051634c9c5c3360e11b815260040160405180910390fd5b82600f546113879190611fe6565b3410156113a75760405163e079429d60e01b815260040160405180910390fd5b6109db33846115e1565b6005546001600160a01b031633146113db5760405162461bcd60e51b81526004016108b090611f56565b600c805460ff19811660ff90911615179055565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015611450573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147491906120c8565b6001600160a01b03161480156114a357506001600160a01b03841660009081526006602052604090205460ff16155b156114b25760019150506107ac565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b0316331461150e5760405162461bcd60e51b81526004016108b090611f56565b6001600160a01b0381166115735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b0565b610cb28161171f565b6005546001600160a01b031633146115a65760405162461bcd60e51b81526004016108b090611f56565b600e91909155600f55565b610dd282826040518060200160405280600081525061197c565b60006115da82600854856119c1565b9392505050565b6001600160a01b03821661160757604051622e076360e81b815260040160405180910390fd5b806116255760405163b562e8dd60e01b815260040160405180910390fd5b60025460005b60018303811015611683576002805460010181556000908152604051838301916001600160a01b038716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a460010161162b565b5060028054600180820183556000929092527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0386161790556116da9083611fb7565b6116e49082611fce565b6040516001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b61178a575060016114dc565b604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117bc9033908990889088906004016120e5565b6020604051808303816000875af19250505080156117f7575060408051601f3d908101601f191682019092526117f491810190612122565b60015b611852573d808015611825576040519150601f19603f3d011682016040523d82523d6000602084013e61182a565b606091505b50805161184a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816118935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118bd57806118a78161213f565b91506118b69050600a83612170565b9150611897565b60008167ffffffffffffffff8111156118d8576118d8611d89565b6040519080825280601f01601f191660200182016040528015611902576020820181803683370190505b5090505b84156114dc57611917600183611fb7565b9150611924600a86612184565b61192f906030611fce565b60f81b81838151811061194457611944611f8b565b60200101906001600160f81b031916908160001a905350611966600a86612170565b9450611906565b60006115da82600954856119c1565b61198683836115e1565b6119a4600084600160028054905061199e9190611fb7565b84611771565b6109db576040516368d2bf6b60e11b815260040160405180910390fd5b6000826119ce85846119d7565b14949350505050565b600081815b8451811015611a435760008582815181106119f9576119f9611f8b565b60200260200101519050808311611a1f5760008381526020829052604090209250611a30565b600081815260208490526040902092505b5080611a3b8161213f565b9150506119dc565b509392505050565b828054611a5790611f1b565b90600052602060002090601f016020900481019282611a795760008555611abf565b82601f10611a925782800160ff19823516178555611abf565b82800160010185558215611abf579182015b82811115611abf578235825591602001919060010190611aa4565b50610fe59291505b80821115610fe55760008155600101611ac7565b6001600160e01b031981168114610cb257600080fd5b600060208284031215611b0357600080fd5b81356115da81611adb565b60005b83811015611b29578181015183820152602001611b11565b83811115610f075750506000910152565b60008151808452611b52816020860160208601611b0e565b601f01601f19169290920160200192915050565b6020815260006115da6020830184611b3a565b600060208284031215611b8b57600080fd5b5035919050565b6001600160a01b0381168114610cb257600080fd5b60008060408385031215611bba57600080fd5b8235611bc581611b92565b946020939093013593505050565b60008060208385031215611be657600080fd5b823567ffffffffffffffff80821115611bfe57600080fd5b818501915085601f830112611c1257600080fd5b813581811115611c2157600080fd5b866020828501011115611c3357600080fd5b60209290920196919550909350505050565b600080600060608486031215611c5a57600080fd5b8335611c6581611b92565b92506020840135611c7581611b92565b929592945050506040919091013590565b60008083601f840112611c9857600080fd5b50813567ffffffffffffffff811115611cb057600080fd5b6020830191508360208260051b8501011115611ccb57600080fd5b9250929050565b60008060008060608587031215611ce857600080fd5b8435611cf381611b92565b935060208501359250604085013567ffffffffffffffff811115611d1657600080fd5b611d2287828801611c86565b95989497509550505050565b600060208284031215611d4057600080fd5b81356115da81611b92565b60008060408385031215611d5e57600080fd5b8235611d6981611b92565b915060208301358015158114611d7e57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611db557600080fd5b8435611dc081611b92565b93506020850135611dd081611b92565b925060408501359150606085013567ffffffffffffffff80821115611df457600080fd5b818701915087601f830112611e0857600080fd5b813581811115611e1a57611e1a611d89565b604051601f8201601f19908116603f01168101908382118183101715611e4257611e42611d89565b816040528281528a6020848701011115611e5b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600060408486031215611e9457600080fd5b83359250602084013567ffffffffffffffff811115611eb257600080fd5b611ebe86828701611c86565b9497909650939450505050565b60008060408385031215611ede57600080fd5b8235611ee981611b92565b91506020830135611d7e81611b92565b60008060408385031215611f0c57600080fd5b50508035926020909101359150565b600181811c90821680611f2f57607f821691505b60208210811415611f5057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015611fc957611fc9611fa1565b500390565b60008219821115611fe157611fe1611fa1565b500190565b600081600019048311821515161561200057612000611fa1565b500290565b60008151612017818560208601611b0e565b9290920192915050565b600080845481600182811c91508083168061203d57607f831692505b602080841082141561205d57634e487b7160e01b86526022600452602486fd5b8180156120715760018114612082576120af565b60ff198616895284890196506120af565b60008b81526020902060005b868110156120a75781548b82015290850190830161208e565b505084890196505b5050505050506120bf8185612005565b95945050505050565b6000602082840312156120da57600080fd5b81516115da81611b92565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211890830184611b3a565b9695505050505050565b60006020828403121561213457600080fd5b81516115da81611adb565b600060001982141561215357612153611fa1565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261217f5761217f61215a565b500490565b6000826121935761219361215a565b50069056fea26469706673582212207fe0a76197b47261a526b7dd868b8920d1f0e8e5d7206e5154852ea36f3b996e64736f6c634300080a0033
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.