ERC-721
Overview
Max Total Supply
2,222 Downtown
Holders
1,251
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DowntownLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Downtown
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-07 */ // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.19; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.19; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.19; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.19; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // 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.19; /** * @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.9.0) (utils/math/Math.sol) pragma solidity ^0.8.19; /** * @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 addition of two unsigned integers, with an overflow flag. * * _Available since v5.0._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v5.0._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v5.0._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v5.0._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v5.0._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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.9.0) (utils/Strings.sol) pragma solidity ^0.8.19; /** * @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 bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // 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.19; /** * @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.9.0) (access/Ownable.sol) pragma solidity ^0.8.19; /** * @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(address initialOwner) { _transferOwnership(initialOwner); } /** * @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/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/Downtown.sol /** ___ _____ ___ _ _____ _____ ___ _ | \ / _ \ \ / / \| |_ _/ _ \ \ / / \| | | |) | (_) \ \/\/ /| .` | | || (_) \ \/\/ /| .` | |___/ \___/ \_/\_/ |_|\_| |_| \___/ \_/\_/ |_|\_| _ _ _ _ | |__ _ _ /\ /(_) __| | ___| | _____ | '_ \| | | | / /_/ / |/ _` |/ _ \ |/ / _ \ | |_) | |_| | / __ /| | (_| | __/ < (_) | |_.__/ \__, | \/ /_/ |_|\__,_|\___|_|\_\___/ |___/ **/ pragma solidity ^0.8.20; contract Downtown is ERC721A, ERC2981, Ownable { using Strings for uint256; uint256 public maxSupply = 2222; uint256 public maxFreeAmount = 888; uint256 public maxFreePerWallet = 2; uint256 public price = 0.0025 ether; uint256 public maxPerTx = 10; uint256 public maxPerWallet = 10; bool public mintEnabled = false; string public baseURI; constructor( uint96 _royaltyFeesInBips, string memory _name, string memory _symbol, string memory _initBaseURI ) ERC721A(_name,_symbol) Ownable(msg.sender) { setBaseURI(_initBaseURI); setRoyaltyInfo(msg.sender, _royaltyFeesInBips); } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, ERC2981) returns (bool) { // Supports the following `interfaceId`s: // - IERC165: 0x01ffc9a7 // - IERC721: 0x80ac58cd // - IERC721Metadata: 0x5b5e139f // - IERC2981: 0x2a55205a return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { _setDefaultRoyalty(_receiver, _royaltyFeesInBips); } function adminMint(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 _startTokenId() internal pure override returns (uint256) { return 1; } 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":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"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":"uint256","name":"_amountPerAddress","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","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
60806040526108ae600b55610378600c556002600d556608e1bc9bf04000600e55600a600f8190556010556011805460ff1916905534801562000040575f80fd5b50604051620023063803806200230683398101604081905262000063916200035b565b338383600262000074838262000492565b50600362000083828262000492565b505060015f55506200009581620000b7565b50620000a18162000108565b620000ad338562000124565b505050506200055a565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620001126200013a565b601262000120828262000492565b5050565b6200012e6200013a565b6200012082826200019c565b600a546001600160a01b031633146200019a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b03821611156200020c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000191565b6001600160a01b038216620002645760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000191565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620002c1575f80fd5b81516001600160401b0380821115620002de57620002de6200029d565b604051601f8301601f19908116603f011681019082821181831017156200030957620003096200029d565b8160405283815260209250868385880101111562000325575f80fd5b5f91505b8382101562000348578582018301518183018401529082019062000329565b5f93810190920192909252949350505050565b5f805f80608085870312156200036f575f80fd5b84516001600160601b038116811462000386575f80fd5b60208601519094506001600160401b0380821115620003a3575f80fd5b620003b188838901620002b1565b94506040870151915080821115620003c7575f80fd5b620003d588838901620002b1565b93506060870151915080821115620003eb575f80fd5b50620003fa87828801620002b1565b91505092959194509250565b600181811c908216806200041b57607f821691505b6020821081036200043a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200048d575f81815260208120601f850160051c81016020861015620004685750805b601f850160051c820191505b81811015620004895782815560010162000474565b5050505b505050565b81516001600160401b03811115620004ae57620004ae6200029d565b620004c681620004bf845462000406565b8462000440565b602080601f831160018114620004fc575f8415620004e45750858301515b5f19600386901b1c1916600185901b17855562000489565b5f85815260208120601f198616915b828110156200052c578886015182559484019460019091019084016200050b565b50858210156200054a57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b611d9e80620005685f395ff3fe6080604052600436106101fc575f3560e01c80636d7c4a4b11610113578063a70273571161009d578063d5abeb011161006d578063d5abeb0114610563578063e985e9c514610578578063f2fde38b14610597578063f892c6e2146105b6578063f968adbe146105cb575f80fd5b8063a702735714610503578063b88d4fde14610518578063c87b56dd1461052b578063d12397301461054a575f80fd5b80638da5cb5b116100e35780638da5cb5b1461047f57806391b7f5ed1461049c57806395d89b41146104bb578063a035b1fe146104cf578063a22cb465146104e4575f80fd5b80636d7c4a4b1461041957806370a0823114610438578063715018a6146104575780637ba5e6211461046b575f80fd5b80632a55205a1161019457806342842e0e1161016457806342842e0e1461039f578063453c2310146103b257806355f804b3146103c75780636352211e146103e65780636c0360eb14610405575f80fd5b80632a55205a1461031b5780632db11544146103595780633ccfd60b1461036c5780634248cf4314610380575f80fd5b8063095ea7b3116101cf578063095ea7b3146102ad5780630c23bb3f146102c057806318160ddd146102df57806323b872dd14610308575f80fd5b806301ffc9a71461020057806302fa7c471461023457806306fdde0314610255578063081812fc14610276575b5f80fd5b34801561020b575f80fd5b5061021f61021a3660046116f2565b6105e0565b60405190151581526020015b60405180910390f35b34801561023f575f80fd5b5061025361024e36600461172a565b6105ff565b005b348015610260575f80fd5b50610269610615565b60405161022b91906117b7565b348015610281575f80fd5b506102956102903660046117c9565b6106a5565b6040516001600160a01b03909116815260200161022b565b6102536102bb3660046117e0565b6106de565b3480156102cb575f80fd5b506102536102da3660046117c9565b6106ea565b3480156102ea575f80fd5b506102fa6001545f54035f190190565b60405190815260200161022b565b610253610316366004611808565b6106f7565b348015610326575f80fd5b5061033a610335366004611841565b610851565b604080516001600160a01b03909316835260208301919091520161022b565b6102536103673660046117c9565b6108fb565b348015610377575f80fd5b50610253610ad2565b34801561038b575f80fd5b5061025361039a366004611861565b610b65565b6102536103ad366004611808565b610c32565b3480156103bd575f80fd5b506102fa60105481565b3480156103d2575f80fd5b506102536103e1366004611960565b610c51565b3480156103f1575f80fd5b506102956104003660046117c9565b610c65565b348015610410575f80fd5b50610269610c6f565b348015610424575f80fd5b506102536104333660046117c9565b610cfb565b348015610443575f80fd5b506102fa6104523660046119a5565b610d08565b348015610462575f80fd5b50610253610d4c565b348015610476575f80fd5b50610253610d5f565b34801561048a575f80fd5b50600a546001600160a01b0316610295565b3480156104a7575f80fd5b506102536104b63660046117c9565b610d7b565b3480156104c6575f80fd5b50610269610d88565b3480156104da575f80fd5b506102fa600e5481565b3480156104ef575f80fd5b506102536104fe3660046119be565b610d97565b34801561050e575f80fd5b506102fa600d5481565b6102536105263660046119ec565b610e02565b348015610536575f80fd5b506102696105453660046117c9565b610e3d565b348015610555575f80fd5b5060115461021f9060ff1681565b34801561056e575f80fd5b506102fa600b5481565b348015610583575f80fd5b5061021f610592366004611a63565b610ede565b3480156105a2575f80fd5b506102536105b13660046119a5565b610f0b565b3480156105c1575f80fd5b506102fa600c5481565b3480156105d6575f80fd5b506102fa600f5481565b5f6105ea82610f81565b806105f957506105f982610fce565b92915050565b610607611002565b610611828261105c565b5050565b60606002805461062490611a94565b80601f016020809104026020016040519081016040528092919081815260200182805461065090611a94565b801561069b5780601f106106725761010080835404028352916020019161069b565b820191905f5260205f20905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b5f6106af82611159565b6106c3576106c36333d1c03960e21b6111a3565b505f908152600660205260409020546001600160a01b031690565b610611828260016111ab565b6106f2611002565b600c55565b5f6107018261124c565b6001600160a01b0394851694909150811684146107275761072762a1148160e81b6111a3565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076a576107568633610ede565b61076a5761076a632ce44b5f60e11b6111a3565b8015610774575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080057600184015f8181526004602052604081205490036107fe575f5481146107fe575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084857610848633a954ecd60e21b6111a3565b50505050505050565b5f8281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108c55750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906108e3906001600160601b031687611ae0565b6108ed9190611af7565b915196919550909350505050565b60115460ff166109525760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b54610960906001611b16565b816109706001545f54035f190190565b61097a9190611b16565b106109b15760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610949565b600e54601054600c546109c96001545f54035f190190565b1080156109dc57506109da336112e6565b155b80156109ea5750600d548311155b156109f7575050600d545f905b8083610a02336112e6565b610a0c9190611b16565b1115610a4b5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b6044820152606401610949565b82610a55336112e6565b5f03610a6957610a66600185611b29565b90505b610a738382611ae0565b341015610ac25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610949565b610acc338561130e565b50505050565b610ada611002565b6040515f90339047908381818185875af1925050503d805f8114610b19576040519150601f19603f3d011682016040523d82523d5f602084013e610b1e565b606091505b5050905080610b625760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610949565b50565b610b6d611002565b5f610b7d6001545f54035f190190565b90505f610b8a8386611ae0565b600b54909150610b9a8284611b16565b1115610bde5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610949565b5f5b83811015610c2a57610c18858583818110610bfd57610bfd611b3c565b9050602002016020810190610c1291906119a5565b8761130e565b80610c2281611b50565b915050610be0565b505050505050565b610c4c83838360405180602001604052805f815250610e02565b505050565b610c59611002565b60126106118282611bad565b5f6105f98261124c565b60128054610c7c90611a94565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890611a94565b8015610cf35780601f10610cca57610100808354040283529160200191610cf3565b820191905f5260205f20905b815481529060010190602001808311610cd657829003601f168201915b505050505081565b610d03611002565b600d55565b5f6001600160a01b038216610d2757610d276323d3ad8160e21b6111a3565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610d54611002565b610d5d5f611327565b565b610d67611002565b6011805460ff19811660ff90911615179055565b610d83611002565b600e55565b60606003805461062490611a94565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e0d8484846106f7565b6001600160a01b0383163b15610acc57610e2984848484611378565b610acc57610acc6368d2bf6b60e11b6111a3565b6060610e4882611159565b610eac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610949565b6012610eb783611457565b604051602001610ec8929190611c69565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f13611002565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b610b6281611327565b5f6301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806105f95750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806105f957506301ffc9a760e01b6001600160e01b03198316146105f9565b600a546001600160a01b03163314610d5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b6127106001600160601b03821611156110ca5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610949565b6001600160a01b0382166111205760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610949565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b5f8160011161119e575f5482101561119e575f5b505f82815260046020526040812054908190036111945761118d83611cfc565b925061116d565b600160e01b161590505b919050565b805f5260045ffd5b5f6111b583610c65565b90508180156111cd5750336001600160a01b03821614155b156111f0576111dc8133610ede565b6111f0576111f06367d9dca160e11b6111a3565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f816001116112d657505f81815260046020526040812054908190036112c4575f54821061128457611284636f96cda160e11b6111a3565b5b505f19015f81815260046020526040902054801561128557600160e01b81165f036112af57919050565b6112bf636f96cda160e11b6111a3565b611285565b600160e01b81165f036112d657919050565b61119e636f96cda160e11b6111a3565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b610611828260405180602001604052805f8152506114e7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113ac903390899088908890600401611d11565b6020604051808303815f875af19250505080156113e6575060408051601f3d908101601f191682019092526113e391810190611d4d565b60015b611439573d808015611413576040519150601f19603f3d011682016040523d82523d5f602084013e611418565b606091505b5080515f03611431576114316368d2bf6b60e11b6111a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114638361154c565b60010190505f8167ffffffffffffffff811115611482576114826118d9565b6040519080825280601f01601f1916602001820160405280156114ac576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114b657509392505050565b6114f18383611623565b6001600160a01b0383163b15610c4c575f548281035b6115195f868380600101945086611378565b61152d5761152d6368d2bf6b60e11b6111a3565b81811061150757815f5414611545576115455f6111a3565b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115b6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d457662386f26fc10000830492506010015b6305f5e10083106115ec576305f5e100830492506008015b612710831061160057612710830492506004015b60648310611612576064830492506002015b600a83106105f95760010192915050565b5f80549082900361163e5761163e63b562e8dd60e01b6111a3565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361169b5761169b622e076360e81b6111a3565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036116a057505f5550505050565b6001600160e01b031981168114610b62575f80fd5b5f60208284031215611702575f80fd5b813561170d816116dd565b9392505050565b80356001600160a01b038116811461119e575f80fd5b5f806040838503121561173b575f80fd5b61174483611714565b915060208301356001600160601b038116811461175f575f80fd5b809150509250929050565b5f5b8381101561178457818101518382015260200161176c565b50505f910152565b5f81518084526117a381602086016020860161176a565b601f01601f19169290920160200192915050565b602081525f61170d602083018461178c565b5f602082840312156117d9575f80fd5b5035919050565b5f80604083850312156117f1575f80fd5b6117fa83611714565b946020939093013593505050565b5f805f6060848603121561181a575f80fd5b61182384611714565b925061183160208501611714565b9150604084013590509250925092565b5f8060408385031215611852575f80fd5b50508035926020909101359150565b5f805f60408486031215611873575f80fd5b83359250602084013567ffffffffffffffff80821115611891575f80fd5b818601915086601f8301126118a4575f80fd5b8135818111156118b2575f80fd5b8760208260051b85010111156118c6575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611907576119076118d9565b604051601f8501601f19908116603f0116810190828211818310171561192f5761192f6118d9565b81604052809350858152868686011115611947575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611970575f80fd5b813567ffffffffffffffff811115611986575f80fd5b8201601f81018413611996575f80fd5b61144f848235602084016118ed565b5f602082840312156119b5575f80fd5b61170d82611714565b5f80604083850312156119cf575f80fd5b6119d883611714565b91506020830135801515811461175f575f80fd5b5f805f80608085870312156119ff575f80fd5b611a0885611714565b9350611a1660208601611714565b925060408501359150606085013567ffffffffffffffff811115611a38575f80fd5b8501601f81018713611a48575f80fd5b611a57878235602084016118ed565b91505092959194509250565b5f8060408385031215611a74575f80fd5b611a7d83611714565b9150611a8b60208401611714565b90509250929050565b600181811c90821680611aa857607f821691505b602082108103611ac657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105f9576105f9611acc565b5f82611b1157634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156105f9576105f9611acc565b818103818111156105f9576105f9611acc565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b6157611b61611acc565b5060010190565b601f821115610c4c575f81815260208120601f850160051c81016020861015611b8e5750805b601f850160051c820191505b81811015610c2a57828155600101611b9a565b815167ffffffffffffffff811115611bc757611bc76118d9565b611bdb81611bd58454611a94565b84611b68565b602080601f831160018114611c0e575f8415611bf75750858301515b5f19600386901b1c1916600185901b178555610c2a565b5f85815260208120601f198616915b82811015611c3c57888601518255948401946001909101908401611c1d565b5085821015611c5957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f808454611c7681611a94565b60018281168015611c8e5760018114611ca357611ccf565b60ff1984168752821515830287019450611ccf565b885f526020805f205f5b85811015611cc65781548a820152908401908201611cad565b50505082870194505b505050508351611ce381836020880161176a565b64173539b7b760d91b9101908152600501949350505050565b5f81611d0a57611d0a611acc565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d439083018461178c565b9695505050505050565b5f60208284031215611d5d575f80fd5b815161170d816116dd56fea26469706673582212203e72cc348310f77ee4c85dd70a37d6a612b8ed1ab735526a9afd1830baf13f8c64736f6c634300081400330000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008446f776e746f776e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008446f776e746f776e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696467377179626b726375697577616473686c6f6c33326d6d666c616337776877736d6f7477706262727079626471636b356c6d652f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101fc575f3560e01c80636d7c4a4b11610113578063a70273571161009d578063d5abeb011161006d578063d5abeb0114610563578063e985e9c514610578578063f2fde38b14610597578063f892c6e2146105b6578063f968adbe146105cb575f80fd5b8063a702735714610503578063b88d4fde14610518578063c87b56dd1461052b578063d12397301461054a575f80fd5b80638da5cb5b116100e35780638da5cb5b1461047f57806391b7f5ed1461049c57806395d89b41146104bb578063a035b1fe146104cf578063a22cb465146104e4575f80fd5b80636d7c4a4b1461041957806370a0823114610438578063715018a6146104575780637ba5e6211461046b575f80fd5b80632a55205a1161019457806342842e0e1161016457806342842e0e1461039f578063453c2310146103b257806355f804b3146103c75780636352211e146103e65780636c0360eb14610405575f80fd5b80632a55205a1461031b5780632db11544146103595780633ccfd60b1461036c5780634248cf4314610380575f80fd5b8063095ea7b3116101cf578063095ea7b3146102ad5780630c23bb3f146102c057806318160ddd146102df57806323b872dd14610308575f80fd5b806301ffc9a71461020057806302fa7c471461023457806306fdde0314610255578063081812fc14610276575b5f80fd5b34801561020b575f80fd5b5061021f61021a3660046116f2565b6105e0565b60405190151581526020015b60405180910390f35b34801561023f575f80fd5b5061025361024e36600461172a565b6105ff565b005b348015610260575f80fd5b50610269610615565b60405161022b91906117b7565b348015610281575f80fd5b506102956102903660046117c9565b6106a5565b6040516001600160a01b03909116815260200161022b565b6102536102bb3660046117e0565b6106de565b3480156102cb575f80fd5b506102536102da3660046117c9565b6106ea565b3480156102ea575f80fd5b506102fa6001545f54035f190190565b60405190815260200161022b565b610253610316366004611808565b6106f7565b348015610326575f80fd5b5061033a610335366004611841565b610851565b604080516001600160a01b03909316835260208301919091520161022b565b6102536103673660046117c9565b6108fb565b348015610377575f80fd5b50610253610ad2565b34801561038b575f80fd5b5061025361039a366004611861565b610b65565b6102536103ad366004611808565b610c32565b3480156103bd575f80fd5b506102fa60105481565b3480156103d2575f80fd5b506102536103e1366004611960565b610c51565b3480156103f1575f80fd5b506102956104003660046117c9565b610c65565b348015610410575f80fd5b50610269610c6f565b348015610424575f80fd5b506102536104333660046117c9565b610cfb565b348015610443575f80fd5b506102fa6104523660046119a5565b610d08565b348015610462575f80fd5b50610253610d4c565b348015610476575f80fd5b50610253610d5f565b34801561048a575f80fd5b50600a546001600160a01b0316610295565b3480156104a7575f80fd5b506102536104b63660046117c9565b610d7b565b3480156104c6575f80fd5b50610269610d88565b3480156104da575f80fd5b506102fa600e5481565b3480156104ef575f80fd5b506102536104fe3660046119be565b610d97565b34801561050e575f80fd5b506102fa600d5481565b6102536105263660046119ec565b610e02565b348015610536575f80fd5b506102696105453660046117c9565b610e3d565b348015610555575f80fd5b5060115461021f9060ff1681565b34801561056e575f80fd5b506102fa600b5481565b348015610583575f80fd5b5061021f610592366004611a63565b610ede565b3480156105a2575f80fd5b506102536105b13660046119a5565b610f0b565b3480156105c1575f80fd5b506102fa600c5481565b3480156105d6575f80fd5b506102fa600f5481565b5f6105ea82610f81565b806105f957506105f982610fce565b92915050565b610607611002565b610611828261105c565b5050565b60606002805461062490611a94565b80601f016020809104026020016040519081016040528092919081815260200182805461065090611a94565b801561069b5780601f106106725761010080835404028352916020019161069b565b820191905f5260205f20905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b5f6106af82611159565b6106c3576106c36333d1c03960e21b6111a3565b505f908152600660205260409020546001600160a01b031690565b610611828260016111ab565b6106f2611002565b600c55565b5f6107018261124c565b6001600160a01b0394851694909150811684146107275761072762a1148160e81b6111a3565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076a576107568633610ede565b61076a5761076a632ce44b5f60e11b6111a3565b8015610774575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080057600184015f8181526004602052604081205490036107fe575f5481146107fe575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084857610848633a954ecd60e21b6111a3565b50505050505050565b5f8281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108c55750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906108e3906001600160601b031687611ae0565b6108ed9190611af7565b915196919550909350505050565b60115460ff166109525760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b54610960906001611b16565b816109706001545f54035f190190565b61097a9190611b16565b106109b15760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610949565b600e54601054600c546109c96001545f54035f190190565b1080156109dc57506109da336112e6565b155b80156109ea5750600d548311155b156109f7575050600d545f905b8083610a02336112e6565b610a0c9190611b16565b1115610a4b5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b6044820152606401610949565b82610a55336112e6565b5f03610a6957610a66600185611b29565b90505b610a738382611ae0565b341015610ac25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610949565b610acc338561130e565b50505050565b610ada611002565b6040515f90339047908381818185875af1925050503d805f8114610b19576040519150601f19603f3d011682016040523d82523d5f602084013e610b1e565b606091505b5050905080610b625760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610949565b50565b610b6d611002565b5f610b7d6001545f54035f190190565b90505f610b8a8386611ae0565b600b54909150610b9a8284611b16565b1115610bde5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610949565b5f5b83811015610c2a57610c18858583818110610bfd57610bfd611b3c565b9050602002016020810190610c1291906119a5565b8761130e565b80610c2281611b50565b915050610be0565b505050505050565b610c4c83838360405180602001604052805f815250610e02565b505050565b610c59611002565b60126106118282611bad565b5f6105f98261124c565b60128054610c7c90611a94565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890611a94565b8015610cf35780601f10610cca57610100808354040283529160200191610cf3565b820191905f5260205f20905b815481529060010190602001808311610cd657829003601f168201915b505050505081565b610d03611002565b600d55565b5f6001600160a01b038216610d2757610d276323d3ad8160e21b6111a3565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610d54611002565b610d5d5f611327565b565b610d67611002565b6011805460ff19811660ff90911615179055565b610d83611002565b600e55565b60606003805461062490611a94565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e0d8484846106f7565b6001600160a01b0383163b15610acc57610e2984848484611378565b610acc57610acc6368d2bf6b60e11b6111a3565b6060610e4882611159565b610eac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610949565b6012610eb783611457565b604051602001610ec8929190611c69565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f13611002565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b610b6281611327565b5f6301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806105f95750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806105f957506301ffc9a760e01b6001600160e01b03198316146105f9565b600a546001600160a01b03163314610d5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b6127106001600160601b03821611156110ca5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610949565b6001600160a01b0382166111205760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610949565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b5f8160011161119e575f5482101561119e575f5b505f82815260046020526040812054908190036111945761118d83611cfc565b925061116d565b600160e01b161590505b919050565b805f5260045ffd5b5f6111b583610c65565b90508180156111cd5750336001600160a01b03821614155b156111f0576111dc8133610ede565b6111f0576111f06367d9dca160e11b6111a3565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f816001116112d657505f81815260046020526040812054908190036112c4575f54821061128457611284636f96cda160e11b6111a3565b5b505f19015f81815260046020526040902054801561128557600160e01b81165f036112af57919050565b6112bf636f96cda160e11b6111a3565b611285565b600160e01b81165f036112d657919050565b61119e636f96cda160e11b6111a3565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b610611828260405180602001604052805f8152506114e7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113ac903390899088908890600401611d11565b6020604051808303815f875af19250505080156113e6575060408051601f3d908101601f191682019092526113e391810190611d4d565b60015b611439573d808015611413576040519150601f19603f3d011682016040523d82523d5f602084013e611418565b606091505b5080515f03611431576114316368d2bf6b60e11b6111a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114638361154c565b60010190505f8167ffffffffffffffff811115611482576114826118d9565b6040519080825280601f01601f1916602001820160405280156114ac576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114b657509392505050565b6114f18383611623565b6001600160a01b0383163b15610c4c575f548281035b6115195f868380600101945086611378565b61152d5761152d6368d2bf6b60e11b6111a3565b81811061150757815f5414611545576115455f6111a3565b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115b6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d457662386f26fc10000830492506010015b6305f5e10083106115ec576305f5e100830492506008015b612710831061160057612710830492506004015b60648310611612576064830492506002015b600a83106105f95760010192915050565b5f80549082900361163e5761163e63b562e8dd60e01b6111a3565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361169b5761169b622e076360e81b6111a3565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036116a057505f5550505050565b6001600160e01b031981168114610b62575f80fd5b5f60208284031215611702575f80fd5b813561170d816116dd565b9392505050565b80356001600160a01b038116811461119e575f80fd5b5f806040838503121561173b575f80fd5b61174483611714565b915060208301356001600160601b038116811461175f575f80fd5b809150509250929050565b5f5b8381101561178457818101518382015260200161176c565b50505f910152565b5f81518084526117a381602086016020860161176a565b601f01601f19169290920160200192915050565b602081525f61170d602083018461178c565b5f602082840312156117d9575f80fd5b5035919050565b5f80604083850312156117f1575f80fd5b6117fa83611714565b946020939093013593505050565b5f805f6060848603121561181a575f80fd5b61182384611714565b925061183160208501611714565b9150604084013590509250925092565b5f8060408385031215611852575f80fd5b50508035926020909101359150565b5f805f60408486031215611873575f80fd5b83359250602084013567ffffffffffffffff80821115611891575f80fd5b818601915086601f8301126118a4575f80fd5b8135818111156118b2575f80fd5b8760208260051b85010111156118c6575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611907576119076118d9565b604051601f8501601f19908116603f0116810190828211818310171561192f5761192f6118d9565b81604052809350858152868686011115611947575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611970575f80fd5b813567ffffffffffffffff811115611986575f80fd5b8201601f81018413611996575f80fd5b61144f848235602084016118ed565b5f602082840312156119b5575f80fd5b61170d82611714565b5f80604083850312156119cf575f80fd5b6119d883611714565b91506020830135801515811461175f575f80fd5b5f805f80608085870312156119ff575f80fd5b611a0885611714565b9350611a1660208601611714565b925060408501359150606085013567ffffffffffffffff811115611a38575f80fd5b8501601f81018713611a48575f80fd5b611a57878235602084016118ed565b91505092959194509250565b5f8060408385031215611a74575f80fd5b611a7d83611714565b9150611a8b60208401611714565b90509250929050565b600181811c90821680611aa857607f821691505b602082108103611ac657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105f9576105f9611acc565b5f82611b1157634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156105f9576105f9611acc565b818103818111156105f9576105f9611acc565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b6157611b61611acc565b5060010190565b601f821115610c4c575f81815260208120601f850160051c81016020861015611b8e5750805b601f850160051c820191505b81811015610c2a57828155600101611b9a565b815167ffffffffffffffff811115611bc757611bc76118d9565b611bdb81611bd58454611a94565b84611b68565b602080601f831160018114611c0e575f8415611bf75750858301515b5f19600386901b1c1916600185901b178555610c2a565b5f85815260208120601f198616915b82811015611c3c57888601518255948401946001909101908401611c1d565b5085821015611c5957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f808454611c7681611a94565b60018281168015611c8e5760018114611ca357611ccf565b60ff1984168752821515830287019450611ccf565b885f526020805f205f5b85811015611cc65781548a820152908401908201611cad565b50505082870194505b505050508351611ce381836020880161176a565b64173539b7b760d91b9101908152600501949350505050565b5f81611d0a57611d0a611acc565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d439083018461178c565b9695505050505050565b5f60208284031215611d5d575f80fd5b815161170d816116dd56fea26469706673582212203e72cc348310f77ee4c85dd70a37d6a612b8ed1ab735526a9afd1830baf13f8c64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000008446f776e746f776e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008446f776e746f776e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696467377179626b726375697577616473686c6f6c33326d6d666c616337776877736d6f7477706262727079626471636b356c6d652f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 400
Arg [1] : _name (string): Downtown
Arg [2] : _symbol (string): Downtown
Arg [3] : _initBaseURI (string): ipfs://bafybeidg7qybkrcuiuwadshlol32mmflac7whwsmotwpbbrpybdqck5lme/
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000190
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 446f776e746f776e000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [7] : 446f776e746f776e000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 697066733a2f2f626166796265696467377179626b726375697577616473686c
Arg [10] : 6f6c33326d6d666c616337776877736d6f7477706262727079626471636b356c
Arg [11] : 6d652f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
84745:4004:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85430:411;;;;;;;;;;-1:-1:-1;85430:411:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;85430:411:0;;;;;;;;85847:160;;;;;;;;;;-1:-1:-1;85847:160:0;;;;;:::i;:::-;;:::i;:::-;;49791:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;56825:227::-;;;;;;;;;;-1:-1:-1;56825:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;56825:227:0;2082:203:1;56542:124:0;;;;;;:::i;:::-;;:::i;88310:104::-;;;;;;;;;;-1:-1:-1;88310:104:0;;;;;:::i;:::-;;:::i;45533:323::-;;;;;;;;;;;;86589:1;45807:12;45594:7;45791:13;:28;-1:-1:-1;;45791:46:0;;45533:323;;;;2695:25:1;;;2683:2;2668:18;45533:323:0;2549:177:1;60559:3523:0;;;;;;:::i;:::-;;:::i;4614:438::-;;;;;;;;;;-1:-1:-1;4614:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;4614:438:0;3317:274:1;86608:966:0;;;;;;:::i;:::-;;:::i;88540:206::-;;;;;;;;;;;;;:::i;86015:479::-;;;;;;;;;;-1:-1:-1;86015:479:0;;;;;:::i;:::-;;:::i;64178:193::-;;;;;;:::i;:::-;;:::i;85042:32::-;;;;;;;;;;;;;;;;88114:88;;;;;;;;;;-1:-1:-1;88114:88:0;;;;;:::i;:::-;;:::i;51193:152::-;;;;;;;;;;-1:-1:-1;51193:152:0;;;;;:::i;:::-;;:::i;85119:21::-;;;;;;;;;;;;;:::i;88422:110::-;;;;;;;;;;-1:-1:-1;88422:110:0;;;;;:::i;:::-;;:::i;46717:242::-;;;;;;;;;;-1:-1:-1;46717:242:0;;;;;:::i;:::-;;:::i;29579:103::-;;;;;;;;;;;;;:::i;88022:84::-;;;;;;;;;;;;;:::i;28938:87::-;;;;;;;;;;-1:-1:-1;29011:6:0;;-1:-1:-1;;;;;29011:6:0;28938:87;;88210:92;;;;;;;;;;-1:-1:-1;88210:92:0;;;;;:::i;:::-;;:::i;49967:104::-;;;;;;;;;;;;;:::i;84965:35::-;;;;;;;;;;;;;;;;57392:234;;;;;;;;;;-1:-1:-1;57392:234:0;;;;;:::i;:::-;;:::i;84923:35::-;;;;;;;;;;;;;;;;64969:416;;;;;;:::i;:::-;;:::i;87698:316::-;;;;;;;;;;-1:-1:-1;87698:316:0;;;;;:::i;:::-;;:::i;85081:31::-;;;;;;;;;;-1:-1:-1;85081:31:0;;;;;;;;84844;;;;;;;;;;;;;;;;57783:164;;;;;;;;;;-1:-1:-1;57783:164:0;;;;;:::i;:::-;;:::i;29837:201::-;;;;;;;;;;-1:-1:-1;29837:201:0;;;;;:::i;:::-;;:::i;84882:34::-;;;;;;;;;;;;;;;;85007:28;;;;;;;;;;;;;;;;85430:411;85541:4;85747:38;85773:11;85747:25;:38::i;:::-;:90;;;;85799:38;85825:11;85799:25;:38::i;:::-;85730:107;85430:411;-1:-1:-1;;85430:411:0:o;85847:160::-;28824:13;:11;:13::i;:::-;85950:49:::1;85969:9;85980:18;85950;:49::i;:::-;85847:160:::0;;:::o;49791:100::-;49845:13;49878:5;49871:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49791:100;:::o;56825:227::-;56901:7;56926:16;56934:7;56926;:16::i;:::-;56921:73;;56944:50;-1:-1:-1;;;56944:7:0;:50::i;:::-;-1:-1:-1;57014:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;57014:30:0;;56825:227::o;56542:124::-;56631:27;56640:2;56644:7;56653:4;56631:8;:27::i;88310:104::-;28824:13;:11;:13::i;:::-;88383::::1;:23:::0;88310:104::o;60559:3523::-;60701:27;60731;60750:7;60731:18;:27::i;:::-;-1:-1:-1;;;;;60886:22:0;;;;60701:57;;-1:-1:-1;60946:45:0;;;;60942:95;;60993:44;-1:-1:-1;;;60993:7:0;:44::i;:::-;61051:27;59667:24;;;:15;:24;;;;;59895:26;;82051:10;59292:30;;;-1:-1:-1;;;;;58985:28:0;;59270:20;;;59267:56;61237:189;;61330:43;61347:4;82051:10;57783:164;:::i;61330:43::-;61325:101;;61375:51;-1:-1:-1;;;61375:7:0;:51::i;:::-;61575:15;61572:160;;;61715:1;61694:19;61687:30;61572:160;-1:-1:-1;;;;;62112:24:0;;;;;;;:18;:24;;;;;;62110:26;;-1:-1:-1;;62110:26:0;;;62181:22;;;;;;;;;62179:24;;-1:-1:-1;62179:24:0;;;55644:11;55619:23;55615:41;55602:63;-1:-1:-1;;;55602:63:0;62474:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;62769:47:0;;:52;;62765:627;;62874:1;62864:11;;62842:19;62997:30;;;:17;:30;;;;;;:35;;62993:384;;63135:13;;63120:11;:28;63116:242;;63282:30;;;;:17;:30;;;;;:52;;;63116:242;62823:569;62765:627;-1:-1:-1;;;;;63524:20:0;;63904:7;63524:20;63834:4;63776:25;63505:16;;63641:299;63965:8;63977:1;63965:13;63961:58;;63980:39;-1:-1:-1;;;63980:7:0;:39::i;:::-;60690:3392;;;;60559:3523;;;:::o;4614:438::-;4709:7;4767:26;;;:17;:26;;;;;;;;4738:55;;;;;;;;;-1:-1:-1;;;;;4738:55:0;;;;;-1:-1:-1;;;4738:55:0;;;-1:-1:-1;;;;;4738:55:0;;;;;;;;4709:7;;4806:92;;-1:-1:-1;4857:29:0;;;;;;;;;4867:19;4857:29;-1:-1:-1;;;;;4857:29:0;;;;-1:-1:-1;;;4857:29:0;;-1:-1:-1;;;;;4857:29:0;;;;;4806:92;4947:23;;;;4910:21;;5418:5;;4935:35;;-1:-1:-1;;;;;4935:35:0;:9;:35;:::i;:::-;4934:57;;;;:::i;:::-;5012:16;;;;;-1:-1:-1;4614:438:0;;-1:-1:-1;;;;4614:438:0:o;86608:966::-;86684:11;;;;86676:48;;;;-1:-1:-1;;;86676:48:0;;8235:2:1;86676:48:0;;;8217:21:1;8274:2;8254:18;;;8247:30;8313:26;8293:18;;;8286:54;8357:18;;86676:48:0;;;;;;;;;86770:9;;:13;;86782:1;86770:13;:::i;:::-;86759:8;86743:13;86589:1;45807:12;45594:7;45791:13;:28;-1:-1:-1;;45791:46:0;;45533:323;86743:13;:24;;;;:::i;:::-;:40;86735:60;;;;-1:-1:-1;;;86735:60:0;;8718:2:1;86735:60:0;;;8700:21:1;8757:1;8737:18;;;8730:29;-1:-1:-1;;;8775:18:1;;;8768:37;8822:18;;86735:60:0;8516:330:1;86735:60:0;86821:5;;86861:12;;86930:13;;86914;86589:1;45807:12;45594:7;45791:13;:28;-1:-1:-1;;45791:46:0;;45533:323;86914:13;:29;:76;;;;;86960:25;86974:10;86960:13;:25::i;:::-;:30;86914:76;:121;;;;;87019:16;;87007:8;:28;;86914:121;86896:233;;;-1:-1:-1;;87101:16:0;;87069:1;;86896:233;87203:13;87191:8;87163:25;87177:10;87163:13;:25::i;:::-;:36;;;;:::i;:::-;:53;;87141:117;;;;-1:-1:-1;;;87141:117:0;;9053:2:1;87141:117:0;;;9035:21:1;9092:2;9072:18;;;9065:30;-1:-1:-1;;;9111:18:1;;;9104:44;9165:18;;87141:117:0;8851:338:1;87141:117:0;87294:8;87317:25;87331:10;87317:13;:25::i;:::-;87346:1;87317:30;87313:90;;87379:12;87390:1;87379:8;:12;:::i;:::-;87364:27;;87313:90;87448:19;87463:4;87448:12;:19;:::i;:::-;87435:9;:32;;87413:111;;;;-1:-1:-1;;;87413:111:0;;9529:2:1;87413:111:0;;;9511:21:1;9568:2;9548:18;;;9541:30;9607:31;9587:18;;;9580:59;9656:18;;87413:111:0;9327:353:1;87413:111:0;87535:31;87545:10;87557:8;87535:9;:31::i;:::-;86665:909;;;86608:966;:::o;88540:206::-;28824:13;:11;:13::i;:::-;88609:82:::1;::::0;88591:12:::1;::::0;88617:10:::1;::::0;88655:21:::1;::::0;88591:12;88609:82;88591:12;88609:82;88655:21;88617:10;88609:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88590:101;;;88710:7;88702:36;;;::::0;-1:-1:-1;;;88702:36:0;;10097:2:1;88702:36:0::1;::::0;::::1;10079:21:1::0;10136:2;10116:18;;;10109:30;-1:-1:-1;;;10155:18:1;;;10148:46;10211:18;;88702:36:0::1;9895:340:1::0;88702:36:0::1;88579:167;88540:206::o:0;86015:479::-;28824:13;:11;:13::i;:::-;86119:19:::1;86149:13;86589:1:::0;45807:12;45594:7;45791:13;:28;-1:-1:-1;;45791:46:0;;45533:323;86149:13:::1;86119:44:::0;-1:-1:-1;86171:16:0::1;86192:36;86212:9:::0;86192:17;:36:::1;:::i;:::-;86272:9;::::0;86171:57;;-1:-1:-1;86243:25:0::1;86171:57:::0;86243:11;:25:::1;:::i;:::-;:38;;86235:70;;;::::0;-1:-1:-1;;;86235:70:0;;10442:2:1;86235:70:0::1;::::0;::::1;10424:21:1::0;10481:2;10461:18;;;10454:30;-1:-1:-1;;;10500:18:1;;;10493:49;10559:18;;86235:70:0::1;10240:343:1::0;86235:70:0::1;86318:9;86313:116;86333:20:::0;;::::1;86313:116;;;86375:42;86385:9;;86395:1;86385:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;86399:17;86375:9;:42::i;:::-;86355:3:::0;::::1;::::0;::::1;:::i;:::-;;;;86313:116;;;-1:-1:-1::0;;;;;;86015:479:0:o;64178:193::-;64324:39;64341:4;64347:2;64351:7;64324:39;;;;;;;;;;;;:16;:39::i;:::-;64178:193;;;:::o;88114:88::-;28824:13;:11;:13::i;:::-;88181:7:::1;:13;88191:3:::0;88181:7;:13:::1;:::i;51193:152::-:0;51265:7;51308:27;51327:7;51308:18;:27::i;85119:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;88422:110::-;28824:13;:11;:13::i;:::-;88498:16:::1;:26:::0;88422:110::o;46717:242::-;46789:7;-1:-1:-1;;;;;46813:19:0;;46809:69;;46834:44;-1:-1:-1;;;46834:7:0;:44::i;:::-;-1:-1:-1;;;;;;46896:25:0;;;;;:18;:25;;;;;;40876:13;46896:55;;46717:242::o;29579:103::-;28824:13;:11;:13::i;:::-;29644:30:::1;29671:1;29644:18;:30::i;:::-;29579:103::o:0;88022:84::-;28824:13;:11;:13::i;:::-;88087:11:::1;::::0;;-1:-1:-1;;88072:26:0;::::1;88087:11;::::0;;::::1;88086:12;88072:26;::::0;;88022:84::o;88210:92::-;28824:13;:11;:13::i;:::-;88277:5:::1;:17:::0;88210:92::o;49967:104::-;50023:13;50056:7;50049:14;;;;;:::i;57392:234::-;82051:10;57487:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;57487:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;57487:60:0;;;;;;;;;;57563:55;;540:41:1;;;57487:49:0;;82051:10;57563:55;;513:18:1;57563:55:0;;;;;;;57392:234;;:::o;64969:416::-;65144:31;65157:4;65163:2;65167:7;65144:12;:31::i;:::-;-1:-1:-1;;;;;65190:14:0;;;:19;65186:192;;65229:56;65260:4;65266:2;65270:7;65279:5;65229:30;:56::i;:::-;65224:154;;65306:56;-1:-1:-1;;;65306:7:0;:56::i;87698:316::-;87787:13;87835:16;87843:7;87835;:16::i;:::-;87813:113;;;;-1:-1:-1;;;87813:113:0;;13266:2:1;87813:113:0;;;13248:21:1;13305:2;13285:18;;;13278:30;13344:34;13324:18;;;13317:62;-1:-1:-1;;;13395:18:1;;;13388:45;13450:19;;87813:113:0;13064:411:1;87813:113:0;87968:7;87977:18;:7;:16;:18::i;:::-;87951:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;87937:69;;87698:316;;;:::o;57783:164::-;-1:-1:-1;;;;;57904:25:0;;;57880:4;57904:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57783:164::o;29837:201::-;28824:13;:11;:13::i;:::-;-1:-1:-1;;;;;29926:22:0;::::1;29918:73;;;::::0;-1:-1:-1;;;29918:73:0;;14874:2:1;29918:73:0::1;::::0;::::1;14856:21:1::0;14913:2;14893:18;;;14886:30;14952:34;14932:18;;;14925:62;-1:-1:-1;;;15003:18:1;;;14996:36;15049:19;;29918:73:0::1;14672:402:1::0;29918:73:0::1;30002:28;30021:8;30002:18;:28::i;48889:639::-:0;48974:4;-1:-1:-1;;;;;;;;;49298:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;49375:25:0;;;49298:102;:179;;;-1:-1:-1;;;;;;;;49452:25:0;-1:-1:-1;;;49452:25:0;;48889:639::o;4344:215::-;4446:4;-1:-1:-1;;;;;;4470:41:0;;-1:-1:-1;;;4470:41:0;;:81;;-1:-1:-1;;;;;;;;;;1899:40:0;;;4515:36;1790:157;29103:132;29011:6;;-1:-1:-1;;;;;29011:6:0;82051:10;29167:23;29159:68;;;;-1:-1:-1;;;29159:68:0;;15281:2:1;29159:68:0;;;15263:21:1;;;15300:18;;;15293:30;15359:34;15339:18;;;15332:62;15411:18;;29159:68:0;15079:356:1;5702:332:0;5418:5;-1:-1:-1;;;;;5805:33:0;;;;5797:88;;;;-1:-1:-1;;;5797:88:0;;15642:2:1;5797:88:0;;;15624:21:1;15681:2;15661:18;;;15654:30;15720:34;15700:18;;;15693:62;-1:-1:-1;;;15771:18:1;;;15764:40;15821:19;;5797:88:0;15440:406:1;5797:88:0;-1:-1:-1;;;;;5904:22:0;;5896:60;;;;-1:-1:-1;;;5896:60:0;;16053:2:1;5896:60:0;;;16035:21:1;16092:2;16072:18;;;16065:30;16131:27;16111:18;;;16104:55;16176:18;;5896:60:0;15851:349:1;5896:60:0;5991:35;;;;;;;;;-1:-1:-1;;;;;5991:35:0;;;;;;-1:-1:-1;;;;;5991:35:0;;;;;;;;;;-1:-1:-1;;;5969:57:0;;;;:19;:57;5702:332::o;58205:368::-;58270:11;58317:7;86589:1;58298:26;58294:272;;58355:13;;58345:7;:23;58341:214;;;58389:14;58422:60;-1:-1:-1;58439:26:0;;;;:17;:26;;;;;;;58429:42;;;58422:60;;58473:9;;;:::i;:::-;;;58422:60;;;-1:-1:-1;;;58510:24:0;:29;;-1:-1:-1;58341:214:0;58205:368;;;:::o;83983:165::-;84084:13;84078:4;84071:27;84125:4;84119;84112:18;75416:474;75545:13;75561:16;75569:7;75561;:16::i;:::-;75545:32;;75594:13;:45;;;;-1:-1:-1;82051:10:0;-1:-1:-1;;;;;75611:28:0;;;;75594:45;75590:201;;;75659:44;75676:5;82051:10;57783:164;:::i;75659:44::-;75654:137;;75724:51;-1:-1:-1;;;75724:7:0;:51::i;:::-;75803:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;75803:35:0;-1:-1:-1;;;;;75803:35:0;;;;;;;;;75854:28;;75803:24;;75854:28;;;;;;;75534:356;75416:474;;;:::o;52673:2012::-;52740:14;52790:7;86589:1;52771:26;52767:1853;;-1:-1:-1;52823:26:0;;;;:17;:26;;;;;;;52949:11;;;52945:1292;;52996:13;;52985:7;:24;52981:77;;53011:47;-1:-1:-1;;;53011:7:0;:47::i;:::-;53615:607;-1:-1:-1;;;53711:9:0;53693:28;;;;:17;:28;;;;;;53767:25;;53615:607;53767:25;-1:-1:-1;;;53819:6:0;:24;53847:1;53819:29;53815:48;;52673:2012;;;:::o;53815:48::-;54155:47;-1:-1:-1;;;54155:7:0;:47::i;:::-;53615:607;;52945:1292;-1:-1:-1;;;54564:6:0;:24;54592:1;54564:29;54560:48;;52673:2012;;;:::o;54560:48::-;54630:47;-1:-1:-1;;;54630:7:0;:47::i;47041:178::-;-1:-1:-1;;;;;47130:25:0;47102:7;47130:25;;;:18;:25;;41014:2;47130:25;;;;;:50;;40876:13;47129:82;;47041:178::o;74498:112::-;74575:27;74585:2;74589:8;74575:27;;;;;;;;;;;;:9;:27::i;30198:191::-;30291:6;;;-1:-1:-1;;;;;30308:17:0;;;-1:-1:-1;;;;;;30308:17:0;;;;;;;30341:40;;30291:6;;;30308:17;30291:6;;30341:40;;30272:16;;30341:40;30261:128;30198:191;:::o;67469:691::-;67653:88;;-1:-1:-1;;;67653:88:0;;67632:4;;-1:-1:-1;;;;;67653:45:0;;;;;:88;;82051:10;;67720:4;;67726:7;;67735:5;;67653:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67653:88:0;;;;;;;;-1:-1:-1;;67653:88:0;;;;;;;;;;;;:::i;:::-;;;67649:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67936:6;:13;67953:1;67936:18;67932:115;;67975:56;-1:-1:-1;;;67975:7:0;:56::i;:::-;68119:6;68113:13;68104:6;68100:2;68096:15;68089:38;67649:504;-1:-1:-1;;;;;;67812:64:0;-1:-1:-1;;;67812:64:0;;-1:-1:-1;67649:504:0;67469:691;;;;;;:::o;24242:716::-;24298:13;24349:14;24366:17;24377:5;24366:10;:17::i;:::-;24386:1;24366:21;24349:38;;24402:20;24436:6;24425:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24425:18:0;-1:-1:-1;24402:41:0;-1:-1:-1;24567:28:0;;;24583:2;24567:28;24624:288;-1:-1:-1;;24656:5:0;-1:-1:-1;;;24793:2:0;24782:14;;24777:30;24656:5;24764:44;24854:2;24845:11;;;-1:-1:-1;24875:21:0;24624:288;24875:21;-1:-1:-1;24933:6:0;24242:716;-1:-1:-1;;;24242:716:0:o;73706:708::-;73837:19;73843:2;73847:8;73837:5;:19::i;:::-;-1:-1:-1;;;;;73898:14:0;;;:19;73894:502;;73938:11;73952:13;74000:14;;;74033:242;74064:62;74103:1;74107:2;74111:7;;;;;;74120:5;74064:30;:62::i;:::-;74059:176;;74155:56;-1:-1:-1;;;74155:7:0;:56::i;:::-;74270:3;74262:5;:11;74033:242;;74357:3;74340:13;;:20;74336:44;;74362:18;74377:1;74362:7;:18::i;:::-;73919:477;;73706:708;;;:::o;21022:948::-;21075:7;;-1:-1:-1;;;21153:17:0;;21149:106;;-1:-1:-1;;;21191:17:0;;;-1:-1:-1;21237:2:0;21227:12;21149:106;21282:8;21273:5;:17;21269:106;;21320:8;21311:17;;;-1:-1:-1;21357:2:0;21347:12;21269:106;21402:8;21393:5;:17;21389:106;;21440:8;21431:17;;;-1:-1:-1;21477:2:0;21467:12;21389:106;21522:7;21513:5;:16;21509:103;;21559:7;21550:16;;;-1:-1:-1;21595:1:0;21585:11;21509:103;21639:7;21630:5;:16;21626:103;;21676:7;21667:16;;;-1:-1:-1;21712:1:0;21702:11;21626:103;21756:7;21747:5;:16;21743:103;;21793:7;21784:16;;;-1:-1:-1;21829:1:0;21819:11;21743:103;21873:7;21864:5;:16;21860:68;;21911:1;21901:11;21956:6;21022:948;-1:-1:-1;;21022:948:0:o;68622:2305::-;68695:20;68718:13;;;68746;;;68742:53;;68761:34;-1:-1:-1;;;68761:7:0;:34::i;:::-;69308:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;55470:28:0;;55644:11;55619:23;55615:41;56088:1;56075:15;;56049:24;56045:46;55612:52;55602:63;;69308:173;;;69699:22;;;:18;:22;;;;;:71;;69737:32;69725:45;;69699:71;;;55470:28;69960:13;;;69956:54;;69975:35;-1:-1:-1;;;69975:7:0;:35::i;:::-;70041:23;;;:12;70126:676;70545:7;70501:8;70456:1;70390:25;70327:1;70262;70231:358;70797:3;70784:9;;;;;;:16;70126:676;;-1:-1:-1;70818:13:0;:19;-1:-1:-1;64178: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:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;770:366;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:248::-;3132:6;3140;3193:2;3181:9;3172:7;3168:23;3164:32;3161:52;;;3209:1;3206;3199:12;3161:52;-1:-1:-1;;3232:23:1;;;3302:2;3287:18;;;3274:32;;-1:-1:-1;3064:248:1:o;3596:683::-;3691:6;3699;3707;3760:2;3748:9;3739:7;3735:23;3731:32;3728:52;;;3776:1;3773;3766:12;3728:52;3812:9;3799:23;3789:33;;3873:2;3862:9;3858:18;3845:32;3896:18;3937:2;3929:6;3926:14;3923:34;;;3953:1;3950;3943:12;3923:34;3991:6;3980:9;3976:22;3966:32;;4036:7;4029:4;4025:2;4021:13;4017:27;4007:55;;4058:1;4055;4048:12;4007:55;4098:2;4085:16;4124:2;4116:6;4113:14;4110:34;;;4140:1;4137;4130:12;4110:34;4193:7;4188:2;4178:6;4175:1;4171:14;4167:2;4163:23;4159:32;4156:45;4153:65;;;4214:1;4211;4204:12;4153:65;4245:2;4241;4237:11;4227:21;;4267:6;4257:16;;;;;3596:683;;;;;:::o;4284:127::-;4345:10;4340:3;4336:20;4333:1;4326:31;4376:4;4373:1;4366:15;4400:4;4397:1;4390:15;4416:632;4481:5;4511:18;4552:2;4544:6;4541:14;4538:40;;;4558:18;;:::i;:::-;4633:2;4627:9;4601:2;4687:15;;-1:-1:-1;;4683:24:1;;;4709:2;4679:33;4675:42;4663:55;;;4733:18;;;4753:22;;;4730:46;4727:72;;;4779:18;;:::i;:::-;4819:10;4815:2;4808:22;4848:6;4839:15;;4878:6;4870;4863:22;4918:3;4909:6;4904:3;4900:16;4897:25;4894:45;;;4935:1;4932;4925:12;4894:45;4985:6;4980:3;4973:4;4965:6;4961:17;4948:44;5040:1;5033:4;5024:6;5016;5012:19;5008:30;5001:41;;;;4416:632;;;;;:::o;5053:451::-;5122:6;5175:2;5163:9;5154:7;5150:23;5146:32;5143:52;;;5191:1;5188;5181:12;5143:52;5231:9;5218:23;5264:18;5256:6;5253:30;5250:50;;;5296:1;5293;5286:12;5250:50;5319:22;;5372:4;5364:13;;5360:27;-1:-1:-1;5350:55:1;;5401:1;5398;5391:12;5350:55;5424:74;5490:7;5485:2;5472:16;5467:2;5463;5459:11;5424:74;:::i;5509:186::-;5568:6;5621:2;5609:9;5600:7;5596:23;5592:32;5589:52;;;5637:1;5634;5627:12;5589:52;5660:29;5679:9;5660:29;:::i;5700:347::-;5765:6;5773;5826:2;5814:9;5805:7;5801:23;5797:32;5794:52;;;5842:1;5839;5832:12;5794:52;5865:29;5884:9;5865:29;:::i;:::-;5855:39;;5944:2;5933:9;5929:18;5916:32;5991:5;5984:13;5977:21;5970:5;5967:32;5957:60;;6013:1;6010;6003:12;6052:667;6147:6;6155;6163;6171;6224:3;6212:9;6203:7;6199:23;6195:33;6192:53;;;6241:1;6238;6231:12;6192:53;6264:29;6283:9;6264:29;:::i;:::-;6254:39;;6312:38;6346:2;6335:9;6331:18;6312:38;:::i;:::-;6302:48;;6397:2;6386:9;6382:18;6369:32;6359:42;;6452:2;6441:9;6437:18;6424:32;6479:18;6471:6;6468:30;6465:50;;;6511:1;6508;6501:12;6465:50;6534:22;;6587:4;6579:13;;6575:27;-1:-1:-1;6565:55:1;;6616:1;6613;6606:12;6565:55;6639:74;6705:7;6700:2;6687:16;6682:2;6678;6674:11;6639:74;:::i;:::-;6629:84;;;6052:667;;;;;;;:::o;6724:260::-;6792:6;6800;6853:2;6841:9;6832:7;6828:23;6824:32;6821:52;;;6869:1;6866;6859:12;6821:52;6892:29;6911:9;6892:29;:::i;:::-;6882:39;;6940:38;6974:2;6963:9;6959:18;6940:38;:::i;:::-;6930:48;;6724:260;;;;;:::o;6989:380::-;7068:1;7064:12;;;;7111;;;7132:61;;7186:4;7178:6;7174:17;7164:27;;7132:61;7239:2;7231:6;7228:14;7208:18;7205:38;7202:161;;7285:10;7280:3;7276:20;7273:1;7266:31;7320:4;7317:1;7310:15;7348:4;7345:1;7338:15;7202:161;;6989:380;;;:::o;7374:127::-;7435:10;7430:3;7426:20;7423:1;7416:31;7466:4;7463:1;7456:15;7490:4;7487:1;7480:15;7506:168;7579:9;;;7610;;7627:15;;;7621:22;;7607:37;7597:71;;7648:18;;:::i;7811:217::-;7851:1;7877;7867:132;;7921:10;7916:3;7912:20;7909:1;7902:31;7956:4;7953:1;7946:15;7984:4;7981:1;7974:15;7867:132;-1:-1:-1;8013:9:1;;7811:217::o;8386:125::-;8451:9;;;8472:10;;;8469:36;;;8485:18;;:::i;9194:128::-;9261:9;;;9282:11;;;9279:37;;;9296:18;;:::i;10588:127::-;10649:10;10644:3;10640:20;10637:1;10630:31;10680:4;10677:1;10670:15;10704:4;10701:1;10694:15;10720:135;10759:3;10780:17;;;10777:43;;10800:18;;:::i;:::-;-1:-1:-1;10847:1:1;10836:13;;10720:135::o;10986:545::-;11088:2;11083:3;11080:11;11077:448;;;11124:1;11149:5;11145:2;11138:17;11194:4;11190:2;11180:19;11264:2;11252:10;11248:19;11245:1;11241:27;11235:4;11231:38;11300:4;11288:10;11285:20;11282:47;;;-1:-1:-1;11323:4:1;11282:47;11378:2;11373:3;11369:12;11366:1;11362:20;11356:4;11352:31;11342:41;;11433:82;11451:2;11444:5;11441:13;11433:82;;;11496:17;;;11477:1;11466:13;11433:82;;11707:1352;11833:3;11827:10;11860:18;11852:6;11849:30;11846:56;;;11882:18;;:::i;:::-;11911:97;12001:6;11961:38;11993:4;11987:11;11961:38;:::i;:::-;11955:4;11911:97;:::i;:::-;12063:4;;12127:2;12116:14;;12144:1;12139:663;;;;12846:1;12863:6;12860:89;;;-1:-1:-1;12915:19:1;;;12909:26;12860:89;-1:-1:-1;;11664:1:1;11660:11;;;11656:24;11652:29;11642:40;11688:1;11684:11;;;11639:57;12962:81;;12109:944;;12139:663;10933:1;10926:14;;;10970:4;10957:18;;-1:-1:-1;;12175:20:1;;;12293:236;12307:7;12304:1;12301:14;12293:236;;;12396:19;;;12390:26;12375:42;;12488:27;;;;12456:1;12444:14;;;;12323:19;;12293:236;;;12297:3;12557:6;12548:7;12545:19;12542:201;;;12618:19;;;12612:26;-1:-1:-1;;12701:1:1;12697:14;;;12713:3;12693:24;12689:37;12685:42;12670:58;12655:74;;12542:201;-1:-1:-1;;;;;12789:1:1;12773:14;;;12769:22;12756:36;;-1:-1:-1;11707:1352:1:o;13480:1187::-;13757:3;13786:1;13819:6;13813:13;13849:36;13875:9;13849:36;:::i;:::-;13904:1;13921:18;;;13948:133;;;;14095:1;14090:356;;;;13914:532;;13948:133;-1:-1:-1;;13981:24:1;;13969:37;;14054:14;;14047:22;14035:35;;14026:45;;;-1:-1:-1;13948:133:1;;14090:356;14121:6;14118:1;14111:17;14151:4;14196:2;14193:1;14183:16;14221:1;14235:165;14249:6;14246:1;14243:13;14235:165;;;14327:14;;14314:11;;;14307:35;14370:16;;;;14264:10;;14235:165;;;14239:3;;;14429:6;14424:3;14420:16;14413:23;;13914:532;;;;;14477:6;14471:13;14493:68;14552:8;14547:3;14540:4;14532:6;14528:17;14493:68;:::i;:::-;-1:-1:-1;;;14583:18:1;;14610:22;;;14659:1;14648:13;;13480:1187;-1:-1:-1;;;;13480:1187:1:o;16205:136::-;16244:3;16272:5;16262:39;;16281:18;;:::i;:::-;-1:-1:-1;;;16317:18:1;;16205:136::o;16346:489::-;-1:-1:-1;;;;;16615:15:1;;;16597:34;;16667:15;;16662:2;16647:18;;16640:43;16714:2;16699:18;;16692:34;;;16762:3;16757:2;16742:18;;16735:31;;;16540:4;;16783:46;;16809:19;;16801:6;16783:46;:::i;:::-;16775:54;16346:489;-1:-1:-1;;;;;;16346:489:1:o;16840:249::-;16909:6;16962:2;16950:9;16941:7;16937:23;16933:32;16930:52;;;16978:1;16975;16968:12;16930:52;17010:9;17004:16;17029:30;17053:5;17029:30;:::i
Swarm Source
ipfs://3e72cc348310f77ee4c85dd70a37d6a612b8ed1ab735526a9afd1830baf13f8c
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.