ERC-721
Overview
Max Total Supply
602 RNFT
Holders
48
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 RNFTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RNFT
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-05-26 */ pragma solidity ^0.8.0; // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } /** * @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); } // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @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); } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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); } } } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) /** * @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) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 256, 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 << 3) < value ? 1 : 0); } } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } /** * @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 `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @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; } } /** * @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; } } // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) /** * @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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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); } } contract RNFT is ERC721, Ownable{ using Strings for uint256; mapping (uint256 => bytes32) public seed; mapping (uint256 => address) public originalOwner; mapping (address => uint256[]) public ownedTokens; mapping (address => mapping(uint256 => bool)) public hasOwnedToken; mapping (address => bool) public minters; string public baseURI; string public placeholderURI; bool public usePlaceholderURI; uint256 public totalSupply; uint256 public maxSupply; constructor() ERC721("Genesis rootNFT", "RNFT") { maxSupply = 3000; } function mint(address to, uint256 amount) external { require(minters[msg.sender], "not a minter"); require(totalSupply + amount <= maxSupply, "max supply reached"); for (uint256 i = 0; i < amount; i++) { uint256 tokenId = totalSupply; _mint(to, tokenId); seed[tokenId] = keccak256(abi.encodePacked(to, block.difficulty, tokenId)); originalOwner[tokenId] = to; totalSupply++; } } function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual override { if (hasOwnedToken[to][firstTokenId] == false) hasOwnedToken[to][firstTokenId] = true; ownedTokens[to].push(firstTokenId); } function setBaseURI(string calldata baseURI_) external onlyOwner { baseURI = baseURI_; } function setPlaceholderURI(string calldata placeholderURI_) external onlyOwner { placeholderURI = placeholderURI_; } function setUsePlaceholderURI(bool status) external onlyOwner { usePlaceholderURI = status; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (usePlaceholderURI) { return placeholderURI; } else { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } } function setMinter(address minter, bool status) external onlyOwner { minters[minter] = status; } function getUserTokens(address user) external view returns (uint256[] memory) { uint256[] memory tokens = new uint256[](balanceOf(user)); uint256 j = 0; for (uint256 i = 0; i < ownedTokens[user].length; i++) { uint256 tokenId = ownedTokens[user][i]; if (ownerOf(tokenId) == user) { tokens[j] = tokenId; j++; } } return tokens; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"hasOwnedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"originalOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"uint256","name":"","type":"uint256"}],"name":"seed","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"address","name":"minter","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setUsePlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usePlaceholderURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600f81526020016e11d95b995cda5cc81c9bdbdd139195608a1b815250604051806040016040528060048152602001631493919560e21b81525081600090816200006891906200019b565b5060016200007782826200019b565b505050620000946200008e620000a060201b60201c565b620000a4565b610bb860105562000267565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012157607f821691505b6020821081036200014257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019657600081815260208120601f850160051c81016020861015620001715750805b601f850160051c820191505b8181101562000192578281556001016200017d565b5050505b505050565b81516001600160401b03811115620001b757620001b7620000f6565b620001cf81620001c884546200010c565b8462000148565b602080601f831160018114620002075760008415620001ee5750858301515b600019600386901b1c1916600185901b17855562000192565b600085815260208120601f198616915b82811015620002385788860151825594840194600190910190840162000217565b5085821015620002575787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611daa80620002776000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063715018a61161010f578063b88d4fde116100a2578063e149f03611610071578063e149f0361461044b578063e985e9c51461045e578063f2fde38b14610471578063f46eccc41461048457600080fd5b8063b88d4fde14610409578063c87b56dd1461041c578063cf456ae71461042f578063d5abeb011461044257600080fd5b806395564837116100de57806395564837146103c157806395d89b41146103e1578063a22cb465146103e9578063a53035c2146103fc57600080fd5b8063715018a61461038d5780637313cba914610395578063823132b01461039d5780638da5cb5b146103b057600080fd5b806340bb154d1161018757806355f804b31161015657806355f804b31461034c5780636352211e1461035f5780636c0360eb1461037257806370a082311461037a57600080fd5b806340bb154d146102dd57806340c10f191461030657806342842e0e14610319578063519dc8d21461032c57600080fd5b806316c451d0116101c357806316c451d01461027257806318160ddd146102a057806323b872dd146102b75780633574a2dd146102ca57600080fd5b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063095ea7b31461025d575b600080fd5b6102086102033660046116a6565b6104a7565b60405190151581526020015b60405180910390f35b6102256104f9565b604051610214919061171a565b61024561024036600461172d565b61058b565b6040516001600160a01b039091168152602001610214565b61027061026b36600461175d565b6105b2565b005b61020861028036600461175d565b600a60209081526000928352604080842090915290825290205460ff1681565b6102a9600f5481565b604051908152602001610214565b6102706102c5366004611787565b6106cc565b6102706102d83660046117c3565b6106fd565b6102456102eb36600461172d565b6008602052600090815260409020546001600160a01b031681565b61027061031436600461175d565b610712565b610270610327366004611787565b610867565b61033f61033a366004611835565b610882565b6040516102149190611850565b61027061035a3660046117c3565b610997565b61024561036d36600461172d565b6109ac565b610225610a0c565b6102a9610388366004611835565b610a9a565b610270610b20565b610225610b34565b6102706103ab3660046118a4565b610b41565b6006546001600160a01b0316610245565b6102a96103cf36600461172d565b60076020526000908152604090205481565b610225610b5c565b6102706103f73660046118bf565b610b6b565b600e546102089060ff1681565b610270610417366004611908565b610b7a565b61022561042a36600461172d565b610bb2565b61027061043d3660046118bf565b610cb3565b6102a960105481565b6102a961045936600461175d565b610ce6565b61020861046c3660046119e4565b610d17565b61027061047f366004611835565b610d45565b610208610492366004611835565b600b6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b14806104d857506001600160e01b03198216635b5e139f60e01b145b806104f357506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461050890611a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461053490611a0e565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059682610dbe565b506000908152600460205260409020546001600160a01b031690565b60006105bd826109ac565b9050806001600160a01b0316836001600160a01b03160361062f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061064b575061064b8133610d17565b6106bd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610626565b6106c78383610e1d565b505050565b6106d63382610e8b565b6106f25760405162461bcd60e51b815260040161062690611a48565b6106c7838383610eea565b610705611056565b600d6106c7828483611ae3565b336000908152600b602052604090205460ff166107605760405162461bcd60e51b815260206004820152600c60248201526b3737ba10309036b4b73a32b960a11b6044820152606401610626565b60105481600f546107719190611bba565b11156107b45760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610626565b60005b818110156106c757600f546107cc84826110b0565b6040516bffffffffffffffffffffffff19606086901b1660208201524460348201526054810182905260740160408051808303601f190181529181528151602092830120600084815260078452828120919091556008909252812080546001600160a01b0319166001600160a01b038716179055600f80549161084e83611bcd565b919050555050808061085f90611bcd565b9150506107b7565b6106c783838360405180602001604052806000815250610b7a565b6060600061088f83610a9a565b67ffffffffffffffff8111156108a7576108a76118f2565b6040519080825280602002602001820160405280156108d0578160200160208202803683370190505b5090506000805b6001600160a01b03851660009081526009602052604090205481101561098e576001600160a01b038516600090815260096020526040812080548390811061092157610921611be6565b90600052602060002001549050856001600160a01b0316610941826109ac565b6001600160a01b03160361097b578084848151811061096257610962611be6565b60209081029190910101528261097781611bcd565b9350505b508061098681611bcd565b9150506108d7565b50909392505050565b61099f611056565b600c6106c7828483611ae3565b6000818152600260205260408120546001600160a01b0316806104f35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610626565b600c8054610a1990611a0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4590611a0e565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b505050505081565b60006001600160a01b038216610b045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610626565b506001600160a01b031660009081526003602052604090205490565b610b28611056565b610b326000611245565b565b600d8054610a1990611a0e565b610b49611056565b600e805460ff1916911515919091179055565b60606001805461050890611a0e565b610b76338383611297565b5050565b610b843383610e8b565b610ba05760405162461bcd60e51b815260040161062690611a48565b610bac84848484611365565b50505050565b600e5460609060ff1615610c5257600d8054610bcd90611a0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf990611a0e565b8015610c465780601f10610c1b57610100808354040283529160200191610c46565b820191906000526020600020905b815481529060010190602001808311610c2957829003601f168201915b50505050509050919050565b6000600c8054610c6190611a0e565b905011610c7d57604051806020016040528060008152506104f3565b600c610c8883611398565b604051602001610c99929190611bfc565b60405160208183030381529060405292915050565b919050565b610cbb611056565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b60096020528160005260406000208181548110610d0257600080fd5b90600052602060002001600091509150505481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610d4d611056565b6001600160a01b038116610db25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610626565b610dbb81611245565b50565b6000818152600260205260409020546001600160a01b0316610dbb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610626565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e52826109ac565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e97836109ac565b9050806001600160a01b0316846001600160a01b03161480610ebe5750610ebe8185610d17565b80610ee25750836001600160a01b0316610ed78461058b565b6001600160a01b0316145b949350505050565b826001600160a01b0316610efd826109ac565b6001600160a01b031614610f235760405162461bcd60e51b815260040161062690611c83565b6001600160a01b038216610f855760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610626565b826001600160a01b0316610f98826109ac565b6001600160a01b031614610fbe5760405162461bcd60e51b815260040161062690611c83565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46106c7838383600161142b565b6006546001600160a01b03163314610b325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610626565b6001600160a01b0382166111065760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610626565b6000818152600260205260409020546001600160a01b03161561116b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610626565b6000818152600260205260409020546001600160a01b0316156111d05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610626565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610b7660008383600161142b565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112f85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610626565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611370848484610eea565b61137c848484846114b7565b610bac5760405162461bcd60e51b815260040161062690611cc8565b606060006113a5836115b8565b600101905060008167ffffffffffffffff8111156113c5576113c56118f2565b6040519080825280601f01601f1916602001820160405280156113ef576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113f957509392505050565b6001600160a01b0383166000908152600a6020908152604080832085845290915281205460ff1615159003611489576001600160a01b0383166000908152600a602090815260408083208584529091529020805460ff191660011790555b506001600160a01b039091166000908152600960209081526040822080546001810182559083529120015550565b60006001600160a01b0384163b156115ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114fb903390899088908890600401611d1a565b6020604051808303816000875af1925050508015611536575060408051601f3d908101601f1916820190925261153391810190611d57565b60015b611593573d808015611564576040519150601f19603f3d011682016040523d82523d6000602084013e611569565b606091505b50805160000361158b5760405162461bcd60e51b815260040161062690611cc8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ee2565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115f75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611623576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061164157662386f26fc10000830492506010015b6305f5e1008310611659576305f5e100830492506008015b612710831061166d57612710830492506004015b6064831061167f576064830492506002015b600a83106104f35760010192915050565b6001600160e01b031981168114610dbb57600080fd5b6000602082840312156116b857600080fd5b81356116c381611690565b9392505050565b60005b838110156116e55781810151838201526020016116cd565b50506000910152565b600081518084526117068160208601602086016116ca565b601f01601f19169290920160200192915050565b6020815260006116c360208301846116ee565b60006020828403121561173f57600080fd5b5035919050565b80356001600160a01b0381168114610cae57600080fd5b6000806040838503121561177057600080fd5b61177983611746565b946020939093013593505050565b60008060006060848603121561179c57600080fd5b6117a584611746565b92506117b360208501611746565b9150604084013590509250925092565b600080602083850312156117d657600080fd5b823567ffffffffffffffff808211156117ee57600080fd5b818501915085601f83011261180257600080fd5b81358181111561181157600080fd5b86602082850101111561182357600080fd5b60209290920196919550909350505050565b60006020828403121561184757600080fd5b6116c382611746565b6020808252825182820181905260009190848201906040850190845b818110156118885783518352928401929184019160010161186c565b50909695505050505050565b80358015158114610cae57600080fd5b6000602082840312156118b657600080fd5b6116c382611894565b600080604083850312156118d257600080fd5b6118db83611746565b91506118e960208401611894565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561191e57600080fd5b61192785611746565b935061193560208601611746565b925060408501359150606085013567ffffffffffffffff8082111561195957600080fd5b818701915087601f83011261196d57600080fd5b81358181111561197f5761197f6118f2565b604051601f8201601f19908116603f011681019083821181831017156119a7576119a76118f2565b816040528281528a60208487010111156119c057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156119f757600080fd5b611a0083611746565b91506118e960208401611746565b600181811c90821680611a2257607f821691505b602082108103611a4257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f8211156106c757600081815260208120601f850160051c81016020861015611abc5750805b601f850160051c820191505b81811015611adb57828155600101611ac8565b505050505050565b67ffffffffffffffff831115611afb57611afb6118f2565b611b0f83611b098354611a0e565b83611a95565b6000601f841160018114611b435760008515611b2b5750838201355b600019600387901b1c1916600186901b178355611b9d565b600083815260209020601f19861690835b82811015611b745786850135825560209485019460019092019101611b54565b5086821015611b915760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104f3576104f3611ba4565b600060018201611bdf57611bdf611ba4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808454611c0a81611a0e565b60018281168015611c225760018114611c3757611c66565b60ff1984168752821515830287019450611c66565b8860005260208060002060005b85811015611c5d5781548a820152908401908201611c44565b50505082870194505b505050508351611c7a8183602088016116ca565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d4d908301846116ee565b9695505050505050565b600060208284031215611d6957600080fd5b81516116c38161169056fea264697066735822122024e60c5a91abb2eb7e0234c6bee3a1cb1ea97787087c73dd9bfd5f875407aa8364736f6c63430008120033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063715018a61161010f578063b88d4fde116100a2578063e149f03611610071578063e149f0361461044b578063e985e9c51461045e578063f2fde38b14610471578063f46eccc41461048457600080fd5b8063b88d4fde14610409578063c87b56dd1461041c578063cf456ae71461042f578063d5abeb011461044257600080fd5b806395564837116100de57806395564837146103c157806395d89b41146103e1578063a22cb465146103e9578063a53035c2146103fc57600080fd5b8063715018a61461038d5780637313cba914610395578063823132b01461039d5780638da5cb5b146103b057600080fd5b806340bb154d1161018757806355f804b31161015657806355f804b31461034c5780636352211e1461035f5780636c0360eb1461037257806370a082311461037a57600080fd5b806340bb154d146102dd57806340c10f191461030657806342842e0e14610319578063519dc8d21461032c57600080fd5b806316c451d0116101c357806316c451d01461027257806318160ddd146102a057806323b872dd146102b75780633574a2dd146102ca57600080fd5b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063095ea7b31461025d575b600080fd5b6102086102033660046116a6565b6104a7565b60405190151581526020015b60405180910390f35b6102256104f9565b604051610214919061171a565b61024561024036600461172d565b61058b565b6040516001600160a01b039091168152602001610214565b61027061026b36600461175d565b6105b2565b005b61020861028036600461175d565b600a60209081526000928352604080842090915290825290205460ff1681565b6102a9600f5481565b604051908152602001610214565b6102706102c5366004611787565b6106cc565b6102706102d83660046117c3565b6106fd565b6102456102eb36600461172d565b6008602052600090815260409020546001600160a01b031681565b61027061031436600461175d565b610712565b610270610327366004611787565b610867565b61033f61033a366004611835565b610882565b6040516102149190611850565b61027061035a3660046117c3565b610997565b61024561036d36600461172d565b6109ac565b610225610a0c565b6102a9610388366004611835565b610a9a565b610270610b20565b610225610b34565b6102706103ab3660046118a4565b610b41565b6006546001600160a01b0316610245565b6102a96103cf36600461172d565b60076020526000908152604090205481565b610225610b5c565b6102706103f73660046118bf565b610b6b565b600e546102089060ff1681565b610270610417366004611908565b610b7a565b61022561042a36600461172d565b610bb2565b61027061043d3660046118bf565b610cb3565b6102a960105481565b6102a961045936600461175d565b610ce6565b61020861046c3660046119e4565b610d17565b61027061047f366004611835565b610d45565b610208610492366004611835565b600b6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b14806104d857506001600160e01b03198216635b5e139f60e01b145b806104f357506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461050890611a0e565b80601f016020809104026020016040519081016040528092919081815260200182805461053490611a0e565b80156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b600061059682610dbe565b506000908152600460205260409020546001600160a01b031690565b60006105bd826109ac565b9050806001600160a01b0316836001600160a01b03160361062f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061064b575061064b8133610d17565b6106bd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610626565b6106c78383610e1d565b505050565b6106d63382610e8b565b6106f25760405162461bcd60e51b815260040161062690611a48565b6106c7838383610eea565b610705611056565b600d6106c7828483611ae3565b336000908152600b602052604090205460ff166107605760405162461bcd60e51b815260206004820152600c60248201526b3737ba10309036b4b73a32b960a11b6044820152606401610626565b60105481600f546107719190611bba565b11156107b45760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610626565b60005b818110156106c757600f546107cc84826110b0565b6040516bffffffffffffffffffffffff19606086901b1660208201524460348201526054810182905260740160408051808303601f190181529181528151602092830120600084815260078452828120919091556008909252812080546001600160a01b0319166001600160a01b038716179055600f80549161084e83611bcd565b919050555050808061085f90611bcd565b9150506107b7565b6106c783838360405180602001604052806000815250610b7a565b6060600061088f83610a9a565b67ffffffffffffffff8111156108a7576108a76118f2565b6040519080825280602002602001820160405280156108d0578160200160208202803683370190505b5090506000805b6001600160a01b03851660009081526009602052604090205481101561098e576001600160a01b038516600090815260096020526040812080548390811061092157610921611be6565b90600052602060002001549050856001600160a01b0316610941826109ac565b6001600160a01b03160361097b578084848151811061096257610962611be6565b60209081029190910101528261097781611bcd565b9350505b508061098681611bcd565b9150506108d7565b50909392505050565b61099f611056565b600c6106c7828483611ae3565b6000818152600260205260408120546001600160a01b0316806104f35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610626565b600c8054610a1990611a0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4590611a0e565b8015610a925780601f10610a6757610100808354040283529160200191610a92565b820191906000526020600020905b815481529060010190602001808311610a7557829003601f168201915b505050505081565b60006001600160a01b038216610b045760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610626565b506001600160a01b031660009081526003602052604090205490565b610b28611056565b610b326000611245565b565b600d8054610a1990611a0e565b610b49611056565b600e805460ff1916911515919091179055565b60606001805461050890611a0e565b610b76338383611297565b5050565b610b843383610e8b565b610ba05760405162461bcd60e51b815260040161062690611a48565b610bac84848484611365565b50505050565b600e5460609060ff1615610c5257600d8054610bcd90611a0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf990611a0e565b8015610c465780601f10610c1b57610100808354040283529160200191610c46565b820191906000526020600020905b815481529060010190602001808311610c2957829003601f168201915b50505050509050919050565b6000600c8054610c6190611a0e565b905011610c7d57604051806020016040528060008152506104f3565b600c610c8883611398565b604051602001610c99929190611bfc565b60405160208183030381529060405292915050565b919050565b610cbb611056565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b60096020528160005260406000208181548110610d0257600080fd5b90600052602060002001600091509150505481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610d4d611056565b6001600160a01b038116610db25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610626565b610dbb81611245565b50565b6000818152600260205260409020546001600160a01b0316610dbb5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610626565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e52826109ac565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e97836109ac565b9050806001600160a01b0316846001600160a01b03161480610ebe5750610ebe8185610d17565b80610ee25750836001600160a01b0316610ed78461058b565b6001600160a01b0316145b949350505050565b826001600160a01b0316610efd826109ac565b6001600160a01b031614610f235760405162461bcd60e51b815260040161062690611c83565b6001600160a01b038216610f855760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610626565b826001600160a01b0316610f98826109ac565b6001600160a01b031614610fbe5760405162461bcd60e51b815260040161062690611c83565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a46106c7838383600161142b565b6006546001600160a01b03163314610b325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610626565b6001600160a01b0382166111065760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610626565b6000818152600260205260409020546001600160a01b03161561116b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610626565b6000818152600260205260409020546001600160a01b0316156111d05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610626565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610b7660008383600161142b565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036112f85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610626565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611370848484610eea565b61137c848484846114b7565b610bac5760405162461bcd60e51b815260040161062690611cc8565b606060006113a5836115b8565b600101905060008167ffffffffffffffff8111156113c5576113c56118f2565b6040519080825280601f01601f1916602001820160405280156113ef576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113f957509392505050565b6001600160a01b0383166000908152600a6020908152604080832085845290915281205460ff1615159003611489576001600160a01b0383166000908152600a602090815260408083208584529091529020805460ff191660011790555b506001600160a01b039091166000908152600960209081526040822080546001810182559083529120015550565b60006001600160a01b0384163b156115ad57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114fb903390899088908890600401611d1a565b6020604051808303816000875af1925050508015611536575060408051601f3d908101601f1916820190925261153391810190611d57565b60015b611593573d808015611564576040519150601f19603f3d011682016040523d82523d6000602084013e611569565b606091505b50805160000361158b5760405162461bcd60e51b815260040161062690611cc8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ee2565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115f75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611623576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061164157662386f26fc10000830492506010015b6305f5e1008310611659576305f5e100830492506008015b612710831061166d57612710830492506004015b6064831061167f576064830492506002015b600a83106104f35760010192915050565b6001600160e01b031981168114610dbb57600080fd5b6000602082840312156116b857600080fd5b81356116c381611690565b9392505050565b60005b838110156116e55781810151838201526020016116cd565b50506000910152565b600081518084526117068160208601602086016116ca565b601f01601f19169290920160200192915050565b6020815260006116c360208301846116ee565b60006020828403121561173f57600080fd5b5035919050565b80356001600160a01b0381168114610cae57600080fd5b6000806040838503121561177057600080fd5b61177983611746565b946020939093013593505050565b60008060006060848603121561179c57600080fd5b6117a584611746565b92506117b360208501611746565b9150604084013590509250925092565b600080602083850312156117d657600080fd5b823567ffffffffffffffff808211156117ee57600080fd5b818501915085601f83011261180257600080fd5b81358181111561181157600080fd5b86602082850101111561182357600080fd5b60209290920196919550909350505050565b60006020828403121561184757600080fd5b6116c382611746565b6020808252825182820181905260009190848201906040850190845b818110156118885783518352928401929184019160010161186c565b50909695505050505050565b80358015158114610cae57600080fd5b6000602082840312156118b657600080fd5b6116c382611894565b600080604083850312156118d257600080fd5b6118db83611746565b91506118e960208401611894565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561191e57600080fd5b61192785611746565b935061193560208601611746565b925060408501359150606085013567ffffffffffffffff8082111561195957600080fd5b818701915087601f83011261196d57600080fd5b81358181111561197f5761197f6118f2565b604051601f8201601f19908116603f011681019083821181831017156119a7576119a76118f2565b816040528281528a60208487010111156119c057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156119f757600080fd5b611a0083611746565b91506118e960208401611746565b600181811c90821680611a2257607f821691505b602082108103611a4257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f8211156106c757600081815260208120601f850160051c81016020861015611abc5750805b601f850160051c820191505b81811015611adb57828155600101611ac8565b505050505050565b67ffffffffffffffff831115611afb57611afb6118f2565b611b0f83611b098354611a0e565b83611a95565b6000601f841160018114611b435760008515611b2b5750838201355b600019600387901b1c1916600186901b178355611b9d565b600083815260209020601f19861690835b82811015611b745786850135825560209485019460019092019101611b54565b5086821015611b915760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052601160045260246000fd5b808201808211156104f3576104f3611ba4565b600060018201611bdf57611bdf611ba4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808454611c0a81611a0e565b60018281168015611c225760018114611c3757611c66565b60ff1984168752821515830287019450611c66565b8860005260208060002060005b85811015611c5d5781548a820152908401908201611c44565b50505082870194505b505050508351611c7a8183602088016116ca565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d4d908301846116ee565b9695505050505050565b600060208284031215611d6957600080fd5b81516116c38161169056fea264697066735822122024e60c5a91abb2eb7e0234c6bee3a1cb1ea97787087c73dd9bfd5f875407aa8364736f6c63430008120033
Deployed Bytecode Sourcemap
55520:2647:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37060:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;37060:305:0;;;;;;;;37988:100;;;:::i;:::-;;;;;;;:::i;39500:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;39500:171:0;1533:203:1;39018:416:0;;;;;;:::i;:::-;;:::i;:::-;;55752:66;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;55975:26;;;;;;;;;2324:25:1;;;2312:2;2297:18;55975:26:0;2178:177:1;40200:301:0;;;;;;:::i;:::-;;:::i;57029:130::-;;;;;;:::i;:::-;;:::i;55640:49::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;55640:49:0;;;56132:484;;;;;;:::i;:::-;;:::i;40572:151::-;;;;;;:::i;:::-;;:::i;57711:451::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56919:102::-;;;;;;:::i;:::-;;:::i;37698:223::-;;;;;;:::i;:::-;;:::i;55876:21::-;;;:::i;37429:207::-;;;;;;:::i;:::-;;:::i;54703:103::-;;;:::i;55904:28::-;;;:::i;57167:107::-;;;;;;:::i;:::-;;:::i;54062:87::-;54135:6;;-1:-1:-1;;;;;54135:6:0;54062:87;;55593:40;;;;;;:::i;:::-;;;;;;;;;;;;;;38157:104;;;:::i;39743:155::-;;;;;;:::i;:::-;;:::i;55939:29::-;;;;;;;;;40794:279;;;;;;:::i;:::-;;:::i;57282:303::-;;;;;;:::i;:::-;;:::i;57593:110::-;;;;;;:::i;:::-;;:::i;56008:24::-;;;;;;55696:49;;;;;;:::i;:::-;;:::i;39969:164::-;;;;;;:::i;:::-;;:::i;54961:201::-;;;;;;:::i;:::-;;:::i;55827:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;37060:305;37162:4;-1:-1:-1;;;;;;37199:40:0;;-1:-1:-1;;;37199:40:0;;:105;;-1:-1:-1;;;;;;;37256:48:0;;-1:-1:-1;;;37256:48:0;37199:105;:158;;;-1:-1:-1;;;;;;;;;;35778:40:0;;;37321:36;37179:178;37060:305;-1:-1:-1;;37060:305:0:o;37988:100::-;38042:13;38075:5;38068:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37988:100;:::o;39500:171::-;39576:7;39596:23;39611:7;39596:14;:23::i;:::-;-1:-1:-1;39639:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39639:24:0;;39500:171::o;39018:416::-;39099:13;39115:23;39130:7;39115:14;:23::i;:::-;39099:39;;39163:5;-1:-1:-1;;;;;39157:11:0;:2;-1:-1:-1;;;;;39157:11:0;;39149:57;;;;-1:-1:-1;;;39149:57:0;;7036:2:1;39149:57:0;;;7018:21:1;7075:2;7055:18;;;7048:30;7114:34;7094:18;;;7087:62;-1:-1:-1;;;7165:18:1;;;7158:31;7206:19;;39149:57:0;;;;;;;;;17709:10;-1:-1:-1;;;;;39241:21:0;;;;:62;;-1:-1:-1;39266:37:0;39283:5;17709:10;39969:164;:::i;39266:37::-;39219:173;;;;-1:-1:-1;;;39219:173:0;;7438:2:1;39219:173:0;;;7420:21:1;7477:2;7457:18;;;7450:30;7516:34;7496:18;;;7489:62;7587:31;7567:18;;;7560:59;7636:19;;39219:173:0;7236:425:1;39219:173:0;39405:21;39414:2;39418:7;39405:8;:21::i;:::-;39088:346;39018:416;;:::o;40200:301::-;40361:41;17709:10;40394:7;40361:18;:41::i;:::-;40353:99;;;;-1:-1:-1;;;40353:99:0;;;;;;;:::i;:::-;40465:28;40475:4;40481:2;40485:7;40465:9;:28::i;57029:130::-;53948:13;:11;:13::i;:::-;57119:14:::1;:32;57136:15:::0;;57119:14;:32:::1;:::i;56132:484::-:0;56210:10;56202:19;;;;:7;:19;;;;;;;;56194:44;;;;-1:-1:-1;;;56194:44:0;;10340:2:1;56194:44:0;;;10322:21:1;10379:2;10359:18;;;10352:30;-1:-1:-1;;;10398:18:1;;;10391:42;10450:18;;56194:44:0;10138:336:1;56194:44:0;56281:9;;56271:6;56257:11;;:20;;;;:::i;:::-;:33;;56249:64;;;;-1:-1:-1;;;56249:64:0;;10943:2:1;56249:64:0;;;10925:21:1;10982:2;10962:18;;;10955:30;-1:-1:-1;;;11001:18:1;;;10994:48;11059:18;;56249:64:0;10741:342:1;56249:64:0;56329:9;56324:285;56348:6;56344:1;:10;56324:285;;;56394:11;;56420:18;56426:2;56394:11;56420:5;:18::i;:::-;56479:47;;-1:-1:-1;;11293:2:1;11289:15;;;11285:53;56479:47:0;;;11273:66:1;56500:16:0;11355:12:1;;;11348:28;11392:12;;;11385:28;;;11429:12;;56479:47:0;;;;;;-1:-1:-1;;56479:47:0;;;;;;56469:58;;56479:47;56469:58;;;;56453:13;;;;:4;:13;;;;;:74;;;;56542:13;:22;;;;;:27;;-1:-1:-1;;;;;;56542:27:0;-1:-1:-1;;;;;56542:27:0;;;;;56584:11;:13;;;;;;:::i;:::-;;;;;;56361:248;56356:3;;;;;:::i;:::-;;;;56324:285;;40572:151;40676:39;40693:4;40699:2;40703:7;40676:39;;;;;;;;;;;;:16;:39::i;57711:451::-;57771:16;57800:23;57840:15;57850:4;57840:9;:15::i;:::-;57826:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57826:30:0;;57800:56;;57867:9;57896;57891:240;-1:-1:-1;;;;;57915:17:0;;;;;;:11;:17;;;;;:24;57911:28;;57891:240;;;-1:-1:-1;;;;;57979:17:0;;57961:15;57979:17;;;:11;:17;;;;;:20;;57997:1;;57979:20;;;;;;:::i;:::-;;;;;;;;;57961:38;;58038:4;-1:-1:-1;;;;;58018:24:0;:16;58026:7;58018;:16::i;:::-;-1:-1:-1;;;;;58018:24:0;;58014:106;;58075:7;58063:6;58070:1;58063:9;;;;;;;;:::i;:::-;;;;;;;;;;:19;58101:3;;;;:::i;:::-;;;;58014:106;-1:-1:-1;57941:3:0;;;;:::i;:::-;;;;57891:240;;;-1:-1:-1;58148:6:0;;57711:451;-1:-1:-1;;;57711:451:0:o;56919:102::-;53948:13;:11;:13::i;:::-;56995:7:::1;:18;57005:8:::0;;56995:7;:18:::1;:::i;37698:223::-:0;37770:7;42431:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42431:16:0;;37834:56;;;;-1:-1:-1;;;37834:56:0;;11926:2:1;37834:56:0;;;11908:21:1;11965:2;11945:18;;;11938:30;-1:-1:-1;;;11984:18:1;;;11977:54;12048:18;;37834:56:0;11724:348:1;55876:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37429:207::-;37501:7;-1:-1:-1;;;;;37529:19:0;;37521:73;;;;-1:-1:-1;;;37521:73:0;;12279:2:1;37521:73:0;;;12261:21:1;12318:2;12298:18;;;12291:30;12357:34;12337:18;;;12330:62;-1:-1:-1;;;12408:18:1;;;12401:39;12457:19;;37521:73:0;12077:405:1;37521:73:0;-1:-1:-1;;;;;;37612:16:0;;;;;:9;:16;;;;;;;37429:207::o;54703:103::-;53948:13;:11;:13::i;:::-;54768:30:::1;54795:1;54768:18;:30::i;:::-;54703:103::o:0;55904:28::-;;;;;;;:::i;57167:107::-;53948:13;:11;:13::i;:::-;57240:17:::1;:26:::0;;-1:-1:-1;;57240:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57167:107::o;38157:104::-;38213:13;38246:7;38239:14;;;;;:::i;39743:155::-;39838:52;17709:10;39871:8;39881;39838:18;:52::i;:::-;39743:155;;:::o;40794:279::-;40925:41;17709:10;40958:7;40925:18;:41::i;:::-;40917:99;;;;-1:-1:-1;;;40917:99:0;;;;;;;:::i;:::-;41027:38;41041:4;41047:2;41051:7;41060:4;41027:13;:38::i;:::-;40794:279;;;;:::o;57282:303::-;57385:17;;57355:13;;57385:17;;57381:197;;;57426:14;57419:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57282:303;;;:::o;57381:197::-;57504:1;57486:7;57480:21;;;;;:::i;:::-;;;:25;:86;;;;;;;;;;;;;;;;;57532:7;57541:18;:7;:16;:18::i;:::-;57515:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57473:93;57282:303;-1:-1:-1;;57282:303:0:o;57381:197::-;57282:303;;;:::o;57593:110::-;53948:13;:11;:13::i;:::-;-1:-1:-1;;;;;57671:15:0;;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:24;;-1:-1:-1;;57671:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57593:110::o;55696:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39969:164::-;-1:-1:-1;;;;;40090:25:0;;;40066:4;40090:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39969:164::o;54961:201::-;53948:13;:11;:13::i;:::-;-1:-1:-1;;;;;55050:22:0;::::1;55042:73;;;::::0;-1:-1:-1;;;55042:73:0;;13714:2:1;55042:73:0::1;::::0;::::1;13696:21:1::0;13753:2;13733:18;;;13726:30;13792:34;13772:18;;;13765:62;-1:-1:-1;;;13843:18:1;;;13836:36;13889:19;;55042:73:0::1;13512:402:1::0;55042:73:0::1;55126:28;55145:8;55126:18;:28::i;:::-;54961:201:::0;:::o;49063:135::-;42833:4;42431:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42431:16:0;49137:53;;;;-1:-1:-1;;;49137:53:0;;11926:2:1;49137:53:0;;;11908:21:1;11965:2;11945:18;;;11938:30;-1:-1:-1;;;11984:18:1;;;11977:54;12048:18;;49137:53:0;11724:348:1;48376:174:0;48451:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48451:29:0;-1:-1:-1;;;;;48451:29:0;;;;;;;;:24;;48505:23;48451:24;48505:14;:23::i;:::-;-1:-1:-1;;;;;48496:46:0;;;;;;;;;;;48376:174;;:::o;43063:264::-;43156:4;43173:13;43189:23;43204:7;43189:14;:23::i;:::-;43173:39;;43242:5;-1:-1:-1;;;;;43231:16:0;:7;-1:-1:-1;;;;;43231:16:0;;:52;;;;43251:32;43268:5;43275:7;43251:16;:32::i;:::-;43231:87;;;;43311:7;-1:-1:-1;;;;;43287:31:0;:20;43299:7;43287:11;:20::i;:::-;-1:-1:-1;;;;;43287:31:0;;43231:87;43223:96;43063:264;-1:-1:-1;;;;43063:264:0:o;47028:1229::-;47153:4;-1:-1:-1;;;;;47126:31:0;:23;47141:7;47126:14;:23::i;:::-;-1:-1:-1;;;;;47126:31:0;;47118:81;;;;-1:-1:-1;;;47118:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47218:16:0;;47210:65;;;;-1:-1:-1;;;47210:65:0;;14527:2:1;47210:65:0;;;14509:21:1;14566:2;14546:18;;;14539:30;14605:34;14585:18;;;14578:62;-1:-1:-1;;;14656:18:1;;;14649:34;14700:19;;47210:65:0;14325:400:1;47210:65:0;47460:4;-1:-1:-1;;;;;47433:31:0;:23;47448:7;47433:14;:23::i;:::-;-1:-1:-1;;;;;47433:31:0;;47425:81;;;;-1:-1:-1;;;47425:81:0;;;;;;;:::i;:::-;47578:24;;;;:15;:24;;;;;;;;47571:31;;-1:-1:-1;;;;;;47571:31:0;;;;;;-1:-1:-1;;;;;48054:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;48054:20:0;;;48089:13;;;;;;;;;:18;;47571:31;48089:18;;;48129:16;;;:7;:16;;;;;;:21;;;;;;;;;;48168:27;;47594:7;;48168:27;;;48208:41;48228:4;48234:2;48238:7;48247:1;48208:19;:41::i;54227:132::-;54135:6;;-1:-1:-1;;;;;54135:6:0;17709:10;54291:23;54283:68;;;;-1:-1:-1;;;54283:68:0;;14932:2:1;54283:68:0;;;14914:21:1;;;14951:18;;;14944:30;15010:34;14990:18;;;14983:62;15062:18;;54283:68:0;14730:356:1;44627:942:0;-1:-1:-1;;;;;44707:16:0;;44699:61;;;;-1:-1:-1;;;44699:61:0;;15293:2:1;44699:61:0;;;15275:21:1;;;15312:18;;;15305:30;15371:34;15351:18;;;15344:62;15423:18;;44699:61:0;15091:356:1;44699:61:0;42833:4;42431:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42431:16:0;42857:31;44771:58;;;;-1:-1:-1;;;44771:58:0;;15654:2:1;44771:58:0;;;15636:21:1;15693:2;15673:18;;;15666:30;15732;15712:18;;;15705:58;15780:18;;44771:58:0;15452:352:1;44771:58:0;42833:4;42431:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42431:16:0;42857:31;44980:58;;;;-1:-1:-1;;;44980:58:0;;15654:2:1;44980:58:0;;;15636:21:1;15693:2;15673:18;;;15666:30;15732;15712:18;;;15705:58;15780:18;;44980:58:0;15452:352:1;44980:58:0;-1:-1:-1;;;;;45387:13:0;;;;;;:9;:13;;;;;;;;:18;;45404:1;45387:18;;;45429:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45429:21:0;;;;;45468:33;45437:7;;45387:13;;45468:33;;45387:13;;45468:33;45514:47;45542:1;45546:2;45550:7;45559:1;45514:19;:47::i;55322:191::-;55415:6;;;-1:-1:-1;;;;;55432:17:0;;;-1:-1:-1;;;;;;55432:17:0;;;;;;;55465:40;;55415:6;;;55432:17;55415:6;;55465:40;;55396:16;;55465:40;55385:128;55322:191;:::o;48693:281::-;48814:8;-1:-1:-1;;;;;48805:17:0;:5;-1:-1:-1;;;;;48805:17:0;;48797:55;;;;-1:-1:-1;;;48797:55:0;;16011:2:1;48797:55:0;;;15993:21:1;16050:2;16030:18;;;16023:30;16089:27;16069:18;;;16062:55;16134:18;;48797:55:0;15809:349:1;48797:55:0;-1:-1:-1;;;;;48863:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;48863:46:0;;;;;;;;;;48925:41;;540::1;;;48925::0;;513:18:1;48925:41:0;;;;;;;48693:281;;;:::o;41954:270::-;42067:28;42077:4;42083:2;42087:7;42067:9;:28::i;:::-;42114:47;42137:4;42143:2;42147:7;42156:4;42114:22;:47::i;:::-;42106:110;;;;-1:-1:-1;;;42106:110:0;;;;;;;:::i;32500:716::-;32556:13;32607:14;32624:17;32635:5;32624:10;:17::i;:::-;32644:1;32624:21;32607:38;;32660:20;32694:6;32683:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32683:18:0;-1:-1:-1;32660:41:0;-1:-1:-1;32825:28:0;;;32841:2;32825:28;32882:288;-1:-1:-1;;32914:5:0;-1:-1:-1;;;33051:2:0;33040:14;;33035:30;32914:5;33022:44;33112:2;33103:11;;;-1:-1:-1;33133:21:0;32882:288;33133:21;-1:-1:-1;33191:6:0;32500:716;-1:-1:-1;;;32500:716:0:o;56624:287::-;-1:-1:-1;;;;;56761:17:0;;;;;;:13;:17;;;;;;;;:31;;;;;;;;;;;:40;;;;56757:97;;-1:-1:-1;;;;;56816:17:0;;;;;;:13;:17;;;;;;;;:31;;;;;;;;:38;;-1:-1:-1;;56816:38:0;56850:4;56816:38;;;56757:97;-1:-1:-1;;;;;;56869:15:0;;;;;;;:11;:15;;;;;;;:34;;;;;;;;;;;;;;-1:-1:-1;56624:287:0:o;49762:853::-;49916:4;-1:-1:-1;;;;;49937:13:0;;9168:19;:23;49933:675;;49973:71;;-1:-1:-1;;;49973:71:0;;-1:-1:-1;;;;;49973:36:0;;;;;:71;;17709:10;;50024:4;;50030:7;;50039:4;;49973:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49973:71:0;;;;;;;;-1:-1:-1;;49973:71:0;;;;;;;;;;;;:::i;:::-;;;49969:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50214:6;:13;50231:1;50214:18;50210:328;;50257:60;;-1:-1:-1;;;50257:60:0;;;;;;;:::i;50210:328::-;50488:6;50482:13;50473:6;50469:2;50465:15;50458:38;49969:584;-1:-1:-1;;;;;;50095:51:0;-1:-1:-1;;;50095:51:0;;-1:-1:-1;50088:58:0;;49933:675;-1:-1:-1;50592:4:0;49762:853;;;;;;:::o;28244:948::-;28297:7;;-1:-1:-1;;;28375:17:0;;28371:106;;-1:-1:-1;;;28413:17:0;;;-1:-1:-1;28459:2:0;28449:12;28371:106;28504:8;28495:5;:17;28491:106;;28542:8;28533:17;;;-1:-1:-1;28579:2:0;28569:12;28491:106;28624:8;28615:5;:17;28611:106;;28662:8;28653:17;;;-1:-1:-1;28699:2:0;28689:12;28611:106;28744:7;28735:5;:16;28731:103;;28781:7;28772:16;;;-1:-1:-1;28817:1:0;28807:11;28731:103;28861:7;28852:5;:16;28848:103;;28898:7;28889:16;;;-1:-1:-1;28934:1:0;28924:11;28848:103;28978:7;28969:5;:16;28965:103;;29015:7;29006:16;;;-1:-1:-1;29051:1:0;29041:11;28965:103;29095:7;29086:5;:16;29082:68;;29133:1;29123:11;29178:6;28244:948;-1:-1:-1;;28244:948: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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:632::-;3652:2;3704:21;;;3774:13;;3677:18;;;3796:22;;;3623:4;;3652:2;3875:15;;;;3849:2;3834:18;;;3623:4;3918:169;3932:6;3929:1;3926:13;3918:169;;;3993:13;;3981:26;;4062:15;;;;4027:12;;;;3954:1;3947:9;3918:169;;;-1:-1:-1;4104:3:1;;3481:632;-1:-1:-1;;;;;;3481:632:1:o;4118:160::-;4183:20;;4239:13;;4232:21;4222:32;;4212:60;;4268:1;4265;4258:12;4283:180;4339:6;4392:2;4380:9;4371:7;4367:23;4363:32;4360:52;;;4408:1;4405;4398:12;4360:52;4431:26;4447:9;4431:26;:::i;4650:254::-;4715:6;4723;4776:2;4764:9;4755:7;4751:23;4747:32;4744:52;;;4792:1;4789;4782:12;4744:52;4815:29;4834:9;4815:29;:::i;:::-;4805:39;;4863:35;4894:2;4883:9;4879:18;4863:35;:::i;:::-;4853:45;;4650:254;;;;;:::o;4909:127::-;4970:10;4965:3;4961:20;4958:1;4951:31;5001:4;4998:1;4991:15;5025:4;5022:1;5015:15;5041:1138;5136:6;5144;5152;5160;5213:3;5201:9;5192:7;5188:23;5184:33;5181:53;;;5230:1;5227;5220:12;5181:53;5253:29;5272:9;5253:29;:::i;:::-;5243:39;;5301:38;5335:2;5324:9;5320:18;5301:38;:::i;:::-;5291:48;;5386:2;5375:9;5371:18;5358:32;5348:42;;5441:2;5430:9;5426:18;5413:32;5464:18;5505:2;5497:6;5494:14;5491:34;;;5521:1;5518;5511:12;5491:34;5559:6;5548:9;5544:22;5534:32;;5604:7;5597:4;5593:2;5589:13;5585:27;5575:55;;5626:1;5623;5616:12;5575:55;5662:2;5649:16;5684:2;5680;5677:10;5674:36;;;5690:18;;:::i;:::-;5765:2;5759:9;5733:2;5819:13;;-1:-1:-1;;5815:22:1;;;5839:2;5811:31;5807:40;5795:53;;;5863:18;;;5883:22;;;5860:46;5857:72;;;5909:18;;:::i;:::-;5949:10;5945:2;5938:22;5984:2;5976:6;5969:18;6024:7;6019:2;6014;6010;6006:11;6002:20;5999:33;5996:53;;;6045:1;6042;6035:12;5996:53;6101:2;6096;6092;6088:11;6083:2;6075:6;6071:15;6058:46;6146:1;6141:2;6136;6128:6;6124:15;6120:24;6113:35;6167:6;6157:16;;;;;;;5041:1138;;;;;;;:::o;6184:260::-;6252:6;6260;6313:2;6301:9;6292:7;6288:23;6284:32;6281:52;;;6329:1;6326;6319:12;6281:52;6352:29;6371:9;6352:29;:::i;:::-;6342:39;;6400:38;6434:2;6423:9;6419:18;6400:38;:::i;6449:380::-;6528:1;6524:12;;;;6571;;;6592:61;;6646:4;6638:6;6634:17;6624:27;;6592:61;6699:2;6691:6;6688:14;6668:18;6665:38;6662:161;;6745:10;6740:3;6736:20;6733:1;6726:31;6780:4;6777:1;6770:15;6808:4;6805:1;6798:15;6662:161;;6449:380;;;:::o;7666:409::-;7868:2;7850:21;;;7907:2;7887:18;;;7880:30;7946:34;7941:2;7926:18;;7919:62;-1:-1:-1;;;8012:2:1;7997:18;;7990:43;8065:3;8050:19;;7666:409::o;8206:545::-;8308:2;8303:3;8300:11;8297:448;;;8344:1;8369:5;8365:2;8358:17;8414:4;8410:2;8400:19;8484:2;8472:10;8468:19;8465:1;8461:27;8455:4;8451:38;8520:4;8508:10;8505:20;8502:47;;;-1:-1:-1;8543:4:1;8502:47;8598:2;8593:3;8589:12;8586:1;8582:20;8576:4;8572:31;8562:41;;8653:82;8671:2;8664:5;8661:13;8653:82;;;8716:17;;;8697:1;8686:13;8653:82;;;8657:3;;;8206:545;;;:::o;8927:1206::-;9051:18;9046:3;9043:27;9040:53;;;9073:18;;:::i;:::-;9102:94;9192:3;9152:38;9184:4;9178:11;9152:38;:::i;:::-;9146:4;9102:94;:::i;:::-;9222:1;9247:2;9242:3;9239:11;9264:1;9259:616;;;;9919:1;9936:3;9933:93;;;-1:-1:-1;9992:19:1;;;9979:33;9933:93;-1:-1:-1;;8884:1:1;8880:11;;;8876:24;8872:29;8862:40;8908:1;8904:11;;;8859:57;10039:78;;9232:895;;9259:616;8153:1;8146:14;;;8190:4;8177:18;;-1:-1:-1;;9295:17:1;;;9396:9;9418:229;9432:7;9429:1;9426:14;9418:229;;;9521:19;;;9508:33;9493:49;;9628:4;9613:20;;;;9581:1;9569:14;;;;9448:12;9418:229;;;9422:3;9675;9666:7;9663:16;9660:159;;;9799:1;9795:6;9789:3;9783;9780:1;9776:11;9772:21;9768:34;9764:39;9751:9;9746:3;9742:19;9729:33;9725:79;9717:6;9710:95;9660:159;;;9862:1;9856:3;9853:1;9849:11;9845:19;9839:4;9832:33;9232:895;;;8927:1206;;;:::o;10479:127::-;10540:10;10535:3;10531:20;10528:1;10521:31;10571:4;10568:1;10561:15;10595:4;10592:1;10585:15;10611:125;10676:9;;;10697:10;;;10694:36;;;10710:18;;:::i;11452:135::-;11491:3;11512:17;;;11509:43;;11532:18;;:::i;:::-;-1:-1:-1;11579:1:1;11568:13;;11452:135::o;11592:127::-;11653:10;11648:3;11644:20;11641:1;11634:31;11684:4;11681:1;11674:15;11708:4;11705:1;11698:15;12487:1020;12663:3;12692:1;12725:6;12719:13;12755:36;12781:9;12755:36;:::i;:::-;12810:1;12827:18;;;12854:133;;;;13001:1;12996:356;;;;12820:532;;12854:133;-1:-1:-1;;12887:24:1;;12875:37;;12960:14;;12953:22;12941:35;;12932:45;;;-1:-1:-1;12854:133:1;;12996:356;13027:6;13024:1;13017:17;13057:4;13102:2;13099:1;13089:16;13127:1;13141:165;13155:6;13152:1;13149:13;13141:165;;;13233:14;;13220:11;;;13213:35;13276:16;;;;13170:10;;13141:165;;;13145:3;;;13335:6;13330:3;13326:16;13319:23;;12820:532;;;;;13383:6;13377:13;13399:68;13458:8;13453:3;13446:4;13438:6;13434:17;13399:68;:::i;:::-;13483:18;;12487:1020;-1:-1:-1;;;;12487:1020:1:o;13919:401::-;14121:2;14103:21;;;14160:2;14140:18;;;14133:30;14199:34;14194:2;14179:18;;14172:62;-1:-1:-1;;;14265:2:1;14250:18;;14243:35;14310:3;14295:19;;13919:401::o;16163:414::-;16365:2;16347:21;;;16404:2;16384:18;;;16377:30;16443:34;16438:2;16423:18;;16416:62;-1:-1:-1;;;16509:2:1;16494:18;;16487:48;16567:3;16552:19;;16163:414::o;16714:489::-;-1:-1:-1;;;;;16983:15:1;;;16965:34;;17035:15;;17030:2;17015:18;;17008:43;17082:2;17067:18;;17060:34;;;17130:3;17125:2;17110:18;;17103:31;;;16908:4;;17151:46;;17177:19;;17169:6;17151:46;:::i;:::-;17143:54;16714:489;-1:-1:-1;;;;;;16714:489:1:o;17208:249::-;17277:6;17330:2;17318:9;17309:7;17305:23;17301:32;17298:52;;;17346:1;17343;17336:12;17298:52;17378:9;17372:16;17397:30;17421:5;17397:30;:::i
Swarm Source
ipfs://24e60c5a91abb2eb7e0234c6bee3a1cb1ea97787087c73dd9bfd5f875407aa83
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.