ETH Price: $3,107.10 (+0.06%)

Token

GLHF (GLHF)
 

Overview

Max Total Supply

3,560 GLHF

Holders

958

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
0 GLHF
0xa91eee49d2fea98f0c8f364e416ba66345579f0f
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

GLHFers is a pixel collection by gamers, for gamers.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GLHF

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-17
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * 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[ERC 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);
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

/**
 * @dev Required interface of an ERC-721 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 ERC-721 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 ERC-721
     * 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);
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

/**
 * @title ERC-721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC-721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be
     * reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        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 success flag (no division by zero).
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {
        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;
        }

        // The following calculation ensures accurate ceiling division without overflow.
        // Since a is non-zero, (a - 1) / b will not overflow.
        // The largest possible result occurs when (a - 1) / b is type(uint256).max,
        // but the largest value we can obtain is type(uint256).max - 1, which happens
        // when a = type(uint256).max and b = 1.
        unchecked {
            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;
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

/**
 * @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));
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 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;
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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 ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] 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 ERC-721 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 ERC-721 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))
                    }
                }
            }
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Royalty.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

/**
 * @dev Extension of ERC-721 with the ERC-2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {ERC2981-_setDefaultRoyalty}, and/or individually
 * for specific token ids via {ERC2981-_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)

// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)

/**
 * @dev External interface of AccessControl declared to support ERC-165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}

interface IMintableERC721 is IERC721 {
    function mint(address to, uint256 quantity) external returns (uint256[] memory tokenIds);

    function totalSupply() external view returns (uint256);
}

interface ITokenRenderer {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

interface ITokenUpdateHandler {
    /**
     * Handles token transfer events from a ERC721 contract
     */
    function handleUpdate(address tokenContract, address to, uint256 tokenId, address auth) external;
}

