Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
42 SHIBANON
Holders
14
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SHIBANONLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShibAnonCollection
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-25 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // 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: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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`. * * 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 calldata data ) external; /** * @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 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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; /** * @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; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: ShibaNFTMinting.sol pragma solidity ^0.8.10; contract ShibAnonCollection is ERC721Enumerable, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; string public baseURI; string public baseExtension = ".json"; string public notRevealedURI; uint256 public cost = 0.08 ether; uint256 public maxSupply = 400; uint256 public maxMintAmount = 10; bool public revealed = true; bool public paused = false; address public treasuryWallet = 0x4297862AC183B2EB9f707838Bcf0fF8103b2AD68; constructor( string memory _initBaseURI, string memory _notRevealedURI ) ERC721("ShibAnon Collection", "SHIBANON") { setBaseURI(_initBaseURI); setNotRevealedURI(_notRevealedURI); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { require(!paused, "paused"); require(_mintAmount > 0, "mint amount is not valid"); require(balanceOf(msg.sender) + _mintAmount <= maxMintAmount, "max mint amount reached"); uint256 supply = totalSupply(); require(supply + _mintAmount <= maxSupply, "max supply reached"); if (msg.sender != owner()) { require(msg.value >= cost * _mintAmount, "not enough ether sent"); } for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(msg.sender, supply + i); _tokenIds.increment(); } require(payable(treasuryWallet).send(msg.value)); } function count() public view returns (uint256) { return _tokenIds.current(); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); if (revealed) { return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } else { return notRevealedURI; } } //only owner function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmount = _newMaxMintAmount; } function setNotRevealedURI(string memory _newNotRevealedURI) public onlyOwner { notRevealedURI = _newNotRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setReveal() public onlyOwner { revealed = !revealed; } function setPause() public onlyOwner { paused = !paused; } function setTreasuryWallet(address _newTreasuryWallet) public onlyOwner{ treasuryWallet = _newTreasuryWallet; } function withdraw() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_notRevealedURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"count","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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"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":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newNotRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasuryWallet","type":"address"}],"name":"setTreasuryWallet","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600d919062000247565b5067011c37937e080000600f55610190601055600a601155601280546001600160b01b031916754297862ac183b2eb9f707838bcf0ff8103b2ad6800011790553480156200007557600080fd5b50604051620029bb380380620029bb8339810160408190526200009891620003ba565b604080518082018252601381527f53686962416e6f6e20436f6c6c656374696f6e0000000000000000000000000060208083019182528351808501909452600884526729a424a120a727a760c11b908401528151919291620000fd9160009162000247565b5080516200011390600190602084019062000247565b505050620001306200012a6200014e60201b60201c565b62000152565b6200013b82620001a4565b6200014681620001c7565b505062000461565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001ae620001e6565b8051620001c390600c90602084019062000247565b5050565b620001d1620001e6565b8051620001c390600e90602084019062000247565b600a546001600160a01b03163314620002455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620002559062000424565b90600052602060002090601f016020900481019282620002795760008555620002c4565b82601f106200029457805160ff1916838001178555620002c4565b82800160010185558215620002c4579182015b82811115620002c4578251825591602001919060010190620002a7565b50620002d2929150620002d6565b5090565b5b80821115620002d25760008155600101620002d7565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200031557600080fd5b81516001600160401b0380821115620003325762000332620002ed565b604051601f8301601f19908116603f011681019082821181831017156200035d576200035d620002ed565b816040528381526020925086838588010111156200037a57600080fd5b600091505b838210156200039e57858201830151818301840152908201906200037f565b83821115620003b05760008385830101525b9695505050505050565b60008060408385031215620003ce57600080fd5b82516001600160401b0380821115620003e657600080fd5b620003f48683870162000303565b935060208501519150808211156200040b57600080fd5b506200041a8582860162000303565b9150509250929050565b600181811c908216806200043957607f821691505b602082108114156200045b57634e487b7160e01b600052602260045260246000fd5b50919050565b61254a80620004716000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063a8602fea116100ab578063d5abeb011161006f578063d5abeb011461064d578063da3ef23f14610663578063e985e9c514610683578063f2c4ce1e146106cc578063f2fde38b146106ec57600080fd5b8063a8602fea146105c3578063b88d4fde146105e3578063c668286214610603578063c87b56dd14610618578063d431b1ac1461063857600080fd5b806376645315116100f257806376645315146105485780638da5cb5b1461055d57806395d89b411461057b578063a0712d6814610590578063a22cb465146105a357600080fd5b80636352211e146104c95780636c0360eb146104e957806370a08231146104fe578063715018a61461051e578063722503801461053357600080fd5b80632f745c59116101bc5780634626402b116101805780634626402b1461042a5780634f6ccce714610450578063518302271461047057806355f804b31461048a5780635c975abb146104aa57600080fd5b80632f745c59146103955780633ccfd60b146103b557806342842e0e146103bd578063438b6300146103dd57806344a0d68a1461040a57600080fd5b8063095ea7b311610203578063095ea7b31461031457806313faede61461033457806318160ddd1461034a578063239c70ae1461035f57806323b872dd1461037557600080fd5b806301ffc9a71461024057806306661abd1461027557806306fdde0314610298578063081812fc146102ba578063088a4ed0146102f2575b600080fd5b34801561024c57600080fd5b5061026061025b366004611ef0565b61070c565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610737565b60405190815260200161026c565b3480156102a457600080fd5b506102ad610747565b60405161026c9190611f65565b3480156102c657600080fd5b506102da6102d5366004611f78565b6107d9565b6040516001600160a01b03909116815260200161026c565b3480156102fe57600080fd5b5061031261030d366004611f78565b610800565b005b34801561032057600080fd5b5061031261032f366004611fad565b61080d565b34801561034057600080fd5b5061028a600f5481565b34801561035657600080fd5b5060085461028a565b34801561036b57600080fd5b5061028a60115481565b34801561038157600080fd5b50610312610390366004611fd7565b610928565b3480156103a157600080fd5b5061028a6103b0366004611fad565b610959565b6103126109ef565b3480156103c957600080fd5b506103126103d8366004611fd7565b610a1d565b3480156103e957600080fd5b506103fd6103f8366004612013565b610a38565b60405161026c919061202e565b34801561041657600080fd5b50610312610425366004611f78565b610ada565b34801561043657600080fd5b506012546102da906201000090046001600160a01b031681565b34801561045c57600080fd5b5061028a61046b366004611f78565b610ae7565b34801561047c57600080fd5b506012546102609060ff1681565b34801561049657600080fd5b506103126104a53660046120fe565b610b7a565b3480156104b657600080fd5b5060125461026090610100900460ff1681565b3480156104d557600080fd5b506102da6104e4366004611f78565b610b99565b3480156104f557600080fd5b506102ad610bf9565b34801561050a57600080fd5b5061028a610519366004612013565b610c87565b34801561052a57600080fd5b50610312610d0d565b34801561053f57600080fd5b506102ad610d1f565b34801561055457600080fd5b50610312610d2c565b34801561056957600080fd5b50600a546001600160a01b03166102da565b34801561058757600080fd5b506102ad610d48565b61031261059e366004611f78565b610d57565b3480156105af57600080fd5b506103126105be366004612147565b610f89565b3480156105cf57600080fd5b506103126105de366004612013565b610f94565b3480156105ef57600080fd5b506103126105fe366004612183565b610fc6565b34801561060f57600080fd5b506102ad610ffe565b34801561062457600080fd5b506102ad610633366004611f78565b61100b565b34801561064457600080fd5b5061031261118e565b34801561065957600080fd5b5061028a60105481565b34801561066f57600080fd5b5061031261067e3660046120fe565b6111b3565b34801561068f57600080fd5b5061026061069e3660046121ff565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d857600080fd5b506103126106e73660046120fe565b6111ce565b3480156106f857600080fd5b50610312610707366004612013565b6111e9565b60006001600160e01b0319821663780e9d6360e01b1480610731575061073182611262565b92915050565b6000610742600b5490565b905090565b60606000805461075690612232565b80601f016020809104026020016040519081016040528092919081815260200182805461078290612232565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e4826112b2565b506000908152600460205260409020546001600160a01b031690565b610808611311565b601155565b600061081882610b99565b9050806001600160a01b0316836001600160a01b0316141561088b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108a757506108a7813361069e565b6109195760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610882565b610923838361136b565b505050565b61093233826113d9565b61094e5760405162461bcd60e51b815260040161088290612267565b610923838383611458565b600061096483610c87565b82106109c65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610882565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109f7611311565b60405133904780156108fc02916000818181858888f19350505050610a1b57600080fd5b565b61092383838360405180602001604052806000815250610fc6565b60606000610a4583610c87565b905060008167ffffffffffffffff811115610a6257610a62612072565b604051908082528060200260200182016040528015610a8b578160200160208202803683370190505b50905060005b82811015610ad257610aa38582610959565b828281518110610ab557610ab56122b4565b602090810291909101015280610aca816122e0565b915050610a91565b509392505050565b610ae2611311565b600f55565b6000610af260085490565b8210610b555760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610882565b60088281548110610b6857610b686122b4565b90600052602060002001549050919050565b610b82611311565b8051610b9590600c906020840190611e41565b5050565b6000818152600260205260408120546001600160a01b0316806107315760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610882565b600c8054610c0690612232565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3290612232565b8015610c7f5780601f10610c5457610100808354040283529160200191610c7f565b820191906000526020600020905b815481529060010190602001808311610c6257829003601f168201915b505050505081565b60006001600160a01b038216610cf15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610882565b506001600160a01b031660009081526003602052604090205490565b610d15611311565b610a1b60006115c9565b600e8054610c0690612232565b610d34611311565b6012805460ff19811660ff90911615179055565b60606001805461075690612232565b601254610100900460ff1615610d985760405162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b6044820152606401610882565b60008111610de85760405162461bcd60e51b815260206004820152601860248201527f6d696e7420616d6f756e74206973206e6f742076616c696400000000000000006044820152606401610882565b60115481610df533610c87565b610dff91906122fb565b1115610e4d5760405162461bcd60e51b815260206004820152601760248201527f6d6178206d696e7420616d6f756e7420726561636865640000000000000000006044820152606401610882565b6000610e5860085490565b601054909150610e6883836122fb565b1115610eab5760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610882565b600a546001600160a01b03163314610f125781600f54610ecb9190612313565b341015610f125760405162461bcd60e51b81526020600482015260156024820152741b9bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610882565b60015b828111610f4f57610f2f33610f2a83856122fb565b61161b565b610f3d600b80546001019055565b80610f47816122e0565b915050610f15565b506012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050610b9557600080fd5b610b95338383611635565b610f9c611311565b601280546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610fd033836113d9565b610fec5760405162461bcd60e51b815260040161088290612267565b610ff884848484611704565b50505050565b600d8054610c0690612232565b6000818152600260205260409020546060906001600160a01b031661108a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610882565b6000611094611737565b60125490915060ff16156110f55760008151116110c057604051806020016040528060008152506110ee565b806110ca84611746565b600d6040516020016110de93929190612332565b6040516020818303038152906040525b9392505050565b600e805461110290612232565b80601f016020809104026020016040519081016040528092919081815260200182805461112e90612232565b801561117b5780601f106111505761010080835404028352916020019161117b565b820191906000526020600020905b81548152906001019060200180831161115e57829003601f168201915b5050505050915050919050565b50919050565b611196611311565b6012805461ff001981166101009182900460ff1615909102179055565b6111bb611311565b8051610b9590600d906020840190611e41565b6111d6611311565b8051610b9590600e906020840190611e41565b6111f1611311565b6001600160a01b0381166112565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b61125f816115c9565b50565b60006001600160e01b031982166380ac58cd60e01b148061129357506001600160e01b03198216635b5e139f60e01b145b8061073157506301ffc9a760e01b6001600160e01b0319831614610731565b6000818152600260205260409020546001600160a01b031661125f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610882565b600a546001600160a01b03163314610a1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610882565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113a082610b99565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113e583610b99565b9050806001600160a01b0316846001600160a01b0316148061142c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806114505750836001600160a01b0316611445846107d9565b6001600160a01b0316145b949350505050565b826001600160a01b031661146b82610b99565b6001600160a01b0316146114915760405162461bcd60e51b8152600401610882906123f6565b6001600160a01b0382166114f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b61150083838360016117db565b826001600160a01b031661151382610b99565b6001600160a01b0316146115395760405162461bcd60e51b8152600401610882906123f6565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b9582826040518060200160405280600081525061190f565b816001600160a01b0316836001600160a01b031614156116975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61170f848484611458565b61171b84848484611942565b610ff85760405162461bcd60e51b81526004016108829061243b565b6060600c805461075690612232565b6060600061175383611a40565b600101905060008167ffffffffffffffff81111561177357611773612072565b6040519080825280601f01601f19166020018201604052801561179d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117d657610ad2565b6117a7565b600181111561184a5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610882565b816001600160a01b0385166118a6576118a181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118c9565b836001600160a01b0316856001600160a01b0316146118c9576118c98582611b18565b6001600160a01b0384166118e5576118e081611bb5565b611908565b846001600160a01b0316846001600160a01b031614611908576119088482611c64565b5050505050565b6119198383611ca8565b6119266000848484611942565b6109235760405162461bcd60e51b81526004016108829061243b565b60006001600160a01b0384163b15611a3557604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061198690339089908890889060040161248d565b6020604051808303816000875af19250505080156119c1575060408051601f3d908101601f191682019092526119be918101906124ca565b60015b611a1b573d8080156119ef576040519150601f19603f3d011682016040523d82523d6000602084013e6119f4565b606091505b508051611a135760405162461bcd60e51b81526004016108829061243b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611450565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a7f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611aab576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611ac957662386f26fc10000830492506010015b6305f5e1008310611ae1576305f5e100830492506008015b6127108310611af557612710830492506004015b60648310611b07576064830492506002015b600a83106107315760010192915050565b60006001611b2584610c87565b611b2f91906124e7565b600083815260076020526040902054909150808214611b82576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bc7906001906124e7565b60008381526009602052604081205460088054939450909284908110611bef57611bef6122b4565b906000526020600020015490508060088381548110611c1057611c106122b4565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c4857611c486124fe565b6001900381819060005260206000200160009055905550505050565b6000611c6f83610c87565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611cfe5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600260205260409020546001600160a01b031615611d635760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b611d716000838360016117db565b6000818152600260205260409020546001600160a01b031615611dd65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e4d90612232565b90600052602060002090601f016020900481019282611e6f5760008555611eb5565b82601f10611e8857805160ff1916838001178555611eb5565b82800160010185558215611eb5579182015b82811115611eb5578251825591602001919060010190611e9a565b50611ec1929150611ec5565b5090565b5b80821115611ec15760008155600101611ec6565b6001600160e01b03198116811461125f57600080fd5b600060208284031215611f0257600080fd5b81356110ee81611eda565b60005b83811015611f28578181015183820152602001611f10565b83811115610ff85750506000910152565b60008151808452611f51816020860160208601611f0d565b601f01601f19169290920160200192915050565b6020815260006110ee6020830184611f39565b600060208284031215611f8a57600080fd5b5035919050565b80356001600160a01b0381168114611fa857600080fd5b919050565b60008060408385031215611fc057600080fd5b611fc983611f91565b946020939093013593505050565b600080600060608486031215611fec57600080fd5b611ff584611f91565b925061200360208501611f91565b9150604084013590509250925092565b60006020828403121561202557600080fd5b6110ee82611f91565b6020808252825182820181905260009190848201906040850190845b818110156120665783518352928401929184019160010161204a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156120a3576120a3612072565b604051601f8501601f19908116603f011681019082821181831017156120cb576120cb612072565b816040528093508581528686860111156120e457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561211057600080fd5b813567ffffffffffffffff81111561212757600080fd5b8201601f8101841361213857600080fd5b61145084823560208401612088565b6000806040838503121561215a57600080fd5b61216383611f91565b91506020830135801515811461217857600080fd5b809150509250929050565b6000806000806080858703121561219957600080fd5b6121a285611f91565b93506121b060208601611f91565b925060408501359150606085013567ffffffffffffffff8111156121d357600080fd5b8501601f810187136121e457600080fd5b6121f387823560208401612088565b91505092959194509250565b6000806040838503121561221257600080fd5b61221b83611f91565b915061222960208401611f91565b90509250929050565b600181811c9082168061224657607f821691505b6020821081141561118857634e487b7160e01b600052602260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156122f4576122f46122ca565b5060010190565b6000821982111561230e5761230e6122ca565b500190565b600081600019048311821515161561232d5761232d6122ca565b500290565b6000845160206123458285838a01611f0d565b8551918401916123588184848a01611f0d565b8554920191600090600181811c908083168061237557607f831692505b85831081141561239357634e487b7160e01b85526022600452602485fd5b8080156123a757600181146123b8576123e5565b60ff198516885283880195506123e5565b60008b81526020902060005b858110156123dd5781548a8201529084019088016123c4565b505083880195505b50939b9a5050505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c090830184611f39565b9695505050505050565b6000602082840312156124dc57600080fd5b81516110ee81611eda565b6000828210156124f9576124f96122ca565b500390565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208703492e1daeee5d7d1f940c64a2cca8b5bfb2d17b2c76697b0508dd70a8463064736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000006068747470733a2f2f76696f6c65742d726172652d7377616e2d3531352e6d7970696e6174612e636c6f75642f697066732f516d59556d486b7a7456517871626869524b6d696a3844676e62597776754c6a767968324a344e4a4572574270472f0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c80636352211e1161012e578063a8602fea116100ab578063d5abeb011161006f578063d5abeb011461064d578063da3ef23f14610663578063e985e9c514610683578063f2c4ce1e146106cc578063f2fde38b146106ec57600080fd5b8063a8602fea146105c3578063b88d4fde146105e3578063c668286214610603578063c87b56dd14610618578063d431b1ac1461063857600080fd5b806376645315116100f257806376645315146105485780638da5cb5b1461055d57806395d89b411461057b578063a0712d6814610590578063a22cb465146105a357600080fd5b80636352211e146104c95780636c0360eb146104e957806370a08231146104fe578063715018a61461051e578063722503801461053357600080fd5b80632f745c59116101bc5780634626402b116101805780634626402b1461042a5780634f6ccce714610450578063518302271461047057806355f804b31461048a5780635c975abb146104aa57600080fd5b80632f745c59146103955780633ccfd60b146103b557806342842e0e146103bd578063438b6300146103dd57806344a0d68a1461040a57600080fd5b8063095ea7b311610203578063095ea7b31461031457806313faede61461033457806318160ddd1461034a578063239c70ae1461035f57806323b872dd1461037557600080fd5b806301ffc9a71461024057806306661abd1461027557806306fdde0314610298578063081812fc146102ba578063088a4ed0146102f2575b600080fd5b34801561024c57600080fd5b5061026061025b366004611ef0565b61070c565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610737565b60405190815260200161026c565b3480156102a457600080fd5b506102ad610747565b60405161026c9190611f65565b3480156102c657600080fd5b506102da6102d5366004611f78565b6107d9565b6040516001600160a01b03909116815260200161026c565b3480156102fe57600080fd5b5061031261030d366004611f78565b610800565b005b34801561032057600080fd5b5061031261032f366004611fad565b61080d565b34801561034057600080fd5b5061028a600f5481565b34801561035657600080fd5b5060085461028a565b34801561036b57600080fd5b5061028a60115481565b34801561038157600080fd5b50610312610390366004611fd7565b610928565b3480156103a157600080fd5b5061028a6103b0366004611fad565b610959565b6103126109ef565b3480156103c957600080fd5b506103126103d8366004611fd7565b610a1d565b3480156103e957600080fd5b506103fd6103f8366004612013565b610a38565b60405161026c919061202e565b34801561041657600080fd5b50610312610425366004611f78565b610ada565b34801561043657600080fd5b506012546102da906201000090046001600160a01b031681565b34801561045c57600080fd5b5061028a61046b366004611f78565b610ae7565b34801561047c57600080fd5b506012546102609060ff1681565b34801561049657600080fd5b506103126104a53660046120fe565b610b7a565b3480156104b657600080fd5b5060125461026090610100900460ff1681565b3480156104d557600080fd5b506102da6104e4366004611f78565b610b99565b3480156104f557600080fd5b506102ad610bf9565b34801561050a57600080fd5b5061028a610519366004612013565b610c87565b34801561052a57600080fd5b50610312610d0d565b34801561053f57600080fd5b506102ad610d1f565b34801561055457600080fd5b50610312610d2c565b34801561056957600080fd5b50600a546001600160a01b03166102da565b34801561058757600080fd5b506102ad610d48565b61031261059e366004611f78565b610d57565b3480156105af57600080fd5b506103126105be366004612147565b610f89565b3480156105cf57600080fd5b506103126105de366004612013565b610f94565b3480156105ef57600080fd5b506103126105fe366004612183565b610fc6565b34801561060f57600080fd5b506102ad610ffe565b34801561062457600080fd5b506102ad610633366004611f78565b61100b565b34801561064457600080fd5b5061031261118e565b34801561065957600080fd5b5061028a60105481565b34801561066f57600080fd5b5061031261067e3660046120fe565b6111b3565b34801561068f57600080fd5b5061026061069e3660046121ff565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d857600080fd5b506103126106e73660046120fe565b6111ce565b3480156106f857600080fd5b50610312610707366004612013565b6111e9565b60006001600160e01b0319821663780e9d6360e01b1480610731575061073182611262565b92915050565b6000610742600b5490565b905090565b60606000805461075690612232565b80601f016020809104026020016040519081016040528092919081815260200182805461078290612232565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b5050505050905090565b60006107e4826112b2565b506000908152600460205260409020546001600160a01b031690565b610808611311565b601155565b600061081882610b99565b9050806001600160a01b0316836001600160a01b0316141561088b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108a757506108a7813361069e565b6109195760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610882565b610923838361136b565b505050565b61093233826113d9565b61094e5760405162461bcd60e51b815260040161088290612267565b610923838383611458565b600061096483610c87565b82106109c65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610882565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6109f7611311565b60405133904780156108fc02916000818181858888f19350505050610a1b57600080fd5b565b61092383838360405180602001604052806000815250610fc6565b60606000610a4583610c87565b905060008167ffffffffffffffff811115610a6257610a62612072565b604051908082528060200260200182016040528015610a8b578160200160208202803683370190505b50905060005b82811015610ad257610aa38582610959565b828281518110610ab557610ab56122b4565b602090810291909101015280610aca816122e0565b915050610a91565b509392505050565b610ae2611311565b600f55565b6000610af260085490565b8210610b555760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610882565b60088281548110610b6857610b686122b4565b90600052602060002001549050919050565b610b82611311565b8051610b9590600c906020840190611e41565b5050565b6000818152600260205260408120546001600160a01b0316806107315760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610882565b600c8054610c0690612232565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3290612232565b8015610c7f5780601f10610c5457610100808354040283529160200191610c7f565b820191906000526020600020905b815481529060010190602001808311610c6257829003601f168201915b505050505081565b60006001600160a01b038216610cf15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610882565b506001600160a01b031660009081526003602052604090205490565b610d15611311565b610a1b60006115c9565b600e8054610c0690612232565b610d34611311565b6012805460ff19811660ff90911615179055565b60606001805461075690612232565b601254610100900460ff1615610d985760405162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b6044820152606401610882565b60008111610de85760405162461bcd60e51b815260206004820152601860248201527f6d696e7420616d6f756e74206973206e6f742076616c696400000000000000006044820152606401610882565b60115481610df533610c87565b610dff91906122fb565b1115610e4d5760405162461bcd60e51b815260206004820152601760248201527f6d6178206d696e7420616d6f756e7420726561636865640000000000000000006044820152606401610882565b6000610e5860085490565b601054909150610e6883836122fb565b1115610eab5760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610882565b600a546001600160a01b03163314610f125781600f54610ecb9190612313565b341015610f125760405162461bcd60e51b81526020600482015260156024820152741b9bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b6044820152606401610882565b60015b828111610f4f57610f2f33610f2a83856122fb565b61161b565b610f3d600b80546001019055565b80610f47816122e0565b915050610f15565b506012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050610b9557600080fd5b610b95338383611635565b610f9c611311565b601280546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610fd033836113d9565b610fec5760405162461bcd60e51b815260040161088290612267565b610ff884848484611704565b50505050565b600d8054610c0690612232565b6000818152600260205260409020546060906001600160a01b031661108a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610882565b6000611094611737565b60125490915060ff16156110f55760008151116110c057604051806020016040528060008152506110ee565b806110ca84611746565b600d6040516020016110de93929190612332565b6040516020818303038152906040525b9392505050565b600e805461110290612232565b80601f016020809104026020016040519081016040528092919081815260200182805461112e90612232565b801561117b5780601f106111505761010080835404028352916020019161117b565b820191906000526020600020905b81548152906001019060200180831161115e57829003601f168201915b5050505050915050919050565b50919050565b611196611311565b6012805461ff001981166101009182900460ff1615909102179055565b6111bb611311565b8051610b9590600d906020840190611e41565b6111d6611311565b8051610b9590600e906020840190611e41565b6111f1611311565b6001600160a01b0381166112565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610882565b61125f816115c9565b50565b60006001600160e01b031982166380ac58cd60e01b148061129357506001600160e01b03198216635b5e139f60e01b145b8061073157506301ffc9a760e01b6001600160e01b0319831614610731565b6000818152600260205260409020546001600160a01b031661125f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610882565b600a546001600160a01b03163314610a1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610882565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113a082610b99565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113e583610b99565b9050806001600160a01b0316846001600160a01b0316148061142c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806114505750836001600160a01b0316611445846107d9565b6001600160a01b0316145b949350505050565b826001600160a01b031661146b82610b99565b6001600160a01b0316146114915760405162461bcd60e51b8152600401610882906123f6565b6001600160a01b0382166114f35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610882565b61150083838360016117db565b826001600160a01b031661151382610b99565b6001600160a01b0316146115395760405162461bcd60e51b8152600401610882906123f6565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b9582826040518060200160405280600081525061190f565b816001600160a01b0316836001600160a01b031614156116975760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610882565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61170f848484611458565b61171b84848484611942565b610ff85760405162461bcd60e51b81526004016108829061243b565b6060600c805461075690612232565b6060600061175383611a40565b600101905060008167ffffffffffffffff81111561177357611773612072565b6040519080825280601f01601f19166020018201604052801561179d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117d657610ad2565b6117a7565b600181111561184a5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610882565b816001600160a01b0385166118a6576118a181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6118c9565b836001600160a01b0316856001600160a01b0316146118c9576118c98582611b18565b6001600160a01b0384166118e5576118e081611bb5565b611908565b846001600160a01b0316846001600160a01b031614611908576119088482611c64565b5050505050565b6119198383611ca8565b6119266000848484611942565b6109235760405162461bcd60e51b81526004016108829061243b565b60006001600160a01b0384163b15611a3557604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061198690339089908890889060040161248d565b6020604051808303816000875af19250505080156119c1575060408051601f3d908101601f191682019092526119be918101906124ca565b60015b611a1b573d8080156119ef576040519150601f19603f3d011682016040523d82523d6000602084013e6119f4565b606091505b508051611a135760405162461bcd60e51b81526004016108829061243b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611450565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a7f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611aab576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611ac957662386f26fc10000830492506010015b6305f5e1008310611ae1576305f5e100830492506008015b6127108310611af557612710830492506004015b60648310611b07576064830492506002015b600a83106107315760010192915050565b60006001611b2584610c87565b611b2f91906124e7565b600083815260076020526040902054909150808214611b82576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611bc7906001906124e7565b60008381526009602052604081205460088054939450909284908110611bef57611bef6122b4565b906000526020600020015490508060088381548110611c1057611c106122b4565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611c4857611c486124fe565b6001900381819060005260206000200160009055905550505050565b6000611c6f83610c87565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611cfe5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610882565b6000818152600260205260409020546001600160a01b031615611d635760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b611d716000838360016117db565b6000818152600260205260409020546001600160a01b031615611dd65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610882565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e4d90612232565b90600052602060002090601f016020900481019282611e6f5760008555611eb5565b82601f10611e8857805160ff1916838001178555611eb5565b82800160010185558215611eb5579182015b82811115611eb5578251825591602001919060010190611e9a565b50611ec1929150611ec5565b5090565b5b80821115611ec15760008155600101611ec6565b6001600160e01b03198116811461125f57600080fd5b600060208284031215611f0257600080fd5b81356110ee81611eda565b60005b83811015611f28578181015183820152602001611f10565b83811115610ff85750506000910152565b60008151808452611f51816020860160208601611f0d565b601f01601f19169290920160200192915050565b6020815260006110ee6020830184611f39565b600060208284031215611f8a57600080fd5b5035919050565b80356001600160a01b0381168114611fa857600080fd5b919050565b60008060408385031215611fc057600080fd5b611fc983611f91565b946020939093013593505050565b600080600060608486031215611fec57600080fd5b611ff584611f91565b925061200360208501611f91565b9150604084013590509250925092565b60006020828403121561202557600080fd5b6110ee82611f91565b6020808252825182820181905260009190848201906040850190845b818110156120665783518352928401929184019160010161204a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156120a3576120a3612072565b604051601f8501601f19908116603f011681019082821181831017156120cb576120cb612072565b816040528093508581528686860111156120e457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561211057600080fd5b813567ffffffffffffffff81111561212757600080fd5b8201601f8101841361213857600080fd5b61145084823560208401612088565b6000806040838503121561215a57600080fd5b61216383611f91565b91506020830135801515811461217857600080fd5b809150509250929050565b6000806000806080858703121561219957600080fd5b6121a285611f91565b93506121b060208601611f91565b925060408501359150606085013567ffffffffffffffff8111156121d357600080fd5b8501601f810187136121e457600080fd5b6121f387823560208401612088565b91505092959194509250565b6000806040838503121561221257600080fd5b61221b83611f91565b915061222960208401611f91565b90509250929050565b600181811c9082168061224657607f821691505b6020821081141561118857634e487b7160e01b600052602260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156122f4576122f46122ca565b5060010190565b6000821982111561230e5761230e6122ca565b500190565b600081600019048311821515161561232d5761232d6122ca565b500290565b6000845160206123458285838a01611f0d565b8551918401916123588184848a01611f0d565b8554920191600090600181811c908083168061237557607f831692505b85831081141561239357634e487b7160e01b85526022600452602485fd5b8080156123a757600181146123b8576123e5565b60ff198516885283880195506123e5565b60008b81526020902060005b858110156123dd5781548a8201529084019088016123c4565b505083880195505b50939b9a5050505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c090830184611f39565b9695505050505050565b6000602082840312156124dc57600080fd5b81516110ee81611eda565b6000828210156124f9576124f96122ca565b500390565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208703492e1daeee5d7d1f940c64a2cca8b5bfb2d17b2c76697b0508dd70a8463064736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000006068747470733a2f2f76696f6c65742d726172652d7377616e2d3531352e6d7970696e6174612e636c6f75642f697066732f516d59556d486b7a7456517871626869524b6d696a3844676e62597776754c6a767968324a344e4a4572574270472f0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://violet-rare-swan-515.mypinata.cloud/ipfs/QmYUmHkztVQxqbhiRKmij8DgnbYwvuLjvyh2J4NJErWBpG/
Arg [1] : _notRevealedURI (string):
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 68747470733a2f2f76696f6c65742d726172652d7377616e2d3531352e6d7970
Arg [4] : 696e6174612e636c6f75642f697066732f516d59556d486b7a74565178716268
Arg [5] : 69524b6d696a3844676e62597776754c6a767968324a344e4a4572574270472f
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
64346:3931:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58343:224;;;;;;;;;;-1:-1:-1;58343:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;58343:224:0;;;;;;;;66016:92;;;;;;;;;;;;;:::i;:::-;;;738:25:1;;;726:2;711:18;66016:92:0;592:177:1;42050:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43562:171::-;;;;;;;;;;-1:-1:-1;43562:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;43562:171:0;1710:203:1;67308:122:0;;;;;;;;;;-1:-1:-1;67308:122:0;;;;;:::i;:::-;;:::i;:::-;;43080:416;;;;;;;;;;-1:-1:-1;43080:416:0;;;;;:::i;:::-;;:::i;64640:32::-;;;;;;;;;;;;;;;;58983:113;;;;;;;;;;-1:-1:-1;59071:10:0;:17;58983:113;;64716:33;;;;;;;;;;;;;;;;44262:335;;;;;;;;;;-1:-1:-1;44262:335:0;;;;;:::i;:::-;;:::i;58651:256::-;;;;;;;;;;-1:-1:-1;58651:256:0;;;;;:::i;:::-;;:::i;68154:120::-;;;:::i;44668:185::-;;;;;;;;;;-1:-1:-1;44668:185:0;;;;;:::i;:::-;;:::i;66116:378::-;;;;;;;;;;-1:-1:-1;66116:378:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;67214:86::-;;;;;;;;;;-1:-1:-1;67214:86:0;;;;;:::i;:::-;;:::i;64827:74::-;;;;;;;;;;-1:-1:-1;64827:74:0;;;;;;;-1:-1:-1;;;;;64827:74:0;;;59173:233;;;;;;;;;;-1:-1:-1;59173:233:0;;;;;:::i;:::-;;:::i;64758:27::-;;;;;;;;;;-1:-1:-1;64758:27:0;;;;;;;;67593:104;;;;;;;;;;-1:-1:-1;67593:104:0;;;;;:::i;:::-;;:::i;64792:26::-;;;;;;;;;;-1:-1:-1;64792:26:0;;;;;;;;;;;41760:223;;;;;;;;;;-1:-1:-1;41760:223:0;;;;;:::i;:::-;;:::i;64531:21::-;;;;;;;;;;;;;:::i;41491:207::-;;;;;;;;;;-1:-1:-1;41491:207:0;;;;;:::i;:::-;;:::i;19473:103::-;;;;;;;;;;;;;:::i;64603:28::-;;;;;;;;;;;;;:::i;67856:77::-;;;;;;;;;;;;;:::i;18825:87::-;;;;;;;;;;-1:-1:-1;18898:6:0;;-1:-1:-1;;;;;18898:6:0;18825:87;;42219:104;;;;;;;;;;;;;:::i;65292:716::-;;;;;;:::i;:::-;;:::i;43805:155::-;;;;;;;;;;-1:-1:-1;43805:155:0;;;;;:::i;:::-;;:::i;68021:125::-;;;;;;;;;;-1:-1:-1;68021:125:0;;;;;:::i;:::-;;:::i;44924:322::-;;;;;;;;;;-1:-1:-1;44924:322:0;;;;;:::i;:::-;;:::i;64559:37::-;;;;;;;;;;;;;:::i;66502:686::-;;;;;;;;;;-1:-1:-1;66502:686:0;;;;;:::i;:::-;;:::i;67941:72::-;;;;;;;;;;;;;:::i;64679:30::-;;;;;;;;;;;;;;;;67705:143;;;;;;;;;;-1:-1:-1;67705:143:0;;;;;:::i;:::-;;:::i;44031:164::-;;;;;;;;;;-1:-1:-1;44031:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44152:25:0;;;44128:4;44152:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44031:164;67438:147;;;;;;;;;;-1:-1:-1;67438:147:0;;;;;:::i;:::-;;:::i;19731:201::-;;;;;;;;;;-1:-1:-1;19731:201:0;;;;;:::i;:::-;;:::i;58343:224::-;58445:4;-1:-1:-1;;;;;;58469:50:0;;-1:-1:-1;;;58469:50:0;;:90;;;58523:36;58547:11;58523:23;:36::i;:::-;58462:97;58343:224;-1:-1:-1;;58343:224:0:o;66016:92::-;66054:7;66081:19;:9;997:14;;905:114;66081:19;66074:26;;66016:92;:::o;42050:100::-;42104:13;42137:5;42130:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42050:100;:::o;43562:171::-;43638:7;43658:23;43673:7;43658:14;:23::i;:::-;-1:-1:-1;43701:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;43701:24:0;;43562:171::o;67308:122::-;18711:13;:11;:13::i;:::-;67389::::1;:33:::0;67308:122::o;43080:416::-;43161:13;43177:23;43192:7;43177:14;:23::i;:::-;43161:39;;43225:5;-1:-1:-1;;;;;43219:11:0;:2;-1:-1:-1;;;;;43219:11:0;;;43211:57;;;;-1:-1:-1;;;43211:57:0;;6617:2:1;43211:57:0;;;6599:21:1;6656:2;6636:18;;;6629:30;6695:34;6675:18;;;6668:62;-1:-1:-1;;;6746:18:1;;;6739:31;6787:19;;43211:57:0;;;;;;;;;17456:10;-1:-1:-1;;;;;43303:21:0;;;;:62;;-1:-1:-1;43328:37:0;43345:5;17456:10;44031:164;:::i;43328:37::-;43281:173;;;;-1:-1:-1;;;43281:173:0;;7019:2:1;43281:173:0;;;7001:21:1;7058:2;7038:18;;;7031:30;7097:34;7077:18;;;7070:62;7168:31;7148:18;;;7141:59;7217:19;;43281:173:0;6817:425:1;43281:173:0;43467:21;43476:2;43480:7;43467:8;:21::i;:::-;43150:346;43080:416;;:::o;44262:335::-;44457:41;17456:10;44490:7;44457:18;:41::i;:::-;44449:99;;;;-1:-1:-1;;;44449:99:0;;;;;;;:::i;:::-;44561:28;44571:4;44577:2;44581:7;44561:9;:28::i;58651:256::-;58748:7;58784:23;58801:5;58784:16;:23::i;:::-;58776:5;:31;58768:87;;;;-1:-1:-1;;;58768:87:0;;7863:2:1;58768:87:0;;;7845:21:1;7902:2;7882:18;;;7875:30;7941:34;7921:18;;;7914:62;-1:-1:-1;;;7992:18:1;;;7985:41;8043:19;;58768:87:0;7661:407:1;58768:87:0;-1:-1:-1;;;;;;58873:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;58651:256::o;68154:120::-;18711:13;:11;:13::i;:::-;68218:47:::1;::::0;68226:10:::1;::::0;68243:21:::1;68218:47:::0;::::1;;;::::0;::::1;::::0;;;68243:21;68226:10;68218:47;::::1;;;;;;68210:56;;;::::0;::::1;;68154:120::o:0;44668:185::-;44806:39;44823:4;44829:2;44833:7;44806:39;;;;;;;;;;;;:16;:39::i;66116:378::-;66191:16;66225:23;66251:17;66261:6;66251:9;:17::i;:::-;66225:43;;66279:25;66321:15;66307:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66307:30:0;;66279:58;;66353:9;66348:113;66368:15;66364:1;:19;66348:113;;;66419:30;66439:6;66447:1;66419:19;:30::i;:::-;66405:8;66414:1;66405:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;66385:3;;;;:::i;:::-;;;;66348:113;;;-1:-1:-1;66478:8:0;66116:378;-1:-1:-1;;;66116:378:0:o;67214:86::-;18711:13;:11;:13::i;:::-;67277:4:::1;:15:::0;67214:86::o;59173:233::-;59248:7;59284:30;59071:10;:17;;58983:113;59284:30;59276:5;:38;59268:95;;;;-1:-1:-1;;;59268:95:0;;8679:2:1;59268:95:0;;;8661:21:1;8718:2;8698:18;;;8691:30;8757:34;8737:18;;;8730:62;-1:-1:-1;;;8808:18:1;;;8801:42;8860:19;;59268:95:0;8477:408:1;59268:95:0;59381:10;59392:5;59381:17;;;;;;;;:::i;:::-;;;;;;;;;59374:24;;59173:233;;;:::o;67593:104::-;18711:13;:11;:13::i;:::-;67668:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;67593:104:::0;:::o;41760:223::-;41832:7;46647:16;;;:7;:16;;;;;;-1:-1:-1;;;;;46647:16:0;;41896:56;;;;-1:-1:-1;;;41896:56:0;;9092:2:1;41896:56:0;;;9074:21:1;9131:2;9111:18;;;9104:30;-1:-1:-1;;;9150:18:1;;;9143:54;9214:18;;41896:56:0;8890:348:1;64531:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41491:207::-;41563:7;-1:-1:-1;;;;;41591:19:0;;41583:73;;;;-1:-1:-1;;;41583:73:0;;9445:2:1;41583:73:0;;;9427:21:1;9484:2;9464:18;;;9457:30;9523:34;9503:18;;;9496:62;-1:-1:-1;;;9574:18:1;;;9567:39;9623:19;;41583:73:0;9243:405:1;41583:73:0;-1:-1:-1;;;;;;41674:16:0;;;;;:9;:16;;;;;;;41491:207::o;19473:103::-;18711:13;:11;:13::i;:::-;19538:30:::1;19565:1;19538:18;:30::i;64603:28::-:0;;;;;;;:::i;67856:77::-;18711:13;:11;:13::i;:::-;67917:8:::1;::::0;;-1:-1:-1;;67905:20:0;::::1;67917:8;::::0;;::::1;67916:9;67905:20;::::0;;67856:77::o;42219:104::-;42275:13;42308:7;42301:14;;;;;:::i;65292:716::-;65362:6;;;;;;;65361:7;65353:26;;;;-1:-1:-1;;;65353:26:0;;9855:2:1;65353:26:0;;;9837:21:1;9894:1;9874:18;;;9867:29;-1:-1:-1;;;9912:18:1;;;9905:36;9958:18;;65353:26:0;9653:329:1;65353:26:0;65412:1;65398:11;:15;65390:52;;;;-1:-1:-1;;;65390:52:0;;10189:2:1;65390:52:0;;;10171:21:1;10228:2;10208:18;;;10201:30;10267:26;10247:18;;;10240:54;10311:18;;65390:52:0;9987:348:1;65390:52:0;65500:13;;65485:11;65461:21;65471:10;65461:9;:21::i;:::-;:35;;;;:::i;:::-;:52;;65453:88;;;;-1:-1:-1;;;65453:88:0;;10675:2:1;65453:88:0;;;10657:21:1;10714:2;10694:18;;;10687:30;10753:25;10733:18;;;10726:53;10796:18;;65453:88:0;10473:347:1;65453:88:0;65552:14;65569:13;59071:10;:17;;58983:113;65569:13;65625:9;;65552:30;;-1:-1:-1;65601:20:0;65610:11;65552:30;65601:20;:::i;:::-;:33;;65593:64;;;;-1:-1:-1;;;65593:64:0;;11027:2:1;65593:64:0;;;11009:21:1;11066:2;11046:18;;;11039:30;-1:-1:-1;;;11085:18:1;;;11078:48;11143:18;;65593:64:0;10825:342:1;65593:64:0;18898:6;;-1:-1:-1;;;;;18898:6:0;65674:10;:21;65670:119;;65740:11;65733:4;;:18;;;;:::i;:::-;65720:9;:31;;65712:65;;;;-1:-1:-1;;;65712:65:0;;11547:2:1;65712:65:0;;;11529:21:1;11586:2;11566:18;;;11559:30;-1:-1:-1;;;11605:18:1;;;11598:51;11666:18;;65712:65:0;11345:345:1;65712:65:0;65818:1;65801:139;65826:11;65821:1;:16;65801:139;;65859:33;65869:10;65881;65890:1;65881:6;:10;:::i;:::-;65859:9;:33::i;:::-;65907:21;:9;1116:19;;1134:1;1116:19;;;1027:127;65907:21;65839:3;;;;:::i;:::-;;;;65801:139;;;-1:-1:-1;65968:14:0;;65960:39;;-1:-1:-1;;;;;65968:14:0;;;;;;;;;65989:9;65960:39;;;;;;;;;65989:9;65968:14;65960:39;;;;;;;65952:48;;;;;43805:155;43900:52;17456:10;43933:8;43943;43900:18;:52::i;68021:125::-;18711:13;:11;:13::i;:::-;68103:14:::1;:35:::0;;-1:-1:-1;;;;;68103:35:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;68103:35:0;;::::1;::::0;;;::::1;::::0;;68021:125::o;44924:322::-;45098:41;17456:10;45131:7;45098:18;:41::i;:::-;45090:99;;;;-1:-1:-1;;;45090:99:0;;;;;;;:::i;:::-;45200:38;45214:4;45220:2;45224:7;45233:4;45200:13;:38::i;:::-;44924:322;;;;:::o;64559:37::-;;;;;;;:::i;66502:686::-;47049:4;46647:16;;;:7;:16;;;;;;66600:13;;-1:-1:-1;;;;;46647:16:0;66631:113;;;;-1:-1:-1;;;66631:113:0;;11897:2:1;66631:113:0;;;11879:21:1;11936:2;11916:18;;;11909:30;11975:34;11955:18;;;11948:62;-1:-1:-1;;;12026:18:1;;;12019:45;12081:19;;66631:113:0;11695:411:1;66631:113:0;66757:28;66788:10;:8;:10::i;:::-;66815:8;;66757:41;;-1:-1:-1;66815:8:0;;66811:370;;;66891:1;66866:14;66860:28;:32;:255;;;;;;;;;;;;;;;;;66972:14;67009:18;:7;:16;:18::i;:::-;67050:13;66933:149;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66860:255;66840:275;66502:686;-1:-1:-1;;;66502:686:0:o;66811:370::-;67155:14;67148:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66502:686;;;:::o;66811:370::-;66620:568;66502:686;;;:::o;67941:72::-;18711:13;:11;:13::i;:::-;67999:6:::1;::::0;;-1:-1:-1;;67989:16:0;::::1;67999:6;::::0;;;::::1;;;67998:7;67989:16:::0;;::::1;;::::0;;67941:72::o;67705:143::-;18711:13;:11;:13::i;:::-;67807:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;67438:147::-:0;18711:13;:11;:13::i;:::-;67542:35;;::::1;::::0;:14:::1;::::0;:35:::1;::::0;::::1;::::0;::::1;:::i;19731:201::-:0;18711:13;:11;:13::i;:::-;-1:-1:-1;;;;;19820:22:0;::::1;19812:73;;;::::0;-1:-1:-1;;;19812:73:0;;13971:2:1;19812:73:0::1;::::0;::::1;13953:21:1::0;14010:2;13990:18;;;13983:30;14049:34;14029:18;;;14022:62;-1:-1:-1;;;14100:18:1;;;14093:36;14146:19;;19812:73:0::1;13769:402:1::0;19812:73:0::1;19896:28;19915:8;19896:18;:28::i;:::-;19731:201:::0;:::o;41122:305::-;41224:4;-1:-1:-1;;;;;;41261:40:0;;-1:-1:-1;;;41261:40:0;;:105;;-1:-1:-1;;;;;;;41318:48:0;;-1:-1:-1;;;41318:48:0;41261:105;:158;;;-1:-1:-1;;;;;;;;;;32663:40:0;;;41383:36;32554:157;53381:135;47049:4;46647:16;;;:7;:16;;;;;;-1:-1:-1;;;;;46647:16:0;53455:53;;;;-1:-1:-1;;;53455:53:0;;9092:2:1;53455:53:0;;;9074:21:1;9131:2;9111:18;;;9104:30;-1:-1:-1;;;9150:18:1;;;9143:54;9214:18;;53455:53:0;8890:348:1;18990:132:0;18898:6;;-1:-1:-1;;;;;18898:6:0;17456:10;19054:23;19046:68;;;;-1:-1:-1;;;19046:68:0;;14378:2:1;19046:68:0;;;14360:21:1;;;14397:18;;;14390:30;14456:34;14436:18;;;14429:62;14508:18;;19046:68:0;14176:356:1;52660:174:0;52735:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;52735:29:0;-1:-1:-1;;;;;52735:29:0;;;;;;;;:24;;52789:23;52735:24;52789:14;:23::i;:::-;-1:-1:-1;;;;;52780:46:0;;;;;;;;;;;52660:174;;:::o;47279:264::-;47372:4;47389:13;47405:23;47420:7;47405:14;:23::i;:::-;47389:39;;47458:5;-1:-1:-1;;;;;47447:16:0;:7;-1:-1:-1;;;;;47447:16:0;;:52;;;-1:-1:-1;;;;;;44152:25:0;;;44128:4;44152:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;47467:32;47447:87;;;;47527:7;-1:-1:-1;;;;;47503:31:0;:20;47515:7;47503:11;:20::i;:::-;-1:-1:-1;;;;;47503:31:0;;47447:87;47439:96;47279:264;-1:-1:-1;;;;47279:264:0:o;51278:1263::-;51437:4;-1:-1:-1;;;;;51410:31:0;:23;51425:7;51410:14;:23::i;:::-;-1:-1:-1;;;;;51410:31:0;;51402:81;;;;-1:-1:-1;;;51402:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;51502:16:0;;51494:65;;;;-1:-1:-1;;;51494:65:0;;15145:2:1;51494:65:0;;;15127:21:1;15184:2;15164:18;;;15157:30;15223:34;15203:18;;;15196:62;-1:-1:-1;;;15274:18:1;;;15267:34;15318:19;;51494:65:0;14943:400:1;51494:65:0;51572:42;51593:4;51599:2;51603:7;51612:1;51572:20;:42::i;:::-;51744:4;-1:-1:-1;;;;;51717:31:0;:23;51732:7;51717:14;:23::i;:::-;-1:-1:-1;;;;;51717:31:0;;51709:81;;;;-1:-1:-1;;;51709:81:0;;;;;;;:::i;:::-;51862:24;;;;:15;:24;;;;;;;;51855:31;;-1:-1:-1;;;;;;51855:31:0;;;;;;-1:-1:-1;;;;;52338:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;52338:20:0;;;52373:13;;;;;;;;;:18;;51855:31;52373:18;;;52413:16;;;:7;:16;;;;;;:21;;;;;;;;;;52452:27;;51878:7;;52452:27;;;43150:346;43080:416;;:::o;20092:191::-;20185:6;;;-1:-1:-1;;;;;20202:17:0;;;-1:-1:-1;;;;;;20202:17:0;;;;;;;20235:40;;20185:6;;;20202:17;20185:6;;20235:40;;20166:16;;20235:40;20155:128;20092:191;:::o;47885:110::-;47961:26;47971:2;47975:7;47961:26;;;;;;;;;;;;:9;:26::i;52977:315::-;53132:8;-1:-1:-1;;;;;53123:17:0;:5;-1:-1:-1;;;;;53123:17:0;;;53115:55;;;;-1:-1:-1;;;53115:55:0;;15550:2:1;53115:55:0;;;15532:21:1;15589:2;15569:18;;;15562:30;15628:27;15608:18;;;15601:55;15673:18;;53115:55:0;15348:349:1;53115:55:0;-1:-1:-1;;;;;53181:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;53181:46:0;;;;;;;;;;53243:41;;540::1;;;53243::0;;513:18:1;53243:41:0;;;;;;;52977:315;;;:::o;46127:313::-;46283:28;46293:4;46299:2;46303:7;46283:9;:28::i;:::-;46330:47;46353:4;46359:2;46363:7;46372:4;46330:22;:47::i;:::-;46322:110;;;;-1:-1:-1;;;46322:110:0;;;;;;;:::i;65161:108::-;65221:13;65254:7;65247:14;;;;;:::i;14803:716::-;14859:13;14910:14;14927:17;14938:5;14927:10;:17::i;:::-;14947:1;14927:21;14910:38;;14963:20;14997:6;14986:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14986:18:0;-1:-1:-1;14963:41:0;-1:-1:-1;15128:28:0;;;15144:2;15128:28;15185:288;-1:-1:-1;;15217:5:0;-1:-1:-1;;;15354:2:0;15343:14;;15338:30;15217:5;15325:44;15415:2;15406:11;;;-1:-1:-1;15440:10:0;15436:21;;15452:5;;15436:21;15185:288;;59480:915;59747:1;59735:9;:13;59731:222;;;59878:63;;-1:-1:-1;;;59878:63:0;;16455:2:1;59878:63:0;;;16437:21:1;16494:2;16474:18;;;16467:30;16533:34;16513:18;;;16506:62;-1:-1:-1;;;16584:18:1;;;16577:51;16645:19;;59878:63:0;16253:417:1;59731:222:0;59983:12;-1:-1:-1;;;;;60012:18:0;;60008:187;;60047:40;60079:7;61222:10;:17;;61195:24;;;;:15;:24;;;;;:44;;;61250:24;;;;;;;;;;;;61118:164;60047:40;60008:187;;;60117:2;-1:-1:-1;;;;;60109:10:0;:4;-1:-1:-1;;;;;60109:10:0;;60105:90;;60136:47;60169:4;60175:7;60136:32;:47::i;:::-;-1:-1:-1;;;;;60209:16:0;;60205:183;;60242:45;60279:7;60242:36;:45::i;:::-;60205:183;;;60315:4;-1:-1:-1;;;;;60309:10:0;:2;-1:-1:-1;;;;;60309:10:0;;60305:83;;60336:40;60364:2;60368:7;60336:27;:40::i;:::-;59646:749;59480:915;;;;:::o;48222:319::-;48351:18;48357:2;48361:7;48351:5;:18::i;:::-;48402:53;48433:1;48437:2;48441:7;48450:4;48402:22;:53::i;:::-;48380:153;;;;-1:-1:-1;;;48380:153:0;;;;;;;:::i;54080:853::-;54234:4;-1:-1:-1;;;;;54255:13:0;;21818:19;:23;54251:675;;54291:71;;-1:-1:-1;;;54291:71:0;;-1:-1:-1;;;;;54291:36:0;;;;;:71;;17456:10;;54342:4;;54348:7;;54357:4;;54291:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54291:71:0;;;;;;;;-1:-1:-1;;54291:71:0;;;;;;;;;;;;:::i;:::-;;;54287:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54532:13:0;;54528:328;;54575:60;;-1:-1:-1;;;54575:60:0;;;;;;;:::i;54528:328::-;54806:6;54800:13;54791:6;54787:2;54783:15;54776:38;54287:584;-1:-1:-1;;;;;;54413:51:0;-1:-1:-1;;;54413:51:0;;-1:-1:-1;54406:58:0;;54251:675;-1:-1:-1;54910:4:0;54080:853;;;;;;:::o;11669:922::-;11722:7;;-1:-1:-1;;;11800:15:0;;11796:102;;-1:-1:-1;;;11836:15:0;;;-1:-1:-1;11880:2:0;11870:12;11796:102;11925:6;11916:5;:15;11912:102;;11961:6;11952:15;;;-1:-1:-1;11996:2:0;11986:12;11912:102;12041:6;12032:5;:15;12028:102;;12077:6;12068:15;;;-1:-1:-1;12112:2:0;12102:12;12028:102;12157:5;12148;:14;12144:99;;12192:5;12183:14;;;-1:-1:-1;12226:1:0;12216:11;12144:99;12270:5;12261;:14;12257:99;;12305:5;12296:14;;;-1:-1:-1;12339:1:0;12329:11;12257:99;12383:5;12374;:14;12370:99;;12418:5;12409:14;;;-1:-1:-1;12452:1:0;12442:11;12370:99;12496:5;12487;:14;12483:66;;12532:1;12522:11;12577:6;11669:922;-1:-1:-1;;11669:922:0:o;61909:988::-;62175:22;62225:1;62200:22;62217:4;62200:16;:22::i;:::-;:26;;;;:::i;:::-;62237:18;62258:26;;;:17;:26;;;;;;62175:51;;-1:-1:-1;62391:28:0;;;62387:328;;-1:-1:-1;;;;;62458:18:0;;62436:19;62458:18;;;:12;:18;;;;;;;;:34;;;;;;;;;62509:30;;;;;;:44;;;62626:30;;:17;:30;;;;;:43;;;62387:328;-1:-1:-1;62811:26:0;;;;:17;:26;;;;;;;;62804:33;;;-1:-1:-1;;;;;62855:18:0;;;;;:12;:18;;;;;:34;;;;;;;62848:41;61909:988::o;63192:1079::-;63470:10;:17;63445:22;;63470:21;;63490:1;;63470:21;:::i;:::-;63502:18;63523:24;;;:15;:24;;;;;;63896:10;:26;;63445:46;;-1:-1:-1;63523:24:0;;63445:46;;63896:26;;;;;;:::i;:::-;;;;;;;;;63874:48;;63960:11;63935:10;63946;63935:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;64040:28;;;:15;:28;;;;;;;:41;;;64212:24;;;;;64205:31;64247:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63263:1008;;;63192:1079;:::o;60696:221::-;60781:14;60798:20;60815:2;60798:16;:20::i;:::-;-1:-1:-1;;;;;60829:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;60874:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;60696:221:0:o;48877:942::-;-1:-1:-1;;;;;48957:16:0;;48949:61;;;;-1:-1:-1;;;48949:61:0;;17887:2:1;48949:61:0;;;17869:21:1;;;17906:18;;;17899:30;17965:34;17945:18;;;17938:62;18017:18;;48949:61:0;17685:356:1;48949:61:0;47049:4;46647:16;;;:7;:16;;;;;;-1:-1:-1;;;;;46647:16:0;47073:31;49021:58;;;;-1:-1:-1;;;49021:58:0;;18248:2:1;49021:58:0;;;18230:21:1;18287:2;18267:18;;;18260:30;18326;18306:18;;;18299:58;18374:18;;49021:58:0;18046:352:1;49021:58:0;49092:48;49121:1;49125:2;49129:7;49138:1;49092:20;:48::i;:::-;47049:4;46647:16;;;:7;:16;;;;;;-1:-1:-1;;;;;46647:16:0;47073:31;49230:58;;;;-1:-1:-1;;;49230:58:0;;18248:2:1;49230:58:0;;;18230:21:1;18287:2;18267:18;;;18260:30;18326;18306:18;;;18299:58;18374:18;;49230:58:0;18046:352:1;49230:58:0;-1:-1:-1;;;;;49637:13:0;;;;;;:9;:13;;;;;;;;:18;;49654:1;49637:18;;;49679:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;49679:21:0;;;;;49718:33;49687:7;;49637:13;;49718:33;;49637:13;;49718:33;67668:21:::1;67593:104:::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;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096: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:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:632::-;3050:2;3102:21;;;3172:13;;3075:18;;;3194:22;;;3021:4;;3050:2;3273:15;;;;3247:2;3232:18;;;3021:4;3316:169;3330:6;3327:1;3324:13;3316:169;;;3391:13;;3379:26;;3460:15;;;;3425:12;;;;3352:1;3345:9;3316:169;;;-1:-1:-1;3502:3:1;;2879:632;-1:-1:-1;;;;;;2879:632:1:o;3516:127::-;3577:10;3572:3;3568:20;3565:1;3558:31;3608:4;3605:1;3598:15;3632:4;3629:1;3622:15;3648:632;3713:5;3743:18;3784:2;3776:6;3773:14;3770:40;;;3790:18;;:::i;:::-;3865:2;3859:9;3833:2;3919:15;;-1:-1:-1;;3915:24:1;;;3941:2;3911:33;3907:42;3895:55;;;3965:18;;;3985:22;;;3962:46;3959:72;;;4011:18;;:::i;:::-;4051:10;4047:2;4040:22;4080:6;4071:15;;4110:6;4102;4095:22;4150:3;4141:6;4136:3;4132:16;4129:25;4126:45;;;4167:1;4164;4157:12;4126:45;4217:6;4212:3;4205:4;4197:6;4193:17;4180:44;4272:1;4265:4;4256:6;4248;4244:19;4240:30;4233:41;;;;3648:632;;;;;:::o;4285:451::-;4354:6;4407:2;4395:9;4386:7;4382:23;4378:32;4375:52;;;4423:1;4420;4413:12;4375:52;4463:9;4450:23;4496:18;4488:6;4485:30;4482:50;;;4528:1;4525;4518:12;4482:50;4551:22;;4604:4;4596:13;;4592:27;-1:-1:-1;4582:55:1;;4633:1;4630;4623:12;4582:55;4656:74;4722:7;4717:2;4704:16;4699:2;4695;4691:11;4656:74;:::i;4741:347::-;4806:6;4814;4867:2;4855:9;4846:7;4842:23;4838:32;4835:52;;;4883:1;4880;4873:12;4835:52;4906:29;4925:9;4906:29;:::i;:::-;4896:39;;4985:2;4974:9;4970:18;4957:32;5032:5;5025:13;5018:21;5011:5;5008:32;4998:60;;5054:1;5051;5044:12;4998:60;5077:5;5067:15;;;4741:347;;;;;:::o;5093:667::-;5188:6;5196;5204;5212;5265:3;5253:9;5244:7;5240:23;5236:33;5233:53;;;5282:1;5279;5272:12;5233:53;5305:29;5324:9;5305:29;:::i;:::-;5295:39;;5353:38;5387:2;5376:9;5372:18;5353:38;:::i;:::-;5343:48;;5438:2;5427:9;5423:18;5410:32;5400:42;;5493:2;5482:9;5478:18;5465:32;5520:18;5512:6;5509:30;5506:50;;;5552:1;5549;5542:12;5506:50;5575:22;;5628:4;5620:13;;5616:27;-1:-1:-1;5606:55:1;;5657:1;5654;5647:12;5606:55;5680:74;5746:7;5741:2;5728:16;5723:2;5719;5715:11;5680:74;:::i;:::-;5670:84;;;5093:667;;;;;;;:::o;5765:260::-;5833:6;5841;5894:2;5882:9;5873:7;5869:23;5865:32;5862:52;;;5910:1;5907;5900:12;5862:52;5933:29;5952:9;5933:29;:::i;:::-;5923:39;;5981:38;6015:2;6004:9;6000:18;5981:38;:::i;:::-;5971:48;;5765:260;;;;;:::o;6030:380::-;6109:1;6105:12;;;;6152;;;6173:61;;6227:4;6219:6;6215:17;6205:27;;6173:61;6280:2;6272:6;6269:14;6249:18;6246:38;6243:161;;;6326:10;6321:3;6317:20;6314:1;6307:31;6361:4;6358:1;6351:15;6389:4;6386:1;6379:15;7247:409;7449:2;7431:21;;;7488:2;7468:18;;;7461:30;7527:34;7522:2;7507:18;;7500:62;-1:-1:-1;;;7593:2:1;7578:18;;7571:43;7646:3;7631:19;;7247:409::o;8073:127::-;8134:10;8129:3;8125:20;8122:1;8115:31;8165:4;8162:1;8155:15;8189:4;8186:1;8179:15;8205:127;8266:10;8261:3;8257:20;8254:1;8247:31;8297:4;8294:1;8287:15;8321:4;8318:1;8311:15;8337:135;8376:3;-1:-1:-1;;8397:17:1;;8394:43;;;8417:18;;:::i;:::-;-1:-1:-1;8464:1:1;8453:13;;8337:135::o;10340:128::-;10380:3;10411:1;10407:6;10404:1;10401:13;10398:39;;;10417:18;;:::i;:::-;-1:-1:-1;10453:9:1;;10340:128::o;11172:168::-;11212:7;11278:1;11274;11270:6;11266:14;11263:1;11260:21;11255:1;11248:9;11241:17;11237:45;11234:71;;;11285:18;;:::i;:::-;-1:-1:-1;11325:9:1;;11172:168::o;12237:1527::-;12461:3;12499:6;12493:13;12525:4;12538:51;12582:6;12577:3;12572:2;12564:6;12560:15;12538:51;:::i;:::-;12652:13;;12611:16;;;;12674:55;12652:13;12611:16;12696:15;;;12674:55;:::i;:::-;12818:13;;12751:20;;;12791:1;;12878;12900:18;;;;12953;;;;12980:93;;13058:4;13048:8;13044:19;13032:31;;12980:93;13121:2;13111:8;13108:16;13088:18;13085:40;13082:167;;;-1:-1:-1;;;13148:33:1;;13204:4;13201:1;13194:15;13234:4;13155:3;13222:17;13082:167;13265:18;13292:110;;;;13416:1;13411:328;;;;13258:481;;13292:110;-1:-1:-1;;13327:24:1;;13313:39;;13372:20;;;;-1:-1:-1;13292:110:1;;13411:328;12184:1;12177:14;;;12221:4;12208:18;;13506:1;13520:169;13534:8;13531:1;13528:15;13520:169;;;13616:14;;13601:13;;;13594:37;13659:16;;;;13551:10;;13520:169;;;13524:3;;13720:8;13713:5;13709:20;13702:27;;13258:481;-1:-1:-1;13755:3:1;;12237:1527;-1:-1:-1;;;;;;;;;;;12237:1527:1:o;14537:401::-;14739:2;14721:21;;;14778:2;14758:18;;;14751:30;14817:34;14812:2;14797:18;;14790:62;-1:-1:-1;;;14883:2:1;14868:18;;14861:35;14928:3;14913:19;;14537:401::o;15702:414::-;15904:2;15886:21;;;15943:2;15923:18;;;15916:30;15982:34;15977:2;15962:18;;15955:62;-1:-1:-1;;;16048:2:1;16033:18;;16026:48;16106:3;16091:19;;15702:414::o;16675:489::-;-1:-1:-1;;;;;16944:15:1;;;16926:34;;16996:15;;16991:2;16976:18;;16969:43;17043:2;17028:18;;17021:34;;;17091:3;17086:2;17071:18;;17064:31;;;16869:4;;17112:46;;17138:19;;17130:6;17112:46;:::i;:::-;17104:54;16675:489;-1:-1:-1;;;;;;16675:489:1:o;17169:249::-;17238:6;17291:2;17279:9;17270:7;17266:23;17262:32;17259:52;;;17307:1;17304;17297:12;17259:52;17339:9;17333:16;17358:30;17382:5;17358:30;:::i;17423:125::-;17463:4;17491:1;17488;17485:8;17482:34;;;17496:18;;:::i;:::-;-1:-1:-1;17533:9:1;;17423:125::o;17553:127::-;17614:10;17609:3;17605:20;17602:1;17595:31;17645:4;17642:1;17635:15;17669:4;17666:1;17659:15
Swarm Source
ipfs://8703492e1daeee5d7d1f940c64a2cca8b5bfb2d17b2c76697b0508dd70a84630
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.