ETH Price: $2,484.62 (+3.36%)
 

Overview

TokenID

654

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
JinkoNFT

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-11-14
*/

// File: @openzeppelin/contracts/utils/math/SignedMath.sol

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

pragma solidity ^0.8.20;

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

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

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

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

// File: @openzeppelin/contracts/utils/math/Math.sol

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

pragma solidity ^0.8.20;

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol

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

pragma solidity ^0.8.20;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: @openzeppelin/contracts/utils/Context.sol

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

pragma solidity ^0.8.20;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.20;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

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

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol

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

pragma solidity ^0.8.20;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

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

pragma solidity ^0.8.20;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
     *   {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

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

pragma solidity ^0.8.20;

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

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

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

// File: extensions/ERC721Metadata.sol

pragma solidity ^0.8.0;

/**
 * @title ERC721B Burnable Token
 * @dev ERC721B Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Metadata is IERC721Metadata {
  string private _name;
  string private _symbol;

  /**
   * @dev Sets the name, symbol
   */
  constructor(string memory name_, string memory symbol_) {
    _name = name_;
    _symbol = symbol_;
  }

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

// File: ERC721B.sol

pragma solidity ^0.8.0;

error InvalidCall();
error BalanceQueryZeroAddress();
error NonExistentToken();
error ApprovalToCurrentOwner();
error ApprovalOwnerIsOperator();
error NotERC721Receiver();
error ERC721ReceiverNotReceived();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] 
 * Non-Fungible Token Standard, including the Metadata extension and 
 * token Auto-ID generation.
 *
 * You must provide `name()` `symbol()` and `tokenURI(uint256 tokenId)`
 * to conform with IERC721Metadata
 */
