Overview
TokenID
80
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NeonTokyo
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-06 */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0-rc.1) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: erc721a/contracts/IERC721A.sol // 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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) } } } pragma solidity ^0.8.4; contract NeonTokyo is Ownable, ERC721A { uint256 constant public MAX_SUPPLY = 888; uint256 public publicPrice = 0.008 ether; uint256 constant public PUBLIC_MINT_LIMIT_TXN = 2; uint256 constant public PUBLIC_MINT_LIMIT = 2; string public revealedURI; bool public paused = false; bool public revealed = true; bool public publicSale = false; address constant internal Owner = 0xa780e5F7E4bbF5130E18251F6bE90DE5ddC69fBA; mapping(address => uint256) public numUserMints; constructor(string memory _name, string memory _symbol, string memory _baseUri) ERC721A("Neon Tokyo", "NEOTKYO") { } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function refundOverpay(uint256 price) private { if (msg.value > price) { (bool succ, ) = payable(msg.sender).call{ value: (msg.value - price) }(""); require(succ, "Transfer failed"); } else if (msg.value < price) { revert("Not enough ETH sent"); } } function publicMint(uint256 quantity) external payable mintCompliance(quantity) { require(publicSale, "Public sale inactive"); require(quantity <= PUBLIC_MINT_LIMIT_TXN, "Quantity too high"); uint256 price = publicPrice; uint256 currMints = numUserMints[msg.sender]; require(currMints + quantity <= PUBLIC_MINT_LIMIT, "User max mint limit"); refundOverpay(price * quantity); numUserMints[msg.sender] = (currMints + quantity); _safeMint(msg.sender, quantity); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed) { return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json")); } else { return revealedURI; } } function setPublicPrice(uint256 _publicPrice) public onlyOwner { publicPrice = _publicPrice; } function setBaseURI(string memory _baseUri) public onlyOwner { revealedURI = _baseUri; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setPublicEnabled(bool _state) public onlyOwner { publicSale = _state; } function withdraw() external payable onlyOwner { uint256 currBalance = address(this).balance; (bool succ, ) = payable(Owner).call{ value: (currBalance * 10000) / 10000 }("0xa780e5F7E4bbF5130E18251F6bE90DE5ddC69fBA"); require(succ, "Dev transfer failed"); } function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) { _safeMint(receiver, quantity); } modifier mintCompliance(uint256 quantity) { require(!paused, "Contract is paused"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough mints left"); require(tx.origin == msg.sender, "No contract minting"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052661c6bf526340000600955600b805462ffffff19166101001790553480156200002c57600080fd5b50604051620022d5380380620022d58339810160408190526200004f9162000299565b6040518060400160405280600a8152602001694e656f6e20546f6b796f60b01b815250604051806040016040528060078152602001664e454f544b594f60c81b815250620000ac620000a6620000e860201b60201c565b620000ec565b8151620000c19060039060208501906200013c565b508051620000d79060049060208401906200013c565b5060018055506200037d9350505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200014a906200032a565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600082601f830112620001f457600080fd5b81516001600160401b038082111562000211576200021162000367565b604051601f8301601f19908116603f011681019082821181831017156200023c576200023c62000367565b816040528381526020925086838588010111156200025957600080fd5b600091505b838210156200027d57858201830151818301840152908201906200025e565b838211156200028f5760008385830101525b9695505050505050565b600080600060608486031215620002af57600080fd5b83516001600160401b0380821115620002c757600080fd5b620002d587838801620001e2565b94506020860151915080821115620002ec57600080fd5b620002fa87838801620001e2565b935060408601519150808211156200031157600080fd5b506200032086828701620001e2565b9150509250925092565b600181811c908216806200033f57607f821691505b602082108114156200036157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611f48806200038d6000396000f3fe6080604052600436106102045760003560e01c80636352211e11610118578063a945bf80116100a0578063c87b56dd1161006f578063c87b56dd14610564578063e0a8085314610584578063e985e9c5146105a4578063f2fde38b146105ed578063f7e8d6ea1461060d57600080fd5b8063a945bf801461051b578063b88d4fde14610531578063bceae77b1461031a578063c62752551461054457600080fd5b80637af3a1af116100e75780637af3a1af146104885780638da5cb5b146104a85780639007bd72146104c657806395d89b41146104e6578063a22cb465146104fb57600080fd5b80636352211e1461040657806370a0823114610426578063715018a6146104465780637aeb72421461045b57600080fd5b80632fecf20b1161019b57806342842e0e1161016a57806342842e0e1461036d578063438b63001461038057806351830227146103ad57806355f804b3146103cc5780635c975abb146103ec57600080fd5b80632fecf20b1461031a57806332cb6b0c1461032f57806333bc1c5c146103455780633ccfd60b1461036557600080fd5b806316c38b3c116101d757806316c38b3c146102ad57806318160ddd146102cd57806323b872dd146102f45780632db115441461030757600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611b72565b610622565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610674565b6040516102359190611db5565b34801561026c57600080fd5b5061028061027b366004611bf5565b610706565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611b2d565b61074a565b005b3480156102b957600080fd5b506102ab6102c8366004611b57565b6107ea565b3480156102d957600080fd5b5060025460015403600019015b604051908152602001610235565b6102ab610302366004611a4b565b610805565b6102ab610315366004611bf5565b610996565b34801561032657600080fd5b506102e6600281565b34801561033b57600080fd5b506102e661037881565b34801561035157600080fd5b50600b546102299062010000900460ff1681565b6102ab610bc1565b6102ab61037b366004611a4b565b610cc1565b34801561038c57600080fd5b506103a061039b3660046119fd565b610ce1565b6040516102359190611d71565b3480156103b957600080fd5b50600b5461022990610100900460ff1681565b3480156103d857600080fd5b506102ab6103e7366004611bac565b610dc2565b3480156103f857600080fd5b50600b546102299060ff1681565b34801561041257600080fd5b50610280610421366004611bf5565b610ddd565b34801561043257600080fd5b506102e66104413660046119fd565b610de8565b34801561045257600080fd5b506102ab610e37565b34801561046757600080fd5b506102e66104763660046119fd565b600c6020526000908152604090205481565b34801561049457600080fd5b506102ab6104a3366004611b57565b610e4b565b3480156104b457600080fd5b506000546001600160a01b0316610280565b3480156104d257600080fd5b506102ab6104e1366004611c0e565b610e6f565b3480156104f257600080fd5b50610253610f71565b34801561050757600080fd5b506102ab610516366004611b03565b610f80565b34801561052757600080fd5b506102e660095481565b6102ab61053f366004611a87565b610fec565b34801561055057600080fd5b506102ab61055f366004611bf5565b611030565b34801561057057600080fd5b5061025361057f366004611bf5565b61103d565b34801561059057600080fd5b506102ab61059f366004611b57565b611185565b3480156105b057600080fd5b506102296105bf366004611a18565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105f957600080fd5b506102ab6106083660046119fd565b6111a7565b34801561061957600080fd5b50610253611220565b60006301ffc9a760e01b6001600160e01b03198316148061065357506380ac58cd60e01b6001600160e01b03198316145b8061066e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461068390611e64565b80601f01602080910402602001604051908101604052809291908181526020018280546106af90611e64565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b5050505050905090565b6000610711826112ae565b61072e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061075582610ddd565b9050336001600160a01b0382161461078e5761077181336105bf565b61078e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107f26112e3565b600b805460ff1916911515919091179055565b60006108108261133d565b9050836001600160a01b0316816001600160a01b0316146108435760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108905761087386336105bf565b61089057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108b757604051633a954ecd60e21b815260040160405180910390fd5b80156108c257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661094d576001840160008181526005602052604090205461094b57600154811461094b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff16156109e55760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b6002546001546103789183910360001901610a009190611dc8565b1115610a465760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109dc565b323314610a8b5760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109dc565b600b5462010000900460ff16610ada5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b60448201526064016109dc565b6002821115610b1f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b60448201526064016109dc565b600954336000908152600c60205260409020546002610b3e8583611dc8565b1115610b825760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b60448201526064016109dc565b610b94610b8f8584611e02565b6113ad565b610b9e8482611dc8565b336000818152600c6020526040902091909155610bbb908561148c565b50505050565b610bc96112e3565b47600073a780e5f7e4bbf5130e18251f6be90de5ddc69fba612710610bee8482611e02565b610bf89190611de0565b6040517f30786137383065354637453462624635313330453138323531463662453930448152694535646443363966424160b01b6020820152602a0160006040518083038185875af1925050503d8060008114610c71576040519150601f19603f3d011682016040523d82523d6000602084013e610c76565b606091505b5050905080610cbd5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109dc565b5050565b610cdc83838360405180602001604052806000815250610fec565b505050565b60606000610cee83610de8565b905060008167ffffffffffffffff811115610d0b57610d0b611ee6565b604051908082528060200260200182016040528015610d34578160200160208202803683370190505b509050600160005b8381108015610d4d57506103788211155b15610db8576000610d5d83610ddd565b9050866001600160a01b0316816001600160a01b03161415610da55782848381518110610d8c57610d8c611ed0565b602090810291909101015281610da181611e9f565b9250505b82610daf81611e9f565b93505050610d3c565b5090949350505050565b610dca6112e3565b8051610cbd90600a9060208401906118c7565b600061066e8261133d565b60006001600160a01b038216610e11576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e3f6112e3565b610e4960006114a6565b565b610e536112e3565b600b8054911515620100000262ff000019909216919091179055565b610e776112e3565b600b54829060ff1615610ec15760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109dc565b6002546001546103789183910360001901610edc9190611dc8565b1115610f225760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109dc565b323314610f675760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109dc565b610cdc828461148c565b60606004805461068390611e64565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff7848484610805565b6001600160a01b0383163b15610bbb57611013848484846114f6565b610bbb576040516368d2bf6b60e11b815260040160405180910390fd5b6110386112e3565b600955565b6060611048826112ae565b6110ac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109dc565b600b54610100900460ff16156110ee57600a6110c7836115ee565b6040516020016110d8929190611c79565b6040516020818303038152906040529050919050565b600a80546110fb90611e64565b80601f016020809104026020016040519081016040528092919081815260200182805461112790611e64565b80156111745780601f1061114957610100808354040283529160200191611174565b820191906000526020600020905b81548152906001019060200180831161115757829003601f168201915b50505050509050919050565b919050565b61118d6112e3565b600b80549115156101000261ff0019909216919091179055565b6111af6112e3565b6001600160a01b0381166112145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109dc565b61121d816114a6565b50565b600a805461122d90611e64565b80601f016020809104026020016040519081016040528092919081815260200182805461125990611e64565b80156112a65780601f1061127b576101008083540402835291602001916112a6565b820191906000526020600020905b81548152906001019060200180831161128957829003601f168201915b505050505081565b6000816001111580156112c2575060015482105b801561066e575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610e495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109dc565b600081806001116113945760015481101561139457600081815260056020526040902054600160e01b8116611392575b8061138b57506000190160008181526005602052604090205461136d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611446576000336113c28334611e21565b604051600081818185875af1925050503d80600081146113fe576040519150601f19603f3d011682016040523d82523d6000602084013e611403565b606091505b5050905080610cbd5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016109dc565b8034101561121d5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016109dc565b610cbd82826040518060200160405280600081525061168b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061152b903390899088908890600401611d34565b602060405180830381600087803b15801561154557600080fd5b505af1925050508015611575575060408051601f3d908101601f1916820190925261157291810190611b8f565b60015b6115d0573d8080156115a3576040519150601f19603f3d011682016040523d82523d6000602084013e6115a8565b606091505b5080516115c8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006115fb836116f8565b600101905060008167ffffffffffffffff81111561161b5761161b611ee6565b6040519080825280601f01601f191660200182016040528015611645576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461167e57611683565b61164f565b509392505050565b61169583836117d0565b6001600160a01b0383163b15610cdc576001548281035b6116bf60008683806001019450866114f6565b6116dc576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116ac5781600154146116f157600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117375772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611763576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061178157662386f26fc10000830492506010015b6305f5e1008310611799576305f5e100830492506008015b61271083106117ad57612710830492506004015b606483106117bf576064830492506002015b600a831061066e5760010192915050565b600154816117f15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118a057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611868565b50816118be57604051622e076360e81b815260040160405180910390fd5b60015550505050565b8280546118d390611e64565b90600052602060002090601f0160209004810192826118f5576000855561193b565b82601f1061190e57805160ff191683800117855561193b565b8280016001018555821561193b579182015b8281111561193b578251825591602001919060010190611920565b5061194792915061194b565b5090565b5b80821115611947576000815560010161194c565b600067ffffffffffffffff8084111561197b5761197b611ee6565b604051601f8501601f19908116603f011681019082821181831017156119a3576119a3611ee6565b816040528093508581528686860111156119bc57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461118057600080fd5b8035801515811461118057600080fd5b600060208284031215611a0f57600080fd5b61138b826119d6565b60008060408385031215611a2b57600080fd5b611a34836119d6565b9150611a42602084016119d6565b90509250929050565b600080600060608486031215611a6057600080fd5b611a69846119d6565b9250611a77602085016119d6565b9150604084013590509250925092565b60008060008060808587031215611a9d57600080fd5b611aa6856119d6565b9350611ab4602086016119d6565b925060408501359150606085013567ffffffffffffffff811115611ad757600080fd5b8501601f81018713611ae857600080fd5b611af787823560208401611960565b91505092959194509250565b60008060408385031215611b1657600080fd5b611b1f836119d6565b9150611a42602084016119ed565b60008060408385031215611b4057600080fd5b611b49836119d6565b946020939093013593505050565b600060208284031215611b6957600080fd5b61138b826119ed565b600060208284031215611b8457600080fd5b813561138b81611efc565b600060208284031215611ba157600080fd5b815161138b81611efc565b600060208284031215611bbe57600080fd5b813567ffffffffffffffff811115611bd557600080fd5b8201601f81018413611be657600080fd5b6115e684823560208401611960565b600060208284031215611c0757600080fd5b5035919050565b60008060408385031215611c2157600080fd5b82359150611a42602084016119d6565b60008151808452611c49816020860160208601611e38565b601f01601f19169290920160200192915050565b60008151611c6f818560208601611e38565b9290920192915050565b600080845481600182811c915080831680611c9557607f831692505b6020808410821415611cb557634e487b7160e01b86526022600452602486fd5b818015611cc95760018114611cda57611d07565b60ff19861689528489019650611d07565b60008b81526020902060005b86811015611cff5781548b820152908501908301611ce6565b505084890196505b505050505050611d2b611d1a8286611c5d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d6790830184611c31565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611da957835183529284019291840191600101611d8d565b50909695505050505050565b60208152600061138b6020830184611c31565b60008219821115611ddb57611ddb611eba565b500190565b600082611dfd57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611e1c57611e1c611eba565b500290565b600082821015611e3357611e33611eba565b500390565b60005b83811015611e53578181015183820152602001611e3b565b83811115610bbb5750506000910152565b600181811c90821680611e7857607f821691505b60208210811415611e9957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611eb357611eb3611eba565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461121d57600080fdfea2646970667358221220b494517adc5d260bc59c88dac30113135bd1b0a05ed8da854597ee54958569f264736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a4e656f6e20546f6b796f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074e454f544b594f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e745534396f506b373856625956714c6e62365a736d38763453676d366939596d73727963694438445355622f00000000000000000000
Deployed Bytecode
0x6080604052600436106102045760003560e01c80636352211e11610118578063a945bf80116100a0578063c87b56dd1161006f578063c87b56dd14610564578063e0a8085314610584578063e985e9c5146105a4578063f2fde38b146105ed578063f7e8d6ea1461060d57600080fd5b8063a945bf801461051b578063b88d4fde14610531578063bceae77b1461031a578063c62752551461054457600080fd5b80637af3a1af116100e75780637af3a1af146104885780638da5cb5b146104a85780639007bd72146104c657806395d89b41146104e6578063a22cb465146104fb57600080fd5b80636352211e1461040657806370a0823114610426578063715018a6146104465780637aeb72421461045b57600080fd5b80632fecf20b1161019b57806342842e0e1161016a57806342842e0e1461036d578063438b63001461038057806351830227146103ad57806355f804b3146103cc5780635c975abb146103ec57600080fd5b80632fecf20b1461031a57806332cb6b0c1461032f57806333bc1c5c146103455780633ccfd60b1461036557600080fd5b806316c38b3c116101d757806316c38b3c146102ad57806318160ddd146102cd57806323b872dd146102f45780632db115441461030757600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611b72565b610622565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610674565b6040516102359190611db5565b34801561026c57600080fd5b5061028061027b366004611bf5565b610706565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611b2d565b61074a565b005b3480156102b957600080fd5b506102ab6102c8366004611b57565b6107ea565b3480156102d957600080fd5b5060025460015403600019015b604051908152602001610235565b6102ab610302366004611a4b565b610805565b6102ab610315366004611bf5565b610996565b34801561032657600080fd5b506102e6600281565b34801561033b57600080fd5b506102e661037881565b34801561035157600080fd5b50600b546102299062010000900460ff1681565b6102ab610bc1565b6102ab61037b366004611a4b565b610cc1565b34801561038c57600080fd5b506103a061039b3660046119fd565b610ce1565b6040516102359190611d71565b3480156103b957600080fd5b50600b5461022990610100900460ff1681565b3480156103d857600080fd5b506102ab6103e7366004611bac565b610dc2565b3480156103f857600080fd5b50600b546102299060ff1681565b34801561041257600080fd5b50610280610421366004611bf5565b610ddd565b34801561043257600080fd5b506102e66104413660046119fd565b610de8565b34801561045257600080fd5b506102ab610e37565b34801561046757600080fd5b506102e66104763660046119fd565b600c6020526000908152604090205481565b34801561049457600080fd5b506102ab6104a3366004611b57565b610e4b565b3480156104b457600080fd5b506000546001600160a01b0316610280565b3480156104d257600080fd5b506102ab6104e1366004611c0e565b610e6f565b3480156104f257600080fd5b50610253610f71565b34801561050757600080fd5b506102ab610516366004611b03565b610f80565b34801561052757600080fd5b506102e660095481565b6102ab61053f366004611a87565b610fec565b34801561055057600080fd5b506102ab61055f366004611bf5565b611030565b34801561057057600080fd5b5061025361057f366004611bf5565b61103d565b34801561059057600080fd5b506102ab61059f366004611b57565b611185565b3480156105b057600080fd5b506102296105bf366004611a18565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105f957600080fd5b506102ab6106083660046119fd565b6111a7565b34801561061957600080fd5b50610253611220565b60006301ffc9a760e01b6001600160e01b03198316148061065357506380ac58cd60e01b6001600160e01b03198316145b8061066e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461068390611e64565b80601f01602080910402602001604051908101604052809291908181526020018280546106af90611e64565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b5050505050905090565b6000610711826112ae565b61072e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061075582610ddd565b9050336001600160a01b0382161461078e5761077181336105bf565b61078e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107f26112e3565b600b805460ff1916911515919091179055565b60006108108261133d565b9050836001600160a01b0316816001600160a01b0316146108435760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176108905761087386336105bf565b61089057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108b757604051633a954ecd60e21b815260040160405180910390fd5b80156108c257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661094d576001840160008181526005602052604090205461094b57600154811461094b5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff16156109e55760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b6002546001546103789183910360001901610a009190611dc8565b1115610a465760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109dc565b323314610a8b5760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109dc565b600b5462010000900460ff16610ada5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b60448201526064016109dc565b6002821115610b1f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b60448201526064016109dc565b600954336000908152600c60205260409020546002610b3e8583611dc8565b1115610b825760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b60448201526064016109dc565b610b94610b8f8584611e02565b6113ad565b610b9e8482611dc8565b336000818152600c6020526040902091909155610bbb908561148c565b50505050565b610bc96112e3565b47600073a780e5f7e4bbf5130e18251f6be90de5ddc69fba612710610bee8482611e02565b610bf89190611de0565b6040517f30786137383065354637453462624635313330453138323531463662453930448152694535646443363966424160b01b6020820152602a0160006040518083038185875af1925050503d8060008114610c71576040519150601f19603f3d011682016040523d82523d6000602084013e610c76565b606091505b5050905080610cbd5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109dc565b5050565b610cdc83838360405180602001604052806000815250610fec565b505050565b60606000610cee83610de8565b905060008167ffffffffffffffff811115610d0b57610d0b611ee6565b604051908082528060200260200182016040528015610d34578160200160208202803683370190505b509050600160005b8381108015610d4d57506103788211155b15610db8576000610d5d83610ddd565b9050866001600160a01b0316816001600160a01b03161415610da55782848381518110610d8c57610d8c611ed0565b602090810291909101015281610da181611e9f565b9250505b82610daf81611e9f565b93505050610d3c565b5090949350505050565b610dca6112e3565b8051610cbd90600a9060208401906118c7565b600061066e8261133d565b60006001600160a01b038216610e11576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e3f6112e3565b610e4960006114a6565b565b610e536112e3565b600b8054911515620100000262ff000019909216919091179055565b610e776112e3565b600b54829060ff1615610ec15760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064016109dc565b6002546001546103789183910360001901610edc9190611dc8565b1115610f225760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b60448201526064016109dc565b323314610f675760405162461bcd60e51b81526020600482015260136024820152724e6f20636f6e7472616374206d696e74696e6760681b60448201526064016109dc565b610cdc828461148c565b60606004805461068390611e64565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ff7848484610805565b6001600160a01b0383163b15610bbb57611013848484846114f6565b610bbb576040516368d2bf6b60e11b815260040160405180910390fd5b6110386112e3565b600955565b6060611048826112ae565b6110ac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109dc565b600b54610100900460ff16156110ee57600a6110c7836115ee565b6040516020016110d8929190611c79565b6040516020818303038152906040529050919050565b600a80546110fb90611e64565b80601f016020809104026020016040519081016040528092919081815260200182805461112790611e64565b80156111745780601f1061114957610100808354040283529160200191611174565b820191906000526020600020905b81548152906001019060200180831161115757829003601f168201915b50505050509050919050565b919050565b61118d6112e3565b600b80549115156101000261ff0019909216919091179055565b6111af6112e3565b6001600160a01b0381166112145760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109dc565b61121d816114a6565b50565b600a805461122d90611e64565b80601f016020809104026020016040519081016040528092919081815260200182805461125990611e64565b80156112a65780601f1061127b576101008083540402835291602001916112a6565b820191906000526020600020905b81548152906001019060200180831161128957829003601f168201915b505050505081565b6000816001111580156112c2575060015482105b801561066e575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610e495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109dc565b600081806001116113945760015481101561139457600081815260056020526040902054600160e01b8116611392575b8061138b57506000190160008181526005602052604090205461136d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611446576000336113c28334611e21565b604051600081818185875af1925050503d80600081146113fe576040519150601f19603f3d011682016040523d82523d6000602084013e611403565b606091505b5050905080610cbd5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016109dc565b8034101561121d5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016109dc565b610cbd82826040518060200160405280600081525061168b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061152b903390899088908890600401611d34565b602060405180830381600087803b15801561154557600080fd5b505af1925050508015611575575060408051601f3d908101601f1916820190925261157291810190611b8f565b60015b6115d0573d8080156115a3576040519150601f19603f3d011682016040523d82523d6000602084013e6115a8565b606091505b5080516115c8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006115fb836116f8565b600101905060008167ffffffffffffffff81111561161b5761161b611ee6565b6040519080825280601f01601f191660200182016040528015611645576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461167e57611683565b61164f565b509392505050565b61169583836117d0565b6001600160a01b0383163b15610cdc576001548281035b6116bf60008683806001019450866114f6565b6116dc576040516368d2bf6b60e11b815260040160405180910390fd5b8181106116ac5781600154146116f157600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106117375772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611763576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061178157662386f26fc10000830492506010015b6305f5e1008310611799576305f5e100830492506008015b61271083106117ad57612710830492506004015b606483106117bf576064830492506002015b600a831061066e5760010192915050565b600154816117f15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118a057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611868565b50816118be57604051622e076360e81b815260040160405180910390fd5b60015550505050565b8280546118d390611e64565b90600052602060002090601f0160209004810192826118f5576000855561193b565b82601f1061190e57805160ff191683800117855561193b565b8280016001018555821561193b579182015b8281111561193b578251825591602001919060010190611920565b5061194792915061194b565b5090565b5b80821115611947576000815560010161194c565b600067ffffffffffffffff8084111561197b5761197b611ee6565b604051601f8501601f19908116603f011681019082821181831017156119a3576119a3611ee6565b816040528093508581528686860111156119bc57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461118057600080fd5b8035801515811461118057600080fd5b600060208284031215611a0f57600080fd5b61138b826119d6565b60008060408385031215611a2b57600080fd5b611a34836119d6565b9150611a42602084016119d6565b90509250929050565b600080600060608486031215611a6057600080fd5b611a69846119d6565b9250611a77602085016119d6565b9150604084013590509250925092565b60008060008060808587031215611a9d57600080fd5b611aa6856119d6565b9350611ab4602086016119d6565b925060408501359150606085013567ffffffffffffffff811115611ad757600080fd5b8501601f81018713611ae857600080fd5b611af787823560208401611960565b91505092959194509250565b60008060408385031215611b1657600080fd5b611b1f836119d6565b9150611a42602084016119ed565b60008060408385031215611b4057600080fd5b611b49836119d6565b946020939093013593505050565b600060208284031215611b6957600080fd5b61138b826119ed565b600060208284031215611b8457600080fd5b813561138b81611efc565b600060208284031215611ba157600080fd5b815161138b81611efc565b600060208284031215611bbe57600080fd5b813567ffffffffffffffff811115611bd557600080fd5b8201601f81018413611be657600080fd5b6115e684823560208401611960565b600060208284031215611c0757600080fd5b5035919050565b60008060408385031215611c2157600080fd5b82359150611a42602084016119d6565b60008151808452611c49816020860160208601611e38565b601f01601f19169290920160200192915050565b60008151611c6f818560208601611e38565b9290920192915050565b600080845481600182811c915080831680611c9557607f831692505b6020808410821415611cb557634e487b7160e01b86526022600452602486fd5b818015611cc95760018114611cda57611d07565b60ff19861689528489019650611d07565b60008b81526020902060005b86811015611cff5781548b820152908501908301611ce6565b505084890196505b505050505050611d2b611d1a8286611c5d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d6790830184611c31565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611da957835183529284019291840191600101611d8d565b50909695505050505050565b60208152600061138b6020830184611c31565b60008219821115611ddb57611ddb611eba565b500190565b600082611dfd57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611e1c57611e1c611eba565b500290565b600082821015611e3357611e33611eba565b500390565b60005b83811015611e53578181015183820152602001611e3b565b83811115610bbb5750506000910152565b600181811c90821680611e7857607f821691505b60208210811415611e9957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611eb357611eb3611eba565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461121d57600080fdfea2646970667358221220b494517adc5d260bc59c88dac30113135bd1b0a05ed8da854597ee54958569f264736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a4e656f6e20546f6b796f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074e454f544b594f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e745534396f506b373856625956714c6e62365a736d38763453676d366939596d73727963694438445355622f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Neon Tokyo
Arg [1] : _symbol (string): NEOTKYO
Arg [2] : _baseUri (string): ipfs://QmNtU49oPk78VbYVqLnb6Zsm8v4Sgm6i9YmsryciD8DSUb/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 4e656f6e20546f6b796f00000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 4e454f544b594f00000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d4e745534396f506b373856625956714c6e62365a736d38
Arg [9] : 763453676d366939596d73727963694438445355622f00000000000000000000
Deployed Bytecode Sourcemap
70176:4162:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37104:639;;;;;;;;;;-1:-1:-1;37104:639:0;;;;;:::i;:::-;;:::i;:::-;;;8478:14:1;;8471:22;8453:41;;8441:2;8426:18;37104:639:0;;;;;;;;38006:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44497:218::-;;;;;;;;;;-1:-1:-1;44497:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7139:32:1;;;7121:51;;7109:2;7094:18;44497:218:0;6975:203:1;43930:408:0;;;;;;:::i;:::-;;:::i;:::-;;73284:83;;;;;;;;;;-1:-1:-1;73284:83:0;;;;;:::i;:::-;;:::i;33757:323::-;;;;;;;;;;-1:-1:-1;34031:12:0;;70979:1;34015:13;:28;-1:-1:-1;;34015:46:0;33757:323;;;13187:25:1;;;13175:2;13160:18;33757:323:0;13041:177:1;48136:2825:0;;;;;;:::i;:::-;;:::i;71377:571::-;;;;;;:::i;:::-;;:::i;70334:49::-;;;;;;;;;;;;70382:1;70334:49;;70230:40;;;;;;;;;;;;70267:3;70230:40;;70553:30;;;;;;;;;;-1:-1:-1;70553:30:0;;;;;;;;;;;73576:324;;;:::i;51057:193::-;;;;;;:::i;:::-;;:::i;71962:689::-;;;;;;;;;;-1:-1:-1;71962:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70519:27::-;;;;;;;;;;-1:-1:-1;70519:27:0;;;;;;;;;;;73172:102;;;;;;;;;;-1:-1:-1;73172:102:0;;;;;:::i;:::-;;:::i;70486:26::-;;;;;;;;;;-1:-1:-1;70486:26:0;;;;;;;;39399:152;;;;;;;;;;-1:-1:-1;39399:152:0;;;;;:::i;:::-;;:::i;34941:233::-;;;;;;;;;;-1:-1:-1;34941:233:0;;;;;:::i;:::-;;:::i;17883:103::-;;;;;;;;;;;;;:::i;70701:47::-;;;;;;;;;;-1:-1:-1;70701:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;73470:94;;;;;;;;;;-1:-1:-1;73470:94:0;;;;;:::i;:::-;;:::i;17235:87::-;;;;;;;;;;-1:-1:-1;17281:7:0;17308:6;-1:-1:-1;;;;;17308:6:0;17235:87;;73914:146;;;;;;;;;;-1:-1:-1;73914:146:0;;;;;:::i;:::-;;:::i;38182:104::-;;;;;;;;;;;;;:::i;45055:234::-;;;;;;;;;;-1:-1:-1;45055:234:0;;;;;:::i;:::-;;:::i;70285:40::-;;;;;;;;;;;;;;;;51848:407;;;;;;:::i;:::-;;:::i;73056:108::-;;;;;;;;;;-1:-1:-1;73056:108:0;;;;;:::i;:::-;;:::i;72659:389::-;;;;;;;;;;-1:-1:-1;72659:389:0;;;;;:::i;:::-;;:::i;73375:87::-;;;;;;;;;;-1:-1:-1;73375:87:0;;;;;:::i;:::-;;:::i;45446:164::-;;;;;;;;;;-1:-1:-1;45446:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45567:25:0;;;45543:4;45567:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45446:164;18141:201;;;;;;;;;;-1:-1:-1;18141:201:0;;;;;:::i;:::-;;:::i;70444:25::-;;;;;;;;;;;;;:::i;37104:639::-;37189:4;-1:-1:-1;;;;;;;;;37513:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37590:25:0;;;37513:102;:179;;;-1:-1:-1;;;;;;;;;;37667:25:0;;;37513:179;37493:199;37104:639;-1:-1:-1;;37104:639:0:o;38006:100::-;38060:13;38093:5;38086:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38006:100;:::o;44497:218::-;44573:7;44598:16;44606:7;44598;:16::i;:::-;44593:64;;44623:34;;-1:-1:-1;;;44623:34:0;;;;;;;;;;;44593:64;-1:-1:-1;44677:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44677:30:0;;44497:218::o;43930:408::-;44019:13;44035:16;44043:7;44035;:16::i;:::-;44019:32;-1:-1:-1;68263:10:0;-1:-1:-1;;;;;44068:28:0;;;44064:175;;44116:44;44133:5;68263:10;45446:164;:::i;44116:44::-;44111:128;;44188:35;;-1:-1:-1;;;44188:35:0;;;;;;;;;;;44111:128;44251:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44251:35:0;-1:-1:-1;;;;;44251:35:0;;;;;;;;;44302:28;;44251:24;;44302:28;;;;;;;44008:330;43930:408;;:::o;73284:83::-;17121:13;:11;:13::i;:::-;73344:6:::1;:15:::0;;-1:-1:-1;;73344:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;73284:83::o;48136:2825::-;48278:27;48308;48327:7;48308:18;:27::i;:::-;48278:57;;48393:4;-1:-1:-1;;;;;48352:45:0;48368:19;-1:-1:-1;;;;;48352:45:0;;48348:86;;48406:28;;-1:-1:-1;;;48406:28:0;;;;;;;;;;;48348:86;48448:27;47244:24;;;:15;:24;;;;;47472:26;;68263:10;46869:30;;;-1:-1:-1;;;;;46562:28:0;;46847:20;;;46844:56;48634:180;;48727:43;48744:4;68263:10;45446:164;:::i;48727:43::-;48722:92;;48779:35;;-1:-1:-1;;;48779:35:0;;;;;;;;;;;48722:92;-1:-1:-1;;;;;48831:16:0;;48827:52;;48856:23;;-1:-1:-1;;;48856:23:0;;;;;;;;;;;48827:52;49028:15;49025:160;;;49168:1;49147:19;49140:30;49025:160;-1:-1:-1;;;;;49565:24:0;;;;;;;:18;:24;;;;;;49563:26;;-1:-1:-1;;49563:26:0;;;49634:22;;;;;;;;;49632:24;;-1:-1:-1;49632:24:0;;;42788:11;42763:23;42759:41;42746:63;-1:-1:-1;;;42746:63:0;49927:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;50222:47:0;;50218:627;;50327:1;50317:11;;50295:19;50450:30;;;:17;:30;;;;;;50446:384;;50588:13;;50573:11;:28;50569:242;;50735:30;;;;:17;:30;;;;;:52;;;50569:242;50276:569;50218:627;50892:7;50888:2;-1:-1:-1;;;;;50873:27:0;50882:4;-1:-1:-1;;;;;50873:27:0;;;;;;;;;;;48267:2694;;;48136:2825;;;:::o;71377:571::-;74137:6;;71447:8;;74137:6;;74136:7;74128:38;;;;-1:-1:-1;;;74128:38:0;;12546:2:1;74128:38:0;;;12528:21:1;12585:2;12565:18;;;12558:30;-1:-1:-1;;;12604:18:1;;;12597:48;12662:18;;74128:38:0;;;;;;;;;34031:12;;70979:1;34015:13;70267:3;;74201:8;;34015:28;-1:-1:-1;;34015:46:0;74185:24;;;;:::i;:::-;:38;;74177:72;;;;-1:-1:-1;;;74177:72:0;;12893:2:1;74177:72:0;;;12875:21:1;12932:2;12912:18;;;12905:30;-1:-1:-1;;;12951:18:1;;;12944:51;13012:18;;74177:72:0;12691:345:1;74177:72:0;74268:9;74281:10;74268:23;74260:55;;;;-1:-1:-1;;;74260:55:0;;9682:2:1;74260:55:0;;;9664:21:1;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9740:18:1;;;9733:49;9799:18;;74260:55:0;9480:343:1;74260:55:0;71476:10:::1;::::0;;;::::1;;;71468:43;;;::::0;-1:-1:-1;;;71468:43:0;;11503:2:1;71468:43:0::1;::::0;::::1;11485:21:1::0;11542:2;11522:18;;;11515:30;-1:-1:-1;;;11561:18:1;;;11554:50;11621:18;;71468:43:0::1;11301:344:1::0;71468:43:0::1;70382:1;71530:8;:33;;71522:63;;;::::0;-1:-1:-1;;;71522:63:0;;11852:2:1;71522:63:0::1;::::0;::::1;11834:21:1::0;11891:2;11871:18;;;11864:30;-1:-1:-1;;;11910:18:1;;;11903:47;11967:18;;71522:63:0::1;11650:341:1::0;71522:63:0::1;71614:11;::::0;71669:10:::1;71598:13;71656:24:::0;;;:12:::1;:24;::::0;;;;;70434:1:::1;71717:20;71729:8:::0;71656:24;71717:20:::1;:::i;:::-;:41;;71709:73;;;::::0;-1:-1:-1;;;71709:73:0;;10030:2:1;71709:73:0::1;::::0;::::1;10012:21:1::0;10069:2;10049:18;;;10042:30;-1:-1:-1;;;10088:18:1;;;10081:49;10147:18;;71709:73:0::1;9828:343:1::0;71709:73:0::1;71803:31;71817:16;71825:8:::0;71817:5;:16:::1;:::i;:::-;71803:13;:31::i;:::-;71875:20;71887:8:::0;71875:9;:20:::1;:::i;:::-;71860:10;71847:24;::::0;;;:12:::1;:24;::::0;;;;:49;;;;71909:31:::1;::::0;71931:8;71909:9:::1;:31::i;:::-;71457:491;;71377:571:::0;;:::o;73576:324::-;17121:13;:11;:13::i;:::-;73666:21:::1;73644:19;70632:42;73781:5;73758:19;73666:21:::0;73781:5;73758:19:::1;:::i;:::-;73757:29;;;;:::i;:::-;73716:127;::::0;6648:34:1;6636:47;;-1:-1:-1;;;6708:2:1;6699:12;;6692:34;6751:2;6742:12;73716:127:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73700:143;;;73862:4;73854:36;;;::::0;-1:-1:-1;;;73854:36:0;;12198:2:1;73854:36:0::1;::::0;::::1;12180:21:1::0;12237:2;12217:18;;;12210:30;-1:-1:-1;;;12256:18:1;;;12249:49;12315:18;;73854:36:0::1;11996:343:1::0;73854:36:0::1;73623:277;;73576:324::o:0;51057:193::-;51203:39;51220:4;51226:2;51230:7;51203:39;;;;;;;;;;;;:16;:39::i;:::-;51057:193;;;:::o;71962:689::-;72022:16;72056:23;72082:17;72092:6;72082:9;:17::i;:::-;72056:43;;72110:30;72157:15;72143:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72143:30:0;-1:-1:-1;72110:63:0;-1:-1:-1;72209:1:0;72184:22;72261:350;72286:15;72268;:33;:65;;;;;70267:3;72305:14;:28;;72268:65;72261:350;;;72350:25;72378:23;72386:14;72378:7;:23::i;:::-;72350:51;;72443:6;-1:-1:-1;;;;;72422:27:0;:17;-1:-1:-1;;;;;72422:27:0;;72418:153;;;72503:14;72470:13;72484:15;72470:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;72538:17;;;;:::i;:::-;;;;72418:153;72583:16;;;;:::i;:::-;;;;72335:276;72261:350;;;-1:-1:-1;72630:13:0;;71962:689;-1:-1:-1;;;;71962:689:0:o;73172:102::-;17121:13;:11;:13::i;:::-;73244:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;39399:152::-:0;39471:7;39514:27;39533:7;39514:18;:27::i;34941:233::-;35013:7;-1:-1:-1;;;;;35037:19:0;;35033:60;;35065:28;;-1:-1:-1;;;35065:28:0;;;;;;;;;;;35033:60;-1:-1:-1;;;;;;35111:25:0;;;;;:18;:25;;;;;;29100:13;35111:55;;34941:233::o;17883:103::-;17121:13;:11;:13::i;:::-;17948:30:::1;17975:1;17948:18;:30::i;:::-;17883:103::o:0;73470:94::-;17121:13;:11;:13::i;:::-;73537:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;73537:19:0;;::::1;::::0;;;::::1;::::0;;73470:94::o;73914:146::-;17121:13;:11;:13::i;:::-;74137:6:::1;::::0;74002:8;;74137:6:::1;;74136:7;74128:38;;;::::0;-1:-1:-1;;;74128:38:0;;12546:2:1;74128:38:0::1;::::0;::::1;12528:21:1::0;12585:2;12565:18;;;12558:30;-1:-1:-1;;;12604:18:1;;;12597:48;12662:18;;74128:38:0::1;12344:342:1::0;74128:38:0::1;34031:12:::0;;70979:1;34015:13;70267:3:::1;::::0;74201:8;;34015:28;-1:-1:-1;;34015:46:0;74185:24:::1;;;;:::i;:::-;:38;;74177:72;;;::::0;-1:-1:-1;;;74177:72:0;;12893:2:1;74177:72:0::1;::::0;::::1;12875:21:1::0;12932:2;12912:18;;;12905:30;-1:-1:-1;;;12951:18:1;;;12944:51;13012:18;;74177:72:0::1;12691:345:1::0;74177:72:0::1;74268:9;74281:10;74268:23;74260:55;;;::::0;-1:-1:-1;;;74260:55:0;;9682:2:1;74260:55:0::1;::::0;::::1;9664:21:1::0;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9740:18:1;;;9733:49;9799:18;;74260:55:0::1;9480:343:1::0;74260:55:0::1;74023:29:::2;74033:8;74043;74023:9;:29::i;38182:104::-:0;38238:13;38271:7;38264:14;;;;;:::i;45055:234::-;68263:10;45150:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45150:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45150:60:0;;;;;;;;;;45226:55;;8453:41:1;;;45150:49:0;;68263:10;45226:55;;8426:18:1;45226:55:0;;;;;;;45055:234;;:::o;51848:407::-;52023:31;52036:4;52042:2;52046:7;52023:12;:31::i;:::-;-1:-1:-1;;;;;52069:14:0;;;:19;52065:183;;52108:56;52139:4;52145:2;52149:7;52158:5;52108:30;:56::i;:::-;52103:145;;52192:40;;-1:-1:-1;;;52192:40:0;;;;;;;;;;;73056:108;17121:13;:11;:13::i;:::-;73130:11:::1;:26:::0;73056:108::o;72659:389::-;72725:13;72769:17;72777:8;72769:7;:17::i;:::-;72761:77;;;;-1:-1:-1;;;72761:77:0;;10739:2:1;72761:77:0;;;10721:21:1;10778:2;10758:18;;;10751:30;10817:34;10797:18;;;10790:62;-1:-1:-1;;;10868:18:1;;;10861:45;10923:19;;72761:77:0;10537:411:1;72761:77:0;72863:8;;;;;;;72859:182;;;72919:11;72932:26;72949:8;72932:16;:26::i;:::-;72902:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72888:81;;72659:389;;;:::o;72859:182::-;73018:11;73011:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72659:389;;;:::o;72859:182::-;72659:389;;;:::o;73375:87::-;17121:13;:11;:13::i;:::-;73437:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;73437:17:0;;::::1;::::0;;;::::1;::::0;;73375:87::o;18141:201::-;17121:13;:11;:13::i;:::-;-1:-1:-1;;;;;18230:22:0;::::1;18222:73;;;::::0;-1:-1:-1;;;18222:73:0;;8931:2:1;18222:73:0::1;::::0;::::1;8913:21:1::0;8970:2;8950:18;;;8943:30;9009:34;8989:18;;;8982:62;-1:-1:-1;;;9060:18:1;;;9053:36;9106:19;;18222:73:0::1;8729:402:1::0;18222:73:0::1;18306:28;18325:8;18306:18;:28::i;:::-;18141:201:::0;:::o;70444:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45868:282::-;45933:4;45989:7;70979:1;45970:26;;:66;;;;;46023:13;;46013:7;:23;45970:66;:153;;;;-1:-1:-1;;46074:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;46074:44:0;:49;;45868:282::o;17400:132::-;17281:7;17308:6;-1:-1:-1;;;;;17308:6:0;68263:10;17464:23;17456:68;;;;-1:-1:-1;;;17456:68:0;;10378:2:1;17456:68:0;;;10360:21:1;;;10397:18;;;10390:30;10456:34;10436:18;;;10429:62;10508:18;;17456:68:0;10176:356:1;40554:1275:0;40621:7;40656;;70979:1;40705:23;40701:1061;;40758:13;;40751:4;:20;40747:1015;;;40796:14;40813:23;;;:17;:23;;;;;;-1:-1:-1;;;40902:24:0;;40898:845;;41567:113;41574:11;41567:113;;-1:-1:-1;;;41645:6:0;41627:25;;;;:17;:25;;;;;;41567:113;;;41713:6;40554:1275;-1:-1:-1;;;40554:1275:0:o;40898:845::-;40773:989;40747:1015;41790:31;;-1:-1:-1;;;41790:31:0;;;;;;;;;;;70996:359;71069:5;71057:9;:17;71053:295;;;71092:9;71115:10;71158:17;71170:5;71158:9;:17;:::i;:::-;71107:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71091:104;;;71218:4;71210:32;;;;-1:-1:-1;;;71210:32:0;;9338:2:1;71210:32:0;;;9320:21:1;9377:2;9357:18;;;9350:30;-1:-1:-1;;;9396:18:1;;;9389:45;9451:18;;71210:32:0;9136:339:1;71053:295:0;71285:5;71273:9;:17;71269:79;;;71307:29;;-1:-1:-1;;;71307:29:0;;11155:2:1;71307:29:0;;;11137:21:1;11194:2;11174:18;;;11167:30;-1:-1:-1;;;11213:18:1;;;11206:49;11272:18;;71307:29:0;10953:343:1;62008:112:0;62085:27;62095:2;62099:8;62085:27;;;;;;;;;;;;:9;:27::i;18502:191::-;18576:16;18595:6;;-1:-1:-1;;;;;18612:17:0;;;-1:-1:-1;;;;;;18612:17:0;;;;;;18645:40;;18595:6;;;;;;;18645:40;;18576:16;18645:40;18565:128;18502:191;:::o;54339:716::-;54523:88;;-1:-1:-1;;;54523:88:0;;54502:4;;-1:-1:-1;;;;;54523:45:0;;;;;:88;;68263:10;;54590:4;;54596:7;;54605:5;;54523:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54523:88:0;;;;;;;;-1:-1:-1;;54523:88:0;;;;;;;;;;;;:::i;:::-;;;54519:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54806:13:0;;54802:235;;54852:40;;-1:-1:-1;;;54852:40:0;;;;;;;;;;;54802:235;54995:6;54989:13;54980:6;54976:2;54972:15;54965:38;54519:529;-1:-1:-1;;;;;;54682:64:0;-1:-1:-1;;;54682:64:0;;-1:-1:-1;54519:529:0;54339:716;;;;;;:::o;13213:::-;13269:13;13320:14;13337:17;13348:5;13337:10;:17::i;:::-;13357:1;13337:21;13320:38;;13373:20;13407:6;13396:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13396:18:0;-1:-1:-1;13373:41:0;-1:-1:-1;13538:28:0;;;13554:2;13538:28;13595:288;-1:-1:-1;;13627:5:0;-1:-1:-1;;;13764:2:0;13753:14;;13748:30;13627:5;13735:44;13825:2;13816:11;;;-1:-1:-1;13850:10:0;13846:21;;13862:5;;13846:21;13595:288;;;-1:-1:-1;13904:6:0;13213:716;-1:-1:-1;;;13213:716:0:o;61235:689::-;61366:19;61372:2;61376:8;61366:5;:19::i;:::-;-1:-1:-1;;;;;61427:14:0;;;:19;61423:483;;61481:13;;61529:14;;;61562:233;61593:62;61632:1;61636:2;61640:7;;;;;;61649:5;61593:30;:62::i;:::-;61588:167;;61691:40;;-1:-1:-1;;;61691:40:0;;;;;;;;;;;61588:167;61790:3;61782:5;:11;61562:233;;61877:3;61860:13;;:20;61856:34;;61882:8;;;61856:34;61448:458;;61235:689;;;:::o;10074:922::-;10127:7;;-1:-1:-1;;;10205:15:0;;10201:102;;-1:-1:-1;;;10241:15:0;;;-1:-1:-1;10285:2:0;10275:12;10201:102;10330:6;10321:5;:15;10317:102;;10366:6;10357:15;;;-1:-1:-1;10401:2:0;10391:12;10317:102;10446:6;10437:5;:15;10433:102;;10482:6;10473:15;;;-1:-1:-1;10517:2:0;10507:12;10433:102;10562:5;10553;:14;10549:99;;10597:5;10588:14;;;-1:-1:-1;10631:1:0;10621:11;10549:99;10675:5;10666;:14;10662:99;;10710:5;10701:14;;;-1:-1:-1;10744:1:0;10734:11;10662:99;10788:5;10779;:14;10775:99;;10823:5;10814:14;;;-1:-1:-1;10857:1:0;10847:11;10775:99;10901:5;10892;:14;10888:66;;10937:1;10927:11;10982:6;10074:922;-1:-1:-1;;10074:922:0:o;55517:2966::-;55613:13;;55641;55637:44;;55663:18;;-1:-1:-1;;;55663:18:0;;;;;;;;;;;55637:44;-1:-1:-1;;;;;56169:22:0;;;;;;:18;:22;;;;29238:2;56169:22;;;:71;;56207:32;56195:45;;56169:71;;;56483:31;;;:17;:31;;;;;-1:-1:-1;43219:15:0;;43193:24;43189:46;42788:11;42763:23;42759:41;42756:52;42746:63;;56483:173;;56718:23;;;;56483:31;;56169:22;;57483:25;56169:22;;57336:335;57997:1;57983:12;57979:20;57937:346;58038:3;58029:7;58026:16;57937:346;;58256:7;58246:8;58243:1;58216:25;58213:1;58210;58205:59;58091:1;58078:15;57937:346;;;-1:-1:-1;58316:13:0;58312:45;;58338:19;;-1:-1:-1;;;58338:19:0;;;;;;;;;;;58312:45;58374:13;:19;-1:-1:-1;51057:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;13296:1;13289:14;;;13333:4;13320:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;7183:488::-;-1:-1:-1;;;;;7452:15:1;;;7434:34;;7504:15;;7499:2;7484:18;;7477:43;7551:2;7536:18;;7529:34;;;7599:3;7594:2;7579:18;;7572:31;;;7377:4;;7620:45;;7645:19;;7637:6;7620:45;:::i;:::-;7612:53;7183:488;-1:-1:-1;;;;;;7183:488:1:o;7676:632::-;7847:2;7899:21;;;7969:13;;7872:18;;;7991:22;;;7818:4;;7847:2;8070:15;;;;8044:2;8029:18;;;7818:4;8113:169;8127:6;8124:1;8121:13;8113:169;;;8188:13;;8176:26;;8257:15;;;;8222:12;;;;8149:1;8142:9;8113:169;;;-1:-1:-1;8299:3:1;;7676:632;-1:-1:-1;;;;;;7676:632:1:o;8505:219::-;8654:2;8643:9;8636:21;8617:4;8674:44;8714:2;8703:9;8699:18;8691:6;8674:44;:::i;13349:128::-;13389:3;13420:1;13416:6;13413:1;13410:13;13407:39;;;13426:18;;:::i;:::-;-1:-1:-1;13462:9:1;;13349:128::o;13482:217::-;13522:1;13548;13538:132;;13592:10;13587:3;13583:20;13580:1;13573:31;13627:4;13624:1;13617:15;13655:4;13652:1;13645:15;13538:132;-1:-1:-1;13684:9:1;;13482:217::o;13704:168::-;13744:7;13810:1;13806;13802:6;13798:14;13795:1;13792:21;13787:1;13780:9;13773:17;13769:45;13766:71;;;13817:18;;:::i;:::-;-1:-1:-1;13857:9:1;;13704:168::o;13877:125::-;13917:4;13945:1;13942;13939:8;13936:34;;;13950:18;;:::i;:::-;-1:-1:-1;13987:9:1;;13877:125::o;14007:258::-;14079:1;14089:113;14103:6;14100:1;14097:13;14089:113;;;14179:11;;;14173:18;14160:11;;;14153:39;14125:2;14118:10;14089:113;;;14220:6;14217:1;14214:13;14211:48;;;-1:-1:-1;;14255:1:1;14237:16;;14230:27;14007:258::o;14270:380::-;14349:1;14345:12;;;;14392;;;14413:61;;14467:4;14459:6;14455:17;14445:27;;14413:61;14520:2;14512:6;14509:14;14489:18;14486:38;14483:161;;;14566:10;14561:3;14557:20;14554:1;14547:31;14601:4;14598:1;14591:15;14629:4;14626:1;14619:15;14483:161;;14270:380;;;:::o;14655:135::-;14694:3;-1:-1:-1;;14715:17:1;;14712:43;;;14735:18;;:::i;:::-;-1:-1:-1;14782:1:1;14771:13;;14655:135::o;14795:127::-;14856:10;14851:3;14847:20;14844:1;14837:31;14887:4;14884:1;14877:15;14911:4;14908:1;14901:15;15059:127;15120:10;15115:3;15111:20;15108:1;15101:31;15151:4;15148:1;15141:15;15175:4;15172:1;15165:15;15191:127;15252:10;15247:3;15243:20;15240:1;15233:31;15283:4;15280:1;15273:15;15307:4;15304:1;15297:15;15323:131;-1:-1:-1;;;;;;15397:32:1;;15387:43;;15377:71;;15444:1;15441;15434:12
Swarm Source
ipfs://b494517adc5d260bc59c88dac30113135bd1b0a05ed8da854597ee54958569f2
Loading...
Loading
Loading...
Loading
[ 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.