ERC-721
Overview
Max Total Supply
56 CHX
Holders
20
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
11 CHXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Chainchecks
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// This is an on-chain derivative of the Checks collection by Jack Butcher /************************************************************************* __ __ __ ____ ____ ____ __ __ __ ___ __ __ _ _____ / ]| | | / || || \ / ]| | | / _] / ]| |/ ]/ ___/ / / | | || o | | | | _ | / / | | | / [_ / / | ' /( \_ / / | _ || | | | | | |/ / | _ || _]/ / | \ \__ | / \_ | | || _ | | | | | / \_ | | || [_/ \_ | \/ \ | \ || | || | | | | | | \ || | || \ || . |\ | \____||__|__||__|__||____||__|__|\____||__|__||_____|\____||__|\_| \___| *************************************************************************/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Chainchecks is ERC721A, Ownable { bool public mintActive = false; uint public price = 1000000000000000; // 0.001 eth constructor() ERC721A("Chainchecks", "CHX") {} function mint(uint256 quantity) external payable { require(msg.value >= price * quantity, "Insufficient fee"); require(mintActive, "Mint is closed"); _mint(msg.sender, quantity); } function startMint() external onlyOwner { mintActive = true; } function stopMint() external onlyOwner { mintActive = false; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory name = string(abi.encodePacked("Chainchecks #", uint2str(tokenId))); string memory json = string(abi.encodePacked( '{"name": "', name, '", "description": "This artwork may or may not be on chain.", "attributes":[{"trait_type": "number", "value": ', uint2str(tokenId), '}], "image": "data:image/svg+xml;base64,P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0iMSIgZmlsbD0iIzYwQjFGNCIvPgo8cmVjdCB4PSIyNSIgeT0iMjEiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiM2RDJGMjIiLz4KPHJlY3QgeD0iMjUiIHk9IjIzIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjRTBDOTYzIi8+CjxyZWN0IHg9IjI1IiB5PSIyNSIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0iI0VFODI4RiIvPgo8cmVjdCB4PSIyNSIgeT0iMjciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiM3QTVBQjQiLz4KPC9zdmc+Cg=="}' )); return string(abi.encodePacked("data:application/json;base64,", Base64.encode(bytes(json)))); } function withdraw() external onlyOwner { require(payable(msg.sender).send(address(this).balance)); } function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) 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_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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" ] } } }
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":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintActive","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMint","outputs":[],"stateMutability":"nonpayable","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":[{"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff60a01b1916905566038d7ea4c680006009553480156200002957600080fd5b506040518060400160405280600b81526020016a436861696e636865636b7360a81b8152506040518060400160405280600381526020016208690b60eb1b81525081600290816200007b91906200019a565b5060036200008a82826200019a565b50506001600055506200009d33620000a3565b62000266565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012057607f821691505b6020821081036200014157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019557600081815260208120601f850160051c81016020861015620001705750805b601f850160051c820191505b8181101562000191578281556001016200017c565b5050505b505050565b81516001600160401b03811115620001b657620001b6620000f5565b620001ce81620001c784546200010b565b8462000147565b602080601f831160018114620002065760008415620001ed5750858301515b600019600386901b1c1916600185901b17855562000191565b600085815260208120601f198616915b82811015620002375788860151825594840194600190910190840162000216565b5085821015620002565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6133b180620002766000396000f3fe6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb46514610332578063b88d4fde14610352578063c87b56dd14610365578063d558296514610385578063e985e9c51461039a578063f2fde38b146103ba57600080fd5b806370a08231146102a1578063715018a6146102c15780638da5cb5b146102d657806395d89b41146102f4578063a035b1fe14610309578063a0712d681461031f57600080fd5b806323b872dd1161010857806323b872dd1461021057806325fd90f3146102235780632be09561146102445780633ccfd60b1461025957806342842e0e1461026e5780636352211e1461028157600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b506101656101603660046110c5565b6103da565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61042c565b6040516101719190611132565b3480156101a857600080fd5b506101bc6101b7366004611145565b6104be565b6040516001600160a01b039091168152602001610171565b6101e76101e236600461117a565b610502565b005b3480156101f557600080fd5b5060015460005403600019015b604051908152602001610171565b6101e761021e3660046111a4565b6105a2565b34801561022f57600080fd5b5060085461016590600160a01b900460ff1681565b34801561025057600080fd5b506101e761073a565b34801561026557600080fd5b506101e7610757565b6101e761027c3660046111a4565b610785565b34801561028d57600080fd5b506101bc61029c366004611145565b6107a5565b3480156102ad57600080fd5b506102026102bc3660046111e0565b6107b0565b3480156102cd57600080fd5b506101e76107ff565b3480156102e257600080fd5b506008546001600160a01b03166101bc565b34801561030057600080fd5b5061018f610811565b34801561031557600080fd5b5061020260095481565b6101e761032d366004611145565b610820565b34801561033e57600080fd5b506101e761034d3660046111fb565b6108cc565b6101e761036036600461124d565b610938565b34801561037157600080fd5b5061018f610380366004611145565b610982565b34801561039157600080fd5b506101e7610a35565b3480156103a657600080fd5b506101656103b5366004611329565b610a4c565b3480156103c657600080fd5b506101e76103d53660046111e0565b610a7a565b60006301ffc9a760e01b6001600160e01b03198316148061040b57506380ac58cd60e01b6001600160e01b03198316145b806104265750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461043b9061135c565b80601f01602080910402602001604051908101604052809291908181526020018280546104679061135c565b80156104b45780601f10610489576101008083540402835291602001916104b4565b820191906000526020600020905b81548152906001019060200180831161049757829003601f168201915b5050505050905090565b60006104c982610af0565b6104e6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061050d826107a5565b9050336001600160a01b03821614610546576105298133610a4c565b610546576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105ad82610b25565b9050836001600160a01b0316816001600160a01b0316146105e05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761062d576106108633610a4c565b61062d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661065457604051633a954ecd60e21b815260040160405180910390fd5b801561065f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036106f1576001840160008181526004602052604081205490036106ef5760005481146106ef5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610742610b9b565b6008805460ff60a01b1916600160a01b179055565b61075f610b9b565b60405133904780156108fc02916000818181858888f1935050505061078357600080fd5b565b6107a083838360405180602001604052806000815250610938565b505050565b600061042682610b25565b60006001600160a01b0382166107d9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610807610b9b565b6107836000610bf5565b60606003805461043b9061135c565b8060095461082e91906113ac565b3410156108755760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b60448201526064015b60405180910390fd5b600854600160a01b900460ff166108bf5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d081a5cc818db1bdcd95960921b604482015260640161086c565b6108c93382610c47565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109438484846105a2565b6001600160a01b0383163b1561097c5761095f84848484610d45565b61097c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061098d82610af0565b6109aa57604051630a14c4b560e41b815260040160405180910390fd5b60006109b583610e30565b6040516020016109c591906113c3565b60405160208183030381529060405290506000816109e285610e30565b6040516020016109f39291906113f8565b6040516020818303038152906040529050610a0d81610f5c565b604051602001610a1d919061320c565b60405160208183030381529060405292505050919050565b610a3d610b9b565b6008805460ff60a01b19169055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610a82610b9b565b6001600160a01b038116610ae75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161086c565b6108c981610bf5565b600081600111158015610b04575060005482105b8015610426575050600090815260046020526040902054600160e01b161590565b60008180600111610b8257600054811015610b825760008181526004602052604081205490600160e01b82169003610b80575b80600003610b79575060001901600081815260046020526040902054610b58565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146107835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805490829003610c6c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610d1b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ce3565b5081600003610d3c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d7a903390899088908890600401613251565b6020604051808303816000875af1925050508015610db5575060408051601f3d908101601f19168201909252610db29181019061328e565b60015b610e13573d808015610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b508051600003610e0b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081600003610e575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e815780610e6b816132ab565b9150610e7a9050600a836132c4565b9150610e5b565b60008167ffffffffffffffff811115610e9c57610e9c611237565b6040519080825280601f01601f191660200182016040528015610ec6576020820181803683370190505b509050815b8515610f5357610edc6001826132e6565b90506000610eeb600a886132c4565b610ef690600a6113ac565b610f0090886132e6565b610f0b9060306132f9565b905060008160f81b905080848481518110610f2857610f28613312565b60200101906001600160f81b031916908160001a905350610f4a600a896132c4565b97505050610ecb565b50949350505050565b60608151600003610f7b57505060408051602081019091526000815290565b600060405180606001604052806040815260200161333c6040913990506000600384516002610faa9190613328565b610fb491906132c4565b610fbf9060046113ac565b67ffffffffffffffff811115610fd757610fd7611237565b6040519080825280601f01601f191660200182016040528015611001576020820181803683370190505b509050600182016020820185865187015b8082101561106d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611012565b5050600386510660018114611089576002811461109c576110a4565b603d6001830353603d60028303536110a4565b603d60018303535b509195945050505050565b6001600160e01b0319811681146108c957600080fd5b6000602082840312156110d757600080fd5b8135610b79816110af565b60005b838110156110fd5781810151838201526020016110e5565b50506000910152565b6000815180845261111e8160208601602086016110e2565b601f01601f19169290920160200192915050565b602081526000610b796020830184611106565b60006020828403121561115757600080fd5b5035919050565b80356001600160a01b038116811461117557600080fd5b919050565b6000806040838503121561118d57600080fd5b6111968361115e565b946020939093013593505050565b6000806000606084860312156111b957600080fd5b6111c28461115e565b92506111d06020850161115e565b9150604084013590509250925092565b6000602082840312156111f257600080fd5b610b798261115e565b6000806040838503121561120e57600080fd5b6112178361115e565b91506020830135801515811461122c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561126357600080fd5b61126c8561115e565b935061127a6020860161115e565b925060408501359150606085013567ffffffffffffffff8082111561129e57600080fd5b818701915087601f8301126112b257600080fd5b8135818111156112c4576112c4611237565b604051601f8201601f19908116603f011681019083821181831017156112ec576112ec611237565b816040528281528a602084870101111561130557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561133c57600080fd5b6113458361115e565b91506113536020840161115e565b90509250929050565b600181811c9082168061137057607f821691505b60208210810361139057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042657610426611396565b6c436861696e636865636b73202360981b8152600082516113eb81600d8501602087016110e2565b91909101600d0192915050565b693d913730b6b2911d101160b11b8152825160009061141e81600a8501602088016110e2565b7f222c20226465736372697074696f6e223a20225468697320617274776f726b20600a918401918201527f6d6179206f72206d6179206e6f74206265206f6e20636861696e2e222c202261602a8201527f747472696275746573223a5b7b2274726169745f74797065223a20226e756d62604a8201526d032b9111610113b30b63ab2911d160951b606a82015283516114be8160788401602088016110e2565b8082019150507f7d5d2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c60788201527f3b6261736536342c50484e325a79423462577875637a30696148523063446f7660988201527f4c336433647935334d793576636d63764d6a41774d43397a646d63694948427960b88201527f5a584e6c636e5a6c51584e775a574e30556d463061573839496e684e6157355a60d88201527f54576c754947316c5a585169494864705a48526f505349324d4441694947686c60f88201527f6157646f644430694e6a41774969423261575633516d393450534977494441676101188201527f4d7a63674d7a636949475a7062477739496d3576626d556950676f38636d566a6101388201527f6443423361575230614430694d7a63694947686c6157646f644430694d7a63696101588201527f49475a706247773949694e46516b5643525549694c7a344b50484a6c593351676101788201527f654430694d54416949486b39496a6769494864705a48526f505349784e7949676101988201527f614756705a326830505349794d5349675a6d6c736244306964326870644755696101b88201527f4c7a344b50484a6c59335167654430694d54456949486b39496a6b69494864706101d88201527f5a48526f505349784969426f5a576c6e61485139496a456949475a7062477739806101f88301527f49694e45516a4d354e5555694c7a344b50484a6c59335167654430694d5445696102188301527f49486b39496a45784969423361575230614430694d534967614756705a3268306102388301527f505349784969426d615778735053496a4d6b55324e6a68434969382b436a78796102588301527f5a574e3049486739496a457849694235505349784d79496764326c6b644767396102788301527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493059776102988301527f51544d7a5153497650676f38636d566a64434234505349784d534967655430696102b88301527f4d545569494864705a48526f505349784969426f5a576c6e61485139496a45696102d88301527f49475a706247773949694d314d6a564651546b694c7a344b50484a6c593351676102f88301527f654430694d54456949486b39496a45334969423361575230614430694d5349676103188301527f614756705a326830505349784969426d615778735053496a4d7a4d334e5468446103388301527f4969382b436a78795a574e3049486739496a457849694235505349784f5349676103588301527f64326c6b64476739496a45694947686c6157646f644430694d5349675a6d6c73806103788401527f62443069493056424e30497a4d43497650676f38636d566a64434234505349786103988401527f4d534967655430694d6a4569494864705a48526f505349784969426f5a576c6e6103b88401527f61485139496a456949475a706247773949694d354e6a63354d7a45694c7a344b6103d88401527f50484a6c59335167654430694d54456949486b39496a497a49694233615752306103f88401527f614430694d534967614756705a326830505349784969426d615778735053496a806104188501527f4e4441324f454d774969382b436a78795a574e3049486739496a4578496942356104388501527f505349794e53496764326c6b64476739496a45694947686c6157646f644430696104588501527f4d5349675a6d6c73624430694930593352446b305153497650676f38636d566a6104788501527f64434234505349784d534967655430694d6a6369494864705a48526f505349786104988501527f4969426f5a576c6e61485139496a456949475a706247773949694d7a4d6a4a476104b88501527f4f5441694c7a344b50484a6c59335167654430694d544d6949486b39496a6b696104d88501527f494864705a48526f505349784969426f5a576c6e61485139496a456949475a70806104f88601527f6247773949694d324d4449794e6a4d694c7a344b50484a6c59335167654430696105188601527f4d544d6949486b39496a45784969423361575230614430694d534967614756706105388601527f5a326830505349784969426d615778735053496a526a5a44516b45324969382b6105588601527f436a78795a574e3049486739496a457a49694235505349784d79496764326c6b6105788601527f64476739496a45694947686c6157646f644430694d5349675a6d6c7362443069806105988701527f497a5642516b46454d79497650676f38636d566a64434234505349784d7949676105b88701527f655430694d545569494864705a48526f505349784969426f5a576c6e614851396105d88701527f496a456949475a706247773949694e46517a637a4e6a67694c7a344b50484a6c6105f88701527f59335167654430694d544d6949486b39496a45334969423361575230614430696106188701527f4d534967614756705a326830505349784969426d615778735053496a526a41356106388701527f4f444d334969382b436a78795a574e3049486739496a457a49694235505349786106588701527f4f53496764326c6b64476739496a45694947686c6157646f644430694d5349676106788701527f5a6d6c7362443069497a4e464f454a424d79497650676f38636d566a644342346106988701527f505349784d794967655430694d6a4569494864705a48526f505349784969426f6106b88701527f5a576c6e61485139496a456949475a706247773949694e454e544d7a4d6b59696106d88701527f4c7a344b50484a6c59335167654430694d544d6949486b39496a497a496942336106f88701527f61575230614430694d534967614756705a326830505349784969426d61577873806107188801527f5053496a526a6c45515452454969382b436a78795a574e3049486739496a457a6107388801527f49694235505349794e53496764326c6b64476739496a45694947686c6157646f6107588801527f644430694d5349675a6d6c736244306949304d33525552474d69497650676f386107788801527f636d566a64434234505349784d794967655430694d6a6369494864705a48526f6107988801527f505349784969426f5a576c6e61485139496a456949475a706247773949694e466107b88801527f4f4451794e4555694c7a344b50484a6c59335167654430694d54556949486b396107d88801527f496a6b69494864705a48526f505349784969426f5a576c6e61485139496a45696107f88801527f49475a706247773949694d31517a677a513049694c7a344b50484a6c593351676108188801527f654430694d54556949486b39496a45784969423361575230614430694d5349676108388801527f614756705a326830505349784969426d615778735053496a5245457a4d7a49786108588801527f4969382b436a78795a574e3049486739496a453149694235505349784d794967610878880152846108988801527f6244306949305132526a52464d53497650676f38636d566a64434234505349786108b88801527f4e534967655430694d545569494864705a48526f505349784969426f5a576c6e6108d88801527f61485139496a456949475a706247773949694e47516b56424e5549694c7a344b6108f88801527f50484a6c59335167654430694d54556949486b39496a45334969423361575230610918880152836109388801527f4f5546454f555a434969382b436a78795a574e3049486739496a4531496942356109588801527f505349784f53496764326c6b64476739496a45694947686c6157646f644430696109788801527f4d5349675a6d6c736244306949305977515442445153497650676f38636d566a6109988801527f64434234505349784e534967655430694d6a4569494864705a48526f505349786109b88801527f4969426f5a576c6e61485139496a456949475a706247773949694e464e7a4e466109d88801527f4e544d694c7a344b50484a6c59335167654430694d54556949486b39496a497a6109f88801527f4969423361575230614430694d534967614756705a326830505349784969426d80610a188901527f615778735053496a4e7a64454d3052464969382b436a78795a574e3049486739610a388901527f496a453149694235505349794e53496764326c6b64476739496a45694947686c610a588901527f6157646f644430694d5349675a6d6c736244306949305979516a4d304d534976610a788901527f50676f38636d566a64434234505349784e534967655430694d6a636949486470610a9889015286610ab88901527f49694d79525451354f4455694c7a344b50484a6c59335167654430694d546369610ad88901527f49486b39496a6b69494864705a48526f505349784969426f5a576c6e61485139610af88901527f496a456949475a706247773949694e434d555647517a6b694c7a344b50484a6c610b188901527f59335167654430694d54636949486b39496a4578496942336157523061443069610b388901527f4d534967614756705a326830505349784969426d615778735053496a4d6b5131610b588901527f4d7a55794969382b436a78795a574e3049486739496a45334969423550534978610b788901527f4d79496764326c6b64476739496a45694947686c6157646f644430694d534967610b988901527f5a6d6c736244306949305178524559305269497650676f38636d566a64434234610bb88901527f505349784e794967655430694d545569494864705a48526f505349784969426f610bd88901527f5a576c6e61485139496a456949475a706247773949694d354d304e474f546769610bf88901527f4c7a344b50484a6c59335167654430694d54636949486b39496a453349694233610c1889015281610c388901527f5053496a526a644552446c434969382b436a78795a574e3049486739496a4533610c588901527f49694235505349784f53496764326c6b64476739496a45694947686c6157646f610c788901527f644430694d5349675a6d6c7362443069497a52454d7a59314f43497650676f38610c988901527f636d566a64434234505349784e794967655430694d6a4569494864705a48526f610cb88901527f505349784969426f5a576c6e61485139496a456949475a706247773949694d79610cd88901527f526a49794e444d694c7a344b50484a6c59335167654430694d54636949486b39610cf88901527f496a497a4969423361575230614430694d534967614756705a32683050534978610d188901527f4969426d615778735053496a4e6b45314e544a424969382b436a78795a574e30610d388901527f49486739496a453349694235505349794e53496764326c6b64476739496a4569610d588901527f4947686c6157646f644430694d5349675a6d6c7362443069493056424e55497a610d788901527f4d79497650676f38636d566a64434234505349784e794967655430694d6a6369610d9889015283610db88901527f6247773949694d31526b4d35516b59694c7a344b50484a6c5933516765443069610dd88901527f4d546b6949486b39496a6b69494864705a48526f505349784969426f5a576c6e610df88901527f61485139496a456949475a706247773949694d794e54517a4f454d694c7a344b610e188901527f50484a6c59335167654430694d546b6949486b39496a45784969423361575230610e3889015284610e588901527f4e555a44524468444969382b436a78795a574e3049486739496a453549694235610e788901527f505349784d79496764326c6b64476739496a45694947686c6157646f64443069610e988901527f4d5349675a6d6c736244306949304530517a68465253497650676f38636d566a610eb88901527f64434234505349784f534967655430694d545569494864705a48526f50534978610ed88901527f4969426f5a576c6e61485139496a456949475a706247773949694e46516a5642610ef88901527f4d6b45694c7a344b50484a6c59335167654430694d546b6949486b39496a4533610f1889015280610f388901527f615778735053496a526b46464e6a597a4969382b436a78795a574e3049486739610f588901527f496a453549694235505349784f53496764326c6b64476739496a45694947686c610f788901527f6157646f644430694d5349675a6d6c7362443069497a67785244464651794976610f988901527f50676f38636d566a64434234505349784f534967655430694d6a456949486470610fb889015286610fd88901527f49694e45516a52454e5467694c7a344b50484a6c59335167654430694d546b69610ff88901527f49486b39496a497a4969423361575230614430694d534967614756705a3268306110188901527f505349784969426d615778735053496a4f4545794d6a4d314969382b436a78796110388901527f5a574e3049486739496a453549694235505349794e53496764326c6b644767396110588901527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493051356110788901527f4e3051795253497650676f38636d566a64434234505349784f534967655430696110988901527f4d6a6369494864705a48526f505349784969426f5a576c6e61485139496a45696110b88901527f49475a706247773949694e474f5552434e446b694c7a344b50484a6c593351676110d88901527f654430694d6a456949486b39496a6b69494864705a48526f505349784969426f6110f88901527f5a576c6e61485139496a456949475a706247773949694d33515449314d6a41696111188901527f4c7a344b50484a6c59335167654430694d6a456949486b39496a457849694233611138890152816111588901527f5053496a4e4449354d5545344969382b436a78795a574e3049486739496a49786111788901527f49694235505349784d79496764326c6b64476739496a45694947686c6157646f6111988901527f644430694d5349675a6d6c7362443069493056474f446b7a4d79497650676f386111b88901527f636d566a64434234505349794d534967655430694d545569494864705a48526f6111d88901527f505349784969426f5a576c6e61485139496a456949475a706247773949694e436111f88901527f4f444a444d7a59694c7a344b50484a6c59335167654430694d6a456949486b396112188901527f496a45334969423361575230614430694d534967614756705a326830505349786112388901527f4969426d615778735053496a526a524352454a464969382b436a78795a574e306112588901527f49486739496a497849694235505349784f53496764326c6b64476739496a45696112788901527f4947686c6157646f644430694d5349675a6d6c7362443069497a4e434d6b597a6112988901527f4f53497650676f38636d566a64434234505349794d534967655430694d6a45696112b8890152836112d88901527f6247773949694e474d6b45354d304d694c7a344b50484a6c59335167654430696112f88901527f4d6a456949486b39496a497a4969423361575230614430694d534967614756706113188901527f5a326830505349784969426d615778735053496a526b46464d6a63794969382b6113388901527f436a78795a574e3049486739496a497849694235505349794e53496764326c6b611358890152826113788901527f49304643524551304e53497650676f38636d566a64434234505349794d5349676113988901527f655430694d6a6369494864705a48526f505349784969426f5a576c6e614851396113b88901527f496a456949475a706247773949694d305155457a4f5449694c7a344b50484a6c6113d88901527f59335167654430694d6a4d6949486b39496a6b69494864705a48526f505349786113f88901527f4969426f5a576c6e61485139496a456949475a706247773949694d344e554d7a6114188901527f4d304d694c7a344b50484a6c59335167654430694d6a4d6949486b39496a45786114388901528061145889015250507f615778735053496a52555934517a4d334969382b436a78795a574e30494867396114788701527f496a497a49694235505349784d79496764326c6b64476739496a45694947686c6114988701527f6157646f644430694d5349675a6d6c736244306949304533524552474f5349766114b88701527f50676f38636d566a64434234505349794d794967655430694d545569494864706114d8870152846114f88701527f49694e4651544e424d6b51694c7a344b50484a6c59335167654430694d6a4d696115188701527f49486b39496a45334969423361575230614430694d534967614756705a3268306115388701527f505349784969426d615778735053496a526a6444515455334969382b436a78796115588701527f5a574e3049486739496a497a49694235505349784f53496764326c6b644767396115788701527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493059796115988701527f51546b7a5169497650676f38636d566a64434234505349794d794967655430696115b88701527f4d6a4569494864705a48526f505349784969426f5a576c6e61485139496a45696115d88701527f49475a706247773949694d3151546c474d3055694c7a344b50484a6c593351676115f88701527f654430694d6a4d6949486b39496a497a4969423361575230614430694d5349676116188701527f614756705a326830505349784969426d615778735053496a525549304e4449356116388701527f4969382b436a78795a574e3049486739496a497a49694235505349794e534967611658870152836116788701527f6244306949305979515467304d43497650676f38636d566a64434234505349796116988701527f4d794967655430694d6a6369494864705a48526f505349784969426f5a576c6e6116b88701527f61485139496a456949475a706247773949694e4552544d794d7a63694c7a344b6116d88701527f50484a6c59335167654430694d6a556949486b39496a6b69494864705a48526f6116f88701527f505349784969426f5a576c6e61485139496a456949475a706247773949694e446117188701527f4d6a4d314d7a49694c7a344b50484a6c59335167654430694d6a556949486b396117388701527f496a45784969423361575230614430694d534967614756705a326830505349786117588701527f4969426d615778735053496a4e544d314e6a67334969382b436a78795a574e306117788701527f49486739496a493149694235505349784d79496764326c6b64476739496a45696117988701527f4947686c6157646f644430694d5349675a6d6c7362443069497a6c4552555a436117b88701527f5269497650676f38636d566a64434234505349794e534967655430694d5455696117d8870152816117f88701527f6247773949694e474e6b4e434e4455694c7a344b50484a6c59335167654430696118188701527f4d6a556949486b39496a45334969423361575230614430694d534967614756706118388701527f5a326830505349784969426d615778735053496a525555344d7a64454969382b6118588701527f436a78795a574e3049486739496a493149694235505349784f53496764326c6b6118788701528061189887015250505050507f497a5977516a46474e43497650676f38636d566a64434234505349794e5349676118b88201527f655430694d6a4569494864705a48526f505349784969426f5a576c6e614851396118d88201527f496a456949475a706247773949694d3252444a474d6a49694c7a344b50484a6c6118f88201527f59335167654430694d6a556949486b39496a497a4969423361575230614430696119188201527f4d534967614756705a326830505349784969426d615778735053496a525442446119388201527f4f54597a4969382b436a78795a574e3049486739496a493149694235505349796119588201527f4e53496764326c6b64476739496a45694947686c6157646f644430694d5349676119788201527f5a6d6c7362443069493056464f4449345269497650676f38636d566a644342346119988201527f505349794e534967655430694d6a6369494864705a48526f505349784969426f6119b88201527f5a576c6e61485139496a456949475a706247773949694d3351545642516a51696119d8820152714c7a344b5043397a646d632b43673d3d227d60701b6119f8820152611a0a81019150509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161324481601d8501602087016110e2565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061328490830184611106565b9695505050505050565b6000602082840312156132a057600080fd5b8151610b79816110af565b6000600182016132bd576132bd611396565b5060010190565b6000826132e157634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561042657610426611396565b60ff818116838216019081111561042657610426611396565b634e487b7160e01b600052603260045260246000fd5b808201808211156104265761042661139656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201cf7755d30d644af51e42bba582c269e93f667ec4c988eb9e8a333e93a9310dc64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb46514610332578063b88d4fde14610352578063c87b56dd14610365578063d558296514610385578063e985e9c51461039a578063f2fde38b146103ba57600080fd5b806370a08231146102a1578063715018a6146102c15780638da5cb5b146102d657806395d89b41146102f4578063a035b1fe14610309578063a0712d681461031f57600080fd5b806323b872dd1161010857806323b872dd1461021057806325fd90f3146102235780632be09561146102445780633ccfd60b1461025957806342842e0e1461026e5780636352211e1461028157600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101e9575b600080fd5b34801561015157600080fd5b506101656101603660046110c5565b6103da565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f61042c565b6040516101719190611132565b3480156101a857600080fd5b506101bc6101b7366004611145565b6104be565b6040516001600160a01b039091168152602001610171565b6101e76101e236600461117a565b610502565b005b3480156101f557600080fd5b5060015460005403600019015b604051908152602001610171565b6101e761021e3660046111a4565b6105a2565b34801561022f57600080fd5b5060085461016590600160a01b900460ff1681565b34801561025057600080fd5b506101e761073a565b34801561026557600080fd5b506101e7610757565b6101e761027c3660046111a4565b610785565b34801561028d57600080fd5b506101bc61029c366004611145565b6107a5565b3480156102ad57600080fd5b506102026102bc3660046111e0565b6107b0565b3480156102cd57600080fd5b506101e76107ff565b3480156102e257600080fd5b506008546001600160a01b03166101bc565b34801561030057600080fd5b5061018f610811565b34801561031557600080fd5b5061020260095481565b6101e761032d366004611145565b610820565b34801561033e57600080fd5b506101e761034d3660046111fb565b6108cc565b6101e761036036600461124d565b610938565b34801561037157600080fd5b5061018f610380366004611145565b610982565b34801561039157600080fd5b506101e7610a35565b3480156103a657600080fd5b506101656103b5366004611329565b610a4c565b3480156103c657600080fd5b506101e76103d53660046111e0565b610a7a565b60006301ffc9a760e01b6001600160e01b03198316148061040b57506380ac58cd60e01b6001600160e01b03198316145b806104265750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461043b9061135c565b80601f01602080910402602001604051908101604052809291908181526020018280546104679061135c565b80156104b45780601f10610489576101008083540402835291602001916104b4565b820191906000526020600020905b81548152906001019060200180831161049757829003601f168201915b5050505050905090565b60006104c982610af0565b6104e6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061050d826107a5565b9050336001600160a01b03821614610546576105298133610a4c565b610546576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006105ad82610b25565b9050836001600160a01b0316816001600160a01b0316146105e05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761062d576106108633610a4c565b61062d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661065457604051633a954ecd60e21b815260040160405180910390fd5b801561065f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036106f1576001840160008181526004602052604081205490036106ef5760005481146106ef5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610742610b9b565b6008805460ff60a01b1916600160a01b179055565b61075f610b9b565b60405133904780156108fc02916000818181858888f1935050505061078357600080fd5b565b6107a083838360405180602001604052806000815250610938565b505050565b600061042682610b25565b60006001600160a01b0382166107d9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610807610b9b565b6107836000610bf5565b60606003805461043b9061135c565b8060095461082e91906113ac565b3410156108755760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742066656560801b60448201526064015b60405180910390fd5b600854600160a01b900460ff166108bf5760405162461bcd60e51b815260206004820152600e60248201526d135a5b9d081a5cc818db1bdcd95960921b604482015260640161086c565b6108c93382610c47565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109438484846105a2565b6001600160a01b0383163b1561097c5761095f84848484610d45565b61097c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061098d82610af0565b6109aa57604051630a14c4b560e41b815260040160405180910390fd5b60006109b583610e30565b6040516020016109c591906113c3565b60405160208183030381529060405290506000816109e285610e30565b6040516020016109f39291906113f8565b6040516020818303038152906040529050610a0d81610f5c565b604051602001610a1d919061320c565b60405160208183030381529060405292505050919050565b610a3d610b9b565b6008805460ff60a01b19169055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610a82610b9b565b6001600160a01b038116610ae75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161086c565b6108c981610bf5565b600081600111158015610b04575060005482105b8015610426575050600090815260046020526040902054600160e01b161590565b60008180600111610b8257600054811015610b825760008181526004602052604081205490600160e01b82169003610b80575b80600003610b79575060001901600081815260046020526040902054610b58565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146107835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161086c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805490829003610c6c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610d1b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ce3565b5081600003610d3c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d7a903390899088908890600401613251565b6020604051808303816000875af1925050508015610db5575060408051601f3d908101601f19168201909252610db29181019061328e565b60015b610e13573d808015610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b508051600003610e0b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081600003610e575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610e815780610e6b816132ab565b9150610e7a9050600a836132c4565b9150610e5b565b60008167ffffffffffffffff811115610e9c57610e9c611237565b6040519080825280601f01601f191660200182016040528015610ec6576020820181803683370190505b509050815b8515610f5357610edc6001826132e6565b90506000610eeb600a886132c4565b610ef690600a6113ac565b610f0090886132e6565b610f0b9060306132f9565b905060008160f81b905080848481518110610f2857610f28613312565b60200101906001600160f81b031916908160001a905350610f4a600a896132c4565b97505050610ecb565b50949350505050565b60608151600003610f7b57505060408051602081019091526000815290565b600060405180606001604052806040815260200161333c6040913990506000600384516002610faa9190613328565b610fb491906132c4565b610fbf9060046113ac565b67ffffffffffffffff811115610fd757610fd7611237565b6040519080825280601f01601f191660200182016040528015611001576020820181803683370190505b509050600182016020820185865187015b8082101561106d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845350600183019250611012565b5050600386510660018114611089576002811461109c576110a4565b603d6001830353603d60028303536110a4565b603d60018303535b509195945050505050565b6001600160e01b0319811681146108c957600080fd5b6000602082840312156110d757600080fd5b8135610b79816110af565b60005b838110156110fd5781810151838201526020016110e5565b50506000910152565b6000815180845261111e8160208601602086016110e2565b601f01601f19169290920160200192915050565b602081526000610b796020830184611106565b60006020828403121561115757600080fd5b5035919050565b80356001600160a01b038116811461117557600080fd5b919050565b6000806040838503121561118d57600080fd5b6111968361115e565b946020939093013593505050565b6000806000606084860312156111b957600080fd5b6111c28461115e565b92506111d06020850161115e565b9150604084013590509250925092565b6000602082840312156111f257600080fd5b610b798261115e565b6000806040838503121561120e57600080fd5b6112178361115e565b91506020830135801515811461122c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561126357600080fd5b61126c8561115e565b935061127a6020860161115e565b925060408501359150606085013567ffffffffffffffff8082111561129e57600080fd5b818701915087601f8301126112b257600080fd5b8135818111156112c4576112c4611237565b604051601f8201601f19908116603f011681019083821181831017156112ec576112ec611237565b816040528281528a602084870101111561130557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561133c57600080fd5b6113458361115e565b91506113536020840161115e565b90509250929050565b600181811c9082168061137057607f821691505b60208210810361139057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042657610426611396565b6c436861696e636865636b73202360981b8152600082516113eb81600d8501602087016110e2565b91909101600d0192915050565b693d913730b6b2911d101160b11b8152825160009061141e81600a8501602088016110e2565b7f222c20226465736372697074696f6e223a20225468697320617274776f726b20600a918401918201527f6d6179206f72206d6179206e6f74206265206f6e20636861696e2e222c202261602a8201527f747472696275746573223a5b7b2274726169745f74797065223a20226e756d62604a8201526d032b9111610113b30b63ab2911d160951b606a82015283516114be8160788401602088016110e2565b8082019150507f7d5d2c2022696d616765223a2022646174613a696d6167652f7376672b786d6c60788201527f3b6261736536342c50484e325a79423462577875637a30696148523063446f7660988201527f4c336433647935334d793576636d63764d6a41774d43397a646d63694948427960b88201527f5a584e6c636e5a6c51584e775a574e30556d463061573839496e684e6157355a60d88201527f54576c754947316c5a585169494864705a48526f505349324d4441694947686c60f88201527f6157646f644430694e6a41774969423261575633516d393450534977494441676101188201527f4d7a63674d7a636949475a7062477739496d3576626d556950676f38636d566a6101388201527f6443423361575230614430694d7a63694947686c6157646f644430694d7a63696101588201527f49475a706247773949694e46516b5643525549694c7a344b50484a6c593351676101788201527f654430694d54416949486b39496a6769494864705a48526f505349784e7949676101988201527f614756705a326830505349794d5349675a6d6c736244306964326870644755696101b88201527f4c7a344b50484a6c59335167654430694d54456949486b39496a6b69494864706101d88201527f5a48526f505349784969426f5a576c6e61485139496a456949475a7062477739806101f88301527f49694e45516a4d354e5555694c7a344b50484a6c59335167654430694d5445696102188301527f49486b39496a45784969423361575230614430694d534967614756705a3268306102388301527f505349784969426d615778735053496a4d6b55324e6a68434969382b436a78796102588301527f5a574e3049486739496a457849694235505349784d79496764326c6b644767396102788301527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493059776102988301527f51544d7a5153497650676f38636d566a64434234505349784d534967655430696102b88301527f4d545569494864705a48526f505349784969426f5a576c6e61485139496a45696102d88301527f49475a706247773949694d314d6a564651546b694c7a344b50484a6c593351676102f88301527f654430694d54456949486b39496a45334969423361575230614430694d5349676103188301527f614756705a326830505349784969426d615778735053496a4d7a4d334e5468446103388301527f4969382b436a78795a574e3049486739496a457849694235505349784f5349676103588301527f64326c6b64476739496a45694947686c6157646f644430694d5349675a6d6c73806103788401527f62443069493056424e30497a4d43497650676f38636d566a64434234505349786103988401527f4d534967655430694d6a4569494864705a48526f505349784969426f5a576c6e6103b88401527f61485139496a456949475a706247773949694d354e6a63354d7a45694c7a344b6103d88401527f50484a6c59335167654430694d54456949486b39496a497a49694233615752306103f88401527f614430694d534967614756705a326830505349784969426d615778735053496a806104188501527f4e4441324f454d774969382b436a78795a574e3049486739496a4578496942356104388501527f505349794e53496764326c6b64476739496a45694947686c6157646f644430696104588501527f4d5349675a6d6c73624430694930593352446b305153497650676f38636d566a6104788501527f64434234505349784d534967655430694d6a6369494864705a48526f505349786104988501527f4969426f5a576c6e61485139496a456949475a706247773949694d7a4d6a4a476104b88501527f4f5441694c7a344b50484a6c59335167654430694d544d6949486b39496a6b696104d88501527f494864705a48526f505349784969426f5a576c6e61485139496a456949475a70806104f88601527f6247773949694d324d4449794e6a4d694c7a344b50484a6c59335167654430696105188601527f4d544d6949486b39496a45784969423361575230614430694d534967614756706105388601527f5a326830505349784969426d615778735053496a526a5a44516b45324969382b6105588601527f436a78795a574e3049486739496a457a49694235505349784d79496764326c6b6105788601527f64476739496a45694947686c6157646f644430694d5349675a6d6c7362443069806105988701527f497a5642516b46454d79497650676f38636d566a64434234505349784d7949676105b88701527f655430694d545569494864705a48526f505349784969426f5a576c6e614851396105d88701527f496a456949475a706247773949694e46517a637a4e6a67694c7a344b50484a6c6105f88701527f59335167654430694d544d6949486b39496a45334969423361575230614430696106188701527f4d534967614756705a326830505349784969426d615778735053496a526a41356106388701527f4f444d334969382b436a78795a574e3049486739496a457a49694235505349786106588701527f4f53496764326c6b64476739496a45694947686c6157646f644430694d5349676106788701527f5a6d6c7362443069497a4e464f454a424d79497650676f38636d566a644342346106988701527f505349784d794967655430694d6a4569494864705a48526f505349784969426f6106b88701527f5a576c6e61485139496a456949475a706247773949694e454e544d7a4d6b59696106d88701527f4c7a344b50484a6c59335167654430694d544d6949486b39496a497a496942336106f88701527f61575230614430694d534967614756705a326830505349784969426d61577873806107188801527f5053496a526a6c45515452454969382b436a78795a574e3049486739496a457a6107388801527f49694235505349794e53496764326c6b64476739496a45694947686c6157646f6107588801527f644430694d5349675a6d6c736244306949304d33525552474d69497650676f386107788801527f636d566a64434234505349784d794967655430694d6a6369494864705a48526f6107988801527f505349784969426f5a576c6e61485139496a456949475a706247773949694e466107b88801527f4f4451794e4555694c7a344b50484a6c59335167654430694d54556949486b396107d88801527f496a6b69494864705a48526f505349784969426f5a576c6e61485139496a45696107f88801527f49475a706247773949694d31517a677a513049694c7a344b50484a6c593351676108188801527f654430694d54556949486b39496a45784969423361575230614430694d5349676108388801527f614756705a326830505349784969426d615778735053496a5245457a4d7a49786108588801527f4969382b436a78795a574e3049486739496a453149694235505349784d794967610878880152846108988801527f6244306949305132526a52464d53497650676f38636d566a64434234505349786108b88801527f4e534967655430694d545569494864705a48526f505349784969426f5a576c6e6108d88801527f61485139496a456949475a706247773949694e47516b56424e5549694c7a344b6108f88801527f50484a6c59335167654430694d54556949486b39496a45334969423361575230610918880152836109388801527f4f5546454f555a434969382b436a78795a574e3049486739496a4531496942356109588801527f505349784f53496764326c6b64476739496a45694947686c6157646f644430696109788801527f4d5349675a6d6c736244306949305977515442445153497650676f38636d566a6109988801527f64434234505349784e534967655430694d6a4569494864705a48526f505349786109b88801527f4969426f5a576c6e61485139496a456949475a706247773949694e464e7a4e466109d88801527f4e544d694c7a344b50484a6c59335167654430694d54556949486b39496a497a6109f88801527f4969423361575230614430694d534967614756705a326830505349784969426d80610a188901527f615778735053496a4e7a64454d3052464969382b436a78795a574e3049486739610a388901527f496a453149694235505349794e53496764326c6b64476739496a45694947686c610a588901527f6157646f644430694d5349675a6d6c736244306949305979516a4d304d534976610a788901527f50676f38636d566a64434234505349784e534967655430694d6a636949486470610a9889015286610ab88901527f49694d79525451354f4455694c7a344b50484a6c59335167654430694d546369610ad88901527f49486b39496a6b69494864705a48526f505349784969426f5a576c6e61485139610af88901527f496a456949475a706247773949694e434d555647517a6b694c7a344b50484a6c610b188901527f59335167654430694d54636949486b39496a4578496942336157523061443069610b388901527f4d534967614756705a326830505349784969426d615778735053496a4d6b5131610b588901527f4d7a55794969382b436a78795a574e3049486739496a45334969423550534978610b788901527f4d79496764326c6b64476739496a45694947686c6157646f644430694d534967610b988901527f5a6d6c736244306949305178524559305269497650676f38636d566a64434234610bb88901527f505349784e794967655430694d545569494864705a48526f505349784969426f610bd88901527f5a576c6e61485139496a456949475a706247773949694d354d304e474f546769610bf88901527f4c7a344b50484a6c59335167654430694d54636949486b39496a453349694233610c1889015281610c388901527f5053496a526a644552446c434969382b436a78795a574e3049486739496a4533610c588901527f49694235505349784f53496764326c6b64476739496a45694947686c6157646f610c788901527f644430694d5349675a6d6c7362443069497a52454d7a59314f43497650676f38610c988901527f636d566a64434234505349784e794967655430694d6a4569494864705a48526f610cb88901527f505349784969426f5a576c6e61485139496a456949475a706247773949694d79610cd88901527f526a49794e444d694c7a344b50484a6c59335167654430694d54636949486b39610cf88901527f496a497a4969423361575230614430694d534967614756705a32683050534978610d188901527f4969426d615778735053496a4e6b45314e544a424969382b436a78795a574e30610d388901527f49486739496a453349694235505349794e53496764326c6b64476739496a4569610d588901527f4947686c6157646f644430694d5349675a6d6c7362443069493056424e55497a610d788901527f4d79497650676f38636d566a64434234505349784e794967655430694d6a6369610d9889015283610db88901527f6247773949694d31526b4d35516b59694c7a344b50484a6c5933516765443069610dd88901527f4d546b6949486b39496a6b69494864705a48526f505349784969426f5a576c6e610df88901527f61485139496a456949475a706247773949694d794e54517a4f454d694c7a344b610e188901527f50484a6c59335167654430694d546b6949486b39496a45784969423361575230610e3889015284610e588901527f4e555a44524468444969382b436a78795a574e3049486739496a453549694235610e788901527f505349784d79496764326c6b64476739496a45694947686c6157646f64443069610e988901527f4d5349675a6d6c736244306949304530517a68465253497650676f38636d566a610eb88901527f64434234505349784f534967655430694d545569494864705a48526f50534978610ed88901527f4969426f5a576c6e61485139496a456949475a706247773949694e46516a5642610ef88901527f4d6b45694c7a344b50484a6c59335167654430694d546b6949486b39496a4533610f1889015280610f388901527f615778735053496a526b46464e6a597a4969382b436a78795a574e3049486739610f588901527f496a453549694235505349784f53496764326c6b64476739496a45694947686c610f788901527f6157646f644430694d5349675a6d6c7362443069497a67785244464651794976610f988901527f50676f38636d566a64434234505349784f534967655430694d6a456949486470610fb889015286610fd88901527f49694e45516a52454e5467694c7a344b50484a6c59335167654430694d546b69610ff88901527f49486b39496a497a4969423361575230614430694d534967614756705a3268306110188901527f505349784969426d615778735053496a4f4545794d6a4d314969382b436a78796110388901527f5a574e3049486739496a453549694235505349794e53496764326c6b644767396110588901527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493051356110788901527f4e3051795253497650676f38636d566a64434234505349784f534967655430696110988901527f4d6a6369494864705a48526f505349784969426f5a576c6e61485139496a45696110b88901527f49475a706247773949694e474f5552434e446b694c7a344b50484a6c593351676110d88901527f654430694d6a456949486b39496a6b69494864705a48526f505349784969426f6110f88901527f5a576c6e61485139496a456949475a706247773949694d33515449314d6a41696111188901527f4c7a344b50484a6c59335167654430694d6a456949486b39496a457849694233611138890152816111588901527f5053496a4e4449354d5545344969382b436a78795a574e3049486739496a49786111788901527f49694235505349784d79496764326c6b64476739496a45694947686c6157646f6111988901527f644430694d5349675a6d6c7362443069493056474f446b7a4d79497650676f386111b88901527f636d566a64434234505349794d534967655430694d545569494864705a48526f6111d88901527f505349784969426f5a576c6e61485139496a456949475a706247773949694e436111f88901527f4f444a444d7a59694c7a344b50484a6c59335167654430694d6a456949486b396112188901527f496a45334969423361575230614430694d534967614756705a326830505349786112388901527f4969426d615778735053496a526a524352454a464969382b436a78795a574e306112588901527f49486739496a497849694235505349784f53496764326c6b64476739496a45696112788901527f4947686c6157646f644430694d5349675a6d6c7362443069497a4e434d6b597a6112988901527f4f53497650676f38636d566a64434234505349794d534967655430694d6a45696112b8890152836112d88901527f6247773949694e474d6b45354d304d694c7a344b50484a6c59335167654430696112f88901527f4d6a456949486b39496a497a4969423361575230614430694d534967614756706113188901527f5a326830505349784969426d615778735053496a526b46464d6a63794969382b6113388901527f436a78795a574e3049486739496a497849694235505349794e53496764326c6b611358890152826113788901527f49304643524551304e53497650676f38636d566a64434234505349794d5349676113988901527f655430694d6a6369494864705a48526f505349784969426f5a576c6e614851396113b88901527f496a456949475a706247773949694d305155457a4f5449694c7a344b50484a6c6113d88901527f59335167654430694d6a4d6949486b39496a6b69494864705a48526f505349786113f88901527f4969426f5a576c6e61485139496a456949475a706247773949694d344e554d7a6114188901527f4d304d694c7a344b50484a6c59335167654430694d6a4d6949486b39496a45786114388901528061145889015250507f615778735053496a52555934517a4d334969382b436a78795a574e30494867396114788701527f496a497a49694235505349784d79496764326c6b64476739496a45694947686c6114988701527f6157646f644430694d5349675a6d6c736244306949304533524552474f5349766114b88701527f50676f38636d566a64434234505349794d794967655430694d545569494864706114d8870152846114f88701527f49694e4651544e424d6b51694c7a344b50484a6c59335167654430694d6a4d696115188701527f49486b39496a45334969423361575230614430694d534967614756705a3268306115388701527f505349784969426d615778735053496a526a6444515455334969382b436a78796115588701527f5a574e3049486739496a497a49694235505349784f53496764326c6b644767396115788701527f496a45694947686c6157646f644430694d5349675a6d6c7362443069493059796115988701527f51546b7a5169497650676f38636d566a64434234505349794d794967655430696115b88701527f4d6a4569494864705a48526f505349784969426f5a576c6e61485139496a45696115d88701527f49475a706247773949694d3151546c474d3055694c7a344b50484a6c593351676115f88701527f654430694d6a4d6949486b39496a497a4969423361575230614430694d5349676116188701527f614756705a326830505349784969426d615778735053496a525549304e4449356116388701527f4969382b436a78795a574e3049486739496a497a49694235505349794e534967611658870152836116788701527f6244306949305979515467304d43497650676f38636d566a64434234505349796116988701527f4d794967655430694d6a6369494864705a48526f505349784969426f5a576c6e6116b88701527f61485139496a456949475a706247773949694e4552544d794d7a63694c7a344b6116d88701527f50484a6c59335167654430694d6a556949486b39496a6b69494864705a48526f6116f88701527f505349784969426f5a576c6e61485139496a456949475a706247773949694e446117188701527f4d6a4d314d7a49694c7a344b50484a6c59335167654430694d6a556949486b396117388701527f496a45784969423361575230614430694d534967614756705a326830505349786117588701527f4969426d615778735053496a4e544d314e6a67334969382b436a78795a574e306117788701527f49486739496a493149694235505349784d79496764326c6b64476739496a45696117988701527f4947686c6157646f644430694d5349675a6d6c7362443069497a6c4552555a436117b88701527f5269497650676f38636d566a64434234505349794e534967655430694d5455696117d8870152816117f88701527f6247773949694e474e6b4e434e4455694c7a344b50484a6c59335167654430696118188701527f4d6a556949486b39496a45334969423361575230614430694d534967614756706118388701527f5a326830505349784969426d615778735053496a525555344d7a64454969382b6118588701527f436a78795a574e3049486739496a493149694235505349784f53496764326c6b6118788701528061189887015250505050507f497a5977516a46474e43497650676f38636d566a64434234505349794e5349676118b88201527f655430694d6a4569494864705a48526f505349784969426f5a576c6e614851396118d88201527f496a456949475a706247773949694d3252444a474d6a49694c7a344b50484a6c6118f88201527f59335167654430694d6a556949486b39496a497a4969423361575230614430696119188201527f4d534967614756705a326830505349784969426d615778735053496a525442446119388201527f4f54597a4969382b436a78795a574e3049486739496a493149694235505349796119588201527f4e53496764326c6b64476739496a45694947686c6157646f644430694d5349676119788201527f5a6d6c7362443069493056464f4449345269497650676f38636d566a644342346119988201527f505349794e534967655430694d6a6369494864705a48526f505349784969426f6119b88201527f5a576c6e61485139496a456949475a706247773949694d3351545642516a51696119d8820152714c7a344b5043397a646d632b43673d3d227d60701b6119f8820152611a0a81019150509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161324481601d8501602087016110e2565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061328490830184611106565b9695505050505050565b6000602082840312156132a057600080fd5b8151610b79816110af565b6000600182016132bd576132bd611396565b5060010190565b6000826132e157634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561042657610426611396565b60ff818116838216019081111561042657610426611396565b634e487b7160e01b600052603260045260246000fd5b808201808211156104265761042661139656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212201cf7755d30d644af51e42bba582c269e93f667ec4c988eb9e8a333e93a9310dc64736f6c63430008110033
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.