abstract contract ERC721B is Context, ERC165, IERC721 {

  // ============ Storage ============

  // Total NFT quantity mintable
  uint256 private _maxSupply;
  // The last token id minted
  uint256 private _lastTokenId;
  // Mapping from token ID to owner address
  mapping(uint256 => address) internal _owners;
  // Mapping owner address to token count
  mapping(address => uint256) internal _balances;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;
  // Mapping from owner to operator approvals
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  // ============ Read Methods ============

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) 
    public view virtual override returns(uint256) 
  {
    if (owner == address(0)) revert BalanceQueryZeroAddress();
    return _balances[owner];
  }

  function totalSupply() public view virtual returns(uint256) {
    return _maxSupply;
  }

  /**
   * @dev Shows the overall amount of tokens generated in the contract
   */
  function totalCirculatingSupply() public view virtual returns(uint256) {
    return _lastTokenId;
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) 
    public view virtual override returns(address) 
  {
    unchecked {
      //this is the situation when _owners normalized
      uint256 id = tokenId;
      if (_owners[id] != address(0)) {
        return _owners[id];
      }
      //this is the situation when _owners is not normalized
      if (id > 0 && id <= _lastTokenId) {
        //there will never be a case where token 1 is address(0)
        while(true) {
          id--;
          if (id == 0) {
            break;
          } else if (_owners[id] != address(0)) {
            return _owners[id];
          }
        }
      }
    }

    revert NonExistentToken();
  }

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

  // ============ Approval Methods ============

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public virtual override {
    address owner = ERC721B.ownerOf(tokenId);
    if (to == owner) revert ApprovalToCurrentOwner();

    address sender = _msgSender();
    if (sender != owner && !isApprovedForAll(owner, sender)) 
      revert ApprovalToCurrentOwner();

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) 
    public view virtual override returns(address) 
  {
    if (!_exists(tokenId)) revert NonExistentToken();
    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-isApprovedForAll}.
   */
  function isApprovedForAll(address owner, address operator) 
    public view virtual override returns (bool) 
  {
    return _operatorApprovals[owner][operator];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) 
    public virtual override 
  {
    _setApprovalForAll(_msgSender(), operator, approved);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(address to, uint256 tokenId, address owner) 
    internal virtual 
  {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  /**
   * @dev transfers token considering approvals
   */
  function _approveTransfer(
    address spender, 
    address from, 
    address to, 
    uint256 tokenId
  ) internal virtual {
    if (!_isApprovedOrOwner(spender, tokenId, from)) 
      revert InvalidCall();

    _transfer(from, to, tokenId);
  }

  /**
   * @dev Safely transfers token considering approvals
   */
  function _approveSafeTransfer(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal virtual {
    _approveTransfer(_msgSender(), from, to, tokenId);
    //see: @openzep/utils/Address.sol
    if (to.code.length > 0
      && !_checkOnERC721Received(from, to, tokenId, _data)
    ) revert ERC721ReceiverNotReceived();
  }

  /**
   * @dev Returns whether `spender` is allowed to manage `tokenId`.
   *
   * Requirements:
   *
   * - `tokenId` must exist.
   */
  function _isApprovedOrOwner(
    address spender, 
    uint256 tokenId, 
    address owner
  ) internal view virtual returns(bool) {
    return spender == owner 
      || getApproved(tokenId) == spender 
      || isApprovedForAll(owner, spender);
  }

  /**
   * @dev Approve `operator` to operate on all of `owner` tokens
   *
   * Emits a {ApprovalForAll} event.
   */
  function _setApprovalForAll(
    address owner,
    address operator,
    bool approved
  ) internal virtual {
    if (owner == operator) revert ApprovalOwnerIsOperator();
    _operatorApprovals[owner][operator] = approved;
    emit ApprovalForAll(owner, operator, approved);
  }

  function _setMaxSupply(uint256 supply) internal {
    _maxSupply = supply;
  }

  // ============ Mint Methods ============

  /**
   * @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 amount,
    bytes memory _data,
    bool safeCheck
  ) private {
    if(amount == 0 || to == address(0)) revert InvalidCall();
    require(_lastTokenId + amount <= _maxSupply, "max supply exceed");
    uint256 startTokenId = _lastTokenId + 1;
    
    _beforeTokenTransfers(address(0), to, startTokenId, amount);
    
    unchecked {
      _lastTokenId += amount;
      _balances[to] += amount;
      _owners[startTokenId] = to;

      _afterTokenTransfers(address(0), to, startTokenId, amount);

      uint256 updatedIndex = startTokenId;
      uint256 endIndex = updatedIndex + amount;
      //if do safe check and,
      //check if contract one time (instead of loop)
      //see: @openzep/utils/Address.sol
      if (safeCheck && to.code.length > 0) {
        //loop emit transfer and received check
        do {
          emit Transfer(address(0), to, updatedIndex);
          if (!_checkOnERC721Received(address(0), to, updatedIndex++, _data))
            revert ERC721ReceiverNotReceived();
        } while (updatedIndex != endIndex);
        return;
      }

      do {
        emit Transfer(address(0), to, updatedIndex++);
      } while (updatedIndex != endIndex);
    }
  }

  /**
   * @dev Safely mints `tokenId` and transfers it to `to`.
   *
   * Requirements:
   *
   * - `tokenId` must not exist.
   * - If `to` refers to a smart contract, it must implement 
   *   {IERC721Receiver-onERC721Received}, which is called upon a 
   *   safe transfer.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(address to, uint256 amount) internal virtual {
    _safeMint(to, amount, "");
  }

  /**
   * @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 amount,
    bytes memory _data
  ) internal virtual {
    _mint(to, amount, _data, true);
  }

  // ============ Transfer Methods ============

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    _approveTransfer(_msgSender(), from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public virtual override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public virtual override {
    _approveSafeTransfer(from, to, tokenId, _data);
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} 
   * on a target address. The call is not executed if the target address 
   * is not a contract.
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    try IERC721Receiver(to).onERC721Received(
      _msgSender(), from, tokenId, _data
    ) returns (bytes4 retval) {
      return retval == IERC721Receiver.onERC721Received.selector;
    } catch (bytes memory reason) {
      if (reason.length == 0) {
        revert NotERC721Receiver();
      } else {
        assembly {
          revert(add(32, reason), mload(reason))
        }
      }
    }
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via 
   * {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   * and stop existing when they are burned (`_burn`).
   */
  function _exists(uint256 tokenId) internal view virtual returns (bool) {
    return tokenId > 0 && tokenId <= _lastTokenId;
  }

  /**
   * @dev Safely transfers `tokenId` token from `from` to `to`, checking 
   * first that contract recipients are aware of the ERC721 protocol to 
   * prevent tokens from being forever locked.
   *
   * `_data` is additional data, it has no specified format and it is 
   * sent in call to `to`.
   *
   * This internal function is equivalent to {safeTransferFrom}, and can 
   * be used to e.g.
   * implement alternative mechanisms to perform token transfer, such as 
   * signature-based.
   *
   * Requirements:
   *
   * - `from` cannot be the zero address.
   * - `to` cannot be the zero address.
   * - `tokenId` token must exist and be owned by `from`.
   * - If `to` refers to a smart contract, it must implement 
   *   {IERC721Receiver-onERC721Received}, which is called upon a 
   *   safe transfer.
   *
   * Emits a {Transfer} event.
   */
  function _safeTransfer(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) internal virtual {
    _transfer(from, to, tokenId);
    //see: @openzep/utils/Address.sol
    if (to.code.length > 0
      && !_checkOnERC721Received(from, to, tokenId, _data)
    ) revert ERC721ReceiverNotReceived();
  }

  /**
   * @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) private {
    //if transfer to null or not the owner
    if (to == address(0) || from != ERC721B.ownerOf(tokenId)) 
      revert InvalidCall();

    _beforeTokenTransfers(from, to, tokenId, 1);
    
    // Clear approvals from the previous owner
    _approve(address(0), tokenId, from);

    unchecked {
      //this is the situation when _owners are normalized
      _balances[to] += 1;
      _balances[from] -= 1;
      _owners[tokenId] = to;
      //this is the situation when _owners are not normalized
      uint256 nextTokenId = tokenId + 1;
      if (nextTokenId <= _lastTokenId && _owners[nextTokenId] == address(0)) {
        _owners[nextTokenId] = from;
      }
    }

    _afterTokenTransfers(from, to, tokenId, 1);
    emit Transfer(from, to, tokenId);
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids 
   * are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * amount - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` 
   *   will be transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 amount
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids 
   * have been transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * amount - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 amount
  ) internal virtual {}
}

// File: extensions/ERC721BBaseTokenURI.sol

pragma solidity ^0.8.0;

/**
 * @dev ERC721B token where token URIs are determined with a base URI
 */
abstract contract ERC721BBaseTokenURI is ERC721B, IERC721Metadata {
  using Strings for uint256;
  string private _baseTokenURI;

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId) public view virtual returns(string memory) {
    if(!_exists(tokenId)) revert NonExistentToken();
    string memory baseURI = _baseTokenURI;
    return bytes(baseURI).length > 0 ? string(
      abi.encodePacked(baseURI, tokenId.toString(), ".json")
    ) : "";
  }
  
  /**
   * @dev The base URI for token data ex. https://creatures-api.opensea.io/api/creature/
   * Example Usage: 
   *  Strings.strConcat(baseTokenURI(), Strings.uint2str(tokenId))
   */
  function baseTokenURI() public view returns (string memory) {
    return _baseTokenURI;
  }

  /**
   * @dev Setting base token uri would be acceptable if using IPFS CIDs
   */
  function _setBaseURI(string memory uri) internal virtual {
    _baseTokenURI = uri;
  }
}

// File: presets/ERC721BPresetStandard.sol

pragma solidity ^0.8.0;

contract ERC721BPresetStandard is 
  Ownable(msg.sender), 
  ERC721Metadata, 
  ERC721BBaseTokenURI
{ 
  mapping(address => bool) public access_permission;

  modifier hasAccessPermission() {
    require(access_permission[msg.sender], "no access permission");
    _;
  }

  event SetHasAccessPermission(address _address, bool status);

  /**
   * @dev Sets the name, symbol
   */
  constructor(string memory name, string memory symbol) 
    ERC721Metadata(name, symbol) {
    access_permission[msg.sender] = true;
  }

  /**
   * @dev Allows owner to mint
   */
  function mint(address to, uint256 quantity) external hasAccessPermission {
    _safeMint(to, quantity);
  }

  function setAccessPermission(address _address, bool status) external onlyOwner {
    access_permission[_address] = status;
    emit SetHasAccessPermission(_address, status);
  }

  /**
   * @dev See {IERC165-supportsInterface}.
   */
  function supportsInterface(bytes4 interfaceId) 
    public view virtual override(ERC721B, IERC165) returns(bool) 
  {
    return interfaceId == type(IERC721Metadata).interfaceId
      || super.supportsInterface(interfaceId);
  }
}
// File: extensions/ERC721BContractURIStorage.sol

pragma solidity ^0.8.0;

/**
 * @dev ERC721B contract with a URI descriptor
 */
abstract contract ERC721BContractURIStorage is ERC721B {
  //immutable contract uri
  string private _contractURI;

  /**
   * @dev The URI for contract data ex. https://creatures-api.opensea.io/contract/opensea-creatures/contract.json
   * Example Format:
   * {
   *   "name": "OpenSea Creatures",
   *   "description": "OpenSea Creatures are adorable aquatic beings primarily for demonstrating what can be done using the OpenSea platform. Adopt one today to try out all the OpenSea buying, selling, and bidding feature set.",
   *   "image": "https://openseacreatures.io/image.png",
   *   "external_link": "https://openseacreatures.io",
   *   "seller_fee_basis_points": 100, # Indicates a 1% seller fee.
   *   "fee_recipient": "0xA97F337c39cccE66adfeCB2BF99C1DdC54C2D721" # Where seller fees will be paid to.
   * }
   */
  function contractURI() external view returns (string memory) {
    return _contractURI;
  }

  /**
   * @dev Sets contract uri
   */
  function _setContractURI(string memory uri) internal virtual {
    _contractURI = uri;
  }
}

// File: extensions/ERC721BStaticTokenURI.sol

pragma solidity ^0.8.0;

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721BStaticTokenURI is ERC721B, IERC721Metadata {
  // Optional mapping for token URIs
  mapping(uint256 => string) private _tokenURIs;

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId) public view virtual returns(string memory) {
    return staticTokenURI(tokenId);
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function staticTokenURI(uint256 tokenId) public view virtual returns(string memory) {
    if(!_exists(tokenId)) revert NonExistentToken();
    return _tokenURIs[tokenId];
  }

  /**
   * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
   *
   * Requirements:
   *
   * - `tokenId` must exist.
   */
  function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
    if(!_exists(tokenId)) revert NonExistentToken();
    _tokenURIs[tokenId] = _tokenURI;
  }
}

// File: extensions/ERC721BPausable.sol

pragma solidity ^0.8.0;

/**
 * @dev ERC721B token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721BPausable is Pausable, ERC721B {
  /**
   * @dev Hook that is called before a set of serially-ordered token ids 
   * are about to be transferred. This includes minting.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 amount
  ) internal virtual override {
    if (paused()) revert InvalidCall();
    super._beforeTokenTransfers(from, to, startTokenId, amount);
  }
}

// File: extensions/ERC721BBurnable.sol

pragma solidity ^0.8.0;

/**
 * @title ERC721B Burnable Token
 * @dev ERC721B Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721BBurnable is Context, ERC721B {

  // ============ Storage ============

  //mapping of token id to burned?
  mapping(uint256 => bool) private _burned;
  //count of how many burned
  uint256 private _totalBurned;

  // ============ Read Methods ============

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) 
    public view virtual override returns(address) 
  {
    if (_burned[tokenId]) revert NonExistentToken();
    return super.ownerOf(tokenId);
  }

  /**
   * @dev Shows the overall amount of tokens generated in the contract
   */
  function totalCirculatingSupply() public virtual view override returns(uint256) {
    return super.totalCirculatingSupply() - _totalBurned;
  }

  // ============ Write Methods ============

  /**
   * @dev Burns `tokenId`. See {ERC721B-_burn}.
   *
   * Requirements:
   *
   * - The caller must own `tokenId` or be an approved operator.
   */
  function burn(uint256 tokenId) public virtual {
    address owner = ERC721B.ownerOf(tokenId);
    if (!_isApprovedOrOwner(_msgSender(), tokenId, owner)) 
      revert InvalidCall();

    _beforeTokenTransfers(owner, address(0), tokenId, 1);
    
    // Clear approvals
    _approve(address(0), tokenId, owner);

    unchecked {
      //this is the situation when _owners are normalized
      _balances[owner] -= 1;
      _burned[tokenId] = true;
      _owners[tokenId] = address(0);
      _totalBurned++;

      //this is the situation when _owners are not normalized
      uint256 nextTokenId = tokenId + 1;
      uint256 _totalSupply = super.totalCirculatingSupply() - _totalBurned;
      if (nextTokenId <= _totalSupply && _owners[nextTokenId] == address(0)) {
        _owners[nextTokenId] = owner;
      }
    }

    _afterTokenTransfers(owner, address(0), tokenId, 1);

    emit Transfer(owner, address(0), tokenId);
  }

  // ============ Internal Methods ============

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via 
   * {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   * and stop existing when they are burned (`_burn`).
   */
  function _exists(uint256 tokenId) 
    internal view virtual override returns(bool) 
  {
    return !_burned[tokenId] && super._exists(tokenId);
  }
}

// File: presets/ERC721BPresetAll.sol

pragma solidity ^0.8.0;

contract JinkoNFT is 
  Ownable, 
  ERC721BPresetStandard,
  ERC721BBurnable,
  ERC721BPausable,
  ERC721BStaticTokenURI,
  ERC721BContractURIStorage
{ 
  using Strings for uint256;

  string private _uriExt;

  /**
   * @dev Sets the name, symbol, contract URI
   */
  constructor(
    string memory name, 
    string memory symbol, 
    string memory uri
  ) ERC721BPresetStandard(name, symbol) {
    _setBaseURI(uri);
    _setMaxSupply(3000);
  }

  function totalSupply() public override view returns (uint) {
    return super.totalSupply();
  }

  /**
   * @dev Pauses all token transfers.
   *
   * See {ERC721Pausable} and {Pausable-_pause}.
   *
   * Requirements:
   *
   * - the caller must have the `PAUSER_ROLE`.
   */
  function pause() public virtual onlyOwner {
    _pause();
  }

  /**
   * @dev Allows curators to set the base token uri
   */
  function setBaseTokenURI(string memory uri) 
    external virtual onlyOwner
  {
    _setBaseURI(uri);
  }

  /**
   * @dev Allows curators to set a token uri
   */
  function setTokenURI(uint256 tokenId, string memory uri) 
    external virtual onlyOwner
  {
    _setTokenURI(tokenId, uri);
  }

  /**
   * @dev Allows curators to set a contract uri
   */
  function setContractURI(string memory uri) external onlyOwner {
    _setContractURI(uri);
  }

  /**
    * @dev Update base uri extension
    */
  function setUriExt(string memory value) external onlyOwner {
      _uriExt = value;
  }

  /**
     * @dev URI Extension
     */
    function uriExt() public view virtual returns (string memory) {
        return _uriExt;
    }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId) 
    public 
    view 
    virtual 
    override(ERC721BStaticTokenURI, ERC721BBaseTokenURI, IERC721Metadata)
    returns(string memory) 
  {
    if(!_exists(tokenId)) revert InvalidCall();

    string memory _tokenURI = staticTokenURI(tokenId);
    string memory base = baseTokenURI();

    // If there is no base URI, return the token URI.
    if (bytes(base).length == 0) {
      return _tokenURI;
    }

    if (keccak256(abi.encodePacked(_uriExt)) == keccak256(abi.encodePacked("."))) {
      return string(abi.encodePacked(base, tokenId.toString())); 
    }
  
    // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
    if (bytes(_tokenURI).length > 0) {
      return string(abi.encodePacked(base, _tokenURI));
    }

    return bytes(base).length > 0 ? string(
      abi.encodePacked(base, tokenId.toString(), _uriExt)
    ) : "";
  }

  /**
   * @dev Unpauses all token transfers.
   *
   * See {ERC721Pausable} and {Pausable-_unpause}.
   *
   * Requirements:
   *
   * - the caller must have the `PAUSER_ROLE`.
   */
  function unpause() public virtual onlyOwner {
    _unpause();
  }

  // ============ Overrides ============

  /**
   * @dev Describes linear override for `ownerOf` used in 
   * both `ERC721B`, `ERC721BBurnable` and `IERC721`
   */
  function ownerOf(uint256 tokenId) 
    public 
    view 
    virtual 
    override(ERC721B, ERC721BBurnable, IERC721)
    returns(address) 
  {
    return super.ownerOf(tokenId);
  }

  /**
   * @dev Describes linear override for `supportsInterface` used in 
   * both `ERC721B` and `ERC721BPresetStandard`
   */
  function supportsInterface(bytes4 interfaceId) 
    public view virtual override(ERC721B, ERC721BPresetStandard, IERC165) returns(bool) 
  {
    return super.supportsInterface(interfaceId);
  }

  /**
   * @dev Describes linear override for `totalSupply` used in 
   * both `ERC721B` and `ERC721BBurnable`
   */
  function totalCirculatingSupply() 
    public 
    virtual 
    view 
    override(ERC721B, ERC721BBurnable) 
    returns(uint256) 
  {
    return super.totalCirculatingSupply();
  }

  /**
   * @dev Describes linear override for `_beforeTokenTransfers` used in 
   * both `ERC721B` and `ERC721BPausable`
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 amount
  ) internal virtual override(ERC721B, ERC721BPausable) {
    super._beforeTokenTransfers(from, to, startTokenId, amount);
  }

  /**
   * @dev Describes linear override for `_exists` used in 
   * both `ERC721B` and `ERC721BBurnable`
   */
  function _exists(uint256 tokenId) 
    internal 
    view 
    virtual 
    override(ERC721B, ERC721BBurnable) 
    returns(bool) 
  {
    return super._exists(tokenId);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalOwnerIsOperator","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"BalanceQueryZeroAddress","type":"error"},{"inputs":[],"name":"ERC721ReceiverNotReceived","type":"error"},{"inputs":[],"name":"InvalidCall","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NotERC721Receiver","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetHasAccessPermission","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"access_permission","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setAccessPermission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"value","type":"string"}],"name":"setUriExt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"staticTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"totalCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriExt","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405234801562000010575f80fd5b506040516200208f3803806200208f8339810160408190526200003391620001f1565b8282818133806200005d57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6200006881620000d2565b505f805460ff60a01b19169055600762000083838262000308565b50600862000092828262000308565b5050335f908152600a60205260409020805460ff1916600117905550620000bd915082905062000121565b620000c9610bb8600155565b505050620003d0565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60096200012f828262000308565b5050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000157575f80fd5b81516001600160401b038082111562000174576200017462000133565b604051601f8301601f19908116603f011681019082821181831017156200019f576200019f62000133565b81604052838152602092508683858801011115620001bb575f80fd5b5f91505b83821015620001de5785820183015181830184015290820190620001bf565b5f93810190920192909252949350505050565b5f805f6060848603121562000204575f80fd5b83516001600160401b03808211156200021b575f80fd5b620002298783880162000147565b945060208601519150808211156200023f575f80fd5b6200024d8783880162000147565b9350604086015191508082111562000263575f80fd5b50620002728682870162000147565b9150509250925092565b600181811c908216806200029157607f821691505b602082108103620002b057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000303575f81815260208120601f850160051c81016020861015620002de5750805b601f850160051c820191505b81811015620002ff57828155600101620002ea565b5050505b505050565b81516001600160401b0381111562000324576200032462000133565b6200033c816200033584546200027c565b84620002b6565b602080601f83116001811462000372575f84156200035a5750858301515b5f19600386901b1c1916600185901b178555620002ff565b5f85815260208120601f198616915b82811015620003a25788860151825594840194600190910190840162000381565b5085821015620003c057878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b611cb180620003de5f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80636352211e11610114578063a22cb465116100a9578063c87b56dd11610079578063c87b56dd14610406578063d547cfb714610419578063e8a3d48514610421578063e985e9c514610429578063f2fde38b1461043c575f80fd5b8063a22cb465146103c5578063b644e246146103d8578063b88d4fde146103eb578063bb3eeace146103fe575f80fd5b80638456cb59116100e45780638456cb59146103925780638da5cb5b1461039a578063938e3d7b146103aa57806395d89b41146103bd575f80fd5b80636352211e146103425780636408d20a1461035557806370a0823114610377578063715018a61461038a575f80fd5b806330176e131161018a57806342966c681161015a57806342966c6814610303578063495f6292146103165780635c975abb146103295780635ee0ce311461033a575f80fd5b806330176e13146102c25780633f4ba83a146102d557806340c10f19146102dd57806342842e0e146102f0575f80fd5b80630b2e066a116101c55780630b2e066a14610273578063162094c41461028657806318160ddd1461029957806323b872dd146102af575f80fd5b806301ffc9a7146101f657806306fdde031461021e578063081812fc14610233578063095ea7b31461025e575b5f80fd5b61020961020436600461167c565b61044f565b60405190151581526020015b60405180910390f35b61022661045f565b60405161021591906116eb565b6102466102413660046116fd565b6104ef565b6040516001600160a01b039091168152602001610215565b61027161026c36600461172f565b610531565b005b6102716102813660046117fc565b6105bf565b61027161029436600461182e565b6105d7565b6102a16105e9565b604051908152602001610215565b6102716102bd366004611872565b6105f8565b6102716102d03660046117fc565b610609565b61027161061d565b6102716102eb36600461172f565b61062f565b6102716102fe366004611872565b610693565b6102716103113660046116fd565b6106ad565b6102716103243660046118ab565b6107d6565b5f54600160a01b900460ff16610209565b6102a1610840565b6102466103503660046116fd565b610849565b6102096103633660046118e4565b600a6020525f908152604090205460ff1681565b6102a16103853660046118e4565b610853565b610271610896565b6102716108a7565b5f546001600160a01b0316610246565b6102716103b83660046117fc565b6108b7565b6102266108c8565b6102716103d33660046118ab565b6108d7565b6102266103e63660046116fd565b6108e2565b6102716103f93660046118fd565b6109a5565b6102266109b1565b6102266104143660046116fd565b6109c0565b610226610af0565b610226610aff565b610209610437366004611974565b610b0e565b61027161044a3660046118e4565b610b3b565b5f61045982610b75565b92915050565b60606007805461046e906119a5565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906119a5565b80156104e55780601f106104bc576101008083540402835291602001916104e5565b820191905f5260205f20905b8154815290600101906020018083116104c857829003601f168201915b5050505050905090565b5f6104f982610b99565b61051657604051634a1850bf60e11b815260040160405180910390fd5b505f908152600560205260409020546001600160a01b031690565b5f61053b82610ba3565b9050806001600160a01b0316836001600160a01b03160361056f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382168114801590610590575061058e8282610b0e565b155b156105ae5760405163250fdee360e21b815260040160405180910390fd5b6105b9848484610c5c565b50505050565b6105c7610cb7565b600f6105d38282611a2a565b5050565b6105df610cb7565b6105d38282610ce3565b5f6105f360015490565b905090565b61060433848484610d20565b505050565b610611610cb7565b61061a81610d53565b50565b610625610cb7565b61062d610d5f565b565b335f908152600a602052604090205460ff166106895760405162461bcd60e51b815260206004820152601460248201527337379030b1b1b2b9b9903832b936b4b9b9b4b7b760611b60448201526064015b60405180910390fd5b6105d38282610db3565b61060483838360405180602001604052805f8152506109a5565b5f6106b782610ba3565b90506106c4338383610dcc565b6106e15760405163574b16a760e11b815260040160405180910390fd5b6106ee815f846001610e16565b6106f95f8383610c5c565b6001600160a01b0381165f90815260046020908152604080832080545f19019055848352600b8252808320805460ff191660019081179091556003909252822080546001600160a01b0319169055600c8054820190819055600254918501929103905080821115801561078057505f828152600360205260409020546001600160a01b0316155b156107ac575f82815260036020526040902080546001600160a01b0319166001600160a01b0385161790555b505060405182905f906001600160a01b038416905f80516020611c5c833981519152908390a45050565b6107de610cb7565b6001600160a01b0382165f818152600a6020908152604091829020805460ff19168515159081179091558251938452908301527f886295bcca9ee971259f52ce6049bc634189284aaa9f5debbebc11d8f01fcc36910160405180910390a15050565b5f6105f3610e22565b5f61045982610e39565b5f6001600160a01b03821661087b576040516316285dcb60e11b815260040160405180910390fd5b506001600160a01b03165f9081526004602052604090205490565b61089e610cb7565b61062d5f610e71565b6108af610cb7565b61062d610ec0565b6108bf610cb7565b61061a81610f02565b60606008805461046e906119a5565b6105d3338383610f0e565b60606108ed82610b99565b61090a57604051634a1850bf60e11b815260040160405180910390fd5b5f828152600d602052604090208054610922906119a5565b80601f016020809104026020016040519081016040528092919081815260200182805461094e906119a5565b80156109995780601f1061097057610100808354040283529160200191610999565b820191905f5260205f20905b81548152906001019060200180831161097c57829003601f168201915b50505050509050919050565b6105b984848484610fac565b6060600f805461046e906119a5565b60606109cb82610b99565b6109e85760405163574b16a760e11b815260040160405180910390fd5b5f6109f2836108e2565b90505f6109fd610af0565b905080515f03610a0e575092915050565b604051601760f91b602082015260210160405160208183030381529060405280519060200120600f604051602001610a469190611b55565b6040516020818303038152906040528051906020012003610a945780610a6b85610ff8565b604051602001610a7c929190611b60565b60405160208183030381529060405292505050919050565b815115610aae578082604051602001610a7c929190611b60565b5f815111610aca5760405180602001604052805f815250610ae8565b80610ad485610ff8565b600f604051602001610a7c93929190611b8e565b949350505050565b60606009805461046e906119a5565b6060600e805461046e906119a5565b6001600160a01b039182165f90815260066020908152604080832093909416825291909152205460ff1690565b610b43610cb7565b6001600160a01b038116610b6c57604051631e4fbdf760e01b81525f6004820152602401610680565b61061a81610e71565b5f6001600160e01b03198216635b5e139f60e01b1480610459575061045982611088565b5f610459826110bc565b5f8181526003602052604081205482906001600160a01b031615610bde575f908152600360205260409020546001600160a01b031692915050565b5f81118015610bef57506002548111155b15610c42575b5f198101905f0360010115610c42575f818152600360205260409020546001600160a01b031615610c3d575f908152600360205260409020546001600160a01b031692915050565b610bf5565b50604051634a1850bf60e11b815260040160405180910390fd5b5f8281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f546001600160a01b0316331461062d5760405163118cdaa760e01b8152336004820152602401610680565b610cec82610b99565b610d0957604051634a1850bf60e11b815260040160405180910390fd5b5f828152600d602052604090206106048282611a2a565b610d2b848285610dcc565b610d485760405163574b16a760e11b815260040160405180910390fd5b6105b98383836110de565b60096105d38282611a2a565b610d6761121d565b5f805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6105d3828260405180602001604052805f81525061126c565b5f816001600160a01b0316846001600160a01b03161480610e065750836001600160a01b0316610dfb846104ef565b6001600160a01b0316145b80610ae85750610ae88285610b0e565b6105b984848484611279565b5f600c54610e2f60025490565b6105f39190611bde565b5f818152600b602052604081205460ff1615610e6857604051634a1850bf60e11b815260040160405180910390fd5b61045982610ba3565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ec86112a8565b5f805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d963390565b600e6105d38282611a2a565b816001600160a01b0316836001600160a01b031603610f405760405163079f14e360e51b815260040160405180910390fd5b6001600160a01b038381165f81815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fb833858585610d20565b5f836001600160a01b03163b118015610fda5750610fd8848484846112f4565b155b156105b957604051631f11849560e21b815260040160405180910390fd5b60605f611004836113db565b60010190505f8167ffffffffffffffff81111561102357611023611757565b6040519080825280601f01601f19166020018201604052801561104d576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461105757509392505050565b5f6001600160e01b031982166380ac58cd60e01b148061045957506301ffc9a760e01b6001600160e01b0319831614610459565b5f818152600b602052604081205460ff161580156104595750610459826114b2565b6001600160a01b038216158061110e57506110f881610ba3565b6001600160a01b0316836001600160a01b031614155b1561112c5760405163574b16a760e11b815260040160405180910390fd5b6111398383836001610e16565b6111445f8285610c5c565b6001600160a01b038083165f81815260046020908152604080832080546001908101909155948816835280832080545f190190558583526003909152902080546001600160a01b03191690911790556002549082019081118015906111bd57505f818152600360205260409020546001600160a01b0316155b156111e9575f81815260036020526040902080546001600160a01b0319166001600160a01b0386161790555b5080826001600160a01b0316846001600160a01b03165f80516020611c5c83398151915260405160405180910390a4505050565b5f54600160a01b900460ff1661062d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610680565b61060483838360016114c6565b5f54600160a01b900460ff16156112a35760405163574b16a760e11b815260040160405180910390fd5b6105b9565b5f54600160a01b900460ff161561062d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610680565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611328903390899088908890600401611bf1565b6020604051808303815f875af1925050508015611362575060408051601f3d908101601f1916820190925261135f91810190611c2d565b60015b6113be573d80801561138f576040519150601f19603f3d011682016040523d82523d5f602084013e611394565b606091505b5080515f036113b657604051630568cbab60e01b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114195772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611445576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061146357662386f26fc10000830492506010015b6305f5e100831061147b576305f5e100830492506008015b612710831061148f57612710830492506004015b606483106114a1576064830492506002015b600a83106104595760010192915050565b5f8082118015610459575050600254101590565b8215806114da57506001600160a01b038416155b156114f85760405163574b16a760e11b815260040160405180910390fd5b600154836002546115099190611c48565b111561154b5760405162461bcd60e51b81526020600482015260116024820152701b585e081cdd5c1c1b1e48195e18d95959607a1b6044820152606401610680565b5f600254600161155b9190611c48565b90506115695f868387610e16565b60028054850190556001600160a01b0385165f8181526004602090815260408083208054890190558483526003909152902080546001600160a01b0319169091179055808481018380156115c657505f876001600160a01b03163b115b1561162e575b60405182906001600160a01b038916905f905f80516020611c5c833981519152908290a46116025f8884806001019550886112f4565b61161f57604051631f11849560e21b815260040160405180910390fd5b8082036115cc575050506105b9565b5b6040516001830192906001600160a01b038916905f905f80516020611c5c833981519152908290a480820361162f5750505050505050565b6001600160e01b03198116811461061a575f80fd5b5f6020828403121561168c575f80fd5b813561169781611667565b9392505050565b5f5b838110156116b85781810151838201526020016116a0565b50505f910152565b5f81518084526116d781602086016020860161169e565b601f01601f19169290920160200192915050565b602081525f61169760208301846116c0565b5f6020828403121561170d575f80fd5b5035919050565b80356001600160a01b038116811461172a575f80fd5b919050565b5f8060408385031215611740575f80fd5b61174983611714565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561178557611785611757565b604051601f8501601f19908116603f011681019082821181831017156117ad576117ad611757565b816040528093508581528686860111156117c5575f80fd5b858560208301375f602087830101525050509392505050565b5f82601f8301126117ed575f80fd5b6116978383356020850161176b565b5f6020828403121561180c575f80fd5b813567ffffffffffffffff811115611822575f80fd5b610ae8848285016117de565b5f806040838503121561183f575f80fd5b82359150602083013567ffffffffffffffff81111561185c575f80fd5b611868858286016117de565b9150509250929050565b5f805f60608486031215611884575f80fd5b61188d84611714565b925061189b60208501611714565b9150604084013590509250925092565b5f80604083850312156118bc575f80fd5b6118c583611714565b9150602083013580151581146118d9575f80fd5b809150509250929050565b5f602082840312156118f4575f80fd5b61169782611714565b5f805f8060808587031215611910575f80fd5b61191985611714565b935061192760208601611714565b925060408501359150606085013567ffffffffffffffff811115611949575f80fd5b8501601f81018713611959575f80fd5b6119688782356020840161176b565b91505092959194509250565b5f8060408385031215611985575f80fd5b61198e83611714565b915061199c60208401611714565b90509250929050565b600181811c908216806119b957607f821691505b6020821081036119d757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610604575f81815260208120601f850160051c81016020861015611a035750805b601f850160051c820191505b81811015611a2257828155600101611a0f565b505050505050565b815167ffffffffffffffff811115611a4457611a44611757565b611a5881611a5284546119a5565b846119dd565b602080601f831160018114611a8b575f8415611a745750858301515b5f19600386901b1c1916600185901b178555611a22565b5f85815260208120601f198616915b82811015611ab957888601518255948401946001909101908401611a9a565b5085821015611ad657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f8154611af2816119a5565b60018281168015611b0a5760018114611b1f57611b4b565b60ff1984168752821515830287019450611b4b565b855f526020805f205f5b85811015611b425781548a820152908401908201611b29565b50505082870194505b5050505092915050565b5f6116978284611ae6565b5f8351611b7181846020880161169e565b835190830190611b8581836020880161169e565b01949350505050565b5f8451611b9f81846020890161169e565b845190830190611bb381836020890161169e565b611bbf81830186611ae6565b979650505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561045957610459611bca565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c23908301846116c0565b9695505050505050565b5f60208284031215611c3d575f80fd5b815161169781611667565b8082018082111561045957610459611bca56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220dbf2246ab47a444bce4df9c3c35c8f366072988260984054b9994a61d9028eeb64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000194a696e6b6f20694e4654204d696e7420506173732047656e3200000000000000000000000000000000000000000000000000000000000000000000000000000447454e3200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001368747470733a2f2f6a696e6b6f61692e636f6d00000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c80636352211e11610114578063a22cb465116100a9578063c87b56dd11610079578063c87b56dd14610406578063d547cfb714610419578063e8a3d48514610421578063e985e9c514610429578063f2fde38b1461043c575f80fd5b8063a22cb465146103c5578063b644e246146103d8578063b88d4fde146103eb578063bb3eeace146103fe575f80fd5b80638456cb59116100e45780638456cb59146103925780638da5cb5b1461039a578063938e3d7b146103aa57806395d89b41146103bd575f80fd5b80636352211e146103425780636408d20a1461035557806370a0823114610377578063715018a61461038a575f80fd5b806330176e131161018a57806342966c681161015a57806342966c6814610303578063495f6292146103165780635c975abb146103295780635ee0ce311461033a575f80fd5b806330176e13146102c25780633f4ba83a146102d557806340c10f19146102dd57806342842e0e146102f0575f80fd5b80630b2e066a116101c55780630b2e066a14610273578063162094c41461028657806318160ddd1461029957806323b872dd146102af575f80fd5b806301ffc9a7146101f657806306fdde031461021e578063081812fc14610233578063095ea7b31461025e575b5f80fd5b61020961020436600461167c565b61044f565b60405190151581526020015b60405180910390f35b61022661045f565b60405161021591906116eb565b6102466102413660046116fd565b6104ef565b6040516001600160a01b039091168152602001610215565b61027161026c36600461172f565b610531565b005b6102716102813660046117fc565b6105bf565b61027161029436600461182e565b6105d7565b6102a16105e9565b604051908152602001610215565b6102716102bd366004611872565b6105f8565b6102716102d03660046117fc565b610609565b61027161061d565b6102716102eb36600461172f565b61062f565b6102716102fe366004611872565b610693565b6102716103113660046116fd565b6106ad565b6102716103243660046118ab565b6107d6565b5f54600160a01b900460ff16610209565b6102a1610840565b6102466103503660046116fd565b610849565b6102096103633660046118e4565b600a6020525f908152604090205460ff1681565b6102a16103853660046118e4565b610853565b610271610896565b6102716108a7565b5f546001600160a01b0316610246565b6102716103b83660046117fc565b6108b7565b6102266108c8565b6102716103d33660046118ab565b6108d7565b6102266103e63660046116fd565b6108e2565b6102716103f93660046118fd565b6109a5565b6102266109b1565b6102266104143660046116fd565b6109c0565b610226610af0565b610226610aff565b610209610437366004611974565b610b0e565b61027161044a3660046118e4565b610b3b565b5f61045982610b75565b92915050565b60606007805461046e906119a5565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906119a5565b80156104e55780601f106104bc576101008083540402835291602001916104e5565b820191905f5260205f20905b8154815290600101906020018083116104c857829003601f168201915b5050505050905090565b5f6104f982610b99565b61051657604051634a1850bf60e11b815260040160405180910390fd5b505f908152600560205260409020546001600160a01b031690565b5f61053b82610ba3565b9050806001600160a01b0316836001600160a01b03160361056f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382168114801590610590575061058e8282610b0e565b155b156105ae5760405163250fdee360e21b815260040160405180910390fd5b6105b9848484610c5c565b50505050565b6105c7610cb7565b600f6105d38282611a2a565b5050565b6105df610cb7565b6105d38282610ce3565b5f6105f360015490565b905090565b61060433848484610d20565b505050565b610611610cb7565b61061a81610d53565b50565b610625610cb7565b61062d610d5f565b565b335f908152600a602052604090205460ff166106895760405162461bcd60e51b815260206004820152601460248201527337379030b1b1b2b9b9903832b936b4b9b9b4b7b760611b60448201526064015b60405180910390fd5b6105d38282610db3565b61060483838360405180602001604052805f8152506109a5565b5f6106b782610ba3565b90506106c4338383610dcc565b6106e15760405163574b16a760e11b815260040160405180910390fd5b6106ee815f846001610e16565b6106f95f8383610c5c565b6001600160a01b0381165f90815260046020908152604080832080545f19019055848352600b8252808320805460ff191660019081179091556003909252822080546001600160a01b0319169055600c8054820190819055600254918501929103905080821115801561078057505f828152600360205260409020546001600160a01b0316155b156107ac575f82815260036020526040902080546001600160a01b0319166001600160a01b0385161790555b505060405182905f906001600160a01b038416905f80516020611c5c833981519152908390a45050565b6107de610cb7565b6001600160a01b0382165f818152600a6020908152604091829020805460ff19168515159081179091558251938452908301527f886295bcca9ee971259f52ce6049bc634189284aaa9f5debbebc11d8f01fcc36910160405180910390a15050565b5f6105f3610e22565b5f61045982610e39565b5f6001600160a01b03821661087b576040516316285dcb60e11b815260040160405180910390fd5b506001600160a01b03165f9081526004602052604090205490565b61089e610cb7565b61062d5f610e71565b6108af610cb7565b61062d610ec0565b6108bf610cb7565b61061a81610f02565b60606008805461046e906119a5565b6105d3338383610f0e565b60606108ed82610b99565b61090a57604051634a1850bf60e11b815260040160405180910390fd5b5f828152600d602052604090208054610922906119a5565b80601f016020809104026020016040519081016040528092919081815260200182805461094e906119a5565b80156109995780601f1061097057610100808354040283529160200191610999565b820191905f5260205f20905b81548152906001019060200180831161097c57829003601f168201915b50505050509050919050565b6105b984848484610fac565b6060600f805461046e906119a5565b60606109cb82610b99565b6109e85760405163574b16a760e11b815260040160405180910390fd5b5f6109f2836108e2565b90505f6109fd610af0565b905080515f03610a0e575092915050565b604051601760f91b602082015260210160405160208183030381529060405280519060200120600f604051602001610a469190611b55565b6040516020818303038152906040528051906020012003610a945780610a6b85610ff8565b604051602001610a7c929190611b60565b60405160208183030381529060405292505050919050565b815115610aae578082604051602001610a7c929190611b60565b5f815111610aca5760405180602001604052805f815250610ae8565b80610ad485610ff8565b600f604051602001610a7c93929190611b8e565b949350505050565b60606009805461046e906119a5565b6060600e805461046e906119a5565b6001600160a01b039182165f90815260066020908152604080832093909416825291909152205460ff1690565b610b43610cb7565b6001600160a01b038116610b6c57604051631e4fbdf760e01b81525f6004820152602401610680565b61061a81610e71565b5f6001600160e01b03198216635b5e139f60e01b1480610459575061045982611088565b5f610459826110bc565b5f8181526003602052604081205482906001600160a01b031615610bde575f908152600360205260409020546001600160a01b031692915050565b5f81118015610bef57506002548111155b15610c42575b5f198101905f0360010115610c42575f818152600360205260409020546001600160a01b031615610c3d575f908152600360205260409020546001600160a01b031692915050565b610bf5565b50604051634a1850bf60e11b815260040160405180910390fd5b5f8281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f546001600160a01b0316331461062d5760405163118cdaa760e01b8152336004820152602401610680565b610cec82610b99565b610d0957604051634a1850bf60e11b815260040160405180910390fd5b5f828152600d602052604090206106048282611a2a565b610d2b848285610dcc565b610d485760405163574b16a760e11b815260040160405180910390fd5b6105b98383836110de565b60096105d38282611a2a565b610d6761121d565b5f805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6105d3828260405180602001604052805f81525061126c565b5f816001600160a01b0316846001600160a01b03161480610e065750836001600160a01b0316610dfb846104ef565b6001600160a01b0316145b80610ae85750610ae88285610b0e565b6105b984848484611279565b5f600c54610e2f60025490565b6105f39190611bde565b5f818152600b602052604081205460ff1615610e6857604051634a1850bf60e11b815260040160405180910390fd5b61045982610ba3565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ec86112a8565b5f805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d963390565b600e6105d38282611a2a565b816001600160a01b0316836001600160a01b031603610f405760405163079f14e360e51b815260040160405180910390fd5b6001600160a01b038381165f81815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610fb833858585610d20565b5f836001600160a01b03163b118015610fda5750610fd8848484846112f4565b155b156105b957604051631f11849560e21b815260040160405180910390fd5b60605f611004836113db565b60010190505f8167ffffffffffffffff81111561102357611023611757565b6040519080825280601f01601f19166020018201604052801561104d576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461105757509392505050565b5f6001600160e01b031982166380ac58cd60e01b148061045957506301ffc9a760e01b6001600160e01b0319831614610459565b5f818152600b602052604081205460ff161580156104595750610459826114b2565b6001600160a01b038216158061110e57506110f881610ba3565b6001600160a01b0316836001600160a01b031614155b1561112c5760405163574b16a760e11b815260040160405180910390fd5b6111398383836001610e16565b6111445f8285610c5c565b6001600160a01b038083165f81815260046020908152604080832080546001908101909155948816835280832080545f190190558583526003909152902080546001600160a01b03191690911790556002549082019081118015906111bd57505f818152600360205260409020546001600160a01b0316155b156111e9575f81815260036020526040902080546001600160a01b0319166001600160a01b0386161790555b5080826001600160a01b0316846001600160a01b03165f80516020611c5c83398151915260405160405180910390a4505050565b5f54600160a01b900460ff1661062d5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610680565b61060483838360016114c6565b5f54600160a01b900460ff16156112a35760405163574b16a760e11b815260040160405180910390fd5b6105b9565b5f54600160a01b900460ff161561062d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610680565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611328903390899088908890600401611bf1565b6020604051808303815f875af1925050508015611362575060408051601f3d908101601f1916820190925261135f91810190611c2d565b60015b6113be573d80801561138f576040519150601f19603f3d011682016040523d82523d5f602084013e611394565b606091505b5080515f036113b657604051630568cbab60e01b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114195772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611445576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061146357662386f26fc10000830492506010015b6305f5e100831061147b576305f5e100830492506008015b612710831061148f57612710830492506004015b606483106114a1576064830492506002015b600a83106104595760010192915050565b5f8082118015610459575050600254101590565b8215806114da57506001600160a01b038416155b156114f85760405163574b16a760e11b815260040160405180910390fd5b600154836002546115099190611c48565b111561154b5760405162461bcd60e51b81526020600482015260116024820152701b585e081cdd5c1c1b1e48195e18d95959607a1b6044820152606401610680565b5f600254600161155b9190611c48565b90506115695f868387610e16565b60028054850190556001600160a01b0385165f8181526004602090815260408083208054890190558483526003909152902080546001600160a01b0319169091179055808481018380156115c657505f876001600160a01b03163b115b1561162e575b60405182906001600160a01b038916905f905f80516020611c5c833981519152908290a46116025f8884806001019550886112f4565b61161f57604051631f11849560e21b815260040160405180910390fd5b8082036115cc575050506105b9565b5b6040516001830192906001600160a01b038916905f905f80516020611c5c833981519152908290a480820361162f5750505050505050565b6001600160e01b03198116811461061a575f80fd5b5f6020828403121561168c575f80fd5b813561169781611667565b9392505050565b5f5b838110156116b85781810151838201526020016116a0565b50505f910152565b5f81518084526116d781602086016020860161169e565b601f01601f19169290920160200192915050565b602081525f61169760208301846116c0565b5f6020828403121561170d575f80fd5b5035919050565b80356001600160a01b038116811461172a575f80fd5b919050565b5f8060408385031215611740575f80fd5b61174983611714565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff8084111561178557611785611757565b604051601f8501601f19908116603f011681019082821181831017156117ad576117ad611757565b816040528093508581528686860111156117c5575f80fd5b858560208301375f602087830101525050509392505050565b5f82601f8301126117ed575f80fd5b6116978383356020850161176b565b5f6020828403121561180c575f80fd5b813567ffffffffffffffff811115611822575f80fd5b610ae8848285016117de565b5f806040838503121561183f575f80fd5b82359150602083013567ffffffffffffffff81111561185c575f80fd5b611868858286016117de565b9150509250929050565b5f805f60608486031215611884575f80fd5b61188d84611714565b925061189b60208501611714565b9150604084013590509250925092565b5f80604083850312156118bc575f80fd5b6118c583611714565b9150602083013580151581146118d9575f80fd5b809150509250929050565b5f602082840312156118f4575f80fd5b61169782611714565b5f805f8060808587031215611910575f80fd5b61191985611714565b935061192760208601611714565b925060408501359150606085013567ffffffffffffffff811115611949575f80fd5b8501601f81018713611959575f80fd5b6119688782356020840161176b565b91505092959194509250565b5f8060408385031215611985575f80fd5b61198e83611714565b915061199c60208401611714565b90509250929050565b600181811c908216806119b957607f821691505b6020821081036119d757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610604575f81815260208120601f850160051c81016020861015611a035750805b601f850160051c820191505b81811015611a2257828155600101611a0f565b505050505050565b815167ffffffffffffffff811115611a4457611a44611757565b611a5881611a5284546119a5565b846119dd565b602080601f831160018114611a8b575f8415611a745750858301515b5f19600386901b1c1916600185901b178555611a22565b5f85815260208120601f198616915b82811015611ab957888601518255948401946001909101908401611a9a565b5085821015611ad657878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f8154611af2816119a5565b60018281168015611b0a5760018114611b1f57611b4b565b60ff1984168752821515830287019450611b4b565b855f526020805f205f5b85811015611b425781548a820152908401908201611b29565b50505082870194505b5050505092915050565b5f6116978284611ae6565b5f8351611b7181846020880161169e565b835190830190611b8581836020880161169e565b01949350505050565b5f8451611b9f81846020890161169e565b845190830190611bb381836020890161169e565b611bbf81830186611ae6565b979650505050505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561045957610459611bca565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c23908301846116c0565b9695505050505050565b5f60208284031215611c3d575f80fd5b815161169781611667565b8082018082111561045957610459611bca56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220dbf2246ab47a444bce4df9c3c35c8f366072988260984054b9994a61d9028eeb64736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000194a696e6b6f20694e4654204d696e7420506173732047656e3200000000000000000000000000000000000000000000000000000000000000000000000000000447454e3200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001368747470733a2f2f6a696e6b6f61692e636f6d00000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Jinko iNFT Mint Pass Gen2
