Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
222 SC
Holders
63
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SuckyShitCoin
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-12 */ // SERIOUSLY SUCKY SHIT COIN - A REAL SHITCOIN, NOT ANOTHER BULLSHIT ORDINAL OR UNREVEALED RUG. REAL VALUE. // SPDX-License-Identifier: MIT // 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/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: 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: @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: contracts/SSC.sol // SERIOUSLY SUCKY SHIT COIN - A REAL SHITCOIN, NOT ANOTHER BULLSHIT ORDINAL OR UNREVEALED RUG. REAL VALUE. pragma solidity >=0.8.13 <0.9.0; contract SuckyShitCoin is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public _maxSupply = 1111; uint256 public maxMintAmountPerWallet = 20; uint256 public maxMintAmountPerTx = 20; string baseURL = ""; string ExtensionURL = ".json"; uint256 _initalPrice = 0 ether; uint256 public costOfNFT = 0.001 ether; uint256 public numberOfFreeNFTs = 1; uint256 currentFreeSupply = 0; uint256 freeSupplyLimit = 666; string HiddenURL; bool revealed = true; bool paused = true; error ContractPaused(); error MaxMintWalletExceeded(); error MaxSupply(); error InvalidMintAmount(); error InsufficientFund(); error NoSmartContract(); error TokenNotExisting(); constructor(string memory _initBaseURI) ERC721A("Sucky Shit Coins", "SC") { baseURL = _initBaseURI; } // ================== Mint Function ======================= modifier mintCompliance(uint256 _mintAmount) { if (msg.sender != tx.origin) revert NoSmartContract(); if (totalSupply() + _mintAmount > _maxSupply) revert MaxSupply(); if (_mintAmount > maxMintAmountPerTx) revert InvalidMintAmount(); if(paused) revert ContractPaused(); _; } modifier mintPriceCompliance(uint256 _mintAmount) { if(balanceOf(msg.sender) + _mintAmount > maxMintAmountPerWallet) revert MaxMintWalletExceeded(); if (_mintAmount < 0 || _mintAmount > maxMintAmountPerWallet) revert InvalidMintAmount(); if (msg.value < checkCost(_mintAmount)) revert InsufficientFund(); _; } /// @notice compliance of minting /// @dev user (msg.sender) mint /// @param _mintAmount the amount of tokens to mint function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount){ currentFreeSupply = currentFreeSupply + checkFreemint(_mintAmount); _safeMint(msg.sender, _mintAmount); } /// @dev user (msg.sender) mint /// @param _mintAmount the amount of tokens to mint /// @return value from number to mint function checkCost(uint256 _mintAmount) public view returns (uint256) { uint256 totalMints = _mintAmount + balanceOf(msg.sender); if ((totalMints <= numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { return _initalPrice; } else if ((balanceOf(msg.sender) == 0) && (totalMints > numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { uint256 total = costOfNFT * (_mintAmount - numberOfFreeNFTs); return total; } else { uint256 total2 = costOfNFT * _mintAmount; return total2; } } function checkFreemint(uint256 _mintAmount) public view returns (uint256) { uint256 totalMints = _mintAmount + balanceOf(msg.sender); if ((totalMints <= numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { return totalMints; } else if ((balanceOf(msg.sender) == 0) && (totalMints > numberOfFreeNFTs) && (currentFreeSupply < freeSupplyLimit)) { return numberOfFreeNFTs; } else { return 0; } } function changeFreeSupplyLimit(uint256 _newSupply)public onlyOwner { freeSupplyLimit = _newSupply; } /// @notice airdrop function to airdrop same amount of tokens to addresses /// @dev only owner function /// @param accounts array of addresses /// @param amount the amount of tokens to airdrop users function scmint(address[] memory accounts, uint256 amount)public onlyOwner { for(uint256 i = 0; i < accounts.length; i++){ _safeMint(accounts[i], amount); } } // =================== Orange Functions (Owner Only) =============== /// @dev pause/unpause minting function pause() public onlyOwner { paused = !paused; } /// @dev set URI /// @param uri new URI function setbaseURL(string memory uri) public onlyOwner{ baseURL = uri; } /// @dev extension URI like 'json' function setExtensionURL(string memory uri) public onlyOwner{ ExtensionURL = uri; } /// @dev set new cost of tokenId in WEI /// @param _cost new price in wei function setCostPrice(uint256 _cost) public onlyOwner{ costOfNFT = _cost; } /// @dev only owner /// @param supply new max supply function setSupply(uint256 supply) public onlyOwner{ _maxSupply = supply; } /// @dev only owner /// @param perTx new max mint per transaction function setMaxMintAmountPerTx(uint256 perTx) public onlyOwner{ maxMintAmountPerTx = perTx; } /// @dev only owner /// @param perWallet new max mint per wallet function setMaxMintAmountPerWallet(uint256 perWallet) public onlyOwner{ maxMintAmountPerWallet = perWallet; } /// @dev only owner /// @param perWallet set free number of nft per wallet function setnumberOfFreeNFTs(uint256 perWallet) public onlyOwner{ numberOfFreeNFTs = perWallet; } // ================================ Withdraw Function ==================== /// @notice withdraw ether from contract. /// @dev only owner function function withdraw() public onlyOwner nonReentrant{ (bool owner, ) = payable(owner()).call{value: address(this).balance}(''); require(owner); } // =================== Blue Functions (View Only) ==================== /// @dev return uri of token ID /// @param tokenId token ID to find uri for ///@return value for 'tokenId uri' function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { if (!_exists(tokenId)) revert TokenNotExisting(); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ExtensionURL)) : ''; } /// @dev tokenId to start (1) function _startTokenId() internal view virtual override returns (uint256) { return 1; } ///@dev maxSupply of token /// @return max supply function _baseURI() internal view virtual override returns (string memory) { return baseURL; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[],"name":"InsufficientFund","type":"error"},{"inputs":[],"name":"InvalidMintAmount","type":"error"},{"inputs":[],"name":"MaxMintWalletExceeded","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoSmartContract","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TokenNotExisting","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"changeFreeSupplyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"checkCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"checkFreemint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costOfNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","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":"numberOfFreeNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"scmint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCostPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setExtensionURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perWallet","type":"uint256"}],"name":"setMaxMintAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setbaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perWallet","type":"uint256"}],"name":"setnumberOfFreeNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610457600a556014600b819055600c5560a06040819052600060808190526200002b91600d91620001b3565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005a91600e91620001b3565b506000600f81905566038d7ea4c68000601055600160115560125561029a6013556015805461ffff19166101011790553480156200009757600080fd5b5060405162001fae38038062001fae833981016040819052620000ba916200026f565b6040518060400160405280601081526020016f5375636b79205368697420436f696e7360801b81525060405180604001604052806002815260200161534360f01b815250816002908051906020019062000116929190620001b3565b5080516200012c906003906020840190620001b3565b50506001600055506200013f3362000161565b600160095580516200015990600d906020840190620001b3565b505062000387565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c1906200034b565b90600052602060002090601f016020900481019282620001e5576000855562000230565b82601f106200020057805160ff191683800117855562000230565b8280016001018555821562000230579182015b828111156200023057825182559160200191906001019062000213565b506200023e92915062000242565b5090565b5b808211156200023e576000815560010162000243565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200028357600080fd5b82516001600160401b03808211156200029b57600080fd5b818501915085601f830112620002b057600080fd5b815181811115620002c557620002c562000259565b604051601f8201601f19908116603f01168101908382118183101715620002f057620002f062000259565b8160405282815288868487010111156200030957600080fd5b600093505b828410156200032d57848401860151818501870152928501926200030e565b828411156200033f5760008684830101525b98975050505050505050565b600181811c908216806200036057607f821691505b6020821081036200038157634e487b7160e01b600052602260045260246000fd5b50919050565b611c1780620003976000396000f3fe60806040526004361061020f5760003560e01c80638456cb5911610118578063b245ddf9116100a0578063c87b56dd1161006f578063c87b56dd14610599578063e098ff73146105b9578063e2edb001146105cf578063e985e9c5146105ef578063f2fde38b1461063857600080fd5b8063b245ddf914610530578063b88d4fde14610550578063bc951b9114610563578063c32bd8471461057957600080fd5b806395d89b41116100e757806395d89b41146104b2578063a0712d68146104c7578063a22cb465146104da578063b071401b146104fa578063b0fe64141461051a57600080fd5b80638456cb59146104495780638da5cb5b1461045e57806393e90b231461047c57806394354fd01461049c57600080fd5b80633ccfd60b1161019b5780636352211e1161016a5780636352211e146103b4578063676f2602146103d457806370a08231146103f4578063715018a614610414578063766b7d091461042957600080fd5b80633ccfd60b1461034c57806342842e0e146103615780634d534a7d14610374578063626ab3b81461039457600080fd5b806311b4a832116101e257806311b4a832146102b857806318160ddd146102e657806322f4596f1461030357806323b872dd146103195780633b4c4b251461032c57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611639565b610658565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106aa565b60405161024091906116ae565b34801561027757600080fd5b5061028b6102863660046116c1565b61073c565b6040516001600160a01b039091168152602001610240565b6102b66102b13660046116f6565b610780565b005b3480156102c457600080fd5b506102d86102d33660046116c1565b610820565b604051908152602001610240565b3480156102f257600080fd5b5060015460005403600019016102d8565b34801561030f57600080fd5b506102d8600a5481565b6102b6610327366004611720565b6108c2565b34801561033857600080fd5b506102b66103473660046116c1565b610a5a565b34801561035857600080fd5b506102b6610a67565b6102b661036f366004611720565b610af5565b34801561038057600080fd5b506102b661038f3660046117fb565b610b15565b3480156103a057600080fd5b506102b66103af3660046117fb565b610b34565b3480156103c057600080fd5b5061028b6103cf3660046116c1565b610b4f565b3480156103e057600080fd5b506102b66103ef3660046116c1565b610b5a565b34801561040057600080fd5b506102d861040f366004611844565b610b67565b34801561042057600080fd5b506102b6610bb6565b34801561043557600080fd5b506102b66104443660046116c1565b610bc8565b34801561045557600080fd5b506102b6610bd5565b34801561046a57600080fd5b506008546001600160a01b031661028b565b34801561048857600080fd5b506102b66104973660046116c1565b610bfa565b3480156104a857600080fd5b506102d8600c5481565b3480156104be57600080fd5b5061025e610c07565b6102b66104d53660046116c1565b610c16565b3480156104e657600080fd5b506102b66104f536600461185f565b610d63565b34801561050657600080fd5b506102b66105153660046116c1565b610dcf565b34801561052657600080fd5b506102d860115481565b34801561053c57600080fd5b506102b661054b3660046116c1565b610ddc565b6102b661055e36600461189b565b610de9565b34801561056f57600080fd5b506102d8600b5481565b34801561058557600080fd5b506102b6610594366004611917565b610e33565b3480156105a557600080fd5b5061025e6105b43660046116c1565b610e7c565b3480156105c557600080fd5b506102d860105481565b3480156105db57600080fd5b506102d86105ea3660046116c1565b610f03565b3480156105fb57600080fd5b5061023461060a3660046119ca565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561064457600080fd5b506102b6610653366004611844565b610f79565b60006301ffc9a760e01b6001600160e01b03198316148061068957506380ac58cd60e01b6001600160e01b03198316145b806106a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b9906119fd565b80601f01602080910402602001604051908101604052809291908181526020018280546106e5906119fd565b80156107325780601f1061070757610100808354040283529160200191610732565b820191906000526020600020905b81548152906001019060200180831161071557829003601f168201915b5050505050905090565b600061074782610ff7565b610764576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078b82610b4f565b9050336001600160a01b038216146107c4576107a7813361060a565b6107c4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60008061082c33610b67565b6108369084611a47565b9050601154811115801561084d5750601354601254105b1561085c575050600f54919050565b61086533610b67565b158015610873575060115481115b80156108825750601354601254105b156108ac576000601154846108979190611a5f565b6010546108a49190611a76565b949350505050565b6000836010546108a49190611a76565b50919050565b60006108cd8261102c565b9050836001600160a01b0316816001600160a01b0316146109005760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761094d57610930863361060a565b61094d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661097457604051633a954ecd60e21b815260040160405180910390fd5b801561097f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a1157600184016000818152600460205260408120549003610a0f576000548114610a0f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a6261109b565b600a55565b610a6f61109b565b610a776110f5565b6000610a8b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ad5576040519150601f19603f3d011682016040523d82523d6000602084013e610ada565b606091505b5050905080610ae857600080fd5b50610af36001600955565b565b610b1083838360405180602001604052806000815250610de9565b505050565b610b1d61109b565b8051610b3090600e90602084019061158a565b5050565b610b3c61109b565b8051610b3090600d90602084019061158a565b60006106a48261102c565b610b6261109b565b601055565b60006001600160a01b038216610b90576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbe61109b565b610af3600061114e565b610bd061109b565b600b55565b610bdd61109b565b6015805461ff001981166101009182900460ff1615909102179055565b610c0261109b565b601155565b6060600380546106b9906119fd565b80333214610c37576040516325780b4f60e11b815260040160405180910390fd5b600a546001546000548391900360001901610c529190611a47565b1115610c7157604051632cdb04a160e21b815260040160405180910390fd5b600c54811115610c945760405163199f5a0360e31b815260040160405180910390fd5b601554610100900460ff1615610cbd5760405163ab35696f60e01b815260040160405180910390fd5b81600b5481610ccb33610b67565b610cd59190611a47565b1115610cf457604051636a3eaa7b60e01b815260040160405180910390fd5b600b54811115610d175760405163199f5a0360e31b815260040160405180910390fd5b610d2081610820565b341015610d4057604051636a259e3160e11b815260040160405180910390fd5b610d4983610f03565b601254610d569190611a47565b601255610b1033846111a0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dd761109b565b600c55565b610de461109b565b601355565b610df48484846108c2565b6001600160a01b0383163b15610e2d57610e10848484846111ba565b610e2d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e3b61109b565b60005b8251811015610b1057610e6a838281518110610e5c57610e5c611a95565b6020026020010151836111a0565b80610e7481611aab565b915050610e3e565b6060610e8782610ff7565b610ea4576040516305f3556b60e31b815260040160405180910390fd5b6000610eae6112a5565b90506000815111610ece5760405180602001604052806000815250610efc565b80610ed8846112b4565b600e604051602001610eec93929190611ac4565b6040516020818303038152906040525b9392505050565b600080610f0f33610b67565b610f199084611a47565b90506011548111158015610f305750601354601254105b15610f3b5792915050565b610f4433610b67565b158015610f52575060115481115b8015610f615750601354601254105b15610f70575050601154919050565b50600092915050565b610f8161109b565b6001600160a01b038116610feb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610ff48161114e565b50565b60008160011115801561100b575060005482105b80156106a4575050600090815260046020526040902054600160e01b161590565b60008180600111611082576000548110156110825760008181526004602052604081205490600160e01b82169003611080575b80600003610efc57506000190160008181526004602052604090205461105f565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610af35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610fe2565b6002600954036111475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610fe2565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b30828260405180602001604052806000815250611347565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111ef903390899088908890600401611b87565b6020604051808303816000875af192505050801561122a575060408051601f3d908101601f1916820190925261122791810190611bc4565b60015b611288573d808015611258576040519150601f19603f3d011682016040523d82523d6000602084013e61125d565b606091505b508051600003611280576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106b9906119fd565b606060006112c1836113b4565b600101905060008167ffffffffffffffff8111156112e1576112e161175c565b6040519080825280601f01601f19166020018201604052801561130b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461131557509392505050565b611351838361148c565b6001600160a01b0383163b15610b10576000548281035b61137b60008683806001019450866111ba565b611398576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113685781600054146113ad57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106113f35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061141f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061143d57662386f26fc10000830492506010015b6305f5e1008310611455576305f5e100830492506008015b612710831061146957612710830492506004015b6064831061147b576064830492506002015b600a83106106a45760010192915050565b60008054908290036114b15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461156057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611528565b508160000361158157604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611596906119fd565b90600052602060002090601f0160209004810192826115b857600085556115fe565b82601f106115d157805160ff19168380011785556115fe565b828001600101855582156115fe579182015b828111156115fe5782518255916020019190600101906115e3565b5061160a92915061160e565b5090565b5b8082111561160a576000815560010161160f565b6001600160e01b031981168114610ff457600080fd5b60006020828403121561164b57600080fd5b8135610efc81611623565b60005b83811015611671578181015183820152602001611659565b83811115610e2d5750506000910152565b6000815180845261169a816020860160208601611656565b601f01601f19169290920160200192915050565b602081526000610efc6020830184611682565b6000602082840312156116d357600080fd5b5035919050565b80356001600160a01b03811681146116f157600080fd5b919050565b6000806040838503121561170957600080fd5b611712836116da565b946020939093013593505050565b60008060006060848603121561173557600080fd5b61173e846116da565b925061174c602085016116da565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561179b5761179b61175c565b604052919050565b600067ffffffffffffffff8311156117bd576117bd61175c565b6117d0601f8401601f1916602001611772565b90508281528383830111156117e457600080fd5b828260208301376000602084830101529392505050565b60006020828403121561180d57600080fd5b813567ffffffffffffffff81111561182457600080fd5b8201601f8101841361183557600080fd5b6108a4848235602084016117a3565b60006020828403121561185657600080fd5b610efc826116da565b6000806040838503121561187257600080fd5b61187b836116da565b91506020830135801515811461189057600080fd5b809150509250929050565b600080600080608085870312156118b157600080fd5b6118ba856116da565b93506118c8602086016116da565b925060408501359150606085013567ffffffffffffffff8111156118eb57600080fd5b8501601f810187136118fc57600080fd5b61190b878235602084016117a3565b91505092959194509250565b6000806040838503121561192a57600080fd5b823567ffffffffffffffff8082111561194257600080fd5b818501915085601f83011261195657600080fd5b813560208282111561196a5761196a61175c565b8160051b925061197b818401611772565b828152928401810192818101908985111561199557600080fd5b948201945b848610156119ba576119ab866116da565b8252948201949082019061199a565b9997909101359750505050505050565b600080604083850312156119dd57600080fd5b6119e6836116da565b91506119f4602084016116da565b90509250929050565b600181811c90821680611a1157607f821691505b6020821081036108bc57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611a5a57611a5a611a31565b500190565b600082821015611a7157611a71611a31565b500390565b6000816000190483118215151615611a9057611a90611a31565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201611abd57611abd611a31565b5060010190565b600084516020611ad78285838a01611656565b855191840191611aea8184848a01611656565b8554920191600090600181811c9080831680611b0757607f831692505b8583108103611b2457634e487b7160e01b85526022600452602485fd5b808015611b385760018114611b4957611b76565b60ff19851688528388019550611b76565b60008b81526020902060005b85811015611b6e5781548a820152908401908801611b55565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bba90830184611682565b9695505050505050565b600060208284031215611bd657600080fd5b8151610efc8161162356fea26469706673582212207f267d7ec0ca386d427f4d3365d485212b110ea4652f67d416eaeabe8c1a1a5164736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534735534e71614e5473633455784e79786977477256685637313831424c78443947764d7764754c7a55346e2f00000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80638456cb5911610118578063b245ddf9116100a0578063c87b56dd1161006f578063c87b56dd14610599578063e098ff73146105b9578063e2edb001146105cf578063e985e9c5146105ef578063f2fde38b1461063857600080fd5b8063b245ddf914610530578063b88d4fde14610550578063bc951b9114610563578063c32bd8471461057957600080fd5b806395d89b41116100e757806395d89b41146104b2578063a0712d68146104c7578063a22cb465146104da578063b071401b146104fa578063b0fe64141461051a57600080fd5b80638456cb59146104495780638da5cb5b1461045e57806393e90b231461047c57806394354fd01461049c57600080fd5b80633ccfd60b1161019b5780636352211e1161016a5780636352211e146103b4578063676f2602146103d457806370a08231146103f4578063715018a614610414578063766b7d091461042957600080fd5b80633ccfd60b1461034c57806342842e0e146103615780634d534a7d14610374578063626ab3b81461039457600080fd5b806311b4a832116101e257806311b4a832146102b857806318160ddd146102e657806322f4596f1461030357806323b872dd146103195780633b4c4b251461032c57600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611639565b610658565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106aa565b60405161024091906116ae565b34801561027757600080fd5b5061028b6102863660046116c1565b61073c565b6040516001600160a01b039091168152602001610240565b6102b66102b13660046116f6565b610780565b005b3480156102c457600080fd5b506102d86102d33660046116c1565b610820565b604051908152602001610240565b3480156102f257600080fd5b5060015460005403600019016102d8565b34801561030f57600080fd5b506102d8600a5481565b6102b6610327366004611720565b6108c2565b34801561033857600080fd5b506102b66103473660046116c1565b610a5a565b34801561035857600080fd5b506102b6610a67565b6102b661036f366004611720565b610af5565b34801561038057600080fd5b506102b661038f3660046117fb565b610b15565b3480156103a057600080fd5b506102b66103af3660046117fb565b610b34565b3480156103c057600080fd5b5061028b6103cf3660046116c1565b610b4f565b3480156103e057600080fd5b506102b66103ef3660046116c1565b610b5a565b34801561040057600080fd5b506102d861040f366004611844565b610b67565b34801561042057600080fd5b506102b6610bb6565b34801561043557600080fd5b506102b66104443660046116c1565b610bc8565b34801561045557600080fd5b506102b6610bd5565b34801561046a57600080fd5b506008546001600160a01b031661028b565b34801561048857600080fd5b506102b66104973660046116c1565b610bfa565b3480156104a857600080fd5b506102d8600c5481565b3480156104be57600080fd5b5061025e610c07565b6102b66104d53660046116c1565b610c16565b3480156104e657600080fd5b506102b66104f536600461185f565b610d63565b34801561050657600080fd5b506102b66105153660046116c1565b610dcf565b34801561052657600080fd5b506102d860115481565b34801561053c57600080fd5b506102b661054b3660046116c1565b610ddc565b6102b661055e36600461189b565b610de9565b34801561056f57600080fd5b506102d8600b5481565b34801561058557600080fd5b506102b6610594366004611917565b610e33565b3480156105a557600080fd5b5061025e6105b43660046116c1565b610e7c565b3480156105c557600080fd5b506102d860105481565b3480156105db57600080fd5b506102d86105ea3660046116c1565b610f03565b3480156105fb57600080fd5b5061023461060a3660046119ca565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561064457600080fd5b506102b6610653366004611844565b610f79565b60006301ffc9a760e01b6001600160e01b03198316148061068957506380ac58cd60e01b6001600160e01b03198316145b806106a45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b9906119fd565b80601f01602080910402602001604051908101604052809291908181526020018280546106e5906119fd565b80156107325780601f1061070757610100808354040283529160200191610732565b820191906000526020600020905b81548152906001019060200180831161071557829003601f168201915b5050505050905090565b600061074782610ff7565b610764576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078b82610b4f565b9050336001600160a01b038216146107c4576107a7813361060a565b6107c4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60008061082c33610b67565b6108369084611a47565b9050601154811115801561084d5750601354601254105b1561085c575050600f54919050565b61086533610b67565b158015610873575060115481115b80156108825750601354601254105b156108ac576000601154846108979190611a5f565b6010546108a49190611a76565b949350505050565b6000836010546108a49190611a76565b50919050565b60006108cd8261102c565b9050836001600160a01b0316816001600160a01b0316146109005760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761094d57610930863361060a565b61094d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661097457604051633a954ecd60e21b815260040160405180910390fd5b801561097f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a1157600184016000818152600460205260408120549003610a0f576000548114610a0f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a6261109b565b600a55565b610a6f61109b565b610a776110f5565b6000610a8b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ad5576040519150601f19603f3d011682016040523d82523d6000602084013e610ada565b606091505b5050905080610ae857600080fd5b50610af36001600955565b565b610b1083838360405180602001604052806000815250610de9565b505050565b610b1d61109b565b8051610b3090600e90602084019061158a565b5050565b610b3c61109b565b8051610b3090600d90602084019061158a565b60006106a48261102c565b610b6261109b565b601055565b60006001600160a01b038216610b90576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbe61109b565b610af3600061114e565b610bd061109b565b600b55565b610bdd61109b565b6015805461ff001981166101009182900460ff1615909102179055565b610c0261109b565b601155565b6060600380546106b9906119fd565b80333214610c37576040516325780b4f60e11b815260040160405180910390fd5b600a546001546000548391900360001901610c529190611a47565b1115610c7157604051632cdb04a160e21b815260040160405180910390fd5b600c54811115610c945760405163199f5a0360e31b815260040160405180910390fd5b601554610100900460ff1615610cbd5760405163ab35696f60e01b815260040160405180910390fd5b81600b5481610ccb33610b67565b610cd59190611a47565b1115610cf457604051636a3eaa7b60e01b815260040160405180910390fd5b600b54811115610d175760405163199f5a0360e31b815260040160405180910390fd5b610d2081610820565b341015610d4057604051636a259e3160e11b815260040160405180910390fd5b610d4983610f03565b601254610d569190611a47565b601255610b1033846111a0565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dd761109b565b600c55565b610de461109b565b601355565b610df48484846108c2565b6001600160a01b0383163b15610e2d57610e10848484846111ba565b610e2d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e3b61109b565b60005b8251811015610b1057610e6a838281518110610e5c57610e5c611a95565b6020026020010151836111a0565b80610e7481611aab565b915050610e3e565b6060610e8782610ff7565b610ea4576040516305f3556b60e31b815260040160405180910390fd5b6000610eae6112a5565b90506000815111610ece5760405180602001604052806000815250610efc565b80610ed8846112b4565b600e604051602001610eec93929190611ac4565b6040516020818303038152906040525b9392505050565b600080610f0f33610b67565b610f199084611a47565b90506011548111158015610f305750601354601254105b15610f3b5792915050565b610f4433610b67565b158015610f52575060115481115b8015610f615750601354601254105b15610f70575050601154919050565b50600092915050565b610f8161109b565b6001600160a01b038116610feb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610ff48161114e565b50565b60008160011115801561100b575060005482105b80156106a4575050600090815260046020526040902054600160e01b161590565b60008180600111611082576000548110156110825760008181526004602052604081205490600160e01b82169003611080575b80600003610efc57506000190160008181526004602052604090205461105f565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610af35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610fe2565b6002600954036111475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610fe2565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b30828260405180602001604052806000815250611347565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111ef903390899088908890600401611b87565b6020604051808303816000875af192505050801561122a575060408051601f3d908101601f1916820190925261122791810190611bc4565b60015b611288573d808015611258576040519150601f19603f3d011682016040523d82523d6000602084013e61125d565b606091505b508051600003611280576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600d80546106b9906119fd565b606060006112c1836113b4565b600101905060008167ffffffffffffffff8111156112e1576112e161175c565b6040519080825280601f01601f19166020018201604052801561130b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461131557509392505050565b611351838361148c565b6001600160a01b0383163b15610b10576000548281035b61137b60008683806001019450866111ba565b611398576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113685781600054146113ad57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106113f35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061141f576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061143d57662386f26fc10000830492506010015b6305f5e1008310611455576305f5e100830492506008015b612710831061146957612710830492506004015b6064831061147b576064830492506002015b600a83106106a45760010192915050565b60008054908290036114b15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461156057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611528565b508160000361158157604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611596906119fd565b90600052602060002090601f0160209004810192826115b857600085556115fe565b82601f106115d157805160ff19168380011785556115fe565b828001600101855582156115fe579182015b828111156115fe5782518255916020019190600101906115e3565b5061160a92915061160e565b5090565b5b8082111561160a576000815560010161160f565b6001600160e01b031981168114610ff457600080fd5b60006020828403121561164b57600080fd5b8135610efc81611623565b60005b83811015611671578181015183820152602001611659565b83811115610e2d5750506000910152565b6000815180845261169a816020860160208601611656565b601f01601f19169290920160200192915050565b602081526000610efc6020830184611682565b6000602082840312156116d357600080fd5b5035919050565b80356001600160a01b03811681146116f157600080fd5b919050565b6000806040838503121561170957600080fd5b611712836116da565b946020939093013593505050565b60008060006060848603121561173557600080fd5b61173e846116da565b925061174c602085016116da565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561179b5761179b61175c565b604052919050565b600067ffffffffffffffff8311156117bd576117bd61175c565b6117d0601f8401601f1916602001611772565b90508281528383830111156117e457600080fd5b828260208301376000602084830101529392505050565b60006020828403121561180d57600080fd5b813567ffffffffffffffff81111561182457600080fd5b8201601f8101841361183557600080fd5b6108a4848235602084016117a3565b60006020828403121561185657600080fd5b610efc826116da565b6000806040838503121561187257600080fd5b61187b836116da565b91506020830135801515811461189057600080fd5b809150509250929050565b600080600080608085870312156118b157600080fd5b6118ba856116da565b93506118c8602086016116da565b925060408501359150606085013567ffffffffffffffff8111156118eb57600080fd5b8501601f810187136118fc57600080fd5b61190b878235602084016117a3565b91505092959194509250565b6000806040838503121561192a57600080fd5b823567ffffffffffffffff8082111561194257600080fd5b818501915085601f83011261195657600080fd5b813560208282111561196a5761196a61175c565b8160051b925061197b818401611772565b828152928401810192818101908985111561199557600080fd5b948201945b848610156119ba576119ab866116da565b8252948201949082019061199a565b9997909101359750505050505050565b600080604083850312156119dd57600080fd5b6119e6836116da565b91506119f4602084016116da565b90509250929050565b600181811c90821680611a1157607f821691505b6020821081036108bc57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115611a5a57611a5a611a31565b500190565b600082821015611a7157611a71611a31565b500390565b6000816000190483118215151615611a9057611a90611a31565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201611abd57611abd611a31565b5060010190565b600084516020611ad78285838a01611656565b855191840191611aea8184848a01611656565b8554920191600090600181811c9080831680611b0757607f831692505b8583108103611b2457634e487b7160e01b85526022600452602485fd5b808015611b385760018114611b4957611b76565b60ff19851688528388019550611b76565b60008b81526020902060005b85811015611b6e5781548a820152908401908801611b55565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bba90830184611682565b9695505050505050565b600060208284031215611bd657600080fd5b8151610efc8161162356fea26469706673582212207f267d7ec0ca386d427f4d3365d485212b110ea4652f67d416eaeabe8c1a1a5164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d534735534e71614e5473633455784e79786977477256685637313831424c78443947764d7764754c7a55346e2f00000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmSG5SNqaNTsc4UxNyxiwGrVhV7181BLxD9GvMwduLzU4n/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d534735534e71614e5473633455784e7978697747725668
Arg [3] : 5637313831424c78443947764d7764754c7a55346e2f00000000000000000000
Deployed Bytecode Sourcemap
73550:7252:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36703:639;;;;;;;;;;-1:-1:-1;36703:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36703:639:0;;;;;;;;37605:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44096:218::-;;;;;;;;;;-1:-1:-1;44096:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;44096:218:0;1528:203:1;43529:408:0;;;;;;:::i;:::-;;:::i;:::-;;76058:630;;;;;;;;;;-1:-1:-1;76058:630:0;;;;;:::i;:::-;;:::i;:::-;;;2319:25:1;;;2307:2;2292:18;76058:630:0;2173:177:1;33356:323:0;;;;;;;;;;-1:-1:-1;80582:1:0;33630:12;33417:7;33614:13;:28;-1:-1:-1;;33614:46:0;33356:323;;73666:32;;;;;;;;;;;;;;;;47735:2825;;;;;;:::i;:::-;;:::i;78659:95::-;;;;;;;;;;-1:-1:-1;78659:95:0;;;;;:::i;:::-;;:::i;79620:197::-;;;;;;;;;;;;;:::i;50656:193::-;;;;;;:::i;:::-;;:::i;78263:103::-;;;;;;;;;;-1:-1:-1;78263:103:0;;;;;:::i;:::-;;:::i;78114:93::-;;;;;;;;;;-1:-1:-1;78114:93:0;;;;;:::i;:::-;;:::i;38998:152::-;;;;;;;;;;-1:-1:-1;38998:152:0;;;;;:::i;:::-;;:::i;78479:95::-;;;;;;;;;;-1:-1:-1;78479:95:0;;;;;:::i;:::-;;:::i;34540:233::-;;;;;;;;;;-1:-1:-1;34540:233:0;;;;;:::i;:::-;;:::i;72510:103::-;;;;;;;;;;;;;:::i;79060:129::-;;;;;;;;;;-1:-1:-1;79060:129:0;;;;;:::i;:::-;;:::i;77956:75::-;;;;;;;;;;;;;:::i;71862:87::-;;;;;;;;;;-1:-1:-1;71935:6:0;;-1:-1:-1;;;;;71935:6:0;71862:87;;79304:117;;;;;;;;;;-1:-1:-1;79304:117:0;;;;;:::i;:::-;;:::i;73770:38::-;;;;;;;;;;;;;;;;37781:104;;;;;;;;;;;;;:::i;75635:261::-;;;;;;:::i;:::-;;:::i;44654:234::-;;;;;;;;;;-1:-1:-1;44654:234:0;;;;;:::i;:::-;;:::i;78851:113::-;;;;;;;;;;-1:-1:-1;78851:113:0;;;;;:::i;:::-;;:::i;73999:35::-;;;;;;;;;;;;;;;;77244:120;;;;;;;;;;-1:-1:-1;77244:120:0;;;;;:::i;:::-;;:::i;51447:407::-;;;;;;:::i;:::-;;:::i;73713:42::-;;;;;;;;;;;;;;;;77624:200;;;;;;;;;;-1:-1:-1;77624:200:0;;;;;:::i;:::-;;:::i;80048:381::-;;;;;;;;;;-1:-1:-1;80048:381:0;;;;;:::i;:::-;;:::i;73946:38::-;;;;;;;;;;;;;;;;76708:524;;;;;;;;;;-1:-1:-1;76708:524:0;;;;;:::i;:::-;;:::i;45045:164::-;;;;;;;;;;-1:-1:-1;45045:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45166:25:0;;;45142:4;45166:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45045:164;72768:201;;;;;;;;;;-1:-1:-1;72768:201:0;;;;;:::i;:::-;;:::i;36703:639::-;36788:4;-1:-1:-1;;;;;;;;;37112:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37189:25:0;;;37112:102;:179;;;-1:-1:-1;;;;;;;;;;37266:25:0;;;37112:179;37092:199;36703:639;-1:-1:-1;;36703:639:0:o;37605:100::-;37659:13;37692:5;37685:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37605:100;:::o;44096:218::-;44172:7;44197:16;44205:7;44197;:16::i;:::-;44192:64;;44222:34;;-1:-1:-1;;;44222:34:0;;;;;;;;;;;44192:64;-1:-1:-1;44276:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44276:30:0;;44096:218::o;43529:408::-;43618:13;43634:16;43642:7;43634;:16::i;:::-;43618:32;-1:-1:-1;67862:10:0;-1:-1:-1;;;;;43667:28:0;;;43663:175;;43715:44;43732:5;67862:10;45045:164;:::i;43715:44::-;43710:128;;43787:35;;-1:-1:-1;;;43787:35:0;;;;;;;;;;;43710:128;43850:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43850:35:0;-1:-1:-1;;;;;43850:35:0;;;;;;;;;43901:28;;43850:24;;43901:28;;;;;;;43607:330;43529:408;;:::o;76058:630::-;76119:7;76141:18;76176:21;76186:10;76176:9;:21::i;:::-;76162:35;;:11;:35;:::i;:::-;76141:56;;76229:16;;76215:10;:30;;76214:73;;;;;76271:15;;76251:17;;:35;76214:73;76210:467;;;-1:-1:-1;;76309:12:0;;;76058:630;-1:-1:-1;76058:630:0:o;76210:467::-;76346:21;76356:10;76346:9;:21::i;:::-;:26;76345:63;;;;;76391:16;;76378:10;:29;76345:63;:104;;;;;76433:15;;76413:17;;:35;76345:104;76341:336;;;76465:13;76508:16;;76494:11;:30;;;;:::i;:::-;76481:9;;:44;;;;:::i;:::-;76465:60;76058:630;-1:-1:-1;;;;76058:630:0:o;76341:336::-;76595:14;76624:11;76612:9;;:23;;;;:::i;76341:336::-;76128:560;76058:630;;;:::o;47735:2825::-;47877:27;47907;47926:7;47907:18;:27::i;:::-;47877:57;;47992:4;-1:-1:-1;;;;;47951:45:0;47967:19;-1:-1:-1;;;;;47951:45:0;;47947:86;;48005:28;;-1:-1:-1;;;48005:28:0;;;;;;;;;;;47947:86;48047:27;46843:24;;;:15;:24;;;;;47071:26;;67862:10;46468:30;;;-1:-1:-1;;;;;46161:28:0;;46446:20;;;46443:56;48233:180;;48326:43;48343:4;67862:10;45045:164;:::i;48326:43::-;48321:92;;48378:35;;-1:-1:-1;;;48378:35:0;;;;;;;;;;;48321:92;-1:-1:-1;;;;;48430:16:0;;48426:52;;48455:23;;-1:-1:-1;;;48455:23:0;;;;;;;;;;;48426:52;48627:15;48624:160;;;48767:1;48746:19;48739:30;48624:160;-1:-1:-1;;;;;49164:24:0;;;;;;;:18;:24;;;;;;49162:26;;-1:-1:-1;;49162:26:0;;;49233:22;;;;;;;;;49231:24;;-1:-1:-1;49231:24:0;;;42387:11;42362:23;42358:41;42345:63;-1:-1:-1;;;42345:63:0;49526:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49821:47:0;;:52;;49817:627;;49926:1;49916:11;;49894:19;50049:30;;;:17;:30;;;;;;:35;;50045:384;;50187:13;;50172:11;:28;50168:242;;50334:30;;;;:17;:30;;;;;:52;;;50168:242;49875:569;49817:627;50491:7;50487:2;-1:-1:-1;;;;;50472:27:0;50481:4;-1:-1:-1;;;;;50472:27:0;;;;;;;;;;;47866:2694;;;47735:2825;;;:::o;78659:95::-;71748:13;:11;:13::i;:::-;78723:10:::1;:19:::0;78659:95::o;79620:197::-;71748:13;:11;:13::i;:::-;2499:21:::1;:19;:21::i;:::-;79709:10:::2;79733:7;71935:6:::0;;-1:-1:-1;;;;;71935:6:0;;71862:87;79733:7:::2;-1:-1:-1::0;;;;;79725:21:0::2;79754;79725:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79708:72;;;79799:5;79791:14;;;::::0;::::2;;79669:148;2543:20:::1;1937:1:::0;3063:7;:22;2880:213;2543:20:::1;79620:197::o:0;50656:193::-;50802:39;50819:4;50825:2;50829:7;50802:39;;;;;;;;;;;;:16;:39::i;:::-;50656:193;;;:::o;78263:103::-;71748:13;:11;:13::i;:::-;78336:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;78263:103:::0;:::o;78114:93::-;71748:13;:11;:13::i;:::-;78182;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;38998:152::-:0;39070:7;39113:27;39132:7;39113:18;:27::i;78479:95::-;71748:13;:11;:13::i;:::-;78545:9:::1;:17:::0;78479:95::o;34540:233::-;34612:7;-1:-1:-1;;;;;34636:19:0;;34632:60;;34664:28;;-1:-1:-1;;;34664:28:0;;;;;;;;;;;34632:60;-1:-1:-1;;;;;;34710:25:0;;;;;:18;:25;;;;;;28699:13;34710:55;;34540:233::o;72510:103::-;71748:13;:11;:13::i;:::-;72575:30:::1;72602:1;72575:18;:30::i;79060:129::-:0;71748:13;:11;:13::i;:::-;79143:22:::1;:34:::0;79060:129::o;77956:75::-;71748:13;:11;:13::i;:::-;78013:6:::1;::::0;;-1:-1:-1;;78003:16:0;::::1;78013:6;::::0;;;::::1;;;78012:7;78003:16:::0;;::::1;;::::0;;77956:75::o;79304:117::-;71748:13;:11;:13::i;:::-;79381:16:::1;:28:::0;79304:117::o;37781:104::-;37837:13;37870:7;37863:14;;;;;:::i;75635:261::-;75700:11;74801:10;74815:9;74801:23;74797:53;;74833:17;;-1:-1:-1;;;74833:17:0;;;;;;;;;;;74797:53;74900:10;;80582:1;33630:12;33417:7;33614:13;74886:11;;33614:28;;-1:-1:-1;;33614:46:0;74869:28;;;;:::i;:::-;:41;74865:65;;;74919:11;;-1:-1:-1;;;74919:11:0;;;;;;;;;;;74865:65;74963:18;;74949:11;:32;74945:64;;;74990:19;;-1:-1:-1;;;74990:19:0;;;;;;;;;;;74945:64;75027:6;;;;;;;75024:34;;;75042:16;;-1:-1:-1;;;75042:16:0;;;;;;;;;;;75024:34;75733:11:::1;75204:22;;75190:11;75166:21;75176:10;75166:9;:21::i;:::-;:35;;;;:::i;:::-;:60;75163:95;;;75235:23;;-1:-1:-1::0;;;75235:23:0::1;;;;;;;;;;;75163:95;75310:22;;75296:11;:36;75273:87;;;75341:19;;-1:-1:-1::0;;;75341:19:0::1;;;;;;;;;;;75273:87;75393:22;75403:11;75393:9;:22::i;:::-;75381:9;:34;75377:65;;;75424:18;;-1:-1:-1::0;;;75424:18:0::1;;;;;;;;;;;75377:65;75809:26:::2;75823:11;75809:13;:26::i;:::-;75789:17;;:46;;;;:::i;:::-;75769:17;:66:::0;75848:34:::2;75858:10;75870:11:::0;75848:9:::2;:34::i;44654:234::-:0;67862:10;44749:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44749:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44749:60:0;;;;;;;;;;44825:55;;540:41:1;;;44749:49:0;;67862:10;44825:55;;513:18:1;44825:55:0;;;;;;;44654:234;;:::o;78851:113::-;71748:13;:11;:13::i;:::-;78926:18:::1;:26:::0;78851:113::o;77244:120::-;71748:13;:11;:13::i;:::-;77324:15:::1;:28:::0;77244:120::o;51447:407::-;51622:31;51635:4;51641:2;51645:7;51622:12;:31::i;:::-;-1:-1:-1;;;;;51668:14:0;;;:19;51664:183;;51707:56;51738:4;51744:2;51748:7;51757:5;51707:30;:56::i;:::-;51702:145;;51791:40;;-1:-1:-1;;;51791:40:0;;;;;;;;;;;51702:145;51447:407;;;;:::o;77624:200::-;71748:13;:11;:13::i;:::-;77716:9:::1;77712:101;77735:8;:15;77731:1;:19;77712:101;;;77769:30;77779:8;77788:1;77779:11;;;;;;;;:::i;:::-;;;;;;;77792:6;77769:9;:30::i;:::-;77752:3:::0;::::1;::::0;::::1;:::i;:::-;;;;77712:101;;80048:381:::0;80122:13;80155:16;80163:7;80155;:16::i;:::-;80150:48;;80180:18;;-1:-1:-1;;;80180:18:0;;;;;;;;;;;80150:48;80226:28;80257:10;:8;:10::i;:::-;80226:41;;80316:1;80291:14;80285:28;:32;:132;;;;;;;;;;;;;;;;;80353:14;80369:18;:7;:16;:18::i;:::-;80389:12;80336:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80285:132;80278:139;80048:381;-1:-1:-1;;;80048:381:0:o;76708:524::-;76773:7;76795:18;76830:21;76840:10;76830:9;:21::i;:::-;76816:35;;:11;:35;:::i;:::-;76795:56;;76883:16;;76869:10;:30;;76868:73;;;;;76925:15;;76905:17;;:35;76868:73;76864:357;;;76963:10;76708:524;-1:-1:-1;;76708:524:0:o;76864:357::-;77010:21;77020:10;77010:9;:21::i;:::-;:26;77009:63;;;;;77055:16;;77042:10;:29;77009:63;:104;;;;;77097:15;;77077:17;;:35;77009:104;77005:216;;;-1:-1:-1;;77136:16:0;;;76708:524;-1:-1:-1;76708:524:0:o;77005:216::-;-1:-1:-1;77204:1:0;;76708:524;-1:-1:-1;;76708:524:0:o;72768:201::-;71748:13;:11;:13::i;:::-;-1:-1:-1;;;;;72857:22:0;::::1;72849:73;;;::::0;-1:-1:-1;;;72849:73:0;;9770:2:1;72849:73:0::1;::::0;::::1;9752:21:1::0;9809:2;9789:18;;;9782:30;9848:34;9828:18;;;9821:62;-1:-1:-1;;;9899:18:1;;;9892:36;9945:19;;72849:73:0::1;;;;;;;;;72933:28;72952:8;72933:18;:28::i;:::-;72768:201:::0;:::o;45467:282::-;45532:4;45588:7;80582:1;45569:26;;:66;;;;;45622:13;;45612:7;:23;45569:66;:153;;;;-1:-1:-1;;45673:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45673:44:0;:49;;45467:282::o;40153:1275::-;40220:7;40255;;80582:1;40304:23;40300:1061;;40357:13;;40350:4;:20;40346:1015;;;40395:14;40412:23;;;:17;:23;;;;;;;-1:-1:-1;;;40501:24:0;;:29;;40497:845;;41166:113;41173:6;41183:1;41173:11;41166:113;;-1:-1:-1;;;41244:6:0;41226:25;;;;:17;:25;;;;;;41166:113;;40497:845;40372:989;40346:1015;41389:31;;-1:-1:-1;;;41389:31:0;;;;;;;;;;;72027:132;71935:6;;-1:-1:-1;;;;;71935:6:0;67862:10;72091:23;72083:68;;;;-1:-1:-1;;;72083:68:0;;10177:2:1;72083:68:0;;;10159:21:1;;;10196:18;;;10189:30;10255:34;10235:18;;;10228:62;10307:18;;72083:68:0;9975:356:1;2579:293:0;1981:1;2713:7;;:19;2705:63;;;;-1:-1:-1;;;2705:63:0;;10538:2:1;2705:63:0;;;10520:21:1;10577:2;10557:18;;;10550:30;10616:33;10596:18;;;10589:61;10667:18;;2705:63:0;10336:355:1;2705:63:0;1981:1;2846:7;:18;2579:293::o;73129:191::-;73222:6;;;-1:-1:-1;;;;;73239:17:0;;;-1:-1:-1;;;;;;73239:17:0;;;;;;;73272:40;;73222:6;;;73239:17;73222:6;;73272:40;;73203:16;;73272:40;73192:128;73129:191;:::o;61607:112::-;61684:27;61694:2;61698:8;61684:27;;;;;;;;;;;;:9;:27::i;53938:716::-;54122:88;;-1:-1:-1;;;54122:88:0;;54101:4;;-1:-1:-1;;;;;54122:45:0;;;;;:88;;67862:10;;54189:4;;54195:7;;54204:5;;54122:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54122:88:0;;;;;;;;-1:-1:-1;;54122:88:0;;;;;;;;;;;;:::i;:::-;;;54118:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54405:6;:13;54422:1;54405:18;54401:235;;54451:40;;-1:-1:-1;;;54451:40:0;;;;;;;;;;;54401:235;54594:6;54588:13;54579:6;54575:2;54571:15;54564:38;54118:529;-1:-1:-1;;;;;;54281:64:0;-1:-1:-1;;;54281:64:0;;-1:-1:-1;53938:716:0;;;;;;:::o;80675:114::-;80735:13;80770:7;80763:14;;;;;:::i;16405:716::-;16461:13;16512:14;16529:17;16540:5;16529:10;:17::i;:::-;16549:1;16529:21;16512:38;;16565:20;16599:6;16588:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16588:18:0;-1:-1:-1;16565:41:0;-1:-1:-1;16730:28:0;;;16746:2;16730:28;16787:288;-1:-1:-1;;16819:5:0;-1:-1:-1;;;16956:2:0;16945:14;;16940:30;16819:5;16927:44;17017:2;17008:11;;;-1:-1:-1;17038:21:0;16787:288;17038:21;-1:-1:-1;17096:6:0;16405:716;-1:-1:-1;;;16405:716:0:o;60834:689::-;60965:19;60971:2;60975:8;60965:5;:19::i;:::-;-1:-1:-1;;;;;61026:14:0;;;:19;61022:483;;61066:11;61080:13;61128:14;;;61161:233;61192:62;61231:1;61235:2;61239:7;;;;;;61248:5;61192:30;:62::i;:::-;61187:167;;61290:40;;-1:-1:-1;;;61290:40:0;;;;;;;;;;;61187:167;61389:3;61381:5;:11;61161:233;;61476:3;61459:13;;:20;61455:34;;61481:8;;;61455:34;61047:458;;60834:689;;;:::o;13271:922::-;13324:7;;-1:-1:-1;;;13402:15:0;;13398:102;;-1:-1:-1;;;13438:15:0;;;-1:-1:-1;13482:2:0;13472:12;13398:102;13527:6;13518:5;:15;13514:102;;13563:6;13554:15;;;-1:-1:-1;13598:2:0;13588:12;13514:102;13643:6;13634:5;:15;13630:102;;13679:6;13670:15;;;-1:-1:-1;13714:2:0;13704:12;13630:102;13759:5;13750;:14;13746:99;;13794:5;13785:14;;;-1:-1:-1;13828:1:0;13818:11;13746:99;13872:5;13863;:14;13859:99;;13907:5;13898:14;;;-1:-1:-1;13941:1:0;13931:11;13859:99;13985:5;13976;:14;13972:99;;14020:5;14011:14;;;-1:-1:-1;14054:1:0;14044:11;13972:99;14098:5;14089;:14;14085:66;;14134:1;14124:11;14179:6;13271:922;-1:-1:-1;;13271:922:0:o;55116:2966::-;55189:20;55212:13;;;55240;;;55236:44;;55262:18;;-1:-1:-1;;;55262:18:0;;;;;;;;;;;55236:44;-1:-1:-1;;;;;55768:22:0;;;;;;:18;:22;;;;28837:2;55768:22;;;:71;;55806:32;55794:45;;55768:71;;;56082:31;;;:17;:31;;;;;-1:-1:-1;42818:15:0;;42792:24;42788:46;42387:11;42362:23;42358:41;42355:52;42345:63;;56082:173;;56317:23;;;;56082:31;;55768:22;;57082:25;55768:22;;56935:335;57596:1;57582:12;57578:20;57536:346;57637:3;57628:7;57625:16;57536:346;;57855:7;57845:8;57842:1;57815:25;57812:1;57809;57804:59;57690:1;57677:15;57536:346;;;57540:77;57915:8;57927:1;57915:13;57911:45;;57937:19;;-1:-1:-1;;;57937:19:0;;;;;;;;;;;57911:45;57973:13;:19;-1:-1:-1;50656:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;2991:18;2976:34;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:407::-;3165:5;3199:18;3191:6;3188:30;3185:56;;;3221:18;;:::i;:::-;3259:57;3304:2;3283:15;;-1:-1:-1;;3279:29:1;3310:4;3275:40;3259:57;:::i;:::-;3250:66;;3339:6;3332:5;3325:21;3379:3;3370:6;3365:3;3361:16;3358:25;3355:45;;;3396:1;3393;3386:12;3355:45;3445:6;3440:3;3433:4;3426:5;3422:16;3409:43;3499:1;3492:4;3483:6;3476:5;3472:18;3468:29;3461:40;3100:407;;;;;:::o;3512:451::-;3581:6;3634:2;3622:9;3613:7;3609:23;3605:32;3602:52;;;3650:1;3647;3640:12;3602:52;3690:9;3677:23;3723:18;3715:6;3712:30;3709:50;;;3755:1;3752;3745:12;3709:50;3778:22;;3831:4;3823:13;;3819:27;-1:-1:-1;3809:55:1;;3860:1;3857;3850:12;3809:55;3883:74;3949:7;3944:2;3931:16;3926:2;3922;3918:11;3883:74;:::i;3968:186::-;4027:6;4080:2;4068:9;4059:7;4055:23;4051:32;4048:52;;;4096:1;4093;4086:12;4048:52;4119:29;4138:9;4119:29;:::i;4159:347::-;4224:6;4232;4285:2;4273:9;4264:7;4260:23;4256:32;4253:52;;;4301:1;4298;4291:12;4253:52;4324:29;4343:9;4324:29;:::i;:::-;4314:39;;4403:2;4392:9;4388:18;4375:32;4450:5;4443:13;4436:21;4429:5;4426:32;4416:60;;4472:1;4469;4462:12;4416:60;4495:5;4485:15;;;4159:347;;;;;:::o;4511:667::-;4606:6;4614;4622;4630;4683:3;4671:9;4662:7;4658:23;4654:33;4651:53;;;4700:1;4697;4690:12;4651:53;4723:29;4742:9;4723:29;:::i;:::-;4713:39;;4771:38;4805:2;4794:9;4790:18;4771:38;:::i;:::-;4761:48;;4856:2;4845:9;4841:18;4828:32;4818:42;;4911:2;4900:9;4896:18;4883:32;4938:18;4930:6;4927:30;4924:50;;;4970:1;4967;4960:12;4924:50;4993:22;;5046:4;5038:13;;5034:27;-1:-1:-1;5024:55:1;;5075:1;5072;5065:12;5024:55;5098:74;5164:7;5159:2;5146:16;5141:2;5137;5133:11;5098:74;:::i;:::-;5088:84;;;4511:667;;;;;;;:::o;5183:1022::-;5276:6;5284;5337:2;5325:9;5316:7;5312:23;5308:32;5305:52;;;5353:1;5350;5343:12;5305:52;5393:9;5380:23;5422:18;5463:2;5455:6;5452:14;5449:34;;;5479:1;5476;5469:12;5449:34;5517:6;5506:9;5502:22;5492:32;;5562:7;5555:4;5551:2;5547:13;5543:27;5533:55;;5584:1;5581;5574:12;5533:55;5620:2;5607:16;5642:4;5665:2;5661;5658:10;5655:36;;;5671:18;;:::i;:::-;5717:2;5714:1;5710:10;5700:20;;5740:28;5764:2;5760;5756:11;5740:28;:::i;:::-;5802:15;;;5872:11;;;5868:20;;;5833:12;;;;5900:19;;;5897:39;;;5932:1;5929;5922:12;5897:39;5956:11;;;;5976:148;5992:6;5987:3;5984:15;5976:148;;;6058:23;6077:3;6058:23;:::i;:::-;6046:36;;6009:12;;;;6102;;;;5976:148;;;6143:5;6180:18;;;;6167:32;;-1:-1:-1;;;;;;;5183:1022:1:o;6210:260::-;6278:6;6286;6339:2;6327:9;6318:7;6314:23;6310:32;6307:52;;;6355:1;6352;6345:12;6307:52;6378:29;6397:9;6378:29;:::i;:::-;6368:39;;6426:38;6460:2;6449:9;6445:18;6426:38;:::i;:::-;6416:48;;6210:260;;;;;:::o;6475:380::-;6554:1;6550:12;;;;6597;;;6618:61;;6672:4;6664:6;6660:17;6650:27;;6618:61;6725:2;6717:6;6714:14;6694:18;6691:38;6688:161;;6771:10;6766:3;6762:20;6759:1;6752:31;6806:4;6803:1;6796:15;6834:4;6831:1;6824:15;6860:127;6921:10;6916:3;6912:20;6909:1;6902:31;6952:4;6949:1;6942:15;6976:4;6973:1;6966:15;6992:128;7032:3;7063:1;7059:6;7056:1;7053:13;7050:39;;;7069:18;;:::i;:::-;-1:-1:-1;7105:9:1;;6992:128::o;7125:125::-;7165:4;7193:1;7190;7187:8;7184:34;;;7198:18;;:::i;:::-;-1:-1:-1;7235:9:1;;7125:125::o;7255:168::-;7295:7;7361:1;7357;7353:6;7349:14;7346:1;7343:21;7338:1;7331:9;7324:17;7320:45;7317:71;;;7368:18;;:::i;:::-;-1:-1:-1;7408:9:1;;7255:168::o;7638:127::-;7699:10;7694:3;7690:20;7687:1;7680:31;7730:4;7727:1;7720:15;7754:4;7751:1;7744:15;7770:135;7809:3;7830:17;;;7827:43;;7850:18;;:::i;:::-;-1:-1:-1;7897:1:1;7886:13;;7770:135::o;8036:1527::-;8260:3;8298:6;8292:13;8324:4;8337:51;8381:6;8376:3;8371:2;8363:6;8359:15;8337:51;:::i;:::-;8451:13;;8410:16;;;;8473:55;8451:13;8410:16;8495:15;;;8473:55;:::i;:::-;8617:13;;8550:20;;;8590:1;;8677;8699:18;;;;8752;;;;8779:93;;8857:4;8847:8;8843:19;8831:31;;8779:93;8920:2;8910:8;8907:16;8887:18;8884:40;8881:167;;-1:-1:-1;;;8947:33:1;;9003:4;9000:1;8993:15;9033:4;8954:3;9021:17;8881:167;9064:18;9091:110;;;;9215:1;9210:328;;;;9057:481;;9091:110;-1:-1:-1;;9126:24:1;;9112:39;;9171:20;;;;-1:-1:-1;9091:110:1;;9210:328;7983:1;7976:14;;;8020:4;8007:18;;9305:1;9319:169;9333:8;9330:1;9327:15;9319:169;;;9415:14;;9400:13;;;9393:37;9458:16;;;;9350:10;;9319:169;;;9323:3;;9519:8;9512:5;9508:20;9501:27;;9057:481;-1:-1:-1;9554:3:1;;8036:1527;-1:-1:-1;;;;;;;;;;;8036:1527:1:o;10696:489::-;-1:-1:-1;;;;;10965:15:1;;;10947:34;;11017:15;;11012:2;10997:18;;10990:43;11064:2;11049:18;;11042:34;;;11112:3;11107:2;11092:18;;11085:31;;;10890:4;;11133:46;;11159:19;;11151:6;11133:46;:::i;:::-;11125:54;10696:489;-1:-1:-1;;;;;;10696:489:1:o;11190:249::-;11259:6;11312:2;11300:9;11291:7;11287:23;11283:32;11280:52;;;11328:1;11325;11318:12;11280:52;11360:9;11354:16;11379:30;11403:5;11379:30;:::i
Swarm Source
ipfs://7f267d7ec0ca386d427f4d3365d485212b110ea4652f67d416eaeabe8c1a1a51
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.