ERC-721
Overview
Max Total Supply
23 ★CATS
Holders
11
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ★CATSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cosmikitties
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-15 */ // 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: contracts/Cosmikitties.sol pragma solidity ^0.8.0; contract Cosmikitties is ERC721Enumerable, Ownable { using Strings for uint256; string _baseTokenURI; uint256 private _reserved = 2; uint256 private _price = 0.033 ether; bool public _paused = true; // The actual LUNE contract name is used on, well, the LUNE contract. // Thus, the kitties themselves operate on a differently titled contract! // There was a discussion regarding having the total supply minted and listed vs allowing others to mint. constructor(string memory baseURI) ERC721("Cosmikitties", unicode"★CATS") { setBaseURI(baseURI); // The 0th cat goes to the creator. _safeMint( msg.sender, 0); } function adopt(uint256 num) public payable { uint256 supply = totalSupply(); require( !_paused, "Sale paused" ); require( num < 4, "You can adopt a maximum of 3 kitties at a time!" ); require( supply + num < 36 - _reserved, "There aren't that many kitties up for adoption!" ); require( msg.value >= _price * num, "Ether sent is not correct, check the price function for the current price per kitty." ); for(uint256 i; i < num; i++){ _safeMint( msg.sender, supply + i ); } } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } // Just in case Eth does some crazy stuff function setPrice(uint256 _newPrice) public onlyOwner() { _price = _newPrice; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function getPrice() public view returns (uint256){ return _price; } function giveAway(address _to, uint256 _amount) external onlyOwner() { require( _amount <= _reserved, "Exceeds reserved supply" ); uint256 supply = totalSupply(); for(uint256 i; i < _amount; i++){ _safeMint( _to, supply + i ); } _reserved -= _amount; } function pause(bool val) public onlyOwner { _paused = val; } function withdrawAll() 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":"baseURI","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":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"adopt","outputs":[],"stateMutability":"payable","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526002600c5566753d533d968000600d55600e805460ff191660011790553480156200002e57600080fd5b5060405162002dff38038062002dff833981016040819052620000519162000952565b6040518060400160405280600c81526020016b436f736d696b69747469657360a01b81525060405180604001604052806007815260200166e298854341545360c81b8152508160009081620000a7919062000a98565b506001620000b6828262000a98565b505050620000d3620000cd620000f260201b60201c565b620000f6565b620000de8162000148565b620000eb33600062000164565b5062000c41565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200015262000186565b600b62000160828262000a98565b5050565b62000160828260405180602001604052806000815250620001e860201b60201c565b600a546001600160a01b03163314620001e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b620001f4838362000260565b62000203600084848462000401565b6200025b5760405162461bcd60e51b8152602060048201526032602482015260008051602062002ddf83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001dd565b505050565b6001600160a01b038216620002b85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001dd565b6000818152600260205260409020546001600160a01b0316156200031f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001dd565b6200032f6000838360016200055d565b6000818152600260205260409020546001600160a01b031615620003965760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001dd565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000422846001600160a01b0316620006c760201b62000eb41760201c565b156200055157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200045c90339089908890889060040162000b64565b6020604051808303816000875af19250505080156200049a575060408051601f3d908101601f19168201909252620004979181019062000bba565b60015b62000536573d808015620004cb576040519150601f19603f3d011682016040523d82523d6000602084013e620004d0565b606091505b5080516000036200052e5760405162461bcd60e51b8152602060048201526032602482015260008051602062002ddf83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001dd565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000555565b5060015b949350505050565b6200057684848484620006c160201b62000d1f1760201c565b6001811115620005ef5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401620001dd565b816001600160a01b0385166200064e576200064881600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000674565b836001600160a01b0316856001600160a01b0316146200067457620006748582620006d6565b6001600160a01b03841662000694576200068e8162000783565b620006ba565b846001600160a01b0316846001600160a01b031614620006ba57620006ba84826200083d565b5050505050565b50505050565b6001600160a01b03163b151590565b60006001620006f0846200088e60201b620009fc1760201c565b620006fc919062000bed565b60008381526007602052604090205490915080821462000750576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620007979060019062000bed565b60008381526009602052604081205460088054939450909284908110620007c257620007c262000c15565b906000526020600020015490508060088381548110620007e657620007e662000c15565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062000821576200082162000c2b565b6001900381819060005260206000200160009055905550505050565b600062000855836200088e60201b620009fc1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620008fa5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401620001dd565b506001600160a01b031660009081526003602052604090205490565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620009495781810151838201526020016200092f565b50506000910152565b6000602082840312156200096557600080fd5b81516001600160401b03808211156200097d57600080fd5b818401915084601f8301126200099257600080fd5b815181811115620009a757620009a762000916565b604051601f8201601f19908116603f01168101908382118183101715620009d257620009d262000916565b81604052828152876020848701011115620009ec57600080fd5b620009ff8360208301602088016200092c565b979650505050505050565b600181811c9082168062000a1f57607f821691505b60208210810362000a4057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025b57600081815260208120601f850160051c8101602086101562000a6f5750805b601f850160051c820191505b8181101562000a905782815560010162000a7b565b505050505050565b81516001600160401b0381111562000ab45762000ab462000916565b62000acc8162000ac5845462000a0a565b8462000a46565b602080601f83116001811462000b04576000841562000aeb5750858301515b600019600386901b1c1916600185901b17855562000a90565b600085815260208120601f198616915b8281101562000b355788860151825594840194600190910190840162000b14565b508582101562000b545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000ba38160a08501602087016200092c565b601f01601f19169190910160a00195945050505050565b60006020828403121562000bcd57600080fd5b81516001600160e01b03198116811462000be657600080fd5b9392505050565b8181038181111562000c0f57634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b61218e8062000c516000396000f3fe6080604052600436106101b75760003560e01c806370a08231116100ec57806398d5fdca1161008a578063c87b56dd11610064578063c87b56dd146104ab578063ca800144146104cb578063e985e9c5146104eb578063f2fde38b1461053457600080fd5b806398d5fdca14610456578063a22cb4651461046b578063b88d4fde1461048b57600080fd5b80638588b2c5116100c65780638588b2c5146103f05780638da5cb5b1461040357806391b7f5ed1461042157806395d89b411461044157600080fd5b806370a08231146103b3578063715018a6146103d3578063853828b6146103e857600080fd5b806323b872dd11610159578063438b630011610133578063438b6300146103265780634f6ccce71461035357806355f804b3146103735780636352211e1461039357600080fd5b806323b872dd146102c65780632f745c59146102e657806342842e0e1461030657600080fd5b8063081812fc11610195578063081812fc14610235578063095ea7b31461026d57806316c61ccc1461028d57806318160ddd146102a757600080fd5b806301ffc9a7146101bc57806302329a29146101f157806306fdde0314610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611ab8565b610554565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061021161020c366004611aea565b61057f565b005b34801561021f57600080fd5b5061022861059a565b6040516101e89190611b55565b34801561024157600080fd5b50610255610250366004611b68565b61062c565b6040516001600160a01b0390911681526020016101e8565b34801561027957600080fd5b50610211610288366004611b98565b610653565b34801561029957600080fd5b50600e546101dc9060ff1681565b3480156102b357600080fd5b506008545b6040519081526020016101e8565b3480156102d257600080fd5b506102116102e1366004611bc2565b61076d565b3480156102f257600080fd5b506102b8610301366004611b98565b61079e565b34801561031257600080fd5b50610211610321366004611bc2565b610834565b34801561033257600080fd5b50610346610341366004611bfe565b61084f565b6040516101e89190611c19565b34801561035f57600080fd5b506102b861036e366004611b68565b6108f1565b34801561037f57600080fd5b5061021161038e366004611ce9565b610984565b34801561039f57600080fd5b506102556103ae366004611b68565b61099c565b3480156103bf57600080fd5b506102b86103ce366004611bfe565b6109fc565b3480156103df57600080fd5b50610211610a82565b610211610a96565b6102116103fe366004611b68565b610ac2565b34801561040f57600080fd5b50600a546001600160a01b0316610255565b34801561042d57600080fd5b5061021161043c366004611b68565b610cc6565b34801561044d57600080fd5b50610228610cd3565b34801561046257600080fd5b50600d546102b8565b34801561047757600080fd5b50610211610486366004611d32565b610ce2565b34801561049757600080fd5b506102116104a6366004611d65565b610ced565b3480156104b757600080fd5b506102286104c6366004611b68565b610d25565b3480156104d757600080fd5b506102116104e6366004611b98565b610d8c565b3480156104f757600080fd5b506101dc610506366004611de1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b5061021161054f366004611bfe565b610e3b565b60006001600160e01b0319821663780e9d6360e01b1480610579575061057982610ec3565b92915050565b610587610f13565b600e805460ff1916911515919091179055565b6060600080546105a990611e0b565b80601f01602080910402602001604051908101604052809291908181526020018280546105d590611e0b565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b5050505050905090565b600061063782610f6d565b506000908152600460205260409020546001600160a01b031690565b600061065e8261099c565b9050806001600160a01b0316836001600160a01b0316036106d05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106ec57506106ec8133610506565b61075e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106c7565b6107688383610fcc565b505050565b610777338261103a565b6107935760405162461bcd60e51b81526004016106c790611e45565b6107688383836110b9565b60006107a9836109fc565b821061080b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61076883838360405180602001604052806000815250610ced565b6060600061085c836109fc565b905060008167ffffffffffffffff81111561087957610879611c5d565b6040519080825280602002602001820160405280156108a2578160200160208202803683370190505b50905060005b828110156108e9576108ba858261079e565b8282815181106108cc576108cc611e92565b6020908102919091010152806108e181611ebe565b9150506108a8565b509392505050565b60006108fc60085490565b821061095f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c7565b6008828154811061097257610972611e92565b90600052602060002001549050919050565b61098c610f13565b600b6109988282611f25565b5050565b6000818152600260205260408120546001600160a01b0316806105795760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b60006001600160a01b038216610a665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106c7565b506001600160a01b031660009081526003602052604090205490565b610a8a610f13565b610a94600061122a565b565b610a9e610f13565b60405133904780156108fc02916000818181858888f19350505050610a9457600080fd5b6000610acd60085490565b600e5490915060ff1615610b115760405162461bcd60e51b815260206004820152600b60248201526a14d85b19481c185d5cd95960aa1b60448201526064016106c7565b60048210610b795760405162461bcd60e51b815260206004820152602f60248201527f596f752063616e2061646f70742061206d6178696d756d206f662033206b697460448201526e7469657320617420612074696d652160881b60648201526084016106c7565b600c54610b87906024611fe5565b610b918383611ff8565b10610bf65760405162461bcd60e51b815260206004820152602f60248201527f5468657265206172656e27742074686174206d616e79206b697474696573207560448201526e7020666f722061646f7074696f6e2160881b60648201526084016106c7565b81600d54610c04919061200b565b341015610c965760405162461bcd60e51b815260206004820152605460248201527f45746865722073656e74206973206e6f7420636f72726563742c20636865636b60448201527f207468652070726963652066756e6374696f6e20666f7220746865206375727260648201527332b73a10383934b1b2903832b91035b4ba3a3c9760611b608482015260a4016106c7565b60005b8281101561076857610cb433610caf8385611ff8565b61127c565b80610cbe81611ebe565b915050610c99565b610cce610f13565b600d55565b6060600180546105a990611e0b565b610998338383611296565b610cf7338361103a565b610d135760405162461bcd60e51b81526004016106c790611e45565b610d1f84848484611364565b50505050565b6060610d3082610f6d565b6000610d3a611397565b90506000815111610d5a5760405180602001604052806000815250610d85565b80610d64846113a6565b604051602001610d75929190612022565b6040516020818303038152906040525b9392505050565b610d94610f13565b600c54811115610de65760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c7900000000000000000060448201526064016106c7565b6000610df160085490565b905060005b82811015610e1e57610e0c84610caf8385611ff8565b80610e1681611ebe565b915050610df6565b5081600c6000828254610e319190611fe5565b9091555050505050565b610e43610f13565b6001600160a01b038116610ea85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c7565b610eb18161122a565b50565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480610ef457506001600160e01b03198216635b5e139f60e01b145b8061057957506301ffc9a760e01b6001600160e01b0319831614610579565b600a546001600160a01b03163314610a945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c7565b6000818152600260205260409020546001600160a01b0316610eb15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110018261099c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110468361099c565b9050806001600160a01b0316846001600160a01b0316148061108d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110b15750836001600160a01b03166110a68461062c565b6001600160a01b0316145b949350505050565b826001600160a01b03166110cc8261099c565b6001600160a01b0316146110f25760405162461bcd60e51b81526004016106c790612051565b6001600160a01b0382166111545760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c7565b6111618383836001611439565b826001600160a01b03166111748261099c565b6001600160a01b03161461119a5760405162461bcd60e51b81526004016106c790612051565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61099882826040518060200160405280600081525061156d565b816001600160a01b0316836001600160a01b0316036112f75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61136f8484846110b9565b61137b848484846115a0565b610d1f5760405162461bcd60e51b81526004016106c790612096565b6060600b80546105a990611e0b565b606060006113b3836116a1565b600101905060008167ffffffffffffffff8111156113d3576113d3611c5d565b6040519080825280601f01601f1916602001820160405280156113fd576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461140757509392505050565b60018111156114a85760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106c7565b816001600160a01b038516611504576114ff81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611527565b836001600160a01b0316856001600160a01b031614611527576115278582611779565b6001600160a01b0384166115435761153e81611816565b611566565b846001600160a01b0316846001600160a01b0316146115665761156684826118c5565b5050505050565b6115778383611909565b61158460008484846115a0565b6107685760405162461bcd60e51b81526004016106c790612096565b60006001600160a01b0384163b1561169657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115e49033908990889088906004016120e8565b6020604051808303816000875af192505050801561161f575060408051601f3d908101601f1916820190925261161c91810190612125565b60015b61167c573d80801561164d576040519150601f19603f3d011682016040523d82523d6000602084013e611652565b606091505b5080516000036116745760405162461bcd60e51b81526004016106c790612096565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110b1565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116e05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061170c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172a57662386f26fc10000830492506010015b6305f5e1008310611742576305f5e100830492506008015b612710831061175657612710830492506004015b60648310611768576064830492506002015b600a83106105795760010192915050565b60006001611786846109fc565b6117909190611fe5565b6000838152600760205260409020549091508082146117e3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061182890600190611fe5565b6000838152600960205260408120546008805493945090928490811061185057611850611e92565b90600052602060002001549050806008838154811061187157611871611e92565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806118a9576118a9612142565b6001900381819060005260206000200160009055905550505050565b60006118d0836109fc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661195f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c7565b6000818152600260205260409020546001600160a01b0316156119c45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c7565b6119d2600083836001611439565b6000818152600260205260409020546001600160a01b031615611a375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610eb157600080fd5b600060208284031215611aca57600080fd5b8135610d8581611aa2565b80358015158114611ae557600080fd5b919050565b600060208284031215611afc57600080fd5b610d8582611ad5565b60005b83811015611b20578181015183820152602001611b08565b50506000910152565b60008151808452611b41816020860160208601611b05565b601f01601f19169290920160200192915050565b602081526000610d856020830184611b29565b600060208284031215611b7a57600080fd5b5035919050565b80356001600160a01b0381168114611ae557600080fd5b60008060408385031215611bab57600080fd5b611bb483611b81565b946020939093013593505050565b600080600060608486031215611bd757600080fd5b611be084611b81565b9250611bee60208501611b81565b9150604084013590509250925092565b600060208284031215611c1057600080fd5b610d8582611b81565b6020808252825182820181905260009190848201906040850190845b81811015611c5157835183529284019291840191600101611c35565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c8e57611c8e611c5d565b604051601f8501601f19908116603f01168101908282118183101715611cb657611cb6611c5d565b81604052809350858152868686011115611ccf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611cfb57600080fd5b813567ffffffffffffffff811115611d1257600080fd5b8201601f81018413611d2357600080fd5b6110b184823560208401611c73565b60008060408385031215611d4557600080fd5b611d4e83611b81565b9150611d5c60208401611ad5565b90509250929050565b60008060008060808587031215611d7b57600080fd5b611d8485611b81565b9350611d9260208601611b81565b925060408501359150606085013567ffffffffffffffff811115611db557600080fd5b8501601f81018713611dc657600080fd5b611dd587823560208401611c73565b91505092959194509250565b60008060408385031215611df457600080fd5b611dfd83611b81565b9150611d5c60208401611b81565b600181811c90821680611e1f57607f821691505b602082108103611e3f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ed057611ed0611ea8565b5060010190565b601f82111561076857600081815260208120601f850160051c81016020861015611efe5750805b601f850160051c820191505b81811015611f1d57828155600101611f0a565b505050505050565b815167ffffffffffffffff811115611f3f57611f3f611c5d565b611f5381611f4d8454611e0b565b84611ed7565b602080601f831160018114611f885760008415611f705750858301515b600019600386901b1c1916600185901b178555611f1d565b600085815260208120601f198616915b82811015611fb757888601518255948401946001909101908401611f98565b5085821015611fd55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561057957610579611ea8565b8082018082111561057957610579611ea8565b808202811582820484141761057957610579611ea8565b60008351612034818460208801611b05565b835190830190612048818360208801611b05565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211b90830184611b29565b9695505050505050565b60006020828403121561213757600080fd5b8151610d8581611aa2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220332670d1c91c14f08ae755323a0631cad33ed9f518a978694beb2742a759156864736f6c634300081200334552433732313a207472616e7366657220746f206e6f6e2045524337323152650000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5079646b567a64397739323644736d4c5844586b6f4376564e566f3353446a796671365350703535475133442f000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806370a08231116100ec57806398d5fdca1161008a578063c87b56dd11610064578063c87b56dd146104ab578063ca800144146104cb578063e985e9c5146104eb578063f2fde38b1461053457600080fd5b806398d5fdca14610456578063a22cb4651461046b578063b88d4fde1461048b57600080fd5b80638588b2c5116100c65780638588b2c5146103f05780638da5cb5b1461040357806391b7f5ed1461042157806395d89b411461044157600080fd5b806370a08231146103b3578063715018a6146103d3578063853828b6146103e857600080fd5b806323b872dd11610159578063438b630011610133578063438b6300146103265780634f6ccce71461035357806355f804b3146103735780636352211e1461039357600080fd5b806323b872dd146102c65780632f745c59146102e657806342842e0e1461030657600080fd5b8063081812fc11610195578063081812fc14610235578063095ea7b31461026d57806316c61ccc1461028d57806318160ddd146102a757600080fd5b806301ffc9a7146101bc57806302329a29146101f157806306fdde0314610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611ab8565b610554565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061021161020c366004611aea565b61057f565b005b34801561021f57600080fd5b5061022861059a565b6040516101e89190611b55565b34801561024157600080fd5b50610255610250366004611b68565b61062c565b6040516001600160a01b0390911681526020016101e8565b34801561027957600080fd5b50610211610288366004611b98565b610653565b34801561029957600080fd5b50600e546101dc9060ff1681565b3480156102b357600080fd5b506008545b6040519081526020016101e8565b3480156102d257600080fd5b506102116102e1366004611bc2565b61076d565b3480156102f257600080fd5b506102b8610301366004611b98565b61079e565b34801561031257600080fd5b50610211610321366004611bc2565b610834565b34801561033257600080fd5b50610346610341366004611bfe565b61084f565b6040516101e89190611c19565b34801561035f57600080fd5b506102b861036e366004611b68565b6108f1565b34801561037f57600080fd5b5061021161038e366004611ce9565b610984565b34801561039f57600080fd5b506102556103ae366004611b68565b61099c565b3480156103bf57600080fd5b506102b86103ce366004611bfe565b6109fc565b3480156103df57600080fd5b50610211610a82565b610211610a96565b6102116103fe366004611b68565b610ac2565b34801561040f57600080fd5b50600a546001600160a01b0316610255565b34801561042d57600080fd5b5061021161043c366004611b68565b610cc6565b34801561044d57600080fd5b50610228610cd3565b34801561046257600080fd5b50600d546102b8565b34801561047757600080fd5b50610211610486366004611d32565b610ce2565b34801561049757600080fd5b506102116104a6366004611d65565b610ced565b3480156104b757600080fd5b506102286104c6366004611b68565b610d25565b3480156104d757600080fd5b506102116104e6366004611b98565b610d8c565b3480156104f757600080fd5b506101dc610506366004611de1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054057600080fd5b5061021161054f366004611bfe565b610e3b565b60006001600160e01b0319821663780e9d6360e01b1480610579575061057982610ec3565b92915050565b610587610f13565b600e805460ff1916911515919091179055565b6060600080546105a990611e0b565b80601f01602080910402602001604051908101604052809291908181526020018280546105d590611e0b565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b5050505050905090565b600061063782610f6d565b506000908152600460205260409020546001600160a01b031690565b600061065e8261099c565b9050806001600160a01b0316836001600160a01b0316036106d05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106ec57506106ec8133610506565b61075e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106c7565b6107688383610fcc565b505050565b610777338261103a565b6107935760405162461bcd60e51b81526004016106c790611e45565b6107688383836110b9565b60006107a9836109fc565b821061080b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61076883838360405180602001604052806000815250610ced565b6060600061085c836109fc565b905060008167ffffffffffffffff81111561087957610879611c5d565b6040519080825280602002602001820160405280156108a2578160200160208202803683370190505b50905060005b828110156108e9576108ba858261079e565b8282815181106108cc576108cc611e92565b6020908102919091010152806108e181611ebe565b9150506108a8565b509392505050565b60006108fc60085490565b821061095f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c7565b6008828154811061097257610972611e92565b90600052602060002001549050919050565b61098c610f13565b600b6109988282611f25565b5050565b6000818152600260205260408120546001600160a01b0316806105795760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b60006001600160a01b038216610a665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106c7565b506001600160a01b031660009081526003602052604090205490565b610a8a610f13565b610a94600061122a565b565b610a9e610f13565b60405133904780156108fc02916000818181858888f19350505050610a9457600080fd5b6000610acd60085490565b600e5490915060ff1615610b115760405162461bcd60e51b815260206004820152600b60248201526a14d85b19481c185d5cd95960aa1b60448201526064016106c7565b60048210610b795760405162461bcd60e51b815260206004820152602f60248201527f596f752063616e2061646f70742061206d6178696d756d206f662033206b697460448201526e7469657320617420612074696d652160881b60648201526084016106c7565b600c54610b87906024611fe5565b610b918383611ff8565b10610bf65760405162461bcd60e51b815260206004820152602f60248201527f5468657265206172656e27742074686174206d616e79206b697474696573207560448201526e7020666f722061646f7074696f6e2160881b60648201526084016106c7565b81600d54610c04919061200b565b341015610c965760405162461bcd60e51b815260206004820152605460248201527f45746865722073656e74206973206e6f7420636f72726563742c20636865636b60448201527f207468652070726963652066756e6374696f6e20666f7220746865206375727260648201527332b73a10383934b1b2903832b91035b4ba3a3c9760611b608482015260a4016106c7565b60005b8281101561076857610cb433610caf8385611ff8565b61127c565b80610cbe81611ebe565b915050610c99565b610cce610f13565b600d55565b6060600180546105a990611e0b565b610998338383611296565b610cf7338361103a565b610d135760405162461bcd60e51b81526004016106c790611e45565b610d1f84848484611364565b50505050565b6060610d3082610f6d565b6000610d3a611397565b90506000815111610d5a5760405180602001604052806000815250610d85565b80610d64846113a6565b604051602001610d75929190612022565b6040516020818303038152906040525b9392505050565b610d94610f13565b600c54811115610de65760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420737570706c7900000000000000000060448201526064016106c7565b6000610df160085490565b905060005b82811015610e1e57610e0c84610caf8385611ff8565b80610e1681611ebe565b915050610df6565b5081600c6000828254610e319190611fe5565b9091555050505050565b610e43610f13565b6001600160a01b038116610ea85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c7565b610eb18161122a565b50565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480610ef457506001600160e01b03198216635b5e139f60e01b145b8061057957506301ffc9a760e01b6001600160e01b0319831614610579565b600a546001600160a01b03163314610a945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106c7565b6000818152600260205260409020546001600160a01b0316610eb15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106c7565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110018261099c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110468361099c565b9050806001600160a01b0316846001600160a01b0316148061108d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110b15750836001600160a01b03166110a68461062c565b6001600160a01b0316145b949350505050565b826001600160a01b03166110cc8261099c565b6001600160a01b0316146110f25760405162461bcd60e51b81526004016106c790612051565b6001600160a01b0382166111545760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c7565b6111618383836001611439565b826001600160a01b03166111748261099c565b6001600160a01b03161461119a5760405162461bcd60e51b81526004016106c790612051565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61099882826040518060200160405280600081525061156d565b816001600160a01b0316836001600160a01b0316036112f75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61136f8484846110b9565b61137b848484846115a0565b610d1f5760405162461bcd60e51b81526004016106c790612096565b6060600b80546105a990611e0b565b606060006113b3836116a1565b600101905060008167ffffffffffffffff8111156113d3576113d3611c5d565b6040519080825280601f01601f1916602001820160405280156113fd576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461140757509392505050565b60018111156114a85760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106c7565b816001600160a01b038516611504576114ff81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611527565b836001600160a01b0316856001600160a01b031614611527576115278582611779565b6001600160a01b0384166115435761153e81611816565b611566565b846001600160a01b0316846001600160a01b0316146115665761156684826118c5565b5050505050565b6115778383611909565b61158460008484846115a0565b6107685760405162461bcd60e51b81526004016106c790612096565b60006001600160a01b0384163b1561169657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115e49033908990889088906004016120e8565b6020604051808303816000875af192505050801561161f575060408051601f3d908101601f1916820190925261161c91810190612125565b60015b61167c573d80801561164d576040519150601f19603f3d011682016040523d82523d6000602084013e611652565b606091505b5080516000036116745760405162461bcd60e51b81526004016106c790612096565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110b1565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116e05772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061170c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061172a57662386f26fc10000830492506010015b6305f5e1008310611742576305f5e100830492506008015b612710831061175657612710830492506004015b60648310611768576064830492506002015b600a83106105795760010192915050565b60006001611786846109fc565b6117909190611fe5565b6000838152600760205260409020549091508082146117e3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061182890600190611fe5565b6000838152600960205260408120546008805493945090928490811061185057611850611e92565b90600052602060002001549050806008838154811061187157611871611e92565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806118a9576118a9612142565b6001900381819060005260206000200160009055905550505050565b60006118d0836109fc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661195f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c7565b6000818152600260205260409020546001600160a01b0316156119c45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c7565b6119d2600083836001611439565b6000818152600260205260409020546001600160a01b031615611a375760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610eb157600080fd5b600060208284031215611aca57600080fd5b8135610d8581611aa2565b80358015158114611ae557600080fd5b919050565b600060208284031215611afc57600080fd5b610d8582611ad5565b60005b83811015611b20578181015183820152602001611b08565b50506000910152565b60008151808452611b41816020860160208601611b05565b601f01601f19169290920160200192915050565b602081526000610d856020830184611b29565b600060208284031215611b7a57600080fd5b5035919050565b80356001600160a01b0381168114611ae557600080fd5b60008060408385031215611bab57600080fd5b611bb483611b81565b946020939093013593505050565b600080600060608486031215611bd757600080fd5b611be084611b81565b9250611bee60208501611b81565b9150604084013590509250925092565b600060208284031215611c1057600080fd5b610d8582611b81565b6020808252825182820181905260009190848201906040850190845b81811015611c5157835183529284019291840191600101611c35565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c8e57611c8e611c5d565b604051601f8501601f19908116603f01168101908282118183101715611cb657611cb6611c5d565b81604052809350858152868686011115611ccf57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611cfb57600080fd5b813567ffffffffffffffff811115611d1257600080fd5b8201601f81018413611d2357600080fd5b6110b184823560208401611c73565b60008060408385031215611d4557600080fd5b611d4e83611b81565b9150611d5c60208401611ad5565b90509250929050565b60008060008060808587031215611d7b57600080fd5b611d8485611b81565b9350611d9260208601611b81565b925060408501359150606085013567ffffffffffffffff811115611db557600080fd5b8501601f81018713611dc657600080fd5b611dd587823560208401611c73565b91505092959194509250565b60008060408385031215611df457600080fd5b611dfd83611b81565b9150611d5c60208401611b81565b600181811c90821680611e1f57607f821691505b602082108103611e3f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ed057611ed0611ea8565b5060010190565b601f82111561076857600081815260208120601f850160051c81016020861015611efe5750805b601f850160051c820191505b81811015611f1d57828155600101611f0a565b505050505050565b815167ffffffffffffffff811115611f3f57611f3f611c5d565b611f5381611f4d8454611e0b565b84611ed7565b602080601f831160018114611f885760008415611f705750858301515b600019600386901b1c1916600185901b178555611f1d565b600085815260208120601f198616915b82811015611fb757888601518255948401946001909101908401611f98565b5085821015611fd55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561057957610579611ea8565b8082018082111561057957610579611ea8565b808202811582820484141761057957610579611ea8565b60008351612034818460208801611b05565b835190830190612048818360208801611b05565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061211b90830184611b29565b9695505050505050565b60006020828403121561213757600080fd5b8151610d8581611aa2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220332670d1c91c14f08ae755323a0631cad33ed9f518a978694beb2742a759156864736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5079646b567a64397739323644736d4c5844586b6f4376564e566f3353446a796671365350703535475133442f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmPydkVzd9w926DsmLXDXkoCvVNVo3SDjyfq6SPp55GQ3D/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d5079646b567a64397739323644736d4c5844586b6f4376564e566f33
Arg [4] : 53446a796671365350703535475133442f000000000000000000000000000000
Deployed Bytecode Sourcemap
62852:2703:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56845:224;;;;;;;;;;-1:-1:-1;56845:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;56845:224:0;;;;;;;;65347:74;;;;;;;;;;-1:-1:-1;65347:74:0;;;;;:::i;:::-;;:::i;:::-;;40552:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42064:171::-;;;;;;;;;;-1:-1:-1;42064:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2047:32:1;;;2029:51;;2017:2;2002:18;42064:171:0;1883:203:1;41582:416:0;;;;;;;;;;-1:-1:-1;41582:416:0;;;;;:::i;:::-;;:::i;63052:26::-;;;;;;;;;;-1:-1:-1;63052:26:0;;;;;;;;57485:113;;;;;;;;;;-1:-1:-1;57573:10:0;:17;57485:113;;;2674:25:1;;;2662:2;2647:18;57485:113:0;2528:177:1;42764:335:0;;;;;;;;;;-1:-1:-1;42764:335:0;;;;;:::i;:::-;;:::i;57153:256::-;;;;;;;;;;-1:-1:-1;57153:256:0;;;;;:::i;:::-;;:::i;43170:185::-;;;;;;;;;;-1:-1:-1;43170:185:0;;;;;:::i;:::-;;:::i;64201:342::-;;;;;;;;;;-1:-1:-1;64201:342:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57675:233::-;;;;;;;;;;-1:-1:-1;57675:233:0;;;;;:::i;:::-;;:::i;64821:102::-;;;;;;;;;;-1:-1:-1;64821:102:0;;;;;:::i;:::-;;:::i;40262:223::-;;;;;;;;;;-1:-1:-1;40262:223:0;;;;;:::i;:::-;;:::i;39993:207::-;;;;;;;;;;-1:-1:-1;39993:207:0;;;;;:::i;:::-;;:::i;17975:103::-;;;;;;;;;;;;;:::i;65429:123::-;;;:::i;63562:631::-;;;;;;:::i;:::-;;:::i;17327:87::-;;;;;;;;;;-1:-1:-1;17400:6:0;;-1:-1:-1;;;;;17400:6:0;17327:87;;64598:93;;;;;;;;;;-1:-1:-1;64598:93:0;;;;;:::i;:::-;;:::i;40721:104::-;;;;;;;;;;;;;:::i;64931:81::-;;;;;;;;;;-1:-1:-1;64998:6:0;;64931:81;;42307:155;;;;;;;;;;-1:-1:-1;42307:155:0;;;;;:::i;:::-;;:::i;43426:322::-;;;;;;;;;;-1:-1:-1;43426:322:0;;;;;:::i;:::-;;:::i;40896:281::-;;;;;;;;;;-1:-1:-1;40896:281:0;;;;;:::i;:::-;;:::i;65020:319::-;;;;;;;;;;-1:-1:-1;65020:319:0;;;;;:::i;:::-;;:::i;42533:164::-;;;;;;;;;;-1:-1:-1;42533:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;42654:25:0;;;42630:4;42654:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42533:164;18233:201;;;;;;;;;;-1:-1:-1;18233:201:0;;;;;:::i;:::-;;:::i;56845:224::-;56947:4;-1:-1:-1;;;;;;56971:50:0;;-1:-1:-1;;;56971:50:0;;:90;;;57025:36;57049:11;57025:23;:36::i;:::-;56964:97;56845:224;-1:-1:-1;;56845:224:0:o;65347:74::-;17213:13;:11;:13::i;:::-;65400:7:::1;:13:::0;;-1:-1:-1;;65400:13:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65347:74::o;40552:100::-;40606:13;40639:5;40632:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40552:100;:::o;42064:171::-;42140:7;42160:23;42175:7;42160:14;:23::i;:::-;-1:-1:-1;42203:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;42203:24:0;;42064:171::o;41582:416::-;41663:13;41679:23;41694:7;41679:14;:23::i;:::-;41663:39;;41727:5;-1:-1:-1;;;;;41721:11:0;:2;-1:-1:-1;;;;;41721:11:0;;41713:57;;;;-1:-1:-1;;;41713:57:0;;6879:2:1;41713:57:0;;;6861:21:1;6918:2;6898:18;;;6891:30;6957:34;6937:18;;;6930:62;-1:-1:-1;;;7008:18:1;;;7001:31;7049:19;;41713:57:0;;;;;;;;;15958:10;-1:-1:-1;;;;;41805:21:0;;;;:62;;-1:-1:-1;41830:37:0;41847:5;15958:10;42533:164;:::i;41830:37::-;41783:173;;;;-1:-1:-1;;;41783:173:0;;7281:2:1;41783:173:0;;;7263:21:1;7320:2;7300:18;;;7293:30;7359:34;7339:18;;;7332:62;7430:31;7410:18;;;7403:59;7479:19;;41783:173:0;7079:425:1;41783:173:0;41969:21;41978:2;41982:7;41969:8;:21::i;:::-;41652:346;41582:416;;:::o;42764:335::-;42959:41;15958:10;42992:7;42959:18;:41::i;:::-;42951:99;;;;-1:-1:-1;;;42951:99:0;;;;;;;:::i;:::-;43063:28;43073:4;43079:2;43083:7;43063:9;:28::i;57153:256::-;57250:7;57286:23;57303:5;57286:16;:23::i;:::-;57278:5;:31;57270:87;;;;-1:-1:-1;;;57270:87:0;;8125:2:1;57270:87:0;;;8107:21:1;8164:2;8144:18;;;8137:30;8203:34;8183:18;;;8176:62;-1:-1:-1;;;8254:18:1;;;8247:41;8305:19;;57270:87:0;7923:407:1;57270:87:0;-1:-1:-1;;;;;;57375:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;57153:256::o;43170:185::-;43308:39;43325:4;43331:2;43335:7;43308:39;;;;;;;;;;;;:16;:39::i;64201:342::-;64260:16;64289:18;64310:17;64320:6;64310:9;:17::i;:::-;64289:38;;64340:25;64382:10;64368:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64368:25:0;;64340:53;;64408:9;64404:106;64423:10;64419:1;:14;64404:106;;;64468:30;64488:6;64496:1;64468:19;:30::i;:::-;64454:8;64463:1;64454:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;64435:3;;;;:::i;:::-;;;;64404:106;;;-1:-1:-1;64527:8:0;64201:342;-1:-1:-1;;;64201:342:0:o;57675:233::-;57750:7;57786:30;57573:10;:17;;57485:113;57786:30;57778:5;:38;57770:95;;;;-1:-1:-1;;;57770:95:0;;8941:2:1;57770:95:0;;;8923:21:1;8980:2;8960:18;;;8953:30;9019:34;8999:18;;;8992:62;-1:-1:-1;;;9070:18:1;;;9063:42;9122:19;;57770:95:0;8739:408:1;57770:95:0;57883:10;57894:5;57883:17;;;;;;;;:::i;:::-;;;;;;;;;57876:24;;57675:233;;;:::o;64821:102::-;17213:13;:11;:13::i;:::-;64892::::1;:23;64908:7:::0;64892:13;:23:::1;:::i;:::-;;64821:102:::0;:::o;40262:223::-;40334:7;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;;40398:56;;;;-1:-1:-1;;;40398:56:0;;11558:2:1;40398:56:0;;;11540:21:1;11597:2;11577:18;;;11570:30;-1:-1:-1;;;11616:18:1;;;11609:54;11680:18;;40398:56:0;11356:348:1;39993:207:0;40065:7;-1:-1:-1;;;;;40093:19:0;;40085:73;;;;-1:-1:-1;;;40085:73:0;;11911:2:1;40085:73:0;;;11893:21:1;11950:2;11930:18;;;11923:30;11989:34;11969:18;;;11962:62;-1:-1:-1;;;12040:18:1;;;12033:39;12089:19;;40085:73:0;11709:405:1;40085:73:0;-1:-1:-1;;;;;;40176:16:0;;;;;:9;:16;;;;;;;39993:207::o;17975:103::-;17213:13;:11;:13::i;:::-;18040:30:::1;18067:1;18040:18;:30::i;:::-;17975:103::o:0;65429:123::-;17213:13;:11;:13::i;:::-;65496:47:::1;::::0;65504:10:::1;::::0;65521:21:::1;65496:47:::0;::::1;;;::::0;::::1;::::0;;;65521:21;65504:10;65496:47;::::1;;;;;;65488:56;;;::::0;::::1;63562:631:::0;63616:14;63633:13;57573:10;:17;;57485:113;63633:13;63667:7;;63616:30;;-1:-1:-1;63667:7:0;;63666:8;63657:63;;;;-1:-1:-1;;;63657:63:0;;12321:2:1;63657:63:0;;;12303:21:1;12360:2;12340:18;;;12333:30;-1:-1:-1;;;12379:18:1;;;12372:41;12430:18;;63657:63:0;12119:335:1;63657:63:0;63746:1;63740:3;:7;63731:98;;;;-1:-1:-1;;;63731:98:0;;12661:2:1;63731:98:0;;;12643:21:1;12700:2;12680:18;;;12673:30;12739:34;12719:18;;;12712:62;-1:-1:-1;;;12790:18:1;;;12783:45;12845:19;;63731:98:0;12459:411:1;63731:98:0;63869:9;;63864:14;;:2;:14;:::i;:::-;63849:12;63858:3;63849:6;:12;:::i;:::-;:29;63840:96;;;;-1:-1:-1;;;63840:96:0;;13340:2:1;63840:96:0;;;13322:21:1;13379:2;13359:18;;;13352:30;13418:34;13398:18;;;13391:62;-1:-1:-1;;;13469:18:1;;;13462:45;13524:19;;63840:96:0;13138:411:1;63840:96:0;63978:3;63969:6;;:12;;;;:::i;:::-;63956:9;:25;;63947:136;;;;-1:-1:-1;;;63947:136:0;;13929:2:1;63947:136:0;;;13911:21:1;13968:2;13948:18;;;13941:30;14007:34;13987:18;;;13980:62;14078:34;14058:18;;;14051:62;-1:-1:-1;;;14129:19:1;;;14122:51;14190:19;;63947:136:0;13727:488:1;63947:136:0;64100:9;64096:90;64115:3;64111:1;:7;64096:90;;;64139:35;64150:10;64162;64171:1;64162:6;:10;:::i;:::-;64139:9;:35::i;:::-;64120:3;;;;:::i;:::-;;;;64096:90;;64598:93;17213:13;:11;:13::i;:::-;64665:6:::1;:18:::0;64598:93::o;40721:104::-;40777:13;40810:7;40803:14;;;;;:::i;42307:155::-;42402:52;15958:10;42435:8;42445;42402:18;:52::i;43426:322::-;43600:41;15958:10;43633:7;43600:18;:41::i;:::-;43592:99;;;;-1:-1:-1;;;43592:99:0;;;;;;;:::i;:::-;43702:38;43716:4;43722:2;43726:7;43735:4;43702:13;:38::i;:::-;43426:322;;;;:::o;40896:281::-;40969:13;40995:23;41010:7;40995:14;:23::i;:::-;41031:21;41055:10;:8;:10::i;:::-;41031:34;;41107:1;41089:7;41083:21;:25;:86;;;;;;;;;;;;;;;;;41135:7;41144:18;:7;:16;:18::i;:::-;41118:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41083:86;41076:93;40896:281;-1:-1:-1;;;40896:281:0:o;65020:319::-;17213:13;:11;:13::i;:::-;65120:9:::1;;65109:7;:20;;65100:58;;;::::0;-1:-1:-1;;;65100:58:0;;14923:2:1;65100:58:0::1;::::0;::::1;14905:21:1::0;14962:2;14942:18;;;14935:30;15001:25;14981:18;;;14974:53;15044:18;;65100:58:0::1;14721:347:1::0;65100:58:0::1;65171:14;65188:13;57573:10:::0;:17;;57485:113;65188:13:::1;65171:30;;65216:9;65212:87;65231:7;65227:1;:11;65212:87;;;65259:28;65270:3:::0;65275:10:::1;65284:1:::0;65275:6;:10:::1;:::i;65259:28::-;65240:3:::0;::::1;::::0;::::1;:::i;:::-;;;;65212:87;;;;65324:7;65311:9;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;65020:319:0:o;18233:201::-;17213:13;:11;:13::i;:::-;-1:-1:-1;;;;;18322:22:0;::::1;18314:73;;;::::0;-1:-1:-1;;;18314:73:0;;15275:2:1;18314:73:0::1;::::0;::::1;15257:21:1::0;15314:2;15294:18;;;15287:30;15353:34;15333:18;;;15326:62;-1:-1:-1;;;15404:18:1;;;15397:36;15450:19;;18314:73:0::1;15073:402:1::0;18314:73:0::1;18398:28;18417:8;18398:18;:28::i;:::-;18233:201:::0;:::o;20025:326::-;-1:-1:-1;;;;;20320:19:0;;:23;;;20025:326::o;39624:305::-;39726:4;-1:-1:-1;;;;;;39763:40:0;;-1:-1:-1;;;39763:40:0;;:105;;-1:-1:-1;;;;;;;39820:48:0;;-1:-1:-1;;;39820:48:0;39763:105;:158;;;-1:-1:-1;;;;;;;;;;31165:40:0;;;39885:36;31056:157;17492:132;17400:6;;-1:-1:-1;;;;;17400:6:0;15958:10;17556:23;17548:68;;;;-1:-1:-1;;;17548:68:0;;15682:2:1;17548:68:0;;;15664:21:1;;;15701:18;;;15694:30;15760:34;15740:18;;;15733:62;15812:18;;17548:68:0;15480:356:1;51883:135:0;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;51957:53;;;;-1:-1:-1;;;51957:53:0;;11558:2:1;51957:53:0;;;11540:21:1;11597:2;11577:18;;;11570:30;-1:-1:-1;;;11616:18:1;;;11609:54;11680:18;;51957:53:0;11356:348:1;51162:174:0;51237:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51237:29:0;-1:-1:-1;;;;;51237:29:0;;;;;;;;:24;;51291:23;51237:24;51291:14;:23::i;:::-;-1:-1:-1;;;;;51282:46:0;;;;;;;;;;;51162:174;;:::o;45781:264::-;45874:4;45891:13;45907:23;45922:7;45907:14;:23::i;:::-;45891:39;;45960:5;-1:-1:-1;;;;;45949:16:0;:7;-1:-1:-1;;;;;45949:16:0;;:52;;;-1:-1:-1;;;;;;42654:25:0;;;42630:4;42654:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;45969:32;45949:87;;;;46029:7;-1:-1:-1;;;;;46005:31:0;:20;46017:7;46005:11;:20::i;:::-;-1:-1:-1;;;;;46005:31:0;;45949:87;45941:96;45781:264;-1:-1:-1;;;;45781:264:0:o;49780:1263::-;49939:4;-1:-1:-1;;;;;49912:31:0;:23;49927:7;49912:14;:23::i;:::-;-1:-1:-1;;;;;49912:31:0;;49904:81;;;;-1:-1:-1;;;49904:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50004:16:0;;49996:65;;;;-1:-1:-1;;;49996:65:0;;16449:2:1;49996:65:0;;;16431:21:1;16488:2;16468:18;;;16461:30;16527:34;16507:18;;;16500:62;-1:-1:-1;;;16578:18:1;;;16571:34;16622:19;;49996:65:0;16247:400:1;49996:65:0;50074:42;50095:4;50101:2;50105:7;50114:1;50074:20;:42::i;:::-;50246:4;-1:-1:-1;;;;;50219:31:0;:23;50234:7;50219:14;:23::i;:::-;-1:-1:-1;;;;;50219:31:0;;50211:81;;;;-1:-1:-1;;;50211:81:0;;;;;;;:::i;:::-;50364:24;;;;:15;:24;;;;;;;;50357:31;;-1:-1:-1;;;;;;50357:31:0;;;;;;-1:-1:-1;;;;;50840:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;50840:20:0;;;50875:13;;;;;;;;;:18;;50357:31;50875:18;;;50915:16;;;:7;:16;;;;;;:21;;;;;;;;;;50954:27;;50380:7;;50954:27;;;41652:346;41582:416;;:::o;18594:191::-;18687:6;;;-1:-1:-1;;;;;18704:17:0;;;-1:-1:-1;;;;;;18704:17:0;;;;;;;18737:40;;18687:6;;;18704:17;18687:6;;18737:40;;18668:16;;18737:40;18657:128;18594:191;:::o;46387:110::-;46463:26;46473:2;46477:7;46463:26;;;;;;;;;;;;:9;:26::i;51479:315::-;51634:8;-1:-1:-1;;;;;51625:17:0;:5;-1:-1:-1;;;;;51625:17:0;;51617:55;;;;-1:-1:-1;;;51617:55:0;;16854:2:1;51617:55:0;;;16836:21:1;16893:2;16873:18;;;16866:30;16932:27;16912:18;;;16905:55;16977:18;;51617:55:0;16652:349:1;51617:55:0;-1:-1:-1;;;;;51683:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;51683:46:0;;;;;;;;;;51745:41;;540::1;;;51745::0;;513:18:1;51745:41:0;;;;;;;51479:315;;;:::o;44629:313::-;44785:28;44795:4;44801:2;44805:7;44785:9;:28::i;:::-;44832:47;44855:4;44861:2;44865:7;44874:4;44832:22;:47::i;:::-;44824:110;;;;-1:-1:-1;;;44824:110:0;;;;;;;:::i;64699:114::-;64759:13;64792;64785:20;;;;;:::i;13305:716::-;13361:13;13412:14;13429:17;13440:5;13429:10;:17::i;:::-;13449:1;13429:21;13412:38;;13465:20;13499:6;13488:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13488:18:0;-1:-1:-1;13465:41:0;-1:-1:-1;13630:28:0;;;13646:2;13630:28;13687:288;-1:-1:-1;;13719:5:0;-1:-1:-1;;;13856:2:0;13845:14;;13840:30;13719:5;13827:44;13917:2;13908:11;;;-1:-1:-1;13938:21:0;13687:288;13938:21;-1:-1:-1;13996:6:0;13305:716;-1:-1:-1;;;13305:716:0:o;57982:915::-;58249:1;58237:9;:13;58233:222;;;58380:63;;-1:-1:-1;;;58380:63:0;;17759:2:1;58380:63:0;;;17741:21:1;17798:2;17778:18;;;17771:30;17837:34;17817:18;;;17810:62;-1:-1:-1;;;17888:18:1;;;17881:51;17949:19;;58380:63:0;17557:417:1;58233:222:0;58485:12;-1:-1:-1;;;;;58514:18:0;;58510:187;;58549:40;58581:7;59724:10;:17;;59697:24;;;;:15;:24;;;;;:44;;;59752:24;;;;;;;;;;;;59620:164;58549:40;58510:187;;;58619:2;-1:-1:-1;;;;;58611:10:0;:4;-1:-1:-1;;;;;58611:10:0;;58607:90;;58638:47;58671:4;58677:7;58638:32;:47::i;:::-;-1:-1:-1;;;;;58711:16:0;;58707:183;;58744:45;58781:7;58744:36;:45::i;:::-;58707:183;;;58817:4;-1:-1:-1;;;;;58811:10:0;:2;-1:-1:-1;;;;;58811:10:0;;58807:83;;58838:40;58866:2;58870:7;58838:27;:40::i;:::-;58148:749;57982:915;;;;:::o;46724:319::-;46853:18;46859:2;46863:7;46853:5;:18::i;:::-;46904:53;46935:1;46939:2;46943:7;46952:4;46904:22;:53::i;:::-;46882:153;;;;-1:-1:-1;;;46882:153:0;;;;;;;:::i;52582:853::-;52736:4;-1:-1:-1;;;;;52757:13:0;;20320:19;:23;52753:675;;52793:71;;-1:-1:-1;;;52793:71:0;;-1:-1:-1;;;;;52793:36:0;;;;;:71;;15958:10;;52844:4;;52850:7;;52859:4;;52793:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52793:71:0;;;;;;;;-1:-1:-1;;52793:71:0;;;;;;;;;;;;:::i;:::-;;;52789:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53034:6;:13;53051:1;53034:18;53030:328;;53077:60;;-1:-1:-1;;;53077:60:0;;;;;;;:::i;53030:328::-;53308:6;53302:13;53293:6;53289:2;53285:15;53278:38;52789:584;-1:-1:-1;;;;;;52915:51:0;-1:-1:-1;;;52915:51:0;;-1:-1:-1;52908:58:0;;52753:675;-1:-1:-1;53412:4:0;52582:853;;;;;;:::o;10171:922::-;10224:7;;-1:-1:-1;;;10302:15:0;;10298:102;;-1:-1:-1;;;10338:15:0;;;-1:-1:-1;10382:2:0;10372:12;10298:102;10427:6;10418:5;:15;10414:102;;10463:6;10454:15;;;-1:-1:-1;10498:2:0;10488:12;10414:102;10543:6;10534:5;:15;10530:102;;10579:6;10570:15;;;-1:-1:-1;10614:2:0;10604:12;10530:102;10659:5;10650;:14;10646:99;;10694:5;10685:14;;;-1:-1:-1;10728:1:0;10718:11;10646:99;10772:5;10763;:14;10759:99;;10807:5;10798:14;;;-1:-1:-1;10841:1:0;10831:11;10759:99;10885:5;10876;:14;10872:99;;10920:5;10911:14;;;-1:-1:-1;10954:1:0;10944:11;10872:99;10998:5;10989;:14;10985:66;;11034:1;11024:11;11079:6;10171:922;-1:-1:-1;;10171:922:0:o;60411:988::-;60677:22;60727:1;60702:22;60719:4;60702:16;:22::i;:::-;:26;;;;:::i;:::-;60739:18;60760:26;;;:17;:26;;;;;;60677:51;;-1:-1:-1;60893:28:0;;;60889:328;;-1:-1:-1;;;;;60960:18:0;;60938:19;60960:18;;;:12;:18;;;;;;;;:34;;;;;;;;;61011:30;;;;;;:44;;;61128:30;;:17;:30;;;;;:43;;;60889:328;-1:-1:-1;61313:26:0;;;;:17;:26;;;;;;;;61306:33;;;-1:-1:-1;;;;;61357:18:0;;;;;:12;:18;;;;;:34;;;;;;;61350:41;60411:988::o;61694:1079::-;61972:10;:17;61947:22;;61972:21;;61992:1;;61972:21;:::i;:::-;62004:18;62025:24;;;:15;:24;;;;;;62398:10;:26;;61947:46;;-1:-1:-1;62025:24:0;;61947:46;;62398:26;;;;;;:::i;:::-;;;;;;;;;62376:48;;62462:11;62437:10;62448;62437:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;62542:28;;;:15;:28;;;;;;;:41;;;62714:24;;;;;62707:31;62749:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;61765:1008;;;61694:1079;:::o;59198:221::-;59283:14;59300:20;59317:2;59300:16;:20::i;:::-;-1:-1:-1;;;;;59331:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;59376:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;59198:221:0:o;47379:942::-;-1:-1:-1;;;;;47459:16:0;;47451:61;;;;-1:-1:-1;;;47451:61:0;;19061:2:1;47451:61:0;;;19043:21:1;;;19080:18;;;19073:30;19139:34;19119:18;;;19112:62;19191:18;;47451:61:0;18859:356:1;47451:61:0;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;45575:31;47523:58;;;;-1:-1:-1;;;47523:58:0;;19422:2:1;47523:58:0;;;19404:21:1;19461:2;19441:18;;;19434:30;19500;19480:18;;;19473:58;19548:18;;47523:58:0;19220:352:1;47523:58:0;47594:48;47623:1;47627:2;47631:7;47640:1;47594:20;:48::i;:::-;45551:4;45149:16;;;:7;:16;;;;;;-1:-1:-1;;;;;45149:16:0;45575:31;47732:58;;;;-1:-1:-1;;;47732:58:0;;19422:2:1;47732:58:0;;;19404:21:1;19461:2;19441:18;;;19434:30;19500;19480:18;;;19473:58;19548:18;;47732:58:0;19220:352:1;47732:58:0;-1:-1:-1;;;;;48139:13:0;;;;;;:9;:13;;;;;;;;:18;;48156:1;48139:18;;;48181:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;48181:21:0;;;;;48220:33;48189:7;;48139:13;;48220:33;;48139:13;;48220:33;64892:23:::1;64821:102:::0;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:160::-;657:20;;713:13;;706:21;696:32;;686:60;;742:1;739;732:12;686:60;592:160;;;:::o;757:180::-;813:6;866:2;854:9;845:7;841:23;837:32;834:52;;;882:1;879;872:12;834:52;905:26;921:9;905:26;:::i;942:250::-;1027:1;1037:113;1051:6;1048:1;1045:13;1037:113;;;1127:11;;;1121:18;1108:11;;;1101:39;1073:2;1066:10;1037:113;;;-1:-1:-1;;1184:1:1;1166:16;;1159:27;942:250::o;1197:271::-;1239:3;1277:5;1271:12;1304:6;1299:3;1292:19;1320:76;1389:6;1382:4;1377:3;1373:14;1366:4;1359:5;1355:16;1320:76;:::i;:::-;1450:2;1429:15;-1:-1:-1;;1425:29:1;1416:39;;;;1457:4;1412:50;;1197:271;-1:-1:-1;;1197:271:1:o;1473:220::-;1622:2;1611:9;1604:21;1585:4;1642:45;1683:2;1672:9;1668:18;1660:6;1642:45;:::i;1698:180::-;1757:6;1810:2;1798:9;1789:7;1785:23;1781:32;1778:52;;;1826:1;1823;1816:12;1778:52;-1:-1:-1;1849:23:1;;1698:180;-1:-1:-1;1698:180:1:o;2091:173::-;2159:20;;-1:-1:-1;;;;;2208:31:1;;2198:42;;2188:70;;2254:1;2251;2244:12;2269:254;2337:6;2345;2398:2;2386:9;2377:7;2373:23;2369:32;2366:52;;;2414:1;2411;2404:12;2366:52;2437:29;2456:9;2437:29;:::i;:::-;2427:39;2513:2;2498:18;;;;2485:32;;-1:-1:-1;;;2269:254:1:o;2710:328::-;2787:6;2795;2803;2856:2;2844:9;2835:7;2831:23;2827:32;2824:52;;;2872:1;2869;2862:12;2824:52;2895:29;2914:9;2895:29;:::i;:::-;2885:39;;2943:38;2977:2;2966:9;2962:18;2943:38;:::i;:::-;2933:48;;3028:2;3017:9;3013:18;3000:32;2990:42;;2710:328;;;;;:::o;3043:186::-;3102:6;3155:2;3143:9;3134:7;3130:23;3126:32;3123:52;;;3171:1;3168;3161:12;3123:52;3194:29;3213:9;3194:29;:::i;3234:632::-;3405:2;3457:21;;;3527:13;;3430:18;;;3549:22;;;3376:4;;3405:2;3628:15;;;;3602:2;3587:18;;;3376:4;3671:169;3685:6;3682:1;3679:13;3671:169;;;3746:13;;3734:26;;3815:15;;;;3780:12;;;;3707:1;3700:9;3671:169;;;-1:-1:-1;3857:3:1;;3234:632;-1:-1:-1;;;;;;3234:632:1:o;3871:127::-;3932:10;3927:3;3923:20;3920:1;3913:31;3963:4;3960:1;3953:15;3987:4;3984:1;3977:15;4003:632;4068:5;4098:18;4139:2;4131:6;4128:14;4125:40;;;4145:18;;:::i;:::-;4220:2;4214:9;4188:2;4274:15;;-1:-1:-1;;4270:24:1;;;4296:2;4266:33;4262:42;4250:55;;;4320:18;;;4340:22;;;4317:46;4314:72;;;4366:18;;:::i;:::-;4406:10;4402:2;4395:22;4435:6;4426:15;;4465:6;4457;4450:22;4505:3;4496:6;4491:3;4487:16;4484:25;4481:45;;;4522:1;4519;4512:12;4481:45;4572:6;4567:3;4560:4;4552:6;4548:17;4535:44;4627:1;4620:4;4611:6;4603;4599:19;4595:30;4588:41;;;;4003:632;;;;;:::o;4640:451::-;4709:6;4762:2;4750:9;4741:7;4737:23;4733:32;4730:52;;;4778:1;4775;4768:12;4730:52;4818:9;4805:23;4851:18;4843:6;4840:30;4837:50;;;4883:1;4880;4873:12;4837:50;4906:22;;4959:4;4951:13;;4947:27;-1:-1:-1;4937:55:1;;4988:1;4985;4978:12;4937:55;5011:74;5077:7;5072:2;5059:16;5054:2;5050;5046:11;5011:74;:::i;5096:254::-;5161:6;5169;5222:2;5210:9;5201:7;5197:23;5193:32;5190:52;;;5238:1;5235;5228:12;5190:52;5261:29;5280:9;5261:29;:::i;:::-;5251:39;;5309:35;5340:2;5329:9;5325:18;5309:35;:::i;:::-;5299:45;;5096:254;;;;;:::o;5355:667::-;5450:6;5458;5466;5474;5527:3;5515:9;5506:7;5502:23;5498:33;5495:53;;;5544:1;5541;5534:12;5495:53;5567:29;5586:9;5567:29;:::i;:::-;5557:39;;5615:38;5649:2;5638:9;5634:18;5615:38;:::i;:::-;5605:48;;5700:2;5689:9;5685:18;5672:32;5662:42;;5755:2;5744:9;5740:18;5727:32;5782:18;5774:6;5771:30;5768:50;;;5814:1;5811;5804:12;5768:50;5837:22;;5890:4;5882:13;;5878:27;-1:-1:-1;5868:55:1;;5919:1;5916;5909:12;5868:55;5942:74;6008:7;6003:2;5990:16;5985:2;5981;5977:11;5942:74;:::i;:::-;5932:84;;;5355:667;;;;;;;:::o;6027:260::-;6095:6;6103;6156:2;6144:9;6135:7;6131:23;6127:32;6124:52;;;6172:1;6169;6162:12;6124:52;6195:29;6214:9;6195:29;:::i;:::-;6185:39;;6243:38;6277:2;6266:9;6262:18;6243:38;:::i;6292:380::-;6371:1;6367:12;;;;6414;;;6435:61;;6489:4;6481:6;6477:17;6467:27;;6435:61;6542:2;6534:6;6531:14;6511:18;6508:38;6505:161;;6588:10;6583:3;6579:20;6576:1;6569:31;6623:4;6620:1;6613:15;6651:4;6648:1;6641:15;6505:161;;6292:380;;;:::o;7509:409::-;7711:2;7693:21;;;7750:2;7730:18;;;7723:30;7789:34;7784:2;7769:18;;7762:62;-1:-1:-1;;;7855:2:1;7840:18;;7833:43;7908:3;7893:19;;7509:409::o;8335:127::-;8396:10;8391:3;8387:20;8384:1;8377:31;8427:4;8424:1;8417:15;8451:4;8448:1;8441:15;8467:127;8528:10;8523:3;8519:20;8516:1;8509:31;8559:4;8556:1;8549:15;8583:4;8580:1;8573:15;8599:135;8638:3;8659:17;;;8656:43;;8679:18;;:::i;:::-;-1:-1:-1;8726:1:1;8715:13;;8599:135::o;9278:545::-;9380:2;9375:3;9372:11;9369:448;;;9416:1;9441:5;9437:2;9430:17;9486:4;9482:2;9472:19;9556:2;9544:10;9540:19;9537:1;9533:27;9527:4;9523:38;9592:4;9580:10;9577:20;9574:47;;;-1:-1:-1;9615:4:1;9574:47;9670:2;9665:3;9661:12;9658:1;9654:20;9648:4;9644:31;9634:41;;9725:82;9743:2;9736:5;9733:13;9725:82;;;9788:17;;;9769:1;9758:13;9725:82;;;9729:3;;;9278:545;;;:::o;9999:1352::-;10125:3;10119:10;10152:18;10144:6;10141:30;10138:56;;;10174:18;;:::i;:::-;10203:97;10293:6;10253:38;10285:4;10279:11;10253:38;:::i;:::-;10247:4;10203:97;:::i;:::-;10355:4;;10419:2;10408:14;;10436:1;10431:663;;;;11138:1;11155:6;11152:89;;;-1:-1:-1;11207:19:1;;;11201:26;11152:89;-1:-1:-1;;9956:1:1;9952:11;;;9948:24;9944:29;9934:40;9980:1;9976:11;;;9931:57;11254:81;;10401:944;;10431:663;9225:1;9218:14;;;9262:4;9249:18;;-1:-1:-1;;10467:20:1;;;10585:236;10599:7;10596:1;10593:14;10585:236;;;10688:19;;;10682:26;10667:42;;10780:27;;;;10748:1;10736:14;;;;10615:19;;10585:236;;;10589:3;10849:6;10840:7;10837:19;10834:201;;;10910:19;;;10904:26;-1:-1:-1;;10993:1:1;10989:14;;;11005:3;10985:24;10981:37;10977:42;10962:58;10947:74;;10834:201;-1:-1:-1;;;;;11081:1:1;11065:14;;;11061:22;11048:36;;-1:-1:-1;9999:1352:1:o;12875:128::-;12942:9;;;12963:11;;;12960:37;;;12977:18;;:::i;13008:125::-;13073:9;;;13094:10;;;13091:36;;;13107:18;;:::i;13554:168::-;13627:9;;;13658;;13675:15;;;13669:22;;13655:37;13645:71;;13696:18;;:::i;14220:496::-;14399:3;14437:6;14431:13;14453:66;14512:6;14507:3;14500:4;14492:6;14488:17;14453:66;:::i;:::-;14582:13;;14541:16;;;;14604:70;14582:13;14541:16;14651:4;14639:17;;14604:70;:::i;:::-;14690:20;;14220:496;-1:-1:-1;;;;14220:496:1:o;15841:401::-;16043:2;16025:21;;;16082:2;16062:18;;;16055:30;16121:34;16116:2;16101:18;;16094:62;-1:-1:-1;;;16187:2:1;16172:18;;16165:35;16232:3;16217:19;;15841:401::o;17006:414::-;17208:2;17190:21;;;17247:2;17227:18;;;17220:30;17286:34;17281:2;17266:18;;17259:62;-1:-1:-1;;;17352:2:1;17337:18;;17330:48;17410:3;17395:19;;17006:414::o;17979:489::-;-1:-1:-1;;;;;18248:15:1;;;18230:34;;18300:15;;18295:2;18280:18;;18273:43;18347:2;18332:18;;18325:34;;;18395:3;18390:2;18375:18;;18368:31;;;18173:4;;18416:46;;18442:19;;18434:6;18416:46;:::i;:::-;18408:54;17979:489;-1:-1:-1;;;;;;17979:489:1:o;18473:249::-;18542:6;18595:2;18583:9;18574:7;18570:23;18566:32;18563:52;;;18611:1;18608;18601:12;18563:52;18643:9;18637:16;18662:30;18686:5;18662:30;:::i;18727:127::-;18788:10;18783:3;18779:20;18776:1;18769:31;18819:4;18816:1;18809:15;18843:4;18840:1;18833:15
Swarm Source
ipfs://332670d1c91c14f08ae755323a0631cad33ed9f518a978694beb2742a7591568
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.