Polygon Sponsored slots available. Book your slot here!
Overview
POL Balance
POL Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Contract Name:
UnownableNft
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2024-02-11 */ // Sources flattened with hardhat v2.14.1 https://hardhat.org // File @openzeppelin/contracts/interfaces/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.20; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) /** * @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 address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v5.0.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); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (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; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (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 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) 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. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 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. uint256 twos = denominator & (0 - denominator); 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 (unsignedRoundsUp(rounding) && 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 * towards zero. * * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v5.0.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); } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @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), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(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) { uint256 localValue = value; 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] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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 bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) /** * @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}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => 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 returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(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 { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is 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`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets * the `spender` for the specific `tokenId`. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @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 { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * 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 { _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); _checkOnERC721Received(address(0), to, tokenId, data); } /** * @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 { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } } /** * @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 { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - 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) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); _checkOnERC721Received(from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the * recipient doesn't accept the token transfer. 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 */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { revert ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { revert ERC721InvalidReceiver(to); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } } } // File contracts/UnownableNft.sol pragma solidity 0.8.20; contract UnownableNft is ERC721 { /** * This collection can only have 1 NFT. */ string public _tokenURI; /** * @param _name collection name * @param _symbol collection symbol * @param _uri metadata uri */ constructor( string memory _name, string memory _symbol, string memory _uri ) ERC721(_name, _symbol) { _safeMint(msg.sender, 1); _tokenURI = _uri; } /** * Take possesion of the Unownable NFT. */ function takePossession() external { require(ownerOf(1) != msg.sender, "You already have NFT in possession."); _update(msg.sender, 1, address(0)); } /** * @dev Get token uri * @param tokenId nft id */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireOwned(tokenId); return _tokenURI; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"takePossession","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]
Contract Creation Code
608060405234801562000010575f80fd5b50604051620017473803806200174783398101604081905262000033916200067c565b82825f62000042838262000792565b50600162000051828262000792565b505050620000673360016200007f60201b60201c565b600662000075828262000792565b50505050620008df565b620000a0828260405180602001604052805f815250620000a460201b60201c565b5050565b620000b08383620000c3565b620000be5f8484846200012e565b505050565b6001600160a01b038216620000f257604051633250574960e11b81525f60048201526024015b60405180910390fd5b5f6200010083838362000262565b90506001600160a01b03811615620000be576040516339e3563760e11b81525f6004820152602401620000e9565b6001600160a01b0383163b156200025c57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290620001739033908890879087906004016200085a565b6020604051808303815f875af1925050508015620001b0575060408051601f3d908101601f19168201909252620001ad91810190620008af565b60015b6200021c573d808015620001e0576040519150601f19603f3d011682016040523d82523d5f602084013e620001e5565b606091505b5080515f036200021457604051633250574960e11b81526001600160a01b0385166004820152602401620000e9565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b146200025a57604051633250574960e11b81526001600160a01b0385166004820152602401620000e9565b505b50505050565b5f828152600260205260408120546001600160a01b03908116908316156200029157620002918184866200035b565b6001600160a01b03811615620002ce57620002af5f858180620003c5565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615620002fd576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b62000368838383620004f0565b620000be576001600160a01b0383166200039957604051637e27328960e01b815260048101829052602401620000e9565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401620000e9565b8080620003da57506001600160a01b03821615155b15620004c1575f620003ec8462000576565b90506001600160a01b03831615801590620004195750826001600160a01b0316816001600160a01b031614155b80156200044b57506001600160a01b038082165f9081526005602090815260408083209387168352929052205460ff16155b15620004765760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401620000e9565b8115620004bf5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b5f6001600160a01b038316158015906200056e5750826001600160a01b0316846001600160a01b031614806200054a57506001600160a01b038085165f9081526005602090815260408083209387168352929052205460ff165b806200056e57505f828152600460205260409020546001600160a01b038481169116145b949350505050565b5f818152600260205260408120546001600160a01b031680620005b057604051637e27328960e01b815260048101849052602401620000e9565b92915050565b634e487b7160e01b5f52604160045260245ffd5b5f5b83811015620005e6578181015183820152602001620005cc565b50505f910152565b5f82601f830112620005fe575f80fd5b81516001600160401b03808211156200061b576200061b620005b6565b604051601f8301601f19908116603f01168101908282118183101715620006465762000646620005b6565b816040528381528660208588010111156200065f575f80fd5b62000672846020830160208901620005ca565b9695505050505050565b5f805f606084860312156200068f575f80fd5b83516001600160401b0380821115620006a6575f80fd5b620006b487838801620005ee565b94506020860151915080821115620006ca575f80fd5b620006d887838801620005ee565b93506040860151915080821115620006ee575f80fd5b50620006fd86828701620005ee565b9150509250925092565b600181811c908216806200071c57607f821691505b6020821081036200073b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620000be575f81815260208120601f850160051c81016020861015620007695750805b601f850160051c820191505b818110156200078a5782815560010162000775565b505050505050565b81516001600160401b03811115620007ae57620007ae620005b6565b620007c681620007bf845462000707565b8462000741565b602080601f831160018114620007fc575f8415620007e45750858301515b5f19600386901b1c1916600185901b1785556200078a565b5f85815260208120601f198616915b828110156200082c578886015182559484019460019091019084016200080b565b50858210156200084a57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620008988160a0850160208701620005ca565b601f01601f19169190910160a00195945050505050565b5f60208284031215620008c0575f80fd5b81516001600160e01b031981168114620008d8575f80fd5b9392505050565b610e5a80620008ed5f395ff3fe608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806370a0823111610093578063b4ce37d211610063578063b4ce37d2146101ee578063b88d4fde146101f6578063c87b56dd14610209578063e985e9c51461021c575f80fd5b806370a08231146101aa57806395d89b41146101cb578063a22cb465146101d3578063afcd0998146101e6575f80fd5b8063095ea7b3116100ce578063095ea7b31461015c57806323b872dd1461017157806342842e0e146101845780636352211e14610197575f80fd5b806301ffc9a7146100f457806306fdde031461011c578063081812fc14610131575b5f80fd5b610107610102366004610b1f565b61022f565b60405190151581526020015b60405180910390f35b610124610280565b6040516101139190610b84565b61014461013f366004610b96565b61030f565b6040516001600160a01b039091168152602001610113565b61016f61016a366004610bc8565b610336565b005b61016f61017f366004610bf0565b610345565b61016f610192366004610bf0565b6103d3565b6101446101a5366004610b96565b6103f2565b6101bd6101b8366004610c29565b6103fc565b604051908152602001610113565b610124610441565b61016f6101e1366004610c42565b610450565b61016f61045b565b6101246104d7565b61016f610204366004610c8f565b610563565b610124610217366004610b96565b61057a565b61010761022a366004610d64565b610616565b5f6001600160e01b031982166380ac58cd60e01b148061025f57506001600160e01b03198216635b5e139f60e01b145b8061027a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f805461028e90610d95565b80601f01602080910402602001604051908101604052809291908181526020018280546102ba90610d95565b80156103055780601f106102dc57610100808354040283529160200191610305565b820191905f5260205f20905b8154815290600101906020018083116102e857829003601f168201915b5050505050905090565b5f61031982610643565b505f828152600460205260409020546001600160a01b031661027a565b61034182823361067b565b5050565b6001600160a01b03821661037357604051633250574960e11b81525f60048201526024015b60405180910390fd5b5f61037f838333610688565b9050836001600160a01b0316816001600160a01b0316146103cd576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161036a565b50505050565b6103ed83838360405180602001604052805f815250610563565b505050565b5f61027a82610643565b5f6001600160a01b038216610426576040516322718ad960e21b81525f600482015260240161036a565b506001600160a01b03165f9081526003602052604090205490565b60606001805461028e90610d95565b61034133838361077a565b3361046660016103f2565b6001600160a01b0316036104c85760405162461bcd60e51b815260206004820152602360248201527f596f7520616c72656164792068617665204e465420696e20706f73736573736960448201526237b71760e91b606482015260840161036a565b6104d43360015f610688565b50565b600680546104e490610d95565b80601f016020809104026020016040519081016040528092919081815260200182805461051090610d95565b801561055b5780601f106105325761010080835404028352916020019161055b565b820191905f5260205f20905b81548152906001019060200180831161053e57829003601f168201915b505050505081565b61056e848484610345565b6103cd84848484610818565b606061058582610643565b506006805461059390610d95565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf90610d95565b801561060a5780601f106105e15761010080835404028352916020019161060a565b820191905f5260205f20905b8154815290600101906020018083116105ed57829003601f168201915b50505050509050919050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f818152600260205260408120546001600160a01b03168061027a57604051637e27328960e01b81526004810184905260240161036a565b6103ed838383600161093e565b5f828152600260205260408120546001600160a01b03908116908316156106b4576106b4818486610a42565b6001600160a01b038116156106ee576106cf5f855f8061093e565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561071c576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6001600160a01b0382166107ac57604051630b61174360e31b81526001600160a01b038316600482015260240161036a565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156103cd57604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061085a903390889087908790600401610dcd565b6020604051808303815f875af1925050508015610894575060408051601f3d908101601f1916820190925261089191810190610e09565b60015b6108fb573d8080156108c1576040519150601f19603f3d011682016040523d82523d5f602084013e6108c6565b606091505b5080515f036108f357604051633250574960e11b81526001600160a01b038516600482015260240161036a565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461093757604051633250574960e11b81526001600160a01b038516600482015260240161036a565b5050505050565b808061095257506001600160a01b03821615155b15610a13575f61096184610643565b90506001600160a01b0383161580159061098d5750826001600160a01b0316816001600160a01b031614155b80156109a0575061099e8184610616565b155b156109c95760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161036a565b8115610a115783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d838383610aa6565b6103ed576001600160a01b038316610a7b57604051637e27328960e01b81526004810182905260240161036a565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161036a565b5f6001600160a01b03831615801590610b025750826001600160a01b0316846001600160a01b03161480610adf5750610adf8484610616565b80610b0257505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b0319811681146104d4575f80fd5b5f60208284031215610b2f575f80fd5b8135610b3a81610b0a565b9392505050565b5f81518084525f5b81811015610b6557602081850181015186830182015201610b49565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610b3a6020830184610b41565b5f60208284031215610ba6575f80fd5b5035919050565b80356001600160a01b0381168114610bc3575f80fd5b919050565b5f8060408385031215610bd9575f80fd5b610be283610bad565b946020939093013593505050565b5f805f60608486031215610c02575f80fd5b610c0b84610bad565b9250610c1960208501610bad565b9150604084013590509250925092565b5f60208284031215610c39575f80fd5b610b3a82610bad565b5f8060408385031215610c53575f80fd5b610c5c83610bad565b915060208301358015158114610c70575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215610ca2575f80fd5b610cab85610bad565b9350610cb960208601610bad565b925060408501359150606085013567ffffffffffffffff80821115610cdc575f80fd5b818701915087601f830112610cef575f80fd5b813581811115610d0157610d01610c7b565b604051601f8201601f19908116603f01168101908382118183101715610d2957610d29610c7b565b816040528281528a6020848701011115610d41575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f8060408385031215610d75575f80fd5b610d7e83610bad565b9150610d8c60208401610bad565b90509250929050565b600181811c90821680610da957607f821691505b602082108103610dc757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90610dff90830184610b41565b9695505050505050565b5f60208284031215610e19575f80fd5b8151610b3a81610b0a56fea264697066735822122024fee0cb91481e41acdef8cc09341e7a7a9aa5ae7a7d492efbac5ac0f66662b964736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d556e6f776e61626c65204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035530540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018368747470733a2f2f62616679626569646b7a326d706c77767465676179376a647a796f6a62643269796f6c7871687a736962346f7574676b78626575726c70747974692e697066732e6e65637461726e6f64652e696f2f3f746f6b656e3d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a6a615751694f694a6959575a35596d56705a4774364d6d3177624864326447566e59586b33616d523665573971596d517961586c76624868786148707a61574930623356305a327434596d5631636d787764486c3061534973496e42796232706c59335266645856705a434936496a4e6b5a44417a4e544a684c5749344f5751744e4755784e43316959544e6b4c546778596a41325a4751784d444a6b4d434973496d6c68644349364d5463774e7a45324e546b784d69776963335669496a6f6953564247557931306232746c62694a392e52493977765a665f3049556639574f4e64644b574c5643564a56634b4945505543384d31365a3138386c490000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100f0575f3560e01c806370a0823111610093578063b4ce37d211610063578063b4ce37d2146101ee578063b88d4fde146101f6578063c87b56dd14610209578063e985e9c51461021c575f80fd5b806370a08231146101aa57806395d89b41146101cb578063a22cb465146101d3578063afcd0998146101e6575f80fd5b8063095ea7b3116100ce578063095ea7b31461015c57806323b872dd1461017157806342842e0e146101845780636352211e14610197575f80fd5b806301ffc9a7146100f457806306fdde031461011c578063081812fc14610131575b5f80fd5b610107610102366004610b1f565b61022f565b60405190151581526020015b60405180910390f35b610124610280565b6040516101139190610b84565b61014461013f366004610b96565b61030f565b6040516001600160a01b039091168152602001610113565b61016f61016a366004610bc8565b610336565b005b61016f61017f366004610bf0565b610345565b61016f610192366004610bf0565b6103d3565b6101446101a5366004610b96565b6103f2565b6101bd6101b8366004610c29565b6103fc565b604051908152602001610113565b610124610441565b61016f6101e1366004610c42565b610450565b61016f61045b565b6101246104d7565b61016f610204366004610c8f565b610563565b610124610217366004610b96565b61057a565b61010761022a366004610d64565b610616565b5f6001600160e01b031982166380ac58cd60e01b148061025f57506001600160e01b03198216635b5e139f60e01b145b8061027a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f805461028e90610d95565b80601f01602080910402602001604051908101604052809291908181526020018280546102ba90610d95565b80156103055780601f106102dc57610100808354040283529160200191610305565b820191905f5260205f20905b8154815290600101906020018083116102e857829003601f168201915b5050505050905090565b5f61031982610643565b505f828152600460205260409020546001600160a01b031661027a565b61034182823361067b565b5050565b6001600160a01b03821661037357604051633250574960e11b81525f60048201526024015b60405180910390fd5b5f61037f838333610688565b9050836001600160a01b0316816001600160a01b0316146103cd576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161036a565b50505050565b6103ed83838360405180602001604052805f815250610563565b505050565b5f61027a82610643565b5f6001600160a01b038216610426576040516322718ad960e21b81525f600482015260240161036a565b506001600160a01b03165f9081526003602052604090205490565b60606001805461028e90610d95565b61034133838361077a565b3361046660016103f2565b6001600160a01b0316036104c85760405162461bcd60e51b815260206004820152602360248201527f596f7520616c72656164792068617665204e465420696e20706f73736573736960448201526237b71760e91b606482015260840161036a565b6104d43360015f610688565b50565b600680546104e490610d95565b80601f016020809104026020016040519081016040528092919081815260200182805461051090610d95565b801561055b5780601f106105325761010080835404028352916020019161055b565b820191905f5260205f20905b81548152906001019060200180831161053e57829003601f168201915b505050505081565b61056e848484610345565b6103cd84848484610818565b606061058582610643565b506006805461059390610d95565b80601f01602080910402602001604051908101604052809291908181526020018280546105bf90610d95565b801561060a5780601f106105e15761010080835404028352916020019161060a565b820191905f5260205f20905b8154815290600101906020018083116105ed57829003601f168201915b50505050509050919050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f818152600260205260408120546001600160a01b03168061027a57604051637e27328960e01b81526004810184905260240161036a565b6103ed838383600161093e565b5f828152600260205260408120546001600160a01b03908116908316156106b4576106b4818486610a42565b6001600160a01b038116156106ee576106cf5f855f8061093e565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b0385161561071c576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6001600160a01b0382166107ac57604051630b61174360e31b81526001600160a01b038316600482015260240161036a565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b156103cd57604051630a85bd0160e11b81526001600160a01b0384169063150b7a029061085a903390889087908790600401610dcd565b6020604051808303815f875af1925050508015610894575060408051601f3d908101601f1916820190925261089191810190610e09565b60015b6108fb573d8080156108c1576040519150601f19603f3d011682016040523d82523d5f602084013e6108c6565b606091505b5080515f036108f357604051633250574960e11b81526001600160a01b038516600482015260240161036a565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461093757604051633250574960e11b81526001600160a01b038516600482015260240161036a565b5050505050565b808061095257506001600160a01b03821615155b15610a13575f61096184610643565b90506001600160a01b0383161580159061098d5750826001600160a01b0316816001600160a01b031614155b80156109a0575061099e8184610616565b155b156109c95760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161036a565b8115610a115783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610a4d838383610aa6565b6103ed576001600160a01b038316610a7b57604051637e27328960e01b81526004810182905260240161036a565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161036a565b5f6001600160a01b03831615801590610b025750826001600160a01b0316846001600160a01b03161480610adf5750610adf8484610616565b80610b0257505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b0319811681146104d4575f80fd5b5f60208284031215610b2f575f80fd5b8135610b3a81610b0a565b9392505050565b5f81518084525f5b81811015610b6557602081850181015186830182015201610b49565b505f602082860101526020601f19601f83011685010191505092915050565b602081525f610b3a6020830184610b41565b5f60208284031215610ba6575f80fd5b5035919050565b80356001600160a01b0381168114610bc3575f80fd5b919050565b5f8060408385031215610bd9575f80fd5b610be283610bad565b946020939093013593505050565b5f805f60608486031215610c02575f80fd5b610c0b84610bad565b9250610c1960208501610bad565b9150604084013590509250925092565b5f60208284031215610c39575f80fd5b610b3a82610bad565b5f8060408385031215610c53575f80fd5b610c5c83610bad565b915060208301358015158114610c70575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f805f8060808587031215610ca2575f80fd5b610cab85610bad565b9350610cb960208601610bad565b925060408501359150606085013567ffffffffffffffff80821115610cdc575f80fd5b818701915087601f830112610cef575f80fd5b813581811115610d0157610d01610c7b565b604051601f8201601f19908116603f01168101908382118183101715610d2957610d29610c7b565b816040528281528a6020848701011115610d41575f80fd5b826020860160208301375f60208483010152809550505050505092959194509250565b5f8060408385031215610d75575f80fd5b610d7e83610bad565b9150610d8c60208401610bad565b90509250929050565b600181811c90821680610da957607f821691505b602082108103610dc757634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90610dff90830184610b41565b9695505050505050565b5f60208284031215610e19575f80fd5b8151610b3a81610b0a56fea264697066735822122024fee0cb91481e41acdef8cc09341e7a7a9aa5ae7a7d492efbac5ac0f66662b964736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000d556e6f776e61626c65204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035530540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018368747470733a2f2f62616679626569646b7a326d706c77767465676179376a647a796f6a62643269796f6c7871687a736962346f7574676b78626575726c70747974692e697066732e6e65637461726e6f64652e696f2f3f746f6b656e3d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a6a615751694f694a6959575a35596d56705a4774364d6d3177624864326447566e59586b33616d523665573971596d517961586c76624868786148707a61574930623356305a327434596d5631636d787764486c3061534973496e42796232706c59335266645856705a434936496a4e6b5a44417a4e544a684c5749344f5751744e4755784e43316959544e6b4c546778596a41325a4751784d444a6b4d434973496d6c68644349364d5463774e7a45324e546b784d69776963335669496a6f6953564247557931306232746c62694a392e52493977765a665f3049556639574f4e64644b574c5643564a56634b4945505543384d31365a3138386c490000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Unownable NFT
Arg [1] : _symbol (string): U0T
Arg [2] : _uri (string): https://bafybeidkz2mplwvtegay7jdzyojbd2iyolxqhzsib4outgkxbeurlptyti.ipfs.nectarnode.io/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaWQiOiJiYWZ5YmVpZGt6Mm1wbHd2dGVnYXk3amR6eW9qYmQyaXlvbHhxaHpzaWI0b3V0Z2t4YmV1cmxwdHl0aSIsInByb2plY3RfdXVpZCI6IjNkZDAzNTJhLWI4OWQtNGUxNC1iYTNkLTgxYjA2ZGQxMDJkMCIsImlhdCI6MTcwNzE2NTkxMiwic3ViIjoiSVBGUy10b2tlbiJ9.RI9wvZf_0IUf9WONddKWLVCVJVcKIEPUC8M16Z188lI
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 556e6f776e61626c65204e465400000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5530540000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000183
Arg [8] : 68747470733a2f2f62616679626569646b7a326d706c77767465676179376a64
Arg [9] : 7a796f6a62643269796f6c7871687a736962346f7574676b78626575726c7074
Arg [10] : 7974692e697066732e6e65637461726e6f64652e696f2f3f746f6b656e3d6579
Arg [11] : 4a68624763694f694a49557a49314e694973496e523563434936496b70585643
Arg [12] : 4a392e65794a6a615751694f694a6959575a35596d56705a4774364d6d317762
Arg [13] : 4864326447566e59586b33616d523665573971596d517961586c766248687861
Arg [14] : 48707a61574930623356305a327434596d5631636d787764486c306153497349
Arg [15] : 6e42796232706c59335266645856705a434936496a4e6b5a44417a4e544a684c
Arg [16] : 5749344f5751744e4755784e43316959544e6b4c546778596a41325a4751784d
Arg [17] : 444a6b4d434973496d6c68644349364d5463774e7a45324e546b784d69776963
Arg [18] : 335669496a6f6953564247557931306232746c62694a392e52493977765a665f
Arg [19] : 3049556639574f4e64644b574c5643564a56634b4945505543384d31365a3138
Arg [20] : 386c490000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
54287:910:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37637:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;37637:305:0;;;;;;;;38468:91;;;:::i;:::-;;;;;;;:::i;39640:158::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1594:32:1;;;1576:51;;1564:2;1549:18;39640:158:0;1430:203:1;39459:115:0;;;;;;:::i;:::-;;:::i;:::-;;40309:588;;;;;;:::i;:::-;;:::i;40968:134::-;;;;;;:::i;:::-;;:::i;38281:120::-;;;;;;:::i;:::-;;:::i;38006:213::-;;;;;;:::i;:::-;;:::i;:::-;;;2745:25:1;;;2733:2;2718:18;38006:213:0;2599:177:1;38628:95:0;;;:::i;39870:146::-;;;;;;:::i;:::-;;:::i;54776:171::-;;;:::i;54383:23::-;;;:::i;41173:211::-;;;;;;:::i;:::-;;:::i;55020:174::-;;;;;;:::i;:::-;;:::i;40087:155::-;;;;;;:::i;:::-;;:::i;37637:305::-;37739:4;-1:-1:-1;;;;;;37776:40:0;;-1:-1:-1;;;37776:40:0;;:105;;-1:-1:-1;;;;;;;37833:48:0;;-1:-1:-1;;;37833:48:0;37776:105;:158;;;-1:-1:-1;;;;;;;;;;16374:40:0;;;37898:36;37756:178;37637:305;-1:-1:-1;;37637:305:0:o;38468:91::-;38513:13;38546:5;38539:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38468:91;:::o;39640:158::-;39707:7;39727:22;39741:7;39727:13;:22::i;:::-;-1:-1:-1;42216:7:0;42243:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42243:24:0;39769:21;42146:129;39459:115;39531:35;39540:2;39544:7;15377:10;39531:8;:35::i;:::-;39459:115;;:::o;40309:588::-;-1:-1:-1;;;;;40404:16:0;;40400:89;;40444:33;;-1:-1:-1;;;40444:33:0;;40474:1;40444:33;;;1576:51:1;1549:18;;40444:33:0;;;;;;;;40400:89;40710:21;40734:34;40742:2;40746:7;15377:10;40734:7;:34::i;:::-;40710:58;;40800:4;-1:-1:-1;;;;;40783:21:0;:13;-1:-1:-1;;;;;40783:21:0;;40779:111;;40828:50;;-1:-1:-1;;;40828:50:0;;-1:-1:-1;;;;;5316:15:1;;;40828:50:0;;;5298:34:1;5348:18;;;5341:34;;;5411:15;;5391:18;;;5384:43;5233:18;;40828:50:0;5058:375:1;40779:111:0;40389:508;40309:588;;;:::o;40968:134::-;41055:39;41072:4;41078:2;41082:7;41055:39;;;;;;;;;;;;:16;:39::i;:::-;40968:134;;;:::o;38281:120::-;38344:7;38371:22;38385:7;38371:13;:22::i;38006:213::-;38069:7;-1:-1:-1;;;;;38093:19:0;;38089:89;;38136:30;;-1:-1:-1;;;38136:30:0;;38163:1;38136:30;;;1576:51:1;1549:18;;38136:30:0;1430:203:1;38089:89:0;-1:-1:-1;;;;;;38195:16:0;;;;;:9;:16;;;;;;;38006:213::o;38628:95::-;38675:13;38708:7;38701:14;;;;;:::i;39870:146::-;39956:52;15377:10;39989:8;39999;39956:18;:52::i;54776:171::-;54848:10;54834;54842:1;54834:7;:10::i;:::-;-1:-1:-1;;;;;54834:24:0;;54826:72;;;;-1:-1:-1;;;54826:72:0;;5640:2:1;54826:72:0;;;5622:21:1;5679:2;5659:18;;;5652:30;5718:34;5698:18;;;5691:62;-1:-1:-1;;;5769:18:1;;;5762:33;5812:19;;54826:72:0;5438:399:1;54826:72:0;54905:34;54913:10;54925:1;54936;54905:7;:34::i;:::-;;54776:171::o;54383:23::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41173:211::-;41287:31;41300:4;41306:2;41310:7;41287:12;:31::i;:::-;41329:47;41352:4;41358:2;41362:7;41371:4;41329:22;:47::i;55020:174::-;55118:13;55143:22;55157:7;55143:13;:22::i;:::-;;55179:9;55172:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55020:174;;;:::o;40087:155::-;-1:-1:-1;;;;;40199:25:0;;;40175:4;40199:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40087:155::o;52615:247::-;52678:7;42001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42001:16:0;;52742:90;;52789:31;;-1:-1:-1;;;52789:31:0;;;;;2745:25:1;;;2718:18;;52789:31:0;2599:177:1;50847:122:0;50928:33;50937:2;50941:7;50950:4;50956;50928:8;:33::i;45108:824::-;45194:7;42001:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42001:16:0;;;;45309:18;;;45305:88;;45344:37;45361:4;45367;45373:7;45344:16;:37::i;:::-;-1:-1:-1;;;;;45440:18:0;;;45436:263;;45558:48;45575:1;45579:7;45596:1;45600:5;45558:8;:48::i;:::-;-1:-1:-1;;;;;45652:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;45652:20:0;;;45436:263;-1:-1:-1;;;;;45715:16:0;;;45711:111;;-1:-1:-1;;;;;45777:13:0;;;;;;:9;:13;;;;;:18;;45794:1;45777:18;;;45711:111;45834:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45834:21:0;-1:-1:-1;;;;;45834:21:0;;;;;;;;;45873:27;;45834:16;;45873:27;;;;;;;45920:4;45108:824;-1:-1:-1;;;;45108:824:0:o;52054:318::-;-1:-1:-1;;;;;52162:22:0;;52158:93;;52208:31;;-1:-1:-1;;;52208:31:0;;-1:-1:-1;;;;;1594:32:1;;52208:31:0;;;1576:51:1;1549:18;;52208:31:0;1430:203:1;52158:93:0;-1:-1:-1;;;;;52261:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52261:46:0;;;;;;;;;;52323:41;;540::1;;;52323::0;;513:18:1;52323:41:0;;;;;;;52054:318;;;:::o;53412:799::-;-1:-1:-1;;;;;53529:14:0;;;:18;53525:679;;53568:71;;-1:-1:-1;;;53568:71:0;;-1:-1:-1;;;;;53568:36:0;;;;;:71;;15377:10;;53619:4;;53625:7;;53634:4;;53568:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53568:71:0;;;;;;;;-1:-1:-1;;53568:71:0;;;;;;;;;;;;:::i;:::-;;;53564:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53882:6;:13;53899:1;53882:18;53878:300;;53932:25;;-1:-1:-1;;;53932:25:0;;-1:-1:-1;;;;;1594:32:1;;53932:25:0;;;1576:51:1;1549:18;;53932:25:0;1430:203:1;53878:300:0;54128:6;54122:13;54113:6;54109:2;54105:15;54098:38;53564:629;-1:-1:-1;;;;;;53687:51:0;;-1:-1:-1;;;53687:51:0;53683:132;;53770:25;;-1:-1:-1;;;53770:25:0;;-1:-1:-1;;;;;1594:32:1;;53770:25:0;;;1576:51:1;1549:18;;53770:25:0;1430:203:1;53683:132:0;53640:190;53412:799;;;;:::o;51157:678::-;51319:9;:31;;;-1:-1:-1;;;;;;51332:18:0;;;;51319:31;51315:471;;;51367:13;51383:22;51397:7;51383:13;:22::i;:::-;51367:38;-1:-1:-1;;;;;;51536:18:0;;;;;;:35;;;51567:4;-1:-1:-1;;;;;51558:13:0;:5;-1:-1:-1;;;;;51558:13:0;;;51536:35;:69;;;;;51576:29;51593:5;51600:4;51576:16;:29::i;:::-;51575:30;51536:69;51532:144;;;51633:27;;-1:-1:-1;;;51633:27:0;;-1:-1:-1;;;;;1594:32:1;;51633:27:0;;;1576:51:1;1549:18;;51633:27:0;1430:203:1;51532:144:0;51696:9;51692:83;;;51751:7;51747:2;-1:-1:-1;;;;;51731:28:0;51740:5;-1:-1:-1;;;;;51731:28:0;;;;;;;;;;;51692:83;51352:434;51315:471;-1:-1:-1;;51798:24:0;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51798:29:0;-1:-1:-1;;;;;51798:29:0;;;;;;;;;;51157:678::o;43315:376::-;43428:38;43442:5;43449:7;43458;43428:13;:38::i;:::-;43423:261;;-1:-1:-1;;;;;43487:19:0;;43483:190;;43534:31;;-1:-1:-1;;;43534:31:0;;;;;2745:25:1;;;2718:18;;43534:31:0;2599:177:1;43483:190:0;43613:44;;-1:-1:-1;;;43613:44:0;;-1:-1:-1;;;;;6782:32:1;;43613:44:0;;;6764:51:1;6831:18;;;6824:34;;;6737:18;;43613:44:0;6590:274:1;42595:276:0;42698:4;-1:-1:-1;;;;;42735:21:0;;;;;;:128;;;42783:7;-1:-1:-1;;;;;42774:16:0;:5;-1:-1:-1;;;;;42774:16:0;;:52;;;;42794:32;42811:5;42818:7;42794:16;:32::i;:::-;42774:88;;;-1:-1:-1;42216:7:0;42243:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42830:32:0;;;42243:24;;42830:32;42774:88;42715:148;42595:276;-1:-1:-1;;;;42595:276: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:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:180::-;1304:6;1357:2;1345:9;1336:7;1332:23;1328:32;1325:52;;;1373:1;1370;1363:12;1325:52;-1:-1:-1;1396:23:1;;1245:180;-1:-1:-1;1245:180:1:o;1638:173::-;1706:20;;-1:-1:-1;;;;;1755:31:1;;1745:42;;1735:70;;1801:1;1798;1791:12;1735:70;1638:173;;;:::o;1816:254::-;1884:6;1892;1945:2;1933:9;1924:7;1920:23;1916:32;1913:52;;;1961:1;1958;1951:12;1913:52;1984:29;2003:9;1984:29;:::i;:::-;1974:39;2060:2;2045:18;;;;2032:32;;-1:-1:-1;;;1816:254:1:o;2075:328::-;2152:6;2160;2168;2221:2;2209:9;2200:7;2196:23;2192:32;2189:52;;;2237:1;2234;2227:12;2189:52;2260:29;2279:9;2260:29;:::i;:::-;2250:39;;2308:38;2342:2;2331:9;2327:18;2308:38;:::i;:::-;2298:48;;2393:2;2382:9;2378:18;2365:32;2355:42;;2075:328;;;;;:::o;2408:186::-;2467:6;2520:2;2508:9;2499:7;2495:23;2491:32;2488:52;;;2536:1;2533;2526:12;2488:52;2559:29;2578:9;2559:29;:::i;2781:347::-;2846:6;2854;2907:2;2895:9;2886:7;2882:23;2878:32;2875:52;;;2923:1;2920;2913:12;2875:52;2946:29;2965:9;2946:29;:::i;:::-;2936:39;;3025:2;3014:9;3010:18;2997:32;3072:5;3065:13;3058:21;3051:5;3048:32;3038:60;;3094:1;3091;3084:12;3038:60;3117:5;3107:15;;;2781:347;;;;;:::o;3133:127::-;3194:10;3189:3;3185:20;3182:1;3175:31;3225:4;3222:1;3215:15;3249:4;3246:1;3239:15;3265:1138;3360:6;3368;3376;3384;3437:3;3425:9;3416:7;3412:23;3408:33;3405:53;;;3454:1;3451;3444:12;3405:53;3477:29;3496:9;3477:29;:::i;:::-;3467:39;;3525:38;3559:2;3548:9;3544:18;3525:38;:::i;:::-;3515:48;;3610:2;3599:9;3595:18;3582:32;3572:42;;3665:2;3654:9;3650:18;3637:32;3688:18;3729:2;3721:6;3718:14;3715:34;;;3745:1;3742;3735:12;3715:34;3783:6;3772:9;3768:22;3758:32;;3828:7;3821:4;3817:2;3813:13;3809:27;3799:55;;3850:1;3847;3840:12;3799:55;3886:2;3873:16;3908:2;3904;3901:10;3898:36;;;3914:18;;:::i;:::-;3989:2;3983:9;3957:2;4043:13;;-1:-1:-1;;4039:22:1;;;4063:2;4035:31;4031:40;4019:53;;;4087:18;;;4107:22;;;4084:46;4081:72;;;4133:18;;:::i;:::-;4173:10;4169:2;4162:22;4208:2;4200:6;4193:18;4248:7;4243:2;4238;4234;4230:11;4226:20;4223:33;4220:53;;;4269:1;4266;4259:12;4220:53;4325:2;4320;4316;4312:11;4307:2;4299:6;4295:15;4282:46;4370:1;4365:2;4360;4352:6;4348:15;4344:24;4337:35;4391:6;4381:16;;;;;;;3265:1138;;;;;;;:::o;4408:260::-;4476:6;4484;4537:2;4525:9;4516:7;4512:23;4508:32;4505:52;;;4553:1;4550;4543:12;4505:52;4576:29;4595:9;4576:29;:::i;:::-;4566:39;;4624:38;4658:2;4647:9;4643:18;4624:38;:::i;:::-;4614:48;;4408:260;;;;;:::o;4673:380::-;4752:1;4748:12;;;;4795;;;4816:61;;4870:4;4862:6;4858:17;4848:27;;4816:61;4923:2;4915:6;4912:14;4892:18;4889:38;4886:161;;4969:10;4964:3;4960:20;4957:1;4950:31;5004:4;5001:1;4994:15;5032:4;5029:1;5022:15;4886:161;;4673:380;;;:::o;5842:489::-;-1:-1:-1;;;;;6111:15:1;;;6093:34;;6163:15;;6158:2;6143:18;;6136:43;6210:2;6195:18;;6188:34;;;6258:3;6253:2;6238:18;;6231:31;;;6036:4;;6279:46;;6305:19;;6297:6;6279:46;:::i;:::-;6271:54;5842:489;-1:-1:-1;;;;;;5842:489:1:o;6336:249::-;6405:6;6458:2;6446:9;6437:7;6433:23;6429:32;6426:52;;;6474:1;6471;6464:12;6426:52;6506:9;6500:16;6525:30;6549:5;6525:30;:::i
Swarm Source
ipfs://24fee0cb91481e41acdef8cc09341e7a7a9aa5ae7a7d492efbac5ac0f66662b9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.