ERC-721
Overview
Max Total Supply
949 Skully Maker
Holders
555
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 Skully MakerLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SkullyMaker
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-02 */ // 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 SkullyMaker is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public maxSupply = 1000; uint256 public cost = 0.003 ether; uint256 public freeAmount = 2; uint256 public maxPerWallet = 20; bool public isRevealed = true; bool public pause = false; string private baseURL = ""; string public hiddenMetadataUrl = ""; mapping(address => uint256) public userBalance; constructor( string memory _baseMetadataUrl ) ERC721A("Skully Maker", "Skully Maker") { 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 require(msg.value >= cost * (mintAmount - (freeAmount - userBalance[msg.sender])), "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 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":"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":"_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
6103e8600a55660aa87bee538000600b556002600c556014600d55600e805461ffff1916600117905560a060405260006080908152600f9062000043908262000284565b5060408051602081019091526000815260109062000062908262000284565b503480156200007057600080fd5b50604051620020b4380380620020b4833981016040819052620000939162000350565b604080518082018252600c8082526b29b5bab6363c9026b0b5b2b960a11b6020808401829052845180860190955291845290830152906002620000d7838262000284565b506003620000e6828262000284565b5050600160005550620000f93362000110565b6001600955620001098162000162565b5062000425565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016c6200017e565b600f6200017a828262000284565b5050565b6008546001600160a01b03163314620001dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200020a57607f821691505b6020821081036200022b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027f57600081815260208120601f850160051c810160208610156200025a5750805b601f850160051c820191505b818110156200027b5782815560010162000266565b5050505b505050565b81516001600160401b03811115620002a057620002a0620001df565b620002b881620002b18454620001f5565b8462000231565b602080601f831160018114620002f05760008415620002d75750858301515b600019600386901b1c1916600185901b1785556200027b565b600085815260208120601f198616915b82811015620003215788860151825594840194600190910190840162000300565b5085821015620003405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083850312156200036457600080fd5b82516001600160401b03808211156200037c57600080fd5b818501915085601f8301126200039157600080fd5b815181811115620003a657620003a6620001df565b604051601f8201601f19908116603f01168101908382118183101715620003d157620003d1620001df565b816040528281528886848701011115620003ea57600080fd5b600093505b828410156200040e5784840186015181850187015292850192620003ef565b600086848301015280965050505050505092915050565b611c7f80620004356000396000f3fe60806040526004361061020f5760003560e01c8063715018a611610118578063a22cb465116100a0578063cb2b1c5e1161006f578063cb2b1c5e146105a9578063d5abeb01146105c9578063e268e4d3146105df578063e985e9c5146105ff578063f2fde38b1461061f57600080fd5b8063a22cb46514610536578063b88d4fde14610556578063bedb86fb14610569578063c87b56dd1461058957600080fd5b806392910eec116100e757806392910eec146104ae578063940cd05b146104ce57806395d89b41146104ee578063a0712d6814610503578063a0bcfc7f1461051657600080fd5b8063715018a61461043c5780638456cb59146104515780638ba4cc3c146104705780638da5cb5b1461049057600080fd5b806323b872dd1161019b578063453c23101161016a578063453c2310146103ac57806354214f69146103c25780636352211e146103dc5780636f8b44b0146103fc57806370a082311461041c57600080fd5b806323b872dd146103515780633ccfd60b1461036457806342842e0e1461037957806344a0d68a1461038c57600080fd5b8063081812fc116101e2578063081812fc146102bc578063095ea7b3146102f457806313faede6146103095780631638fef01461031f57806318160ddd1461033457600080fd5b80630103c92b1461021457806301ffc9a7146102545780630451a9f11461028457806306fdde031461029a575b600080fd5b34801561022057600080fd5b5061024161022f366004611714565b60116020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004611745565b61063f565b604051901515815260200161024b565b34801561029057600080fd5b50610241600c5481565b3480156102a657600080fd5b506102af610691565b60405161024b91906117b2565b3480156102c857600080fd5b506102dc6102d73660046117c5565b610723565b6040516001600160a01b03909116815260200161024b565b6103076103023660046117de565b610767565b005b34801561031557600080fd5b50610241600b5481565b34801561032b57600080fd5b506102af610807565b34801561034057600080fd5b506001546000540360001901610241565b61030761035f366004611808565b610895565b34801561037057600080fd5b50610307610a2e565b610307610387366004611808565b610aaa565b34801561039857600080fd5b506103076103a73660046117c5565b610aca565b3480156103b857600080fd5b50610241600d5481565b3480156103ce57600080fd5b50600e546102749060ff1681565b3480156103e857600080fd5b506102dc6103f73660046117c5565b610ad7565b34801561040857600080fd5b506103076104173660046117c5565b610ae2565b34801561042857600080fd5b50610241610437366004611714565b610aef565b34801561044857600080fd5b50610307610b3e565b34801561045d57600080fd5b50600e5461027490610100900460ff1681565b34801561047c57600080fd5b5061030761048b3660046117de565b610b52565b34801561049c57600080fd5b506008546001600160a01b03166102dc565b3480156104ba57600080fd5b506103076104c93660046117c5565b610bcb565b3480156104da57600080fd5b506103076104e9366004611854565b610c18565b3480156104fa57600080fd5b506102af610c33565b6103076105113660046117c5565b610c42565b34801561052257600080fd5b506103076105313660046118fb565b610e71565b34801561054257600080fd5b50610307610551366004611944565b610e85565b610307610564366004611977565b610ef1565b34801561057557600080fd5b50610307610584366004611854565b610f3b565b34801561059557600080fd5b506102af6105a43660046117c5565b610f5d565b3480156105b557600080fd5b506103076105c43660046118fb565b6110b6565b3480156105d557600080fd5b50610241600a5481565b3480156105eb57600080fd5b506103076105fa3660046117c5565b6110ca565b34801561060b57600080fd5b5061027461061a3660046119f3565b611117565b34801561062b57600080fd5b5061030761063a366004611714565b611145565b60006301ffc9a760e01b6001600160e01b03198316148061067057506380ac58cd60e01b6001600160e01b03198316145b8061068b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106a090611a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc90611a1d565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b600061072e826111bb565b61074b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077282610ad7565b9050336001600160a01b038216146107ab5761078e8133611117565b6107ab576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6010805461081490611a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461084090611a1d565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b505050505081565b60006108a0826111f0565b9050836001600160a01b0316816001600160a01b0316146108d35760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610920576109038633611117565b61092057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661094757604051633a954ecd60e21b815260040160405180910390fd5b801561095257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109e4576001840160008181526004602052604081205490036109e25760005481146109e25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a36611266565b6000610a4a6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a94576040519150601f19603f3d011682016040523d82523d6000602084013e610a99565b606091505b5050905080610aa757600080fd5b50565b610ac583838360405180602001604052806000815250610ef1565b505050565b610ad2611266565b600b55565b600061068b826111f0565b610aea611266565b600a55565b60006001600160a01b038216610b18576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b46611266565b610b5060006112c0565b565b610b5a611266565b600a5481610b6b6000546000190190565b610b759190611a6d565b1115610bbd5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610bc78282611312565b5050565b610bd3611266565b600d548110610c135760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610bb4565b600c55565b610c20611266565b600e805460ff1916911515919091179055565b6060600380546106a090611a1d565b600e54610100900460ff1615610c8f5760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610bb4565b600c543360009081526011602052604090205410610cfe5780600b54610cb59190611a80565b341015610cf95760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bb4565b610d76565b33600090815260116020526040902054600c54610d1b9190611a97565b610d259082611a97565b600b54610d329190611a80565b341015610d765760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bb4565b600a5481610d876000546000190190565b610d919190611a6d565b1115610dd45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610bb4565b600d5433600090815260116020526040902054610df2908390611a6d565b1115610e395760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610bb4565b610e433382611312565b33600090815260116020526040902054610e5e908290611a6d565b3360009081526011602052604090205550565b610e79611266565b600f610bc78282611af0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610efc848484610895565b6001600160a01b0383163b15610f3557610f188484848461132c565b610f35576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610f43611266565b600e80549115156101000261ff0019909216919091179055565b6060610f68826111bb565b610fb45760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610bb4565b600e5460ff1615156000036110555760108054610fd090611a1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffc90611a1d565b80156110495780601f1061101e57610100808354040283529160200191611049565b820191906000526020600020905b81548152906001019060200180831161102c57829003601f168201915b50505050509050919050565b600061105f611418565b511161107a576040518060200160405280600081525061068b565b611082611418565b61108b83611427565b60405160200161109c929190611bb0565b60405160208183030381529060405292915050565b919050565b6110be611266565b6010610bc78282611af0565b6110d2611266565b600c5481116111125760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610bb4565b600d55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61114d611266565b6001600160a01b0381166111b25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb4565b610aa7816112c0565b6000816001111580156111cf575060005482105b801561068b575050600090815260046020526040902054600160e01b161590565b6000818060011161124d5760005481101561124d5760008181526004602052604081205490600160e01b8216900361124b575b80600003611244575060001901600081815260046020526040902054611223565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bc78282604051806020016040528060008152506114ba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611361903390899088908890600401611bef565b6020604051808303816000875af192505050801561139c575060408051601f3d908101601f1916820190925261139991810190611c2c565b60015b6113fa573d8080156113ca576040519150601f19603f3d011682016040523d82523d6000602084013e6113cf565b606091505b5080516000036113f2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f80546106a090611a1d565b6060600061143483611527565b600101905060008167ffffffffffffffff8111156114545761145461186f565b6040519080825280601f01601f19166020018201604052801561147e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461148857509392505050565b6114c483836115ff565b6001600160a01b0383163b15610ac5576000548281035b6114ee600086838060010194508661132c565b61150b576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114db57816000541461152057600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115665772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611592576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115b057662386f26fc10000830492506010015b6305f5e10083106115c8576305f5e100830492506008015b61271083106115dc57612710830492506004015b606483106115ee576064830492506002015b600a831061068b5760010192915050565b60008054908290036116245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116d357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161169b565b50816000036116f457604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b03811681146110b157600080fd5b60006020828403121561172657600080fd5b611244826116fd565b6001600160e01b031981168114610aa757600080fd5b60006020828403121561175757600080fd5b81356112448161172f565b60005b8381101561177d578181015183820152602001611765565b50506000910152565b6000815180845261179e816020860160208601611762565b601f01601f19169290920160200192915050565b6020815260006112446020830184611786565b6000602082840312156117d757600080fd5b5035919050565b600080604083850312156117f157600080fd5b6117fa836116fd565b946020939093013593505050565b60008060006060848603121561181d57600080fd5b611826846116fd565b9250611834602085016116fd565b9150604084013590509250925092565b803580151581146110b157600080fd5b60006020828403121561186657600080fd5b61124482611844565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118a0576118a061186f565b604051601f8501601f19908116603f011681019082821181831017156118c8576118c861186f565b816040528093508581528686860111156118e157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561190d57600080fd5b813567ffffffffffffffff81111561192457600080fd5b8201601f8101841361193557600080fd5b61141084823560208401611885565b6000806040838503121561195757600080fd5b611960836116fd565b915061196e60208401611844565b90509250929050565b6000806000806080858703121561198d57600080fd5b611996856116fd565b93506119a4602086016116fd565b925060408501359150606085013567ffffffffffffffff8111156119c757600080fd5b8501601f810187136119d857600080fd5b6119e787823560208401611885565b91505092959194509250565b60008060408385031215611a0657600080fd5b611a0f836116fd565b915061196e602084016116fd565b600181811c90821680611a3157607f821691505b602082108103611a5157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068b5761068b611a57565b808202811582820484141761068b5761068b611a57565b8181038181111561068b5761068b611a57565b601f821115610ac557600081815260208120601f850160051c81016020861015611ad15750805b601f850160051c820191505b81811015610a2657828155600101611add565b815167ffffffffffffffff811115611b0a57611b0a61186f565b611b1e81611b188454611a1d565b84611aaa565b602080601f831160018114611b535760008415611b3b5750858301515b600019600386901b1c1916600185901b178555610a26565b600085815260208120601f198616915b82811015611b8257888601518255948401946001909101908401611b63565b5085821015611ba05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611bc2818460208801611762565b835190830190611bd6818360208801611762565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c2290830184611786565b9695505050505050565b600060208284031215611c3e57600080fd5b81516112448161172f56fea2646970667358221220bec250a772c9083f1c87189473dba0c8b11cfbe34ff1f1686c01c81942ee363564736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656966766a6f796e6b37717879736265767871356673376e6d346162636e6674356f783771783779757937626b76697a3375357735612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c8063715018a611610118578063a22cb465116100a0578063cb2b1c5e1161006f578063cb2b1c5e146105a9578063d5abeb01146105c9578063e268e4d3146105df578063e985e9c5146105ff578063f2fde38b1461061f57600080fd5b8063a22cb46514610536578063b88d4fde14610556578063bedb86fb14610569578063c87b56dd1461058957600080fd5b806392910eec116100e757806392910eec146104ae578063940cd05b146104ce57806395d89b41146104ee578063a0712d6814610503578063a0bcfc7f1461051657600080fd5b8063715018a61461043c5780638456cb59146104515780638ba4cc3c146104705780638da5cb5b1461049057600080fd5b806323b872dd1161019b578063453c23101161016a578063453c2310146103ac57806354214f69146103c25780636352211e146103dc5780636f8b44b0146103fc57806370a082311461041c57600080fd5b806323b872dd146103515780633ccfd60b1461036457806342842e0e1461037957806344a0d68a1461038c57600080fd5b8063081812fc116101e2578063081812fc146102bc578063095ea7b3146102f457806313faede6146103095780631638fef01461031f57806318160ddd1461033457600080fd5b80630103c92b1461021457806301ffc9a7146102545780630451a9f11461028457806306fdde031461029a575b600080fd5b34801561022057600080fd5b5061024161022f366004611714565b60116020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561026057600080fd5b5061027461026f366004611745565b61063f565b604051901515815260200161024b565b34801561029057600080fd5b50610241600c5481565b3480156102a657600080fd5b506102af610691565b60405161024b91906117b2565b3480156102c857600080fd5b506102dc6102d73660046117c5565b610723565b6040516001600160a01b03909116815260200161024b565b6103076103023660046117de565b610767565b005b34801561031557600080fd5b50610241600b5481565b34801561032b57600080fd5b506102af610807565b34801561034057600080fd5b506001546000540360001901610241565b61030761035f366004611808565b610895565b34801561037057600080fd5b50610307610a2e565b610307610387366004611808565b610aaa565b34801561039857600080fd5b506103076103a73660046117c5565b610aca565b3480156103b857600080fd5b50610241600d5481565b3480156103ce57600080fd5b50600e546102749060ff1681565b3480156103e857600080fd5b506102dc6103f73660046117c5565b610ad7565b34801561040857600080fd5b506103076104173660046117c5565b610ae2565b34801561042857600080fd5b50610241610437366004611714565b610aef565b34801561044857600080fd5b50610307610b3e565b34801561045d57600080fd5b50600e5461027490610100900460ff1681565b34801561047c57600080fd5b5061030761048b3660046117de565b610b52565b34801561049c57600080fd5b506008546001600160a01b03166102dc565b3480156104ba57600080fd5b506103076104c93660046117c5565b610bcb565b3480156104da57600080fd5b506103076104e9366004611854565b610c18565b3480156104fa57600080fd5b506102af610c33565b6103076105113660046117c5565b610c42565b34801561052257600080fd5b506103076105313660046118fb565b610e71565b34801561054257600080fd5b50610307610551366004611944565b610e85565b610307610564366004611977565b610ef1565b34801561057557600080fd5b50610307610584366004611854565b610f3b565b34801561059557600080fd5b506102af6105a43660046117c5565b610f5d565b3480156105b557600080fd5b506103076105c43660046118fb565b6110b6565b3480156105d557600080fd5b50610241600a5481565b3480156105eb57600080fd5b506103076105fa3660046117c5565b6110ca565b34801561060b57600080fd5b5061027461061a3660046119f3565b611117565b34801561062b57600080fd5b5061030761063a366004611714565b611145565b60006301ffc9a760e01b6001600160e01b03198316148061067057506380ac58cd60e01b6001600160e01b03198316145b8061068b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106a090611a1d565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc90611a1d565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b600061072e826111bb565b61074b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077282610ad7565b9050336001600160a01b038216146107ab5761078e8133611117565b6107ab576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6010805461081490611a1d565b80601f016020809104026020016040519081016040528092919081815260200182805461084090611a1d565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b505050505081565b60006108a0826111f0565b9050836001600160a01b0316816001600160a01b0316146108d35760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610920576109038633611117565b61092057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661094757604051633a954ecd60e21b815260040160405180910390fd5b801561095257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109e4576001840160008181526004602052604081205490036109e25760005481146109e25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a36611266565b6000610a4a6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a94576040519150601f19603f3d011682016040523d82523d6000602084013e610a99565b606091505b5050905080610aa757600080fd5b50565b610ac583838360405180602001604052806000815250610ef1565b505050565b610ad2611266565b600b55565b600061068b826111f0565b610aea611266565b600a55565b60006001600160a01b038216610b18576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b46611266565b610b5060006112c0565b565b610b5a611266565b600a5481610b6b6000546000190190565b610b759190611a6d565b1115610bbd5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b610bc78282611312565b5050565b610bd3611266565b600d548110610c135760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610bb4565b600c55565b610c20611266565b600e805460ff1916911515919091179055565b6060600380546106a090611a1d565b600e54610100900460ff1615610c8f5760405162461bcd60e51b8152602060048201526012602482015271151a19481cd85b19481a5cc81c185d5cd95960721b6044820152606401610bb4565b600c543360009081526011602052604090205410610cfe5780600b54610cb59190611a80565b341015610cf95760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bb4565b610d76565b33600090815260116020526040902054600c54610d1b9190611a97565b610d259082611a97565b600b54610d329190611a80565b341015610d765760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bb4565b600a5481610d876000546000190190565b610d919190611a6d565b1115610dd45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610bb4565b600d5433600090815260116020526040902054610df2908390611a6d565b1115610e395760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610bb4565b610e433382611312565b33600090815260116020526040902054610e5e908290611a6d565b3360009081526011602052604090205550565b610e79611266565b600f610bc78282611af0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610efc848484610895565b6001600160a01b0383163b15610f3557610f188484848461132c565b610f35576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610f43611266565b600e80549115156101000261ff0019909216919091179055565b6060610f68826111bb565b610fb45760405162461bcd60e51b815260206004820152601860248201527f5468617420746f6b656e20646f65736e277420657869737400000000000000006044820152606401610bb4565b600e5460ff1615156000036110555760108054610fd090611a1d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ffc90611a1d565b80156110495780601f1061101e57610100808354040283529160200191611049565b820191906000526020600020905b81548152906001019060200180831161102c57829003601f168201915b50505050509050919050565b600061105f611418565b511161107a576040518060200160405280600081525061068b565b611082611418565b61108b83611427565b60405160200161109c929190611bb0565b60405160208183030381529060405292915050565b919050565b6110be611266565b6010610bc78282611af0565b6110d2611266565b600c5481116111125760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420706f737369626c6560a01b6044820152606401610bb4565b600d55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61114d611266565b6001600160a01b0381166111b25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bb4565b610aa7816112c0565b6000816001111580156111cf575060005482105b801561068b575050600090815260046020526040902054600160e01b161590565b6000818060011161124d5760005481101561124d5760008181526004602052604081205490600160e01b8216900361124b575b80600003611244575060001901600081815260046020526040902054611223565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bb4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610bc78282604051806020016040528060008152506114ba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611361903390899088908890600401611bef565b6020604051808303816000875af192505050801561139c575060408051601f3d908101601f1916820190925261139991810190611c2c565b60015b6113fa573d8080156113ca576040519150601f19603f3d011682016040523d82523d6000602084013e6113cf565b606091505b5080516000036113f2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f80546106a090611a1d565b6060600061143483611527565b600101905060008167ffffffffffffffff8111156114545761145461186f565b6040519080825280601f01601f19166020018201604052801561147e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461148857509392505050565b6114c483836115ff565b6001600160a01b0383163b15610ac5576000548281035b6114ee600086838060010194508661132c565b61150b576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114db57816000541461152057600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115665772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611592576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115b057662386f26fc10000830492506010015b6305f5e10083106115c8576305f5e100830492506008015b61271083106115dc57612710830492506004015b606483106115ee576064830492506002015b600a831061068b5760010192915050565b60008054908290036116245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116d357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161169b565b50816000036116f457604051622e076360e81b815260040160405180910390fd5b60005550505050565b80356001600160a01b03811681146110b157600080fd5b60006020828403121561172657600080fd5b611244826116fd565b6001600160e01b031981168114610aa757600080fd5b60006020828403121561175757600080fd5b81356112448161172f565b60005b8381101561177d578181015183820152602001611765565b50506000910152565b6000815180845261179e816020860160208601611762565b601f01601f19169290920160200192915050565b6020815260006112446020830184611786565b6000602082840312156117d757600080fd5b5035919050565b600080604083850312156117f157600080fd5b6117fa836116fd565b946020939093013593505050565b60008060006060848603121561181d57600080fd5b611826846116fd565b9250611834602085016116fd565b9150604084013590509250925092565b803580151581146110b157600080fd5b60006020828403121561186657600080fd5b61124482611844565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156118a0576118a061186f565b604051601f8501601f19908116603f011681019082821181831017156118c8576118c861186f565b816040528093508581528686860111156118e157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561190d57600080fd5b813567ffffffffffffffff81111561192457600080fd5b8201601f8101841361193557600080fd5b61141084823560208401611885565b6000806040838503121561195757600080fd5b611960836116fd565b915061196e60208401611844565b90509250929050565b6000806000806080858703121561198d57600080fd5b611996856116fd565b93506119a4602086016116fd565b925060408501359150606085013567ffffffffffffffff8111156119c757600080fd5b8501601f810187136119d857600080fd5b6119e787823560208401611885565b91505092959194509250565b60008060408385031215611a0657600080fd5b611a0f836116fd565b915061196e602084016116fd565b600181811c90821680611a3157607f821691505b602082108103611a5157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068b5761068b611a57565b808202811582820484141761068b5761068b611a57565b8181038181111561068b5761068b611a57565b601f821115610ac557600081815260208120601f850160051c81016020861015611ad15750805b601f850160051c820191505b81811015610a2657828155600101611add565b815167ffffffffffffffff811115611b0a57611b0a61186f565b611b1e81611b188454611a1d565b84611aaa565b602080601f831160018114611b535760008415611b3b5750858301515b600019600386901b1c1916600185901b178555610a26565b600085815260208120601f198616915b82811015611b8257888601518255948401946001909101908401611b63565b5085821015611ba05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611bc2818460208801611762565b835190830190611bd6818360208801611762565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c2290830184611786565b9695505050505050565b600060208284031215611c3e57600080fd5b81516112448161172f56fea2646970667358221220bec250a772c9083f1c87189473dba0c8b11cfbe34ff1f1686c01c81942ee363564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656966766a6f796e6b37717879736265767871356673376e6d346162636e6674356f783771783779757937626b76697a3375357735612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseMetadataUrl (string): ipfs://bafybeifvjoynk7qxysbevxq5fs7nm4abcnft5ox7qx7yuy7bkviz3u5w5a/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f6261667962656966766a6f796e6b3771787973626576787135
Arg [3] : 6673376e6d346162636e6674356f783771783779757937626b76697a33753577
Arg [4] : 35612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
73267:3135:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73662:46;;;;;;;;;;-1:-1:-1;73662:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;529:25:1;;;517:2;502:18;73662: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;73439: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;:::-;;73399:33;;;;;;;;;;;;;;;;73617:36;;;;;;;;;;;;;:::i;36794:323::-;;;;;;;;;;-1:-1:-1;75224:1:0;37068:12;36855:7;37052:13;:28;-1:-1:-1;;37052:46:0;36794:323;;51173:2825;;;;;;:::i;:::-;;:::i;76225:174::-;;;;;;;;;;;;;:::i;54094:193::-;;;;;;:::i;:::-;;:::i;75743:76::-;;;;;;;;;;-1:-1:-1;75743:76:0;;;;;:::i;:::-;;:::i;73475:32::-;;;;;;;;;;;;;;;;73516:29;;;;;;;;;;-1:-1:-1;73516:29:0;;;;;;;;42436:152;;;;;;;;;;-1:-1:-1;42436:152:0;;;;;:::i;:::-;;:::i;75237:97::-;;;;;;;;;;-1:-1:-1;75237:97:0;;;;;:::i;:::-;;:::i;37978:233::-;;;;;;;;;;-1:-1:-1;37978:233:0;;;;;:::i;:::-;;:::i;5714:103::-;;;;;;;;;;;;;:::i;73549:25::-;;;;;;;;;;-1:-1:-1;73549:25:0;;;;;;;;;;;74700:202;;;;;;;;;;-1:-1:-1;74700:202:0;;;;;:::i;:::-;;:::i;5066:87::-;;;;;;;;;;-1:-1:-1;5139:6:0;;-1:-1:-1;;;;;5139:6:0;5066:87;;75903:153;;;;;;;;;;-1:-1:-1;75903:153:0;;;;;:::i;:::-;;:::i;75050:80::-;;;;;;;;;;-1:-1:-1;75050:80:0;;;;;:::i;:::-;;:::i;41219:104::-;;;;;;;;;;;;;:::i;74064:628::-;;;;;;:::i;:::-;;:::i;73964:92::-;;;;;;;;;;-1:-1:-1;73964:92:0;;;;;:::i;:::-;;:::i;48092:234::-;;;;;;;;;;-1:-1:-1;48092:234:0;;;;;:::i;:::-;;:::i;54885:407::-;;;;;;:::i;:::-;;:::i;75824:71::-;;;;;;;;;;-1:-1:-1;75824:71:0;;;;;:::i;:::-;;:::i;75339:399::-;;;;;;;;;;-1:-1:-1;75339:399:0;;;;;:::i;:::-;;:::i;74910:132::-;;;;;;;;;;-1:-1:-1;74910:132:0;;;;;:::i;:::-;;:::i;73361:31::-;;;;;;;;;;;;;;;;76064:156;;;;;;;;;;-1:-1:-1;76064: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;73617: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;76225:174::-;4952:13;:11;:13::i;:::-;76270:12:::1;76296:7;5139:6:::0;;-1:-1:-1;;;;;5139:6:0;;5066:87;76296:7:::1;-1:-1:-1::0;;;;;76288:21:0::1;76331;76288:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76269:98;;;76386:7;76378:16;;;::::0;::::1;;76264:135;76225:174::o:0;54094:193::-;54240:39;54257:4;54263:2;54267:7;54240:39;;;;;;;;;;;;:16;:39::i;:::-;54094:193;;;:::o;75743:76::-;4952:13;:11;:13::i;:::-;75799:4:::1;:15:::0;75743:76::o;42436:152::-;42508:7;42551:27;42570:7;42551:18;:27::i;75237:97::-;4952:13;:11;:13::i;:::-;75305:9:::1;:24:::0;75237: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;74700:202::-;4952:13;:11;:13::i;:::-;74817:9:::1;;74803:10;74786:14;37270:7:::0;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74786:14:::1;:27;;;;:::i;:::-;:40;;74773:84;;;::::0;-1:-1:-1;;;74773:84:0;;6714:2:1;74773: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;;74773:84:0::1;;;;;;;;;74862:25;74872:2;74876:10;74862:9;:25::i;:::-;74700:202:::0;;:::o;75903:153::-;4952:13;:11;:13::i;:::-;75988:12:::1;;75978:7;:22;75970:47;;;::::0;-1:-1:-1;;;75970:47:0;;7061:2:1;75970: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;;75970:47:0::1;6859:336:1::0;75970:47:0::1;76028:10;:20:::0;75903:153::o;75050:80::-;4952:13;:11;:13::i;:::-;75106:10:::1;:19:::0;;-1:-1:-1;;75106:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;75050:80::o;41219:104::-;41275:13;41308:7;41301:14;;;;;:::i;74064:628::-;74129:5;;;;;;;74128:6;74120:37;;;;-1:-1:-1;;;74120:37:0;;7402:2:1;74120:37:0;;;7384:21:1;7441:2;7421:18;;;7414:30;-1:-1:-1;;;7460:18:1;;;7453:48;7518:18;;74120:37:0;7200:342:1;74120:37:0;74198:10;;74183;74171:23;;;;:11;:23;;;;;;:37;74168:223;;74238:10;74231:4;;:17;;;;:::i;:::-;74218:9;:30;;74210:61;;;;-1:-1:-1;;;74210:61:0;;7922:2:1;74210:61:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74210:61:0;7720:342:1;74210:61:0;74168:223;;;74355:10;74343:23;;;;:11;:23;;;;;;74330:10;;:36;;74343:23;74330:36;:::i;:::-;74316:51;;:10;:51;:::i;:::-;74308:4;;:60;;;;:::i;:::-;74295:9;:73;;74287:104;;;;-1:-1:-1;;;74287:104:0;;7922:2:1;74287:104:0;;;7904:21:1;7961:2;7941:18;;;7934:30;-1:-1:-1;;;7980:18:1;;;7973:48;8038:18;;74287:104:0;7720:342:1;74287:104:0;74441:9;;74427:10;74410:14;37270:7;37461:13;-1:-1:-1;;37461:31:0;;37215:296;74410:14;:27;;;;:::i;:::-;:40;;74402:70;;;;-1:-1:-1;;;74402:70:0;;6714:2:1;74402:70:0;;;6696:21:1;6753:2;6733:18;;;6726:30;-1:-1:-1;;;6772:18:1;;;6765:48;6830:18;;74402:70:0;6512:342:1;74402:70:0;74531:12;;74503:10;74491:23;;;;:11;:23;;;;;;:36;;74517:10;;74491:36;:::i;:::-;:52;;74483:87;;;;-1:-1:-1;;;74483:87:0;;8402:2:1;74483:87:0;;;8384:21:1;8441:2;8421:18;;;8414:30;-1:-1:-1;;;8460:18:1;;;8453:52;8522:18;;74483:87:0;8200:346:1;74483:87:0;74581:33;74591:10;74603;74581:9;:33::i;:::-;74663:10;74651:23;;;;:11;:23;;;;;;:36;;74677:10;;74651:36;:::i;:::-;74637:10;74625:23;;;;:11;:23;;;;;:62;-1:-1:-1;74064:628:0:o;73964:92::-;4952:13;:11;:13::i;:::-;74033:7:::1;:18;74043:8:::0;74033: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;75824:71::-;4952:13;:11;:13::i;:::-;75876:5:::1;:14:::0;;;::::1;;;;-1:-1:-1::0;;75876:14:0;;::::1;::::0;;;::::1;::::0;;75824:71::o;75339:399::-;75416:13;75452:16;75460:7;75452;:16::i;:::-;75444:53;;;;-1:-1:-1;;;75444:53:0;;10957:2:1;75444:53:0;;;10939:21:1;10996:2;10976:18;;;10969:30;11035:26;11015:18;;;11008:54;11079:18;;75444:53:0;10755:348:1;75444:53:0;75511:10;;;;:19;;:10;:19;75508:225;;75554:17;75547:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75339:399;;;:::o;75508:225::-;75632:1;75611:10;:8;:10::i;:::-;75605:24;:28;:128;;;;;;;;;;;;;;;;;75674:10;:8;:10::i;:::-;75686:18;:7;:16;:18::i;:::-;75657:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75598:135;75339:399;-1:-1:-1;;75339:399:0:o;75508:225::-;75339:399;;;:::o;74910:132::-;4952:13;:11;:13::i;:::-;74999:17:::1;:38;75019:18:::0;74999:17;:38:::1;:::i;76064:156::-:0;4952:13;:11;:13::i;:::-;76152:10:::1;;76142:7;:20;76134:45;;;::::0;-1:-1:-1;;;76134:45:0;;7061:2:1;76134: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;;76134:45:0::1;6859:336:1::0;76134:45:0::1;76190:12;:22:::0;76064: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;75224: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;;75224: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;73865:91::-;73917:13;73944:7;73937: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://bec250a772c9083f1c87189473dba0c8b11cfbe34ff1f1686c01c81942ee3635
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.