ERC-721
Overview
Max Total Supply
1,001 WDR
Holders
368
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WDRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Wonderlands
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-02 */ // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) 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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, 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 << 3) < value ? 1 : 0); } } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: https://github.com/chiru-labs/ERC721A/blob/main/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: https://github.com/chiru-labs/ERC721A/blob/main/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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File: contracts/wonderlands.sol pragma solidity ^0.8.17; contract Wonderlands is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 1001; uint256 public maxFreeAmount = 202; uint256 public maxFreePerWallet = 2; uint256 public price = 0.002 ether; uint256 public maxPerTx = 20; uint256 public maxPerWallet = 20; bool public mintEnabled = false; string public baseURI; constructor( string memory _name, string memory _symbol, string memory _initBaseURI ) ERC721A(_name,_symbol) { setBaseURI(_initBaseURI); } function communityMint(uint256 _amountPerAddress, address[] calldata addresses) external onlyOwner { uint256 totalSupply = uint256(totalSupply()); uint totalAmount = _amountPerAddress * addresses.length; require(totalSupply + totalAmount <= maxSupply, "Exceeds max supply."); for (uint256 i = 0; i < addresses.length; i++) { _safeMint(addresses[i], _amountPerAddress); } delete _amountPerAddress; delete totalSupply; } function publicMint(uint256 quantity) external payable { require(mintEnabled, "Minting is not live yet."); require(totalSupply() + quantity < maxSupply + 1, "No more"); uint256 cost = price; uint256 _maxPerWallet = maxPerWallet; if ( totalSupply() < maxFreeAmount && _numberMinted(msg.sender) == 0 && quantity <= maxFreePerWallet ) { cost = 0; _maxPerWallet = maxFreePerWallet; } require( _numberMinted(msg.sender) + quantity <= _maxPerWallet, "Max per wallet" ); uint256 needPayCount = quantity; if (_numberMinted(msg.sender) == 0) { needPayCount = quantity - 1; } require( msg.value >= needPayCount * cost, "Please send the exact amount." ); _safeMint(msg.sender, quantity); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function flipSale() external onlyOwner { mintEnabled = !mintEnabled; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function setMaxFreeAmount(uint256 _amount) external onlyOwner { maxFreeAmount = _amount; } function setMaxFreePerWallet(uint256 _amount) external onlyOwner { maxFreePerWallet = _amount; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed."); } }
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":"_initBaseURI","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":[{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountPerAddress","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"communityMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e960095560ca600a556002600b5566071afd498d0000600c556014600d819055600e55600f805460ff191690553480156200004057600080fd5b5060405162001f6938038062001f6983398101604081905262000063916200023c565b828260026200007383826200035c565b5060036200008282826200035c565b505060008055506200009433620000a8565b6200009f81620000fa565b50505062000428565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200010462000116565b60106200011282826200035c565b5050565b6008546001600160a01b03163314620001755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200019f57600080fd5b81516001600160401b0380821115620001bc57620001bc62000177565b604051601f8301601f19908116603f01168101908282118183101715620001e757620001e762000177565b816040528381526020925086838588010111156200020457600080fd5b600091505b8382101562000228578582018301518183018401529082019062000209565b600093810190920192909252949350505050565b6000806000606084860312156200025257600080fd5b83516001600160401b03808211156200026a57600080fd5b62000278878388016200018d565b945060208601519150808211156200028f57600080fd5b6200029d878388016200018d565b93506040860151915080821115620002b457600080fd5b50620002c3868287016200018d565b9150509250925092565b600181811c90821680620002e257607f821691505b6020821081036200030357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035757600081815260208120601f850160051c81016020861015620003325750805b601f850160051c820191505b8181101562000353578281556001016200033e565b5050505b505050565b81516001600160401b0381111562000378576200037862000177565b6200039081620003898454620002cd565b8462000309565b602080601f831160018114620003c85760008415620003af5750858301515b600019600386901b1c1916600185901b17855562000353565b600085815260208120601f198616915b82811015620003f957888601518255948401946001909101908401620003d8565b5085821015620004185787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b3180620004386000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063a7027357116100a0578063d5abeb011161006f578063d5abeb0114610509578063e985e9c51461051f578063f2fde38b1461053f578063f892c6e21461055f578063f968adbe1461057557600080fd5b8063a7027357146104a6578063b88d4fde146104bc578063c87b56dd146104cf578063d1239730146104ef57600080fd5b806395d89b41116100dc57806395d89b411461043b5780639643b7b914610450578063a035b1fe14610470578063a22cb4651461048657600080fd5b8063715018a6146103d35780637ba5e621146103e85780638da5cb5b146103fd57806391b7f5ed1461041b57600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e1461035e5780636c0360eb1461037e5780636d7c4a4b1461039357806370a08231146103b357600080fd5b80633ccfd60b1461030057806342842e0e14610315578063453c23101461032857806355f804b31461033e57600080fd5b80630c23bb3f116101c15780630c23bb3f1461029757806318160ddd146102b757806323b872dd146102da5780632db11544146102ed57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046114ba565b61058b565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6105dd565b60405161021f919061152e565b34801561025657600080fd5b5061026a610265366004611541565b61066f565b6040516001600160a01b03909116815260200161021f565b610295610290366004611571565b6106aa565b005b3480156102a357600080fd5b506102956102b2366004611541565b6106ba565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102956102e836600461159b565b6106c7565b6102956102fb366004611541565b61082c565b34801561030c57600080fd5b506102956109fb565b61029561032336600461159b565b610a91565b34801561033457600080fd5b506102cc600e5481565b34801561034a57600080fd5b50610295610359366004611663565b610ab1565b34801561036a57600080fd5b5061026a610379366004611541565b610ac5565b34801561038a57600080fd5b5061023d610ad0565b34801561039f57600080fd5b506102956103ae366004611541565b610b5e565b3480156103bf57600080fd5b506102cc6103ce3660046116ac565b610b6b565b3480156103df57600080fd5b50610295610bb1565b3480156103f457600080fd5b50610295610bc5565b34801561040957600080fd5b506008546001600160a01b031661026a565b34801561042757600080fd5b50610295610436366004611541565b610be1565b34801561044757600080fd5b5061023d610bee565b34801561045c57600080fd5b5061029561046b3660046116c7565b610bfd565b34801561047c57600080fd5b506102cc600c5481565b34801561049257600080fd5b506102956104a1366004611746565b610ccb565b3480156104b257600080fd5b506102cc600b5481565b6102956104ca366004611782565b610d37565b3480156104db57600080fd5b5061023d6104ea366004611541565b610d72565b3480156104fb57600080fd5b50600f546102139060ff1681565b34801561051557600080fd5b506102cc60095481565b34801561052b57600080fd5b5061021361053a3660046117fe565b610e13565b34801561054b57600080fd5b5061029561055a3660046116ac565b610e41565b34801561056b57600080fd5b506102cc600a5481565b34801561058157600080fd5b506102cc600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806105bc57506380ac58cd60e01b6001600160e01b03198316145b806105d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105ec90611831565b80601f016020809104026020016040519081016040528092919081815260200182805461061890611831565b80156106655780601f1061063a57610100808354040283529160200191610665565b820191906000526020600020905b81548152906001019060200180831161064857829003601f168201915b5050505050905090565b600061067a82610eb7565b61068e5761068e6333d1c03960e21b610efc565b506000908152600660205260409020546001600160a01b031690565b6106b682826001610f06565b5050565b6106c2610fa9565b600a55565b60006106d282611003565b6001600160a01b0394851694909150811684146106f8576106f862a1148160e81b610efc565b60008281526006602052604090208054338082146001600160a01b0388169091141761073c576107288633610e13565b61073c5761073c632ce44b5f60e11b610efc565b801561074757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107d9576001840160008181526004602052604081205490036107d75760005481146107d75760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361082357610823633a954ecd60e21b610efc565b50505050505050565b600f5460ff166108835760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600954610891906001611881565b8161089f6001546000540390565b6108a99190611881565b106108e05760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b604482015260640161087a565b600c54600e54600a5460015460005403108015610903575061090133611099565b155b80156109115750600b548311155b1561091f575050600b546000905b808361092a33611099565b6109349190611881565b11156109735760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b604482015260640161087a565b8261097d33611099565b6000036109925761098f600185611894565b90505b61099c83826118a7565b3410156109eb5760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e000000604482015260640161087a565b6109f533856110c2565b50505050565b610a03610fa9565b604051600090339047908381818185875af1925050503d8060008114610a45576040519150601f19603f3d011682016040523d82523d6000602084013e610a4a565b606091505b5050905080610a8e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161087a565b50565b610aac83838360405180602001604052806000815250610d37565b505050565b610ab9610fa9565b60106106b68282611904565b60006105d782611003565b60108054610add90611831565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0990611831565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b505050505081565b610b66610fa9565b600b55565b60006001600160a01b038216610b8b57610b8b6323d3ad8160e21b610efc565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bb9610fa9565b610bc360006110dc565b565b610bcd610fa9565b600f805460ff19811660ff90911615179055565b610be9610fa9565b600c55565b6060600380546105ec90611831565b610c05610fa9565b6000610c146001546000540390565b90506000610c2283866118a7565b600954909150610c328284611881565b1115610c765760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161087a565b60005b83811015610cc357610cb1858583818110610c9657610c966119c4565b9050602002016020810190610cab91906116ac565b876110c2565b80610cbb816119da565b915050610c79565b505050505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d428484846106c7565b6001600160a01b0383163b156109f557610d5e8484848461112e565b6109f5576109f56368d2bf6b60e11b610efc565b6060610d7d82610eb7565b610de15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087a565b6010610dec83611211565b604051602001610dfd9291906119f3565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e49610fa9565b6001600160a01b038116610eae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087a565b610a8e816110dc565b60008054821015610ef75760005b5060008281526004602052604081205490819003610eed57610ee683611a8a565b9250610ec5565b600160e01b161590505b919050565b8060005260046000fd5b6000610f1183610ac5565b9050818015610f295750336001600160a01b03821614155b15610f4c57610f388133610e13565b610f4c57610f4c6367d9dca160e11b610efc565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087a565b6000818152600460205260408120549081900361107657600054821061103357611033636f96cda160e11b610efc565b5b5060001901600081815260046020526040902054801561103457600160e01b811660000361106157919050565b611071636f96cda160e11b610efc565b611034565b600160e01b811660000361108957919050565b610ef7636f96cda160e11b610efc565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6106b68282604051806020016040528060008152506112a4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611163903390899088908890600401611aa1565b6020604051808303816000875af192505050801561119e575060408051601f3d908101601f1916820190925261119b91810190611ade565b60015b6111f3573d8080156111cc576040519150601f19603f3d011682016040523d82523d6000602084013e6111d1565b606091505b5080516000036111eb576111eb6368d2bf6b60e11b610efc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061121e8361130d565b600101905060008167ffffffffffffffff81111561123e5761123e6115d7565b6040519080825280601f01601f191660200182016040528015611268576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461127257509392505050565b6112ae83836113e5565b6001600160a01b0383163b15610aac576000548281035b6112d8600086838060010194508661112e565b6112ec576112ec6368d2bf6b60e11b610efc565b8181106112c5578160005414611306576113066000610efc565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061134c5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611378576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061139657662386f26fc10000830492506010015b6305f5e10083106113ae576305f5e100830492506008015b61271083106113c257612710830492506004015b606483106113d4576064830492506002015b600a83106105d75760010192915050565b60008054908290036114015761140163b562e8dd60e01b610efc565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361145f5761145f622e076360e81b610efc565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611464575060005550505050565b6001600160e01b031981168114610a8e57600080fd5b6000602082840312156114cc57600080fd5b81356114d7816114a4565b9392505050565b60005b838110156114f95781810151838201526020016114e1565b50506000910152565b6000815180845261151a8160208601602086016114de565b601f01601f19169290920160200192915050565b6020815260006114d76020830184611502565b60006020828403121561155357600080fd5b5035919050565b80356001600160a01b0381168114610ef757600080fd5b6000806040838503121561158457600080fd5b61158d8361155a565b946020939093013593505050565b6000806000606084860312156115b057600080fd5b6115b98461155a565b92506115c76020850161155a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611608576116086115d7565b604051601f8501601f19908116603f01168101908282118183101715611630576116306115d7565b8160405280935085815286868601111561164957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561167557600080fd5b813567ffffffffffffffff81111561168c57600080fd5b8201601f8101841361169d57600080fd5b611209848235602084016115ed565b6000602082840312156116be57600080fd5b6114d78261155a565b6000806000604084860312156116dc57600080fd5b83359250602084013567ffffffffffffffff808211156116fb57600080fd5b818601915086601f83011261170f57600080fd5b81358181111561171e57600080fd5b8760208260051b850101111561173357600080fd5b6020830194508093505050509250925092565b6000806040838503121561175957600080fd5b6117628361155a565b91506020830135801515811461177757600080fd5b809150509250929050565b6000806000806080858703121561179857600080fd5b6117a18561155a565b93506117af6020860161155a565b925060408501359150606085013567ffffffffffffffff8111156117d257600080fd5b8501601f810187136117e357600080fd5b6117f2878235602084016115ed565b91505092959194509250565b6000806040838503121561181157600080fd5b61181a8361155a565b91506118286020840161155a565b90509250929050565b600181811c9082168061184557607f821691505b60208210810361186557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105d7576105d761186b565b818103818111156105d7576105d761186b565b80820281158282048414176105d7576105d761186b565b601f821115610aac57600081815260208120601f850160051c810160208610156118e55750805b601f850160051c820191505b81811015610cc3578281556001016118f1565b815167ffffffffffffffff81111561191e5761191e6115d7565b6119328161192c8454611831565b846118be565b602080601f831160018114611967576000841561194f5750858301515b600019600386901b1c1916600185901b178555610cc3565b600085815260208120601f198616915b8281101561199657888601518255948401946001909101908401611977565b50858210156119b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016119ec576119ec61186b565b5060010190565b6000808454611a0181611831565b60018281168015611a195760018114611a2e57611a5d565b60ff1984168752821515830287019450611a5d565b8860005260208060002060005b85811015611a545781548a820152908401908201611a3b565b50505082870194505b505050508351611a718183602088016114de565b64173539b7b760d91b9101908152600501949350505050565b600081611a9957611a9961186b565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad490830184611502565b9695505050505050565b600060208284031215611af057600080fd5b81516114d7816114a456fea26469706673582212209dff279049a8ab4358b7914da8690e196c7ece2c1a992170cfe4d46afdbed2f764736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b576f6e6465726c616e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357445200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569646f716d6c62707073736d7771796974367a66686a343773616270667166706e786c766e6e707a6162786a3336636d32376662752f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063a7027357116100a0578063d5abeb011161006f578063d5abeb0114610509578063e985e9c51461051f578063f2fde38b1461053f578063f892c6e21461055f578063f968adbe1461057557600080fd5b8063a7027357146104a6578063b88d4fde146104bc578063c87b56dd146104cf578063d1239730146104ef57600080fd5b806395d89b41116100dc57806395d89b411461043b5780639643b7b914610450578063a035b1fe14610470578063a22cb4651461048657600080fd5b8063715018a6146103d35780637ba5e621146103e85780638da5cb5b146103fd57806391b7f5ed1461041b57600080fd5b80633ccfd60b116101855780636352211e116101545780636352211e1461035e5780636c0360eb1461037e5780636d7c4a4b1461039357806370a08231146103b357600080fd5b80633ccfd60b1461030057806342842e0e14610315578063453c23101461032857806355f804b31461033e57600080fd5b80630c23bb3f116101c15780630c23bb3f1461029757806318160ddd146102b757806323b872dd146102da5780632db11544146102ed57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e3660046114ba565b61058b565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6105dd565b60405161021f919061152e565b34801561025657600080fd5b5061026a610265366004611541565b61066f565b6040516001600160a01b03909116815260200161021f565b610295610290366004611571565b6106aa565b005b3480156102a357600080fd5b506102956102b2366004611541565b6106ba565b3480156102c357600080fd5b50600154600054035b60405190815260200161021f565b6102956102e836600461159b565b6106c7565b6102956102fb366004611541565b61082c565b34801561030c57600080fd5b506102956109fb565b61029561032336600461159b565b610a91565b34801561033457600080fd5b506102cc600e5481565b34801561034a57600080fd5b50610295610359366004611663565b610ab1565b34801561036a57600080fd5b5061026a610379366004611541565b610ac5565b34801561038a57600080fd5b5061023d610ad0565b34801561039f57600080fd5b506102956103ae366004611541565b610b5e565b3480156103bf57600080fd5b506102cc6103ce3660046116ac565b610b6b565b3480156103df57600080fd5b50610295610bb1565b3480156103f457600080fd5b50610295610bc5565b34801561040957600080fd5b506008546001600160a01b031661026a565b34801561042757600080fd5b50610295610436366004611541565b610be1565b34801561044757600080fd5b5061023d610bee565b34801561045c57600080fd5b5061029561046b3660046116c7565b610bfd565b34801561047c57600080fd5b506102cc600c5481565b34801561049257600080fd5b506102956104a1366004611746565b610ccb565b3480156104b257600080fd5b506102cc600b5481565b6102956104ca366004611782565b610d37565b3480156104db57600080fd5b5061023d6104ea366004611541565b610d72565b3480156104fb57600080fd5b50600f546102139060ff1681565b34801561051557600080fd5b506102cc60095481565b34801561052b57600080fd5b5061021361053a3660046117fe565b610e13565b34801561054b57600080fd5b5061029561055a3660046116ac565b610e41565b34801561056b57600080fd5b506102cc600a5481565b34801561058157600080fd5b506102cc600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806105bc57506380ac58cd60e01b6001600160e01b03198316145b806105d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105ec90611831565b80601f016020809104026020016040519081016040528092919081815260200182805461061890611831565b80156106655780601f1061063a57610100808354040283529160200191610665565b820191906000526020600020905b81548152906001019060200180831161064857829003601f168201915b5050505050905090565b600061067a82610eb7565b61068e5761068e6333d1c03960e21b610efc565b506000908152600660205260409020546001600160a01b031690565b6106b682826001610f06565b5050565b6106c2610fa9565b600a55565b60006106d282611003565b6001600160a01b0394851694909150811684146106f8576106f862a1148160e81b610efc565b60008281526006602052604090208054338082146001600160a01b0388169091141761073c576107288633610e13565b61073c5761073c632ce44b5f60e11b610efc565b801561074757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107d9576001840160008181526004602052604081205490036107d75760005481146107d75760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361082357610823633a954ecd60e21b610efc565b50505050505050565b600f5460ff166108835760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600954610891906001611881565b8161089f6001546000540390565b6108a99190611881565b106108e05760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b604482015260640161087a565b600c54600e54600a5460015460005403108015610903575061090133611099565b155b80156109115750600b548311155b1561091f575050600b546000905b808361092a33611099565b6109349190611881565b11156109735760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b604482015260640161087a565b8261097d33611099565b6000036109925761098f600185611894565b90505b61099c83826118a7565b3410156109eb5760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e000000604482015260640161087a565b6109f533856110c2565b50505050565b610a03610fa9565b604051600090339047908381818185875af1925050503d8060008114610a45576040519150601f19603f3d011682016040523d82523d6000602084013e610a4a565b606091505b5050905080610a8e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161087a565b50565b610aac83838360405180602001604052806000815250610d37565b505050565b610ab9610fa9565b60106106b68282611904565b60006105d782611003565b60108054610add90611831565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0990611831565b8015610b565780601f10610b2b57610100808354040283529160200191610b56565b820191906000526020600020905b815481529060010190602001808311610b3957829003601f168201915b505050505081565b610b66610fa9565b600b55565b60006001600160a01b038216610b8b57610b8b6323d3ad8160e21b610efc565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bb9610fa9565b610bc360006110dc565b565b610bcd610fa9565b600f805460ff19811660ff90911615179055565b610be9610fa9565b600c55565b6060600380546105ec90611831565b610c05610fa9565b6000610c146001546000540390565b90506000610c2283866118a7565b600954909150610c328284611881565b1115610c765760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b604482015260640161087a565b60005b83811015610cc357610cb1858583818110610c9657610c966119c4565b9050602002016020810190610cab91906116ac565b876110c2565b80610cbb816119da565b915050610c79565b505050505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d428484846106c7565b6001600160a01b0383163b156109f557610d5e8484848461112e565b6109f5576109f56368d2bf6b60e11b610efc565b6060610d7d82610eb7565b610de15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087a565b6010610dec83611211565b604051602001610dfd9291906119f3565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e49610fa9565b6001600160a01b038116610eae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087a565b610a8e816110dc565b60008054821015610ef75760005b5060008281526004602052604081205490819003610eed57610ee683611a8a565b9250610ec5565b600160e01b161590505b919050565b8060005260046000fd5b6000610f1183610ac5565b9050818015610f295750336001600160a01b03821614155b15610f4c57610f388133610e13565b610f4c57610f4c6367d9dca160e11b610efc565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087a565b6000818152600460205260408120549081900361107657600054821061103357611033636f96cda160e11b610efc565b5b5060001901600081815260046020526040902054801561103457600160e01b811660000361106157919050565b611071636f96cda160e11b610efc565b611034565b600160e01b811660000361108957919050565b610ef7636f96cda160e11b610efc565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6106b68282604051806020016040528060008152506112a4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611163903390899088908890600401611aa1565b6020604051808303816000875af192505050801561119e575060408051601f3d908101601f1916820190925261119b91810190611ade565b60015b6111f3573d8080156111cc576040519150601f19603f3d011682016040523d82523d6000602084013e6111d1565b606091505b5080516000036111eb576111eb6368d2bf6b60e11b610efc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061121e8361130d565b600101905060008167ffffffffffffffff81111561123e5761123e6115d7565b6040519080825280601f01601f191660200182016040528015611268576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461127257509392505050565b6112ae83836113e5565b6001600160a01b0383163b15610aac576000548281035b6112d8600086838060010194508661112e565b6112ec576112ec6368d2bf6b60e11b610efc565b8181106112c5578160005414611306576113066000610efc565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061134c5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611378576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061139657662386f26fc10000830492506010015b6305f5e10083106113ae576305f5e100830492506008015b61271083106113c257612710830492506004015b606483106113d4576064830492506002015b600a83106105d75760010192915050565b60008054908290036114015761140163b562e8dd60e01b610efc565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361145f5761145f622e076360e81b610efc565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611464575060005550505050565b6001600160e01b031981168114610a8e57600080fd5b6000602082840312156114cc57600080fd5b81356114d7816114a4565b9392505050565b60005b838110156114f95781810151838201526020016114e1565b50506000910152565b6000815180845261151a8160208601602086016114de565b601f01601f19169290920160200192915050565b6020815260006114d76020830184611502565b60006020828403121561155357600080fd5b5035919050565b80356001600160a01b0381168114610ef757600080fd5b6000806040838503121561158457600080fd5b61158d8361155a565b946020939093013593505050565b6000806000606084860312156115b057600080fd5b6115b98461155a565b92506115c76020850161155a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611608576116086115d7565b604051601f8501601f19908116603f01168101908282118183101715611630576116306115d7565b8160405280935085815286868601111561164957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561167557600080fd5b813567ffffffffffffffff81111561168c57600080fd5b8201601f8101841361169d57600080fd5b611209848235602084016115ed565b6000602082840312156116be57600080fd5b6114d78261155a565b6000806000604084860312156116dc57600080fd5b83359250602084013567ffffffffffffffff808211156116fb57600080fd5b818601915086601f83011261170f57600080fd5b81358181111561171e57600080fd5b8760208260051b850101111561173357600080fd5b6020830194508093505050509250925092565b6000806040838503121561175957600080fd5b6117628361155a565b91506020830135801515811461177757600080fd5b809150509250929050565b6000806000806080858703121561179857600080fd5b6117a18561155a565b93506117af6020860161155a565b925060408501359150606085013567ffffffffffffffff8111156117d257600080fd5b8501601f810187136117e357600080fd5b6117f2878235602084016115ed565b91505092959194509250565b6000806040838503121561181157600080fd5b61181a8361155a565b91506118286020840161155a565b90509250929050565b600181811c9082168061184557607f821691505b60208210810361186557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105d7576105d761186b565b818103818111156105d7576105d761186b565b80820281158282048414176105d7576105d761186b565b601f821115610aac57600081815260208120601f850160051c810160208610156118e55750805b601f850160051c820191505b81811015610cc3578281556001016118f1565b815167ffffffffffffffff81111561191e5761191e6115d7565b6119328161192c8454611831565b846118be565b602080601f831160018114611967576000841561194f5750858301515b600019600386901b1c1916600185901b178555610cc3565b600085815260208120601f198616915b8281101561199657888601518255948401946001909101908401611977565b50858210156119b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016119ec576119ec61186b565b5060010190565b6000808454611a0181611831565b60018281168015611a195760018114611a2e57611a5d565b60ff1984168752821515830287019450611a5d565b8860005260208060002060005b85811015611a545781548a820152908401908201611a3b565b50505082870194505b505050508351611a718183602088016114de565b64173539b7b760d91b9101908152600501949350505050565b600081611a9957611a9961186b565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad490830184611502565b9695505050505050565b600060208284031215611af057600080fd5b81516114d7816114a456fea26469706673582212209dff279049a8ab4358b7914da8690e196c7ece2c1a992170cfe4d46afdbed2f764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b576f6e6465726c616e6473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357445200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569646f716d6c62707073736d7771796974367a66686a343773616270667166706e786c766e6e707a6162786a3336636d32376662752f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Wonderlands
Arg [1] : _symbol (string): WDR
Arg [2] : _initBaseURI (string): ipfs://bafybeidoqmlbppssmwqyit6zfhj47sabpfqfpnxlvnnpzabxj36cm27fbu/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 576f6e6465726c616e6473000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5744520000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 697066733a2f2f62616679626569646f716d6c62707073736d7771796974367a
Arg [9] : 66686a343773616270667166706e786c766e6e707a6162786a3336636d323766
Arg [10] : 62752f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
75010:3194:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39666:639;;;;;;;;;;-1:-1:-1;39666:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;39666:639:0;;;;;;;;40568:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47602:227::-;;;;;;;;;;-1:-1:-1;47602:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;47602:227:0;1533:203:1;47319:124:0;;;;;;:::i;:::-;;:::i;:::-;;77765:104;;;;;;;;;;-1:-1:-1;77765:104:0;;;;;:::i;:::-;;:::i;36310:323::-;;;;;;;;;;-1:-1:-1;36584:12:0;;36371:7;36568:13;:28;36310:323;;;2324:25:1;;;2312:2;2297:18;36310:323:0;2178:177:1;51336:3523:0;;;;;;:::i;:::-;;:::i;76063:966::-;;;;;;:::i;:::-;;:::i;77995:206::-;;;;;;;;;;;;;:::i;54955:193::-;;;;;;:::i;:::-;;:::i;75287:32::-;;;;;;;;;;;;;;;;77569:88;;;;;;;;;;-1:-1:-1;77569:88:0;;;;;:::i;:::-;;:::i;41970:152::-;;;;;;;;;;-1:-1:-1;41970:152:0;;;;;:::i;:::-;;:::i;75364:21::-;;;;;;;;;;;;;:::i;77877:110::-;;;;;;;;;;-1:-1:-1;77877:110:0;;;;;:::i;:::-;;:::i;37494:242::-;;;;;;;;;;-1:-1:-1;37494:242:0;;;;;:::i;:::-;;:::i;2875:103::-;;;;;;;;;;;;;:::i;77477:84::-;;;;;;;;;;;;;:::i;2234:87::-;;;;;;;;;;-1:-1:-1;2307:6:0;;-1:-1:-1;;;;;2307:6:0;2234:87;;77665:92;;;;;;;;;;-1:-1:-1;77665:92:0;;;;;:::i;:::-;;:::i;40744:104::-;;;;;;;;;;;;;:::i;75572:483::-;;;;;;;;;;-1:-1:-1;75572:483:0;;;;;:::i;:::-;;:::i;75211:34::-;;;;;;;;;;;;;;;;48169:234;;;;;;;;;;-1:-1:-1;48169:234:0;;;;;:::i;:::-;;:::i;75169:35::-;;;;;;;;;;;;;;;;55746:416;;;;;;:::i;:::-;;:::i;77153:316::-;;;;;;;;;;-1:-1:-1;77153:316:0;;;;;:::i;:::-;;:::i;75326:31::-;;;;;;;;;;-1:-1:-1;75326:31:0;;;;;;;;75090;;;;;;;;;;;;;;;;48560:164;;;;;;;;;;-1:-1:-1;48560:164:0;;;;;:::i;:::-;;:::i;3133:201::-;;;;;;;;;;-1:-1:-1;3133:201:0;;;;;:::i;:::-;;:::i;75128:34::-;;;;;;;;;;;;;;;;75252:28;;;;;;;;;;;;;;;;39666:639;39751:4;-1:-1:-1;;;;;;;;;40075:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40152:25:0;;;40075:102;:179;;;-1:-1:-1;;;;;;;;;;40229:25:0;;;40075:179;40055:199;39666:639;-1:-1:-1;;39666:639:0:o;40568:100::-;40622:13;40655:5;40648:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40568:100;:::o;47602:227::-;47678:7;47703:16;47711:7;47703;:16::i;:::-;47698:73;;47721:50;-1:-1:-1;;;47721:7:0;:50::i;:::-;-1:-1:-1;47791:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47791:30:0;;47602:227::o;47319:124::-;47408:27;47417:2;47421:7;47430:4;47408:8;:27::i;:::-;47319:124;;:::o;77765:104::-;2120:13;:11;:13::i;:::-;77838::::1;:23:::0;77765:104::o;51336:3523::-;51478:27;51508;51527:7;51508:18;:27::i;:::-;-1:-1:-1;;;;;51663:22:0;;;;51478:57;;-1:-1:-1;51723:45:0;;;;51719:95;;51770:44;-1:-1:-1;;;51770:7:0;:44::i;:::-;51828:27;50444:24;;;:15;:24;;;;;50672:26;;72828:10;50069:30;;;-1:-1:-1;;;;;49762:28:0;;50047:20;;;50044:56;52014:189;;52107:43;52124:4;72828:10;48560:164;:::i;52107:43::-;52102:101;;52152:51;-1:-1:-1;;;52152:7:0;:51::i;:::-;52352:15;52349:160;;;52492:1;52471:19;52464:30;52349:160;-1:-1:-1;;;;;52889:24:0;;;;;;;:18;:24;;;;;;52887:26;;-1:-1:-1;;52887:26:0;;;52958:22;;;;;;;;;52956:24;;-1:-1:-1;52956:24:0;;;46421:11;46396:23;46392:41;46379:63;-1:-1:-1;;;46379:63:0;53251:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53546:47:0;;:52;;53542:627;;53651:1;53641:11;;53619:19;53774:30;;;:17;:30;;;;;;:35;;53770:384;;53912:13;;53897:11;:28;53893:242;;54059:30;;;;:17;:30;;;;;:52;;;53893:242;53600:569;53542:627;-1:-1:-1;;;;;54301:20:0;;54681:7;54301:20;54611:4;54553:25;54282:16;;54418:299;54742:8;54754:1;54742:13;54738:58;;54757:39;-1:-1:-1;;;54757:7:0;:39::i;:::-;51467:3392;;;;51336:3523;;;:::o;76063:966::-;76139:11;;;;76131:48;;;;-1:-1:-1;;;76131:48:0;;6673:2:1;76131:48:0;;;6655:21:1;6712:2;6692:18;;;6685:30;6751:26;6731:18;;;6724:54;6795:18;;76131:48:0;;;;;;;;;76225:9;;:13;;76237:1;76225:13;:::i;:::-;76214:8;76198:13;36584:12;;36371:7;36568:13;:28;;36310:323;76198:13;:24;;;;:::i;:::-;:40;76190:60;;;;-1:-1:-1;;;76190:60:0;;7288:2:1;76190:60:0;;;7270:21:1;7327:1;7307:18;;;7300:29;-1:-1:-1;;;7345:18:1;;;7338:37;7392:18;;76190:60:0;7086:330:1;76190:60:0;76276:5;;76316:12;;76385:13;;36584:12;;36371:7;36568:13;:28;76369:29;:76;;;;;76415:25;76429:10;76415:13;:25::i;:::-;:30;76369:76;:121;;;;;76474:16;;76462:8;:28;;76369:121;76351:233;;;-1:-1:-1;;76556:16:0;;76524:1;;76351:233;76658:13;76646:8;76618:25;76632:10;76618:13;:25::i;:::-;:36;;;;:::i;:::-;:53;;76596:117;;;;-1:-1:-1;;;76596:117:0;;7623:2:1;76596:117:0;;;7605:21:1;7662:2;7642:18;;;7635:30;-1:-1:-1;;;7681:18:1;;;7674:44;7735:18;;76596:117:0;7421:338:1;76596:117:0;76749:8;76772:25;76786:10;76772:13;:25::i;:::-;76801:1;76772:30;76768:90;;76834:12;76845:1;76834:8;:12;:::i;:::-;76819:27;;76768:90;76903:19;76918:4;76903:12;:19;:::i;:::-;76890:9;:32;;76868:111;;;;-1:-1:-1;;;76868:111:0;;8272:2:1;76868:111:0;;;8254:21:1;8311:2;8291:18;;;8284:30;8350:31;8330:18;;;8323:59;8399:18;;76868:111:0;8070:353:1;76868:111:0;76990:31;77000:10;77012:8;76990:9;:31::i;:::-;76120:909;;;76063:966;:::o;77995:206::-;2120:13;:11;:13::i;:::-;78064:82:::1;::::0;78046:12:::1;::::0;78072:10:::1;::::0;78110:21:::1;::::0;78046:12;78064:82;78046:12;78064:82;78110:21;78072:10;78064:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78045:101;;;78165:7;78157:36;;;::::0;-1:-1:-1;;;78157:36:0;;8840:2:1;78157:36:0::1;::::0;::::1;8822:21:1::0;8879:2;8859:18;;;8852:30;-1:-1:-1;;;8898:18:1;;;8891:46;8954:18;;78157:36:0::1;8638:340:1::0;78157:36:0::1;78034:167;77995:206::o:0;54955:193::-;55101:39;55118:4;55124:2;55128:7;55101:39;;;;;;;;;;;;:16;:39::i;:::-;54955:193;;;:::o;77569:88::-;2120:13;:11;:13::i;:::-;77636:7:::1;:13;77646:3:::0;77636:7;:13:::1;:::i;41970:152::-:0;42042:7;42085:27;42104:7;42085:18;:27::i;75364:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77877:110::-;2120:13;:11;:13::i;:::-;77953:16:::1;:26:::0;77877:110::o;37494:242::-;37566:7;-1:-1:-1;;;;;37590:19:0;;37586:69;;37611:44;-1:-1:-1;;;37611:7:0;:44::i;:::-;-1:-1:-1;;;;;;37673:25:0;;;;;:18;:25;;;;;;31653:13;37673:55;;37494:242::o;2875:103::-;2120:13;:11;:13::i;:::-;2940:30:::1;2967:1;2940:18;:30::i;:::-;2875:103::o:0;77477:84::-;2120:13;:11;:13::i;:::-;77542:11:::1;::::0;;-1:-1:-1;;77527:26:0;::::1;77542:11;::::0;;::::1;77541:12;77527:26;::::0;;77477:84::o;77665:92::-;2120:13;:11;:13::i;:::-;77732:5:::1;:17:::0;77665:92::o;40744:104::-;40800:13;40833:7;40826:14;;;;;:::i;75572:483::-;2120:13;:11;:13::i;:::-;75680:19:::1;75710:13;36584:12:::0;;36371:7;36568:13;:28;;36310:323;75710:13:::1;75680:44:::0;-1:-1:-1;75732:16:0::1;75753:36;75773:9:::0;75753:17;:36:::1;:::i;:::-;75833:9;::::0;75732:57;;-1:-1:-1;75804:25:0::1;75732:57:::0;75804:11;:25:::1;:::i;:::-;:38;;75796:70;;;::::0;-1:-1:-1;;;75796:70:0;;11389:2:1;75796:70:0::1;::::0;::::1;11371:21:1::0;11428:2;11408:18;;;11401:30;-1:-1:-1;;;11447:18:1;;;11440:49;11506:18;;75796:70:0::1;11187:343:1::0;75796:70:0::1;75879:9;75874:116;75894:20:::0;;::::1;75874:116;;;75936:42;75946:9;;75956:1;75946:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;75960:17;75936:9;:42::i;:::-;75916:3:::0;::::1;::::0;::::1;:::i;:::-;;;;75874:116;;;-1:-1:-1::0;;;;;;75572:483:0:o;48169:234::-;72828:10;48264:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48264:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48264:60:0;;;;;;;;;;48340:55;;540:41:1;;;48264:49:0;;72828:10;48340:55;;513:18:1;48340:55:0;;;;;;;48169:234;;:::o;55746:416::-;55921:31;55934:4;55940:2;55944:7;55921:12;:31::i;:::-;-1:-1:-1;;;;;55967:14:0;;;:19;55963:192;;56006:56;56037:4;56043:2;56047:7;56056:5;56006:30;:56::i;:::-;56001:154;;56083:56;-1:-1:-1;;;56083:7:0;:56::i;77153:316::-;77242:13;77290:16;77298:7;77290;:16::i;:::-;77268:113;;;;-1:-1:-1;;;77268:113:0;;12009:2:1;77268:113:0;;;11991:21:1;12048:2;12028:18;;;12021:30;12087:34;12067:18;;;12060:62;-1:-1:-1;;;12138:18:1;;;12131:45;12193:19;;77268:113:0;11807:411:1;77268:113:0;77423:7;77432:18;:7;:16;:18::i;:::-;77406:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77392:69;;77153:316;;;:::o;48560:164::-;-1:-1:-1;;;;;48681:25:0;;;48657:4;48681:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48560:164::o;3133:201::-;2120:13;:11;:13::i;:::-;-1:-1:-1;;;;;3222:22:0;::::1;3214:73;;;::::0;-1:-1:-1;;;3214:73:0;;13617:2:1;3214:73:0::1;::::0;::::1;13599:21:1::0;13656:2;13636:18;;;13629:30;13695:34;13675:18;;;13668:62;-1:-1:-1;;;13746:18:1;;;13739:36;13792:19;;3214:73:0::1;13415:402:1::0;3214:73:0::1;3298:28;3317:8;3298:18;:28::i;48982:368::-:0;49047:11;49132:13;;49122:7;:23;49118:214;;;49166:14;49199:60;-1:-1:-1;49216:26:0;;;;:17;:26;;;;;;;49206:42;;;49199:60;;49250:9;;;:::i;:::-;;;49199:60;;;-1:-1:-1;;;49287:24:0;:29;;-1:-1:-1;49118:214:0;48982:368;;;:::o;74760:165::-;74861:13;74855:4;74848:27;74902:4;74896;74889:18;66193:474;66322:13;66338:16;66346:7;66338;:16::i;:::-;66322:32;;66371:13;:45;;;;-1:-1:-1;72828:10:0;-1:-1:-1;;;;;66388:28:0;;;;66371:45;66367:201;;;66436:44;66453:5;72828:10;48560:164;:::i;66436:44::-;66431:137;;66501:51;-1:-1:-1;;;66501:7:0;:51::i;:::-;66580:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;66580:35:0;-1:-1:-1;;;;;66580:35:0;;;;;;;;;66631:28;;66580:24;;66631:28;;;;;;;66311:356;66193:474;;;:::o;2399:132::-;2307:6;;-1:-1:-1;;;;;2307:6:0;72828:10;2463:23;2455:68;;;;-1:-1:-1;;;2455:68:0;;14165:2:1;2455:68:0;;;14147:21:1;;;14184:18;;;14177:30;14243:34;14223:18;;;14216:62;14295:18;;2455:68:0;13963:356:1;43450:2012:0;43600:26;;;;:17;:26;;;;;;;43726:11;;;43722:1292;;43773:13;;43762:7;:24;43758:77;;43788:47;-1:-1:-1;;;43788:7:0;:47::i;:::-;44392:607;-1:-1:-1;;;44488:9:0;44470:28;;;;:17;:28;;;;;;44544:25;;44392:607;44544:25;-1:-1:-1;;;44596:6:0;:24;44624:1;44596:29;44592:48;;43450:2012;;;:::o;44592:48::-;44932:47;-1:-1:-1;;;44932:7:0;:47::i;:::-;44392:607;;43722:1292;-1:-1:-1;;;45341:6:0;:24;45369:1;45341:29;45337:48;;43450:2012;;;:::o;45337:48::-;45407:47;-1:-1:-1;;;45407:7:0;:47::i;37818:178::-;-1:-1:-1;;;;;37907:25:0;37879:7;37907:25;;;:18;:25;;31791:2;37907:25;;;;;:50;;31653:13;37906:82;;37818:178::o;65275:112::-;65352:27;65362:2;65366:8;65352:27;;;;;;;;;;;;:9;:27::i;3494:191::-;3587:6;;;-1:-1:-1;;;;;3604:17:0;;;-1:-1:-1;;;;;;3604:17:0;;;;;;;3637:40;;3587:6;;;3604:17;3587:6;;3637:40;;3568:16;;3637:40;3557:128;3494:191;:::o;58246:691::-;58430:88;;-1:-1:-1;;;58430:88:0;;58409:4;;-1:-1:-1;;;;;58430:45:0;;;;;:88;;72828:10;;58497:4;;58503:7;;58512:5;;58430:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58430:88:0;;;;;;;;-1:-1:-1;;58430:88:0;;;;;;;;;;;;:::i;:::-;;;58426:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58713:6;:13;58730:1;58713:18;58709:115;;58752:56;-1:-1:-1;;;58752:7:0;:56::i;:::-;58896:6;58890:13;58881:6;58877:2;58873:15;58866:38;58426:504;-1:-1:-1;;;;;;58589:64:0;-1:-1:-1;;;58589:64:0;;-1:-1:-1;58426:504:0;58246:691;;;;;;:::o;18771:716::-;18827:13;18878:14;18895:17;18906:5;18895:10;:17::i;:::-;18915:1;18895:21;18878:38;;18931:20;18965:6;18954:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18954:18:0;-1:-1:-1;18931:41:0;-1:-1:-1;19096:28:0;;;19112:2;19096:28;19153:288;-1:-1:-1;;19185:5:0;-1:-1:-1;;;19322:2:0;19311:14;;19306:30;19185:5;19293:44;19383:2;19374:11;;;-1:-1:-1;19404:21:0;19153:288;19404:21;-1:-1:-1;19462:6:0;18771:716;-1:-1:-1;;;18771:716:0:o;64483:708::-;64614:19;64620:2;64624:8;64614:5;:19::i;:::-;-1:-1:-1;;;;;64675:14:0;;;:19;64671:502;;64715:11;64729:13;64777:14;;;64810:242;64841:62;64880:1;64884:2;64888:7;;;;;;64897:5;64841:30;:62::i;:::-;64836:176;;64932:56;-1:-1:-1;;;64932:7:0;:56::i;:::-;65047:3;65039:5;:11;64810:242;;65134:3;65117:13;;:20;65113:44;;65139:18;65154:1;65139:7;:18::i;:::-;64696:477;;64483:708;;;:::o;15552:948::-;15605:7;;-1:-1:-1;;;15683:17:0;;15679:106;;-1:-1:-1;;;15721:17:0;;;-1:-1:-1;15767:2:0;15757:12;15679:106;15812:8;15803:5;:17;15799:106;;15850:8;15841:17;;;-1:-1:-1;15887:2:0;15877:12;15799:106;15932:8;15923:5;:17;15919:106;;15970:8;15961:17;;;-1:-1:-1;16007:2:0;15997:12;15919:106;16052:7;16043:5;:16;16039:103;;16089:7;16080:16;;;-1:-1:-1;16125:1:0;16115:11;16039:103;16169:7;16160:5;:16;16156:103;;16206:7;16197:16;;;-1:-1:-1;16242:1:0;16232:11;16156:103;16286:7;16277:5;:16;16273:103;;16323:7;16314:16;;;-1:-1:-1;16359:1:0;16349:11;16273:103;16403:7;16394:5;:16;16390:68;;16441:1;16431:11;16486:6;15552:948;-1:-1:-1;;15552:948:0:o;59399:2305::-;59472:20;59495:13;;;59523;;;59519:53;;59538:34;-1:-1:-1;;;59538:7:0;:34::i;:::-;60085:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;46247:28:0;;46421:11;46396:23;46392:41;46865:1;46852:15;;46826:24;46822:46;46389:52;46379:63;;60085:173;;;60476:22;;;:18;:22;;;;;:71;;60514:32;60502:45;;60476:71;;;46247:28;60737:13;;;60733:54;;60752:35;-1:-1:-1;;;60752:7:0;:35::i;:::-;60818:23;;;:12;60903:676;61322:7;61278:8;61233:1;61167:25;61104:1;61039;61008:358;61574:3;61561:9;;;;;;:16;60903:676;;-1:-1:-1;61595:13:0;:19;-1:-1:-1;54955:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:632;2890:5;2920:18;2961:2;2953:6;2950:14;2947:40;;;2967:18;;:::i;:::-;3042:2;3036:9;3010:2;3096:15;;-1:-1:-1;;3092:24:1;;;3118:2;3088:33;3084:42;3072:55;;;3142:18;;;3162:22;;;3139:46;3136:72;;;3188:18;;:::i;:::-;3228:10;3224:2;3217:22;3257:6;3248:15;;3287:6;3279;3272:22;3327:3;3318:6;3313:3;3309:16;3306:25;3303:45;;;3344:1;3341;3334:12;3303:45;3394:6;3389:3;3382:4;3374:6;3370:17;3357:44;3449:1;3442:4;3433:6;3425;3421:19;3417:30;3410:41;;;;2825:632;;;;;:::o;3462:451::-;3531:6;3584:2;3572:9;3563:7;3559:23;3555:32;3552:52;;;3600:1;3597;3590:12;3552:52;3640:9;3627:23;3673:18;3665:6;3662:30;3659:50;;;3705:1;3702;3695:12;3659:50;3728:22;;3781:4;3773:13;;3769:27;-1:-1:-1;3759:55:1;;3810:1;3807;3800:12;3759:55;3833:74;3899:7;3894:2;3881:16;3876:2;3872;3868:11;3833:74;:::i;3918:186::-;3977:6;4030:2;4018:9;4009:7;4005:23;4001:32;3998:52;;;4046:1;4043;4036:12;3998:52;4069:29;4088:9;4069:29;:::i;4109:683::-;4204:6;4212;4220;4273:2;4261:9;4252:7;4248:23;4244:32;4241:52;;;4289:1;4286;4279:12;4241:52;4325:9;4312:23;4302:33;;4386:2;4375:9;4371:18;4358:32;4409:18;4450:2;4442:6;4439:14;4436:34;;;4466:1;4463;4456:12;4436:34;4504:6;4493:9;4489:22;4479:32;;4549:7;4542:4;4538:2;4534:13;4530:27;4520:55;;4571:1;4568;4561:12;4520:55;4611:2;4598:16;4637:2;4629:6;4626:14;4623:34;;;4653:1;4650;4643:12;4623:34;4706:7;4701:2;4691:6;4688:1;4684:14;4680:2;4676:23;4672:32;4669:45;4666:65;;;4727:1;4724;4717:12;4666:65;4758:2;4754;4750:11;4740:21;;4780:6;4770:16;;;;;4109:683;;;;;:::o;4797:347::-;4862:6;4870;4923:2;4911:9;4902:7;4898:23;4894:32;4891:52;;;4939:1;4936;4929:12;4891:52;4962:29;4981:9;4962:29;:::i;:::-;4952:39;;5041:2;5030:9;5026:18;5013:32;5088:5;5081:13;5074:21;5067:5;5064:32;5054:60;;5110:1;5107;5100:12;5054:60;5133:5;5123:15;;;4797:347;;;;;:::o;5149:667::-;5244:6;5252;5260;5268;5321:3;5309:9;5300:7;5296:23;5292:33;5289:53;;;5338:1;5335;5328:12;5289:53;5361:29;5380:9;5361:29;:::i;:::-;5351:39;;5409:38;5443:2;5432:9;5428:18;5409:38;:::i;:::-;5399:48;;5494:2;5483:9;5479:18;5466:32;5456:42;;5549:2;5538:9;5534:18;5521:32;5576:18;5568:6;5565:30;5562:50;;;5608:1;5605;5598:12;5562:50;5631:22;;5684:4;5676:13;;5672:27;-1:-1:-1;5662:55:1;;5713:1;5710;5703:12;5662:55;5736:74;5802:7;5797:2;5784:16;5779:2;5775;5771:11;5736:74;:::i;:::-;5726:84;;;5149:667;;;;;;;:::o;5821:260::-;5889:6;5897;5950:2;5938:9;5929:7;5925:23;5921:32;5918:52;;;5966:1;5963;5956:12;5918:52;5989:29;6008:9;5989:29;:::i;:::-;5979:39;;6037:38;6071:2;6060:9;6056:18;6037:38;:::i;:::-;6027:48;;5821:260;;;;;:::o;6086:380::-;6165:1;6161:12;;;;6208;;;6229:61;;6283:4;6275:6;6271:17;6261:27;;6229:61;6336:2;6328:6;6325:14;6305:18;6302:38;6299:161;;6382:10;6377:3;6373:20;6370:1;6363:31;6417:4;6414:1;6407:15;6445:4;6442:1;6435:15;6299:161;;6086:380;;;:::o;6824:127::-;6885:10;6880:3;6876:20;6873:1;6866:31;6916:4;6913:1;6906:15;6940:4;6937:1;6930:15;6956:125;7021:9;;;7042:10;;;7039:36;;;7055:18;;:::i;7764:128::-;7831:9;;;7852:11;;;7849:37;;;7866:18;;:::i;7897:168::-;7970:9;;;8001;;8018:15;;;8012:22;;7998:37;7988:71;;8039:18;;:::i;9109:545::-;9211:2;9206:3;9203:11;9200:448;;;9247:1;9272:5;9268:2;9261:17;9317:4;9313:2;9303:19;9387:2;9375:10;9371:19;9368:1;9364:27;9358:4;9354:38;9423:4;9411:10;9408:20;9405:47;;;-1:-1:-1;9446:4:1;9405:47;9501:2;9496:3;9492:12;9489:1;9485:20;9479:4;9475:31;9465:41;;9556:82;9574:2;9567:5;9564:13;9556:82;;;9619:17;;;9600:1;9589:13;9556:82;;9830:1352;9956:3;9950:10;9983:18;9975:6;9972:30;9969:56;;;10005:18;;:::i;:::-;10034:97;10124:6;10084:38;10116:4;10110:11;10084:38;:::i;:::-;10078:4;10034:97;:::i;:::-;10186:4;;10250:2;10239:14;;10267:1;10262:663;;;;10969:1;10986:6;10983:89;;;-1:-1:-1;11038:19:1;;;11032:26;10983:89;-1:-1:-1;;9787:1:1;9783:11;;;9779:24;9775:29;9765:40;9811:1;9807:11;;;9762:57;11085:81;;10232:944;;10262:663;9056:1;9049:14;;;9093:4;9080:18;;-1:-1:-1;;10298:20:1;;;10416:236;10430:7;10427:1;10424:14;10416:236;;;10519:19;;;10513:26;10498:42;;10611:27;;;;10579:1;10567:14;;;;10446:19;;10416:236;;;10420:3;10680:6;10671:7;10668:19;10665:201;;;10741:19;;;10735:26;-1:-1:-1;;10824:1:1;10820:14;;;10836:3;10816:24;10812:37;10808:42;10793:58;10778:74;;10665:201;-1:-1:-1;;;;;10912:1:1;10896:14;;;10892:22;10879:36;;-1:-1:-1;9830:1352:1:o;11535:127::-;11596:10;11591:3;11587:20;11584:1;11577:31;11627:4;11624:1;11617:15;11651:4;11648:1;11641:15;11667:135;11706:3;11727:17;;;11724:43;;11747:18;;:::i;:::-;-1:-1:-1;11794:1:1;11783:13;;11667:135::o;12223:1187::-;12500:3;12529:1;12562:6;12556:13;12592:36;12618:9;12592:36;:::i;:::-;12647:1;12664:18;;;12691:133;;;;12838:1;12833:356;;;;12657:532;;12691:133;-1:-1:-1;;12724:24:1;;12712:37;;12797:14;;12790:22;12778:35;;12769:45;;;-1:-1:-1;12691:133:1;;12833:356;12864:6;12861:1;12854:17;12894:4;12939:2;12936:1;12926:16;12964:1;12978:165;12992:6;12989:1;12986:13;12978:165;;;13070:14;;13057:11;;;13050:35;13113:16;;;;13007:10;;12978:165;;;12982:3;;;13172:6;13167:3;13163:16;13156:23;;12657:532;;;;;13220:6;13214:13;13236:68;13295:8;13290:3;13283:4;13275:6;13271:17;13236:68;:::i;:::-;-1:-1:-1;;;13326:18:1;;13353:22;;;13402:1;13391:13;;12223:1187;-1:-1:-1;;;;12223:1187:1:o;13822:136::-;13861:3;13889:5;13879:39;;13898:18;;:::i;:::-;-1:-1:-1;;;13934:18:1;;13822:136::o;14324:489::-;-1:-1:-1;;;;;14593:15:1;;;14575:34;;14645:15;;14640:2;14625:18;;14618:43;14692:2;14677:18;;14670:34;;;14740:3;14735:2;14720:18;;14713:31;;;14518:4;;14761:46;;14787:19;;14779:6;14761:46;:::i;:::-;14753:54;14324:489;-1:-1:-1;;;;;;14324:489:1:o;14818:249::-;14887:6;14940:2;14928:9;14919:7;14915:23;14911:32;14908:52;;;14956:1;14953;14946:12;14908:52;14988:9;14982:16;15007:30;15031:5;15007:30;:::i
Swarm Source
ipfs://9dff279049a8ab4358b7914da8690e196c7ece2c1a992170cfe4d46afdbed2f7
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.