APE Price: $0.95 (+0.42%)

Token

TEST (TEST)

Overview

Max Total Supply

2 TEST

Holders

1

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
TEST

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2025-01-25
*/

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


// OpenZeppelin Contracts (last updated v5.0.1) (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;
    }

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

// 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/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// 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/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/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/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/interfaces/IERC2981.sol


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

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// File: new/contracts/IERC721A.sol


// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */


interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// File: new/contracts/ERC721A.sol


// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 1;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x2a55205a || // ERC 2981 rotyalty
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }
    

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

    /**
     * @dev See {IERC721-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred.
     * This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred.
     * This includes minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}
// 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/common/ERC2981.sol


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

pragma solidity ^0.8.20;



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

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

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

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: @limitbreak/creator-token-contracts/contracts/programmable-royalties/BasicRoyalties.sol


pragma solidity ^0.8.4;


/**
 * @title BasicRoyaltiesBase
 * @author Limit Break, Inc.
 * @dev Base functionality of an NFT mix-in contract implementing the most basic form of programmable royalties.
 */
abstract contract BasicRoyaltiesBase is ERC2981 {

    event DefaultRoyaltySet(address indexed receiver, uint96 feeNumerator);
    event TokenRoyaltySet(uint256 indexed tokenId, address indexed receiver, uint96 feeNumerator);

    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual override {
        super._setDefaultRoyalty(receiver, feeNumerator);
        emit DefaultRoyaltySet(receiver, feeNumerator);
    }

    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual override {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit TokenRoyaltySet(tokenId, receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyalties
 * @author Limit Break, Inc.
 * @notice Constructable BasicRoyalties Contract implementation.
 */
abstract contract BasicRoyalties is BasicRoyaltiesBase {
    constructor(address receiver, uint96 feeNumerator) {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyaltiesInitializable
 * @author Limit Break, Inc.
 * @notice Initializable BasicRoyalties Contract implementation to allow for EIP-1167 clones. 
 */
abstract contract BasicRoyaltiesInitializable is BasicRoyaltiesBase {}
// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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.
     *
     * _Available since v3.4._
     */
    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 addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: new/contracts/ImmediateRoyaltySplitter.sol


pragma solidity ^0.8.0;



/**
 * @title ImmediateRoyaltySplitter
 * @dev Contract for instantly splitting received payments between multiple addresses
 */
abstract contract ImmediateRoyaltySplitter is ReentrancyGuard {
    using SafeMath for uint256;

    // Events
    event PaymentReceived(address from, uint256 amount);
    event PaymentSplit(address to, uint256 amount);
    event RoyaltySharesUpdated(
        address[] royaltyReceivers,
        uint256[] royaltyShares
    );

    // Constants
    uint256 public constant TOTAL_ROYALTY_SHARES = 10000; // 100% = 10000 (0.01% precision)

    // State variables
    address[] public royaltyReceivers;
    uint256[] public royaltyShares;

    /**
     * @dev Internal function to update royaltyShares with validations
     */
    function _updateRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(_receivers.length == _shares.length, "Arrays length mismatch");
        require(_receivers.length > 0, "No royaltyReceivers provided");

        uint256 _totalShares;
        for (uint256 i = 0; i < _receivers.length; i++) {
            require(_receivers[i] != address(0), "Invalid receiver address");
            require(_shares[i] > 0, "Share must be greater than 0");
            _totalShares = _totalShares.add(_shares[i]);
        }

        require(
            _totalShares == TOTAL_ROYALTY_SHARES,
            "Total royaltyShares must be 10000"
        );

        royaltyReceivers = _receivers;
        royaltyShares = _shares;

        emit RoyaltySharesUpdated(_receivers, _shares);
    }

    /**
     * @dev Private function to set the royalty shares only if they are not set yet
     */
    function _initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(royaltyReceivers.length == 0, "Royalty shares already set");
        _updateRoyaltyShares(_receivers, _shares);
    }

    /**
     * @dev Fallback function to receive and immediately split payments
     */
    receive() external payable nonReentrant {
        require(msg.value > 0, "No payment received");
        emit PaymentReceived(msg.sender, msg.value);

        uint256 remaining = msg.value;
        uint256 share;
        uint256 amount;

        // Process all royaltyReceivers except the last one
        for (uint256 i = 0; i < royaltyReceivers.length - 1; i++) {
            share = royaltyShares[i];
            // Calculate payment amount using the share percentage
            amount = msg.value.mul(share).div(TOTAL_ROYALTY_SHARES);
            remaining = remaining.sub(amount);

            (bool success, ) = royaltyReceivers[i].call{value: amount}("");
            require(success, "Transfer failed");
            emit PaymentSplit(royaltyReceivers[i], amount);
        }

        // Send remaining amount to last receiver to handle rounding dust
        if (remaining > 0 && royaltyReceivers.length > 0) {
            (bool success, ) = royaltyReceivers[royaltyReceivers.length - 1]
                .call{value: remaining}("");
            require(success, "Transfer failed");
            emit PaymentSplit(
                royaltyReceivers[royaltyReceivers.length - 1],
                remaining
            );
        }
    }

    /**
     * @dev Returns the current royaltyReceivers and their royaltyShares
     */
    function getRoyaltyShares()
        external
        view
        returns (address[] memory, uint256[] memory)
    {
        return (royaltyReceivers, royaltyShares);
    }

    /**
     * @dev Allows a royalty receiver to update their wallet address
     * @param newAddress The new address to update to
     */
    function updateReceiverAddress(address newAddress) external nonReentrant {
        require(newAddress != address(0), "New address is invalid");

        bool updated = false;
        for (uint256 i = 0; i < royaltyReceivers.length; i++) {
            if (royaltyReceivers[i] == msg.sender) {
                royaltyReceivers[i] = newAddress;
                updated = true;
                break;
            }
        }

        require(updated, "Receiver address not found");
    }
}
// File: new/access/OwnablePermissions.sol


pragma solidity ^0.8.4;


abstract contract OwnablePermissions is Context {
    function _requireCallerIsContractOwner() internal view virtual;
}

// File: new/interfaces/IEOARegistry.sol


pragma solidity ^0.8.4;


interface IEOARegistry is IERC165 {
    function isVerifiedEOA(address account) external view returns (bool);
}
// File: new/utils/TransferPolicy.sol


pragma solidity ^0.8.4;

enum AllowlistTypes {
    Operators,
    PermittedContractReceivers
}

enum ReceiverConstraints {
    None,
    NoCode,
    EOA
}

enum CallerConstraints {
    None,
    OperatorWhitelistEnableOTC,
    OperatorWhitelistDisableOTC
}

enum StakerConstraints {
    None,
    CallerIsTxOrigin,
    EOA
}

enum TransferSecurityLevels {
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six
}

struct TransferSecurityPolicy {
    CallerConstraints callerConstraints;
    ReceiverConstraints receiverConstraints;
}

struct CollectionSecurityPolicy {
    TransferSecurityLevels transferSecurityLevel;
    uint120 operatorWhitelistId;
    uint120 permittedContractReceiversId;
}

// File: new/interfaces/ITransferSecurityRegistry.sol


pragma solidity ^0.8.4;


interface ITransferSecurityRegistry {
    event AddedToAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event CreatedAllowlist(AllowlistTypes indexed kind, uint256 indexed id, string indexed name);
    event ReassignedAllowlistOwnership(AllowlistTypes indexed kind, uint256 indexed id, address indexed newOwner);
    event RemovedFromAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event SetAllowlist(AllowlistTypes indexed kind, address indexed collection, uint120 indexed id);
    event SetTransferSecurityLevel(address indexed collection, TransferSecurityLevels level);

    function createOperatorWhitelist(string calldata name) external returns (uint120);
    function createPermittedContractReceiverAllowlist(string calldata name) external returns (uint120);
    function reassignOwnershipOfOperatorWhitelist(uint120 id, address newOwner) external;
    function reassignOwnershipOfPermittedContractReceiverAllowlist(uint120 id, address newOwner) external;
    function renounceOwnershipOfOperatorWhitelist(uint120 id) external;
    function renounceOwnershipOfPermittedContractReceiverAllowlist(uint120 id) external;
    function setTransferSecurityLevelOfCollection(address collection, TransferSecurityLevels level) external;
    function setOperatorWhitelistOfCollection(address collection, uint120 id) external;
    function setPermittedContractReceiverAllowlistOfCollection(address collection, uint120 id) external;
    function addOperatorToWhitelist(uint120 id, address operator) external;
    function addPermittedContractReceiverToAllowlist(uint120 id, address receiver) external;
    function removeOperatorFromWhitelist(uint120 id, address operator) external;
    function removePermittedContractReceiverFromAllowlist(uint120 id, address receiver) external;
    function getCollectionSecurityPolicy(address collection) external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators(uint120 id) external view returns (address[] memory);
    function getPermittedContractReceivers(uint120 id) external view returns (address[] memory);
    function isOperatorWhitelisted(uint120 id, address operator) external view returns (bool);
    function isContractReceiverPermitted(uint120 id, address receiver) external view returns (bool);
}
// File: new/interfaces/ITransferValidator.sol


pragma solidity ^0.8.4;


interface ITransferValidator {
    function applyCollectionTransferPolicy(address caller, address from, address to) external view;
}
// File: new/interfaces/ICreatorTokenTransferValidator.sol


pragma solidity ^0.8.4;




interface ICreatorTokenTransferValidator is ITransferSecurityRegistry, ITransferValidator, IEOARegistry {}
// File: new/interfaces/ICreatorToken.sol


pragma solidity ^0.8.4;


interface ICreatorToken {
    event TransferValidatorUpdated(address oldValidator, address newValidator);

    function getTransferValidator() external view returns (ICreatorTokenTransferValidator);
    function getSecurityPolicy() external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators() external view returns (address[] memory);
    function getPermittedContractReceivers() external view returns (address[] memory);
    function isOperatorWhitelisted(address operator) external view returns (bool);
    function isContractReceiverPermitted(address receiver) external view returns (bool);
    function isTransferAllowed(address caller, address from, address to) external view returns (bool);
}

// File: new/utils/TransferValidation.sol


pragma solidity ^0.8.4;


/**
 * @title TransferValidation
 * @author Limit Break, Inc.
 * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks.
 * Openzeppelin's ERC721 contract only provides hooks for before and after transfer.  This allows
 * developers to validate or customize transfers within the context of a mint, a burn, or a transfer.
 */
abstract contract TransferValidation is Context {
    
    error ShouldNotMintToBurnAddress();

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _preValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _postValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}
}

// File: @openzeppelin/contracts/interfaces/IERC165.sol


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

pragma solidity ^0.8.20;


// File: new/contracts/CreatorTokenBase.sol


pragma solidity ^0.8.4;






/**
 * @title CreatorTokenBase
 * @author Limit Break, Inc.
 * @notice CreatorTokenBase is an abstract contract that provides basic functionality for managing token 
 * transfer policies through an implementation of ICreatorTokenTransferValidator. This contract is intended to be used
 * as a base for creator-specific token contracts, enabling customizable transfer restrictions and security policies.
 *
 * <h4>Features:</h4>
 * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul>
 * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul>
 * <ul>ICreatorToken: Implements the interface for creator tokens, providing view functions for token security policies.</ul>
 *
 * <h4>Benefits:</h4>
 * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul>
 * <ul>Allows creators to enforce policies such as whitelisted operators and permitted contract receivers.</ul>
 * <ul>Can be easily integrated into other token contracts as a base contract.</ul>
 *
 * <h4>Intended Usage:</h4>
 * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and 
 *   security policies.</ul>
 * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the 
 *   creator token.</ul>
 */
abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken {
    
    error CreatorTokenBase__InvalidTransferValidatorContract();
    error CreatorTokenBase__SetTransferValidatorFirst();

    address public constant DEFAULT_TRANSFER_VALIDATOR = address(0x0000721C310194CcfC01E523fc93C9cCcFa2A0Ac);
    TransferSecurityLevels public constant DEFAULT_TRANSFER_SECURITY_LEVEL = TransferSecurityLevels.One;
    uint120 public constant DEFAULT_OPERATOR_WHITELIST_ID = uint120(1);

    ICreatorTokenTransferValidator private transferValidator;

    /**
     * @notice Allows the contract owner to set the transfer validator to the official validator contract
     *         and set the security policy to the recommended default settings.
     * @dev    May be overridden to change the default behavior of an individual collection.
     */
    function setToDefaultSecurityPolicy() public virtual {
        _requireCallerIsContractOwner();
        setTransferValidator(DEFAULT_TRANSFER_VALIDATOR);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setTransferSecurityLevelOfCollection(address(this), DEFAULT_TRANSFER_SECURITY_LEVEL);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setOperatorWhitelistOfCollection(address(this), DEFAULT_OPERATOR_WHITELIST_ID);
    }

    /**
     * @notice Allows the contract owner to set the transfer validator to a custom validator contract
     *         and set the security policy to their own custom settings.
     */
    function setToCustomValidatorAndSecurityPolicy(
        address validator, 
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        setTransferValidator(validator);

        ICreatorTokenTransferValidator(validator).
            setTransferSecurityLevelOfCollection(address(this), level);

        ICreatorTokenTransferValidator(validator).
            setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);

        ICreatorTokenTransferValidator(validator).
            setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Allows the contract owner to set the security policy to their own custom settings.
     * @dev    Reverts if the transfer validator has not been set.
     */
    function setToCustomSecurityPolicy(
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        ICreatorTokenTransferValidator validator = getTransferValidator();
        if (address(validator) == address(0)) {
            revert CreatorTokenBase__SetTransferValidatorFirst();
        }

        validator.setTransferSecurityLevelOfCollection(address(this), level);
        validator.setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);
        validator.setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Sets the transfer validator for the token contract.
     *
     * @dev    Throws when provided validator contract is not the zero address and doesn't support 
     *         the ICreatorTokenTransferValidator interface. 
     * @dev    Throws when the caller is not the contract owner.
     *
     * @dev    <h4>Postconditions:</h4>
     *         1. The transferValidator address is updated.
     *         2. The `TransferValidatorUpdated` event is emitted.
     *
     * @param transferValidator_ The address of the transfer validator contract.
     */
    function setTransferValidator(address transferValidator_) public {
        _requireCallerIsContractOwner();

        bool isValidTransferValidator = false;

        if(transferValidator_.code.length > 0) {
            try IERC165(transferValidator_).supportsInterface(type(ICreatorTokenTransferValidator).interfaceId) 
                returns (bool supportsInterface) {
                isValidTransferValidator = supportsInterface;
            } catch {}
        }

        if(transferValidator_ != address(0) && !isValidTransferValidator) {
            revert CreatorTokenBase__InvalidTransferValidatorContract();
        }

        emit TransferValidatorUpdated(address(transferValidator), transferValidator_);

        transferValidator = ICreatorTokenTransferValidator(transferValidator_);
    }

    /**
     * @notice Returns the transfer validator contract address for this token contract.
     */
    function getTransferValidator() public view override returns (ICreatorTokenTransferValidator) {
        return transferValidator;
    }

    /**
     * @notice Returns the security policy for this token contract, which includes:
     *         Transfer security level, operator whitelist id, permitted contract receiver allowlist id.
     */
    function getSecurityPolicy() public view override returns (CollectionSecurityPolicy memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getCollectionSecurityPolicy(address(this));
        }

        return CollectionSecurityPolicy({
            transferSecurityLevel: TransferSecurityLevels.Zero,
            operatorWhitelistId: 0,
            permittedContractReceiversId: 0
        });
    }

    /**
     * @notice Returns the list of all whitelisted operators for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getWhitelistedOperators() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getWhitelistedOperators(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId);
        }

        return new address[](0);
    }

    /**
     * @notice Returns the list of permitted contract receivers for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getPermittedContractReceivers() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getPermittedContractReceivers(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId);
        }

        return new address[](0);
    }

    /**
     * @notice Checks if an operator is whitelisted for this token contract.
     * @param operator The address of the operator to check.
     */
    function isOperatorWhitelisted(address operator) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isOperatorWhitelisted(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId, operator);
        }

        return false;
    }

    /**
     * @notice Checks if a contract receiver is permitted for this token contract.
     * @param receiver The address of the receiver to check.
     */
    function isContractReceiverPermitted(address receiver) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isContractReceiverPermitted(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId, receiver);
        }

        return false;
    }

    /**
     * @notice Determines if a transfer is allowed based on the token contract's security policy.  Use this function
     *         to simulate whether or not a transfer made by the specified `caller` from the `from` address to the `to`
     *         address would be allowed by this token's security policy.
     *
     * @notice This function only checks the security policy restrictions and does not check whether token ownership
     *         or approvals are in place. 
     *
     * @param caller The address of the simulated caller.
     * @param from   The address of the sender.
     * @param to     The address of the receiver.
     * @return       True if the transfer is allowed, false otherwise.
     */
    function isTransferAllowed(address caller, address from, address to) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            try transferValidator.applyCollectionTransferPolicy(caller, from, to) {
                return true;
            } catch {
                return false;
            }
        }
        return true;
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 /*tokenId*/, 
        uint256 /*value*/) internal virtual override {
        if (address(transferValidator) != address(0)) {
            transferValidator.applyCollectionTransferPolicy(caller, from, to);
        }
    }
}