contract GLHF is ERC721Royalty, AccessControl, IMintableERC721 {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    uint256 public immutable maxSupply = 3690;

    ITokenRenderer public renderer;
    ITokenUpdateHandler public updateHandler;

    uint256 _mintCounter;

    constructor(address admin, address treasury) ERC721("GLHF", "GLHF") {
        _grantRole(DEFAULT_ADMIN_ROLE, admin);
        _setDefaultRoyalty(treasury, 50);
    }

    function mint(address to, uint256 quantity) external onlyRole(MINTER_ROLE) returns (uint256[] memory) {
        uint256 startTokenId = _mintCounter;
        require(startTokenId + quantity <= maxSupply, "Exceeds max supply");

        for (uint256 i; i < quantity; i++) {
            _mint(to, startTokenId + i);
        }
        _mintCounter += quantity;

        return _range(startTokenId, quantity);
    }

    function totalSupply() external view returns (uint256) {
        return _mintCounter;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireOwned(tokenId);

        return renderer.tokenURI(tokenId);
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721Royalty, AccessControl, IERC165) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function setRoyalty(address recipient, uint96 feeNumerator) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setDefaultRoyalty(recipient, feeNumerator);
    }

    function setRenderer(ITokenRenderer renderer_) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(address(renderer_) != address(0), "Can't set to zero address");

        renderer = renderer_;
    }

    function setTokenUpdateHandler(ITokenUpdateHandler handler_) external onlyRole(DEFAULT_ADMIN_ROLE) {
        updateHandler = handler_;
    }

    function _update(address to, uint256 tokenId, address auth) internal virtual override returns (address) {
        if (address(updateHandler) != address(0)) {
            updateHandler.handleUpdate(address(this), to, tokenId, auth);
        }

        return super._update(to, tokenId, auth);
    }

    function _range(uint256 from, uint256 length) internal pure returns (uint256[] memory result) {
        result = new uint256[](length);
        for (uint256 i; i < length; i++) {
            result[i] = from + i;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract ITokenRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"contract ITokenRenderer","name":"renderer_","type":"address"}],"name":"setRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenUpdateHandler","name":"handler_","type":"address"}],"name":"setTokenUpdateHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateHandler","outputs":[{"internalType":"contract ITokenUpdateHandler","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60a0604052610e6a60805234801562000016575f80fd5b50604051620021f5380380620021f5833981016040819052620000399162000220565b60408051808201825260048082526323a6242360e11b6020808401829052845180860190955291845290830152906002620000758382620002f4565b506003620000848282620002f4565b506200009591505f905083620000ab565b50620000a38160326200015b565b5050620003c0565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff1662000152575f8381526008602090815260408083206001600160a01b03861684529091529020805460ff19166001179055620001093390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000155565b505f5b92915050565b6127106001600160601b038216811015620001a057604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044015b60405180910390fd5b6001600160a01b038316620001cb57604051635b6cc80560e11b81525f600482015260240162000197565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b909102175f55565b80516001600160a01b03811681146200021b575f80fd5b919050565b5f806040838503121562000232575f80fd5b6200023d8362000204565b91506200024d6020840162000204565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200027f57607f821691505b6020821081036200029e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002ef57805f5260205f20601f840160051c81016020851015620002cb5750805b601f840160051c820191505b81811015620002ec575f8155600101620002d7565b50505b505050565b81516001600160401b0381111562000310576200031062000256565b62000328816200032184546200026a565b84620002a4565b602080601f8311600181146200035e575f8415620003465750858301515b5f19600386901b1c1916600185901b178555620003b8565b5f85815260208120601f198616915b828110156200038e578886015182559484019460019091019084016200036d565b5085821015620003ac57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b608051611e15620003e05f395f818161045d01526108150152611e155ff3fe608060405234801561000f575f80fd5b50600436106101c6575f3560e01c80636352211e116100fe578063a22cb4651161009e578063d53913931161006e578063d53913931461041e578063d547741f14610445578063d5abeb0114610458578063e985e9c51461047f575f80fd5b8063a22cb465146103d2578063af2b8c52146103e5578063b88d4fde146103f8578063c87b56dd1461040b575f80fd5b80638f2fc60b116100d95780638f2fc60b1461037857806391d148541461038b57806395d89b41146103c3578063a217fddf146103cb575f80fd5b80636352211e1461033f57806370a08231146103525780638ada6b0f14610365575f80fd5b8063248a9ca31161016957806336568abe1161014457806336568abe146102e657806340c10f19146102f957806342842e0e1461031957806356d3163d1461032c575f80fd5b8063248a9ca31461027f5780632a55205a146102a15780632f2ff15d146102d3575f80fd5b8063081812fc116101a4578063081812fc1461021c578063095ea7b31461024757806318160ddd1461025a57806323b872dd1461026c575f80fd5b806301ffc9a7146101ca578063057afdf4146101f257806306fdde0314610207575b5f80fd5b6101dd6101d836600461182b565b6104ba565b60405190151581526020015b60405180910390f35b610205610200366004611861565b6104ca565b005b61020f61050f565b6040516101e991906118e7565b61022f61022a3660046118f9565b61059f565b6040516001600160a01b0390911681526020016101e9565b610205610255366004611910565b6105c6565b600b545b6040519081526020016101e9565b61020561027a36600461193a565b6105d5565b61025e61028d3660046118f9565b5f9081526008602052604090206001015490565b6102b46102af366004611978565b610695565b604080516001600160a01b0390931683526020830191909152016101e9565b6102056102e1366004611998565b61076f565b6102056102f4366004611998565b610793565b61030c610307366004611910565b6107e4565b6040516101e991906119c6565b61020561032736600461193a565b6108f8565b61020561033a366004611861565b610912565b61022f61034d3660046118f9565b6109c7565b61025e610360366004611861565b6109d1565b60095461022f906001600160a01b031681565b610205610386366004611a09565b610a2f565b6101dd610399366004611998565b5f9182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61020f610a43565b61025e5f81565b6102056103e0366004611a45565b610a52565b600a5461022f906001600160a01b031681565b610205610406366004611b36565b610a5d565b61020f6104193660046118f9565b610a74565b61025e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610205610453366004611998565b610b24565b61025e7f000000000000000000000000000000000000000000000000000000000000000081565b6101dd61048d366004611bde565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b5f6104c482610b48565b92915050565b5f6104d481610b9d565b50600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60606002805461051e90611c0a565b80601f016020809104026020016040519081016040528092919081815260200182805461054a90611c0a565b80156105955780601f1061056c57610100808354040283529160200191610595565b820191905f5260205f20905b81548152906001019060200180831161057857829003601f168201915b5050505050905090565b5f6105a982610baa565b505f828152600660205260409020546001600160a01b03166104c4565b6105d1828233610bfb565b5050565b6001600160a01b03821661061c576040517f64a0ae920000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b5f610628838333610c08565b9050836001600160a01b0316816001600160a01b03161461068f576040517f64283d7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0380861660048301526024820184905282166044820152606401610613565b50505050565b5f8281526001602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff169282019290925282916107345750604080518082019091525f546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b60208101515f9061271090610757906bffffffffffffffffffffffff1687611c88565b6107619190611c9f565b915196919550909350505050565b5f8281526008602052604090206001015461078981610b9d565b61068f8383610cb7565b6001600160a01b03811633146107d5576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107df8282610d80565b505050565b60607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661081081610b9d565b600b547f000000000000000000000000000000000000000000000000000000000000000061083e8583611cd7565b11156108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152606401610613565b5f5b848110156108cb576108c3866108be8385611cd7565b610e23565b6001016108a8565b5083600b5f8282546108dd9190611cd7565b909155506108ed90508185610eb6565b9250505b5092915050565b6107df83838360405180602001604052805f815250610a5d565b5f61091c81610b9d565b6001600160a01b03821661098c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f43616e27742073657420746f207a65726f2061646472657373000000000000006044820152606401610613565b50600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b5f6104c482610baa565b5f6001600160a01b038216610a14576040517f89c62b640000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b506001600160a01b03165f9081526005602052604090205490565b5f610a3981610b9d565b6107df8383610f36565b60606003805461051e90611c0a565b6105d1338383611029565b610a688484846105d5565b61068f848484846110fe565b6060610a7f82610baa565b506009546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610adf573d5f803e3d5ffd5b505050506040513d5f823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104c49190810190611cea565b5f82815260086020526040902060010154610b3e81610b9d565b61068f8383610d80565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806104c457506104c4826112be565b610ba781336112c8565b50565b5f818152600460205260408120546001600160a01b0316806104c4576040517f7e27328900000000000000000000000000000000000000000000000000000000815260048101849052602401610613565b6107df8383836001611335565b600a545f906001600160a01b031615610ca457600a546040517f7d4c447b0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03868116602483015260448201869052848116606483015290911690637d4c447b906084015f604051808303815f87803b158015610c8d575f80fd5b505af1158015610c9f573d5f803e3d5ffd5b505050505b610caf848484611488565b949350505050565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff16610d79575f8381526008602090815260408083206001600160a01b0386168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610d313390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016104c4565b505f6104c4565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff1615610d79575f8381526008602090815260408083206001600160a01b038616808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016104c4565b6001600160a01b038216610e65576040517f64a0ae920000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b5f610e7183835f610c08565b90506001600160a01b038116156107df576040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b60608167ffffffffffffffff811115610ed157610ed1611a75565b604051908082528060200260200182016040528015610efa578160200160208202803683370190505b5090505f5b828110156108f157610f118185611cd7565b828281518110610f2357610f23611d5c565b6020908102919091010152600101610eff565b6127106bffffffffffffffffffffffff8216811015610f98576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401610613565b6001600160a01b038316610fda576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff909116602090920182905274010000000000000000000000000000000000000000909102175f55565b6001600160a01b038216611074576040517f5b08ba180000000000000000000000000000000000000000000000000000000081526001600160a01b0383166004820152602401610613565b6001600160a01b038381165f8181526007602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561068f576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063150b7a0290611159903390889087908790600401611d89565b6020604051808303815f875af19250505080156111b1575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526111ae91810190611dc4565b60015b611231573d8080156111de576040519150601f19603f3d011682016040523d82523d5f602084013e6111e3565b606091505b5080515f03611229576040517f64a0ae920000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610613565b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167f150b7a0200000000000000000000000000000000000000000000000000000000146112b7576040517f64a0ae920000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610613565b5050505050565b5f6104c4826115b1565b5f8281526008602090815260408083206001600160a01b038516845290915290205460ff166105d1576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260248101839052604401610613565b808061134957506001600160a01b03821615155b15611441575f61135884610baa565b90506001600160a01b038316158015906113845750826001600160a01b0316816001600160a01b031614155b80156113b557506001600160a01b038082165f9081526007602090815260408083209387168352929052205460ff16155b156113f7576040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610613565b811561143f5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260066020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b5f828152600460205260408120546001600160a01b03908116908316156114b4576114b4818486611652565b6001600160a01b0381161561150d576114cf5f855f80611335565b6001600160a01b0381165f90815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190555b6001600160a01b0385161561153b576001600160a01b0385165f908152600560205260409020805460010190555b5f8481526004602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061164357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104c457506104c4826116e8565b61165d83838361177e565b6107df576001600160a01b0383166116a4576040517f7e27328900000000000000000000000000000000000000000000000000000000815260048101829052602401610613565b6040517f177e802f0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101829052604401610613565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806104c457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104c4565b5f6001600160a01b03831615801590610caf5750826001600160a01b0316846001600160a01b031614806117d657506001600160a01b038085165f9081526007602090815260408083209387168352929052205460ff165b80610caf5750505f908152600660205260409020546001600160a01b03908116911614919050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ba7575f80fd5b5f6020828403121561183b575f80fd5b8135611846816117fe565b9392505050565b6001600160a01b0381168114610ba7575f80fd5b5f60208284031215611871575f80fd5b81356118468161184d565b5f5b8381101561189657818101518382015260200161187e565b50505f910152565b5f81518084526118b581602086016020860161187c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f611846602083018461189e565b5f60208284031215611909575f80fd5b5035919050565b5f8060408385031215611921575f80fd5b823561192c8161184d565b946020939093013593505050565b5f805f6060848603121561194c575f80fd5b83356119578161184d565b925060208401356119678161184d565b929592945050506040919091013590565b5f8060408385031215611989575f80fd5b50508035926020909101359150565b5f80604083850312156119a9575f80fd5b8235915060208301356119bb8161184d565b809150509250929050565b602080825282518282018190525f9190848201906040850190845b818110156119fd578351835292840192918401916001016119e1565b50909695505050505050565b5f8060408385031215611a1a575f80fd5b8235611a258161184d565b915060208301356bffffffffffffffffffffffff811681146119bb575f80fd5b5f8060408385031215611a56575f80fd5b8235611a618161184d565b9150602083013580151581146119bb575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611ae957611ae9611a75565b604052919050565b5f67ffffffffffffffff821115611b0a57611b0a611a75565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b5f805f8060808587031215611b49575f80fd5b8435611b548161184d565b93506020850135611b648161184d565b925060408501359150606085013567ffffffffffffffff811115611b86575f80fd5b8501601f81018713611b96575f80fd5b8035611ba9611ba482611af1565b611aa2565b818152886020838501011115611bbd575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611bef575f80fd5b8235611bfa8161184d565b915060208301356119bb8161184d565b600181811c90821680611c1e57607f821691505b602082108103611c55577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b80820281158282048414176104c4576104c4611c5b565b5f82611cd2577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b808201808211156104c4576104c4611c5b565b5f60208284031215611cfa575f80fd5b815167ffffffffffffffff811115611d10575f80fd5b8201601f81018413611d20575f80fd5b8051611d2e611ba482611af1565b818152856020838501011115611d42575f80fd5b611d5382602083016020860161187c565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6001600160a01b03808716835280861660208401525083604083015260806060830152611dba608083018461189e565b9695505050505050565b5f60208284031215611dd4575f80fd5b8151611846816117fe56fea2646970667358221220db8bddc8e60ac065a5d9b6717b58b221a81e6499ea4440e77ee16b015f938e4c64736f6c63430008170033000000000000000000000000618fd347e5f67dffa5dd7011b517c1e9c9e9fc3900000000000000000000000066aac71209f9654bb56f4092b84937a2dcdf27d3

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101c6575f3560e01c80636352211e116100fe578063a22cb4651161009e578063d53913931161006e578063d53913931461041e578063d547741f14610445578063d5abeb0114610458578063e985e9c51461047f575f80fd5b8063a22cb465146103d2578063af2b8c52146103e5578063b88d4fde146103f8578063c87b56dd1461040b575f80fd5b80638f2fc60b116100d95780638f2fc60b1461037857806391d148541461038b57806395d89b41146103c3578063a217fddf146103cb575f80fd5b80636352211e1461033f57806370a08231146103525780638ada6b0f14610365575f80fd5b8063248a9ca31161016957806336568abe1161014457806336568abe146102e657806340c10f19146102f957806342842e0e1461031957806356d3163d1461032c575f80fd5b8063248a9ca31461027f5780632a55205a146102a15780632f2ff15d146102d3575f80fd5b8063081812fc116101a4578063081812fc1461021c578063095ea7b31461024757806318160ddd1461025a57806323b872dd1461026c575f80fd5b806301ffc9a7146101ca578063057afdf4146101f257806306fdde0314610207575b5f80fd5b6101dd6101d836600461182b565b6104ba565b60405190151581526020015b60405180910390f35b610205610200366004611861565b6104ca565b005b61020f61050f565b6040516101e991906118e7565b61022f61022a3660046118f9565b61059f565b6040516001600160a01b0390911681526020016101e9565b610205610255366004611910565b6105c6565b600b545b6040519081526020016101e9565b61020561027a36600461193a565b6105d5565b61025e61028d3660046118f9565b5f9081526008602052604090206001015490565b6102b46102af366004611978565b610695565b604080516001600160a01b0390931683526020830191909152016101e9565b6102056102e1366004611998565b61076f565b6102056102f4366004611998565b610793565b61030c610307366004611910565b6107e4565b6040516101e991906119c6565b61020561032736600461193a565b6108f8565b61020561033a366004611861565b610912565b61022f61034d3660046118f9565b6109c7565b61025e610360366004611861565b6109d1565b60095461022f906001600160a01b031681565b610205610386366004611a09565b610a2f565b6101dd610399366004611998565b5f9182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61020f610a43565b61025e5f81565b6102056103e0366004611a45565b610a52565b600a5461022f906001600160a01b031681565b610205610406366004611b36565b610a5d565b61020f6104193660046118f9565b610a74565b61025e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610205610453366004611998565b610b24565b61025e7f0000000000000000000000000000000000000000000000000000000000000e6a81565b6101dd61048d366004611bde565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b5f6104c482610b48565b92915050565b5f6104d481610b9d565b50600a80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60606002805461051e90611c0a565b80601f016020809104026020016040519081016040528092919081815260200182805461054a90611c0a565b80156105955780601f1061056c57610100808354040283529160200191610595565b820191905f5260205f20905b81548152906001019060200180831161057857829003601f168201915b5050505050905090565b5f6105a982610baa565b505f828152600660205260409020546001600160a01b03166104c4565b6105d1828233610bfb565b5050565b6001600160a01b03821661061c576040517f64a0ae920000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b5f610628838333610c08565b9050836001600160a01b0316816001600160a01b03161461068f576040517f64283d7b0000000000000000000000000000000000000000000000000000000081526001600160a01b0380861660048301526024820184905282166044820152606401610613565b50505050565b5f8281526001602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff169282019290925282916107345750604080518082019091525f546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b60208101515f9061271090610757906bffffffffffffffffffffffff1687611c88565b6107619190611c9f565b915196919550909350505050565b5f8281526008602052604090206001015461078981610b9d565b61068f8383610cb7565b6001600160a01b03811633146107d5576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6107df8282610d80565b505050565b60607f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661081081610b9d565b600b547f0000000000000000000000000000000000000000000000000000000000000e6a61083e8583611cd7565b11156108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f45786365656473206d617820737570706c7900000000000000000000000000006044820152606401610613565b5f5b848110156108cb576108c3866108be8385611cd7565b610e23565b6001016108a8565b5083600b5f8282546108dd9190611cd7565b909155506108ed90508185610eb6565b9250505b5092915050565b6107df83838360405180602001604052805f815250610a5d565b5f61091c81610b9d565b6001600160a01b03821661098c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f43616e27742073657420746f207a65726f2061646472657373000000000000006044820152606401610613565b50600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b5f6104c482610baa565b5f6001600160a01b038216610a14576040517f89c62b640000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b506001600160a01b03165f9081526005602052604090205490565b5f610a3981610b9d565b6107df8383610f36565b60606003805461051e90611c0a565b6105d1338383611029565b610a688484846105d5565b61068f848484846110fe565b6060610a7f82610baa565b506009546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b039091169063c87b56dd906024015f60405180830381865afa158015610adf573d5f803e3d5ffd5b505050506040513d5f823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526104c49190810190611cea565b5f82815260086020526040902060010154610b3e81610b9d565b61068f8383610d80565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806104c457506104c4826112be565b610ba781336112c8565b50565b5f818152600460205260408120546001600160a01b0316806104c4576040517f7e27328900000000000000000000000000000000000000000000000000000000815260048101849052602401610613565b6107df8383836001611335565b600a545f906001600160a01b031615610ca457600a546040517f7d4c447b0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03868116602483015260448201869052848116606483015290911690637d4c447b906084015f604051808303815f87803b158015610c8d575f80fd5b505af1158015610c9f573d5f803e3d5ffd5b505050505b610caf848484611488565b949350505050565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff16610d79575f8381526008602090815260408083206001600160a01b0386168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610d313390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016104c4565b505f6104c4565b5f8281526008602090815260408083206001600160a01b038516845290915281205460ff1615610d79575f8381526008602090815260408083206001600160a01b038616808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016104c4565b6001600160a01b038216610e65576040517f64a0ae920000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b5f610e7183835f610c08565b90506001600160a01b038116156107df576040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b60608167ffffffffffffffff811115610ed157610ed1611a75565b604051908082528060200260200182016040528015610efa578160200160208202803683370190505b5090505f5b828110156108f157610f118185611cd7565b828281518110610f2357610f23611d5c565b6020908102919091010152600101610eff565b6127106bffffffffffffffffffffffff8216811015610f98576040517f6f483d090000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff8316600482015260248101829052604401610613565b6001600160a01b038316610fda576040517fb6d9900a0000000000000000000000000000000000000000000000000000000081525f6004820152602401610613565b50604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff909116602090920182905274010000000000000000000000000000000000000000909102175f55565b6001600160a01b038216611074576040517f5b08ba180000000000000000000000000000000000000000000000000000000081526001600160a01b0383166004820152602401610613565b6001600160a01b038381165f8181526007602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561068f576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0384169063150b7a0290611159903390889087908790600401611d89565b6020604051808303815f875af19250505080156111b1575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526111ae91810190611dc4565b60015b611231573d8080156111de576040519150601f19603f3d011682016040523d82523d5f602084013e6111e3565b606091505b5080515f03611229576040517f64a0ae920000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610613565b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167f150b7a0200000000000000000000000000000000000000000000000000000000146112b7576040517f64a0ae920000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610613565b5050505050565b5f6104c4826115b1565b5f8281526008602090815260408083206001600160a01b038516845290915290205460ff166105d1576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260248101839052604401610613565b808061134957506001600160a01b03821615155b15611441575f61135884610baa565b90506001600160a01b038316158015906113845750826001600160a01b0316816001600160a01b031614155b80156113b557506001600160a01b038082165f9081526007602090815260408083209387168352929052205460ff16155b156113f7576040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610613565b811561143f5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b50505f90815260066020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b5f828152600460205260408120546001600160a01b03908116908316156114b4576114b4818486611652565b6001600160a01b0381161561150d576114cf5f855f80611335565b6001600160a01b0381165f90815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190555b6001600160a01b0385161561153b576001600160a01b0385165f908152600560205260409020805460010190555b5f8481526004602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061164357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806104c457506104c4826116e8565b61165d83838361177e565b6107df576001600160a01b0383166116a4576040517f7e27328900000000000000000000000000000000000000000000000000000000815260048101829052602401610613565b6040517f177e802f0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101829052604401610613565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806104c457507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146104c4565b5f6001600160a01b03831615801590610caf5750826001600160a01b0316846001600160a01b031614806117d657506001600160a01b038085165f9081526007602090815260408083209387168352929052205460ff165b80610caf5750505f908152600660205260409020546001600160a01b03908116911614919050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ba7575f80fd5b5f6020828403121561183b575f80fd5b8135611846816117fe565b9392505050565b6001600160a01b0381168114610ba7575f80fd5b5f60208284031215611871575f80fd5b81356118468161184d565b5f5b8381101561189657818101518382015260200161187e565b50505f910152565b5f81518084526118b581602086016020860161187c565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081525f611846602083018461189e565b5f60208284031215611909575f80fd5b5035919050565b5f8060408385031215611921575f80fd5b823561192c8161184d565b946020939093013593505050565b5f805f6060848603121561194c575f80fd5b83356119578161184d565b925060208401356119678161184d565b929592945050506040919091013590565b5f8060408385031215611989575f80fd5b50508035926020909101359150565b5f80604083850312156119a9575f80fd5b8235915060208301356119bb8161184d565b809150509250929050565b602080825282518282018190525f9190848201906040850190845b818110156119fd578351835292840192918401916001016119e1565b50909695505050505050565b5f8060408385031215611a1a575f80fd5b8235611a258161184d565b915060208301356bffffffffffffffffffffffff811681146119bb575f80fd5b5f8060408385031215611a56575f80fd5b8235611a618161184d565b9150602083013580151581146119bb575f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611ae957611ae9611a75565b604052919050565b5f67ffffffffffffffff821115611b0a57611b0a611a75565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b5f805f8060808587031215611b49575f80fd5b8435611b548161184d565b93506020850135611b648161184d565b925060408501359150606085013567ffffffffffffffff811115611b86575f80fd5b8501601f81018713611b96575f80fd5b8035611ba9611ba482611af1565b611aa2565b818152886020838501011115611bbd575f80fd5b816020840160208301375f6020838301015280935050505092959194509250565b5f8060408385031215611bef575f80fd5b8235611bfa8161184d565b915060208301356119bb8161184d565b600181811c90821680611c1e57607f821691505b602082108103611c55577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b80820281158282048414176104c4576104c4611c5b565b5f82611cd2577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b808201808211156104c4576104c4611c5b565b5f60208284031215611cfa575f80fd5b815167ffffffffffffffff811115611d10575f80fd5b8201601f81018413611d20575f80fd5b8051611d2e611ba482611af1565b818152856020838501011115611d42575f80fd5b611d5382602083016020860161187c565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6001600160a01b03808716835280861660208401525083604083015260806060830152611dba608083018461189e565b9695505050505050565b5f60208284031215611dd4575f80fd5b8151611846816117fe56fea2646970667358221220db8bddc8e60ac065a5d9b6717b58b221a81e6499ea4440e77ee16b015f938e4c64736f6c63430008170033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000618fd347e5f67dffa5dd7011b517c1e9c9e9fc3900000000000000000000000066aac71209f9654bb56f4092b84937a2dcdf27d3

-----Decoded View---------------
Arg [0] : admin (address): 0x618Fd347E5f67dfFA5dd7011B517c1e9C9e9fc39
Arg [1] : treasury (address): 0x66aac71209F9654Bb56F4092B84937a2DCDF27d3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000618fd347e5f67dffa5dd7011b517c1e9c9e9fc39
Arg [1] : 00000000000000000000000066aac71209f9654bb56f4092b84937a2dcdf27d3


Deployed Bytecode Sourcemap

71744:2489:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72937:208;;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;72937:208:0;;;;;;;;73536:142;;;;;;:::i;:::-;;:::i;:::-;;38151:91;;;:::i;:::-;;;;;;;:::i;39323:158::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2283:55:1;;;2265:74;;2253:2;2238:18;39323:158:0;2119:226:1;39142:115:0;;;;;;:::i;:::-;;:::i;72653:93::-;72726:12;;72653:93;;;2837:25:1;;;2825:2;2810:18;72653:93:0;2691:177:1;39992:588:0;;;;;;:::i;:::-;;:::i;67863:122::-;;;;;;:::i;:::-;67928:7;67955:12;;;:6;:12;;;;;:22;;;;67863:122;57019:429;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4188:55:1;;;4170:74;;4275:2;4260:18;;4253:34;;;;4143:18;57019:429:0;3996:297:1;68295:138:0;;;;;;:::i;:::-;;:::i;69432:251::-;;;;;;:::i;:::-;;:::i;72225:420::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40651:134::-;;;;;;:::i;:::-;;:::i;73321:207::-;;;;;;:::i;:::-;;:::i;37964:120::-;;;;;;:::i;:::-;;:::i;37689:213::-;;;;;;:::i;:::-;;:::i;71935:30::-;;;;;-1:-1:-1;;;;;71935:30:0;;;73153:160;;;;;;:::i;:::-;;:::i;66879:138::-;;;;;;:::i;:::-;66956:4;66980:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;66980:29:0;;;;;;;;;;;;;;;66879:138;38311:95;;;:::i;66191:49::-;;66236:4;66191:49;;39553:146;;;;;;:::i;:::-;;:::i;71972:40::-;;;;;-1:-1:-1;;;;;71972:40:0;;;40856:211;;;;;;:::i;:::-;;:::i;72754:175::-;;;;;;:::i;:::-;;:::i;71814:62::-;;71852:24;71814:62;;68726:140;;;;;;:::i;:::-;;:::i;71885:41::-;;;;;39770:155;;;;;;:::i;:::-;-1:-1:-1;;;;;39882:25:0;;;39858:4;39882:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39770:155;72937:208;73077:4;73101:36;73125:11;73101:23;:36::i;:::-;73094:43;72937:208;-1:-1:-1;;72937:208:0:o;73536:142::-;66236:4;66475:16;66236:4;66475:10;:16::i;:::-;-1:-1:-1;73646:13:0::1;:24:::0;;;::::1;-1:-1:-1::0;;;;;73646:24:0;;;::::1;::::0;;;::::1;::::0;;73536:142::o;38151:91::-;38196:13;38229:5;38222:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38151:91;:::o;39323:158::-;39390:7;39410:22;39424:7;39410:13;:22::i;:::-;-1:-1:-1;41900:7:0;41927:24;;;:15;:24;;;;;;-1:-1:-1;;;;;41927:24:0;39452:21;41830:129;39142:115;39214:35;39223:2;39227:7;8287:10;39214:8;:35::i;:::-;39142:115;;:::o;39992:588::-;-1:-1:-1;;;;;40087:16:0;;40083:89;;40127:33;;;;;40157:1;40127:33;;;2265:74:1;2238:18;;40127:33:0;;;;;;;;40083:89;40393:21;40417:34;40425:2;40429:7;8287:10;40417:7;:34::i;:::-;40393:58;;40483:4;-1:-1:-1;;;;;40466:21:0;:13;-1:-1:-1;;;;;40466:21:0;;40462:111;;40511:50;;;;;-1:-1:-1;;;;;10260:15:1;;;40511:50:0;;;10242:34:1;10292:18;;;10285:34;;;10355:15;;10335:18;;;10328:43;10154:18;;40511:50:0;9979:398:1;40462:111:0;40072:508;39992:588;;;:::o;57019:429::-;57105:7;57163:26;;;:17;:26;;;;;;;;57134:55;;;;;;;;;-1:-1:-1;;;;;57134:55:0;;;;;;;;;;;;;;;;;;57105:7;;57202:92;;-1:-1:-1;57253:29:0;;;;;;;;;-1:-1:-1;57253:29:0;-1:-1:-1;;;;;57253:29:0;;;;;;;;;;;;;57202:92;57343:23;;;;57306:21;;57814:5;;57331:35;;57330:57;57331:35;:9;:35;:::i;:::-;57330:57;;;;:::i;:::-;57408:16;;;;;-1:-1:-1;57019:429:0;;-1:-1:-1;;;;57019:429:0:o;68295:138::-;67928:7;67955:12;;;:6;:12;;;;;:22;;;66475:16;66486:4;66475:10;:16::i;:::-;68400:25:::1;68411:4;68417:7;68400:10;:25::i;69432:251::-:0;-1:-1:-1;;;;;69526:34:0;;8287:10;69526:34;69522:104;;69584:30;;;;;;;;;;;;;;69522:104;69638:37;69650:4;69656:18;69638:11;:37::i;:::-;;69432:251;;:::o;72225:420::-;72309:16;71852:24;66475:16;66486:4;66475:10;:16::i;:::-;72361:12:::1;::::0;72419:9:::1;72392:23;72407:8:::0;72361:12;72392:23:::1;:::i;:::-;:36;;72384:67;;;::::0;::::1;::::0;;11355:2:1;72384:67:0::1;::::0;::::1;11337:21:1::0;11394:2;11374:18;;;11367:30;11433:20;11413:18;;;11406:48;11471:18;;72384:67:0::1;11153:342:1::0;72384:67:0::1;72469:9;72464:89;72484:8;72480:1;:12;72464:89;;;72514:27;72520:2:::0;72524:16:::1;72539:1:::0;72524:12;:16:::1;:::i;:::-;72514:5;:27::i;:::-;72494:3;;72464:89;;;;72579:8;72563:12;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;72607:30:0::1;::::0;-1:-1:-1;72614:12:0;72628:8;72607:6:::1;:30::i;:::-;72600:37;;;66502:1;72225:420:::0;;;;;:::o;40651:134::-;40738:39;40755:4;40761:2;40765:7;40738:39;;;;;;;;;;;;:16;:39::i;73321:207::-;66236:4;66475:16;66236:4;66475:10;:16::i;:::-;-1:-1:-1;;;;;73425:32:0;::::1;73417:70;;;::::0;::::1;::::0;;11702:2:1;73417:70:0::1;::::0;::::1;11684:21:1::0;11741:2;11721:18;;;11714:30;11780:27;11760:18;;;11753:55;11825:18;;73417:70:0::1;11500:349:1::0;73417:70:0::1;-1:-1:-1::0;73500:8:0::1;:20:::0;;;::::1;-1:-1:-1::0;;;;;73500:20:0;;;::::1;::::0;;;::::1;::::0;;73321:207::o;37964:120::-;38027:7;38054:22;38068:7;38054:13;:22::i;37689:213::-;37752:7;-1:-1:-1;;;;;37776:19:0;;37772:89;;37819:30;;;;;37846:1;37819:30;;;2265:74:1;2238:18;;37819:30:0;2119:226:1;37772:89:0;-1:-1:-1;;;;;;37878:16:0;;;;;:9;:16;;;;;;;37689:213::o;73153:160::-;66236:4;66475:16;66236:4;66475:10;:16::i;:::-;73262:43:::1;73281:9;73292:12;73262:18;:43::i;38311:95::-:0;38358:13;38391:7;38384:14;;;;;:::i;39553:146::-;39639:52;8287:10;39672:8;39682;39639:18;:52::i;40856:211::-;40970:31;40983:4;40989:2;40993:7;40970:12;:31::i;:::-;41012:47;41035:4;41041:2;41045:7;41054:4;41012:22;:47::i;72754:175::-;72827:13;72853:22;72867:7;72853:13;:22::i;:::-;-1:-1:-1;72895:8:0;;:26;;;;;;;;2837:25:1;;;-1:-1:-1;;;;;72895:8:0;;;;:17;;2810:18:1;;72895:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;68726:140::-;67928:7;67955:12;;;:6;:12;;;;;:22;;;66475:16;66486:4;66475:10;:16::i;:::-;68832:26:::1;68844:4;68850:7;68832:11;:26::i;66583:204::-:0;66668:4;66692:47;;;66707:32;66692:47;;:87;;;66743:36;66767:11;66743:23;:36::i;67232:105::-;67299:30;67310:4;8287:10;67299;:30::i;:::-;67232:105;:::o;52300:247::-;52363:7;41685:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41685:16:0;;52427:90;;52474:31;;;;;;;;2837:25:1;;;2810:18;;52474:31:0;2691:177:1;50532:122:0;50613:33;50622:2;50626:7;50635:4;50641;50613:8;:33::i;73686:303::-;73813:13;;73781:7;;-1:-1:-1;;;;;73813:13:0;73805:36;73801:129;;73858:13;;:60;;;;;73893:4;73858:60;;;12799:34:1;-1:-1:-1;;;;;12869:15:1;;;12849:18;;;12842:43;12901:18;;;12894:34;;;12964:15;;;12944:18;;;12937:43;73858:13:0;;;;:26;;12710:19:1;;73858:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73801:129;73949:32;73963:2;73967:7;73976:4;73949:13;:32::i;:::-;73942:39;73686:303;-1:-1:-1;;;;73686:303:0:o;70309:324::-;70386:4;66980:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;66980:29:0;;;;;;;;;;;;70403:223;;70447:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;70447:29:0;;;;;;;;;:36;;;;70479:4;70447:36;;;70530:12;8287:10;;8207:98;70530:12;-1:-1:-1;;;;;70503:40:0;70521:7;-1:-1:-1;;;;;70503:40:0;70515:4;70503:40;;;;;;;;;;-1:-1:-1;70565:4:0;70558:11;;70403:223;-1:-1:-1;70609:5:0;70602:12;;70877:325;70955:4;66980:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;66980:29:0;;;;;;;;;;;;70972:223;;;71047:5;71015:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;71015:29:0;;;;;;;;;;:37;;;;;;71072:40;8287:10;;71015:12;;71072:40;;71047:5;71072:40;-1:-1:-1;71134:4:0;71127:11;;45952:335;-1:-1:-1;;;;;46020:16:0;;46016:89;;46060:33;;;;;46090:1;46060:33;;;2265:74:1;2238:18;;46060:33:0;2119:226:1;46016:89:0;46115:21;46139:32;46147:2;46151:7;46168:1;46139:7;:32::i;:::-;46115:56;-1:-1:-1;;;;;;46186:27:0;;;46182:98;;46237:31;;;;;46265:1;46237:31;;;2265:74:1;2238:18;;46237:31:0;2119:226:1;73997:233:0;74066:23;74125:6;74111:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74111:21:0;;74102:30;;74148:9;74143:80;74163:6;74159:1;:10;74143:80;;;74203:8;74210:1;74203:4;:8;:::i;:::-;74191:6;74198:1;74191:9;;;;;;;;:::i;:::-;;;;;;;;;;:20;74171:3;;74143:80;;58098:518;57814:5;58193:39;58247:26;;;-1:-1:-1;58243:176:0;;;58352:55;;;;;13383:26:1;13371:39;;58352:55:0;;;13353:58:1;13427:18;;;13420:34;;;13326:18;;58352:55:0;13180:280:1;58243:176:0;-1:-1:-1;;;;;58433:22:0;;58429:110;;58479:48;;;;;58524:1;58479:48;;;2265:74:1;2238:18;;58479:48:0;2119:226:1;58429:110:0;-1:-1:-1;58573:35:0;;;;;;;;;-1:-1:-1;;;;;58573:35:0;;;;;;;;;;;;;;;;;58551:57;;;;;-1:-1:-1;58551:57:0;58098:518::o;51739:318::-;-1:-1:-1;;;;;51847:22:0;;51843:93;;51893:31;;;;;-1:-1:-1;;;;;2283:55:1;;51893:31:0;;;2265:74:1;2238:18;;51893:31:0;2119:226:1;51843:93:0;-1:-1:-1;;;;;51946:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;52008:41;;586::1;;;52008::0;;559:18:1;52008:41:0;;;;;;;51739:318;;;:::o;53097:799::-;-1:-1:-1;;;;;53214:14:0;;;:18;53210:679;;53253:71;;;;;-1:-1:-1;;;;;53253:36:0;;;;;:71;;8287:10;;53304:4;;53310:7;;53319:4;;53253:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53253:71:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;53249:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53567:6;:13;53584:1;53567:18;53563:300;;53617:25;;;;;-1:-1:-1;;;;;2283:55:1;;53617:25:0;;;2265:74:1;2238:18;;53617:25:0;2119:226:1;53563:300:0;53813:6;53807:13;53798:6;53794:2;53790:15;53783:38;53249:629;53372:51;;;53382:41;53372:51;53368:132;;53455:25;;;;;-1:-1:-1;;;;;2283:55:1;;53455:25:0;;;2265:74:1;2238:18;;53455:25:0;2119:226:1;53368:132:0;53325:190;53097:799;;;;:::o;60695:170::-;60797:4;60821:36;60845:11;60821:23;:36::i;67473:201::-;66956:4;66980:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;66980:29:0;;;;;;;;;;;;67557:110;;67608:47;;;;;-1:-1:-1;;;;;4188:55:1;;67608:47:0;;;4170:74:1;4260:18;;;4253:34;;;4143:18;;67608:47:0;3996:297:1;50842:678:0;51004:9;:31;;;-1:-1:-1;;;;;;51017:18:0;;;;51004:31;51000:471;;;51052:13;51068:22;51082:7;51068:13;:22::i;:::-;51052:38;-1:-1:-1;;;;;;51221:18:0;;;;;;:35;;;51252:4;-1:-1:-1;;;;;51243:13:0;:5;-1:-1:-1;;;;;51243:13:0;;;51221:35;:69;;;;-1:-1:-1;;;;;;39882:25:0;;;39858:4;39882:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;51260:30;51221:69;51217:144;;;51318:27;;;;;-1:-1:-1;;;;;2283:55:1;;51318:27:0;;;2265:74:1;2238:18;;51318:27:0;2119:226:1;51217:144:0;51381:9;51377:83;;;51436:7;51432:2;-1:-1:-1;;;;;51416:28:0;51425:5;-1:-1:-1;;;;;51416:28:0;;;;;;;;;;;51377:83;51037:434;51000:471;-1:-1:-1;;51483:24:0;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;51483:29:0;;;;;;;;;;50842:678::o;44792:824::-;44878:7;41685:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41685:16:0;;;;44993:18;;;44989:88;;45028:37;45045:4;45051;45057:7;45028:16;:37::i;:::-;-1:-1:-1;;;;;45124:18:0;;;45120:263;;45242:48;45259:1;45263:7;45280:1;45284:5;45242:8;:48::i;:::-;-1:-1:-1;;;;;45336:15:0;;;;;;:9;:15;;;;;:20;;;;;;45120:263;-1:-1:-1;;;;;45399:16:0;;;45395:111;;-1:-1:-1;;;;;45461:13:0;;;;;;:9;:13;;;;;:18;;45478:1;45461:18;;;45395:111;45518:16;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;45518:21:0;;;;;;;;;45557:27;;45518:16;;45557:27;;;;;;;45604:4;44792:824;-1:-1:-1;;;;44792:824:0:o;37320:305::-;37422:4;37459:40;;;37474:25;37459:40;;:105;;-1:-1:-1;37516:48:0;;;37531:33;37516:48;37459:105;:158;;;;37581:36;37605:11;37581:23;:36::i;42999:376::-;43112:38;43126:5;43133:7;43142;43112:13;:38::i;:::-;43107:261;;-1:-1:-1;;;;;43171:19:0;;43167:190;;43218:31;;;;;;;;2837:25:1;;;2810:18;;43218:31:0;2691:177:1;43167:190:0;43297:44;;;;;-1:-1:-1;;;;;4188:55:1;;43297:44:0;;;4170:74:1;4260:18;;;4253:34;;;4143:18;;43297:44:0;3996:297:1;56749:215:0;56851:4;56875:41;;;56890:26;56875:41;;:81;;-1:-1:-1;29572:25:0;29557:40;;;;56920:36;29457:148;42279:276;42382:4;-1:-1:-1;;;;;42419:21:0;;;;;;:128;;;42467:7;-1:-1:-1;;;;;42458:16:0;:5;-1:-1:-1;;;;;42458:16:0;;:52;;;-1:-1:-1;;;;;;39882:25:0;;;39858:4;39882:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;42478:32;42458:88;;;-1:-1:-1;;41900:7:0;41927:24;;;:15;:24;;;;;;-1:-1:-1;;;;;41927:24:0;;;42514:32;;;;;-1:-1:-1;42279:276:0:o;14:177:1:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;:::-;430:5;196:245;-1:-1:-1;;;196:245:1:o;638:175::-;-1:-1:-1;;;;;738:5:1;734:54;727:5;724:65;714:93;;803:1;800;793:12;818:296;905:6;958:2;946:9;937:7;933:23;929:32;926:52;;;974:1;971;964:12;926:52;1013:9;1000:23;1032:52;1078:5;1032:52;:::i;1119:250::-;1204:1;1214:113;1228:6;1225:1;1222:13;1214:113;;;1304:11;;;1298:18;1285:11;;;1278:39;1250:2;1243:10;1214:113;;;-1:-1:-1;;1361:1:1;1343:16;;1336:27;1119:250::o;1374:330::-;1416:3;1454:5;1448:12;1481:6;1476:3;1469:19;1497:76;1566:6;1559:4;1554:3;1550:14;1543:4;1536:5;1532:16;1497:76;:::i;:::-;1618:2;1606:15;1623:66;1602:88;1593:98;;;;1693:4;1589:109;;1374:330;-1:-1:-1;;1374:330:1:o;1709:220::-;1858:2;1847:9;1840:21;1821:4;1878:45;1919:2;1908:9;1904:18;1896:6;1878:45;:::i;1934:180::-;1993:6;2046:2;2034:9;2025:7;2021:23;2017:32;2014:52;;;2062:1;2059;2052:12;2014:52;-1:-1:-1;2085:23:1;;1934:180;-1:-1:-1;1934:180:1:o;2350:336::-;2418:6;2426;2479:2;2467:9;2458:7;2454:23;2450:32;2447:52;;;2495:1;2492;2485:12;2447:52;2534:9;2521:23;2553:52;2599:5;2553:52;:::i;:::-;2624:5;2676:2;2661:18;;;;2648:32;;-1:-1:-1;;;2350:336:1:o;2873:498::-;2950:6;2958;2966;3019:2;3007:9;2998:7;2994:23;2990:32;2987:52;;;3035:1;3032;3025:12;2987:52;3074:9;3061:23;3093:52;3139:5;3093:52;:::i;:::-;3164:5;-1:-1:-1;3221:2:1;3206:18;;3193:32;3234:54;3193:32;3234:54;:::i;:::-;2873:498;;3307:7;;-1:-1:-1;;;3361:2:1;3346:18;;;;3333:32;;2873:498::o;3743:248::-;3811:6;3819;3872:2;3860:9;3851:7;3847:23;3843:32;3840:52;;;3888:1;3885;3878:12;3840:52;-1:-1:-1;;3911:23:1;;;3981:2;3966:18;;;3953:32;;-1:-1:-1;3743:248:1:o;4298:336::-;4366:6;4374;4427:2;4415:9;4406:7;4402:23;4398:32;4395:52;;;4443:1;4440;4433:12;4395:52;4479:9;4466:23;4456:33;;4539:2;4528:9;4524:18;4511:32;4552:52;4598:5;4552:52;:::i;:::-;4623:5;4613:15;;;4298:336;;;;;:::o;4639:632::-;4810:2;4862:21;;;4932:13;;4835:18;;;4954:22;;;4781:4;;4810:2;5033:15;;;;5007:2;4992:18;;;4781:4;5076:169;5090:6;5087:1;5084:13;5076:169;;;5151:13;;5139:26;;5220:15;;;;5185:12;;;;5112:1;5105:9;5076:169;;;-1:-1:-1;5262:3:1;;4639:632;-1:-1:-1;;;;;;4639:632:1:o;6099:456::-;6166:6;6174;6227:2;6215:9;6206:7;6202:23;6198:32;6195:52;;;6243:1;6240;6233:12;6195:52;6282:9;6269:23;6301:52;6347:5;6301:52;:::i;:::-;6372:5;-1:-1:-1;6429:2:1;6414:18;;6401:32;6477:26;6464:40;;6452:53;;6442:81;;6519:1;6516;6509:12;6560:437;6625:6;6633;6686:2;6674:9;6665:7;6661:23;6657:32;6654:52;;;6702:1;6699;6692:12;6654:52;6741:9;6728:23;6760:52;6806:5;6760:52;:::i;:::-;6831:5;-1:-1:-1;6888:2:1;6873:18;;6860:32;6930:15;;6923:23;6911:36;;6901:64;;6961:1;6958;6951:12;7261:184;7313:77;7310:1;7303:88;7410:4;7407:1;7400:15;7434:4;7431:1;7424:15;7450:334;7521:2;7515:9;7577:2;7567:13;;7582:66;7563:86;7551:99;;7680:18;7665:34;;7701:22;;;7662:62;7659:88;;;7727:18;;:::i;:::-;7763:2;7756:22;7450:334;;-1:-1:-1;7450:334:1:o;7789:245::-;7837:4;7870:18;7862:6;7859:30;7856:56;;;7892:18;;:::i;:::-;-1:-1:-1;7949:2:1;7937:15;7954:66;7933:88;8023:4;7929:99;;7789:245::o;8039:1058::-;8134:6;8142;8150;8158;8211:3;8199:9;8190:7;8186:23;8182:33;8179:53;;;8228:1;8225;8218:12;8179:53;8267:9;8254:23;8286:52;8332:5;8286:52;:::i;:::-;8357:5;-1:-1:-1;8414:2:1;8399:18;;8386:32;8427:54;8386:32;8427:54;:::i;:::-;8500:7;-1:-1:-1;8554:2:1;8539:18;;8526:32;;-1:-1:-1;8609:2:1;8594:18;;8581:32;8636:18;8625:30;;8622:50;;;8668:1;8665;8658:12;8622:50;8691:22;;8744:4;8736:13;;8732:27;-1:-1:-1;8722:55:1;;8773:1;8770;8763:12;8722:55;8809:2;8796:16;8834:48;8850:31;8878:2;8850:31;:::i;:::-;8834:48;:::i;:::-;8905:2;8898:5;8891:17;8945:7;8940:2;8935;8931;8927:11;8923:20;8920:33;8917:53;;;8966:1;8963;8956:12;8917:53;9021:2;9016;9012;9008:11;9003:2;8996:5;8992:14;8979:45;9065:1;9060:2;9055;9048:5;9044:14;9040:23;9033:34;9086:5;9076:15;;;;;8039:1058;;;;;;;:::o;9102:430::-;9170:6;9178;9231:2;9219:9;9210:7;9206:23;9202:32;9199:52;;;9247:1;9244;9237:12;9199:52;9286:9;9273:23;9305:52;9351:5;9305:52;:::i;:::-;9376:5;-1:-1:-1;9433:2:1;9418:18;;9405:32;9446:54;9405:32;9446:54;:::i;9537:437::-;9616:1;9612:12;;;;9659;;;9680:61;;9734:4;9726:6;9722:17;9712:27;;9680:61;9787:2;9779:6;9776:14;9756:18;9753:38;9750:218;;9824:77;9821:1;9814:88;9925:4;9922:1;9915:15;9953:4;9950:1;9943:15;9750:218;;9537:437;;;:::o;10382:184::-;10434:77;10431:1;10424:88;10531:4;10528:1;10521:15;10555:4;10552:1;10545:15;10571:168;10644:9;;;10675;;10692:15;;;10686:22;;10672:37;10662:71;;10713:18;;:::i;10744:274::-;10784:1;10810;10800:189;;10845:77;10842:1;10835:88;10946:4;10943:1;10936:15;10974:4;10971:1;10964:15;10800:189;-1:-1:-1;11003:9:1;;10744:274::o;11023:125::-;11088:9;;;11109:10;;;11106:36;;;11122:18;;:::i;11854:648::-;11934:6;11987:2;11975:9;11966:7;11962:23;11958:32;11955:52;;;12003:1;12000;11993:12;11955:52;12036:9;12030:16;12069:18;12061:6;12058:30;12055:50;;;12101:1;12098;12091:12;12055:50;12124:22;;12177:4;12169:13;;12165:27;-1:-1:-1;12155:55:1;;12206:1;12203;12196:12;12155:55;12235:2;12229:9;12260:48;12276:31;12304:2;12276:31;:::i;12260:48::-;12331:2;12324:5;12317:17;12371:7;12366:2;12361;12357;12353:11;12349:20;12346:33;12343:53;;;12392:1;12389;12382:12;12343:53;12405:67;12469:2;12464;12457:5;12453:14;12448:2;12444;12440:11;12405:67;:::i;:::-;12491:5;11854:648;-1:-1:-1;;;;;11854:648:1:o;12991:184::-;13043:77;13040:1;13033:88;13140:4;13137:1;13130:15;13164:4;13161:1;13154:15;13465:512;13659:4;-1:-1:-1;;;;;13769:2:1;13761:6;13757:15;13746:9;13739:34;13821:2;13813:6;13809:15;13804:2;13793:9;13789:18;13782:43;;13861:6;13856:2;13845:9;13841:18;13834:34;13904:3;13899:2;13888:9;13884:18;13877:31;13925:46;13966:3;13955:9;13951:19;13943:6;13925:46;:::i;:::-;13917:54;13465:512;-1:-1:-1;;;;;;13465:512:1:o;13982:249::-;14051:6;14104:2;14092:9;14083:7;14079:23;14075:32;14072:52;;;14120:1;14117;14110:12;14072:52;14152:9;14146:16;14171:30;14195:5;14171:30;:::i

Swarm Source

ipfs://db8bddc8e60ac065a5d9b6717b58b221a81e6499ea4440e77ee16b015f938e4c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.