Overview
TokenID
429
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Tuerto
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-28 */ // File: @openzeppelin\contracts\security\ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin\contracts\utils\Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin\contracts\access\Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin\contracts\utils\math\Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` //  `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` //  `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin\contracts\utils\Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: node_modules\erc721a\contracts\IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a\contracts\ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts\contract.sol //SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract Tuerto is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public maxSupply = 777; uint256 public maxFreeSupply = 500; uint256 public cost = 0.002 ether; uint256 public freeAmount = 2; uint256 public maxPerWallet = 12; bool public isRevealed = true; bool public pause = false; string private baseURL = ""; string public hiddenMetadataUrl = ""; mapping(address => uint256) public userBalance; constructor( string memory _baseMetadataUrl ) ERC721A("Tuerto", "Tuerto") { setBaseUri(_baseMetadataUrl); } function _baseURI() internal view override returns (string memory) { return baseURL; } function setBaseUri(string memory _baseURL) public onlyOwner { baseURL = _baseURL; } function mint(uint256 mintAmount) external payable { require(!pause, "The sale is paused"); if(userBalance[msg.sender] >= freeAmount) require(msg.value >= cost * mintAmount, "Insufficient funds"); else{ if(totalSupply() + mintAmount <= maxFreeSupply) require(msg.value >= cost * (mintAmount - (freeAmount - userBalance[msg.sender])), "Insufficient funds"); else require(msg.value >= cost * mintAmount, "Insufficient funds"); } require(_totalMinted() + mintAmount <= maxSupply,"Exceeds max supply"); require(userBalance[msg.sender] + mintAmount <= maxPerWallet, "Exceeds max per wallet"); _safeMint(msg.sender, mintAmount); userBalance[msg.sender] = userBalance[msg.sender] + mintAmount; } function airdrop(address to, uint256 mintAmount) external onlyOwner { require( _totalMinted() + mintAmount <= maxSupply, "Exceeds max supply" ); _safeMint(to, mintAmount); } function sethiddenMetadataUrl(string memory _hiddenMetadataUrl) public onlyOwner { hiddenMetadataUrl = _hiddenMetadataUrl; } function reveal(bool _state) external onlyOwner { isRevealed = _state; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setMaxSupply(uint256 newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function setMaxFreeSupply(uint256 newMaxFreeSupply) external onlyOwner { maxFreeSupply = newMaxFreeSupply; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "That token doesn't exist"); if(isRevealed == false) { return hiddenMetadataUrl; } else return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")) : ""; } function setCost(uint256 _newCost) public onlyOwner{ cost = _newCost; } function setPause(bool _state) public onlyOwner{ pause = _state; } function setFreeAmount(uint256 _newAmt) public onlyOwner{ require(_newAmt < maxPerWallet, "Not possible"); freeAmount = _newAmt; } function setMaxPerWallet(uint256 _newAmt) public onlyOwner{ require(_newAmt > freeAmount, "Not possible"); maxPerWallet = _newAmt; } function withdraw() external onlyOwner { (bool success, ) = payable(owner()).call{ value: address(this).balance }(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseMetadataUrl","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"airdrop","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeSupply","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":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURL","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxFreeSupply","type":"uint256"}],"name":"setMaxFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmt","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUrl","type":"string"}],"name":"sethiddenMetadataUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610309600a556101f4600b5566071afd498d0000600c9081556002600d55600e55600f805461ffff1916600117905560a06040526000608090815260109062000049908262000284565b5060408051602081019091526000815260119062000068908262000284565b503480156200007657600080fd5b506040516200213b3803806200213b833981016040819052620000999162000350565b60408051808201825260068082526554756572746f60d01b6020808401829052845180860190955291845290830152906002620000d7838262000284565b506003620000e6828262000284565b5050600160005550620000f93362000110565b6001600955620001098162000162565b5062000425565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016c6200017e565b60106200017a828262000284565b5050565b6008546001600160a01b03163314620001dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020a57607f821691505b6020821081036200022b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027f57600081815260208120601f850160051c810160208610156200025a5750805b601f850160051c820191505b818110156200027b5782815560010162000266565b5050505b505050565b81516001600160401b03811115620002a057620002a0620001df565b620002b881620002b18454620001f5565b8462000231565b602080601f831160018114620002f05760008415620002d75750858301515b600019600386901b1c1916600185901b1785556200027b565b600085815260208120601f198616915b82811015620003215788860151825594840194600190910190840162000300565b5085821015620003405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083850312156200036457600080fd5b82516001600160401b03808211156200037c57600080fd5b818501915085601f8301126200039157600080fd5b815181811115620003a657620003a6620001df565b604051601f8201601f19908116603f01168101908382118183101715620003d157620003d1620001df565b816040528281528886848701011115620003ea57600080fd5b600093505b828410156200040e5784840186015181850187015292850192620003ef565b600086848301015280965050505050505092915050565b611d0680620004356000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a0bcfc7f116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461066b57600080fd5b8063a0bcfc7f14610562578063a22cb46514610582578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104dc57806392910eec146104fa578063940cd05b1461051a57806395d89b411461053a578063a0712d681461054f57600080fd5b806370a0823114610468578063715018a6146104885780638456cb591461049d5780638ba4cc3c146104bc57600080fd5b806323b872dd116101b1578063475133341161017557806347513334146103d857806354214f69146103ee5780635b28fd91146104085780636352211e146104285780636f8b44b01461044857600080fd5b806323b872dd146103675780633ccfd60b1461037a57806342842e0e1461038f57806344a0d68a146103a2578063453c2310146103c257600080fd5b8063081812fc116101f8578063081812fc146102d2578063095ea7b31461030a57806313faede61461031f5780631638fef01461033557806318160ddd1461034a57600080fd5b80630103c92b1461022a57806301ffc9a71461026a5780630451a9f11461029a57806306fdde03146102b0575b600080fd5b34801561023657600080fd5b5061025761024536600461179b565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046117cc565b61068b565b6040519015158152602001610261565b3480156102a657600080fd5b50610257600d5481565b3480156102bc57600080fd5b506102c56106dd565b6040516102619190611839565b3480156102de57600080fd5b506102f26102ed36600461184c565b61076f565b6040516001600160a01b039091168152602001610261565b61031d610318366004611865565b6107b3565b005b34801561032b57600080fd5b50610257600c5481565b34801561034157600080fd5b506102c5610853565b34801561035657600080fd5b506001546000540360001901610257565b61031d61037536600461188f565b6108e1565b34801561038657600080fd5b5061031d610a7a565b61031d61039d36600461188f565b610af6565b3480156103ae57600080fd5b5061031d6103bd36600461184c565b610b16565b3480156103ce57600080fd5b50610257600e5481565b3480156103e457600080fd5b50610257600b5481565b3480156103fa57600080fd5b50600f5461028a9060ff1681565b34801561041457600080fd5b5061031d61042336600461184c565b610b23565b34801561043457600080fd5b506102f261044336600461184c565b610b30565b34801561045457600080fd5b5061031d61046336600461184c565b610b3b565b34801561047457600080fd5b5061025761048336600461179b565b610b48565b34801561049457600080fd5b5061031d610b97565b3480156104a957600080fd5b50600f5461028a90610100900460ff1681565b3480156104c857600080fd5b5061031d6104d7366004611865565b610bab565b3480156104e857600080fd5b506008546001600160a01b03166102f2565b34801561050657600080fd5b5061031d61051536600461184c565b610c24565b34801561052657600080fd5b5061031d6105353660046118db565b610c71565b34801561054657600080fd5b506102c5610c8c565b61031d61055d36600461184c565b610c9b565b34801561056e57600080fd5b5061031d61057d366004611982565b610ef8565b34801561058e57600080fd5b5061031d61059d3660046119cb565b610f0c565b61031d6105b03660046119fe565b610f78565b3480156105c157600080fd5b5061031d6105d03660046118db565b610fc2565b3480156105e157600080fd5b506102c56105f036600461184c565b610fe4565b34801561060157600080fd5b5061031d610610366004611982565b61113d565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b5061031d61064636600461184c565b611151565b34801561065757600080fd5b5061028a610666366004611a7a565b61119e565b34801561067757600080fd5b5061031d61068636600461179b565b6111cc565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611aa4565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611242565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b30565b9050336001600160a01b038216146107f7576107da813361119e565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6011805461086090611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90611aa4565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b505050505081565b60006108ec82611277565b9050836001600160a01b0316816001600160a01b03161461091f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761096c5761094f863361119e565b61096c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099357604051633a954ecd60e21b815260040160405180910390fd5b801561099e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a3057600184016000818152600460205260408120549003610a2e576000548114610a2e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a826112ed565b6000610a966008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae0576040519150601f19603f3d011682016040523d82523d6000602084013e610ae5565b606091505b5050905080610af357600080fd5b50565b610b1183838360405180602001604052806000815250610f78565b505050565b610b1e6112ed565b600c55565b610b2b6112ed565b600b55565b60006106d782611277565b610b436112ed565b600a55565b60006001600160a01b038216610b71576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b9f6112ed565b610ba96000611347565b565b610bb36112ed565b600a5481610bc46000546000190190565b610bce9190611af4565b1115610c165760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610c208282611399565b5050565b610c2c6112ed565b600e548110610c6c5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c0d565b600d55565b610c796112ed565b600f805460ff1916911515919091179055565b6060600380546106ec90611aa4565b600f54610100900460ff1615610ce85760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610c0d565b600d543360009081526012602052604090205410610d575780600c54610d0e9190611b07565b341015610d525760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c0d565b610dfd565b600b546001546000548391900360001901610d729190611af4565b11610dab5733600090815260126020526040902054600d54610d949190611b1e565b610d9e9082611b1e565b600c54610d0e9190611b07565b80600c54610db99190611b07565b341015610dfd5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c0d565b600a5481610e0e6000546000190190565b610e189190611af4565b1115610e5b5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610c0d565b600e5433600090815260126020526040902054610e79908390611af4565b1115610ec05760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610c0d565b610eca3382611399565b33600090815260126020526040902054610ee5908290611af4565b3360009081526012602052604090205550565b610f006112ed565b6010610c208282611b77565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f838484846108e1565b6001600160a01b0383163b15610fbc57610f9f848484846113b3565b610fbc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fca6112ed565b600f80549115156101000261ff0019909216919091179055565b6060610fef82611242565b61103b5760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610c0d565b600f5460ff1615156000036110dc576011805461105790611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461108390611aa4565b80156110d05780601f106110a5576101008083540402835291602001916110d0565b820191906000526020600020905b8154815290600101906020018083116110b357829003601f168201915b50505050509050919050565b60006110e661149f565b511161110157604051806020016040528060008152506106d7565b61110961149f565b611112836114ae565b604051602001611123929190611c37565b60405160208183030381529060405292915050565b919050565b6111456112ed565b6011610c208282611b77565b6111596112ed565b600d5481116111995760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c0d565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111d46112ed565b6001600160a01b0381166112395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c0d565b610af381611347565b600081600111158015611256575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b600081806001116112d4576000548110156112d45760008181526004602052604081205490600160e01b821690036112d2575b806000036112cb5750600019016000818152600460205260409020546112aa565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ba95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c0d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c20828260405180602001604052806000815250611541565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113e8903390899088908890600401611c76565b6020604051808303816000875af1925050508015611423575060408051601f3d908101601f1916820190925261142091810190611cb3565b60015b611481573d808015611451576040519150601f19603f3d011682016040523d82523d6000602084013e611456565b606091505b508051600003611479576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ec90611aa4565b606060006114bb836115ae565b600101905060008167ffffffffffffffff8111156114db576114db6118f6565b6040519080825280601f01601f191660200182016040528015611505576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461150f57509392505050565b61154b8383611686565b6001600160a01b0383163b15610b11576000548281035b61157560008683806001019450866113b3565b611592576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115625781600054146115a757600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115ed5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611619576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163757662386f26fc10000830492506010015b6305f5e100831061164f576305f5e100830492506008015b612710831061166357612710830492506004015b60648310611675576064830492506002015b600a83106106d75760010192915050565b60008054908290036116ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461175a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611722565b508160000361177b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461113857600080fd5b6000602082840312156117ad57600080fd5b6112cb82611784565b6001600160e01b031981168114610af357600080fd5b6000602082840312156117de57600080fd5b81356112cb816117b6565b60005b838110156118045781810151838201526020016117ec565b50506000910152565b600081518084526118258160208601602086016117e9565b601f01601f19169290920160200192915050565b6020815260006112cb602083018461180d565b60006020828403121561185e57600080fd5b5035919050565b6000806040838503121561187857600080fd5b61188183611784565b946020939093013593505050565b6000806000606084860312156118a457600080fd5b6118ad84611784565b92506118bb60208501611784565b9150604084013590509250925092565b8035801515811461113857600080fd5b6000602082840312156118ed57600080fd5b6112cb826118cb565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611927576119276118f6565b604051601f8501601f19908116603f0116810190828211818310171561194f5761194f6118f6565b8160405280935085815286868601111561196857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561199457600080fd5b813567ffffffffffffffff8111156119ab57600080fd5b8201601f810184136119bc57600080fd5b6114978482356020840161190c565b600080604083850312156119de57600080fd5b6119e783611784565b91506119f5602084016118cb565b90509250929050565b60008060008060808587031215611a1457600080fd5b611a1d85611784565b9350611a2b60208601611784565b925060408501359150606085013567ffffffffffffffff811115611a4e57600080fd5b8501601f81018713611a5f57600080fd5b611a6e8782356020840161190c565b91505092959194509250565b60008060408385031215611a8d57600080fd5b611a9683611784565b91506119f560208401611784565b600181811c90821680611ab857607f821691505b602082108103611ad857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106d7576106d7611ade565b80820281158282048414176106d7576106d7611ade565b818103818111156106d7576106d7611ade565b601f821115610b1157600081815260208120601f850160051c81016020861015611b585750805b601f850160051c820191505b81811015610a7257828155600101611b64565b815167ffffffffffffffff811115611b9157611b916118f6565b611ba581611b9f8454611aa4565b84611b31565b602080601f831160018114611bda5760008415611bc25750858301515b600019600386901b1c1916600185901b178555610a72565b600085815260208120601f198616915b82811015611c0957888601518255948401946001909101908401611bea565b5085821015611c275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c498184602088016117e9565b835190830190611c5d8183602088016117e9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca99083018461180d565b9695505050505050565b600060208284031215611cc557600080fd5b81516112cb816117b656fea2646970667358221220b848bce4e091329ece3d01f2274f3e29ad5a3cfe9a6f1116b5c94ffc7de844b664736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569653770773365726e336a703632336576767978766c757a7035377778356c6536746b77637764356b697777756a713575716367652f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a0bcfc7f116100ab578063cb2b1c5e1161006f578063cb2b1c5e146105f5578063d5abeb0114610615578063e268e4d31461062b578063e985e9c51461064b578063f2fde38b1461066b57600080fd5b8063a0bcfc7f14610562578063a22cb46514610582578063b88d4fde146105a2578063bedb86fb146105b5578063c87b56dd146105d557600080fd5b80638da5cb5b116100f25780638da5cb5b146104dc57806392910eec146104fa578063940cd05b1461051a57806395d89b411461053a578063a0712d681461054f57600080fd5b806370a0823114610468578063715018a6146104885780638456cb591461049d5780638ba4cc3c146104bc57600080fd5b806323b872dd116101b1578063475133341161017557806347513334146103d857806354214f69146103ee5780635b28fd91146104085780636352211e146104285780636f8b44b01461044857600080fd5b806323b872dd146103675780633ccfd60b1461037a57806342842e0e1461038f57806344a0d68a146103a2578063453c2310146103c257600080fd5b8063081812fc116101f8578063081812fc146102d2578063095ea7b31461030a57806313faede61461031f5780631638fef01461033557806318160ddd1461034a57600080fd5b80630103c92b1461022a57806301ffc9a71461026a5780630451a9f11461029a57806306fdde03146102b0575b600080fd5b34801561023657600080fd5b5061025761024536600461179b565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046117cc565b61068b565b6040519015158152602001610261565b3480156102a657600080fd5b50610257600d5481565b3480156102bc57600080fd5b506102c56106dd565b6040516102619190611839565b3480156102de57600080fd5b506102f26102ed36600461184c565b61076f565b6040516001600160a01b039091168152602001610261565b61031d610318366004611865565b6107b3565b005b34801561032b57600080fd5b50610257600c5481565b34801561034157600080fd5b506102c5610853565b34801561035657600080fd5b506001546000540360001901610257565b61031d61037536600461188f565b6108e1565b34801561038657600080fd5b5061031d610a7a565b61031d61039d36600461188f565b610af6565b3480156103ae57600080fd5b5061031d6103bd36600461184c565b610b16565b3480156103ce57600080fd5b50610257600e5481565b3480156103e457600080fd5b50610257600b5481565b3480156103fa57600080fd5b50600f5461028a9060ff1681565b34801561041457600080fd5b5061031d61042336600461184c565b610b23565b34801561043457600080fd5b506102f261044336600461184c565b610b30565b34801561045457600080fd5b5061031d61046336600461184c565b610b3b565b34801561047457600080fd5b5061025761048336600461179b565b610b48565b34801561049457600080fd5b5061031d610b97565b3480156104a957600080fd5b50600f5461028a90610100900460ff1681565b3480156104c857600080fd5b5061031d6104d7366004611865565b610bab565b3480156104e857600080fd5b506008546001600160a01b03166102f2565b34801561050657600080fd5b5061031d61051536600461184c565b610c24565b34801561052657600080fd5b5061031d6105353660046118db565b610c71565b34801561054657600080fd5b506102c5610c8c565b61031d61055d36600461184c565b610c9b565b34801561056e57600080fd5b5061031d61057d366004611982565b610ef8565b34801561058e57600080fd5b5061031d61059d3660046119cb565b610f0c565b61031d6105b03660046119fe565b610f78565b3480156105c157600080fd5b5061031d6105d03660046118db565b610fc2565b3480156105e157600080fd5b506102c56105f036600461184c565b610fe4565b34801561060157600080fd5b5061031d610610366004611982565b61113d565b34801561062157600080fd5b50610257600a5481565b34801561063757600080fd5b5061031d61064636600461184c565b611151565b34801561065757600080fd5b5061028a610666366004611a7a565b61119e565b34801561067757600080fd5b5061031d61068636600461179b565b6111cc565b60006301ffc9a760e01b6001600160e01b0319831614806106bc57506380ac58cd60e01b6001600160e01b03198316145b806106d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ec90611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461071890611aa4565b80156107655780601f1061073a57610100808354040283529160200191610765565b820191906000526020600020905b81548152906001019060200180831161074857829003601f168201915b5050505050905090565b600061077a82611242565b610797576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107be82610b30565b9050336001600160a01b038216146107f7576107da813361119e565b6107f7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6011805461086090611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461088c90611aa4565b80156108d95780601f106108ae576101008083540402835291602001916108d9565b820191906000526020600020905b8154815290600101906020018083116108bc57829003601f168201915b505050505081565b60006108ec82611277565b9050836001600160a01b0316816001600160a01b03161461091f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761096c5761094f863361119e565b61096c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099357604051633a954ecd60e21b815260040160405180910390fd5b801561099e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a3057600184016000818152600460205260408120549003610a2e576000548114610a2e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a826112ed565b6000610a966008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae0576040519150601f19603f3d011682016040523d82523d6000602084013e610ae5565b606091505b5050905080610af357600080fd5b50565b610b1183838360405180602001604052806000815250610f78565b505050565b610b1e6112ed565b600c55565b610b2b6112ed565b600b55565b60006106d782611277565b610b436112ed565b600a55565b60006001600160a01b038216610b71576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b9f6112ed565b610ba96000611347565b565b610bb36112ed565b600a5481610bc46000546000190190565b610bce9190611af4565b1115610c165760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610c208282611399565b5050565b610c2c6112ed565b600e548110610c6c5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c0d565b600d55565b610c796112ed565b600f805460ff1916911515919091179055565b6060600380546106ec90611aa4565b600f54610100900460ff1615610ce85760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610c0d565b600d543360009081526012602052604090205410610d575780600c54610d0e9190611b07565b341015610d525760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c0d565b610dfd565b600b546001546000548391900360001901610d729190611af4565b11610dab5733600090815260126020526040902054600d54610d949190611b1e565b610d9e9082611b1e565b600c54610d0e9190611b07565b80600c54610db99190611b07565b341015610dfd5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610c0d565b600a5481610e0e6000546000190190565b610e189190611af4565b1115610e5b5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610c0d565b600e5433600090815260126020526040902054610e79908390611af4565b1115610ec05760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610c0d565b610eca3382611399565b33600090815260126020526040902054610ee5908290611af4565b3360009081526012602052604090205550565b610f006112ed565b6010610c208282611b77565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f838484846108e1565b6001600160a01b0383163b15610fbc57610f9f848484846113b3565b610fbc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610fca6112ed565b600f80549115156101000261ff0019909216919091179055565b6060610fef82611242565b61103b5760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610c0d565b600f5460ff1615156000036110dc576011805461105790611aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461108390611aa4565b80156110d05780601f106110a5576101008083540402835291602001916110d0565b820191906000526020600020905b8154815290600101906020018083116110b357829003601f168201915b50505050509050919050565b60006110e661149f565b511161110157604051806020016040528060008152506106d7565b61110961149f565b611112836114ae565b604051602001611123929190611c37565b60405160208183030381529060405292915050565b919050565b6111456112ed565b6011610c208282611b77565b6111596112ed565b600d5481116111995760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610c0d565b600e55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6111d46112ed565b6001600160a01b0381166112395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c0d565b610af381611347565b600081600111158015611256575060005482105b80156106d7575050600090815260046020526040902054600160e01b161590565b600081806001116112d4576000548110156112d45760008181526004602052604081205490600160e01b821690036112d2575b806000036112cb5750600019016000818152600460205260409020546112aa565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ba95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c0d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610c20828260405180602001604052806000815250611541565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113e8903390899088908890600401611c76565b6020604051808303816000875af1925050508015611423575060408051601f3d908101601f1916820190925261142091810190611cb3565b60015b611481573d808015611451576040519150601f19603f3d011682016040523d82523d6000602084013e611456565b606091505b508051600003611479576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ec90611aa4565b606060006114bb836115ae565b600101905060008167ffffffffffffffff8111156114db576114db6118f6565b6040519080825280601f01601f191660200182016040528015611505576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461150f57509392505050565b61154b8383611686565b6001600160a01b0383163b15610b11576000548281035b61157560008683806001019450866113b3565b611592576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115625781600054146115a757600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115ed5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611619576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061163757662386f26fc10000830492506010015b6305f5e100831061164f576305f5e100830492506008015b612710831061166357612710830492506004015b60648310611675576064830492506002015b600a83106106d75760010192915050565b60008054908290036116ab5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461175a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611722565b508160000361177b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b038116811461113857600080fd5b6000602082840312156117ad57600080fd5b6112cb82611784565b6001600160e01b031981168114610af357600080fd5b6000602082840312156117de57600080fd5b81356112cb816117b6565b60005b838110156118045781810151838201526020016117ec565b50506000910152565b600081518084526118258160208601602086016117e9565b601f01601f19169290920160200192915050565b6020815260006112cb602083018461180d565b60006020828403121561185e57600080fd5b5035919050565b6000806040838503121561187857600080fd5b61188183611784565b946020939093013593505050565b6000806000606084860312156118a457600080fd5b6118ad84611784565b92506118bb60208501611784565b9150604084013590509250925092565b8035801515811461113857600080fd5b6000602082840312156118ed57600080fd5b6112cb826118cb565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611927576119276118f6565b604051601f8501601f19908116603f0116810190828211818310171561194f5761194f6118f6565b8160405280935085815286868601111561196857600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561199457600080fd5b813567ffffffffffffffff8111156119ab57600080fd5b8201601f810184136119bc57600080fd5b6114978482356020840161190c565b600080604083850312156119de57600080fd5b6119e783611784565b91506119f5602084016118cb565b90509250929050565b60008060008060808587031215611a1457600080fd5b611a1d85611784565b9350611a2b60208601611784565b925060408501359150606085013567ffffffffffffffff811115611a4e57600080fd5b8501601f81018713611a5f57600080fd5b611a6e8782356020840161190c565b91505092959194509250565b60008060408385031215611a8d57600080fd5b611a9683611784565b91506119f560208401611784565b600181811c90821680611ab857607f821691505b602082108103611ad857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156106d7576106d7611ade565b80820281158282048414176106d7576106d7611ade565b818103818111156106d7576106d7611ade565b601f821115610b1157600081815260208120601f850160051c81016020861015611b585750805b601f850160051c820191505b81811015610a7257828155600101611b64565b815167ffffffffffffffff811115611b9157611b916118f6565b611ba581611b9f8454611aa4565b84611b31565b602080601f831160018114611bda5760008415611bc25750858301515b600019600386901b1c1916600185901b178555610a72565b600085815260208120601f198616915b82811015611c0957888601518255948401946001909101908401611bea565b5085821015611c275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611c498184602088016117e9565b835190830190611c5d8183602088016117e9565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca99083018461180d565b9695505050505050565b600060208284031215611cc557600080fd5b81516112cb816117b656fea2646970667358221220b848bce4e091329ece3d01f2274f3e29ad5a3cfe9a6f1116b5c94ffc7de844b664736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569653770773365726e336a703632336576767978766c757a7035377778356c6536746b77637764356b697777756a713575716367652f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseMetadataUrl (string): ipfs://bafybeie7pw3ern3jp623evvyxvluzp57wx5le6tkwcwd5kiwwujq5uqcge/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f62616679626569653770773365726e336a7036323365767679
Arg [3] : 78766c757a7035377778356c6536746b77637764356b697777756a7135757163
Arg [4] : 67652f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73267:3433:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73697:46;;;;;;;;;;-1:-1:-1;73697:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;529:25:1;;;517:2;502:18;73697:46:0;;;;;;;;40141:639;;;;;;;;;;-1:-1:-1;40141:639:0;;;;;:::i;:::-;;:::i;:::-;;;1116:14:1;;1109:22;1091:41;;1079:2;1064:18;40141:639:0;951:187:1;73474:29:0;;;;;;;;;;;;;;;;41043:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47534:218::-;;;;;;;;;;-1:-1:-1;47534:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2248:32:1;;;2230:51;;2218:2;2203:18;47534:218:0;2084:203:1;46967:408:0;;;;;;:::i;:::-;;:::i;:::-;;73434:33;;;;;;;;;;;;;;;;73652:36;;;;;;;;;;;;;:::i;36794:323::-;;;;;;;;;;-1:-1:-1;75401:1:0;37068:12;36855:7;37052:13;:28;-1:-1:-1;;37052:46:0;36794:323;;51173:2825;;;;;;:::i;:::-;;:::i;76523:174::-;;;;;;;;;;;;;:::i;54094:193::-;;;;;;:::i;:::-;;:::i;76041:76::-;;;;;;;;;;-1:-1:-1;76041:76:0;;;;;:::i;:::-;;:::i;73510:32::-;;;;;;;;;;;;;;;;73393:34;;;;;;;;;;;;;;;;73551:29;;;;;;;;;;-1:-1:-1;73551:29:0;;;;;;;;75519:113;;;;;;;;;;-1:-1:-1;75519:113:0;;;;;:::i;:::-;;:::i;42436:152::-;;;;;;;;;;-1:-1:-1;42436:152:0;;;;;:::i;:::-;;:::i;75414:97::-;;;;;;;;;;-1:-1:-1;75414:97:0;;;;;:::i;:::-;;:::i;37978:233::-;;;;;;;;;;-1:-1:-1;37978:233:0;;;;;:::i;:::-;;:::i;5714:103::-;;;;;;;;;;;;;:::i;73584:25::-;;;;;;;;;;-1:-1:-1;73584:25:0;;;;;;;;;;;74877:202;;;;;;;;;;-1:-1:-1;74877:202:0;;;;;:::i;:::-;;:::i;5066:87::-;;;;;;;;;;-1:-1:-1;5139:6:0;;-1:-1:-1;;;;;5139:6:0;5066:87;;76201:153;;;;;;;;;;-1:-1:-1;76201:153:0;;;;;:::i;:::-;;:::i;75227:80::-;;;;;;;;;;-1:-1:-1;75227:80:0;;;;;:::i;:::-;;:::i;41219:104::-;;;;;;;;;;;;;:::i;74087:782::-;;;;;;:::i;:::-;;:::i;73987:92::-;;;;;;;;;;-1:-1:-1;73987:92:0;;;;;:::i;:::-;;:::i;48092:234::-;;;;;;;;;;-1:-1:-1;48092:234:0;;;;;:::i;:::-;;:::i;54885:407::-;;;;;;:::i;:::-;;:::i;76122:71::-;;;;;;;;;;-1:-1:-1;76122:71:0;;;;;:::i;:::-;;:::i;75637:399::-;;;;;;;;;;-1:-1:-1;75637:399:0;;;;;:::i;:::-;;:::i;75087:132::-;;;;;;;;;;-1:-1:-1;75087:132:0;;;;;:::i;:::-;;:::i;73356:30::-;;;;;;;;;;;;;;;;76362:156;;;;;;;;;;-1:-1:-1;76362:156:0;;;;;:::i;:::-;;:::i;48483:164::-;;;;;;;;;;-1:-1:-1;48483:164:0;;;;;:::i;:::-;;:::i;5972:201::-;;;;;;;;;;-1:-1:-1;5972:201:0;;;;;:::i;:::-;;:::i;40141:639::-;40226:4;-1:-1:-1;;;;;;;;;40550:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40627:25:0;;;40550:102;:179;;;-1:-1:-1;;;;;;;;;;40704:25:0;;;40550:179;40530:199;40141:639;-1:-1:-1;;40141:639:0:o;41043:100::-;41097:13;41130:5;41123:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41043:100;:::o;47534:218::-;47610:7;47635:16;47643:7;47635;:16::i;:::-;47630:64;;47660:34;;-1:-1:-1;;;47660:34:0;;;;;;;;;;;47630:64;-1:-1:-1;47714:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47714:30:0;;47534:218::o;46967:408::-;47056:13;47072:16;47080:7;47072;:16::i;:::-;47056:32;-1:-1:-1;71300:10:0;-1:-1:-1;;;;;47105:28:0;;;47101:175;;47153:44;47170:5;71300:10;48483:164;:::i;47153:44::-;47148:128;;47225:35;;-1:-1:-1;;;47225:35:0;;;;;;;;;;;47148:128;47288:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47288:35:0;-1:-1:-1;;;;;47288:35:0;;;;;;;;;47339:28;;47288:24;;47339:28;;;;;;;47045:330;46967:408;;:::o;73652:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51173:2825::-;51315:27;51345;51364:7;51345:18;:27::i;:::-;51315:57;;51430:4;-1:-1:-1;;;;;51389:45:0;51405:19;-1:-1:-1;;;;;51389:45:0;;51385:86;;51443:28;;-1:-1:-1;;;51443:28:0;;;;;;;;;;;51385:86;51485:27;50281:24;;;:15;:24;;;;;50509:26;;71300:10;49906:30;;;-1:-1:-1;;;;;49599:28:0;;49884:20;;;49881:56;51671:180;;51764:43;51781:4;71300:10;48483:164;:::i;51764:43::-;51759:92;;51816:35;;-1:-1:-1;;;51816:35:0;;;;;;;;;;;51759:92;-1:-1:-1;;;;;51868:16:0;;51864:52;;51893:23;;-1:-1:-1;;;51893:23:0;;;;;;;;;;;51864:52;52065:15;52062:160;;;52205:1;52184:19;52177:30;52062:160;-1:-1:-1;;;;;52602:24:0;;;;;;;:18;:24;;;;;;52600:26;;-1:-1:-1;;52600:26:0;;;52671:22;;;;;;;;;52669:24;;-1:-1:-1;52669:24:0;;;45825:11;45800:23;45796:41;45783:63;-1:-1:-1;;;45783:63:0;52964:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53259:47:0;;:52;;53255:627;;53364:1;53354:11;;53332:19;53487:30;;;:17;:30;;;;;;:35;;53483:384;;53625:13;;53610:11;:28;53606:242;;53772:30;;;;:17;:30;;;;;:52;;;53606:242;53313:569;53255:627;53929:7;53925:2;-1:-1:-1;;;;;53910:27:0;53919:4;-1:-1:-1;;;;;53910:27:0;;;;;;;;;;;53948:42;51304:2694;;;51173:2825;;;:::o;76523:174::-;4952:13;:11;:13::i;:::-;76568:12:::1;76594:7;5139:6:::0;;-1:-1:-1;;;;;5139:6:0;;5066:87;76594:7:::1;-1:-1:-1::0;;;;;76586:21:0::1;76629;76586:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76567:98;;;76684:7;76676:16;;;::::0;::::1;;76562:135;76523:174::o:0;54094:193::-;54240:39;54257:4;54263:2;54267:7;54240:39;;;;;;;;;;;;:16;:39::i;:::-;54094:193;;;:::o;76041:76::-;4952:13;:11;:13::i;:::-;76097:4:::1;:15:::0;76041:76::o;75519:113::-;4952:13;:11;:13::i;:::-;75595::::1;:32:::0;75519:113::o;42436:152::-;42508:7;42551:27;42570:7;42551:18;:27::i;75414:97::-;4952:13;:11;:13::i;:::-;75482:9:::1;:24:::0;75414:97::o;37978:233::-;38050:7;-1:-1:-1;;;;;38074:19:0;;38070:60;;38102:28;;-1:-1:-1;;;38102:28:0;;;;;;;;;;;38070:60;-1:-1:-1;;;;;;38148:25:0;;;;;:18;:25;;;;;;32137:13;38148:55;;37978:233::o;5714:103::-;4952:13;:11;:13::i;:::-;5779:30:::1;5806:1;5779:18;:30::i;:::-;5714:103::o:0;74877:202::-;4952:13;:11;:13::i;:::-;74994:9:::1;;74980:10;74963:14;37270:7:::0;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74963:14:::1;:27;;;;:::i;:::-;:40;;74950:84;;;::::0;-1:-1:-1;;;74950:84:0;;6714:2:1;74950:84:0::1;::::0;::::1;6696:21:1::0;6753:2;6733:18;;;6726:30;-1:-1:-1;;;6772:18:1;;;6765:48;6830:18;;74950:84:0::1;;;;;;;;;75039:25;75049:2;75053:10;75039:9;:25::i;:::-;74877:202:::0;;:::o;76201:153::-;4952:13;:11;:13::i;:::-;76286:12:::1;;76276:7;:22;76268:47;;;::::0;-1:-1:-1;;;76268:47:0;;7061:2:1;76268:47:0::1;::::0;::::1;7043:21:1::0;7100:2;7080:18;;;7073:30;-1:-1:-1;;;7119:18:1;;;7112:42;7171:18;;76268:47:0::1;6859:336:1::0;76268:47:0::1;76326:10;:20:::0;76201:153::o;75227:80::-;4952:13;:11;:13::i;:::-;75283:10:::1;:19:::0;;-1:-1:-1;;75283:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75227:80::o;41219:104::-;41275:13;41308:7;41301:14;;;;;:::i;74087:782::-;74152:5;;;;;;;74151:6;74143:37;;;;-1:-1:-1;;;74143:37:0;;7402:2:1;74143:37:0;;;7384:21:1;7441:2;7421:18;;;7414:30;-1:-1:-1;;;7460:18:1;;;7453:48;7518:18;;74143:37:0;7200:342:1;74143:37:0;74221:10;;74206;74194:23;;;;:11;:23;;;;;;:37;74191:378;;74261:10;74254:4;;:17;;;;:::i;:::-;74241:9;:30;;74233:61;;;;-1:-1:-1;;;74233:61:0;;7922:2:1;74233:61:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74233:61:0;7720:342:1;74233:61:0;74191:378;;;74357:13;;75401:1;37068:12;36855:7;37052:13;74343:10;;37052:28;;-1:-1:-1;;37052:46:0;74327:26;;;;:::i;:::-;:43;74324:233;;74440:10;74428:23;;;;:11;:23;;;;;;74415:10;;:36;;74428:23;74415:36;:::i;:::-;74401:51;;:10;:51;:::i;:::-;74393:4;;:60;;;;:::i;74324:233::-;74524:10;74517:4;;:17;;;;:::i;:::-;74504:9;:30;;74496:61;;;;-1:-1:-1;;;74496:61:0;;7922:2:1;74496:61:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74496:61:0;7720:342:1;74496:61:0;74618:9;;74604:10;74587:14;37270:7;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74587:14;:27;;;;:::i;:::-;:40;;74579:70;;;;-1:-1:-1;;;74579:70:0;;6714:2:1;74579:70:0;;;6696:21:1;6753:2;6733:18;;;6726:30;-1:-1:-1;;;6772:18:1;;;6765:48;6830:18;;74579:70:0;6512:342:1;74579:70:0;74708:12;;74680:10;74668:23;;;;:11;:23;;;;;;:36;;74694:10;;74668:36;:::i;:::-;:52;;74660:87;;;;-1:-1:-1;;;74660:87:0;;8402:2:1;74660:87:0;;;8384:21:1;8441:2;8421:18;;;8414:30;-1:-1:-1;;;8460:18:1;;;8453:52;8522:18;;74660:87:0;8200:346:1;74660:87:0;74758:33;74768:10;74780;74758:9;:33::i;:::-;74840:10;74828:23;;;;:11;:23;;;;;;:36;;74854:10;;74828:36;:::i;:::-;74814:10;74802:23;;;;:11;:23;;;;;:62;-1:-1:-1;74087:782:0:o;73987:92::-;4952:13;:11;:13::i;:::-;74056:7:::1;:18;74066:8:::0;74056:7;:18:::1;:::i;48092:234::-:0;71300:10;48187:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48187:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48187:60:0;;;;;;;;;;48263:55;;1091:41:1;;;48187:49:0;;71300:10;48263:55;;1064:18:1;48263:55:0;;;;;;;48092:234;;:::o;54885:407::-;55060:31;55073:4;55079:2;55083:7;55060:12;:31::i;:::-;-1:-1:-1;;;;;55106:14:0;;;:19;55102:183;;55145:56;55176:4;55182:2;55186:7;55195:5;55145:30;:56::i;:::-;55140:145;;55229:40;;-1:-1:-1;;;55229:40:0;;;;;;;;;;;55140:145;54885:407;;;;:::o;76122:71::-;4952:13;:11;:13::i;:::-;76174:5:::1;:14:::0;;;::::1;;;;-1:-1:-1::0;;76174:14:0;;::::1;::::0;;;::::1;::::0;;76122:71::o;75637:399::-;75714:13;75750:16;75758:7;75750;:16::i;:::-;75742:53;;;;-1:-1:-1;;;75742:53:0;;10957:2:1;75742:53:0;;;10939:21:1;10996:2;10976:18;;;10969:30;11035:26;11015:18;;;11008:54;11079:18;;75742:53:0;10755:348:1;75742:53:0;75809:10;;;;:19;;:10;:19;75806:225;;75852:17;75845:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75637:399;;;:::o;75806:225::-;75930:1;75909:10;:8;:10::i;:::-;75903:24;:28;:128;;;;;;;;;;;;;;;;;75972:10;:8;:10::i;:::-;75984:18;:7;:16;:18::i;:::-;75955:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75896:135;75637:399;-1:-1:-1;;75637:399:0:o;75806:225::-;75637:399;;;:::o;75087:132::-;4952:13;:11;:13::i;:::-;75176:17:::1;:38;75196:18:::0;75176:17;:38:::1;:::i;76362:156::-:0;4952:13;:11;:13::i;:::-;76450:10:::1;;76440:7;:20;76432:45;;;::::0;-1:-1:-1;;;76432:45:0;;7061:2:1;76432:45:0::1;::::0;::::1;7043:21:1::0;7100:2;7080:18;;;7073:30;-1:-1:-1;;;7119:18:1;;;7112:42;7171:18;;76432:45:0::1;6859:336:1::0;76432:45:0::1;76488:12;:22:::0;76362:156::o;48483:164::-;-1:-1:-1;;;;;48604:25:0;;;48580:4;48604:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48483:164::o;5972:201::-;4952:13;:11;:13::i;:::-;-1:-1:-1;;;;;6061:22:0;::::1;6053:73;;;::::0;-1:-1:-1;;;6053:73:0;;11978:2:1;6053:73:0::1;::::0;::::1;11960:21:1::0;12017:2;11997:18;;;11990:30;12056:34;12036:18;;;12029:62;-1:-1:-1;;;12107:18:1;;;12100:36;12153:19;;6053:73:0::1;11776:402:1::0;6053:73:0::1;6137:28;6156:8;6137:18;:28::i;48905:282::-:0;48970:4;49026:7;75401:1;49007:26;;:66;;;;;49060:13;;49050:7;:23;49007:66;:153;;;;-1:-1:-1;;49111:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;49111:44:0;:49;;48905:282::o;43591:1275::-;43658:7;43693;;75401:1;43742:23;43738:1061;;43795:13;;43788:4;:20;43784:1015;;;43833:14;43850:23;;;:17;:23;;;;;;;-1:-1:-1;;;43939:24:0;;:29;;43935:845;;44604:113;44611:6;44621:1;44611:11;44604:113;;-1:-1:-1;;;44682:6:0;44664:25;;;;:17;:25;;;;;;44604:113;;;44750:6;43591:1275;-1:-1:-1;;;43591:1275:0:o;43935:845::-;43810:989;43784:1015;44827:31;;-1:-1:-1;;;44827:31:0;;;;;;;;;;;5231:132;5139:6;;-1:-1:-1;;;;;5139:6:0;71300:10;5295:23;5287:68;;;;-1:-1:-1;;;5287:68:0;;12385:2:1;5287:68:0;;;12367:21:1;;;12404:18;;;12397:30;12463:34;12443:18;;;12436:62;12515:18;;5287:68:0;12183:356:1;6333:191:0;6426:6;;;-1:-1:-1;;;;;6443:17:0;;;-1:-1:-1;;;;;;6443:17:0;;;;;;;6476:40;;6426:6;;;6443:17;6426:6;;6476:40;;6407:16;;6476:40;6396:128;6333:191;:::o;65045:112::-;65122:27;65132:2;65136:8;65122:27;;;;;;;;;;;;:9;:27::i;57376:716::-;57560:88;;-1:-1:-1;;;57560:88:0;;57539:4;;-1:-1:-1;;;;;57560:45:0;;;;;:88;;71300:10;;57627:4;;57633:7;;57642:5;;57560:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57560:88:0;;;;;;;;-1:-1:-1;;57560:88:0;;;;;;;;;;;;:::i;:::-;;;57556:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57843:6;:13;57860:1;57843:18;57839:235;;57889:40;;-1:-1:-1;;;57889:40:0;;;;;;;;;;;57839:235;58032:6;58026:13;58017:6;58013:2;58009:15;58002:38;57556:529;-1:-1:-1;;;;;;57719:64:0;-1:-1:-1;;;57719:64:0;;-1:-1:-1;57556:529:0;57376:716;;;;;;:::o;73888:91::-;73940:13;73967:7;73960:14;;;;;:::i;19836:716::-;19892:13;19943:14;19960:17;19971:5;19960:10;:17::i;:::-;19980:1;19960:21;19943:38;;19996:20;20030:6;20019:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20019:18:0;-1:-1:-1;19996:41:0;-1:-1:-1;20161:28:0;;;20177:2;20161:28;20218:288;-1:-1:-1;;20250:5:0;-1:-1:-1;;;20387:2:0;20376:14;;20371:30;20250:5;20358:44;20448:2;20439:11;;;-1:-1:-1;20469:21:0;20218:288;20469:21;-1:-1:-1;20527:6:0;19836:716;-1:-1:-1;;;19836:716:0:o;64272:689::-;64403:19;64409:2;64413:8;64403:5;:19::i;:::-;-1:-1:-1;;;;;64464:14:0;;;:19;64460:483;;64504:11;64518:13;64566:14;;;64599:233;64630:62;64669:1;64673:2;64677:7;;;;;;64686:5;64630:30;:62::i;:::-;64625:167;;64728:40;;-1:-1:-1;;;64728:40:0;;;;;;;;;;;64625:167;64827:3;64819:5;:11;64599:233;;64914:3;64897:13;;:20;64893:34;;64919:8;;;64893:34;64485:458;;64272:689;;;:::o;16706:922::-;16759:7;;-1:-1:-1;;;16837:15:0;;16833:102;;-1:-1:-1;;;16873:15:0;;;-1:-1:-1;16917:2:0;16907:12;16833:102;16962:6;16953:5;:15;16949:102;;16998:6;16989:15;;;-1:-1:-1;17033:2:0;17023:12;16949:102;17078:6;17069:5;:15;17065:102;;17114:6;17105:15;;;-1:-1:-1;17149:2:0;17139:12;17065:102;17194:5;17185;:14;17181:99;;17229:5;17220:14;;;-1:-1:-1;17263:1:0;17253:11;17181:99;17307:5;17298;:14;17294:99;;17342:5;17333:14;;;-1:-1:-1;17376:1:0;17366:11;17294:99;17420:5;17411;:14;17407:99;;17455:5;17446:14;;;-1:-1:-1;17489:1:0;17479:11;17407:99;17533:5;17524;:14;17520:66;;17569:1;17559:11;17614:6;16706:922;-1:-1:-1;;16706:922:0:o;58554:2966::-;58627:20;58650:13;;;58678;;;58674:44;;58700:18;;-1:-1:-1;;;58700:18:0;;;;;;;;;;;58674:44;-1:-1:-1;;;;;59206:22:0;;;;;;:18;:22;;;;32275:2;59206:22;;;:71;;59244:32;59232:45;;59206:71;;;59520:31;;;:17;:31;;;;;-1:-1:-1;46256:15:0;;46230:24;46226:46;45825:11;45800:23;45796:41;45793:52;45783:63;;59520:173;;59755:23;;;;59520:31;;59206:22;;60520:25;59206:22;;60373:335;61034:1;61020:12;61016:20;60974:346;61075:3;61066:7;61063:16;60974:346;;61293:7;61283:8;61280:1;61253:25;61250:1;61247;61242:59;61128:1;61115:15;60974:346;;;60978:77;61353:8;61365:1;61353:13;61349:45;;61375:19;;-1:-1:-1;;;61375:19:0;;;;;;;;;;;61349:45;61411:13;:19;-1:-1:-1;54094:193:0;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;565:131::-;-1:-1:-1;;;;;;639:32:1;;629:43;;619:71;;686:1;683;676:12;701:245;759:6;812:2;800:9;791:7;787:23;783:32;780:52;;;828:1;825;818:12;780:52;867:9;854:23;886:30;910:5;886:30;:::i;1143:250::-;1228:1;1238:113;1252:6;1249:1;1246:13;1238:113;;;1328:11;;;1322:18;1309:11;;;1302:39;1274:2;1267:10;1238:113;;;-1:-1:-1;;1385:1:1;1367:16;;1360:27;1143:250::o;1398:271::-;1440:3;1478:5;1472:12;1505:6;1500:3;1493:19;1521:76;1590:6;1583:4;1578:3;1574:14;1567:4;1560:5;1556:16;1521:76;:::i;:::-;1651:2;1630:15;-1:-1:-1;;1626:29:1;1617:39;;;;1658:4;1613:50;;1398:271;-1:-1:-1;;1398:271:1:o;1674:220::-;1823:2;1812:9;1805:21;1786:4;1843:45;1884:2;1873:9;1869:18;1861:6;1843:45;:::i;1899:180::-;1958:6;2011:2;1999:9;1990:7;1986:23;1982:32;1979:52;;;2027:1;2024;2017:12;1979:52;-1:-1:-1;2050:23:1;;1899:180;-1:-1:-1;1899:180:1:o;2292:254::-;2360:6;2368;2421:2;2409:9;2400:7;2396:23;2392:32;2389:52;;;2437:1;2434;2427:12;2389:52;2460:29;2479:9;2460:29;:::i;:::-;2450:39;2536:2;2521:18;;;;2508:32;;-1:-1:-1;;;2292:254:1:o;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:160::-;2949:20;;3005:13;;2998:21;2988:32;;2978:60;;3034:1;3031;3024:12;3049:180;3105:6;3158:2;3146:9;3137:7;3133:23;3129:32;3126:52;;;3174:1;3171;3164:12;3126:52;3197:26;3213:9;3197:26;:::i;3234:127::-;3295:10;3290:3;3286:20;3283:1;3276:31;3326:4;3323:1;3316:15;3350:4;3347:1;3340:15;3366:632;3431:5;3461:18;3502:2;3494:6;3491:14;3488:40;;;3508:18;;:::i;:::-;3583:2;3577:9;3551:2;3637:15;;-1:-1:-1;;3633:24:1;;;3659:2;3629:33;3625:42;3613:55;;;3683:18;;;3703:22;;;3680:46;3677:72;;;3729:18;;:::i;:::-;3769:10;3765:2;3758:22;3798:6;3789:15;;3828:6;3820;3813:22;3868:3;3859:6;3854:3;3850:16;3847:25;3844:45;;;3885:1;3882;3875:12;3844:45;3935:6;3930:3;3923:4;3915:6;3911:17;3898:44;3990:1;3983:4;3974:6;3966;3962:19;3958:30;3951:41;;;;3366:632;;;;;:::o;4003:451::-;4072:6;4125:2;4113:9;4104:7;4100:23;4096:32;4093:52;;;4141:1;4138;4131:12;4093:52;4181:9;4168:23;4214:18;4206:6;4203:30;4200:50;;;4246:1;4243;4236:12;4200:50;4269:22;;4322:4;4314:13;;4310:27;-1:-1:-1;4300:55:1;;4351:1;4348;4341:12;4300:55;4374:74;4440:7;4435:2;4422:16;4417:2;4413;4409:11;4374:74;:::i;4459:254::-;4524:6;4532;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;4624:29;4643:9;4624:29;:::i;:::-;4614:39;;4672:35;4703:2;4692:9;4688:18;4672:35;:::i;:::-;4662:45;;4459:254;;;;;:::o;4718:667::-;4813:6;4821;4829;4837;4890:3;4878:9;4869:7;4865:23;4861:33;4858:53;;;4907:1;4904;4897:12;4858:53;4930:29;4949:9;4930:29;:::i;:::-;4920:39;;4978:38;5012:2;5001:9;4997:18;4978:38;:::i;:::-;4968:48;;5063:2;5052:9;5048:18;5035:32;5025:42;;5118:2;5107:9;5103:18;5090:32;5145:18;5137:6;5134:30;5131:50;;;5177:1;5174;5167:12;5131:50;5200:22;;5253:4;5245:13;;5241:27;-1:-1:-1;5231:55:1;;5282:1;5279;5272:12;5231:55;5305:74;5371:7;5366:2;5353:16;5348:2;5344;5340:11;5305:74;:::i;:::-;5295:84;;;4718:667;;;;;;;:::o;5390:260::-;5458:6;5466;5519:2;5507:9;5498:7;5494:23;5490:32;5487:52;;;5535:1;5532;5525:12;5487:52;5558:29;5577:9;5558:29;:::i;:::-;5548:39;;5606:38;5640:2;5629:9;5625:18;5606:38;:::i;5655:380::-;5734:1;5730:12;;;;5777;;;5798:61;;5852:4;5844:6;5840:17;5830:27;;5798:61;5905:2;5897:6;5894:14;5874:18;5871:38;5868:161;;5951:10;5946:3;5942:20;5939:1;5932:31;5986:4;5983:1;5976:15;6014:4;6011:1;6004:15;5868:161;;5655:380;;;:::o;6250:127::-;6311:10;6306:3;6302:20;6299:1;6292:31;6342:4;6339:1;6332:15;6366:4;6363:1;6356:15;6382:125;6447:9;;;6468:10;;;6465:36;;;6481:18;;:::i;7547:168::-;7620:9;;;7651;;7668:15;;;7662:22;;7648:37;7638:71;;7689:18;;:::i;8067:128::-;8134:9;;;8155:11;;;8152:37;;;8169:18;;:::i;8677:545::-;8779:2;8774:3;8771:11;8768:448;;;8815:1;8840:5;8836:2;8829:17;8885:4;8881:2;8871:19;8955:2;8943:10;8939:19;8936:1;8932:27;8926:4;8922:38;8991:4;8979:10;8976:20;8973:47;;;-1:-1:-1;9014:4:1;8973:47;9069:2;9064:3;9060:12;9057:1;9053:20;9047:4;9043:31;9033:41;;9124:82;9142:2;9135:5;9132:13;9124:82;;;9187:17;;;9168:1;9157:13;9124:82;;9398:1352;9524:3;9518:10;9551:18;9543:6;9540:30;9537:56;;;9573:18;;:::i;:::-;9602:97;9692:6;9652:38;9684:4;9678:11;9652:38;:::i;:::-;9646:4;9602:97;:::i;:::-;9754:4;;9818:2;9807:14;;9835:1;9830:663;;;;10537:1;10554:6;10551:89;;;-1:-1:-1;10606:19:1;;;10600:26;10551:89;-1:-1:-1;;9355:1:1;9351:11;;;9347:24;9343:29;9333:40;9379:1;9375:11;;;9330:57;10653:81;;9800:944;;9830:663;8624:1;8617:14;;;8661:4;8648:18;;-1:-1:-1;;9866:20:1;;;9984:236;9998:7;9995:1;9992:14;9984:236;;;10087:19;;;10081:26;10066:42;;10179:27;;;;10147:1;10135:14;;;;10014:19;;9984:236;;;9988:3;10248:6;10239:7;10236:19;10233:201;;;10309:19;;;10303:26;-1:-1:-1;;10392:1:1;10388:14;;;10404:3;10384:24;10380:37;10376:42;10361:58;10346:74;;10233:201;-1:-1:-1;;;;;10480:1:1;10464:14;;;10460:22;10447:36;;-1:-1:-1;9398:1352:1:o;11108:663::-;11388:3;11426:6;11420:13;11442:66;11501:6;11496:3;11489:4;11481:6;11477:17;11442:66;:::i;:::-;11571:13;;11530:16;;;;11593:70;11571:13;11530:16;11640:4;11628:17;;11593:70;:::i;:::-;-1:-1:-1;;;11685:20:1;;11714:22;;;11763:1;11752:13;;11108:663;-1:-1:-1;;;;11108:663:1:o;12544:489::-;-1:-1:-1;;;;;12813:15:1;;;12795:34;;12865:15;;12860:2;12845:18;;12838:43;12912:2;12897:18;;12890:34;;;12960:3;12955:2;12940:18;;12933:31;;;12738:4;;12981:46;;13007:19;;12999:6;12981:46;:::i;:::-;12973:54;12544:489;-1:-1:-1;;;;;;12544:489:1:o;13038:249::-;13107:6;13160:2;13148:9;13139:7;13135:23;13131:32;13128:52;;;13176:1;13173;13166:12;13128:52;13208:9;13202:16;13227:30;13251:5;13227:30;:::i
Swarm Source
ipfs://b848bce4e091329ece3d01f2274f3e29ad5a3cfe9a6f1116b5c94ffc7de844b6
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.