// File: new/contracts/TheCrypt.sol


pragma solidity ^0.8.23;










contract TEST is
    Ownable,
    ReentrancyGuard,
    ERC721A,
    BasicRoyaltiesInitializable,
    ImmediateRoyaltySplitter,
    CreatorTokenBase
{
    using Strings for uint256;

    /// -----------------------------------------------------------------------
    /// Constants & Configuration
    /// -----------------------------------------------------------------------
    uint256 public MAX_SUPPLY = 6666;


    /// -----------------------------------------------------------------------
    /// Metadata
    /// -----------------------------------------------------------------------
    string public baseURI;

    /// -----------------------------------------------------------------------
    /// Constructor
    /// -----------------------------------------------------------------------
    /**
     * @param _initialOwner The owner of the contract.
     * @param _baseUri The initial base URI for token metadata.
     * @param _royaltyFeeNumerator The default royalty fee (e.g. 500 = 5%).
     */
    constructor(
        address _initialOwner,
        string memory _baseUri,
        uint96 _royaltyFeeNumerator
    )
        ERC721A("TEST", "TEST")
        Ownable(_initialOwner)
        CreatorTokenBase()
    {
        baseURI = _baseUri;
        _setDefaultRoyalty(address(this), _royaltyFeeNumerator);
    }

    /// -----------------------------------------------------------------------
    /// Gift (Owner Mint)
    /// -----------------------------------------------------------------------
    /**
     * @notice Owner can mint/gift tokens directly to a wallet without restriction.
     */
    function gift(address to, uint256 quantity) external onlyOwner {
        require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds max supply");
        _safeMint(to, quantity);
    }

    /**
     * @notice Mints 1 NFT to each address provided in the `recipients` array.
     */
    function batchAirdrop(address[] calldata recipients) external onlyOwner {
        // Check that we won't exceed the max supply
        require(totalSupply() + recipients.length <= MAX_SUPPLY, "Exceeds max supply");

        for (uint256 i = 0; i < recipients.length; i++) {
            _safeMint(recipients[i], 1);
        }
    }


    /// -----------------------------------------------------------------------
    /// Burn (Optional)
    /// -----------------------------------------------------------------------
    function burn(uint256 tokenId) external nonReentrant {
        require(
            msg.sender == owner() || msg.sender == ownerOf(tokenId),
            "Not allowed to burn"
        );
        _burn(tokenId);
    }

    /// -----------------------------------------------------------------------
    /// Admin Functions
    /// -----------------------------------------------------------------------

    /// @notice Adjust the max number of tokens.
    function setMaxSupply(uint256 _newMax) external onlyOwner {
        MAX_SUPPLY = _newMax;
    }

    /// @notice Updates the base URI for the tokens (e.g., IPFS folder link).
    function setBaseURI(string memory _baseUri) external onlyOwner {
        baseURI = _baseUri;
    }

    /// @notice Rescue stuck ERC20 tokens if needed.
    function rescueERC20(IERC20 token, address to, uint256 amount) external onlyOwner {
        token.transfer(to, amount);
    }

    /// @notice Withdraw all ETH from the contract to the owner.
    function withdrawNative() external onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        require(balance > 0, "No native token to withdraw");
        (bool success, ) = payable(owner()).call{value: balance}("");
        require(success, "Native withdraw failed");
    }

    /// -----------------------------------------------------------------------
    /// Royalties
    /// -----------------------------------------------------------------------
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) external onlyOwner {
        _initializeRoyaltyShares(_receivers, _shares);
    }

    /// -----------------------------------------------------------------------
    /// Metadata
    /// -----------------------------------------------------------------------
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "URI query for nonexistent token");
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json"))
                : "";
    }

    /// -----------------------------------------------------------------------
    /// ERC165 / Interface Support
    /// -----------------------------------------------------------------------
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }



    /// -----------------------------------------------------------------------
    /// Creator Token Base Requirement
    /// -----------------------------------------------------------------------
    function _requireCallerIsContractOwner() internal view override {
        require(msg.sender == owner(), "Caller is not the contract owner");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint96","name":"_royaltyFeeNumerator","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[],"name":"CreatorTokenBase__SetTransferValidatorFirst","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"DefaultRoyaltySet","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":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"royaltyReceivers","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"royaltyShares","type":"uint256[]"}],"name":"RoyaltySharesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"TokenRoyaltySet","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":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_OPERATOR_WHITELIST_ID","outputs":[{"internalType":"uint120","name":"","type":"uint120"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_SECURITY_LEVEL","outputs":[{"internalType":"enum TransferSecurityLevels","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_VALIDATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_ROYALTY_SHARES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPermittedContractReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyShares","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSecurityPolicy","outputs":[{"components":[{"internalType":"enum TransferSecurityLevels","name":"transferSecurityLevel","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversId","type":"uint120"}],"internalType":"struct CollectionSecurityPolicy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"contract ICreatorTokenTransferValidator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"initializeRoyaltyShares","outputs":[],"stateMutability":"nonpayable","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":"receiver","type":"address"}],"name":"isContractReceiverPermitted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isOperatorWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"isTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyShares","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"},{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomValidatorAndSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setToDefaultSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052611a0a600f5534801562000016575f80fd5b5060405162003dd538038062003dd583398101604081905262000039916200026c565b604080518082018252600480825263151154d560e21b602080840182905284518086019095529184529083015290846001600160a01b0381166200009757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000a281620000f0565b50600180556004620000b58382620003f5565b506005620000c48282620003f5565b50506001600255506010620000da8382620003f5565b50620000e730826200013f565b505050620004c1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200014b828262000196565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b6127106001600160601b038216811015620001d757604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016200008e565b6001600160a01b0383166200020257604051635b6cc80560e11b81525f60048201526024016200008e565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b80516001600160601b038116811462000267575f80fd5b919050565b5f805f606084860312156200027f575f80fd5b83516001600160a01b038116811462000296575f80fd5b602085810151919450906001600160401b0380821115620002b5575f80fd5b818701915087601f830112620002c9575f80fd5b815181811115620002de57620002de6200023c565b604051601f8201601f19908116603f011681019083821181831017156200030957620003096200023c565b816040528281528a8684870101111562000321575f80fd5b5f93505b8284101562000344578484018601518185018701529285019262000325565b5f868483010152809750505050505050620003626040850162000250565b90509250925092565b600181811c908216806200038057607f821691505b6020821081036200039f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003f057805f5260205f20601f840160051c81016020851015620003cc5750805b601f840160051c820191505b81811015620003ed575f8155600101620003d8565b50505b505050565b81516001600160401b038111156200041157620004116200023c565b62000429816200042284546200036b565b84620003a5565b602080601f8311600181146200045f575f8415620004475750858301515b5f19600386901b1c1916600185901b178555620004b9565b5f85815260208120601f198616915b828110156200048f578886015182559484019460019091019084016200046e565b5085821015620004ad57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b61390680620004cf5f395ff3fe60806040526004361061028e575f3560e01c80636352211e11610155578063a596dae3116100be578063cbce4c9711610078578063cbce4c9714610b1d578063d007af5c14610b3c578063e985e9c514610b50578063f152015714610b97578063f2fde38b14610bb6578063fd762d9214610bd5575f80fd5b8063a596dae314610a5e578063a9fc664e14610a80578063b2118a8d14610a9f578063b88d4fde14610abe578063be537f4314610add578063c87b56dd14610afe575f80fd5b8063715018a61161010f578063715018a6146109bd5780638da5cb5b146109d157806395d89b41146109ed5780639d645a4414610a015780639edfbec914610a20578063a22cb46514610a3f575f80fd5b80636352211e146109195780636b8eed0a146109385780636c0360eb146109575780636c3b86991461096b5780636f8b44b01461097f57806370a082311461099e575f80fd5b80632e8da829116101f7578063495c8bf9116101b1578063495c8bf91461085b57806350431ce41461087c57806355f804b3146108905780635bb2f691146108af5780635d4c1d46146108ce57806361347162146108fa575f80fd5b80632e8da829146107b55780632f255240146107d457806332cb6b0c146107e95780633c768d0e146107fe57806342842e0e1461081d57806342966c681461083c575f80fd5b8063098144d411610248578063098144d4146106d657806318160ddd146106f35780631b25b077146107185780631c33b3281461073757806323b872dd146107585780632a55205a14610777575f80fd5b806301463546146105e757806301ffc9a71461062957806304634d8d1461065857806306fdde0314610677578063081812fc14610698578063095ea7b3146106b7575f80fd5b366105e35761029b610bf4565b5f34116102e55760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461033190600190612db6565b81101561049257600d818154811061034b5761034b612dc9565b5f91825260209091200154925061036e6127106103683486610c4d565b90610c61565b915061037a8483610c6c565b93505f600c828154811061039057610390612dc9565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146103e1576040519150601f19603f3d011682016040523d82523d5f602084013e6103e6565b606091505b50509050806104295760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061045d5761045d612dc9565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610322565b505f831180156104a35750600c5415155b156105d557600c80545f91906104bb90600190612db6565b815481106104cb576104cb612dc9565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f811461051c576040519150601f19603f3d011682016040523d82523d5f602084013e610521565b606091505b50509050806105645760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174919061059790600190612db6565b815481106105a7576105a7612dc9565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506105e160018055565b005b5f80fd5b3480156105f2575f80fd5b5061060c71721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610634575f80fd5b50610648610643366004612df2565b610c77565b6040519015158152602001610620565b348015610663575f80fd5b506105e1610672366004612e21565b610c90565b348015610682575f80fd5b5061068b610ca6565b6040516106209190612eb0565b3480156106a3575f80fd5b5061060c6106b2366004612ec2565b610d36565b3480156106c2575f80fd5b506105e16106d1366004612ed9565b610d78565b3480156106e1575f80fd5b50600e546001600160a01b031661060c565b3480156106fe575f80fd5b50600354600254035f19015b604051908152602001610620565b348015610723575f80fd5b50610648610732366004612f03565b610e16565b348015610742575f80fd5b5061074b600181565b6040516106209190612f6b565b348015610763575f80fd5b506105e1610772366004612f79565b610eab565b348015610782575f80fd5b50610796610791366004612fb7565b611046565b604080516001600160a01b039093168352602083019190915201610620565b3480156107c0575f80fd5b506106486107cf366004612fd7565b6110f0565b3480156107df575f80fd5b5061070a61271081565b3480156107f4575f80fd5b5061070a600f5481565b348015610809575f80fd5b5061060c610818366004612ec2565b6111f6565b348015610828575f80fd5b506105e1610837366004612f79565b61121e565b348015610847575f80fd5b506105e1610856366004612ec2565b61123d565b348015610866575f80fd5b5061086f6112cd565b6040516106209190613035565b348015610887575f80fd5b506105e16113d7565b34801561089b575f80fd5b506105e16108aa3660046130e1565b6114db565b3480156108ba575f80fd5b506105e16108c93660046131b5565b6114ef565b3480156108d9575f80fd5b506108e2600181565b6040516001600160781b039091168152602001610620565b348015610905575f80fd5b506105e1610914366004613291565b611501565b348015610924575f80fd5b5061060c610933366004612ec2565b61165c565b348015610943575f80fd5b506105e1610952366004612fd7565b611666565b348015610962575f80fd5b5061068b6117a8565b348015610976575f80fd5b506105e1611834565b34801561098a575f80fd5b506105e1610999366004612ec2565b611923565b3480156109a9575f80fd5b5061070a6109b8366004612fd7565b611930565b3480156109c8575f80fd5b506105e161197d565b3480156109dc575f80fd5b505f546001600160a01b031661060c565b3480156109f8575f80fd5b5061068b61198e565b348015610a0c575f80fd5b50610648610a1b366004612fd7565b61199d565b348015610a2b575f80fd5b506105e1610a3a3660046132ce565b611a62565b348015610a4a575f80fd5b506105e1610a5936600461334a565b611b0a565b348015610a69575f80fd5b50610a72611b9e565b604051610620929190613376565b348015610a8b575f80fd5b506105e1610a9a366004612fd7565b611c57565b348015610aaa575f80fd5b506105e1610ab9366004612f79565b611d76565b348015610ac9575f80fd5b506105e1610ad83660046133cb565b611dee565b348015610ae8575f80fd5b50610af1611e32565b6040516106209190613446565b348015610b09575f80fd5b5061068b610b18366004612ec2565b611ee9565b348015610b28575f80fd5b506105e1610b37366004612ed9565b611f9a565b348015610b47575f80fd5b5061086f612009565b348015610b5b575f80fd5b50610648610b6a366004613481565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610ba2575f80fd5b5061070a610bb1366004612ec2565b6120c0565b348015610bc1575f80fd5b506105e1610bd0366004612fd7565b6120df565b348015610be0575f80fd5b506105e1610bef3660046134ad565b612119565b600260015403610c465760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102dc565b6002600155565b5f610c588284613506565b90505b92915050565b5f610c58828461351d565b5f610c588284612db6565b5f610c818261220e565b80610c5b5750610c5b82612276565b610c986122aa565b610ca282826122d6565b5050565b606060048054610cb59061353c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce19061353c565b8015610d2c5780601f10610d0357610100808354040283529160200191610d2c565b820191905f5260205f20905b815481529060010190602001808311610d0f57829003601f168201915b5050505050905090565b5f610d408261232b565b610d5d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f610d828261165c565b9050336001600160a01b03821614610dbb57610d9e8133610b6a565b610dbb576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e545f906001600160a01b031615610ea057600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e7c575f80fd5b505afa925050508015610e8d575060015b610e9857505f610ea4565b506001610ea4565b5060015b9392505050565b5f610eb58261235e565b9050836001600160a01b0316816001600160a01b031614610ee85760405162a1148160e81b815260040160405180910390fd5b5f8281526008602052604090208054610f138187335b6001600160a01b039081169116811491141790565b610f3e57610f218633610b6a565b610f3e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f6557604051633a954ecd60e21b815260040160405180910390fd5b8015610f6f575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b84169003610ffc57600184015f818152600660205260408120549003610ffa576002548114610ffa575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110ba575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906110d8906001600160601b031687613506565b6110e2919061351d565b915196919550909350505050565b600e545f906001600160a01b0316156111ef57600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa158015611151573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111759190613574565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa1580156111cb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5b91906135e4565b505f919050565b600c8181548110611205575f80fd5b5f918252602090912001546001600160a01b0316905081565b61123883838360405180602001604052805f815250611dee565b505050565b611245610bf4565b5f546001600160a01b031633148061127657506112618161165c565b6001600160a01b0316336001600160a01b0316145b6112b85760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016102dc565b6112c1816123c8565b6112ca60018055565b50565b600e546060906001600160a01b0316156113c557600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa15801561132f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113539190613574565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa158015611399573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113c091908101906135ff565b905090565b50604080515f81526020810190915290565b6113df6122aa565b6113e7610bf4565b47806114355760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016102dc565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f811461147f576040519150601f19603f3d011682016040523d82523d5f602084013e611484565b606091505b50509050806114ce5760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016102dc565b50506114d960018055565b565b6114e36122aa565b6010610ca282826136d8565b6114f76122aa565b610ca282826123d2565b61150961242c565b5f61151c600e546001600160a01b031690565b90506001600160a01b03811661154557604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c0906115739030908890600401613794565b5f604051808303815f87803b15801561158a575f80fd5b505af115801561159c573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506115ce90309087906004016137b1565b5f604051808303815f87803b1580156115e5575f80fd5b505af11580156115f7573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d744314915061162990309086906004016137b1565b5f604051808303815f87803b158015611640575f80fd5b505af1158015611652573d5f803e3d5ffd5b5050505050505050565b5f610c5b8261235e565b61166e610bf4565b6001600160a01b0381166116bd5760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016102dc565b5f805b600c5481101561175057336001600160a01b0316600c82815481106116e7576116e7612dc9565b5f918252602090912001546001600160a01b0316036117485782600c828154811061171457611714612dc9565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611750565b6001016116c0565b508061179e5760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016102dc565b506112ca60018055565b601080546117b59061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546117e19061353c565b801561182c5780601f106118035761010080835404028352916020019161182c565b820191905f5260205f20905b81548152906001019060200180831161180f57829003601f168201915b505050505081565b61183c61242c565b61185771721c310194ccfc01e523fc93c9cccfa2a0ac611c57565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061188f903090600190600401613794565b5f604051808303815f87803b1580156118a6575f80fd5b505af11580156118b8573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506118f49030906001906004016137b1565b5f604051808303815f87803b15801561190b575f80fd5b505af115801561191d573d5f803e3d5ffd5b50505050565b61192b6122aa565b600f55565b5f6001600160a01b038216611958576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b6119856122aa565b6114d95f612485565b606060058054610cb59061353c565b600e545f906001600160a01b0316156111ef57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156119fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a229190613574565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044016111b0565b611a6a6122aa565b600f54600354600254839190035f1901611a8491906137d3565b1115611ac75760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b5f5b8181101561123857611b02838383818110611ae657611ae6612dc9565b9050602002016020810190611afb9190612fd7565b60016124d4565b600101611ac9565b336001600160a01b03831603611b335760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611bf857602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611bda575b5050505050915080805480602002602001604051908101604052809291908181526020018280548015611c4857602002820191905f5260205f20905b815481526020019060010190808311611c34575b50505050509050915091509091565b611c5f61242c565b5f6001600160a01b0382163b15611cd8576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa925050508015611cd0575060408051601f3d908101601f19168201909252611ccd918101906135e4565b60015b15611cd85790505b6001600160a01b03821615801590611cee575080155b15611d0c576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b611d7e6122aa565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015611dca573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191d91906135e4565b611df9848484610eab565b6001600160a01b0383163b1561191d57611e15848484846124ed565b61191d576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b031615611ec957600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611ea5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c09190613574565b50604080516060810182525f808252602082018190529181019190915290565b6060611ef48261232b565b611f405760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102dc565b5f60108054611f4e9061353c565b905011611f695760405180602001604052805f815250610c5b565b6010611f74836125d5565b604051602001611f859291906137e6565b60405160208183030381529060405292915050565b611fa26122aa565b600f54600354600254839190035f1901611fbc91906137d3565b1115611fff5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b610ca282826124d4565b600e546060906001600160a01b0316156113c557600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa15801561206b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208f9190613574565b60409081015190516001600160e01b031960e084901b1681526001600160781b03909116600482015260240161137f565b600d81815481106120cf575f80fd5b5f91825260209091200154905081565b6120e76122aa565b6001600160a01b03811661211057604051631e4fbdf760e01b81525f60048201526024016102dc565b6112ca81612485565b61212161242c565b61212a84611c57565b604051630368065360e61b81526001600160a01b0385169063da0194c0906121589030908790600401613794565b5f604051808303815f87803b15801561216f575f80fd5b505af1158015612181573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa0291506121b390309086906004016137b1565b5f604051808303815f87803b1580156121ca575f80fd5b505af11580156121dc573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d744314915061162990309085906004016137b1565b5f6301ffc9a760e01b6001600160e01b03198316148061223e57506380ac58cd60e01b6001600160e01b03198316145b80612259575063152a902d60e11b6001600160e01b03198316145b80610c5b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610c5b57506301ffc9a760e01b6001600160e01b0319831614610c5b565b5f546001600160a01b031633146114d95760405163118cdaa760e01b81523360048201526024016102dc565b6122e08282612665565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f8160011115801561233e575060025482105b8015610c5b5750505f90815260066020526040902054600160e01b161590565b5f81806001116123af576002548110156123af575f8181526006602052604081205490600160e01b821690036123ad575b805f03610ea457505f19015f8181526006602052604090205461238f565b505b604051636f96cda160e11b815260040160405180910390fd5b6112ca815f612707565b600c54156124225760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016102dc565b610ca28282612849565b5f546001600160a01b031633146114d95760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016102dc565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ca2828260405180602001604052805f815250612ac9565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612521903390899088908890600401613879565b6020604051808303815f875af192505050801561255b575060408051601f3d908101601f19168201909252612558918101906138b5565b60015b6125b7573d808015612588576040519150601f19603f3d011682016040523d82523d5f602084013e61258d565b606091505b5080515f036125af576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6125e183612b34565b60010190505f8167ffffffffffffffff81111561260057612600613047565b6040519080825280601f01601f19166020018201604052801561262a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461263457509392505050565b6127106001600160601b0382168110156126a457604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016102dc565b6001600160a01b0383166126cd57604051635b6cc80560e11b81525f60048201526024016102dc565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f6127118361235e565b9050805f8061272d865f90815260086020526040902080549091565b91509150841561276d57612742818433610efe565b61276d576127508333610b6a565b61276d57604051632ce44b5f60e11b815260040160405180910390fd5b8015612777575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b8516900361280157600186015f8181526006602052604081205490036127ff5760025481146127ff575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b80518251146128935760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016102dc565b5f8251116128e35760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016102dc565b5f805b8351811015612a07575f6001600160a01b031684828151811061290b5761290b612dc9565b60200260200101516001600160a01b0316036129695760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016102dc565b5f83828151811061297c5761297c612dc9565b6020026020010151116129d15760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016102dc565b6129fd8382815181106129e6576129e6612dc9565b602002602001015183612c0b90919063ffffffff16565b91506001016128e6565b506127108114612a635760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016102dc565b8251612a7690600c906020860190612cf2565b508151612a8a90600d906020850190612d55565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a48383604051612abc929190613376565b60405180910390a1505050565b612ad38383612c16565b6001600160a01b0383163b15611238576002548281035b612afc5f8683806001019450866124ed565b612b19576040516368d2bf6b60e11b815260040160405180910390fd5b818110612aea578160025414612b2d575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b725772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b9e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612bbc57662386f26fc10000830492506010015b6305f5e1008310612bd4576305f5e100830492506008015b6127108310612be857612710830492506004015b60648310612bfa576064830492506002015b600a8310610c5b5760010192915050565b5f610c5882846137d3565b6002546001600160a01b038316612c3f57604051622e076360e81b815260040160405180910390fd5b815f03612c5f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612ca75760025550505050565b828054828255905f5260205f20908101928215612d45579160200282015b82811115612d4557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612d10565b50612d51929150612d8e565b5090565b828054828255905f5260205f20908101928215612d45579160200282015b82811115612d45578251825591602001919060010190612d73565b5b80821115612d51575f8155600101612d8f565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610c5b57610c5b612da2565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b0319811681146112ca575f80fd5b5f60208284031215612e02575f80fd5b8135610ea481612ddd565b6001600160a01b03811681146112ca575f80fd5b5f8060408385031215612e32575f80fd5b8235612e3d81612e0d565b915060208301356001600160601b0381168114612e58575f80fd5b809150509250929050565b5f5b83811015612e7d578181015183820152602001612e65565b50505f910152565b5f8151808452612e9c816020860160208601612e63565b601f01601f19169290920160200192915050565b602081525f610c586020830184612e85565b5f60208284031215612ed2575f80fd5b5035919050565b5f8060408385031215612eea575f80fd5b8235612ef581612e0d565b946020939093013593505050565b5f805f60608486031215612f15575f80fd5b8335612f2081612e0d565b92506020840135612f3081612e0d565b91506040840135612f4081612e0d565b809150509250925092565b60078110612f6757634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610c5b8284612f4b565b5f805f60608486031215612f8b575f80fd5b8335612f9681612e0d565b92506020840135612fa681612e0d565b929592945050506040919091013590565b5f8060408385031215612fc8575f80fd5b50508035926020909101359150565b5f60208284031215612fe7575f80fd5b8135610ea481612e0d565b5f815180845260208085019450602084015f5b8381101561302a5781516001600160a01b031687529582019590820190600101613005565b509495945050505050565b602081525f610c586020830184612ff2565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561308457613084613047565b604052919050565b5f67ffffffffffffffff8311156130a5576130a5613047565b6130b8601f8401601f191660200161305b565b90508281528383830111156130cb575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156130f1575f80fd5b813567ffffffffffffffff811115613107575f80fd5b8201601f81018413613117575f80fd5b6125cd8482356020840161308c565b5f67ffffffffffffffff82111561313f5761313f613047565b5060051b60200190565b5f82601f830112613158575f80fd5b8135602061316d61316883613126565b61305b565b8083825260208201915060208460051b87010193508684111561318e575f80fd5b602086015b848110156131aa5780358352918301918301613193565b509695505050505050565b5f80604083850312156131c6575f80fd5b823567ffffffffffffffff808211156131dd575f80fd5b818501915085601f8301126131f0575f80fd5b8135602061320061316883613126565b82815260059290921b8401810191818101908984111561321e575f80fd5b948201945b8386101561324557853561323681612e0d565b82529482019490820190613223565b9650508601359250508082111561325a575f80fd5b5061326785828601613149565b9150509250929050565b600781106112ca575f80fd5b6001600160781b03811681146112ca575f80fd5b5f805f606084860312156132a3575f80fd5b83356132ae81613271565b925060208401356132be8161327d565b91506040840135612f408161327d565b5f80602083850312156132df575f80fd5b823567ffffffffffffffff808211156132f6575f80fd5b818501915085601f830112613309575f80fd5b813581811115613317575f80fd5b8660208260051b850101111561332b575f80fd5b60209290920196919550909350505050565b80151581146112ca575f80fd5b5f806040838503121561335b575f80fd5b823561336681612e0d565b91506020830135612e588161333d565b604081525f6133886040830185612ff2565b8281036020848101919091528451808352858201928201905f5b818110156133be578451835293830193918301916001016133a2565b5090979650505050505050565b5f805f80608085870312156133de575f80fd5b84356133e981612e0d565b935060208501356133f981612e0d565b925060408501359150606085013567ffffffffffffffff81111561341b575f80fd5b8501601f8101871361342b575f80fd5b61343a8782356020840161308c565b91505092959194509250565b5f606082019050613458828451612f4b565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f8060408385031215613492575f80fd5b823561349d81612e0d565b91506020830135612e5881612e0d565b5f805f80608085870312156134c0575f80fd5b84356134cb81612e0d565b935060208501356134db81613271565b925060408501356134eb8161327d565b915060608501356134fb8161327d565b939692955090935050565b8082028115828204841417610c5b57610c5b612da2565b5f8261353757634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c9082168061355057607f821691505b60208210810361356e57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60608284031215613584575f80fd5b6040516060810181811067ffffffffffffffff821117156135a7576135a7613047565b60405282516135b581613271565b815260208301516135c58161327d565b602082015260408301516135d88161327d565b60408201529392505050565b5f602082840312156135f4575f80fd5b8151610ea48161333d565b5f6020808385031215613610575f80fd5b825167ffffffffffffffff811115613626575f80fd5b8301601f81018513613636575f80fd5b805161364461316882613126565b81815260059190911b82018301908381019087831115613662575f80fd5b928401925b8284101561368957835161367a81612e0d565b82529284019290840190613667565b979650505050505050565b601f82111561123857805f5260205f20601f840160051c810160208510156136b95750805b601f840160051c820191505b81811015612b2d575f81556001016136c5565b815167ffffffffffffffff8111156136f2576136f2613047565b61370681613700845461353c565b84613694565b602080601f831160018114613739575f84156137225750858301515b5f19600386901b1c1916600185901b17855561103e565b5f85815260208120601f198616915b8281101561376757888601518255948401946001909101908401613748565b508582101561378457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038316815260408101610ea46020830184612f4b565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610c5b57610c5b612da2565b5f8084546137f38161353c565b6001828116801561380b57600181146138205761384c565b60ff198416875282151583028701945061384c565b885f526020805f205f5b858110156138435781548a82015290840190820161382a565b50505082870194505b505050508351613860818360208801612e63565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906138ab90830184612e85565b9695505050505050565b5f602082840312156138c5575f80fd5b8151610ea481612ddd56fea2646970667358221220022cabf0e0b9171caeed9bdf3637842690e9f1f79d695b7be33f46161b28043764736f6c63430008180033000000000000000000000000a992e265bfe8c437d35df27d08a80f7ba0c77d870000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000012f00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061028e575f3560e01c80636352211e11610155578063a596dae3116100be578063cbce4c9711610078578063cbce4c9714610b1d578063d007af5c14610b3c578063e985e9c514610b50578063f152015714610b97578063f2fde38b14610bb6578063fd762d9214610bd5575f80fd5b8063a596dae314610a5e578063a9fc664e14610a80578063b2118a8d14610a9f578063b88d4fde14610abe578063be537f4314610add578063c87b56dd14610afe575f80fd5b8063715018a61161010f578063715018a6146109bd5780638da5cb5b146109d157806395d89b41146109ed5780639d645a4414610a015780639edfbec914610a20578063a22cb46514610a3f575f80fd5b80636352211e146109195780636b8eed0a146109385780636c0360eb146109575780636c3b86991461096b5780636f8b44b01461097f57806370a082311461099e575f80fd5b80632e8da829116101f7578063495c8bf9116101b1578063495c8bf91461085b57806350431ce41461087c57806355f804b3146108905780635bb2f691146108af5780635d4c1d46146108ce57806361347162146108fa575f80fd5b80632e8da829146107b55780632f255240146107d457806332cb6b0c146107e95780633c768d0e146107fe57806342842e0e1461081d57806342966c681461083c575f80fd5b8063098144d411610248578063098144d4146106d657806318160ddd146106f35780631b25b077146107185780631c33b3281461073757806323b872dd146107585780632a55205a14610777575f80fd5b806301463546146105e757806301ffc9a71461062957806304634d8d1461065857806306fdde0314610677578063081812fc14610698578063095ea7b3146106b7575f80fd5b366105e35761029b610bf4565b5f34116102e55760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461033190600190612db6565b81101561049257600d818154811061034b5761034b612dc9565b5f91825260209091200154925061036e6127106103683486610c4d565b90610c61565b915061037a8483610c6c565b93505f600c828154811061039057610390612dc9565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146103e1576040519150601f19603f3d011682016040523d82523d5f602084013e6103e6565b606091505b50509050806104295760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061045d5761045d612dc9565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610322565b505f831180156104a35750600c5415155b156105d557600c80545f91906104bb90600190612db6565b815481106104cb576104cb612dc9565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f811461051c576040519150601f19603f3d011682016040523d82523d5f602084013e610521565b606091505b50509050806105645760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174919061059790600190612db6565b815481106105a7576105a7612dc9565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506105e160018055565b005b5f80fd5b3480156105f2575f80fd5b5061060c71721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610634575f80fd5b50610648610643366004612df2565b610c77565b6040519015158152602001610620565b348015610663575f80fd5b506105e1610672366004612e21565b610c90565b348015610682575f80fd5b5061068b610ca6565b6040516106209190612eb0565b3480156106a3575f80fd5b5061060c6106b2366004612ec2565b610d36565b3480156106c2575f80fd5b506105e16106d1366004612ed9565b610d78565b3480156106e1575f80fd5b50600e546001600160a01b031661060c565b3480156106fe575f80fd5b50600354600254035f19015b604051908152602001610620565b348015610723575f80fd5b50610648610732366004612f03565b610e16565b348015610742575f80fd5b5061074b600181565b6040516106209190612f6b565b348015610763575f80fd5b506105e1610772366004612f79565b610eab565b348015610782575f80fd5b50610796610791366004612fb7565b611046565b604080516001600160a01b039093168352602083019190915201610620565b3480156107c0575f80fd5b506106486107cf366004612fd7565b6110f0565b3480156107df575f80fd5b5061070a61271081565b3480156107f4575f80fd5b5061070a600f5481565b348015610809575f80fd5b5061060c610818366004612ec2565b6111f6565b348015610828575f80fd5b506105e1610837366004612f79565b61121e565b348015610847575f80fd5b506105e1610856366004612ec2565b61123d565b348015610866575f80fd5b5061086f6112cd565b6040516106209190613035565b348015610887575f80fd5b506105e16113d7565b34801561089b575f80fd5b506105e16108aa3660046130e1565b6114db565b3480156108ba575f80fd5b506105e16108c93660046131b5565b6114ef565b3480156108d9575f80fd5b506108e2600181565b6040516001600160781b039091168152602001610620565b348015610905575f80fd5b506105e1610914366004613291565b611501565b348015610924575f80fd5b5061060c610933366004612ec2565b61165c565b348015610943575f80fd5b506105e1610952366004612fd7565b611666565b348015610962575f80fd5b5061068b6117a8565b348015610976575f80fd5b506105e1611834565b34801561098a575f80fd5b506105e1610999366004612ec2565b611923565b3480156109a9575f80fd5b5061070a6109b8366004612fd7565b611930565b3480156109c8575f80fd5b506105e161197d565b3480156109dc575f80fd5b505f546001600160a01b031661060c565b3480156109f8575f80fd5b5061068b61198e565b348015610a0c575f80fd5b50610648610a1b366004612fd7565b61199d565b348015610a2b575f80fd5b506105e1610a3a3660046132ce565b611a62565b348015610a4a575f80fd5b506105e1610a5936600461334a565b611b0a565b348015610a69575f80fd5b50610a72611b9e565b604051610620929190613376565b348015610a8b575f80fd5b506105e1610a9a366004612fd7565b611c57565b348015610aaa575f80fd5b506105e1610ab9366004612f79565b611d76565b348015610ac9575f80fd5b506105e1610ad83660046133cb565b611dee565b348015610ae8575f80fd5b50610af1611e32565b6040516106209190613446565b348015610b09575f80fd5b5061068b610b18366004612ec2565b611ee9565b348015610b28575f80fd5b506105e1610b37366004612ed9565b611f9a565b348015610b47575f80fd5b5061086f612009565b348015610b5b575f80fd5b50610648610b6a366004613481565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610ba2575f80fd5b5061070a610bb1366004612ec2565b6120c0565b348015610bc1575f80fd5b506105e1610bd0366004612fd7565b6120df565b348015610be0575f80fd5b506105e1610bef3660046134ad565b612119565b600260015403610c465760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102dc565b6002600155565b5f610c588284613506565b90505b92915050565b5f610c58828461351d565b5f610c588284612db6565b5f610c818261220e565b80610c5b5750610c5b82612276565b610c986122aa565b610ca282826122d6565b5050565b606060048054610cb59061353c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce19061353c565b8015610d2c5780601f10610d0357610100808354040283529160200191610d2c565b820191905f5260205f20905b815481529060010190602001808311610d0f57829003601f168201915b5050505050905090565b5f610d408261232b565b610d5d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f610d828261165c565b9050336001600160a01b03821614610dbb57610d9e8133610b6a565b610dbb576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e545f906001600160a01b031615610ea057600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e7c575f80fd5b505afa925050508015610e8d575060015b610e9857505f610ea4565b506001610ea4565b5060015b9392505050565b5f610eb58261235e565b9050836001600160a01b0316816001600160a01b031614610ee85760405162a1148160e81b815260040160405180910390fd5b5f8281526008602052604090208054610f138187335b6001600160a01b039081169116811491141790565b610f3e57610f218633610b6a565b610f3e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f6557604051633a954ecd60e21b815260040160405180910390fd5b8015610f6f575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b84169003610ffc57600184015f818152600660205260408120549003610ffa576002548114610ffa575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110ba575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906110d8906001600160601b031687613506565b6110e2919061351d565b915196919550909350505050565b600e545f906001600160a01b0316156111ef57600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa158015611151573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111759190613574565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa1580156111cb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5b91906135e4565b505f919050565b600c8181548110611205575f80fd5b5f918252602090912001546001600160a01b0316905081565b61123883838360405180602001604052805f815250611dee565b505050565b611245610bf4565b5f546001600160a01b031633148061127657506112618161165c565b6001600160a01b0316336001600160a01b0316145b6112b85760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016102dc565b6112c1816123c8565b6112ca60018055565b50565b600e546060906001600160a01b0316156113c557600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa15801561132f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113539190613574565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa158015611399573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113c091908101906135ff565b905090565b50604080515f81526020810190915290565b6113df6122aa565b6113e7610bf4565b47806114355760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016102dc565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f811461147f576040519150601f19603f3d011682016040523d82523d5f602084013e611484565b606091505b50509050806114ce5760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016102dc565b50506114d960018055565b565b6114e36122aa565b6010610ca282826136d8565b6114f76122aa565b610ca282826123d2565b61150961242c565b5f61151c600e546001600160a01b031690565b90506001600160a01b03811661154557604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c0906115739030908890600401613794565b5f604051808303815f87803b15801561158a575f80fd5b505af115801561159c573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506115ce90309087906004016137b1565b5f604051808303815f87803b1580156115e5575f80fd5b505af11580156115f7573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d744314915061162990309086906004016137b1565b5f604051808303815f87803b158015611640575f80fd5b505af1158015611652573d5f803e3d5ffd5b5050505050505050565b5f610c5b8261235e565b61166e610bf4565b6001600160a01b0381166116bd5760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016102dc565b5f805b600c5481101561175057336001600160a01b0316600c82815481106116e7576116e7612dc9565b5f918252602090912001546001600160a01b0316036117485782600c828154811061171457611714612dc9565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611750565b6001016116c0565b508061179e5760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016102dc565b506112ca60018055565b601080546117b59061353c565b80601f01602080910402602001604051908101604052809291908181526020018280546117e19061353c565b801561182c5780601f106118035761010080835404028352916020019161182c565b820191905f5260205f20905b81548152906001019060200180831161180f57829003601f168201915b505050505081565b61183c61242c565b61185771721c310194ccfc01e523fc93c9cccfa2a0ac611c57565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061188f903090600190600401613794565b5f604051808303815f87803b1580156118a6575f80fd5b505af11580156118b8573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506118f49030906001906004016137b1565b5f604051808303815f87803b15801561190b575f80fd5b505af115801561191d573d5f803e3d5ffd5b50505050565b61192b6122aa565b600f55565b5f6001600160a01b038216611958576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b6119856122aa565b6114d95f612485565b606060058054610cb59061353c565b600e545f906001600160a01b0316156111ef57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156119fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a229190613574565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044016111b0565b611a6a6122aa565b600f54600354600254839190035f1901611a8491906137d3565b1115611ac75760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b5f5b8181101561123857611b02838383818110611ae657611ae6612dc9565b9050602002016020810190611afb9190612fd7565b60016124d4565b600101611ac9565b336001600160a01b03831603611b335760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611bf857602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611bda575b5050505050915080805480602002602001604051908101604052809291908181526020018280548015611c4857602002820191905f5260205f20905b815481526020019060010190808311611c34575b50505050509050915091509091565b611c5f61242c565b5f6001600160a01b0382163b15611cd8576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa925050508015611cd0575060408051601f3d908101601f19168201909252611ccd918101906135e4565b60015b15611cd85790505b6001600160a01b03821615801590611cee575080155b15611d0c576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b611d7e6122aa565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015611dca573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061191d91906135e4565b611df9848484610eab565b6001600160a01b0383163b1561191d57611e15848484846124ed565b61191d576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b031615611ec957600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611ea5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c09190613574565b50604080516060810182525f808252602082018190529181019190915290565b6060611ef48261232b565b611f405760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102dc565b5f60108054611f4e9061353c565b905011611f695760405180602001604052805f815250610c5b565b6010611f74836125d5565b604051602001611f859291906137e6565b60405160208183030381529060405292915050565b611fa26122aa565b600f54600354600254839190035f1901611fbc91906137d3565b1115611fff5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b610ca282826124d4565b600e546060906001600160a01b0316156113c557600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa15801561206b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061208f9190613574565b60409081015190516001600160e01b031960e084901b1681526001600160781b03909116600482015260240161137f565b600d81815481106120cf575f80fd5b5f91825260209091200154905081565b6120e76122aa565b6001600160a01b03811661211057604051631e4fbdf760e01b81525f60048201526024016102dc565b6112ca81612485565b61212161242c565b61212a84611c57565b604051630368065360e61b81526001600160a01b0385169063da0194c0906121589030908790600401613794565b5f604051808303815f87803b15801561216f575f80fd5b505af1158015612181573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa0291506121b390309086906004016137b1565b5f604051808303815f87803b1580156121ca575f80fd5b505af11580156121dc573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d744314915061162990309085906004016137b1565b5f6301ffc9a760e01b6001600160e01b03198316148061223e57506380ac58cd60e01b6001600160e01b03198316145b80612259575063152a902d60e11b6001600160e01b03198316145b80610c5b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610c5b57506301ffc9a760e01b6001600160e01b0319831614610c5b565b5f546001600160a01b031633146114d95760405163118cdaa760e01b81523360048201526024016102dc565b6122e08282612665565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f8160011115801561233e575060025482105b8015610c5b5750505f90815260066020526040902054600160e01b161590565b5f81806001116123af576002548110156123af575f8181526006602052604081205490600160e01b821690036123ad575b805f03610ea457505f19015f8181526006602052604090205461238f565b505b604051636f96cda160e11b815260040160405180910390fd5b6112ca815f612707565b600c54156124225760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016102dc565b610ca28282612849565b5f546001600160a01b031633146114d95760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016102dc565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ca2828260405180602001604052805f815250612ac9565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612521903390899088908890600401613879565b6020604051808303815f875af192505050801561255b575060408051601f3d908101601f19168201909252612558918101906138b5565b60015b6125b7573d808015612588576040519150601f19603f3d011682016040523d82523d5f602084013e61258d565b606091505b5080515f036125af576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6125e183612b34565b60010190505f8167ffffffffffffffff81111561260057612600613047565b6040519080825280601f01601f19166020018201604052801561262a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461263457509392505050565b6127106001600160601b0382168110156126a457604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016102dc565b6001600160a01b0383166126cd57604051635b6cc80560e11b81525f60048201526024016102dc565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f6127118361235e565b9050805f8061272d865f90815260086020526040902080549091565b91509150841561276d57612742818433610efe565b61276d576127508333610b6a565b61276d57604051632ce44b5f60e11b815260040160405180910390fd5b8015612777575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b8516900361280157600186015f8181526006602052604081205490036127ff5760025481146127ff575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b80518251146128935760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016102dc565b5f8251116128e35760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016102dc565b5f805b8351811015612a07575f6001600160a01b031684828151811061290b5761290b612dc9565b60200260200101516001600160a01b0316036129695760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016102dc565b5f83828151811061297c5761297c612dc9565b6020026020010151116129d15760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016102dc565b6129fd8382815181106129e6576129e6612dc9565b602002602001015183612c0b90919063ffffffff16565b91506001016128e6565b506127108114612a635760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016102dc565b8251612a7690600c906020860190612cf2565b508151612a8a90600d906020850190612d55565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a48383604051612abc929190613376565b60405180910390a1505050565b612ad38383612c16565b6001600160a01b0383163b15611238576002548281035b612afc5f8683806001019450866124ed565b612b19576040516368d2bf6b60e11b815260040160405180910390fd5b818110612aea578160025414612b2d575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b725772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b9e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612bbc57662386f26fc10000830492506010015b6305f5e1008310612bd4576305f5e100830492506008015b6127108310612be857612710830492506004015b60648310612bfa576064830492506002015b600a8310610c5b5760010192915050565b5f610c5882846137d3565b6002546001600160a01b038316612c3f57604051622e076360e81b815260040160405180910390fd5b815f03612c5f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612ca75760025550505050565b828054828255905f5260205f20908101928215612d45579160200282015b82811115612d4557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612d10565b50612d51929150612d8e565b5090565b828054828255905f5260205f20908101928215612d45579160200282015b82811115612d45578251825591602001919060010190612d73565b5b80821115612d51575f8155600101612d8f565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610c5b57610c5b612da2565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b0319811681146112ca575f80fd5b5f60208284031215612e02575f80fd5b8135610ea481612ddd565b6001600160a01b03811681146112ca575f80fd5b5f8060408385031215612e32575f80fd5b8235612e3d81612e0d565b915060208301356001600160601b0381168114612e58575f80fd5b809150509250929050565b5f5b83811015612e7d578181015183820152602001612e65565b50505f910152565b5f8151808452612e9c816020860160208601612e63565b601f01601f19169290920160200192915050565b602081525f610c586020830184612e85565b5f60208284031215612ed2575f80fd5b5035919050565b5f8060408385031215612eea575f80fd5b8235612ef581612e0d565b946020939093013593505050565b5f805f60608486031215612f15575f80fd5b8335612f2081612e0d565b92506020840135612f3081612e0d565b91506040840135612f4081612e0d565b809150509250925092565b60078110612f6757634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610c5b8284612f4b565b5f805f60608486031215612f8b575f80fd5b8335612f9681612e0d565b92506020840135612fa681612e0d565b929592945050506040919091013590565b5f8060408385031215612fc8575f80fd5b50508035926020909101359150565b5f60208284031215612fe7575f80fd5b8135610ea481612e0d565b5f815180845260208085019450602084015f5b8381101561302a5781516001600160a01b031687529582019590820190600101613005565b509495945050505050565b602081525f610c586020830184612ff2565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561308457613084613047565b604052919050565b5f67ffffffffffffffff8311156130a5576130a5613047565b6130b8601f8401601f191660200161305b565b90508281528383830111156130cb575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156130f1575f80fd5b813567ffffffffffffffff811115613107575f80fd5b8201601f81018413613117575f80fd5b6125cd8482356020840161308c565b5f67ffffffffffffffff82111561313f5761313f613047565b5060051b60200190565b5f82601f830112613158575f80fd5b8135602061316d61316883613126565b61305b565b8083825260208201915060208460051b87010193508684111561318e575f80fd5b602086015b848110156131aa5780358352918301918301613193565b509695505050505050565b5f80604083850312156131c6575f80fd5b823567ffffffffffffffff808211156131dd575f80fd5b818501915085601f8301126131f0575f80fd5b8135602061320061316883613126565b82815260059290921b8401810191818101908984111561321e575f80fd5b948201945b8386101561324557853561323681612e0d565b82529482019490820190613223565b9650508601359250508082111561325a575f80fd5b5061326785828601613149565b9150509250929050565b600781106112ca575f80fd5b6001600160781b03811681146112ca575f80fd5b5f805f606084860312156132a3575f80fd5b83356132ae81613271565b925060208401356132be8161327d565b91506040840135612f408161327d565b5f80602083850312156132df575f80fd5b823567ffffffffffffffff808211156132f6575f80fd5b818501915085601f830112613309575f80fd5b813581811115613317575f80fd5b8660208260051b850101111561332b575f80fd5b60209290920196919550909350505050565b80151581146112ca575f80fd5b5f806040838503121561335b575f80fd5b823561336681612e0d565b91506020830135612e588161333d565b604081525f6133886040830185612ff2565b8281036020848101919091528451808352858201928201905f5b818110156133be578451835293830193918301916001016133a2565b5090979650505050505050565b5f805f80608085870312156133de575f80fd5b84356133e981612e0d565b935060208501356133f981612e0d565b925060408501359150606085013567ffffffffffffffff81111561341b575f80fd5b8501601f8101871361342b575f80fd5b61343a8782356020840161308c565b91505092959194509250565b5f606082019050613458828451612f4b565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f8060408385031215613492575f80fd5b823561349d81612e0d565b91506020830135612e5881612e0d565b5f805f80608085870312156134c0575f80fd5b84356134cb81612e0d565b935060208501356134db81613271565b925060408501356134eb8161327d565b915060608501356134fb8161327d565b939692955090935050565b8082028115828204841417610c5b57610c5b612da2565b5f8261353757634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c9082168061355057607f821691505b60208210810361356e57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60608284031215613584575f80fd5b6040516060810181811067ffffffffffffffff821117156135a7576135a7613047565b60405282516135b581613271565b815260208301516135c58161327d565b602082015260408301516135d88161327d565b60408201529392505050565b5f602082840312156135f4575f80fd5b8151610ea48161333d565b5f6020808385031215613610575f80fd5b825167ffffffffffffffff811115613626575f80fd5b8301601f81018513613636575f80fd5b805161364461316882613126565b81815260059190911b82018301908381019087831115613662575f80fd5b928401925b8284101561368957835161367a81612e0d565b82529284019290840190613667565b979650505050505050565b601f82111561123857805f5260205f20601f840160051c810160208510156136b95750805b601f840160051c820191505b81811015612b2d575f81556001016136c5565b815167ffffffffffffffff8111156136f2576136f2613047565b61370681613700845461353c565b84613694565b602080601f831160018114613739575f84156137225750858301515b5f19600386901b1c1916600185901b17855561103e565b5f85815260208120601f198616915b8281101561376757888601518255948401946001909101908401613748565b508582101561378457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038316815260408101610ea46020830184612f4b565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610c5b57610c5b612da2565b5f8084546137f38161353c565b6001828116801561380b57600181146138205761384c565b60ff198416875282151583028701945061384c565b885f526020805f205f5b858110156138435781548a82015290840190820161382a565b50505082870194505b505050508351613860818360208801612e63565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906138ab90830184612e85565b9695505050505050565b5f602082840312156138c5575f80fd5b8151610ea481612ddd56fea2646970667358221220022cabf0e0b9171caeed9bdf3637842690e9f1f79d695b7be33f46161b28043764736f6c63430008180033

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

000000000000000000000000a992e265bfe8c437d35df27d08a80f7ba0c77d870000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000012f00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialOwner (address): 0xA992e265BfE8c437D35df27d08A80f7ba0c77d87
Arg [1] : _baseUri (string): /
Arg [2] : _royaltyFeeNumerator (uint96): 100

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a992e265bfe8c437d35df27d08a80f7ba0c77d87
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 2f00000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

115811:5777:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6542:21;:19;:21::i;:::-;93853:1:::1;93841:9;:13;93833:45;;;::::0;-1:-1:-1;;;93833:45:0;;216:2:1;93833:45:0::1;::::0;::::1;198:21:1::0;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:49;333:18;;93833:45:0::1;;;;;;;;;93894:38;::::0;;93910:10:::1;536:51:1::0;;93922:9:0::1;618:2:1::0;603:18;;596:34;93894:38:0::1;::::0;509:18:1;93894:38:0::1;;;;;;;93965:9;93945:17;::::0;;94097:485:::1;94121:16;:23:::0;:27:::1;::::0;94147:1:::1;::::0;94121:27:::1;:::i;:::-;94117:1;:31;94097:485;;;94178:13;94192:1;94178:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;94286:46:0::1;92212:5;94286:20;:9;94178:16:::0;94286:13:::1;:20::i;:::-;:24:::0;::::1;:46::i;:::-;94277:55:::0;-1:-1:-1;94359:21:0::1;:9:::0;94277:55;94359:13:::1;:21::i;:::-;94347:33;;94398:12;94416:16;94433:1;94416:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:43:::1;::::0;-1:-1:-1;;;;;94416:19:0;;::::1;::::0;94448:6;;94416:43;;:19;:43;94448:6;94416:19;:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94397:62;;;94482:7;94474:35;;;::::0;-1:-1:-1;;;94474:35:0;;1450:2:1;94474:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;94474:35:0::1;1248:339:1::0;94474:35:0::1;94529:41;94542:16;94559:1;94542:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;94529:41:::1;::::0;;-1:-1:-1;;;;;94542:19:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;94529:41:0::1;;;;;;;-1:-1:-1::0;94150:3:0::1;;94097:485;;;;94685:1;94673:9;:13;:44;;;;-1:-1:-1::0;94690:16:0::1;:23:::0;:27;;94673:44:::1;94669:375;;;94753:16;94770:23:::0;;94735:12:::1;::::0;94753:16;94770:27:::1;::::0;94796:1:::1;::::0;94770:27:::1;:::i;:::-;94753:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:90:::1;::::0;-1:-1:-1;;;;;94753:45:0;;::::1;::::0;94829:9;;94753:90;;:45;:90;94829:9;94753:45;:90:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94734:109;;;94866:7;94858:35;;;::::0;-1:-1:-1;;;94858:35:0;;1450:2:1;94858:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;94858:35:0::1;1248:339:1::0;94858:35:0::1;94944:16;94961:23:::0;;94913:119:::1;::::0;94944:16;94961:27:::1;::::0;94987:1:::1;::::0;94961:27:::1;:::i;:::-;94944:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;94913:119:::1;::::0;;-1:-1:-1;;;;;94944:45:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;94913:119:0::1;;;;;;;94719:325;94669:375;93822:1229;;;6586:20:::0;5980:1;7106:22;;6923:213;6586:20;115811:5777;;;;;105973:104;;;;;;;;;;;;106034:42;105973:104;;;;;-1:-1:-1;;;;;1756:32:1;;;1738:51;;1726:2;1711:18;105973:104:0;;;;;;;;120931:291;;;;;;;;;;-1:-1:-1;120931:291:0;;;;;:::i;:::-;;:::i;:::-;;;2351:14:1;;2344:22;2326:41;;2314:2;2299:18;120931:291:0;2186:187:1;119810:146:0;;;;;;;;;;-1:-1:-1;119810:146:0;;;;;:::i;:::-;;:::i;52449:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54401:204::-;;;;;;;;;;-1:-1:-1;54401:204:0;;;;;:::i;:::-;;:::i;53943:392::-;;;;;;;;;;-1:-1:-1;53943:392:0;;;;;:::i;:::-;;:::i;110499:137::-;;;;;;;;;;-1:-1:-1;110611:17:0;;-1:-1:-1;;;;;110611:17:0;110499:137;;45793:315;;;;;;;;;;-1:-1:-1;46059:12:0;;46043:13;;:28;-1:-1:-1;;46043:46:0;45793:315;;;4608:25:1;;;4596:2;4581:18;45793:315:0;4462:177:1;114283:387:0;;;;;;;;;;-1:-1:-1;114283:387:0;;;;;:::i;:::-;;:::i;106084:99::-;;;;;;;;;;;;106157:26;106084:99;;;;;;;;;:::i;63670:2800::-;;;;;;;;;;-1:-1:-1;63670:2800:0;;;;;:::i;:::-;;:::i;80221:429::-;;;;;;;;;;-1:-1:-1;80221:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;554:32:1;;;536:51;;618:2;603:18;;596:34;;;;509:18;80221:429:0;362:274:1;112628:357:0;;;;;;;;;;-1:-1:-1;112628:357:0;;;;;:::i;:::-;;:::i;92165:52::-;;;;;;;;;;;;92212:5;92165:52;;116204:32;;;;;;;;;;;;;;;;92284:33;;;;;;;;;;-1:-1:-1;92284:33:0;;;;;:::i;:::-;;:::i;55295:185::-;;;;;;;;;;-1:-1:-1;55295:185:0;;;;;:::i;:::-;;:::i;118304:221::-;;;;;;;;;;-1:-1:-1;118304:221:0;;;;;:::i;:::-;;:::i;111515:358::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;119319:302::-;;;;;;;;;;;;;:::i;118956:100::-;;;;;;;;;;-1:-1:-1;118956:100:0;;;;;:::i;:::-;;:::i;119964:196::-;;;;;;;;;;-1:-1:-1;119964:196:0;;;;;:::i;:::-;;:::i;106190:66::-;;;;;;;;;;;;106254:1;106190:66;;;;;-1:-1:-1;;;;;11031:45:1;;;11013:64;;11001:2;10986:18;106190:66:0;10867:216:1;108239:727:0;;;;;;;;;;-1:-1:-1;108239:727:0;;;;;:::i;:::-;;:::i;52238:144::-;;;;;;;;;;-1:-1:-1;52238:144:0;;;;;:::i;:::-;;:::i;95480:496::-;;;;;;;;;;-1:-1:-1;95480:496:0;;;;;:::i;:::-;;:::i;116427:21::-;;;;;;;;;;;;;:::i;106630:464::-;;;;;;;;;;;;;:::i;118772:97::-;;;;;;;;;;-1:-1:-1;118772:97:0;;;;;:::i;:::-;;:::i;47481:224::-;;;;;;;;;;-1:-1:-1;47481:224:0;;;;;:::i;:::-;;:::i;3361:103::-;;;;;;;;;;;;;:::i;2686:87::-;;;;;;;;;;-1:-1:-1;2732:7:0;2759:6;-1:-1:-1;;;;;2759:6:0;2686:87;;52618:104;;;;;;;;;;;;;:::i;113157:378::-;;;;;;;;;;-1:-1:-1;113157:378:0;;;;;:::i;:::-;;:::i;117770:337::-;;;;;;;;;;-1:-1:-1;117770:337:0;;;;;:::i;:::-;;:::i;54677:306::-;;;;;;;;;;-1:-1:-1;54677:306:0;;;;;:::i;:::-;;:::i;95151:178::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;109566:818::-;;;;;;;;;;-1:-1:-1;109566:818:0;;;;;:::i;:::-;;:::i;119118:127::-;;;;;;;;;;-1:-1:-1;119118:127:0;;;;;:::i;:::-;;:::i;55551:399::-;;;;;;;;;;-1:-1:-1;55551:399:0;;;;;:::i;:::-;;:::i;110853:455::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;120348:377::-;;;;;;;;;;-1:-1:-1;120348:377:0;;;;;:::i;:::-;;:::i;117479:185::-;;;;;;;;;;-1:-1:-1;117479:185:0;;;;;:::i;:::-;;:::i;112083:379::-;;;;;;;;;;;;;:::i;55060:164::-;;;;;;;;;;-1:-1:-1;55060:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55181:25:0;;;55157:4;55181:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55060:164;92324:30;;;;;;;;;;-1:-1:-1;92324:30:0;;;;;:::i;:::-;;:::i;3619:220::-;;;;;;;;;;-1:-1:-1;3619:220:0;;;;;:::i;:::-;;:::i;107297:749::-;;;;;;;;;;-1:-1:-1;107297:749:0;;;;;:::i;:::-;;:::i;6622:293::-;6024:1;6756:7;;:19;6748:63;;;;-1:-1:-1;;;6748:63:0;;17018:2:1;6748:63:0;;;17000:21:1;17057:2;17037:18;;;17030:30;17096:33;17076:18;;;17069:61;17147:18;;6748:63:0;16816:355:1;6748:63:0;6024:1;6889:7;:18;6622:293::o;88258:98::-;88316:7;88343:5;88347:1;88343;:5;:::i;:::-;88336:12;;88258:98;;;;;:::o;88657:::-;88715:7;88742:5;88746:1;88742;:5;:::i;87901:98::-;87959:7;87986:5;87990:1;87986;:5;:::i;120931:291::-;121079:4;121121:38;121147:11;121121:25;:38::i;:::-;:93;;;;121176:38;121202:11;121176:25;:38::i;119810:146::-;2572:13;:11;:13::i;:::-;119906:42:::1;119925:8;119935:12;119906:18;:42::i;:::-;119810:146:::0;;:::o;52449:100::-;52503:13;52536:5;52529:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52449:100;:::o;54401:204::-;54469:7;54494:16;54502:7;54494;:16::i;:::-;54489:64;;54519:34;;-1:-1:-1;;;54519:34:0;;;;;;;;;;;54489:64;-1:-1:-1;54573:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54573:24:0;;54401:204::o;53943:392::-;54024:13;54040:16;54048:7;54040;:16::i;:::-;54024:32;-1:-1:-1;74853:10:0;-1:-1:-1;;;;;54071:28:0;;;54067:175;;54119:44;54136:5;74853:10;55060:164;:::i;54119:44::-;54114:128;;54191:35;;-1:-1:-1;;;54191:35:0;;;;;;;;;;;54114:128;54254:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;54254:29:0;-1:-1:-1;;;;;54254:29:0;;;;;;;;;54299:28;;54254:24;;54299:28;;;;;;;54013:322;53943:392;;:::o;114283:387::-;114411:17;;114382:4;;-1:-1:-1;;;;;114411:17:0;114403:40;114399:242;;114464:17;;:65;;-1:-1:-1;;;114464:65:0;;-1:-1:-1;;;;;18346:15:1;;;114464:65:0;;;18328:34:1;18398:15;;;18378:18;;;18371:43;18450:15;;;18430:18;;;18423:43;114464:17:0;;;;:47;;18263:18:1;;114464:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114460:170;;-1:-1:-1;114609:5:0;114602:12;;114460:170;-1:-1:-1;114556:4:0;114549:11;;114460:170;-1:-1:-1;114658:4:0;114283:387;;;;;;:::o;63670:2800::-;63804:27;63834;63853:7;63834:18;:27::i;:::-;63804:57;;63919:4;-1:-1:-1;;;;;63878:45:0;63894:19;-1:-1:-1;;;;;63878:45:0;;63874:86;;63932:28;;-1:-1:-1;;;63932:28:0;;;;;;;;;;;63874:86;63974:27;62400:21;;;62227:15;62442:4;62435:36;62524:4;62508:21;;62614:26;;64158:62;62614:26;64194:4;74853:10;64200:19;-1:-1:-1;;;;;63219:31:0;;;63065:26;;63346:19;;63367:30;;63343:55;;62771:645;64158:62;64153:174;;64240:43;64257:4;74853:10;55060:164;:::i;64240:43::-;64235:92;;64292:35;;-1:-1:-1;;;64292:35:0;;;;;;;;;;;64235:92;-1:-1:-1;;;;;64344:16:0;;64340:52;;64369:23;;-1:-1:-1;;;64369:23:0;;;;;;;;;;;64340:52;64541:15;64538:160;;;64681:1;64660:19;64653:30;64538:160;-1:-1:-1;;;;;65076:24:0;;;;;;;:18;:24;;;;;;65074:26;;-1:-1:-1;;65074:26:0;;;65145:22;;;;;;;;;65143:24;;-1:-1:-1;65143:24:0;;;52137:11;52113:22;52109:40;52096:62;-1:-1:-1;;;52096:62:0;65438:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;65732:46:0;;:51;;65728:626;;65836:1;65826:11;;65804:19;65959:30;;;:17;:30;;;;;;:35;;65955:384;;66097:13;;66082:11;:28;66078:242;;66244:30;;;;:17;:30;;;;;:52;;;66078:242;65785:569;65728:626;66401:7;66397:2;-1:-1:-1;;;;;66382:27:0;66391:4;-1:-1:-1;;;;;66382:27:0;;;;;;;;;;;66420:42;63793:2677;;;63670:2800;;;:::o;80221:429::-;80307:7;80365:26;;;:17;:26;;;;;;;;80336:55;;;;;;;;;-1:-1:-1;;;;;80336:55:0;;;;;-1:-1:-1;;;80336:55:0;;;-1:-1:-1;;;;;80336:55:0;;;;;;;;80307:7;;80404:92;;-1:-1:-1;80455:29:0;;;;;;;;;80465:19;80455:29;-1:-1:-1;;;;;80455:29:0;;;;-1:-1:-1;;;80455:29:0;;-1:-1:-1;;;;;80455:29:0;;;;;80404:92;80545:23;;;;80508:21;;81016:5;;80533:35;;-1:-1:-1;;;;;80533:35:0;:9;:35;:::i;:::-;80532:57;;;;:::i;:::-;80610:16;;;;;-1:-1:-1;80221:429:0;;-1:-1:-1;;;;80221:429:0:o;112628:357::-;112736:17;;112707:4;;-1:-1:-1;;;;;112736:17:0;112728:40;112724:229;;112792:17;;112850:60;;-1:-1:-1;;;112850:60:0;;112904:4;112850:60;;;1738:51:1;-1:-1:-1;;;;;112792:17:0;;;;:39;;:17;;112850:45;;1711:18:1;;112850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;112792:149;;-1:-1:-1;;;;;;112792:149:0;;;;;;;-1:-1:-1;;;;;19484:45:1;;;112792:149:0;;;19466:64:1;-1:-1:-1;;;;;19566:32:1;;19546:18;;;19539:60;19439:18;;112792:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;112724:229::-;-1:-1:-1;112972:5:0;;112628:357;-1:-1:-1;112628:357:0:o;92284:33::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;92284:33:0;;-1:-1:-1;92284:33:0;:::o;55295:185::-;55433:39;55450:4;55456:2;55460:7;55433:39;;;;;;;;;;;;:16;:39::i;:::-;55295:185;;;:::o;118304:221::-;6542:21;:19;:21::i;:::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;118390:10:::1;:21;::::0;:55:::1;;;118429:16;118437:7;118429;:16::i;:::-;-1:-1:-1::0;;;;;118415:30:0::1;:10;-1:-1:-1::0;;;;;118415:30:0::1;;118390:55;118368:124;;;::::0;-1:-1:-1;;;118368:124:0;;20062:2:1;118368:124:0::1;::::0;::::1;20044:21:1::0;20101:2;20081:18;;;20074:30;-1:-1:-1;;;20120:18:1;;;20113:49;20179:18;;118368:124:0::1;19860:343:1::0;118368:124:0::1;118503:14;118509:7;118503:5;:14::i;:::-;6586:20:::0;5980:1;7106:22;;6923:213;6586:20;118304:221;:::o;111515:358::-;111621:17;;111580:16;;-1:-1:-1;;;;;111621:17:0;111613:40;111609:221;;111677:17;;111737:60;;-1:-1:-1;;;111737:60:0;;111791:4;111737:60;;;1738:51:1;-1:-1:-1;;;;;111677:17:0;;;;:41;;:17;;111737:45;;1711:18:1;;111737:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;111677:141;;-1:-1:-1;;;;;;111677:141:0;;;;;;;-1:-1:-1;;;;;11031:45:1;;;111677:141:0;;;11013:64:1;10986:18;;111677:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;111677:141:0;;;;;;;;;;;;:::i;:::-;111670:148;;111515:358;:::o;111609:221::-;-1:-1:-1;111849:16:0;;;111863:1;111849:16;;;;;;;;;111515:358::o;119319:302::-;2572:13;:11;:13::i;:::-;6542:21:::1;:19;:21::i;:::-;119406::::2;119446:11:::0;119438:51:::2;;;::::0;-1:-1:-1;;;119438:51:0;;21371:2:1;119438:51:0::2;::::0;::::2;21353:21:1::0;21410:2;21390:18;;;21383:30;21449:29;21429:18;;;21422:57;21496:18;;119438:51:0::2;21169:351:1::0;119438:51:0::2;119501:12;2759:6:::0;;119519:41:::2;::::0;-1:-1:-1;;;;;2759:6:0;;;;119548:7;;119501:12;119519:41;119501:12;119519:41;119548:7;2759:6;119519:41:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119500:60;;;119579:7;119571:42;;;::::0;-1:-1:-1;;;119571:42:0;;21727:2:1;119571:42:0::2;::::0;::::2;21709:21:1::0;21766:2;21746:18;;;21739:30;-1:-1:-1;;;21785:18:1;;;21778:52;21847:18;;119571:42:0::2;21525:346:1::0;119571:42:0::2;119377:244;;6586:20:::1;5980:1:::0;7106:22;;6923:213;6586:20:::1;119319:302::o:0;118956:100::-;2572:13;:11;:13::i;:::-;119030:7:::1;:18;119040:8:::0;119030:7;:18:::1;:::i;119964:196::-:0;2572:13;:11;:13::i;:::-;120107:45:::1;120132:10;120144:7;120107:24;:45::i;108239:727::-:0;108428:31;:29;:31::i;:::-;108472:40;108515:22;110611:17;;-1:-1:-1;;;;;110611:17:0;;110499:137;108515:22;108472:65;-1:-1:-1;;;;;;108552:32:0;;108548:117;;108608:45;;-1:-1:-1;;;108608:45:0;;;;;;;;;;;108548:117;108677:68;;-1:-1:-1;;;108677:68:0;;-1:-1:-1;;;;;108677:46:0;;;;;:68;;108732:4;;108739:5;;108677:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;108756:78:0;;-1:-1:-1;;;108756:78:0;;-1:-1:-1;;;;;108756:42:0;;;-1:-1:-1;108756:42:0;;-1:-1:-1;108756:78:0;;108807:4;;108814:19;;108756:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;108845:113:0;;-1:-1:-1;;;108845:113:0;;-1:-1:-1;;;;;108845:59:0;;;-1:-1:-1;108845:59:0;;-1:-1:-1;108845:113:0;;108913:4;;108920:37;;108845:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108417:549;108239:727;;;:::o;52238:144::-;52302:7;52345:27;52364:7;52345:18;:27::i;95480:496::-;6542:21;:19;:21::i;:::-;-1:-1:-1;;;;;95572:24:0;::::1;95564:59;;;::::0;-1:-1:-1;;;95564:59:0;;24902:2:1;95564:59:0::1;::::0;::::1;24884:21:1::0;24941:2;24921:18;;;24914:30;-1:-1:-1;;;24960:18:1;;;24953:52;25022:18;;95564:59:0::1;24700:346:1::0;95564:59:0::1;95636:12;95672:9:::0;95667:243:::1;95691:16;:23:::0;95687:27;::::1;95667:243;;;95763:10;-1:-1:-1::0;;;;;95740:33:0::1;:16;95757:1;95740:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;95740:19:0::1;:33:::0;95736:163:::1;;95816:10;95794:16;95811:1;95794:19;;;;;;;;:::i;:::-;;;;;;;;;:32;;;;;-1:-1:-1::0;;;;;95794:32:0::1;;;;;-1:-1:-1::0;;;;;95794:32:0::1;;;;;;95855:4;95845:14;;95878:5;;95736:163;95716:3;;95667:243;;;;95930:7;95922:46;;;::::0;-1:-1:-1;;;95922:46:0;;25253:2:1;95922:46:0::1;::::0;::::1;25235:21:1::0;25292:2;25272:18;;;25265:30;25331:28;25311:18;;;25304:56;25377:18;;95922:46:0::1;25051:350:1::0;95922:46:0::1;95553:423;6586:20:::0;5980:1;7106:22;;6923:213;116427:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;106630:464::-;106694:31;:29;:31::i;:::-;106736:48;106034:42;106736:20;:48::i;:::-;106795:143;;-1:-1:-1;;;106795:143:0;;106034:42;;106795:95;;:143;;106899:4;;106157:26;;106795:143;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;106949:137:0;;-1:-1:-1;;;106949:137:0;;106034:42;;-1:-1:-1;106949:91:0;;-1:-1:-1;106949:137:0;;107049:4;;106254:1;;106949:137;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106630:464::o;118772:97::-;2572:13;:11;:13::i;:::-;118841:10:::1;:20:::0;118772:97::o;47481:224::-;47545:7;-1:-1:-1;;;;;47569:19:0;;47565:60;;47597:28;;-1:-1:-1;;;47597:28:0;;;;;;;;;;;47565:60;-1:-1:-1;;;;;;47643:25:0;;;;;:18;:25;;;;;;41973:13;47643:54;;47481:224::o;3361:103::-;2572:13;:11;:13::i;:::-;3426:30:::1;3453:1;3426:18;:30::i;52618:104::-:0;52674:13;52707:7;52700:14;;;;;:::i;113157:378::-;113271:17;;113242:4;;-1:-1:-1;;;;;113271:17:0;113263:40;113259:244;;113327:17;;113391:60;;-1:-1:-1;;;113391:60:0;;113445:4;113391:60;;;1738:51:1;-1:-1:-1;;;;;113327:17:0;;;;:45;;:17;;113391:45;;1711:18:1;;113391:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;113327:164;;-1:-1:-1;;;;;;113327:164:0;;;;;;;-1:-1:-1;;;;;19484:45:1;;;113327:164:0;;;19466:64:1;-1:-1:-1;;;;;19566:32:1;;19546:18;;;19539:60;19439:18;;113327:164:0;19292:313:1;117770:337:0;2572:13;:11;:13::i;:::-;117952:10:::1;::::0;46059:12;;46043:13;;117931:10;;46043:28;;-1:-1:-1;;46043:46:0;117915:33:::1;;;;:::i;:::-;:47;;117907:78;;;::::0;-1:-1:-1;;;117907:78:0;;25738:2:1;117907:78:0::1;::::0;::::1;25720:21:1::0;25777:2;25757:18;;;25750:30;-1:-1:-1;;;25796:18:1;;;25789:48;25854:18;;117907:78:0::1;25536:342:1::0;117907:78:0::1;118003:9;117998:102;118018:21:::0;;::::1;117998:102;;;118061:27;118071:10;;118082:1;118071:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;118086:1;118061:9;:27::i;:::-;118041:3;;117998:102;;54677:306:::0;74853:10;-1:-1:-1;;;;;54776:31:0;;;54772:61;;54816:17;;-1:-1:-1;;;54816:17:0;;;;;;;;;;;54772:61;74853:10;54844:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;54844:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;54844:60:0;;;;;;;;;;54920:55;;2326:41:1;;;54844:49:0;;74853:10;54920:55;;2299:18:1;54920:55:0;;;;;;;54677:306;;:::o;95151:178::-;95229:16;95247;95289;95307:13;95281:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95281:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95151:178;;:::o;109566:818::-;109642:31;:29;:31::i;:::-;109686:29;-1:-1:-1;;;;;109739:30:0;;;:34;109736:304;;109794:95;;-1:-1:-1;;;109794:95:0;;109840:48;109794:95;;;26027:52:1;-1:-1:-1;;;;;109794:45:0;;;;;26000:18:1;;109794:95:0;;;;;;;;;;;;;;;;;;-1:-1:-1;109794:95:0;;;;;;;;-1:-1:-1;;109794:95:0;;;;;;;;;;;;:::i;:::-;;;109790:239;;;109987:17;-1:-1:-1;109790:239:0;-1:-1:-1;;;;;110055:32:0;;;;;;:61;;;110092:24;110091:25;110055:61;110052:152;;;110140:52;;-1:-1:-1;;;110140:52:0;;;;;;;;;;;110052:152;110254:17;;110221:72;;;-1:-1:-1;;;;;110254:17:0;;;26302:34:1;;26372:15;;;26367:2;26352:18;;26345:43;110221:72:0;;26237:18:1;110221:72:0;;;;;;;-1:-1:-1;110306:17:0;:70;;-1:-1:-1;;;;;;110306:70:0;-1:-1:-1;;;;;110306:70:0;;;;;;;;;;109566:818::o;119118:127::-;2572:13;:11;:13::i;:::-;119211:26:::1;::::0;-1:-1:-1;;;119211:26:0;;-1:-1:-1;;;;;554:32:1;;;119211:26:0::1;::::0;::::1;536:51:1::0;603:18;;;596:34;;;119211:14:0;::::1;::::0;::::1;::::0;509:18:1;;119211:26:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;55551:399::-:0;55718:31;55731:4;55737:2;55741:7;55718:12;:31::i;:::-;-1:-1:-1;;;;;55764:14:0;;;:19;55760:183;;55803:56;55834:4;55840:2;55844:7;55853:5;55803:30;:56::i;:::-;55798:145;;55887:40;;-1:-1:-1;;;55887:40:0;;;;;;;;;;;110853:455;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;110968:17:0;;-1:-1:-1;;;;;110968:17:0;110960:40;110956:140;;111024:17;;:60;;-1:-1:-1;;;111024:60:0;;111078:4;111024:60;;;1738:51:1;-1:-1:-1;;;;;111024:17:0;;;;:45;;1711:18:1;;111024:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;110956:140::-;-1:-1:-1;111115:185:0;;;;;;;;-1:-1:-1;111115:185:0;;;;;;;;;;;;;;;;;110853:455::o;120348:377::-;120466:13;120505:16;120513:7;120505;:16::i;:::-;120497:60;;;;-1:-1:-1;;;120497:60:0;;26601:2:1;120497:60:0;;;26583:21:1;26640:2;26620:18;;;26613:30;26679:33;26659:18;;;26652:61;26730:18;;120497:60:0;26399:355:1;120497:60:0;120612:1;120594:7;120588:21;;;;;:::i;:::-;;;:25;:129;;;;;;;;;;;;;;;;;120657:7;120666:18;:7;:16;:18::i;:::-;120640:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;120568:149;120348:377;-1:-1:-1;;120348:377:0:o;117479:185::-;2572:13;:11;:13::i;:::-;117589:10:::1;::::0;46059:12;;46043:13;;117577:8;;46043:28;;-1:-1:-1;;46043:46:0;117561:24:::1;;;;:::i;:::-;:38;;117553:69;;;::::0;-1:-1:-1;;;117553:69:0;;25738:2:1;117553:69:0::1;::::0;::::1;25720:21:1::0;25777:2;25757:18;;;25750:30;-1:-1:-1;;;25796:18:1;;;25789:48;25854:18;;117553:69:0::1;25536:342:1::0;117553:69:0::1;117633:23;117643:2;117647:8;117633:9;:23::i;112083:379::-:0;112195:17;;112154:16;;-1:-1:-1;;;;;112195:17:0;112187:40;112183:236;;112251:17;;112317:60;;-1:-1:-1;;;112317:60:0;;112371:4;112317:60;;;1738:51:1;-1:-1:-1;;;;;112251:17:0;;;;:47;;:17;;112317:45;;1711:18:1;;112317:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;112251:156;;-1:-1:-1;;;;;;112251:156:0;;;;;;;-1:-1:-1;;;;;11031:45:1;;;112251:156:0;;;11013:64:1;10986:18;;112251:156:0;10867:216:1;92324:30:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92324:30:0;:::o;3619:220::-;2572:13;:11;:13::i;:::-;-1:-1:-1;;;;;3704:22:0;::::1;3700:93;;3750:31;::::0;-1:-1:-1;;;3750:31:0;;3778:1:::1;3750:31;::::0;::::1;1738:51:1::0;1711:18;;3750:31:0::1;1592:203:1::0;3700:93:0::1;3803:28;3822:8;3803:18;:28::i;107297:749::-:0;107527:31;:29;:31::i;:::-;107571;107592:9;107571:20;:31::i;:::-;107615:114;;-1:-1:-1;;;107615:114:0;;-1:-1:-1;;;;;107615:92:0;;;;;:114;;107716:4;;107723:5;;107615:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;107742:124:0;;-1:-1:-1;;;107742:124:0;;-1:-1:-1;;;;;107742:88:0;;;-1:-1:-1;107742:88:0;;-1:-1:-1;107742:124:0;;107839:4;;107846:19;;107742:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;107879:159:0;;-1:-1:-1;;;107879:159:0;;-1:-1:-1;;;;;107879:105:0;;;-1:-1:-1;107879:105:0;;-1:-1:-1;107879:159:0;;107993:4;;108000:37;;107879:159;;;:::i;46739:678::-;46824:4;-1:-1:-1;;;;;;;;;47124:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47201:25:0;;;47124:102;:179;;;-1:-1:-1;;;;;;;;;;47278:25:0;;;47124:179;:242;;;-1:-1:-1;;;;;;;;47341:25:0;-1:-1:-1;;;47341:25:0;;46739:678::o;79951:215::-;80053:4;-1:-1:-1;;;;;;80077:41:0;;-1:-1:-1;;;80077:41:0;;:81;;-1:-1:-1;;;;;;;;;;77823:40:0;;;80122:36;77723:148;2851:166;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;74853:10;2911:23;2907:103;;2958:40;;-1:-1:-1;;;2958:40:0;;74853:10;2958:40;;;1738:51:1;1711:18;;2958:40:0;1592:203:1;83606:217:0;83710:48;83735:8;83745:12;83710:24;:48::i;:::-;83774:41;;-1:-1:-1;;;;;28114:39:1;;28096:58;;-1:-1:-1;;;;;83774:41:0;;;;;28084:2:1;28069:18;83774:41:0;;;;;;;83606:217;;:::o;56205:273::-;56262:4;56318:7;45400:1;56299:26;;:66;;;;;56352:13;;56342:7;:23;56299:66;:152;;;;-1:-1:-1;;56403:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;56403:43:0;:48;;56205:273::o;49155:1129::-;49222:7;49257;;45400:1;49306:23;49302:915;;49359:13;;49352:4;:20;49348:869;;;49397:14;49414:23;;;:17;:23;;;;;;;-1:-1:-1;;;49503:23:0;;:28;;49499:699;;50022:113;50029:6;50039:1;50029:11;50022:113;;-1:-1:-1;;;50100:6:0;50082:25;;;;:17;:25;;;;;;50022:113;;49499:699;49374:843;49348:869;50245:31;;-1:-1:-1;;;50245:31:0;;;;;;;;;;;66548:89;66608:21;66614:7;66623:5;66608;:21::i;93422:261::-;93564:16;:23;:28;93556:67;;;;-1:-1:-1;;;93556:67:0;;28367:2:1;93556:67:0;;;28349:21:1;28406:2;28386:18;;;28379:30;28445:28;28425:18;;;28418:56;28491:18;;93556:67:0;28165:350:1;93556:67:0;93634:41;93655:10;93667:7;93634:20;:41::i;121436:149::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;121519:10;:21;121511:66;;;;-1:-1:-1;;;121511:66:0;;28722:2:1;121511:66:0;;;28704:21:1;;;28741:18;;;28734:30;28800:34;28780:18;;;28773:62;28852:18;;121511:66:0;28520:356:1;3999:191:0;4073:16;4092:6;;-1:-1:-1;;;;;4109:17:0;;;-1:-1:-1;;;;;;4109:17:0;;;;;;4142:40;;4092:6;;;;;;;4142:40;;4073:16;4142:40;4062:128;3999:191;:::o;56562:104::-;56631:27;56641:2;56645:8;56631:27;;;;;;;;;;;;:9;:27::i;70421:716::-;70605:88;;-1:-1:-1;;;70605:88:0;;70584:4;;-1:-1:-1;;;;;70605:45:0;;;;;:88;;74853:10;;70672:4;;70678:7;;70687:5;;70605:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70605:88:0;;;;;;;;-1:-1:-1;;70605:88:0;;;;;;;;;;;;:::i;:::-;;;70601:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70888:6;:13;70905:1;70888:18;70884:235;;70934:40;;-1:-1:-1;;;70934:40:0;;;;;;;;;;;70884:235;71077:6;71071:13;71062:6;71058:2;71054:15;71047:38;70601:529;-1:-1:-1;;;;;;70764:64:0;-1:-1:-1;;;70764:64:0;;-1:-1:-1;70601:529:0;70421:716;;;;;;:::o;24932:718::-;24988:13;25039:14;25056:17;25067:5;25056:10;:17::i;:::-;25076:1;25056:21;25039:38;;25092:20;25126:6;25115:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25115:18:0;-1:-1:-1;25092:41:0;-1:-1:-1;25257:28:0;;;25273:2;25257:28;25314:290;-1:-1:-1;;25346:5:0;-1:-1:-1;;;25483:2:0;25472:14;;25467:32;25346:5;25454:46;25546:2;25537:11;;;-1:-1:-1;25567:21:0;25314:290;25567:21;-1:-1:-1;25625:6:0;24932:718;-1:-1:-1;;;24932:718:0:o;81300:518::-;81016:5;-1:-1:-1;;;;;81449:26:0;;;-1:-1:-1;81445:176:0;;;81554:55;;-1:-1:-1;;;81554:55:0;;-1:-1:-1;;;;;29820:39:1;;81554:55:0;;;29802:58:1;29876:18;;;29869:34;;;29775:18;;81554:55:0;29629:280:1;81445:176:0;-1:-1:-1;;;;;81635:22:0;;81631:110;;81681:48;;-1:-1:-1;;;81681:48:0;;81726:1;81681:48;;;1738:51:1;1711:18;;81681:48:0;1592:203:1;81631:110:0;-1:-1:-1;81775:35:0;;;;;;;;;-1:-1:-1;;;;;81775:35:0;;;;;;-1:-1:-1;;;;;81775:35:0;;;;;;;;;;-1:-1:-1;;;81753:57:0;;;;:19;:57;81300:518::o;66866:3063::-;66946:27;66976;66995:7;66976:18;:27::i;:::-;66946:57;-1:-1:-1;66946:57:0;67016:12;;67138:28;67158:7;62101:27;62400:21;;;62227:15;62442:4;62435:36;62524:4;62508:21;;62614:26;;62508:21;;62006:652;67138:28;67081:85;;;;67183:13;67179:310;;;67304:62;67323:15;67340:4;74853:10;67346:19;74766:105;67304:62;67299:178;;67390:43;67407:4;74853:10;55060:164;:::i;67390:43::-;67385:92;;67442:35;;-1:-1:-1;;;67442:35:0;;;;;;;;;;;67385:92;67645:15;67642:160;;;67785:1;67764:19;67757:30;67642:160;-1:-1:-1;;;;;68403:24:0;;;;;;:18;:24;;;;;:59;;68431:31;68403:59;;;52137:11;52113:22;52109:40;52096:62;-1:-1:-1;;;52096:62:0;68700:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;69023:46:0;;:51;;69019:626;;69127:1;69117:11;;69095:19;69250:30;;;:17;:30;;;;;;:35;;69246:384;;69388:13;;69373:11;:28;69369:242;;69535:30;;;;:17;:30;;;;;:52;;;69369:242;69076:569;69019:626;69673:35;;69700:7;;69696:1;;-1:-1:-1;;;;;69673:35:0;;;;;69696:1;;69673:35;-1:-1:-1;;69896:12:0;:14;;;;;;-1:-1:-1;;;;66866:3063:0:o;92453:858::-;92612:7;:14;92591:10;:17;:35;92583:70;;;;-1:-1:-1;;;92583:70:0;;30116:2:1;92583:70:0;;;30098:21:1;30155:2;30135:18;;;30128:30;-1:-1:-1;;;30174:18:1;;;30167:52;30236:18;;92583:70:0;29914:346:1;92583:70:0;92692:1;92672:10;:17;:21;92664:62;;;;-1:-1:-1;;;92664:62:0;;30467:2:1;92664:62:0;;;30449:21:1;30506:2;30486:18;;;30479:30;30545;30525:18;;;30518:58;30593:18;;92664:62:0;30265:352:1;92664:62:0;92739:20;;92770:267;92794:10;:17;92790:1;:21;92770:267;;;92866:1;-1:-1:-1;;;;;92841:27:0;:10;92852:1;92841:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;92841:27:0;;92833:64;;;;-1:-1:-1;;;92833:64:0;;30824:2:1;92833:64:0;;;30806:21:1;30863:2;30843:18;;;30836:30;30902:26;30882:18;;;30875:54;30946:18;;92833:64:0;30622:348:1;92833:64:0;92933:1;92920:7;92928:1;92920:10;;;;;;;;:::i;:::-;;;;;;;:14;92912:55;;;;-1:-1:-1;;;92912:55:0;;31177:2:1;92912:55:0;;;31159:21:1;31216:2;31196:18;;;31189:30;31255;31235:18;;;31228:58;31303:18;;92912:55:0;30975:352:1;92912:55:0;92997:28;93014:7;93022:1;93014:10;;;;;;;;:::i;:::-;;;;;;;92997:12;:16;;:28;;;;:::i;:::-;92982:43;-1:-1:-1;92813:3:0;;92770:267;;;;92212:5;93071:12;:36;93049:119;;;;-1:-1:-1;;;93049:119:0;;31534:2:1;93049:119:0;;;31516:21:1;31573:2;31553:18;;;31546:30;31612:34;31592:18;;;31585:62;-1:-1:-1;;;31663:18:1;;;31656:31;31704:19;;93049:119:0;31332:397:1;93049:119:0;93181:29;;;;:16;;:29;;;;;:::i;:::-;-1:-1:-1;93221:23:0;;;;:13;;:23;;;;;:::i;:::-;;93262:41;93283:10;93295:7;93262:41;;;;;;;:::i;:::-;;;;;;;;92572:739;92453:858;;:::o;57082:681::-;57205:19;57211:2;57215:8;57205:5;:19::i;:::-;-1:-1:-1;;;;;57266:14:0;;;:19;57262:483;;57320:13;;57368:14;;;57401:233;57432:62;57471:1;57475:2;57479:7;;;;;;57488:5;57432:30;:62::i;:::-;57427:167;;57530:40;;-1:-1:-1;;;57530:40:0;;;;;;;;;;;57427:167;57629:3;57621:5;:11;57401:233;;57716:3;57699:13;;:20;57695:34;;57721:8;;;57695:34;57287:458;;57082:681;;;:::o;19996:948::-;20049:7;;-1:-1:-1;;;20127:17:0;;20123:106;;-1:-1:-1;;;20165:17:0;;;-1:-1:-1;20211:2:0;20201:12;20123:106;20256:8;20247:5;:17;20243:106;;20294:8;20285:17;;;-1:-1:-1;20331:2:0;20321:12;20243:106;20376:8;20367:5;:17;20363:106;;20414:8;20405:17;;;-1:-1:-1;20451:2:0;20441:12;20363:106;20496:7;20487:5;:16;20483:103;;20533:7;20524:16;;;-1:-1:-1;20569:1:0;20559:11;20483:103;20613:7;20604:5;:16;20600:103;;20650:7;20641:16;;;-1:-1:-1;20686:1:0;20676:11;20600:103;20730:7;20721:5;:16;20717:103;;20767:7;20758:16;;;-1:-1:-1;20803:1:0;20793:11;20717:103;20847:7;20838:5;:16;20834:68;;20885:1;20875:11;20930:6;19996:948;-1:-1:-1;;19996:948:0:o;87520:98::-;87578:7;87605:5;87609:1;87605;:5;:::i;58036:1529::-;58124:13;;-1:-1:-1;;;;;58152:16:0;;58148:48;;58177:19;;-1:-1:-1;;;58177:19:0;;;;;;;;;;;58148:48;58211:8;58223:1;58211:13;58207:44;;58233:18;;-1:-1:-1;;;58233:18:0;;;;;;;;;;;58207:44;-1:-1:-1;;;;;58739:22:0;;;;;;:18;:22;;42110:2;58739:22;;:70;;58777:31;58765:44;;58739:70;;;52137:11;52113:22;52109:40;-1:-1:-1;53847:15:0;;53822:23;53818:45;52106:51;52096:62;59052:31;;;;:17;:31;;;;;:173;59070:12;59301:23;;;59339:101;59366:35;;59391:9;;;;;-1:-1:-1;;;;;59366:35:0;;;59383:1;;59366:35;;59383:1;;59366:35;59435:3;59425:7;:13;59339:101;;59456:13;:19;-1:-1:-1;55295:185:0;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;641:127:1;702:10;697:3;693:20;690:1;683:31;733:4;730:1;723:15;757:4;754:1;747:15;773:128;840:9;;;861:11;;;858:37;;;875:18;;:::i;906:127::-;967:10;962:3;958:20;955:1;948:31;998:4;995:1;988:15;1022:4;1019:1;1012:15;1800:131;-1:-1:-1;;;;;;1874:32:1;;1864:43;;1854:71;;1921:1;1918;1911:12;1936:245;1994:6;2047:2;2035:9;2026:7;2022:23;2018:32;2015:52;;;2063:1;2060;2053:12;2015:52;2102:9;2089:23;2121:30;2145:5;2121:30;:::i;2378:131::-;-1:-1:-1;;;;;2453:31:1;;2443:42;;2433:70;;2499:1;2496;2489:12;2514:435;2581:6;2589;2642:2;2630:9;2621:7;2617:23;2613:32;2610:52;;;2658:1;2655;2648:12;2610:52;2697:9;2684:23;2716:31;2741:5;2716:31;:::i;:::-;2766:5;-1:-1:-1;2823:2:1;2808:18;;2795:32;-1:-1:-1;;;;;2858:40:1;;2846:53;;2836:81;;2913:1;2910;2903:12;2836:81;2936:7;2926:17;;;2514:435;;;;;:::o;2954:250::-;3039:1;3049:113;3063:6;3060:1;3057:13;3049:113;;;3139:11;;;3133:18;3120:11;;;3113:39;3085:2;3078:10;3049:113;;;-1:-1:-1;;3196:1:1;3178:16;;3171:27;2954:250::o;3209:271::-;3251:3;3289:5;3283:12;3316:6;3311:3;3304:19;3332:76;3401:6;3394:4;3389:3;3385:14;3378:4;3371:5;3367:16;3332:76;:::i;:::-;3462:2;3441:15;-1:-1:-1;;3437:29:1;3428:39;;;;3469:4;3424:50;;3209:271;-1:-1:-1;;3209:271:1:o;3485:220::-;3634:2;3623:9;3616:21;3597:4;3654:45;3695:2;3684:9;3680:18;3672:6;3654:45;:::i;3710:180::-;3769:6;3822:2;3810:9;3801:7;3797:23;3793:32;3790:52;;;3838:1;3835;3828:12;3790:52;-1:-1:-1;3861:23:1;;3710:180;-1:-1:-1;3710:180:1:o;3895:315::-;3963:6;3971;4024:2;4012:9;4003:7;3999:23;3995:32;3992:52;;;4040:1;4037;4030:12;3992:52;4079:9;4066:23;4098:31;4123:5;4098:31;:::i;:::-;4148:5;4200:2;4185:18;;;;4172:32;;-1:-1:-1;;;3895:315:1:o;4644:529::-;4721:6;4729;4737;4790:2;4778:9;4769:7;4765:23;4761:32;4758:52;;;4806:1;4803;4796:12;4758:52;4845:9;4832:23;4864:31;4889:5;4864:31;:::i;:::-;4914:5;-1:-1:-1;4971:2:1;4956:18;;4943:32;4984:33;4943:32;4984:33;:::i;:::-;5036:7;-1:-1:-1;5095:2:1;5080:18;;5067:32;5108:33;5067:32;5108:33;:::i;:::-;5160:7;5150:17;;;4644:529;;;;;:::o;5310:250::-;5404:1;5397:5;5394:12;5384:143;;5449:10;5444:3;5440:20;5437:1;5430:31;5484:4;5481:1;5474:15;5512:4;5509:1;5502:15;5384:143;5536:18;;5310:250::o;5565:234::-;5724:2;5709:18;;5736:57;5713:9;5775:6;5736:57;:::i;5804:456::-;5881:6;5889;5897;5950:2;5938:9;5929:7;5925:23;5921:32;5918:52;;;5966:1;5963;5956:12;5918:52;6005:9;5992:23;6024:31;6049:5;6024:31;:::i;:::-;6074:5;-1:-1:-1;6131:2:1;6116:18;;6103:32;6144:33;6103:32;6144:33;:::i;:::-;5804:456;;6196:7;;-1:-1:-1;;;6250:2:1;6235:18;;;;6222:32;;5804:456::o;6265:248::-;6333:6;6341;6394:2;6382:9;6373:7;6369:23;6365:32;6362:52;;;6410:1;6407;6400:12;6362:52;-1:-1:-1;;6433:23:1;;;6503:2;6488:18;;;6475:32;;-1:-1:-1;6265:248:1:o;6518:247::-;6577:6;6630:2;6618:9;6609:7;6605:23;6601:32;6598:52;;;6646:1;6643;6636:12;6598:52;6685:9;6672:23;6704:31;6729:5;6704:31;:::i;6770:465::-;6823:3;6861:5;6855:12;6888:6;6883:3;6876:19;6914:4;6943;6938:3;6934:14;6927:21;;6982:4;6975:5;6971:16;7005:1;7015:195;7029:6;7026:1;7023:13;7015:195;;;7094:13;;-1:-1:-1;;;;;7090:39:1;7078:52;;7150:12;;;;7185:15;;;;7126:1;7044:9;7015:195;;;-1:-1:-1;7226:3:1;;6770:465;-1:-1:-1;;;;;6770:465:1:o;7240:261::-;7419:2;7408:9;7401:21;7382:4;7439:56;7491:2;7480:9;7476:18;7468:6;7439:56;:::i;7506:127::-;7567:10;7562:3;7558:20;7555:1;7548:31;7598:4;7595:1;7588:15;7622:4;7619:1;7612:15;7638:275;7709:2;7703:9;7774:2;7755:13;;-1:-1:-1;;7751:27:1;7739:40;;7809:18;7794:34;;7830:22;;;7791:62;7788:88;;;7856:18;;:::i;:::-;7892:2;7885:22;7638:275;;-1:-1:-1;7638:275:1:o;7918:407::-;7983:5;8017:18;8009:6;8006:30;8003:56;;;8039:18;;:::i;:::-;8077:57;8122:2;8101:15;;-1:-1:-1;;8097:29:1;8128:4;8093:40;8077:57;:::i;:::-;8068:66;;8157:6;8150:5;8143:21;8197:3;8188:6;8183:3;8179:16;8176:25;8173:45;;;8214:1;8211;8204:12;8173:45;8263:6;8258:3;8251:4;8244:5;8240:16;8227:43;8317:1;8310:4;8301:6;8294:5;8290:18;8286:29;8279:40;7918:407;;;;;:::o;8330:451::-;8399:6;8452:2;8440:9;8431:7;8427:23;8423:32;8420:52;;;8468:1;8465;8458:12;8420:52;8508:9;8495:23;8541:18;8533:6;8530:30;8527:50;;;8573:1;8570;8563:12;8527:50;8596:22;;8649:4;8641:13;;8637:27;-1:-1:-1;8627:55:1;;8678:1;8675;8668:12;8627:55;8701:74;8767:7;8762:2;8749:16;8744:2;8740;8736:11;8701:74;:::i;8786:183::-;8846:4;8879:18;8871:6;8868:30;8865:56;;;8901:18;;:::i;:::-;-1:-1:-1;8946:1:1;8942:14;8958:4;8938:25;;8786:183::o;8974:668::-;9028:5;9081:3;9074:4;9066:6;9062:17;9058:27;9048:55;;9099:1;9096;9089:12;9048:55;9135:6;9122:20;9161:4;9185:60;9201:43;9241:2;9201:43;:::i;:::-;9185:60;:::i;:::-;9267:3;9291:2;9286:3;9279:15;9319:4;9314:3;9310:14;9303:21;;9376:4;9370:2;9367:1;9363:10;9355:6;9351:23;9347:34;9333:48;;9404:3;9396:6;9393:15;9390:35;;;9421:1;9418;9411:12;9390:35;9457:4;9449:6;9445:17;9471:142;9487:6;9482:3;9479:15;9471:142;;;9553:17;;9541:30;;9591:12;;;;9504;;9471:142;;;-1:-1:-1;9631:5:1;8974:668;-1:-1:-1;;;;;;8974:668:1:o;9647:1215::-;9765:6;9773;9826:2;9814:9;9805:7;9801:23;9797:32;9794:52;;;9842:1;9839;9832:12;9794:52;9882:9;9869:23;9911:18;9952:2;9944:6;9941:14;9938:34;;;9968:1;9965;9958:12;9938:34;10006:6;9995:9;9991:22;9981:32;;10051:7;10044:4;10040:2;10036:13;10032:27;10022:55;;10073:1;10070;10063:12;10022:55;10109:2;10096:16;10131:4;10155:60;10171:43;10211:2;10171:43;:::i;10155:60::-;10249:15;;;10331:1;10327:10;;;;10319:19;;10315:28;;;10280:12;;;;10355:19;;;10352:39;;;10387:1;10384;10377:12;10352:39;10411:11;;;;10431:217;10447:6;10442:3;10439:15;10431:217;;;10527:3;10514:17;10544:31;10569:5;10544:31;:::i;:::-;10588:18;;10464:12;;;;10626;;;;10431:217;;;10667:5;-1:-1:-1;;10710:18:1;;10697:32;;-1:-1:-1;;10741:16:1;;;10738:36;;;10770:1;10767;10760:12;10738:36;;10793:63;10848:7;10837:8;10826:9;10822:24;10793:63;:::i;:::-;10783:73;;;9647:1215;;;;;:::o;11088:121::-;11183:1;11176:5;11173:12;11163:40;;11199:1;11196;11189:12;11214:144;-1:-1:-1;;;;;11293:5:1;11289:44;11282:5;11279:55;11269:83;;11348:1;11345;11338:12;11363:576;11467:6;11475;11483;11536:2;11524:9;11515:7;11511:23;11507:32;11504:52;;;11552:1;11549;11542:12;11504:52;11591:9;11578:23;11610:51;11655:5;11610:51;:::i;:::-;11680:5;-1:-1:-1;11737:2:1;11722:18;;11709:32;11750:33;11709:32;11750:33;:::i;:::-;11802:7;-1:-1:-1;11861:2:1;11846:18;;11833:32;11874:33;11833:32;11874:33;:::i;11944:615::-;12030:6;12038;12091:2;12079:9;12070:7;12066:23;12062:32;12059:52;;;12107:1;12104;12097:12;12059:52;12147:9;12134:23;12176:18;12217:2;12209:6;12206:14;12203:34;;;12233:1;12230;12223:12;12203:34;12271:6;12260:9;12256:22;12246:32;;12316:7;12309:4;12305:2;12301:13;12297:27;12287:55;;12338:1;12335;12328:12;12287:55;12378:2;12365:16;12404:2;12396:6;12393:14;12390:34;;;12420:1;12417;12410:12;12390:34;12473:7;12468:2;12458:6;12455:1;12451:14;12447:2;12443:23;12439:32;12436:45;12433:65;;;12494:1;12491;12484:12;12433:65;12525:2;12517:11;;;;;12547:6;;-1:-1:-1;11944:615:1;;-1:-1:-1;;;;11944:615:1:o;12564:118::-;12650:5;12643:13;12636:21;12629:5;12626:32;12616:60;;12672:1;12669;12662:12;12687:382;12752:6;12760;12813:2;12801:9;12792:7;12788:23;12784:32;12781:52;;;12829:1;12826;12819:12;12781:52;12868:9;12855:23;12887:31;12912:5;12887:31;:::i;:::-;12937:5;-1:-1:-1;12994:2:1;12979:18;;12966:32;13007:30;12966:32;13007:30;:::i;13074:804::-;13331:2;13320:9;13313:21;13294:4;13357:56;13409:2;13398:9;13394:18;13386:6;13357:56;:::i;:::-;13470:22;;;13432:2;13450:18;;;13443:50;;;;13542:13;;13564:22;;;13640:15;;;;13602;;;13673:1;13683:169;13697:6;13694:1;13691:13;13683:169;;;13758:13;;13746:26;;13827:15;;;;13792:12;;;;13719:1;13712:9;13683:169;;;-1:-1:-1;13869:3:1;;13074:804;-1:-1:-1;;;;;;;13074:804:1:o;14359:795::-;14454:6;14462;14470;14478;14531:3;14519:9;14510:7;14506:23;14502:33;14499:53;;;14548:1;14545;14538:12;14499:53;14587:9;14574:23;14606:31;14631:5;14606:31;:::i;:::-;14656:5;-1:-1:-1;14713:2:1;14698:18;;14685:32;14726:33;14685:32;14726:33;:::i;:::-;14778:7;-1:-1:-1;14832:2:1;14817:18;;14804:32;;-1:-1:-1;14887:2:1;14872:18;;14859:32;14914:18;14903:30;;14900:50;;;14946:1;14943;14936:12;14900:50;14969:22;;15022:4;15014:13;;15010:27;-1:-1:-1;15000:55:1;;15051:1;15048;15041:12;15000:55;15074:74;15140:7;15135:2;15122:16;15117:2;15113;15109:11;15074:74;:::i;:::-;15064:84;;;14359:795;;;;;;;:::o;15159:536::-;15335:4;15377:2;15366:9;15362:18;15354:26;;15389:64;15443:9;15434:6;15428:13;15389:64;:::i;:::-;15500:4;15492:6;15488:17;15482:24;-1:-1:-1;;;;;15613:2:1;15599:12;15595:21;15588:4;15577:9;15573:20;15566:51;15685:2;15677:4;15669:6;15665:17;15659:24;15655:33;15648:4;15637:9;15633:20;15626:63;;;15159:536;;;;:::o;15700:388::-;15768:6;15776;15829:2;15817:9;15808:7;15804:23;15800:32;15797:52;;;15845:1;15842;15835:12;15797:52;15884:9;15871:23;15903:31;15928:5;15903:31;:::i;:::-;15953:5;-1:-1:-1;16010:2:1;15995:18;;15982:32;16023:33;15982:32;16023:33;:::i;16093:718::-;16206:6;16214;16222;16230;16283:3;16271:9;16262:7;16258:23;16254:33;16251:53;;;16300:1;16297;16290:12;16251:53;16339:9;16326:23;16358:31;16383:5;16358:31;:::i;:::-;16408:5;-1:-1:-1;16465:2:1;16450:18;;16437:32;16478:53;16437:32;16478:53;:::i;:::-;16550:7;-1:-1:-1;16609:2:1;16594:18;;16581:32;16622:33;16581:32;16622:33;:::i;:::-;16674:7;-1:-1:-1;16733:2:1;16718:18;;16705:32;16746:33;16705:32;16746:33;:::i;:::-;16093:718;;;;-1:-1:-1;16093:718:1;;-1:-1:-1;;16093:718:1:o;17176:168::-;17249:9;;;17280;;17297:15;;;17291:22;;17277:37;17267:71;;17318:18;;:::i;17481:217::-;17521:1;17547;17537:132;;17591:10;17586:3;17582:20;17579:1;17572:31;17626:4;17623:1;17616:15;17654:4;17651:1;17644:15;17537:132;-1:-1:-1;17683:9:1;;17481:217::o;17703:380::-;17782:1;17778:12;;;;17825;;;17846:61;;17900:4;17892:6;17888:17;17878:27;;17846:61;17953:2;17945:6;17942:14;17922:18;17919:38;17916:161;;17999:10;17994:3;17990:20;17987:1;17980:31;18034:4;18031:1;18024:15;18062:4;18059:1;18052:15;17916:161;;17703:380;;;:::o;18477:810::-;18589:6;18642:2;18630:9;18621:7;18617:23;18613:32;18610:52;;;18658:1;18655;18648:12;18610:52;18691:2;18685:9;18733:2;18725:6;18721:15;18802:6;18790:10;18787:22;18766:18;18754:10;18751:34;18748:62;18745:88;;;18813:18;;:::i;:::-;18849:2;18842:22;18886:16;;18911:51;18886:16;18911:51;:::i;:::-;18971:21;;19037:2;19022:18;;19016:25;19050:33;19016:25;19050:33;:::i;:::-;19111:2;19099:15;;19092:32;19169:2;19154:18;;19148:25;19182:33;19148:25;19182:33;:::i;:::-;19243:2;19231:15;;19224:32;19235:6;18477:810;-1:-1:-1;;;18477:810:1:o;19610:245::-;19677:6;19730:2;19718:9;19709:7;19705:23;19701:32;19698:52;;;19746:1;19743;19736:12;19698:52;19778:9;19772:16;19797:28;19819:5;19797:28;:::i;20208:956::-;20303:6;20334:2;20377;20365:9;20356:7;20352:23;20348:32;20345:52;;;20393:1;20390;20383:12;20345:52;20426:9;20420:16;20459:18;20451:6;20448:30;20445:50;;;20491:1;20488;20481:12;20445:50;20514:22;;20567:4;20559:13;;20555:27;-1:-1:-1;20545:55:1;;20596:1;20593;20586:12;20545:55;20625:2;20619:9;20648:60;20664:43;20704:2;20664:43;:::i;20648:60::-;20742:15;;;20824:1;20820:10;;;;20812:19;;20808:28;;;20773:12;;;;20848:19;;;20845:39;;;20880:1;20877;20870:12;20845:39;20904:11;;;;20924:210;20940:6;20935:3;20932:15;20924:210;;;21013:3;21007:10;21030:31;21055:5;21030:31;:::i;:::-;21074:18;;20957:12;;;;21112;;;;20924:210;;;21153:5;20208:956;-1:-1:-1;;;;;;;20208:956:1:o;22002:518::-;22104:2;22099:3;22096:11;22093:421;;;22140:5;22137:1;22130:16;22184:4;22181:1;22171:18;22254:2;22242:10;22238:19;22235:1;22231:27;22225:4;22221:38;22290:4;22278:10;22275:20;22272:47;;;-1:-1:-1;22313:4:1;22272:47;22368:2;22363:3;22359:12;22356:1;22352:20;22346:4;22342:31;22332:41;;22423:81;22441:2;22434:5;22431:13;22423:81;;;22500:1;22486:16;;22467:1;22456:13;22423:81;;22696:1345;22822:3;22816:10;22849:18;22841:6;22838:30;22835:56;;;22871:18;;:::i;:::-;22900:97;22990:6;22950:38;22982:4;22976:11;22950:38;:::i;:::-;22944:4;22900:97;:::i;:::-;23052:4;;23109:2;23098:14;;23126:1;23121:663;;;;23828:1;23845:6;23842:89;;;-1:-1:-1;23897:19:1;;;23891:26;23842:89;-1:-1:-1;;22653:1:1;22649:11;;;22645:24;22641:29;22631:40;22677:1;22673:11;;;22628:57;23944:81;;23091:944;;23121:663;21949:1;21942:14;;;21986:4;21973:18;;-1:-1:-1;;23157:20:1;;;23275:236;23289:7;23286:1;23283:14;23275:236;;;23378:19;;;23372:26;23357:42;;23470:27;;;;23438:1;23426:14;;;;23305:19;;23275:236;;;23279:3;23539:6;23530:7;23527:19;23524:201;;;23600:19;;;23594:26;-1:-1:-1;;23683:1:1;23679:14;;;23695:3;23675:24;23671:37;23667:42;23652:58;23637:74;;23524:201;-1:-1:-1;;;;;23771:1:1;23755:14;;;23751:22;23738:36;;-1:-1:-1;22696:1345:1:o;24046:331::-;-1:-1:-1;;;;;24263:32:1;;24245:51;;24233:2;24218:18;;24305:66;24367:2;24352:18;;24344:6;24305:66;:::i;24382:313::-;-1:-1:-1;;;;;24574:32:1;;;;24556:51;;-1:-1:-1;;;;;24643:45:1;24638:2;24623:18;;24616:73;24544:2;24529:18;;24382:313::o;25406:125::-;25471:9;;;25492:10;;;25489:36;;;25505:18;;:::i;26759:1188::-;27036:3;27065:1;27098:6;27092:13;27128:36;27154:9;27128:36;:::i;:::-;27183:1;27200:17;;;27226:133;;;;27373:1;27368:358;;;;27193:533;;27226:133;-1:-1:-1;;27259:24:1;;27247:37;;27332:14;;27325:22;27313:35;;27304:45;;;-1:-1:-1;27226:133:1;;27368:358;27399:6;27396:1;27389:17;27429:4;27474;27471:1;27461:18;27501:1;27515:165;27529:6;27526:1;27523:13;27515:165;;;27607:14;;27594:11;;;27587:35;27650:16;;;;27544:10;;27515:165;;;27519:3;;;27709:6;27704:3;27700:16;27693:23;;27193:533;;;;;27757:6;27751:13;27773:68;27832:8;27827:3;27820:4;27812:6;27808:17;27773:68;:::i;:::-;-1:-1:-1;;;27863:18:1;;27890:22;;;27939:1;27928:13;;26759:1188;-1:-1:-1;;;;26759:1188:1:o;28881:489::-;-1:-1:-1;;;;;29150:15:1;;;29132:34;;29202:15;;29197:2;29182:18;;29175:43;29249:2;29234:18;;29227:34;;;29297:3;29292:2;29277:18;;29270:31;;;29075:4;;29318:46;;29344:19;;29336:6;29318:46;:::i;:::-;29310:54;28881:489;-1:-1:-1;;;;;;28881:489:1:o;29375:249::-;29444:6;29497:2;29485:9;29476:7;29472:23;29468:32;29465:52;;;29513:1;29510;29503:12;29465:52;29545:9;29539:16;29564:30;29588:5;29564:30;:::i

Swarm Source

ipfs://022cabf0e0b9171caeed9bdf3637842690e9f1f79d695b7be33f46161b280437
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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