Overview
TokenID
2
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YatredaAdamAndHewan
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-10-30 */ // File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol // 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/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @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/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @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/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @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/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @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/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; /** * @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/IERC721Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; /** * @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/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; /** * @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: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: art-yatreda.sol // Copyright (c) 2023 Fellowship /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // // // // // ╔╗╗╗╗ ╗╗╗╗╗ ╓╗╗╗ ╣╣╗╗╗╗╗╗╗╗╗╗ ╗╗╗╗╗╗╗╗╥ ╗╗╗╗╗╗╗╗╗╗ ╔╗╗╗╗╗╗╥ ╗╗╗ // // ╣╣╣ ╓╣╣─ ╒╣╣╣╣─ ─ ╙╣╣╝─ ╙╙ ╟╣╣└└╙╣╣╣ ╣╣╣ ─└╙╙╙ ╞╣╣╨└╙╙╣╣╣ ╟╣╣╣╣ // // ╣╣╗ ┌╣╣ ╣╣ ╟╣╣ ╘╣╣─ ╟╣╣ ╟╣╣─ ╣╣╣ ╞╣╣ ╣╣╬ ╒╣╬ ╣╣╦ // // ╫╣╗╣╬ ╫╣╣ ╓╣╣╬ ╘╣╣─ ╟╣╣╣╣╣╬╨ ╣╣╣╝╝╝╝╨ ╞╣╣ ╣╣╬ ╣╣╥ ╟╣╣╗ // // ╟╣╣ ╔╣╬╨╨╨╨╣╣╗ ╞╣╣─ ╟╣╣ ╙╣╣╗ ╣╣╣ ╞╣╣ ╣╣╝ ╫╣╝╨╨╨╫╣╣ // // ╟╣╣ ┌╣╣╕ ╟╣╣╗ ╞╣╣╗ ╟╣╣ ╙╣╣╗ ╣╣╣╓╓╓╓╥╦ ╞╣╣╦╓╓╗╣╣╨ ╔╣╣ ╣╣╣ // // ╙╙╙╙╙─ ╙╙╙╙ ╙╙╙╙─ ╙╙╙╙╙╙ ╙╙╙╙╙ ╙╙╨╨ ╙╙╙╙╙╙╙╙╙╙ ╙╙╙╙╙╙╙╙└ ╙╙╙╙╙ ╙╙╙╙╙ // // // // ╓╓╥╥╥ ╓╓╥╓ // // ╗╣╣╨╙╙╣╣╣ ╓╣╣╨╨╫╣╣╬╙╙╙╫╣╣╗ ╙╣╣╣ ╗╣╣╙╙╙╣╣╣ // // ╞╣╣╗ ╫╣╣ ╔╣╬ ╣╣╗ ╟╣╣ ╟╣╣─ ╘╣╣╗ ╫╣╣ // // ╫╣╣╗ ╗╣╝ ╣╣═ ╣╣╣╗╗ ╞╣╣ ╔╣╣╨ ╙╣╣╣╗╗╣╝ // // ╙╣╣╣╣ ╒╣╣ ╣╣╣ ╞╣╣╗ ╓╣╣╨ ╙╫╣╣═ // // ╙╣╣╣ └ ╣╬╣ └ ╒╣╣╨ ╣╣╣╣╣╣╣╣╣╣╣╣╬ // // ╣╣╗ ╣╬╬ ╣╣╣ ╓╓╓╥╥ ╨╨╙ ╒╣╣─ // // ╓╥╦╗╣╣╩ ╣╣╣ ╘╣╣╣╦╗╗╣╣╣╨╙╟╣╣ ╣╣╣ // // ╔╣╣╝╙└ ╙└└ └╙╙└ ╟╣╣╗╗╣╝─ ╙╙ // // // // // // // // // /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// pragma solidity ^0.8.17; /// @title Token Base /// @notice Shared logic for token contracts contract YatredaAdamAndHewan is ERC721, Ownable { uint256 private immutable MAX_SUPPLY; address public royaltyReceiver; address public minter; address public metadataContract; uint256 public royaltyFraction; uint256 public royaltyDenominator = 100; /// @notice Count of valid NFTs tracked by this contract uint256 public totalSupply; /// @notice Return the baseURI used for computing `tokenURI` values string public baseURI; error OnlyMinter(); /// @dev This event emits when the metadata of a token is changed. Anyone aware of ERC-4906 can update cached /// attributes related to a given `tokenId`. event MetadataUpdate(uint256 tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. Anyone aware of ERC-4906 can update /// cached attributes for tokens in the designated range. event BatchMetadataUpdate(uint256 fromTokenId, uint256 toTokenId); constructor( string memory name, string memory symbol, string memory baseURI_, uint256 maxSupply, address royaltyReceiver_, uint256 royaltyPercent ) ERC721(name, symbol) Ownable(msg.sender) { // CHECKS inputs require(maxSupply > 0, "Max supply must not be zero"); require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); require(royaltyPercent <= 100, "Royalty fraction must not be greater than 100%"); // EFFECTS MAX_SUPPLY = maxSupply; baseURI = baseURI_; royaltyReceiver = royaltyReceiver_; royaltyFraction = royaltyPercent; } modifier onlyMinter() { if (msg.sender != minter) revert OnlyMinter(); _; } /// @inheritdoc Ownable function owner() public view virtual override(Ownable) returns (address) { return Ownable.owner(); } // MINTER FUNCTIONS /// @notice Mint an unclaimed token to the given address /// @dev Can only be called by the `minter` address /// @param to The new token owner that will receive the minted token /// @param tokenId The token being claimed. Reverts if invalid or already claimed. function mint(address to, uint256 tokenId) external onlyMinter { // CHECKS inputs require(tokenId > 0 && tokenId <= MAX_SUPPLY, "Invalid token ID"); // CHECKS + EFFECTS (not _safeMint, so no interactions) _mint(to, tokenId); // More EFFECTS unchecked { totalSupply++; } } // OWNER FUNCTIONS /// @notice Set the `minter` address /// @dev Can only be called by the contract `owner` function setMinter(address minter_) external onlyOwner { minter = minter_; } /// @notice Set the `royaltyReceiver` address /// @dev Can only be called by the contract `owner` function setRoyaltyReceiver(address royaltyReceiver_) external onlyOwner { // CHECKS inputs require(royaltyReceiver_ != address(0), "Royalty receiver must not be the zero address"); // EFFECTS royaltyReceiver = royaltyReceiver_; } /// @notice Update the royalty fraction /// @dev Can only be called by the contract `owner` function setRoyaltyFraction(uint256 royaltyFraction_, uint256 royaltyDenominator_) external onlyOwner { // CHECKS inputss require(royaltyDenominator_ != 0, "Royalty denominator must not be zero"); require(royaltyFraction_ <= royaltyDenominator_, "Royalty fraction must not be greater than 100%"); // EFFECTS royaltyFraction = royaltyFraction_; royaltyDenominator = royaltyDenominator_; } /// @notice Update the baseURI for all metadata /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param baseURI_ The new URI base. When specified, token URIs are created by concatenating the baseURI, /// token ID, and ".json". function updateBaseURI(string calldata baseURI_) external onlyOwner { // CHECKS inputs require(bytes(baseURI_).length > 0, "New base URI must be provided"); // EFFECTS baseURI = baseURI_; metadataContract = address(0); emit BatchMetadataUpdate(1, MAX_SUPPLY); } /// @notice Delegate all `tokenURI` calls to another contract /// @dev Can only be called by the contract `owner`. Emits an ERC-4906 event. /// @param delegate The contract that will handle `tokenURI` responses function delegateTokenURIs(address delegate) external onlyOwner { // CHECKS inputs require(delegate != address(0), "New metadata delegate must not be the zero address"); require(delegate.code.length > 0, "New metadata delegate must be a contract"); // EFFECTS baseURI = ""; metadataContract = delegate; emit BatchMetadataUpdate(1, MAX_SUPPLY); } // VIEW FUNCTIONS /// @notice The URI for the given token /// @dev Throws if `tokenId` is not valid or has not been minted function tokenURI(uint256 tokenId) public view override returns (string memory) { _requireOwned(tokenId); if (bytes(baseURI).length > 0) { return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json")); } if (address(metadataContract) != address(0)) { return IERC721Metadata(metadataContract).tokenURI(tokenId); } revert("tokenURI not configured"); } /// @notice Calculate how much royalty is owed and to whom /// @param salePrice - the sale price of the NFT asset /// @return receiver - address of where the royalty payment should be sent /// @return royaltyAmount - the royalty payment amount for salePrice function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { receiver = royaltyReceiver; // Use OpenZeppelin math utils for full precision multiply and divide without overflow royaltyAmount = Math.mulDiv(salePrice, royaltyFraction, royaltyDenominator, Math.Rounding.Ceil); } /// @notice Query if a contract implements an interface /// @dev Interface identification is specified in ERC-165. This function uses less than 30,000 gas. /// @param interfaceId The interface identifier, as specified in ERC-165 /// @return `true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise function supportsInterface(bytes4 interfaceId) public pure virtual override returns (bool) { return interfaceId == 0x80ac58cd || // ERC-721 Non-Fungible Token Standard interfaceId == 0x5b5e139f || // ERC-721 Non-Fungible Token Standard - metadata extension interfaceId == 0x2a55205a || // ERC-2981 NFT Royalty Standard interfaceId == 0x49064906 || // ERC-4906 Metadata Update Extension interfaceId == 0x7f5828d0 || // ERC-173 Contract Ownership Standard interfaceId == 0x01ffc9a7; // ERC-165 Standard Interface Detection } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint256","name":"royaltyPercent","type":"uint256"}],"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"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"OnlyMinter","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":false,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MetadataUpdate","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":"address","name":"delegate","type":"address"}],"name":"delegateTokenURIs","outputs":[],"stateMutability":"nonpayable","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":"metadataContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","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":"address","name":"minter_","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyFraction_","type":"uint256"},{"internalType":"uint256","name":"royaltyDenominator_","type":"uint256"}],"name":"setRoyaltyFraction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver_","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526064600b5534801562000015575f80fd5b506040516200227438038062002274833981016040819052620000389162000310565b3386865f6200004883826200045b565b5060016200005782826200045b565b5050506001600160a01b0381166200008957604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000948162000201565b505f8311620000e65760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c79206d757374206e6f74206265207a65726f0000000000604482015260640162000080565b6001600160a01b038216620001545760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b606482015260840162000080565b6064811115620001be5760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b606482015260840162000080565b6080839052600d620001d185826200045b565b50600780546001600160a01b0319166001600160a01b039390931692909217909155600a55506200052392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000276575f80fd5b81516001600160401b038082111562000293576200029362000252565b604051601f8301601f19908116603f01168101908282118183101715620002be57620002be62000252565b81604052838152602092508683858801011115620002da575f80fd5b5f91505b83821015620002fd5785820183015181830184015290820190620002de565b5f93810190920192909252949350505050565b5f805f805f8060c0878903121562000326575f80fd5b86516001600160401b03808211156200033d575f80fd5b6200034b8a838b0162000266565b9750602089015191508082111562000361575f80fd5b6200036f8a838b0162000266565b9650604089015191508082111562000385575f80fd5b506200039489828a0162000266565b606089015160808a0151919650945090506001600160a01b0381168114620003ba575f80fd5b8092505060a087015190509295509295509295565b600181811c90821680620003e457607f821691505b6020821081036200040357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000456575f81815260208120601f850160051c81016020861015620004315750805b601f850160051c820191505b8181101562000452578281556001016200043d565b5050505b505050565b81516001600160401b0381111562000477576200047762000252565b6200048f81620004888454620003cf565b8462000409565b602080601f831160018114620004c5575f8415620004ad5750858301515b5f19600386901b1c1916600185901b17855562000452565b5f85815260208120601f198616915b82811015620004f557888601518255948401946001909101908401620004d4565b50858210156200051357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b608051611d2a6200054a5f395f81816106b3015281816107f30152610aa40152611d2a5ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c8063715018a6116100fe578063b88d4fde1161009e578063ecededad1161006e578063ecededad146103e1578063f2fde38b146103f4578063fca3b5aa14610407578063fd8d7ed31461041a575f80fd5b8063b88d4fde1461039f578063c87b56dd146103b2578063e7dee99f146103c5578063e985e9c5146103ce575f80fd5b8063931688cb116100d9578063931688cb1461035e57806395d89b41146103715780639fbc871314610379578063a22cb4651461038c575f80fd5b8063715018a61461033b5780638da5cb5b146103435780638dc251e31461034b575f80fd5b806323b872dd1161017457806342842e0e1161014457806342842e0e146102fa5780636352211e1461030d5780636c0360eb1461032057806370a0823114610328575f80fd5b806323b872dd1461028f5780632a55205a146102a257806335209821146102d457806340c10f19146102e7575f80fd5b8063081812fc116101af578063081812fc1461023d578063095ea7b314610250578063113b98e01461026557806318160ddd14610278575f80fd5b806301ffc9a7146101d557806306fdde03146101fd5780630754617214610212575b5f80fd5b6101e86101e336600461160e565b610423565b60405190151581526020015b60405180910390f35b6102056104c5565b6040516101f49190611676565b600854610225906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b61022561024b366004611688565b610554565b61026361025e3660046116ba565b61057b565b005b6102636102733660046116e2565b61058a565b610281600c5481565b6040519081526020016101f4565b61026361029d3660046116fb565b610705565b6102b56102b0366004611734565b61078e565b604080516001600160a01b0390931683526020830191909152016101f4565b600954610225906001600160a01b031681565b6102636102f53660046116ba565b6107bc565b6102636103083660046116fb565b61086c565b61022561031b366004611688565b61088b565b610205610895565b6102816103363660046116e2565b610921565b610263610966565b610225610979565b6102636103593660046116e2565b610991565b61026361036c366004611754565b610a27565b610205610af7565b600754610225906001600160a01b031681565b61026361039a3660046117c0565b610b06565b6102636103ad366004611865565b610b11565b6102056103c0366004611688565b610b28565b610281600a5481565b6101e86103dc366004611909565b610c42565b6102636103ef366004611734565b610c6f565b6102636104023660046116e2565b610d44565b6102636104153660046116e2565b610d81565b610281600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104535750635b5e139f60e01b6001600160e01b03198316145b8061046e575063152a902d60e11b6001600160e01b03198316145b806104895750632483248360e11b6001600160e01b03198316145b806104a457506307f5828d60e41b6001600160e01b03198316145b806104bf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104d390611931565b80601f01602080910402602001604051908101604052809291908181526020018280546104ff90611931565b801561054a5780601f106105215761010080835404028352916020019161054a565b820191905f5260205f20905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b5f61055e82610dab565b505f828152600460205260409020546001600160a01b03166104bf565b610586828233610de3565b5050565b610592610df0565b6001600160a01b0381166106085760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106725760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b60648201526084016105ff565b60408051602081019091525f8152600d9061068d90826119b6565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661072e57604051633250574960e11b81525f60048201526024016105ff565b5f61073a838333610e22565b9050836001600160a01b0316816001600160a01b031614610788576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105ff565b50505050565b600754600a54600b546001600160a01b03909216915f916107b3918591906001610f16565b90509250929050565b6008546001600160a01b031633146107e757604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561081657507f00000000000000000000000000000000000000000000000000000000000000008111155b6108555760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b60448201526064016105ff565b61085f8282610f65565b5050600c80546001019055565b61088683838360405180602001604052805f815250610b11565b505050565b5f6104bf82610dab565b600d80546108a290611931565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90611931565b80156109195780601f106108f057610100808354040283529160200191610919565b820191905f5260205f20905b8154815290600101906020018083116108fc57829003601f168201915b505050505081565b5f6001600160a01b03821661094b576040516322718ad960e21b81525f60048201526024016105ff565b506001600160a01b03165f9081526003602052604090205490565b61096e610df0565b6109775f610fc6565b565b5f61098c6006546001600160a01b031690565b905090565b610999610df0565b6001600160a01b038116610a055760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b60648201526084016105ff565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a2f610df0565b80610a7c5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f766964656400000060448201526064016105ff565b600d610a89828483611a72565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000000060208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104d390611931565b610586338383611017565b610b1c848484610705565b610788848484846110b5565b6060610b3382610dab565b505f600d8054610b4290611931565b90501115610b7c57600d610b55836111db565b604051602001610b66929190611b2d565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610bfa5760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104bf9190810190611bc0565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e6669677572656400000000000000000060448201526064016105ff565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b610c77610df0565b805f03610cd25760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b60648201526084016105ff565b80821115610d395760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b60648201526084016105ff565b600a91909155600b55565b610d4c610df0565b6001600160a01b038116610d7557604051631e4fbdf760e01b81525f60048201526024016105ff565b610d7e81610fc6565b50565b610d89610df0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104bf57604051637e27328960e01b8152600481018490526024016105ff565b610886838383600161126b565b33610df9610979565b6001600160a01b0316146109775760405163118cdaa760e01b81523360048201526024016105ff565b5f828152600260205260408120546001600160a01b0390811690831615610e4e57610e4e81848661136f565b6001600160a01b03811615610e8857610e695f855f8061126b565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610eb6576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80610f238686866113d3565b9050610f2e83611492565b8015610f4957505f8480610f4457610f44611c29565b868809115b15610f5c57610f59600182611c3d565b90505b95945050505050565b6001600160a01b038216610f8e57604051633250574960e11b81525f60048201526024016105ff565b5f610f9a83835f610e22565b90506001600160a01b03811615610886576040516339e3563760e11b81525f60048201526024016105ff565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661104957604051630b61174360e31b81526001600160a01b03831660048201526024016105ff565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561078857604051630a85bd0160e11b81526001600160a01b0384169063150b7a02906110f7903390889087908790600401611c5c565b6020604051808303815f875af1925050508015611131575060408051601f3d908101601f1916820190925261112e91810190611c98565b60015b611198573d80801561115e576040519150601f19603f3d011682016040523d82523d5f602084013e611163565b606091505b5080515f0361119057604051633250574960e11b81526001600160a01b03851660048201526024016105ff565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b146111d457604051633250574960e11b81526001600160a01b03851660048201526024016105ff565b5050505050565b60605f6111e7836114be565b60010190505f8167ffffffffffffffff811115611206576112066117f9565b6040519080825280601f01601f191660200182016040528015611230576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461123a57509392505050565b808061127f57506001600160a01b03821615155b15611340575f61128e84610dab565b90506001600160a01b038316158015906112ba5750826001600160a01b0316816001600160a01b031614155b80156112cd57506112cb8184610c42565b155b156112f65760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105ff565b811561133e5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61137a838383611595565b610886576001600160a01b0383166113a857604051637e27328960e01b8152600481018290526024016105ff565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105ff565b5f838302815f1985870982811083820303915050805f03611407578382816113fd576113fd611c29565b0492505050610f0f565b8084116114275760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156114a7576114a7611cb3565b6114b19190611cc7565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114fc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611528576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061154657662386f26fc10000830492506010015b6305f5e100831061155e576305f5e100830492506008015b612710831061157257612710830492506004015b60648310611584576064830492506002015b600a83106104bf5760010192915050565b5f6001600160a01b038316158015906115f15750826001600160a01b0316846001600160a01b031614806115ce57506115ce8484610c42565b806115f157505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610d7e575f80fd5b5f6020828403121561161e575f80fd5b8135610f0f816115f9565b5f5b8381101561164357818101518382015260200161162b565b50505f910152565b5f8151808452611662816020860160208601611629565b601f01601f19169290920160200192915050565b602081525f610f0f602083018461164b565b5f60208284031215611698575f80fd5b5035919050565b80356001600160a01b03811681146116b5575f80fd5b919050565b5f80604083850312156116cb575f80fd5b6116d48361169f565b946020939093013593505050565b5f602082840312156116f2575f80fd5b610f0f8261169f565b5f805f6060848603121561170d575f80fd5b6117168461169f565b92506117246020850161169f565b9150604084013590509250925092565b5f8060408385031215611745575f80fd5b50508035926020909101359150565b5f8060208385031215611765575f80fd5b823567ffffffffffffffff8082111561177c575f80fd5b818501915085601f83011261178f575f80fd5b81358181111561179d575f80fd5b8660208285010111156117ae575f80fd5b60209290920196919550909350505050565b5f80604083850312156117d1575f80fd5b6117da8361169f565b9150602083013580151581146117ee575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611836576118366117f9565b604052919050565b5f67ffffffffffffffff821115611857576118576117f9565b50601f01601f191660200190565b5f805f8060808587031215611878575f80fd5b6118818561169f565b935061188f6020860161169f565b925060408501359150606085013567ffffffffffffffff8111156118b1575f80fd5b8501601f810187136118c1575f80fd5b80356118d46118cf8261183e565b61180d565b8181528860208385010111156118e8575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f806040838503121561191a575f80fd5b6119238361169f565b91506107b36020840161169f565b600181811c9082168061194557607f821691505b60208210810361196357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610886575f81815260208120601f850160051c8101602086101561198f5750805b601f850160051c820191505b818110156119ae5782815560010161199b565b505050505050565b815167ffffffffffffffff8111156119d0576119d06117f9565b6119e4816119de8454611931565b84611969565b602080601f831160018114611a17575f8415611a005750858301515b5f19600386901b1c1916600185901b1785556119ae565b5f85815260208120601f198616915b82811015611a4557888601518255948401946001909101908401611a26565b5085821015611a6257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff831115611a8a57611a8a6117f9565b611a9e83611a988354611931565b83611969565b5f601f841160018114611acf575f8515611ab85750838201355b5f19600387901b1c1916600186901b1783556111d4565b5f83815260209020601f19861690835b82811015611aff5786850135825560209485019460019092019101611adf565b5086821015611b1b575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611b3a81611931565b60018281168015611b525760018114611b6757611b93565b60ff1984168752821515830287019450611b93565b885f526020805f205f5b85811015611b8a5781548a820152908401908201611b71565b50505082870194505b505050508351611ba7818360208801611629565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611bd0575f80fd5b815167ffffffffffffffff811115611be6575f80fd5b8201601f81018413611bf6575f80fd5b8051611c046118cf8261183e565b818152856020838501011115611c18575f80fd5b610f5c826020830160208601611629565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104bf57634e487b7160e01b5f52601160045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c8e9083018461164b565b9695505050505050565b5f60208284031215611ca8575f80fd5b8151610f0f816115f9565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611ce557634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220fe4e70a4599a6922be3556540dfad0cc3b60b2dd3bce93f373d11499b65e7f3964736f6c6343000815003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000040144d53334bb74fb67fdcf69ef3bf7868212e5b0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c4164616d416e64486577616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484557414e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52686e5377717264537853654c396e743659425648376a62334b434e47326f3554584b36546f6e33645263502f00000000000000000000
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c8063715018a6116100fe578063b88d4fde1161009e578063ecededad1161006e578063ecededad146103e1578063f2fde38b146103f4578063fca3b5aa14610407578063fd8d7ed31461041a575f80fd5b8063b88d4fde1461039f578063c87b56dd146103b2578063e7dee99f146103c5578063e985e9c5146103ce575f80fd5b8063931688cb116100d9578063931688cb1461035e57806395d89b41146103715780639fbc871314610379578063a22cb4651461038c575f80fd5b8063715018a61461033b5780638da5cb5b146103435780638dc251e31461034b575f80fd5b806323b872dd1161017457806342842e0e1161014457806342842e0e146102fa5780636352211e1461030d5780636c0360eb1461032057806370a0823114610328575f80fd5b806323b872dd1461028f5780632a55205a146102a257806335209821146102d457806340c10f19146102e7575f80fd5b8063081812fc116101af578063081812fc1461023d578063095ea7b314610250578063113b98e01461026557806318160ddd14610278575f80fd5b806301ffc9a7146101d557806306fdde03146101fd5780630754617214610212575b5f80fd5b6101e86101e336600461160e565b610423565b60405190151581526020015b60405180910390f35b6102056104c5565b6040516101f49190611676565b600854610225906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b61022561024b366004611688565b610554565b61026361025e3660046116ba565b61057b565b005b6102636102733660046116e2565b61058a565b610281600c5481565b6040519081526020016101f4565b61026361029d3660046116fb565b610705565b6102b56102b0366004611734565b61078e565b604080516001600160a01b0390931683526020830191909152016101f4565b600954610225906001600160a01b031681565b6102636102f53660046116ba565b6107bc565b6102636103083660046116fb565b61086c565b61022561031b366004611688565b61088b565b610205610895565b6102816103363660046116e2565b610921565b610263610966565b610225610979565b6102636103593660046116e2565b610991565b61026361036c366004611754565b610a27565b610205610af7565b600754610225906001600160a01b031681565b61026361039a3660046117c0565b610b06565b6102636103ad366004611865565b610b11565b6102056103c0366004611688565b610b28565b610281600a5481565b6101e86103dc366004611909565b610c42565b6102636103ef366004611734565b610c6f565b6102636104023660046116e2565b610d44565b6102636104153660046116e2565b610d81565b610281600b5481565b5f6380ac58cd60e01b6001600160e01b0319831614806104535750635b5e139f60e01b6001600160e01b03198316145b8061046e575063152a902d60e11b6001600160e01b03198316145b806104895750632483248360e11b6001600160e01b03198316145b806104a457506307f5828d60e41b6001600160e01b03198316145b806104bf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f80546104d390611931565b80601f01602080910402602001604051908101604052809291908181526020018280546104ff90611931565b801561054a5780601f106105215761010080835404028352916020019161054a565b820191905f5260205f20905b81548152906001019060200180831161052d57829003601f168201915b5050505050905090565b5f61055e82610dab565b505f828152600460205260409020546001600160a01b03166104bf565b610586828233610de3565b5050565b610592610df0565b6001600160a01b0381166106085760405162461bcd60e51b815260206004820152603260248201527f4e6577206d657461646174612064656c6567617465206d757374206e6f7420626044820152716520746865207a65726f206164647265737360701b60648201526084015b60405180910390fd5b5f816001600160a01b03163b116106725760405162461bcd60e51b815260206004820152602860248201527f4e6577206d657461646174612064656c6567617465206d75737420626520612060448201526718dbdb9d1c9858dd60c21b60648201526084016105ff565b60408051602081019091525f8152600d9061068d90826119b6565b50600980546001600160a01b0319166001600160a01b03831617905560408051600181527f000000000000000000000000000000000000000000000000000000000000000d60208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a150565b6001600160a01b03821661072e57604051633250574960e11b81525f60048201526024016105ff565b5f61073a838333610e22565b9050836001600160a01b0316816001600160a01b031614610788576040516364283d7b60e01b81526001600160a01b03808616600483015260248201849052821660448201526064016105ff565b50505050565b600754600a54600b546001600160a01b03909216915f916107b3918591906001610f16565b90509250929050565b6008546001600160a01b031633146107e757604051639cdc2ed560e01b815260040160405180910390fd5b5f8111801561081657507f000000000000000000000000000000000000000000000000000000000000000d8111155b6108555760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a59081d1bdad95b88125160821b60448201526064016105ff565b61085f8282610f65565b5050600c80546001019055565b61088683838360405180602001604052805f815250610b11565b505050565b5f6104bf82610dab565b600d80546108a290611931565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90611931565b80156109195780601f106108f057610100808354040283529160200191610919565b820191905f5260205f20905b8154815290600101906020018083116108fc57829003601f168201915b505050505081565b5f6001600160a01b03821661094b576040516322718ad960e21b81525f60048201526024016105ff565b506001600160a01b03165f9081526003602052604090205490565b61096e610df0565b6109775f610fc6565b565b5f61098c6006546001600160a01b031690565b905090565b610999610df0565b6001600160a01b038116610a055760405162461bcd60e51b815260206004820152602d60248201527f526f79616c7479207265636569766572206d757374206e6f742062652074686560448201526c207a65726f206164647265737360981b60648201526084016105ff565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b610a2f610df0565b80610a7c5760405162461bcd60e51b815260206004820152601d60248201527f4e6577206261736520555249206d7573742062652070726f766964656400000060448201526064016105ff565b600d610a89828483611a72565b50600980546001600160a01b031916905560408051600181527f000000000000000000000000000000000000000000000000000000000000000d60208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6060600180546104d390611931565b610586338383611017565b610b1c848484610705565b610788848484846110b5565b6060610b3382610dab565b505f600d8054610b4290611931565b90501115610b7c57600d610b55836111db565b604051602001610b66929190611b2d565b6040516020818303038152906040529050919050565b6009546001600160a01b031615610bfa5760095460405163c87b56dd60e01b8152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610bd3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104bf9190810190611bc0565b60405162461bcd60e51b815260206004820152601760248201527f746f6b656e555249206e6f7420636f6e6669677572656400000000000000000060448201526064016105ff565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b610c77610df0565b805f03610cd25760405162461bcd60e51b8152602060048201526024808201527f526f79616c74792064656e6f6d696e61746f72206d757374206e6f74206265206044820152637a65726f60e01b60648201526084016105ff565b80821115610d395760405162461bcd60e51b815260206004820152602e60248201527f526f79616c7479206672616374696f6e206d757374206e6f742062652067726560448201526d61746572207468616e203130302560901b60648201526084016105ff565b600a91909155600b55565b610d4c610df0565b6001600160a01b038116610d7557604051631e4fbdf760e01b81525f60048201526024016105ff565b610d7e81610fc6565b50565b610d89610df0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b5f818152600260205260408120546001600160a01b0316806104bf57604051637e27328960e01b8152600481018490526024016105ff565b610886838383600161126b565b33610df9610979565b6001600160a01b0316146109775760405163118cdaa760e01b81523360048201526024016105ff565b5f828152600260205260408120546001600160a01b0390811690831615610e4e57610e4e81848661136f565b6001600160a01b03811615610e8857610e695f855f8061126b565b6001600160a01b0381165f90815260036020526040902080545f190190555b6001600160a01b03851615610eb6576001600160a01b0385165f908152600360205260409020805460010190555b5f8481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a490505b9392505050565b5f80610f238686866113d3565b9050610f2e83611492565b8015610f4957505f8480610f4457610f44611c29565b868809115b15610f5c57610f59600182611c3d565b90505b95945050505050565b6001600160a01b038216610f8e57604051633250574960e11b81525f60048201526024016105ff565b5f610f9a83835f610e22565b90506001600160a01b03811615610886576040516339e3563760e11b81525f60048201526024016105ff565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661104957604051630b61174360e31b81526001600160a01b03831660048201526024016105ff565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561078857604051630a85bd0160e11b81526001600160a01b0384169063150b7a02906110f7903390889087908790600401611c5c565b6020604051808303815f875af1925050508015611131575060408051601f3d908101601f1916820190925261112e91810190611c98565b60015b611198573d80801561115e576040519150601f19603f3d011682016040523d82523d5f602084013e611163565b606091505b5080515f0361119057604051633250574960e11b81526001600160a01b03851660048201526024016105ff565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b146111d457604051633250574960e11b81526001600160a01b03851660048201526024016105ff565b5050505050565b60605f6111e7836114be565b60010190505f8167ffffffffffffffff811115611206576112066117f9565b6040519080825280601f01601f191660200182016040528015611230576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461123a57509392505050565b808061127f57506001600160a01b03821615155b15611340575f61128e84610dab565b90506001600160a01b038316158015906112ba5750826001600160a01b0316816001600160a01b031614155b80156112cd57506112cb8184610c42565b155b156112f65760405163a9fbf51f60e01b81526001600160a01b03841660048201526024016105ff565b811561133e5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b61137a838383611595565b610886576001600160a01b0383166113a857604051637e27328960e01b8152600481018290526024016105ff565b60405163177e802f60e01b81526001600160a01b0383166004820152602481018290526044016105ff565b5f838302815f1985870982811083820303915050805f03611407578382816113fd576113fd611c29565b0492505050610f0f565b8084116114275760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f60028260038111156114a7576114a7611cb3565b6114b19190611cc7565b60ff166001149050919050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114fc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611528576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061154657662386f26fc10000830492506010015b6305f5e100831061155e576305f5e100830492506008015b612710831061157257612710830492506004015b60648310611584576064830492506002015b600a83106104bf5760010192915050565b5f6001600160a01b038316158015906115f15750826001600160a01b0316846001600160a01b031614806115ce57506115ce8484610c42565b806115f157505f828152600460205260409020546001600160a01b038481169116145b949350505050565b6001600160e01b031981168114610d7e575f80fd5b5f6020828403121561161e575f80fd5b8135610f0f816115f9565b5f5b8381101561164357818101518382015260200161162b565b50505f910152565b5f8151808452611662816020860160208601611629565b601f01601f19169290920160200192915050565b602081525f610f0f602083018461164b565b5f60208284031215611698575f80fd5b5035919050565b80356001600160a01b03811681146116b5575f80fd5b919050565b5f80604083850312156116cb575f80fd5b6116d48361169f565b946020939093013593505050565b5f602082840312156116f2575f80fd5b610f0f8261169f565b5f805f6060848603121561170d575f80fd5b6117168461169f565b92506117246020850161169f565b9150604084013590509250925092565b5f8060408385031215611745575f80fd5b50508035926020909101359150565b5f8060208385031215611765575f80fd5b823567ffffffffffffffff8082111561177c575f80fd5b818501915085601f83011261178f575f80fd5b81358181111561179d575f80fd5b8660208285010111156117ae575f80fd5b60209290920196919550909350505050565b5f80604083850312156117d1575f80fd5b6117da8361169f565b9150602083013580151581146117ee575f80fd5b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611836576118366117f9565b604052919050565b5f67ffffffffffffffff821115611857576118576117f9565b50601f01601f191660200190565b5f805f8060808587031215611878575f80fd5b6118818561169f565b935061188f6020860161169f565b925060408501359150606085013567ffffffffffffffff8111156118b1575f80fd5b8501601f810187136118c1575f80fd5b80356118d46118cf8261183e565b61180d565b8181528860208385010111156118e8575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f806040838503121561191a575f80fd5b6119238361169f565b91506107b36020840161169f565b600181811c9082168061194557607f821691505b60208210810361196357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610886575f81815260208120601f850160051c8101602086101561198f5750805b601f850160051c820191505b818110156119ae5782815560010161199b565b505050505050565b815167ffffffffffffffff8111156119d0576119d06117f9565b6119e4816119de8454611931565b84611969565b602080601f831160018114611a17575f8415611a005750858301515b5f19600386901b1c1916600185901b1785556119ae565b5f85815260208120601f198616915b82811015611a4557888601518255948401946001909101908401611a26565b5085821015611a6257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b67ffffffffffffffff831115611a8a57611a8a6117f9565b611a9e83611a988354611931565b83611969565b5f601f841160018114611acf575f8515611ab85750838201355b5f19600387901b1c1916600186901b1783556111d4565b5f83815260209020601f19861690835b82811015611aff5786850135825560209485019460019092019101611adf565b5086821015611b1b575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808454611b3a81611931565b60018281168015611b525760018114611b6757611b93565b60ff1984168752821515830287019450611b93565b885f526020805f205f5b85811015611b8a5781548a820152908401908201611b71565b50505082870194505b505050508351611ba7818360208801611629565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215611bd0575f80fd5b815167ffffffffffffffff811115611be6575f80fd5b8201601f81018413611bf6575f80fd5b8051611c046118cf8261183e565b818152856020838501011115611c18575f80fd5b610f5c826020830160208601611629565b634e487b7160e01b5f52601260045260245ffd5b808201808211156104bf57634e487b7160e01b5f52601160045260245ffd5b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c8e9083018461164b565b9695505050505050565b5f60208284031215611ca8575f80fd5b8151610f0f816115f9565b634e487b7160e01b5f52602160045260245ffd5b5f60ff831680611ce557634e487b7160e01b5f52601260045260245ffd5b8060ff8416069150509291505056fea2646970667358221220fe4e70a4599a6922be3556540dfad0cc3b60b2dd3bce93f373d11499b65e7f3964736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000040144d53334bb74fb67fdcf69ef3bf7868212e5b0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c4164616d416e64486577616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005484557414e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52686e5377717264537853654c396e743659425648376a62334b434e47326f3554584b36546f6e33645263502f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): AdamAndHewan
Arg [1] : symbol (string): HEWAN
Arg [2] : baseURI_ (string): ipfs://QmRhnSwqrdSxSeL9nt6YBVH7jb3KCNG2o5TXK6Ton3dRcP/
Arg [3] : maxSupply (uint256): 13
Arg [4] : royaltyReceiver_ (address): 0x40144d53334Bb74FB67fdCf69eF3BF7868212e5b
Arg [5] : royaltyPercent (uint256): 5
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 00000000000000000000000040144d53334bb74fb67fdcf69ef3bf7868212e5b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [7] : 4164616d416e64486577616e0000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 484557414e000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [11] : 697066733a2f2f516d52686e5377717264537853654c396e743659425648376a
Arg [12] : 62334b434e47326f3554584b36546f6e33645263502f00000000000000000000
Deployed Bytecode Sourcemap
61916:7295:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68594:614;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;68594:614:0;;;;;;;;38536:91;;;:::i;:::-;;;;;;;:::i;62053:21::-;;;;;-1:-1:-1;;;;;62053:21:0;;;;;;-1:-1:-1;;;;;1512:32:1;;;1494:51;;1482:2;1467:18;62053:21:0;1348:203:1;39708:158:0;;;;;;:::i;:::-;;:::i;39527:115::-;;;;;;:::i;:::-;;:::i;:::-;;66552:417;;;;;;:::i;:::-;;:::i;62266:26::-;;;;;;;;;2515:25:1;;;2503:2;2488:18;62266:26:0;2369:177:1;40377:588:0;;;;;;:::i;:::-;;:::i;67862:360::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3329:32:1;;;3311:51;;3393:2;3378:18;;3371:34;;;;3284:18;67862:360:0;3137:274:1;62081:31:0;;;;;-1:-1:-1;;;;;62081:31:0;;;64183:352;;;;;;:::i;:::-;;:::i;41036:134::-;;;;;;:::i;:::-;;:::i;38349:120::-;;;;;;:::i;:::-;;:::i;62374:21::-;;;:::i;38074:213::-;;;;;;:::i;:::-;;:::i;56631:103::-;;;:::i;63753:114::-;;;:::i;64878:271::-;;;;;;:::i;:::-;;:::i;65994:324::-;;;;;;:::i;:::-;;:::i;38696:95::-;;;:::i;62016:30::-;;;;;-1:-1:-1;;;;;62016:30:0;;;39938:146;;;;;;:::i;:::-;;:::i;41241:211::-;;;;;;:::i;:::-;;:::i;67117:455::-;;;;;;:::i;:::-;;:::i;62121:30::-;;;;;;40155:155;;;;;;:::i;:::-;;:::i;65259:446::-;;;;;;:::i;:::-;;:::i;56889:220::-;;;;;;:::i;:::-;;:::i;64672:90::-;;;;;;:::i;:::-;;:::i;62158:39::-;;;;;;68594:614;68679:4;-1:-1:-1;;;;;;;;;68716:25:0;;;;:106;;-1:-1:-1;;;;;;;;;;68797:25:0;;;68716:106;:208;;;-1:-1:-1;;;;;;;;;;68899:25:0;;;68716:208;:283;;;-1:-1:-1;;;;;;;;;;68974:25:0;;;68716:283;:363;;;-1:-1:-1;;;;;;;;;;69054:25:0;;;68716:363;:444;;;-1:-1:-1;;;;;;;;;;69135:25:0;;;68716:444;68696:464;68594:614;-1:-1:-1;;68594:614:0:o;38536:91::-;38581:13;38614:5;38607:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38536:91;:::o;39708:158::-;39775:7;39795:22;39809:7;39795:13;:22::i;:::-;-1:-1:-1;42284:7:0;42311:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42311:24:0;39837:21;42214:129;39527:115;39599:35;39608:2;39612:7;36325:10;39599:8;:35::i;:::-;39527:115;;:::o;66552:417::-;55842:13;:11;:13::i;:::-;-1:-1:-1;;;;;66661:22:0;::::1;66653:85;;;::::0;-1:-1:-1;;;66653:85:0;;6713:2:1;66653:85:0::1;::::0;::::1;6695:21:1::0;6752:2;6732:18;;;6725:30;6791:34;6771:18;;;6764:62;-1:-1:-1;;;6842:18:1;;;6835:48;6900:19;;66653:85:0::1;;;;;;;;;66780:1;66757:8;-1:-1:-1::0;;;;;66757:20:0::1;;:24;66749:77;;;::::0;-1:-1:-1;;;66749:77:0;;7132:2:1;66749:77:0::1;::::0;::::1;7114:21:1::0;7171:2;7151:18;;;7144:30;7210:34;7190:18;;;7183:62;-1:-1:-1;;;7261:18:1;;;7254:38;7309:19;;66749:77:0::1;6930:404:1::0;66749:77:0::1;66859:12;::::0;;::::1;::::0;::::1;::::0;;;-1:-1:-1;66859:12:0;;:7:::1;::::0;:12:::1;::::0;:7;:12:::1;:::i;:::-;-1:-1:-1::0;66882:16:0::1;:27:::0;;-1:-1:-1;;;;;;66882:27:0::1;-1:-1:-1::0;;;;;66882:27:0;::::1;;::::0;;66927:34:::1;::::0;;-1:-1:-1;9725:25:1;;66950:10:0::1;9781:2:1::0;9766:18;;9759:34;66927::0::1;::::0;9698:18:1;66927:34:0::1;;;;;;;66552:417:::0;:::o;40377:588::-;-1:-1:-1;;;;;40472:16:0;;40468:89;;40512:33;;-1:-1:-1;;;40512:33:0;;40542:1;40512:33;;;1494:51:1;1467:18;;40512:33:0;1348:203:1;40468:89:0;40778:21;40802:34;40810:2;40814:7;36325:10;40802:7;:34::i;:::-;40778:58;;40868:4;-1:-1:-1;;;;;40851:21:0;:13;-1:-1:-1;;;;;40851:21:0;;40847:111;;40896:50;;-1:-1:-1;;;40896:50:0;;-1:-1:-1;;;;;10062:15:1;;;40896:50:0;;;10044:34:1;10094:18;;;10087:34;;;10157:15;;10137:18;;;10130:43;9979:18;;40896:50:0;9804:375:1;40847:111:0;40457:508;40377:588;;;:::o;67862:360::-;67997:15;;68158;;68175:18;;-1:-1:-1;;;;;67997:15:0;;;;67934:16;;68135:79;;68147:9;;68158:15;67997;68135:11;:79::i;:::-;68119:95;;67862:360;;;;;:::o;64183:352::-;63669:6;;-1:-1:-1;;;;;63669:6:0;63655:10;:20;63651:45;;63684:12;;-1:-1:-1;;;63684:12:0;;;;;;;;;;;63651:45;64301:1:::1;64291:7;:11;:36;;;;;64317:10;64306:7;:21;;64291:36;64283:65;;;::::0;-1:-1:-1;;;64283:65:0;;10386:2:1;64283:65:0::1;::::0;::::1;10368:21:1::0;10425:2;10405:18;;;10398:30;-1:-1:-1;;;10444:18:1;;;10437:46;10500:18;;64283:65:0::1;10184:340:1::0;64283:65:0::1;64424:18;64430:2;64434:7;64424:5;:18::i;:::-;-1:-1:-1::0;;64503:11:0::1;:13:::0;;::::1;;::::0;;64183:352::o;41036:134::-;41123:39;41140:4;41146:2;41150:7;41123:39;;;;;;;;;;;;:16;:39::i;:::-;41036:134;;;:::o;38349:120::-;38412:7;38439:22;38453:7;38439:13;:22::i;62374:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38074:213::-;38137:7;-1:-1:-1;;;;;38161:19:0;;38157:89;;38204:30;;-1:-1:-1;;;38204:30:0;;38231:1;38204:30;;;1494:51:1;1467:18;;38204:30:0;1348:203:1;38157:89:0;-1:-1:-1;;;;;;38263:16:0;;;;;:9;:16;;;;;;;38074:213::o;56631:103::-;55842:13;:11;:13::i;:::-;56696:30:::1;56723:1;56696:18;:30::i;:::-;56631:103::o:0;63753:114::-;63817:7;63844:15;56029:6;;-1:-1:-1;;;;;56029:6:0;;55956:87;63844:15;63837:22;;63753:114;:::o;64878:271::-;55842:13;:11;:13::i;:::-;-1:-1:-1;;;;;64996:30:0;::::1;64988:88;;;::::0;-1:-1:-1;;;64988:88:0;;10731:2:1;64988:88:0::1;::::0;::::1;10713:21:1::0;10770:2;10750:18;;;10743:30;10809:34;10789:18;;;10782:62;-1:-1:-1;;;10860:18:1;;;10853:43;10913:19;;64988:88:0::1;10529:409:1::0;64988:88:0::1;65107:15;:34:::0;;-1:-1:-1;;;;;;65107:34:0::1;-1:-1:-1::0;;;;;65107:34:0;;;::::1;::::0;;;::::1;::::0;;64878:271::o;65994:324::-;55842:13;:11;:13::i;:::-;66107:26;66099:68:::1;;;::::0;-1:-1:-1;;;66099:68:0;;11145:2:1;66099:68:0::1;::::0;::::1;11127:21:1::0;11184:2;11164:18;;;11157:30;11223:31;11203:18;;;11196:59;11272:18;;66099:68:0::1;10943:353:1::0;66099:68:0::1;66200:7;:18;66210:8:::0;;66200:7;:18:::1;:::i;:::-;-1:-1:-1::0;66229:16:0::1;:29:::0;;-1:-1:-1;;;;;;66229:29:0::1;::::0;;66276:34:::1;::::0;;-1:-1:-1;9725:25:1;;66299:10:0::1;9781:2:1::0;9766:18;;9759:34;66276::0::1;::::0;9698:18:1;66276:34:0::1;;;;;;;65994:324:::0;;:::o;38696:95::-;38743:13;38776:7;38769:14;;;;;:::i;39938:146::-;40024:52;36325:10;40057:8;40067;40024:18;:52::i;41241:211::-;41355:31;41368:4;41374:2;41378:7;41355:12;:31::i;:::-;41397:47;41420:4;41426:2;41430:7;41439:4;41397:22;:47::i;67117:455::-;67182:13;67208:22;67222:7;67208:13;:22::i;:::-;;67271:1;67253:7;67247:21;;;;;:::i;:::-;;;:25;67243:134;;;67320:7;67329:25;67346:7;67329:16;:25::i;:::-;67303:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67289:76;;67117:455;;;:::o;67243:134::-;67401:16;;-1:-1:-1;;;;;67401:16:0;67393:39;67389:130;;67472:16;;67456:51;;-1:-1:-1;;;67456:51:0;;;;;2515:25:1;;;-1:-1:-1;;;;;67472:16:0;;;;67456:42;;2488:18:1;;67456:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67456:51:0;;;;;;;;;;;;:::i;67389:130::-;67531:33;;-1:-1:-1;;;67531:33:0;;14559:2:1;67531:33:0;;;14541:21:1;14598:2;14578:18;;;14571:30;14637:25;14617:18;;;14610:53;14680:18;;67531:33:0;14357:347:1;40155:155:0;-1:-1:-1;;;;;40267:25:0;;;40243:4;40267:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40155:155::o;65259:446::-;55842:13;:11;:13::i;:::-;65407:19:::1;65430:1;65407:24:::0;65399:73:::1;;;::::0;-1:-1:-1;;;65399:73:0;;14911:2:1;65399:73:0::1;::::0;::::1;14893:21:1::0;14950:2;14930:18;;;14923:30;14989:34;14969:18;;;14962:62;-1:-1:-1;;;15040:18:1;;;15033:34;15084:19;;65399:73:0::1;14709:400:1::0;65399:73:0::1;65511:19;65491:16;:39;;65483:98;;;::::0;-1:-1:-1;;;65483:98:0;;15316:2:1;65483:98:0::1;::::0;::::1;15298:21:1::0;15355:2;15335:18;;;15328:30;15394:34;15374:18;;;15367:62;-1:-1:-1;;;15445:18:1;;;15438:44;15499:19;;65483:98:0::1;15114:410:1::0;65483:98:0::1;65612:15;:34:::0;;;;65657:18:::1;:40:::0;65259:446::o;56889:220::-;55842:13;:11;:13::i;:::-;-1:-1:-1;;;;;56974:22:0;::::1;56970:93;;57020:31;::::0;-1:-1:-1;;;57020:31:0;;57048:1:::1;57020:31;::::0;::::1;1494:51:1::0;1467:18;;57020:31:0::1;1348:203:1::0;56970:93:0::1;57073:28;57092:8;57073:18;:28::i;:::-;56889:220:::0;:::o;64672:90::-;55842:13;:11;:13::i;:::-;64738:6:::1;:16:::0;;-1:-1:-1;;;;;;64738:16:0::1;-1:-1:-1::0;;;;;64738:16:0;;;::::1;::::0;;;::::1;::::0;;64672:90::o;52683:247::-;52746:7;42069:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42069:16:0;;52810:90;;52857:31;;-1:-1:-1;;;52857:31:0;;;;;2515:25:1;;;2488:18;;52857:31:0;2369:177:1;50915:122:0;50996:33;51005:2;51009:7;51018:4;51024;50996:8;:33::i;56121:166::-;36325:10;56181:7;:5;:7::i;:::-;-1:-1:-1;;;;;56181:23:0;;56177:103;;56228:40;;-1:-1:-1;;;56228:40:0;;36325:10;56228:40;;;1494:51:1;1467:18;;56228:40:0;1348:203:1;45176:824:0;45262:7;42069:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42069:16:0;;;;45377:18;;;45373:88;;45412:37;45429:4;45435;45441:7;45412:16;:37::i;:::-;-1:-1:-1;;;;;45508:18:0;;;45504:263;;45626:48;45643:1;45647:7;45664:1;45668:5;45626:8;:48::i;:::-;-1:-1:-1;;;;;45720:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;45720:20:0;;;45504:263;-1:-1:-1;;;;;45783:16:0;;;45779:111;;-1:-1:-1;;;;;45845:13:0;;;;;;:9;:13;;;;;:18;;45862:1;45845:18;;;45779:111;45902:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45902:21:0;-1:-1:-1;;;;;45902:21:0;;;;;;;;;45941:27;;45902:16;;45941:27;;;;;;;45988:4;-1:-1:-1;45176:824:0;;;;;;:::o;16352:308::-;16453:7;16473:14;16490:25;16497:1;16500;16503:11;16490:6;:25::i;:::-;16473:42;;16530:26;16547:8;16530:16;:26::i;:::-;:59;;;;;16588:1;16573:11;16560:25;;;;;:::i;:::-;16570:1;16567;16560:25;:29;16530:59;16526:103;;;16606:11;16616:1;16606:11;;:::i;:::-;;;16526:103;16646:6;16352:308;-1:-1:-1;;;;;16352:308:0:o;46336:335::-;-1:-1:-1;;;;;46404:16:0;;46400:89;;46444:33;;-1:-1:-1;;;46444:33:0;;46474:1;46444:33;;;1494:51:1;1467:18;;46444:33:0;1348:203:1;46400:89:0;46499:21;46523:32;46531:2;46535:7;46552:1;46523:7;:32::i;:::-;46499:56;-1:-1:-1;;;;;;46570:27:0;;;46566:98;;46621:31;;-1:-1:-1;;;46621:31:0;;46649:1;46621:31;;;1494:51:1;1467:18;;46621:31:0;1348:203:1;57269:191:0;57362:6;;;-1:-1:-1;;;;;57379:17:0;;;-1:-1:-1;;;;;;57379:17:0;;;;;;;57412:40;;57362:6;;;57379:17;57362:6;;57412:40;;57343:16;;57412:40;57332:128;57269:191;:::o;52122:318::-;-1:-1:-1;;;;;52230:22:0;;52226:93;;52276:31;;-1:-1:-1;;;52276:31:0;;-1:-1:-1;;;;;1512:32:1;;52276:31:0;;;1494:51:1;1467:18;;52276:31:0;1348:203:1;52226:93:0;-1:-1:-1;;;;;52329:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52329:46:0;;;;;;;;;;52391:41;;540::1;;;52391::0;;513:18:1;52391:41:0;;;;;;;52122:318;;;:::o;53480:799::-;-1:-1:-1;;;;;53597:14:0;;;:18;53593:679;;53636:71;;-1:-1:-1;;;53636:71:0;;-1:-1:-1;;;;;53636:36:0;;;;;:71;;36325:10;;53687:4;;53693:7;;53702:4;;53636:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53636:71:0;;;;;;;;-1:-1:-1;;53636:71:0;;;;;;;;;;;;:::i;:::-;;;53632:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53950:6;:13;53967:1;53950:18;53946:300;;54000:25;;-1:-1:-1;;;54000:25:0;;-1:-1:-1;;;;;1512:32:1;;54000:25:0;;;1494:51:1;1467:18;;54000:25:0;1348:203:1;53946:300:0;54196:6;54190:13;54181:6;54177:2;54173:15;54166:38;53632:629;-1:-1:-1;;;;;;53755:51:0;;-1:-1:-1;;;53755:51:0;53751:132;;53838:25;;-1:-1:-1;;;53838:25:0;;-1:-1:-1;;;;;1512:32:1;;53838:25:0;;;1494:51:1;1467:18;;53838:25:0;1348:203:1;53751:132:0;53708:190;53480:799;;;;:::o;24225:718::-;24281:13;24332:14;24349:17;24360:5;24349:10;:17::i;:::-;24369:1;24349:21;24332:38;;24385:20;24419:6;24408:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24408:18:0;-1:-1:-1;24385:41:0;-1:-1:-1;24550:28:0;;;24566:2;24550:28;24607:290;-1:-1:-1;;24639:5:0;-1:-1:-1;;;24776:2:0;24765:14;;24760:32;24639:5;24747:46;24839:2;24830:11;;;-1:-1:-1;24860:21:0;24607:290;24860:21;-1:-1:-1;24918:6:0;24225:718;-1:-1:-1;;;24225:718:0:o;51225:678::-;51387:9;:31;;;-1:-1:-1;;;;;;51400:18:0;;;;51387:31;51383:471;;;51435:13;51451:22;51465:7;51451:13;:22::i;:::-;51435:38;-1:-1:-1;;;;;;51604:18:0;;;;;;:35;;;51635:4;-1:-1:-1;;;;;51626:13:0;:5;-1:-1:-1;;;;;51626:13:0;;;51604:35;:69;;;;;51644:29;51661:5;51668:4;51644:16;:29::i;:::-;51643:30;51604:69;51600:144;;;51701:27;;-1:-1:-1;;;51701:27:0;;-1:-1:-1;;;;;1512:32:1;;51701:27:0;;;1494:51:1;1467:18;;51701:27:0;1348:203:1;51600:144:0;51764:9;51760:83;;;51819:7;51815:2;-1:-1:-1;;;;;51799:28:0;51808:5;-1:-1:-1;;;;;51799:28:0;;;;;;;;;;;51760:83;51420:434;51383:471;-1:-1:-1;;51866:24:0;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;51866:29:0;-1:-1:-1;;;;;51866:29:0;;;;;;;;;;51225:678::o;43383:376::-;43496:38;43510:5;43517:7;43526;43496:13;:38::i;:::-;43491:261;;-1:-1:-1;;;;;43555:19:0;;43551:190;;43602:31;;-1:-1:-1;;;43602:31:0;;;;;2515:25:1;;;2488:18;;43602:31:0;2369:177:1;43551:190:0;43681:44;;-1:-1:-1;;;43681:44:0;;-1:-1:-1;;;;;3329:32:1;;43681:44:0;;;3311:51:1;3378:18;;;3371:34;;;3284:18;;43681:44:0;3137:274:1;12020:4195:0;12102:14;12470:5;;;12102:14;-1:-1:-1;;12474:1:0;12470;12645:20;12719:5;12715:2;12712:13;12704:5;12700:2;12696:14;12692:34;12683:43;;;12825:5;12834:1;12825:10;12821:373;;13167:11;13159:5;:19;;;;;:::i;:::-;;13152:26;;;;;;12821:373;13318:5;13303:11;:20;13299:90;;13351:22;;-1:-1:-1;;;13351:22:0;;;;;;;;;;;13299:90;13651:17;13789:11;13786:1;13783;13776:25;14199:12;14229:15;;;14214:31;;14351:22;;;;;15091:1;15072;:15;;15071:21;;15328;;;15324:25;;15313:36;15398:21;;;15394:25;;15383:36;15469:21;;;15465:25;;15454:36;15540:21;;;15536:25;;15525:36;15611:21;;;15607:25;;15596:36;15683:21;;;15679:25;;;15668:36;14602:12;;;;14598:23;;;14623:1;14594:31;13906:20;;;13895:32;;;14718:12;;;;13954:21;;;;14452:16;;;;14709:21;;;;16153:15;;;;;-1:-1:-1;;12020:4195:0;;;;;:::o;23499:124::-;23567:4;23609:1;23597:8;23591:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;23614:1;23591:24;23584:31;;23499:124;;;:::o;20629:948::-;20682:7;;-1:-1:-1;;;20760:17:0;;20756:106;;-1:-1:-1;;;20798:17:0;;;-1:-1:-1;20844:2:0;20834:12;20756:106;20889:8;20880:5;:17;20876:106;;20927:8;20918:17;;;-1:-1:-1;20964:2:0;20954:12;20876:106;21009:8;21000:5;:17;20996:106;;21047:8;21038:17;;;-1:-1:-1;21084:2:0;21074:12;20996:106;21129:7;21120:5;:16;21116:103;;21166:7;21157:16;;;-1:-1:-1;21202:1:0;21192:11;21116:103;21246:7;21237:5;:16;21233:103;;21283:7;21274:16;;;-1:-1:-1;21319:1:0;21309:11;21233:103;21363:7;21354:5;:16;21350:103;;21400:7;21391:16;;;-1:-1:-1;21436:1:0;21426:11;21350:103;21480:7;21471:5;:16;21467:68;;21518:1;21508:11;21563:6;20629:948;-1:-1:-1;;20629:948:0:o;42663:276::-;42766:4;-1:-1:-1;;;;;42803:21:0;;;;;;:128;;;42851:7;-1:-1:-1;;;;;42842:16:0;:5;-1:-1:-1;;;;;42842:16:0;;:52;;;;42862:32;42879:5;42886:7;42862:16;:32::i;:::-;42842:88;;;-1:-1:-1;42284:7:0;42311:24;;;:15;:24;;;;;;-1:-1:-1;;;;;42898:32:0;;;42311:24;;42898:32;42842:88;42783:148;42663:276;-1:-1:-1;;;;42663: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;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;1556:180::-;1615:6;1668:2;1656:9;1647:7;1643:23;1639:32;1636:52;;;1684:1;1681;1674:12;1636:52;-1:-1:-1;1707:23:1;;1556:180;-1:-1:-1;1556:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;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;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:248::-;2952:6;2960;3013:2;3001:9;2992:7;2988:23;2984:32;2981:52;;;3029:1;3026;3019:12;2981:52;-1:-1:-1;;3052:23:1;;;3122:2;3107:18;;;3094:32;;-1:-1:-1;2884:248:1:o;3416:592::-;3487:6;3495;3548:2;3536:9;3527:7;3523:23;3519:32;3516:52;;;3564:1;3561;3554:12;3516:52;3604:9;3591:23;3633:18;3674:2;3666:6;3663:14;3660:34;;;3690:1;3687;3680:12;3660:34;3728:6;3717:9;3713:22;3703:32;;3773:7;3766:4;3762:2;3758:13;3754:27;3744:55;;3795:1;3792;3785:12;3744:55;3835:2;3822:16;3861:2;3853:6;3850:14;3847:34;;;3877:1;3874;3867:12;3847:34;3922:7;3917:2;3908:6;3904:2;3900:15;3896:24;3893:37;3890:57;;;3943:1;3940;3933:12;3890:57;3974:2;3966:11;;;;;3996:6;;-1:-1:-1;3416:592:1;;-1:-1:-1;;;;3416:592:1:o;4013:347::-;4078:6;4086;4139:2;4127:9;4118:7;4114:23;4110:32;4107:52;;;4155:1;4152;4145:12;4107:52;4178:29;4197:9;4178:29;:::i;:::-;4168:39;;4257:2;4246:9;4242:18;4229:32;4304:5;4297:13;4290:21;4283:5;4280:32;4270:60;;4326:1;4323;4316:12;4270:60;4349:5;4339:15;;;4013:347;;;;;:::o;4365:127::-;4426:10;4421:3;4417:20;4414:1;4407:31;4457:4;4454:1;4447:15;4481:4;4478:1;4471:15;4497:275;4568:2;4562:9;4633:2;4614:13;;-1:-1:-1;;4610:27:1;4598:40;;4668:18;4653:34;;4689:22;;;4650:62;4647:88;;;4715:18;;:::i;:::-;4751:2;4744:22;4497:275;;-1:-1:-1;4497:275:1:o;4777:186::-;4825:4;4858:18;4850:6;4847:30;4844:56;;;4880:18;;:::i;:::-;-1:-1:-1;4946:2:1;4925:15;-1:-1:-1;;4921:29:1;4952:4;4917:40;;4777:186::o;4968:888::-;5063:6;5071;5079;5087;5140:3;5128:9;5119:7;5115:23;5111:33;5108:53;;;5157:1;5154;5147:12;5108:53;5180:29;5199:9;5180:29;:::i;:::-;5170:39;;5228:38;5262:2;5251:9;5247:18;5228:38;:::i;:::-;5218:48;;5313:2;5302:9;5298:18;5285:32;5275:42;;5368:2;5357:9;5353:18;5340:32;5395:18;5387:6;5384:30;5381:50;;;5427:1;5424;5417:12;5381:50;5450:22;;5503:4;5495:13;;5491:27;-1:-1:-1;5481:55:1;;5532:1;5529;5522:12;5481:55;5568:2;5555:16;5593:48;5609:31;5637:2;5609:31;:::i;:::-;5593:48;:::i;:::-;5664:2;5657:5;5650:17;5704:7;5699:2;5694;5690;5686:11;5682:20;5679:33;5676:53;;;5725:1;5722;5715:12;5676:53;5780:2;5775;5771;5767:11;5762:2;5755:5;5751:14;5738:45;5824:1;5819:2;5814;5807:5;5803:14;5799:23;5792:34;5845:5;5835:15;;;;;4968:888;;;;;;;:::o;5861:260::-;5929:6;5937;5990:2;5978:9;5969:7;5965:23;5961:32;5958:52;;;6006:1;6003;5996:12;5958:52;6029:29;6048:9;6029:29;:::i;:::-;6019:39;;6077:38;6111:2;6100:9;6096:18;6077:38;:::i;6126:380::-;6205:1;6201:12;;;;6248;;;6269:61;;6323:4;6315:6;6311:17;6301:27;;6269:61;6376:2;6368:6;6365:14;6345:18;6342:38;6339:161;;6422:10;6417:3;6413:20;6410:1;6403:31;6457:4;6454:1;6447:15;6485:4;6482:1;6475:15;6339:161;;6126:380;;;:::o;7465:545::-;7567:2;7562:3;7559:11;7556:448;;;7603:1;7628:5;7624:2;7617:17;7673:4;7669:2;7659:19;7743:2;7731:10;7727:19;7724:1;7720:27;7714:4;7710:38;7779:4;7767:10;7764:20;7761:47;;;-1:-1:-1;7802:4:1;7761:47;7857:2;7852:3;7848:12;7845:1;7841:20;7835:4;7831:31;7821:41;;7912:82;7930:2;7923:5;7920:13;7912:82;;;7975:17;;;7956:1;7945:13;7912:82;;;7916:3;;;7465:545;;;:::o;8186:1352::-;8312:3;8306:10;8339:18;8331:6;8328:30;8325:56;;;8361:18;;:::i;:::-;8390:97;8480:6;8440:38;8472:4;8466:11;8440:38;:::i;:::-;8434:4;8390:97;:::i;:::-;8542:4;;8606:2;8595:14;;8623:1;8618:663;;;;9325:1;9342:6;9339:89;;;-1:-1:-1;9394:19:1;;;9388:26;9339:89;-1:-1:-1;;8143:1:1;8139:11;;;8135:24;8131:29;8121:40;8167:1;8163:11;;;8118:57;9441:81;;8588:944;;8618:663;7412:1;7405:14;;;7449:4;7436:18;;-1:-1:-1;;8654:20:1;;;8772:236;8786:7;8783:1;8780:14;8772:236;;;8875:19;;;8869:26;8854:42;;8967:27;;;;8935:1;8923:14;;;;8802:19;;8772:236;;;8776:3;9036:6;9027:7;9024:19;9021:201;;;9097:19;;;9091:26;-1:-1:-1;;9180:1:1;9176:14;;;9192:3;9172:24;9168:37;9164:42;9149:58;9134:74;;9021:201;-1:-1:-1;;;;;9268:1:1;9252:14;;;9248:22;9235:36;;-1:-1:-1;8186:1352:1:o;11301:1206::-;11425:18;11420:3;11417:27;11414:53;;;11447:18;;:::i;:::-;11476:94;11566:3;11526:38;11558:4;11552:11;11526:38;:::i;:::-;11520:4;11476:94;:::i;:::-;11596:1;11621:2;11616:3;11613:11;11638:1;11633:616;;;;12293:1;12310:3;12307:93;;;-1:-1:-1;12366:19:1;;;12353:33;12307:93;-1:-1:-1;;8143:1:1;8139:11;;;8135:24;8131:29;8121:40;8167:1;8163:11;;;8118:57;12413:78;;11606:895;;11633:616;7412:1;7405:14;;;7449:4;7436:18;;-1:-1:-1;;11669:17:1;;;11770:9;11792:229;11806:7;11803:1;11800:14;11792:229;;;11895:19;;;11882:33;11867:49;;12002:4;11987:20;;;;11955:1;11943:14;;;;11822:12;11792:229;;;11796:3;12049;12040:7;12037:16;12034:159;;;12173:1;12169:6;12163:3;12157;12154:1;12150:11;12146:21;12142:34;12138:39;12125:9;12120:3;12116:19;12103:33;12099:79;12091:6;12084:95;12034:159;;;12236:1;12230:3;12227:1;12223:11;12219:19;12213:4;12206:33;11606:895;;11301:1206;;;:::o;12512:1187::-;12789:3;12818:1;12851:6;12845:13;12881:36;12907:9;12881:36;:::i;:::-;12936:1;12953:18;;;12980:133;;;;13127:1;13122:356;;;;12946:532;;12980:133;-1:-1:-1;;13013:24:1;;13001:37;;13086:14;;13079:22;13067:35;;13058:45;;;-1:-1:-1;12980:133:1;;13122:356;13153:6;13150:1;13143:17;13183:4;13228:2;13225:1;13215:16;13253:1;13267:165;13281:6;13278:1;13275:13;13267:165;;;13359:14;;13346:11;;;13339:35;13402:16;;;;13296:10;;13267:165;;;13271:3;;;13461:6;13456:3;13452:16;13445:23;;12946:532;;;;;13509:6;13503:13;13525:68;13584:8;13579:3;13572:4;13564:6;13560:17;13525:68;:::i;:::-;-1:-1:-1;;;13615:18:1;;13642:22;;;13691:1;13680:13;;12512:1187;-1:-1:-1;;;;12512:1187:1:o;13704:648::-;13784:6;13837:2;13825:9;13816:7;13812:23;13808:32;13805:52;;;13853:1;13850;13843:12;13805:52;13886:9;13880:16;13919:18;13911:6;13908:30;13905:50;;;13951:1;13948;13941:12;13905:50;13974:22;;14027:4;14019:13;;14015:27;-1:-1:-1;14005:55:1;;14056:1;14053;14046:12;14005:55;14085:2;14079:9;14110:48;14126:31;14154:2;14126:31;:::i;14110:48::-;14181:2;14174:5;14167:17;14221:7;14216:2;14211;14207;14203:11;14199:20;14196:33;14193:53;;;14242:1;14239;14232:12;14193:53;14255:67;14319:2;14314;14307:5;14303:14;14298:2;14294;14290:11;14255:67;:::i;15529:127::-;15590:10;15585:3;15581:20;15578:1;15571:31;15621:4;15618:1;15611:15;15645:4;15642:1;15635:15;15661:222;15726:9;;;15747:10;;;15744:133;;;15799:10;15794:3;15790:20;15787:1;15780:31;15834:4;15831:1;15824:15;15862:4;15859:1;15852:15;15888:489;-1:-1:-1;;;;;16157:15:1;;;16139:34;;16209:15;;16204:2;16189:18;;16182:43;16256:2;16241:18;;16234:34;;;16304:3;16299:2;16284:18;;16277:31;;;16082:4;;16325:46;;16351:19;;16343:6;16325:46;:::i;:::-;16317:54;15888:489;-1:-1:-1;;;;;;15888:489:1:o;16382:249::-;16451:6;16504:2;16492:9;16483:7;16479:23;16475:32;16472:52;;;16520:1;16517;16510:12;16472:52;16552:9;16546:16;16571:30;16595:5;16571:30;:::i;16636:127::-;16697:10;16692:3;16688:20;16685:1;16678:31;16728:4;16725:1;16718:15;16752:4;16749:1;16742:15;16768:254;16798:1;16832:4;16829:1;16825:12;16856:3;16846:134;;16902:10;16897:3;16893:20;16890:1;16883:31;16937:4;16934:1;16927:15;16965:4;16962:1;16955:15;16846:134;17012:3;17005:4;17002:1;16998:12;16994:22;16989:27;;;16768:254;;;;:::o
Swarm Source
ipfs://fe4e70a4599a6922be3556540dfad0cc3b60b2dd3bce93f373d11499b65e7f39
Loading...
Loading
Loading...
Loading
[ 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.