Arg [1] : symbol (string): GEN2
Arg [2] : uri (string): https://jinkoai.com

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [4] : 4a696e6b6f20694e4654204d696e7420506173732047656e3200000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 47454e3200000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [8] : 68747470733a2f2f6a696e6b6f61692e636f6d00000000000000000000000000


Deployed Bytecode Sourcemap

58354:4644:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61796:197;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;61796:197:0;;;;;;;;36035:84;;;:::i;:::-;;;;;;;:::i;39621:193::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;39621:193:0;1533:203:1;39207:356:0;;;;;;:::i;:::-;;:::i;:::-;;59790:89;;;;;;:::i;:::-;;:::i;59435:132::-;;;;;;:::i;:::-;;:::i;58831:98::-;;;:::i;:::-;;;4042:25:1;;;4030:2;4015:18;58831:98:0;3896:177:1;44779:171:0;;;;;;:::i;:::-;;:::i;59260:109::-;;;;;;:::i;:::-;;:::i;61222:67::-;;;:::i;51957:109::-;;;;;;:::i;:::-;;:::i;45013:165::-;;;;;;:::i;:::-;;:::i;56821:953::-;;;;;;:::i;:::-;;:::i;52072:180::-;;;;;;:::i;:::-;;:::i;25775:86::-;25822:4;25846:7;-1:-1:-1;;;25846:7:0;;;;25775:86;;62120:190;;;:::i;61467:::-;;;;;;:::i;:::-;;:::i;51478:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;37589:190;;;;;;:::i;:::-;;:::i;23270:103::-;;;:::i;59124:63::-;;;:::i;22595:87::-;22641:7;22668:6;-1:-1:-1;;;;;22668:6:0;22595:87;;59636:95;;;;;;:::i;:::-;;:::i;36180:88::-;;;:::i;40109:159::-;;;;;;:::i;:::-;;:::i;54332:177::-;;;;;;:::i;:::-;;:::i;45241:197::-;;;;;;:::i;:::-;;:::i;59930:95::-;;;:::i;60088:935::-;;;;;;:::i;:::-;;:::i;51013:93::-;;;:::i;53538:::-;;;:::i;39877:168::-;;;;;;:::i;:::-;;:::i;23528:220::-;;;;;;:::i;:::-;;:::i;61796:197::-;61927:4;61951:36;61975:11;61951:23;:36::i;:::-;61944:43;61796:197;-1:-1:-1;;61796:197:0:o;36035:84::-;36079:13;36108:5;36101:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36035:84;:::o;39621:193::-;39702:7;39727:16;39735:7;39727;:16::i;:::-;39722:48;;39752:18;;-1:-1:-1;;;39752:18:0;;;;;;;;;;;39722:48;-1:-1:-1;39784:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39784:24:0;;39621:193::o;39207:356::-;39284:13;39300:24;39316:7;39300:15;:24::i;:::-;39284:40;;39341:5;-1:-1:-1;;;;;39335:11:0;:2;-1:-1:-1;;;;;39335:11:0;;39331:48;;39355:24;;-1:-1:-1;;;39355:24:0;;;;;;;;;;;39331:48;20793:10;-1:-1:-1;;;;;39428:15:0;;;;;;;:51;;;39448:31;39465:5;39472:6;39448:16;:31::i;:::-;39447:32;39428:51;39424:96;;;39496:24;;-1:-1:-1;;;39496:24:0;;;;;;;;;;;39424:96;39529:28;39538:2;39542:7;39551:5;39529:8;:28::i;:::-;39277:286;;39207:356;;:::o;59790:89::-;22481:13;:11;:13::i;:::-;59858:7:::1;:15;59868:5:::0;59858:7;:15:::1;:::i;:::-;;59790:89:::0;:::o;59435:132::-;22481:13;:11;:13::i;:::-;59535:26:::1;59548:7;59557:3;59535:12;:26::i;58831:98::-:0;58884:4;58904:19;37859:10;;;37785:90;58904:19;58897:26;;58831:98;:::o;44779:171::-;44895:49;20793:10;44926:4;44932:2;44936:7;44895:16;:49::i;:::-;44779:171;;;:::o;59260:109::-;22481:13;:11;:13::i;:::-;59347:16:::1;59359:3;59347:11;:16::i;:::-;59260:109:::0;:::o;61222:67::-;22481:13;:11;:13::i;:::-;61273:10:::1;:8;:10::i;:::-;61222:67::o:0;51957:109::-;51598:10;51580:29;;;;:17;:29;;;;;;;;51572:62;;;;-1:-1:-1;;;51572:62:0;;8682:2:1;51572:62:0;;;8664:21:1;8721:2;8701:18;;;8694:30;-1:-1:-1;;;8740:18:1;;;8733:50;8800:18;;51572:62:0;;;;;;;;;52037:23:::1;52047:2;52051:8;52037:9;:23::i;45013:165::-:0;45133:39;45150:4;45156:2;45160:7;45133:39;;;;;;;;;;;;:16;:39::i;56821:953::-;56874:13;56890:24;56906:7;56890:15;:24::i;:::-;56874:40;-1:-1:-1;56926:48:0;20793:10;56959:7;56968:5;56926:18;:48::i;:::-;56921:83;;56991:13;;-1:-1:-1;;;56991:13:0;;;;;;;;;;;56921:83;57013:52;57035:5;57050:1;57054:7;57063:1;57013:21;:52::i;:::-;57102:36;57119:1;57123:7;57132:5;57102:8;:36::i;:::-;-1:-1:-1;;;;;57225:16:0;;;;;;:9;:16;;;;;;;;:21;;-1:-1:-1;;57225:21:0;;;57255:16;;;:7;:16;;;;;:23;;-1:-1:-1;;57255:23:0;-1:-1:-1;57255:23:0;;;;;;57287:7;:16;;;;;:29;;-1:-1:-1;;;;;;57287:29:0;;;57325:12;:14;;;;;;;;38052:12;;57435:11;;;;57225:16;57478:45;57455:68;;57551:12;57536:11;:27;;:65;;;;-1:-1:-1;57599:1:0;57567:20;;;:7;:20;;;;;;-1:-1:-1;;;;;57567:20:0;:34;57536:65;57532:120;;;57614:20;;;;:7;:20;;;;;:28;;-1:-1:-1;;;;;;57614:28:0;-1:-1:-1;;;;;57614:28:0;;;;;57532:120;57147:512;;57732:36;;57760:7;;57756:1;;-1:-1:-1;;;;;57732:36:0;;;-1:-1:-1;;;;;;;;;;;57732:36:0;57756:1;;57732:36;56867:907;56821:953;:::o;52072:180::-;22481:13;:11;:13::i;:::-;-1:-1:-1;;;;;52158:27:0;::::1;;::::0;;;:17:::1;:27;::::0;;;;;;;;:36;;-1:-1:-1;;52158:36:0::1;::::0;::::1;;::::0;;::::1;::::0;;;52206:40;;8997:51:1;;;9064:18;;;9057:50;52206:40:0::1;::::0;8970:18:1;52206:40:0::1;;;;;;;52072:180:::0;;:::o;62120:190::-;62247:7;62274:30;:28;:30::i;61467:190::-;61602:7;61629:22;61643:7;61629:13;:22::i;37589:190::-;37666:7;-1:-1:-1;;;;;37690:19:0;;37686:57;;37718:25;;-1:-1:-1;;;37718:25:0;;;;;;;;;;;37686:57;-1:-1:-1;;;;;;37757:16:0;;;;;:9;:16;;;;;;;37589:190::o;23270:103::-;22481:13;:11;:13::i;:::-;23335:30:::1;23362:1;23335:18;:30::i;59124:63::-:0;22481:13;:11;:13::i;:::-;59173:8:::1;:6;:8::i;59636:95::-:0;22481:13;:11;:13::i;:::-;59705:20:::1;59721:3;59705:15;:20::i;36180:88::-:0;36226:13;36255:7;36248:14;;;;;:::i;40109:159::-;40210:52;20793:10;40243:8;40253;40210:18;:52::i;54332:177::-;54401:13;54427:16;54435:7;54427;:16::i;:::-;54423:47;;54452:18;;-1:-1:-1;;;54452:18:0;;;;;;;;;;;54423:47;54484:19;;;;:10;:19;;;;;54477:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54332:177;;;:::o;45241:197::-;45386:46;45407:4;45413:2;45417:7;45426:5;45386:20;:46::i;59930:95::-;59977:13;60010:7;60003:14;;;;;:::i;60088:935::-;60250:13;60280:16;60288:7;60280;:16::i;:::-;60276:42;;60305:13;;-1:-1:-1;;;60305:13:0;;;;;;;;;;;60276:42;60327:23;60353;60368:7;60353:14;:23::i;:::-;60327:49;;60383:18;60404:14;:12;:14::i;:::-;60383:35;;60492:4;60486:18;60508:1;60486:23;60482:62;;-1:-1:-1;60527:9:0;60088:935;-1:-1:-1;;60088:935:0:o;60482:62::-;60606:21;;-1:-1:-1;;;60606:21:0;;;9320:16:1;9352:11;;60606:21:0;;;;;;;;;;;;60596:32;;;;;;60583:7;60566:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;60556:36;;;;;;:72;60552:153;;60670:4;60676:18;:7;:16;:18::i;:::-;60653:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60639:57;;;;60088:935;;;:::o;60552:153::-;60805:23;;:27;60801:98;;60874:4;60880:9;60857:33;;;;;;;;;:::i;60801:98::-;60935:1;60920:4;60914:18;:22;:103;;;;;;;;;;;;;;;;;60971:4;60977:18;:7;:16;:18::i;:::-;60997:7;60954:51;;;;;;;;;;:::i;60914:103::-;60907:110;60088:935;-1:-1:-1;;;;60088:935:0:o;51013:93::-;51058:13;51087;51080:20;;;;;:::i;53538:93::-;53584:13;53613:12;53606:19;;;;;:::i;39877:168::-;-1:-1:-1;;;;;40004:25:0;;;39980:4;40004:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39877:168::o;23528:220::-;22481:13;:11;:13::i;:::-;-1:-1:-1;;;;;23613:22:0;::::1;23609:93;;23659:31;::::0;-1:-1:-1;;;23659:31:0;;23687:1:::1;23659:31;::::0;::::1;1679:51:1::0;1652:18;;23659:31:0::1;1533:203:1::0;23609:93:0::1;23712:28;23731:8;23712:18;:28::i;52316:233::-:0;52424:4;-1:-1:-1;;;;;;52448:48:0;;-1:-1:-1;;;52448:48:0;;:95;;;52507:36;52531:11;52507:23;:36::i;62814:181::-;62943:4;62967:22;62981:7;62967:13;:22::i;38124:690::-;38201:7;38328:11;;;:7;:11;;;;;;38308:7;;-1:-1:-1;;;;;38328:11:0;:25;38324:70;;38373:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;38373:11:0;;38124:690;-1:-1:-1;;38124:690:0:o;38324:70::-;38473:1;38468:2;:6;:28;;;;;38484:12;;38478:2;:18;;38468:28;38464:304;;;38575:184;-1:-1:-1;;38600:4:0;;;38627:1;38621:7;38600:4;38621:7;38617:131;38645:5;38617:131;38697:1;38674:11;;;:7;:11;;;;;;-1:-1:-1;;;;;38674:11:0;:25;38670:78;;38723:11;;;;:7;:11;;;;;;-1:-1:-1;;;;;38723:11:0;;38124:690;-1:-1:-1;;38124:690:0:o;38670:78::-;38575:184;;;38221:554;38790:18;;-1:-1:-1;;;38790:18:0;;;;;;;;;;;40374:171;40470:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40470:29:0;-1:-1:-1;;;;;40470:29:0;;;;;;;;;40511:28;;40470:24;;40511:28;;;;;;;40374:171;;;:::o;22760:166::-;22641:7;22668:6;-1:-1:-1;;;;;22668:6:0;20793:10;22820:23;22816:103;;22867:40;;-1:-1:-1;;;22867:40:0;;20793:10;22867:40;;;1679:51:1;1652:18;;22867:40:0;1533:203:1;54649:179:0;54741:16;54749:7;54741;:16::i;:::-;54737:47;;54766:18;;-1:-1:-1;;;54766:18:0;;;;;;;;;;;54737:47;54791:19;;;;:10;:19;;;;;:31;54813:9;54791:19;:31;:::i;40614:258::-;40757:42;40776:7;40785;40794:4;40757:18;:42::i;:::-;40752:77;;40816:13;;-1:-1:-1;;;40816:13:0;;;;;;;;;;;40752:77;40838:28;40848:4;40854:2;40858:7;40838:9;:28::i;51199:89::-;51263:13;:19;51279:3;51263:13;:19;:::i;26630:120::-;25639:16;:14;:16::i;:::-;26699:5:::1;26689:15:::0;;-1:-1:-1;;;;26689:15:0::1;::::0;;26720:22:::1;20793:10:::0;26729:12:::1;26720:22;::::0;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;26720:22:0::1;;;;;;;26630:120::o:0;44195:102::-;44266:25;44276:2;44280:6;44266:25;;;;;;;;;;;;:9;:25::i;41466:258::-;41595:4;41626:5;-1:-1:-1;;;;;41615:16:0;:7;-1:-1:-1;;;;;41615:16:0;;:59;;;;41667:7;-1:-1:-1;;;;;41643:31:0;:20;41655:7;41643:11;:20::i;:::-;-1:-1:-1;;;;;41643:31:0;;41615:59;:103;;;;41686:32;41703:5;41710:7;41686:16;:32::i;62447:244::-;62626:59;62654:4;62660:2;62664:12;62678:6;62626:27;:59::i;56461:145::-;56532:7;56588:12;;56555:30;38052:12;;;37967:103;56555:30;:45;;;;:::i;56183:186::-;56260:7;56284:16;;;:7;:16;;;;;;;;56280:47;;;56309:18;;-1:-1:-1;;;56309:18:0;;;;;;;;;;;56280:47;56341:22;56355:7;56341:13;:22::i;23908:191::-;23982:16;24001:6;;-1:-1:-1;;;;;24018:17:0;;;-1:-1:-1;;;;;;24018:17:0;;;;;;24051:40;;24001:6;;;;;;;24051:40;;23982:16;24051:40;23971:128;23908:191;:::o;26371:118::-;25380:19;:17;:19::i;:::-;26431:7:::1;:14:::0;;-1:-1:-1;;;;26431:14:0::1;-1:-1:-1::0;;;26431:14:0::1;::::0;;26461:20:::1;26468:12;20793:10:::0;;20713:98;53680:92;53748:12;:18;53763:3;53748:12;:18;:::i;41854:287::-;41987:8;-1:-1:-1;;;;;41978:17:0;:5;-1:-1:-1;;;;;41978:17:0;;41974:55;;42004:25;;-1:-1:-1;;;42004:25:0;;;;;;;;;;;41974:55;-1:-1:-1;;;;;42036:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;42036:46:0;;;;;;;;;;42094:41;;540::1;;;42094::0;;513:18:1;42094:41:0;;;;;;;41854:287;;;:::o;40948:367::-;41090:49;20793:10;41121:4;41127:2;41131:7;41090:16;:49::i;:::-;41206:1;41189:2;-1:-1:-1;;;;;41189:14:0;;:18;:78;;;;;41219:48;41242:4;41248:2;41252:7;41261:5;41219:22;:48::i;:::-;41218:49;41189:78;41185:124;;;41282:27;;-1:-1:-1;;;41282:27:0;;;;;;;;;;;17485:718;17541:13;17592:14;17609:17;17620:5;17609:10;:17::i;:::-;17629:1;17609:21;17592:38;;17645:20;17679:6;17668:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17668:18:0;-1:-1:-1;17645:41:0;-1:-1:-1;17810:28:0;;;17826:2;17810:28;17867:290;-1:-1:-1;;17899:5:0;-1:-1:-1;;;18036:2:0;18025:14;;18020:32;17899:5;18007:46;18099:2;18090:11;;;-1:-1:-1;18120:21:0;17867:290;18120:21;-1:-1:-1;18178:6:0;17485:718;-1:-1:-1;;;17485:718:0:o;38878:224::-;38985:4;-1:-1:-1;;;;;;39009:40:0;;-1:-1:-1;;;39009:40:0;;:87;;-1:-1:-1;;;;;;;;;;29626:40:0;;;39060:36;29526:148;58127:152;58206:4;58231:16;;;:7;:16;;;;;;;;58230:17;:43;;;;;58251:22;58265:7;58251:13;:22::i;48165:854::-;-1:-1:-1;;;;;48290:16:0;;;;:52;;;48318:24;48334:7;48318:15;:24::i;:::-;-1:-1:-1;;;;;48310:32:0;:4;-1:-1:-1;;;;;48310:32:0;;;48290:52;48286:86;;;48359:13;;-1:-1:-1;;;48359:13:0;;;;;;;;;;;48286:86;48381:43;48403:4;48409:2;48413:7;48422:1;48381:21;:43::i;:::-;48485:35;48502:1;48506:7;48515:4;48485:8;:35::i;:::-;-1:-1:-1;;;;;48607:13:0;;;;;;;:9;:13;;;;;;;;:18;;48624:1;48607:18;;;;;;48634:15;;;;;;;;:20;;-1:-1:-1;;48634:20:0;;;48663:16;;;:7;:16;;;;;:21;;-1:-1:-1;;;;;;48663:21:0;;;;;;48817:12;;48778:11;;;;48802:27;;;;;:65;;-1:-1:-1;48865:1:0;48833:20;;;:7;:20;;;;;;-1:-1:-1;;;;;48833:20:0;:34;48802:65;48798:119;;;48880:20;;;;:7;:20;;;;;:27;;-1:-1:-1;;;;;;48880:27:0;-1:-1:-1;;;;;48880:27:0;;;;;48798:119;48529:395;49005:7;49001:2;-1:-1:-1;;;;;48986:27:0;48995:4;-1:-1:-1;;;;;48986:27:0;-1:-1:-1;;;;;;;;;;;48986:27:0;;;;;;;;;48165:854;;;:::o;26119:108::-;25822:4;25846:7;-1:-1:-1;;;25846:7:0;;;;26178:41;;;;-1:-1:-1;;;26178:41:0;;11984:2:1;26178:41:0;;;11966:21:1;12023:2;12003:18;;;11996:30;-1:-1:-1;;;12042:18:1;;;12035:50;12102:18;;26178:41:0;11782:344:1;44522:147:0;44633:30;44639:2;44643:6;44651:5;44658:4;44633:5;:30::i;55391:259::-;25822:4;25846:7;-1:-1:-1;;;25846:7:0;;;;55544:34;;;55565:13;;-1:-1:-1;;;55565:13:0;;;;;;;;;;;55544:34;55585:59;39207:356;25934:108;25822:4;25846:7;-1:-1:-1;;;25846:7:0;;;;26004:9;25996:38;;;;-1:-1:-1;;;25996:38:0;;12333:2:1;25996:38:0;;;12315:21:1;12372:2;12352:18;;;12345:30;-1:-1:-1;;;12391:18:1;;;12384:46;12447:18;;25996:38:0;12131:340:1;45633:558:0;45787:86;;-1:-1:-1;;;45787:86:0;;45770:4;;-1:-1:-1;;;;;45787:36:0;;;;;:86;;20793:10;;45846:4;;45852:7;;45861:5;;45787:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45787:86:0;;;;;;;;-1:-1:-1;;45787:86:0;;;;;;;;;;;;:::i;:::-;;;45783:403;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46015:6;:13;46032:1;46015:18;46011:168;;46053:19;;-1:-1:-1;;;46053:19:0;;;;;;;;;;;46011:168;46151:6;46145:13;46136:6;46132:2;46128:15;46121:38;45783:403;-1:-1:-1;;;;;;45914:51:0;-1:-1:-1;;;45914:51:0;;-1:-1:-1;45633:558:0;;;;;;:::o;13895:948::-;13948:7;;-1:-1:-1;;;14026:17:0;;14022:106;;-1:-1:-1;;;14064:17:0;;;-1:-1:-1;14110:2:0;14100:12;14022:106;14155:8;14146:5;:17;14142:106;;14193:8;14184:17;;;-1:-1:-1;14230:2:0;14220:12;14142:106;14275:8;14266:5;:17;14262:106;;14313:8;14304:17;;;-1:-1:-1;14350:2:0;14340:12;14262:106;14395:7;14386:5;:16;14382:103;;14432:7;14423:16;;;-1:-1:-1;14468:1:0;14458:11;14382:103;14512:7;14503:5;:16;14499:103;;14549:7;14540:16;;;-1:-1:-1;14585:1:0;14575:11;14499:103;14629:7;14620:5;:16;14616:103;;14666:7;14657:16;;;-1:-1:-1;14702:1:0;14692:11;14616:103;14746:7;14737:5;:16;14733:68;;14784:1;14774:11;14829:6;13895:948;-1:-1:-1;;13895:948:0:o;46493:129::-;46558:4;46588:1;46578:7;:11;:38;;;;-1:-1:-1;;46604:12:0;;-1:-1:-1;46593:23:0;;46493:129::o;42591:1266::-;42713:11;;;:31;;-1:-1:-1;;;;;;42728:16:0;;;42713:31;42710:56;;;42753:13;;-1:-1:-1;;;42753:13:0;;;;;;;;;;;42710:56;42806:10;;42796:6;42781:12;;:21;;;;:::i;:::-;:35;;42773:65;;;;-1:-1:-1;;;42773:65:0;;13556:2:1;42773:65:0;;;13538:21:1;13595:2;13575:18;;;13568:30;-1:-1:-1;;;13614:18:1;;;13607:47;13671:18;;42773:65:0;13354:341:1;42773:65:0;42845:20;42868:12;;42883:1;42868:16;;;;:::i;:::-;42845:39;;42897:59;42927:1;42931:2;42935:12;42949:6;42897:21;:59::i;:::-;42988:12;:22;;;;;;-1:-1:-1;;;;;43019:13:0;;-1:-1:-1;43019:13:0;;;:9;:13;;;;;;;;:23;;;;;;43051:21;;;:7;:21;;;;;:26;;-1:-1:-1;;;;;;43051:26:0;;;;;;43180:12;43220:21;;;43380:9;:31;;;;;43410:1;43393:2;-1:-1:-1;;;;;43393:14:0;;:18;43380:31;43376:356;;;43473:233;43494:38;;43519:12;;-1:-1:-1;;;;;43494:38:0;;;43511:1;;-1:-1:-1;;;;;;;;;;;43494:38:0;43511:1;;43494:38;43550:61;43581:1;43585:2;43589:14;;;;;;43605:5;43550:22;:61::i;:::-;43545:115;;43633:27;;-1:-1:-1;;;43633:27:0;;;;;;;;;;;43545:115;43696:8;43680:12;:24;43473:233;;43716:7;;;;;43376:356;43742:103;43761:40;;43786:14;;;;;-1:-1:-1;;;;;43761:40:0;;;43778:1;;-1:-1:-1;;;;;;;;;;;43761:40:0;43778:1;;43761:40;43835:8;43819:12;:24;43742:103;;42969:883;;42703:1154;42591:1266;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:632;2375:5;2405:18;2446:2;2438:6;2435:14;2432:40;;;2452:18;;:::i;:::-;2527:2;2521:9;2495:2;2581:15;;-1:-1:-1;;2577:24:1;;;2603:2;2573:33;2569:42;2557:55;;;2627:18;;;2647:22;;;2624:46;2621:72;;;2673:18;;:::i;:::-;2713:10;2709:2;2702:22;2742:6;2733:15;;2772:6;2764;2757:22;2812:3;2803:6;2798:3;2794:16;2791:25;2788:45;;;2829:1;2826;2819:12;2788:45;2879:6;2874:3;2867:4;2859:6;2855:17;2842:44;2934:1;2927:4;2918:6;2910;2906:19;2902:30;2895:41;;;;2310:632;;;;;:::o;2947:222::-;2990:5;3043:3;3036:4;3028:6;3024:17;3020:27;3010:55;;3061:1;3058;3051:12;3010:55;3083:80;3159:3;3150:6;3137:20;3130:4;3122:6;3118:17;3083:80;:::i;3174:322::-;3243:6;3296:2;3284:9;3275:7;3271:23;3267:32;3264:52;;;3312:1;3309;3302:12;3264:52;3352:9;3339:23;3385:18;3377:6;3374:30;3371:50;;;3417:1;3414;3407:12;3371:50;3440;3482:7;3473:6;3462:9;3458:22;3440:50;:::i;3501:390::-;3579:6;3587;3640:2;3628:9;3619:7;3615:23;3611:32;3608:52;;;3656:1;3653;3646:12;3608:52;3692:9;3679:23;3669:33;;3753:2;3742:9;3738:18;3725:32;3780:18;3772:6;3769:30;3766:50;;;3812:1;3809;3802:12;3766:50;3835;3877:7;3868:6;3857:9;3853:22;3835:50;:::i;:::-;3825:60;;;3501:390;;;;;:::o;4078:328::-;4155:6;4163;4171;4224:2;4212:9;4203:7;4199:23;4195:32;4192:52;;;4240:1;4237;4230:12;4192:52;4263:29;4282:9;4263:29;:::i;:::-;4253:39;;4311:38;4345:2;4334:9;4330:18;4311:38;:::i;:::-;4301:48;;4396:2;4385:9;4381:18;4368:32;4358:42;;4078:328;;;;;:::o;4411:347::-;4476:6;4484;4537:2;4525:9;4516:7;4512:23;4508:32;4505:52;;;4553:1;4550;4543:12;4505:52;4576:29;4595:9;4576:29;:::i;:::-;4566:39;;4655:2;4644:9;4640:18;4627:32;4702:5;4695:13;4688:21;4681:5;4678:32;4668:60;;4724:1;4721;4714:12;4668:60;4747:5;4737:15;;;4411:347;;;;;:::o;4763:186::-;4822:6;4875:2;4863:9;4854:7;4850:23;4846:32;4843:52;;;4891:1;4888;4881:12;4843:52;4914:29;4933:9;4914:29;:::i;4954:667::-;5049:6;5057;5065;5073;5126:3;5114:9;5105:7;5101:23;5097:33;5094:53;;;5143:1;5140;5133:12;5094:53;5166:29;5185:9;5166:29;:::i;:::-;5156:39;;5214:38;5248:2;5237:9;5233:18;5214:38;:::i;:::-;5204:48;;5299:2;5288:9;5284:18;5271:32;5261:42;;5354:2;5343:9;5339:18;5326:32;5381:18;5373:6;5370:30;5367:50;;;5413:1;5410;5403:12;5367:50;5436:22;;5489:4;5481:13;;5477:27;-1:-1:-1;5467:55:1;;5518:1;5515;5508:12;5467:55;5541:74;5607:7;5602:2;5589:16;5584:2;5580;5576:11;5541:74;:::i;:::-;5531:84;;;4954:667;;;;;;;:::o;5626:260::-;5694:6;5702;5755:2;5743:9;5734:7;5730:23;5726:32;5723:52;;;5771:1;5768;5761:12;5723:52;5794:29;5813:9;5794:29;:::i;:::-;5784:39;;5842:38;5876:2;5865:9;5861:18;5842:38;:::i;:::-;5832:48;;5626:260;;;;;:::o;5891:380::-;5970:1;5966:12;;;;6013;;;6034:61;;6088:4;6080:6;6076:17;6066:27;;6034:61;6141:2;6133:6;6130:14;6110:18;6107:38;6104:161;;6187:10;6182:3;6178:20;6175:1;6168:31;6222:4;6219:1;6212:15;6250:4;6247:1;6240:15;6104:161;;5891:380;;;:::o;6402:545::-;6504:2;6499:3;6496:11;6493:448;;;6540:1;6565:5;6561:2;6554:17;6610:4;6606:2;6596:19;6680:2;6668:10;6664:19;6661:1;6657:27;6651:4;6647:38;6716:4;6704:10;6701:20;6698:47;;;-1:-1:-1;6739:4:1;6698:47;6794:2;6789:3;6785:12;6782:1;6778:20;6772:4;6768:31;6758:41;;6849:82;6867:2;6860:5;6857:13;6849:82;;;6912:17;;;6893:1;6882:13;6849:82;;;6853:3;;;6402:545;;;:::o;7123:1352::-;7249:3;7243:10;7276:18;7268:6;7265:30;7262:56;;;7298:18;;:::i;:::-;7327:97;7417:6;7377:38;7409:4;7403:11;7377:38;:::i;:::-;7371:4;7327:97;:::i;:::-;7479:4;;7543:2;7532:14;;7560:1;7555:663;;;;8262:1;8279:6;8276:89;;;-1:-1:-1;8331:19:1;;;8325:26;8276:89;-1:-1:-1;;7080:1:1;7076:11;;;7072:24;7068:29;7058:40;7104:1;7100:11;;;7055:57;8378:81;;7525:944;;7555:663;6349:1;6342:14;;;6386:4;6373:18;;-1:-1:-1;;7591:20:1;;;7709:236;7723:7;7720:1;7717:14;7709:236;;;7812:19;;;7806:26;7791:42;;7904:27;;;;7872:1;7860:14;;;;7739:19;;7709:236;;;7713:3;7973:6;7964:7;7961:19;7958:201;;;8034:19;;;8028:26;-1:-1:-1;;8117:1:1;8113:14;;;8129:3;8109:24;8105:37;8101:42;8086:58;8071:74;;7958:201;-1:-1:-1;;;;;8205:1:1;8189:14;;;8185:22;8172:36;;-1:-1:-1;7123:1352:1:o;9374:722::-;9424:3;9465:5;9459:12;9494:36;9520:9;9494:36;:::i;:::-;9549:1;9566:18;;;9593:133;;;;9740:1;9735:355;;;;9559:531;;9593:133;-1:-1:-1;;9626:24:1;;9614:37;;9699:14;;9692:22;9680:35;;9671:45;;;-1:-1:-1;9593:133:1;;9735:355;9766:5;9763:1;9756:16;9795:4;9840:2;9837:1;9827:16;9865:1;9879:165;9893:6;9890:1;9887:13;9879:165;;;9971:14;;9958:11;;;9951:35;10014:16;;;;9908:10;;9879:165;;;9883:3;;;10073:6;10068:3;10064:16;10057:23;;9559:531;;;;;9374:722;;;;:::o;10101:197::-;10229:3;10254:38;10288:3;10280:6;10254:38;:::i;10303:496::-;10482:3;10520:6;10514:13;10536:66;10595:6;10590:3;10583:4;10575:6;10571:17;10536:66;:::i;:::-;10665:13;;10624:16;;;;10687:70;10665:13;10624:16;10734:4;10722:17;;10687:70;:::i;:::-;10773:20;;10303:496;-1:-1:-1;;;;10303:496:1:o;10804:576::-;11028:3;11066:6;11060:13;11082:66;11141:6;11136:3;11129:4;11121:6;11117:17;11082:66;:::i;:::-;11211:13;;11170:16;;;;11233:70;11211:13;11170:16;11280:4;11268:17;;11233:70;:::i;:::-;11319:55;11364:8;11357:5;11353:20;11345:6;11319:55;:::i;:::-;11312:62;10804:576;-1:-1:-1;;;;;;;10804:576:1:o;11385:127::-;11446:10;11441:3;11437:20;11434:1;11427:31;11477:4;11474:1;11467:15;11501:4;11498:1;11491:15;11517:128;11584:9;;;11605:11;;;11602:37;;;11619:18;;:::i;12476:489::-;-1:-1:-1;;;;;12745:15:1;;;12727:34;;12797:15;;12792:2;12777:18;;12770:43;12844:2;12829:18;;12822:34;;;12892:3;12887:2;12872:18;;12865:31;;;12670:4;;12913:46;;12939:19;;12931:6;12913:46;:::i;:::-;12905:54;12476:489;-1:-1:-1;;;;;;12476:489:1:o;12970:249::-;13039:6;13092:2;13080:9;13071:7;13067:23;13063:32;13060:52;;;13108:1;13105;13098:12;13060:52;13140:9;13134:16;13159:30;13183:5;13159:30;:::i;13224:125::-;13289:9;;;13310:10;;;13307:36;;;13323:18;;:::i

Swarm Source

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

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