ETH Price: $3,118.18 (+1.55%)
Gas: 4 Gwei

Token

TPAVIP (TPAV)
 

Overview

Max Total Supply

16 TPAV

Holders

16

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TPAV
0xf9346c2cfd24541af4c54c8ef2e5aa6f3d4834c1
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TPA_VIP

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-12-16
*/

// SPDX-License-Identifier: MIT
/*

 _____ _   _  _____  ____________ _____         ___   _____ _____ _____ _   _  _____ _____ _____ _____  _____ 
|_   _| | | ||  ___| | ___ \ ___ \  _  |       / _ \ |  ___/  ___|_   _| | | ||  ___|_   _|_   _/  __ \/  ___|
  | | | |_| || |__   | |_/ / |_/ / | | |______/ /_\ \| |__ \ `--.  | | | |_| || |__   | |   | | | /  \/\ `--. 
  | | |  _  ||  __|  |  __/|    /| | | |______|  _  ||  __| `--. \ | | |  _  ||  __|  | |   | | | |     `--. \
  | | | | | || |___  | |   | |\ \\ \_/ /      | | | || |___/\__/ / | | | | | || |___  | |  _| |_| \__/\/\__/ /
  \_/ \_| |_/\____/  \_|   \_| \_|\___/       \_| |_/\____/\____/  \_/ \_| |_/\____/  \_/  \___/ \____/\____/ 
                                                                                                              
                                                                                                              
 */
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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);
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                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.
            require(denominator > prod1, "Math: mulDiv overflow");

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;



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

    /**
     * @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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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 keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

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

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}


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

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual 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 virtual {
        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;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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 == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

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

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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 virtual {
        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 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 virtual {
        _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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

pragma solidity ^0.8.23;


contract TPA_VIP is ERC721A, Ownable {
    using ECDSA for bytes32;
    string private _tokenBaseURI = "https://beige-hungry-koi-808.mypinata.cloud/ipfs/QmVdVe4jnQ4u41Rprtn6LE7iXpLF4acjgCw7ERunaPYdQF/";
    uint256 public TOKENS_MAX = 333;
    uint256 public VIP_MINT_PRICE = 0.045 ether;
    uint256 public PUBLIC_MINT_PRICE = 0.05 ether;
    uint256 public MAX_VIP_MINTS = 1;
    uint256 public mintStartTime = 1702742400;
    uint256 public mintEndTime = 1703894400;
    mapping(address => uint256) public mintersList;

    address private PRIVATE_SIGNER = 0x16E258f6eF76453B96e5BA87d052Ad16b844bc1a;

    constructor() ERC721A("TPAVIP", "TPAV") {}

    modifier notContract() {
        require((!_isContract(msg.sender)) && (msg.sender == tx.origin), "CONTRACTS_NOT_ALLOWED");
        _;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }

    function matchAddresSigner(bytes memory signature, string memory SIG_WORD) private view returns (bool) {
        bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(msg.sender, SIG_WORD))));
        return PRIVATE_SIGNER == hash.recover(signature);
    }

    function VIP_MINT(uint256 quantity, bytes memory signature) external payable notContract {
        require(mintEndTime > block.timestamp && mintStartTime < block.timestamp, "VIP_MINT_CLOSED");
        require(matchAddresSigner(signature, "nMVC11xnHF_VIP"), "DIRECT_MINT_DISALLOWED");
        require(_totalMinted() + quantity <= TOKENS_MAX, "EXCEED_MAX");
        require(mintersList[msg.sender] + quantity <= MAX_VIP_MINTS, "EXCEED_PER_WALLET");
        require(VIP_MINT_PRICE * quantity <= msg.value, "INSUFFICIENT_ETH");

        mintersList[msg.sender] += quantity;
        _mint(msg.sender, quantity);
    }

    function mint(uint256 quantity) external payable notContract {
        require(mintEndTime > block.timestamp && (mintStartTime + 2 hours) < block.timestamp, "MINT_CLOSED");
        require(_totalMinted() + quantity <= TOKENS_MAX, "EXCEED_MAX");
        require(PUBLIC_MINT_PRICE * quantity <= msg.value, "INSUFFICIENT_ETH");
        _mint(msg.sender, quantity);
    }

    function changePrivateSigner(address newSigner) external onlyOwner {
        PRIVATE_SIGNER = newSigner;
    }

    function changeEndTime(uint256 newEndTime) external onlyOwner {
        mintEndTime = newEndTime;
    }

    function changeStartTime(uint256 newStartTime) external onlyOwner {
        mintStartTime = newStartTime;
    }

    function changePerWalletMax(uint256 newPerWalletMax) external onlyOwner {
        MAX_VIP_MINTS = newPerWalletMax;
    }

    function setVIPPrice(uint256 newPrice) external onlyOwner {
        VIP_MINT_PRICE = newPrice;
    }

    function setPublicPrice(uint256 newPrice) external onlyOwner {
        PUBLIC_MINT_PRICE = newPrice;
    }

    function setBaseURI(string calldata URI) external onlyOwner {
        _tokenBaseURI = URI;
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");
        return string(abi.encodePacked(_tokenBaseURI, _toString(tokenId)));
    }

    function withdraw() external onlyOwner {
        Address.sendValue(payable(0x5732801675E33891255132B0c999a308280B8744), address(this).balance);
    }
    
    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_VIP_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKENS_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"VIP_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"VIP_MINT_PRICE","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"changeEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPerWalletMax","type":"uint256"}],"name":"changePerWalletMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changePrivateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"changeStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintersList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setVIPPrice","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

61010060405260606080818152906200204e60a039600990620000239082620001eb565b5061014d600a55669fdf42f6e48000600b5566b1a2bc2ec50000600c556001600d5563657dc980600e5563658f5d80600f55601180546001600160a01b0319167316e258f6ef76453b96e5ba87d052ad16b844bc1a17905534801562000087575f80fd5b506040518060400160405280600681526020016505450415649560d41b815250604051806040016040528060048152602001632a2820ab60e11b8152508160029081620000d59190620001eb565b506003620000e48282620001eb565b505060015f5550620000f633620000fc565b620002b7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200017657607f821691505b6020821081036200019557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001e657805f5260205f20601f840160051c81016020851015620001c25750805b601f840160051c820191505b81811015620001e3575f8155600101620001ce565b50505b505050565b81516001600160401b038111156200020757620002076200014d565b6200021f8162000218845462000161565b846200019b565b602080601f83116001811462000255575f84156200023d5750858301515b5f19600386901b1c1916600185901b178555620002af565b5f85815260208120601f198616915b82811015620002855788860151825594840194600190910190840162000264565b5085821015620002a357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b611d8980620002c55f395ff3fe6080604052600436106101f4575f3560e01c806374da796911610108578063a67e91a81161009d578063c62752551161006d578063c62752551461051d578063c669322a1461053c578063c87b56dd1461055b578063e985e9c51461057a578063f2fde38b14610599575f80fd5b8063a67e91a8146104c1578063b5e42dd8146104d6578063b88d4fde146104eb578063bb32389c146104fe575f80fd5b806395d89b41116100d857806395d89b4114610450578063a0712d6814610464578063a22cb46514610477578063a3cade4114610496575f80fd5b806374da7969146103ec5780638aa5b2c3146103ff5780638da5cb5b1461041e578063931e2e491461043b575f80fd5b8063378fe582116101895780636352211e116101595780636352211e146103705780636bde26271461038f57806370a08231146103a4578063715018a6146103c3578063717a002b146103d7575f80fd5b8063378fe5821461030b5780633ccfd60b1461032a57806342842e0e1461033e57806355f804b314610351575f80fd5b806318160ddd116101c457806318160ddd146102a05780631a1ad606146102c457806323b872dd146102d95780633052b75e146102ec575f80fd5b806301ffc9a7146101ff57806306fdde0314610233578063081812fc14610254578063095ea7b31461028b575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b5061021e610219366004611772565b6105b8565b60405190151581526020015b60405180910390f35b34801561023e575f80fd5b50610247610609565b60405161022a91906117da565b34801561025f575f80fd5b5061027361026e3660046117ec565b610699565b6040516001600160a01b03909116815260200161022a565b61029e61029936600461181e565b6106db565b005b3480156102ab575f80fd5b506001545f54035f19015b60405190815260200161022a565b3480156102cf575f80fd5b506102b6600b5481565b61029e6102e7366004611846565b610779565b3480156102f7575f80fd5b5061029e6103063660046117ec565b610908565b348015610316575f80fd5b5061029e6103253660046117ec565b610915565b348015610335575f80fd5b5061029e610922565b61029e61034c366004611846565b61094a565b34801561035c575f80fd5b5061029e61036b36600461187f565b610969565b34801561037b575f80fd5b5061027361038a3660046117ec565b61097e565b34801561039a575f80fd5b506102b6600c5481565b3480156103af575f80fd5b506102b66103be3660046118eb565b610988565b3480156103ce575f80fd5b5061029e6109d5565b3480156103e2575f80fd5b506102b6600f5481565b61029e6103fa3660046119a1565b6109e6565b34801561040a575f80fd5b5061029e6104193660046117ec565b610c37565b348015610429575f80fd5b506008546001600160a01b0316610273565b348015610446575f80fd5b506102b6600e5481565b34801561045b575f80fd5b50610247610c44565b61029e6104723660046117ec565b610c53565b348015610482575f80fd5b5061029e6104913660046119e5565b610daf565b3480156104a1575f80fd5b506102b66104b03660046118eb565b60106020525f908152604090205481565b3480156104cc575f80fd5b506102b6600a5481565b3480156104e1575f80fd5b506102b6600d5481565b61029e6104f9366004611a1e565b610e1a565b348015610509575f80fd5b5061029e6105183660046117ec565b610e64565b348015610528575f80fd5b5061029e6105373660046117ec565b610e71565b348015610547575f80fd5b5061029e6105563660046118eb565b610e7e565b348015610566575f80fd5b506102476105753660046117ec565b610ea8565b348015610585575f80fd5b5061021e610594366004611a82565b610f31565b3480156105a4575f80fd5b5061029e6105b33660046118eb565b610f5e565b5f6301ffc9a760e01b6001600160e01b0319831614806105e857506380ac58cd60e01b6001600160e01b03198316145b806106035750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061890611ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461064490611ab3565b801561068f5780601f106106665761010080835404028352916020019161068f565b820191905f5260205f20905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b5f6106a382610fd4565b6106c0576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6106e58261097e565b9050336001600160a01b0382161461071e576107018133610f31565b61071e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61078382611006565b9050836001600160a01b0316816001600160a01b0316146107b65760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610802576107e58633610f31565b61080257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082957604051633a954ecd60e21b815260040160405180910390fd5b8015610833575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036108bf57600184015f8181526004602052604081205490036108bd575f5481146108bd575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610910611076565b600f55565b61091d611076565b600b55565b61092a611076565b610948735732801675e33891255132b0c999a308280b8744476110d0565b565b61096483838360405180602001604052805f815250610e1a565b505050565b610971611076565b6009610964828483611b36565b5f61060382611006565b5f6001600160a01b0382166109b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6109dd611076565b6109485f6111e5565b333b1580156109f457503332145b610a3d5760405162461bcd60e51b815260206004820152601560248201527410d3d395149050d514d7d393d517d0531313d5d151605a1b60448201526064015b60405180910390fd5b42600f54118015610a4f575042600e54105b610a8d5760405162461bcd60e51b815260206004820152600f60248201526e15925417d352539517d0d313d4d151608a1b6044820152606401610a34565b610abd816040518060400160405280600e81526020016d06e4d56433131786e48465f5649560941b815250611236565b610b025760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b6044820152606401610a34565b600a5482610b115f545f190190565b610b1b9190611c04565b1115610b565760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b6044820152606401610a34565b600d54335f90815260106020526040902054610b73908490611c04565b1115610bb55760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d4115497d5d053131155607a1b6044820152606401610a34565b3482600b54610bc49190611c17565b1115610c055760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610a34565b335f9081526010602052604081208054849290610c23908490611c04565b90915550610c33905033836112d1565b5050565b610c3f611076565b600e55565b60606003805461061890611ab3565b333b158015610c6157503332145b610ca55760405162461bcd60e51b815260206004820152601560248201527410d3d395149050d514d7d393d517d0531313d5d151605a1b6044820152606401610a34565b42600f54118015610cc4575042600e54611c20610cc29190611c04565b105b610cfe5760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b6044820152606401610a34565b600a5481610d0d5f545f190190565b610d179190611c04565b1115610d525760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b6044820152606401610a34565b3481600c54610d619190611c17565b1115610da25760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610a34565b610dac33826112d1565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e25848484610779565b6001600160a01b0383163b15610e5e57610e41848484846113c9565b610e5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e6c611076565b600d55565b610e79611076565b600c55565b610e86611076565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6060610eb382610fd4565b610eff5760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610a34565b6009610f0a836114b0565b604051602001610f1b929190611c2e565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f66611076565b6001600160a01b038116610fcb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b610dac816111e5565b5f81600111158015610fe657505f5482105b80156106035750505f90815260046020526040902054600160e01b161590565b5f818060011161105d575f5481101561105d575f8181526004602052604081205490600160e01b8216900361105b575b805f0361105457505f19015f81815260046020526040902054611036565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a34565b804710156111205760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a34565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611169576040519150601f19603f3d011682016040523d82523d5f602084013e61116e565b606091505b50509050806109645760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a34565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f80338360405160200161124b929190611cb1565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506112b881856114f3565b6011546001600160a01b03918216911614949350505050565b5f8054908290036112f55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113a15780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460010161136b565b50815f036113c157604051622e076360e81b815260040160405180910390fd5b5f5550505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113fd903390899088908890600401611ce8565b6020604051808303815f875af1925050508015611437575060408051601f3d908101601f1916820190925261143491810190611d24565b60015b611493573d808015611464576040519150601f19603f3d011682016040523d82523d5f602084013e611469565b606091505b5080515f0361148b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114c95750819003601f19909101908152919050565b5f805f6115008585611515565b9150915061150d81611557565b509392505050565b5f808251604103611549576020830151604084015160608501515f1a61153d878285856116a0565b94509450505050611550565b505f905060025b9250929050565b5f81600481111561156a5761156a611d3f565b036115725750565b600181600481111561158657611586611d3f565b036115d35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a34565b60028160048111156115e7576115e7611d3f565b036116345760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a34565b600381600481111561164857611648611d3f565b03610dac5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a34565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156116d557505f90506003611754565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611726573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b03811661174e575f60019250925050611754565b91505f90505b94509492505050565b6001600160e01b031981168114610dac575f80fd5b5f60208284031215611782575f80fd5b81356110548161175d565b5f5b838110156117a757818101518382015260200161178f565b50505f910152565b5f81518084526117c681602086016020860161178d565b601f01601f19169290920160200192915050565b602081525f61105460208301846117af565b5f602082840312156117fc575f80fd5b5035919050565b80356001600160a01b0381168114611819575f80fd5b919050565b5f806040838503121561182f575f80fd5b61183883611803565b946020939093013593505050565b5f805f60608486031215611858575f80fd5b61186184611803565b925061186f60208501611803565b9150604084013590509250925092565b5f8060208385031215611890575f80fd5b823567ffffffffffffffff808211156118a7575f80fd5b818501915085601f8301126118ba575f80fd5b8135818111156118c8575f80fd5b8660208285010111156118d9575f80fd5b60209290920196919550909350505050565b5f602082840312156118fb575f80fd5b61105482611803565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611927575f80fd5b813567ffffffffffffffff8082111561194257611942611904565b604051601f8301601f19908116603f0116810190828211818310171561196a5761196a611904565b81604052838152866020858801011115611982575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f80604083850312156119b2575f80fd5b82359150602083013567ffffffffffffffff8111156119cf575f80fd5b6119db85828601611918565b9150509250929050565b5f80604083850312156119f6575f80fd5b6119ff83611803565b915060208301358015158114611a13575f80fd5b809150509250929050565b5f805f8060808587031215611a31575f80fd5b611a3a85611803565b9350611a4860208601611803565b925060408501359150606085013567ffffffffffffffff811115611a6a575f80fd5b611a7687828801611918565b91505092959194509250565b5f8060408385031215611a93575f80fd5b611a9c83611803565b9150611aaa60208401611803565b90509250929050565b600181811c90821680611ac757607f821691505b602082108103611ae557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561096457805f5260205f20601f840160051c81016020851015611b105750805b601f840160051c820191505b81811015611b2f575f8155600101611b1c565b5050505050565b67ffffffffffffffff831115611b4e57611b4e611904565b611b6283611b5c8354611ab3565b83611aeb565b5f601f841160018114611b93575f8515611b7c5750838201355b5f19600387901b1c1916600186901b178355611b2f565b5f83815260208120601f198716915b82811015611bc25786850135825560209485019460019092019101611ba2565b5086821015611bde575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561060357610603611bf0565b808202811582820484141761060357610603611bf0565b5f808454611c3b81611ab3565b60018281168015611c535760018114611c6857611c94565b60ff1984168752821515830287019450611c94565b885f526020805f205f5b85811015611c8b5781548a820152908401908201611c72565b50505082870194505b505050508351611ca881836020880161178d565b01949350505050565b6bffffffffffffffffffffffff198360601b1681525f8251611cda81601485016020870161178d565b919091016014019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d1a908301846117af565b9695505050505050565b5f60208284031215611d34575f80fd5b81516110548161175d565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220885135b055627acb987e73334fc87b8cd201e6a6a8b7c8aba629613c9d51ae7c64736f6c6343000817003368747470733a2f2f62656967652d68756e6772792d6b6f692d3830382e6d7970696e6174612e636c6f75642f697066732f516d56645665346a6e5134753431527072746e364c45376958704c463461636a674377374552756e6150596451462f

Deployed Bytecode

0x6080604052600436106101f4575f3560e01c806374da796911610108578063a67e91a81161009d578063c62752551161006d578063c62752551461051d578063c669322a1461053c578063c87b56dd1461055b578063e985e9c51461057a578063f2fde38b14610599575f80fd5b8063a67e91a8146104c1578063b5e42dd8146104d6578063b88d4fde146104eb578063bb32389c146104fe575f80fd5b806395d89b41116100d857806395d89b4114610450578063a0712d6814610464578063a22cb46514610477578063a3cade4114610496575f80fd5b806374da7969146103ec5780638aa5b2c3146103ff5780638da5cb5b1461041e578063931e2e491461043b575f80fd5b8063378fe582116101895780636352211e116101595780636352211e146103705780636bde26271461038f57806370a08231146103a4578063715018a6146103c3578063717a002b146103d7575f80fd5b8063378fe5821461030b5780633ccfd60b1461032a57806342842e0e1461033e57806355f804b314610351575f80fd5b806318160ddd116101c457806318160ddd146102a05780631a1ad606146102c457806323b872dd146102d95780633052b75e146102ec575f80fd5b806301ffc9a7146101ff57806306fdde0314610233578063081812fc14610254578063095ea7b31461028b575f80fd5b366101fb57005b5f80fd5b34801561020a575f80fd5b5061021e610219366004611772565b6105b8565b60405190151581526020015b60405180910390f35b34801561023e575f80fd5b50610247610609565b60405161022a91906117da565b34801561025f575f80fd5b5061027361026e3660046117ec565b610699565b6040516001600160a01b03909116815260200161022a565b61029e61029936600461181e565b6106db565b005b3480156102ab575f80fd5b506001545f54035f19015b60405190815260200161022a565b3480156102cf575f80fd5b506102b6600b5481565b61029e6102e7366004611846565b610779565b3480156102f7575f80fd5b5061029e6103063660046117ec565b610908565b348015610316575f80fd5b5061029e6103253660046117ec565b610915565b348015610335575f80fd5b5061029e610922565b61029e61034c366004611846565b61094a565b34801561035c575f80fd5b5061029e61036b36600461187f565b610969565b34801561037b575f80fd5b5061027361038a3660046117ec565b61097e565b34801561039a575f80fd5b506102b6600c5481565b3480156103af575f80fd5b506102b66103be3660046118eb565b610988565b3480156103ce575f80fd5b5061029e6109d5565b3480156103e2575f80fd5b506102b6600f5481565b61029e6103fa3660046119a1565b6109e6565b34801561040a575f80fd5b5061029e6104193660046117ec565b610c37565b348015610429575f80fd5b506008546001600160a01b0316610273565b348015610446575f80fd5b506102b6600e5481565b34801561045b575f80fd5b50610247610c44565b61029e6104723660046117ec565b610c53565b348015610482575f80fd5b5061029e6104913660046119e5565b610daf565b3480156104a1575f80fd5b506102b66104b03660046118eb565b60106020525f908152604090205481565b3480156104cc575f80fd5b506102b6600a5481565b3480156104e1575f80fd5b506102b6600d5481565b61029e6104f9366004611a1e565b610e1a565b348015610509575f80fd5b5061029e6105183660046117ec565b610e64565b348015610528575f80fd5b5061029e6105373660046117ec565b610e71565b348015610547575f80fd5b5061029e6105563660046118eb565b610e7e565b348015610566575f80fd5b506102476105753660046117ec565b610ea8565b348015610585575f80fd5b5061021e610594366004611a82565b610f31565b3480156105a4575f80fd5b5061029e6105b33660046118eb565b610f5e565b5f6301ffc9a760e01b6001600160e01b0319831614806105e857506380ac58cd60e01b6001600160e01b03198316145b806106035750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061890611ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461064490611ab3565b801561068f5780601f106106665761010080835404028352916020019161068f565b820191905f5260205f20905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b5f6106a382610fd4565b6106c0576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6106e58261097e565b9050336001600160a01b0382161461071e576107018133610f31565b61071e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61078382611006565b9050836001600160a01b0316816001600160a01b0316146107b65760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610802576107e58633610f31565b61080257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661082957604051633a954ecd60e21b815260040160405180910390fd5b8015610833575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036108bf57600184015f8181526004602052604081205490036108bd575f5481146108bd575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610910611076565b600f55565b61091d611076565b600b55565b61092a611076565b610948735732801675e33891255132b0c999a308280b8744476110d0565b565b61096483838360405180602001604052805f815250610e1a565b505050565b610971611076565b6009610964828483611b36565b5f61060382611006565b5f6001600160a01b0382166109b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6109dd611076565b6109485f6111e5565b333b1580156109f457503332145b610a3d5760405162461bcd60e51b815260206004820152601560248201527410d3d395149050d514d7d393d517d0531313d5d151605a1b60448201526064015b60405180910390fd5b42600f54118015610a4f575042600e54105b610a8d5760405162461bcd60e51b815260206004820152600f60248201526e15925417d352539517d0d313d4d151608a1b6044820152606401610a34565b610abd816040518060400160405280600e81526020016d06e4d56433131786e48465f5649560941b815250611236565b610b025760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b6044820152606401610a34565b600a5482610b115f545f190190565b610b1b9190611c04565b1115610b565760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b6044820152606401610a34565b600d54335f90815260106020526040902054610b73908490611c04565b1115610bb55760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d4115497d5d053131155607a1b6044820152606401610a34565b3482600b54610bc49190611c17565b1115610c055760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610a34565b335f9081526010602052604081208054849290610c23908490611c04565b90915550610c33905033836112d1565b5050565b610c3f611076565b600e55565b60606003805461061890611ab3565b333b158015610c6157503332145b610ca55760405162461bcd60e51b815260206004820152601560248201527410d3d395149050d514d7d393d517d0531313d5d151605a1b6044820152606401610a34565b42600f54118015610cc4575042600e54611c20610cc29190611c04565b105b610cfe5760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b6044820152606401610a34565b600a5481610d0d5f545f190190565b610d179190611c04565b1115610d525760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b6044820152606401610a34565b3481600c54610d619190611c17565b1115610da25760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b6044820152606401610a34565b610dac33826112d1565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e25848484610779565b6001600160a01b0383163b15610e5e57610e41848484846113c9565b610e5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e6c611076565b600d55565b610e79611076565b600c55565b610e86611076565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6060610eb382610fd4565b610eff5760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610a34565b6009610f0a836114b0565b604051602001610f1b929190611c2e565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f66611076565b6001600160a01b038116610fcb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a34565b610dac816111e5565b5f81600111158015610fe657505f5482105b80156106035750505f90815260046020526040902054600160e01b161590565b5f818060011161105d575f5481101561105d575f8181526004602052604081205490600160e01b8216900361105b575b805f0361105457505f19015f81815260046020526040902054611036565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146109485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a34565b804710156111205760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a34565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611169576040519150601f19603f3d011682016040523d82523d5f602084013e61116e565b606091505b50509050806109645760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a34565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f80338360405160200161124b929190611cb1565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506112b881856114f3565b6011546001600160a01b03918216911614949350505050565b5f8054908290036112f55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113a15780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460010161136b565b50815f036113c157604051622e076360e81b815260040160405180910390fd5b5f5550505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113fd903390899088908890600401611ce8565b6020604051808303815f875af1925050508015611437575060408051601f3d908101601f1916820190925261143491810190611d24565b60015b611493573d808015611464576040519150601f19603f3d011682016040523d82523d5f602084013e611469565b606091505b5080515f0361148b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806114c95750819003601f19909101908152919050565b5f805f6115008585611515565b9150915061150d81611557565b509392505050565b5f808251604103611549576020830151604084015160608501515f1a61153d878285856116a0565b94509450505050611550565b505f905060025b9250929050565b5f81600481111561156a5761156a611d3f565b036115725750565b600181600481111561158657611586611d3f565b036115d35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a34565b60028160048111156115e7576115e7611d3f565b036116345760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a34565b600381600481111561164857611648611d3f565b03610dac5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a34565b5f807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156116d557505f90506003611754565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611726573d5f803e3d5ffd5b5050604051601f1901519150506001600160a01b03811661174e575f60019250925050611754565b91505f90505b94509492505050565b6001600160e01b031981168114610dac575f80fd5b5f60208284031215611782575f80fd5b81356110548161175d565b5f5b838110156117a757818101518382015260200161178f565b50505f910152565b5f81518084526117c681602086016020860161178d565b601f01601f19169290920160200192915050565b602081525f61105460208301846117af565b5f602082840312156117fc575f80fd5b5035919050565b80356001600160a01b0381168114611819575f80fd5b919050565b5f806040838503121561182f575f80fd5b61183883611803565b946020939093013593505050565b5f805f60608486031215611858575f80fd5b61186184611803565b925061186f60208501611803565b9150604084013590509250925092565b5f8060208385031215611890575f80fd5b823567ffffffffffffffff808211156118a7575f80fd5b818501915085601f8301126118ba575f80fd5b8135818111156118c8575f80fd5b8660208285010111156118d9575f80fd5b60209290920196919550909350505050565b5f602082840312156118fb575f80fd5b61105482611803565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611927575f80fd5b813567ffffffffffffffff8082111561194257611942611904565b604051601f8301601f19908116603f0116810190828211818310171561196a5761196a611904565b81604052838152866020858801011115611982575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f80604083850312156119b2575f80fd5b82359150602083013567ffffffffffffffff8111156119cf575f80fd5b6119db85828601611918565b9150509250929050565b5f80604083850312156119f6575f80fd5b6119ff83611803565b915060208301358015158114611a13575f80fd5b809150509250929050565b5f805f8060808587031215611a31575f80fd5b611a3a85611803565b9350611a4860208601611803565b925060408501359150606085013567ffffffffffffffff811115611a6a575f80fd5b611a7687828801611918565b91505092959194509250565b5f8060408385031215611a93575f80fd5b611a9c83611803565b9150611aaa60208401611803565b90509250929050565b600181811c90821680611ac757607f821691505b602082108103611ae557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561096457805f5260205f20601f840160051c81016020851015611b105750805b601f840160051c820191505b81811015611b2f575f8155600101611b1c565b5050505050565b67ffffffffffffffff831115611b4e57611b4e611904565b611b6283611b5c8354611ab3565b83611aeb565b5f601f841160018114611b93575f8515611b7c5750838201355b5f19600387901b1c1916600186901b178355611b2f565b5f83815260208120601f198716915b82811015611bc25786850135825560209485019460019092019101611ba2565b5086821015611bde575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561060357610603611bf0565b808202811582820484141761060357610603611bf0565b5f808454611c3b81611ab3565b60018281168015611c535760018114611c6857611c94565b60ff1984168752821515830287019450611c94565b885f526020805f205f5b85811015611c8b5781548a820152908401908201611c72565b50505082870194505b505050508351611ca881836020880161178d565b01949350505050565b6bffffffffffffffffffffffff198360601b1681525f8251611cda81601485016020870161178d565b919091016014019392505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d1a908301846117af565b9695505050505050565b5f60208284031215611d34575f80fd5b81516110548161175d565b634e487b7160e01b5f52602160045260245ffdfea2646970667358221220885135b055627acb987e73334fc87b8cd201e6a6a8b7c8aba629613c9d51ae7c64736f6c63430008170033

Deployed Bytecode Sourcemap

91803:3738:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58742:639;;;;;;;;;;-1:-1:-1;58742:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;58742:639:0;;;;;;;;59644:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;66135:218::-;;;;;;;;;;-1:-1:-1;66135:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;66135:218:0;1533:203:1;65568:408:0;;;;;;:::i;:::-;;:::i;:::-;;55395:323;;;;;;;;;;-1:-1:-1;92718:1:0;55669:12;55456:7;55653:13;:28;-1:-1:-1;;55653:46:0;55395:323;;;2324:25:1;;;2312:2;2297:18;55395:323:0;2178:177:1;92051:43:0;;;;;;;;;;;;;;;;69774:2825;;;;;;:::i;:::-;;:::i;94381:105::-;;;;;;;;;;-1:-1:-1;94381:105:0;;;;;:::i;:::-;;:::i;94745:102::-;;;;;;;;;;-1:-1:-1;94745:102:0;;;;;:::i;:::-;;:::i;95346:151::-;;;;;;;;;;;;;:::i;72695:193::-;;;;;;:::i;:::-;;:::i;94971:98::-;;;;;;;;;;-1:-1:-1;94971:98:0;;;;;:::i;:::-;;:::i;61037:152::-;;;;;;;;;;-1:-1:-1;61037:152:0;;;;;:::i;:::-;;:::i;92101:45::-;;;;;;;;;;;;;;;;56579:233;;;;;;;;;;-1:-1:-1;56579:233:0;;;;;:::i;:::-;;:::i;13173:103::-;;;;;;;;;;;;;:::i;92240:39::-;;;;;;;;;;;;;;;;93252:621;;;;;;:::i;:::-;;:::i;94494:113::-;;;;;;;;;;-1:-1:-1;94494:113:0;;;;;:::i;:::-;;:::i;12532:87::-;;;;;;;;;;-1:-1:-1;12605:6:0;;-1:-1:-1;;;;;12605:6:0;12532:87;;92192:41;;;;;;;;;;;;;;;;59820:104;;;;;;;;;;;;;:::i;93881:372::-;;;;;;:::i;:::-;;:::i;66693:234::-;;;;;;;;;;-1:-1:-1;66693:234:0;;;;;:::i;:::-;;:::i;92286:46::-;;;;;;;;;;-1:-1:-1;92286:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;92013:31;;;;;;;;;;;;;;;;92153:32;;;;;;;;;;;;;;;;73486:407;;;;;;:::i;:::-;;:::i;94615:122::-;;;;;;;;;;-1:-1:-1;94615:122:0;;;;;:::i;:::-;;:::i;94855:108::-;;;;;;;;;;-1:-1:-1;94855:108:0;;;;;:::i;:::-;;:::i;94261:112::-;;;;;;;;;;-1:-1:-1;94261:112:0;;;;;:::i;:::-;;:::i;95077:261::-;;;;;;;;;;-1:-1:-1;95077:261:0;;;;;:::i;:::-;;:::i;67084:164::-;;;;;;;;;;-1:-1:-1;67084:164:0;;;;;:::i;:::-;;:::i;13431:201::-;;;;;;;;;;-1:-1:-1;13431:201:0;;;;;:::i;:::-;;:::i;58742:639::-;58827:4;-1:-1:-1;;;;;;;;;59151:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;59228:25:0;;;59151:102;:179;;;-1:-1:-1;;;;;;;;;;59305:25:0;;;59151:179;59131:199;58742:639;-1:-1:-1;;58742:639:0:o;59644:100::-;59698:13;59731:5;59724:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59644:100;:::o;66135:218::-;66211:7;66236:16;66244:7;66236;:16::i;:::-;66231:64;;66261:34;;-1:-1:-1;;;66261:34:0;;;;;;;;;;;66231:64;-1:-1:-1;66315:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;66315:30:0;;66135:218::o;65568:408::-;65657:13;65673:16;65681:7;65673;:16::i;:::-;65657:32;-1:-1:-1;89901:10:0;-1:-1:-1;;;;;65706:28:0;;;65702:175;;65754:44;65771:5;89901:10;67084:164;:::i;65754:44::-;65749:128;;65826:35;;-1:-1:-1;;;65826:35:0;;;;;;;;;;;65749:128;65889:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;65889:35:0;-1:-1:-1;;;;;65889:35:0;;;;;;;;;65940:28;;65889:24;;65940:28;;;;;;;65646:330;65568:408;;:::o;69774:2825::-;69916:27;69946;69965:7;69946:18;:27::i;:::-;69916:57;;70031:4;-1:-1:-1;;;;;69990:45:0;70006:19;-1:-1:-1;;;;;69990:45:0;;69986:86;;70044:28;;-1:-1:-1;;;70044:28:0;;;;;;;;;;;69986:86;70086:27;68882:24;;;:15;:24;;;;;69110:26;;89901:10;68507:30;;;-1:-1:-1;;;;;68200:28:0;;68485:20;;;68482:56;70272:180;;70365:43;70382:4;89901:10;67084:164;:::i;70365:43::-;70360:92;;70417:35;;-1:-1:-1;;;70417:35:0;;;;;;;;;;;70360:92;-1:-1:-1;;;;;70469:16:0;;70465:52;;70494:23;;-1:-1:-1;;;70494:23:0;;;;;;;;;;;70465:52;70666:15;70663:160;;;70806:1;70785:19;70778:30;70663:160;-1:-1:-1;;;;;71203:24:0;;;;;;;:18;:24;;;;;;71201:26;;-1:-1:-1;;71201:26:0;;;71272:22;;;;;;;;;71270:24;;-1:-1:-1;71270:24:0;;;64426:11;64401:23;64397:41;64384:63;-1:-1:-1;;;64384:63:0;71565:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;71860:47:0;;:52;;71856:627;;71965:1;71955:11;;71933:19;72088:30;;;:17;:30;;;;;;:35;;72084:384;;72226:13;;72211:11;:28;72207:242;;72373:30;;;;:17;:30;;;;;:52;;;72207:242;71914:569;71856:627;72530:7;72526:2;-1:-1:-1;;;;;72511:27:0;72520:4;-1:-1:-1;;;;;72511:27:0;;;;;;;;;;;69905:2694;;;69774:2825;;;:::o;94381:105::-;12418:13;:11;:13::i;:::-;94454:11:::1;:24:::0;94381:105::o;94745:102::-;12418:13;:11;:13::i;:::-;94814:14:::1;:25:::0;94745:102::o;95346:151::-;12418:13;:11;:13::i;:::-;95396:93:::1;95422:42;95467:21;95396:17;:93::i;:::-;95346:151::o:0;72695:193::-;72841:39;72858:4;72864:2;72868:7;72841:39;;;;;;;;;;;;:16;:39::i;:::-;72695:193;;;:::o;94971:98::-;12418:13;:11;:13::i;:::-;95042::::1;:19;95058:3:::0;;95042:13;:19:::1;:::i;61037:152::-:0;61109:7;61152:27;61171:7;61152:18;:27::i;56579:233::-;56651:7;-1:-1:-1;;;;;56675:19:0;;56671:60;;56703:28;;-1:-1:-1;;;56703:28:0;;;;;;;;;;;56671:60;-1:-1:-1;;;;;;56749:25:0;;;;;:18;:25;;;;;;50738:13;56749:55;;56579:233::o;13173:103::-;12418:13;:11;:13::i;:::-;13238:30:::1;13265:1;13238:18;:30::i;93252:621::-:0;92531:10;92865:17;92910:8;;;92517:55;;-1:-1:-1;92548:10:0;92562:9;92548:23;92517:55;92509:89;;;;-1:-1:-1;;;92509:89:0;;8498:2:1;92509:89:0;;;8480:21:1;8537:2;8517:18;;;8510:30;-1:-1:-1;;;8556:18:1;;;8549:51;8617:18;;92509:89:0;;;;;;;;;93374:15:::1;93360:11;;:29;:64;;;;;93409:15;93393:13;;:31;93360:64;93352:92;;;::::0;-1:-1:-1;;;93352:92:0;;8848:2:1;93352:92:0::1;::::0;::::1;8830:21:1::0;8887:2;8867:18;;;8860:30;-1:-1:-1;;;8906:18:1;;;8899:45;8961:18;;93352:92:0::1;8646:339:1::0;93352:92:0::1;93463:46;93481:9;93463:46;;;;;;;;;;;;;-1:-1:-1::0;;;93463:46:0::1;;::::0;:17:::1;:46::i;:::-;93455:81;;;::::0;-1:-1:-1;;;93455:81:0;;9192:2:1;93455:81:0::1;::::0;::::1;9174:21:1::0;9231:2;9211:18;;;9204:30;-1:-1:-1;;;9250:18:1;;;9243:52;9312:18;;93455:81:0::1;8990:346:1::0;93455:81:0::1;93584:10;;93572:8;93555:14;55871:7:::0;56062:13;-1:-1:-1;;56062:31:0;;55816:296;93555:14:::1;:25;;;;:::i;:::-;:39;;93547:62;;;::::0;-1:-1:-1;;;93547:62:0;;9805:2:1;93547:62:0::1;::::0;::::1;9787:21:1::0;9844:2;9824:18;;;9817:30;-1:-1:-1;;;9863:18:1;;;9856:40;9913:18;;93547:62:0::1;9603:334:1::0;93547:62:0::1;93666:13;::::0;93640:10:::1;93628:23;::::0;;;:11:::1;:23;::::0;;;;;:34:::1;::::0;93654:8;;93628:34:::1;:::i;:::-;:51;;93620:81;;;::::0;-1:-1:-1;;;93620:81:0;;10144:2:1;93620:81:0::1;::::0;::::1;10126:21:1::0;10183:2;10163:18;;;10156:30;-1:-1:-1;;;10202:18:1;;;10195:47;10259:18;;93620:81:0::1;9942:341:1::0;93620:81:0::1;93749:9;93737:8;93720:14;;:25;;;;:::i;:::-;:38;;93712:67;;;::::0;-1:-1:-1;;;93712:67:0;;10663:2:1;93712:67:0::1;::::0;::::1;10645:21:1::0;10702:2;10682:18;;;10675:30;-1:-1:-1;;;10721:18:1;;;10714:46;10777:18;;93712:67:0::1;10461:340:1::0;93712:67:0::1;93804:10;93792:23;::::0;;;:11:::1;:23;::::0;;;;:35;;93819:8;;93792:23;:35:::1;::::0;93819:8;;93792:35:::1;:::i;:::-;::::0;;;-1:-1:-1;93838:27:0::1;::::0;-1:-1:-1;93844:10:0::1;93856:8:::0;93838:5:::1;:27::i;:::-;93252:621:::0;;:::o;94494:113::-;12418:13;:11;:13::i;:::-;94571::::1;:28:::0;94494:113::o;59820:104::-;59876:13;59909:7;59902:14;;;;;:::i;93881:372::-;92531:10;92865:17;92910:8;;;92517:55;;-1:-1:-1;92548:10:0;92562:9;92548:23;92517:55;92509:89;;;;-1:-1:-1;;;92509:89:0;;8498:2:1;92509:89:0;;;8480:21:1;8537:2;8517:18;;;8510:30;-1:-1:-1;;;8556:18:1;;;8549:51;8617:18;;92509:89:0;8296:345:1;92509:89:0;93975:15:::1;93961:11;;:29;:76;;;;;94022:15;93995:13;;94011:7;93995:23;;;;:::i;:::-;93994:43;93961:76;93953:100;;;::::0;-1:-1:-1;;;93953:100:0;;11008:2:1;93953:100:0::1;::::0;::::1;10990:21:1::0;11047:2;11027:18;;;11020:30;-1:-1:-1;;;11066:18:1;;;11059:41;11117:18;;93953:100:0::1;10806:335:1::0;93953:100:0::1;94101:10;;94089:8;94072:14;55871:7:::0;56062:13;-1:-1:-1;;56062:31:0;;55816:296;94072:14:::1;:25;;;;:::i;:::-;:39;;94064:62;;;::::0;-1:-1:-1;;;94064:62:0;;9805:2:1;94064:62:0::1;::::0;::::1;9787:21:1::0;9844:2;9824:18;;;9817:30;-1:-1:-1;;;9863:18:1;;;9856:40;9913:18;;94064:62:0::1;9603:334:1::0;94064:62:0::1;94177:9;94165:8;94145:17;;:28;;;;:::i;:::-;:41;;94137:70;;;::::0;-1:-1:-1;;;94137:70:0;;10663:2:1;94137:70:0::1;::::0;::::1;10645:21:1::0;10702:2;10682:18;;;10675:30;-1:-1:-1;;;10721:18:1;;;10714:46;10777:18;;94137:70:0::1;10461:340:1::0;94137:70:0::1;94218:27;94224:10;94236:8;94218:5;:27::i;:::-;93881:372:::0;:::o;66693:234::-;89901:10;66788:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;66788:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;66788:60:0;;;;;;;;;;66864:55;;540:41:1;;;66788:49:0;;89901:10;66864:55;;513:18:1;66864:55:0;;;;;;;66693:234;;:::o;73486:407::-;73661:31;73674:4;73680:2;73684:7;73661:12;:31::i;:::-;-1:-1:-1;;;;;73707:14:0;;;:19;73703:183;;73746:56;73777:4;73783:2;73787:7;73796:5;73746:30;:56::i;:::-;73741:145;;73830:40;;-1:-1:-1;;;73830:40:0;;;;;;;;;;;73741:145;73486:407;;;;:::o;94615:122::-;12418:13;:11;:13::i;:::-;94698::::1;:31:::0;94615:122::o;94855:108::-;12418:13;:11;:13::i;:::-;94927:17:::1;:28:::0;94855:108::o;94261:112::-;12418:13;:11;:13::i;:::-;94339:14:::1;:26:::0;;-1:-1:-1;;;;;;94339:26:0::1;-1:-1:-1::0;;;;;94339:26:0;;;::::1;::::0;;;::::1;::::0;;94261:112::o;95077:261::-;95167:13;95201:16;95209:7;95201;:16::i;:::-;95193:60;;;;-1:-1:-1;;;95193:60:0;;11348:2:1;95193:60:0;;;11330:21:1;11387:2;11367:18;;;11360:30;11426:33;11406:18;;;11399:61;11477:18;;95193:60:0;11146:355:1;95193:60:0;95295:13;95310:18;95320:7;95310:9;:18::i;:::-;95278:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;95264:66;;95077:261;;;:::o;67084:164::-;-1:-1:-1;;;;;67205:25:0;;;67181:4;67205:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;67084:164::o;13431:201::-;12418:13;:11;:13::i;:::-;-1:-1:-1;;;;;13520:22:0;::::1;13512:73;;;::::0;-1:-1:-1;;;13512:73:0;;12734:2:1;13512:73:0::1;::::0;::::1;12716:21:1::0;12773:2;12753:18;;;12746:30;12812:34;12792:18;;;12785:62;-1:-1:-1;;;12863:18:1;;;12856:36;12909:19;;13512:73:0::1;12532:402:1::0;13512:73:0::1;13596:28;13615:8;13596:18;:28::i;67506:282::-:0;67571:4;67627:7;92718:1;67608:26;;:66;;;;;67661:13;;67651:7;:23;67608:66;:153;;;;-1:-1:-1;;67712:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;67712:44:0;:49;;67506:282::o;62192:1275::-;62259:7;62294;;92718:1;62343:23;62339:1061;;62396:13;;62389:4;:20;62385:1015;;;62434:14;62451:23;;;:17;:23;;;;;;;-1:-1:-1;;;62540:24:0;;:29;;62536:845;;63205:113;63212:6;63222:1;63212:11;63205:113;;-1:-1:-1;;;63283:6:0;63265:25;;;;:17;:25;;;;;;63205:113;;;63351:6;62192:1275;-1:-1:-1;;;62192:1275:0:o;62536:845::-;62411:989;62385:1015;63428:31;;-1:-1:-1;;;63428:31:0;;;;;;;;;;;12697:132;12605:6;;-1:-1:-1;;;;;12605:6:0;89901:10;12761:23;12753:68;;;;-1:-1:-1;;;12753:68:0;;13141:2:1;12753:68:0;;;13123:21:1;;;13160:18;;;13153:30;13219:34;13199:18;;;13192:62;13271:18;;12753:68:0;12939:356:1;3617:317:0;3732:6;3707:21;:31;;3699:73;;;;-1:-1:-1;;;3699:73:0;;13502:2:1;3699:73:0;;;13484:21:1;13541:2;13521:18;;;13514:30;13580:31;13560:18;;;13553:59;13629:18;;3699:73:0;13300:353:1;3699:73:0;3786:12;3804:9;-1:-1:-1;;;;;3804:14:0;3826:6;3804:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3785:52;;;3856:7;3848:78;;;;-1:-1:-1;;;3848:78:0;;14070:2:1;3848:78:0;;;14052:21:1;14109:2;14089:18;;;14082:30;14148:34;14128:18;;;14121:62;14219:28;14199:18;;;14192:56;14265:19;;3848:78:0;13868:422:1;13792:191:0;13885:6;;;-1:-1:-1;;;;;13902:17:0;;;-1:-1:-1;;;;;;13902:17:0;;;;;;;13935:40;;13885:6;;;13902:17;13885:6;;13935:40;;13866:16;;13935:40;13855:128;13792:191;:::o;92934:310::-;93031:4;93048:12;93153:10;93165:8;93136:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;93136:38:0;;;;;;;;;;93126:49;;93136:38;93126:49;;;;14952:66:1;93073:103:0;;;14940:79:1;;;;15035:12;;;15028:28;15072:12;;93073:103:0;;;-1:-1:-1;;93073:103:0;;;;;;;;;93063:114;;93073:103;93063:114;;;;;-1:-1:-1;93213:23:0;93063:114;93226:9;93213:12;:23::i;:::-;93195:14;;-1:-1:-1;;;;;93195:41:0;;;:14;;:41;;92934:310;-1:-1:-1;;;;92934:310:0:o;77155:2966::-;77228:20;77251:13;;;77279;;;77275:44;;77301:18;;-1:-1:-1;;;77301:18:0;;;;;;;;;;;77275:44;-1:-1:-1;;;;;77807:22:0;;;;;;:18;:22;;;;50876:2;77807:22;;;:71;;77845:32;77833:45;;77807:71;;;78121:31;;;:17;:31;;;;;-1:-1:-1;64857:15:0;;64831:24;64827:46;64426:11;64401:23;64397:41;64394:52;64384:63;;78121:173;;78356:23;;;;78121:31;;77807:22;;79121:25;77807:22;;78974:335;79635:1;79621:12;79617:20;79575:346;79676:3;79667:7;79664:16;79575:346;;79894:7;79884:8;79881:1;79854:25;79851:1;79848;79843:59;79729:1;79716:15;79575:346;;;79579:77;79954:8;79966:1;79954:13;79950:45;;79976:19;;-1:-1:-1;;;79976:19:0;;;;;;;;;;;79950:45;80012:13;:19;-1:-1:-1;72695:193:0;;;:::o;75977:716::-;76161:88;;-1:-1:-1;;;76161:88:0;;76140:4;;-1:-1:-1;;;;;76161:45:0;;;;;:88;;89901:10;;76228:4;;76234:7;;76243:5;;76161:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76161:88:0;;;;;;;;-1:-1:-1;;76161:88:0;;;;;;;;;;;;:::i;:::-;;;76157:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76444:6;:13;76461:1;76444:18;76440:235;;76490:40;;-1:-1:-1;;;76490:40:0;;;;;;;;;;;76440:235;76633:6;76627:13;76618:6;76614:2;76610:15;76603:38;76157:529;-1:-1:-1;;;;;;76320:64:0;-1:-1:-1;;;76320:64:0;;-1:-1:-1;75977:716:0;;;;;;:::o;90021:1745::-;90086:17;90520:4;90513;90507:11;90503:22;90612:1;90606:4;90599:15;90687:4;90684:1;90680:12;90673:19;;;90769:1;90764:3;90757:14;90873:3;91112:5;91094:428;91160:1;91155:3;91151:11;91144:18;;91331:2;91325:4;91321:13;91317:2;91313:22;91308:3;91300:36;91425:2;91415:13;;91482:25;91094:428;91482:25;-1:-1:-1;91552:13:0;;;-1:-1:-1;;91667:14:0;;;91729:19;;;91667:14;90021:1745;-1:-1:-1;90021:1745:0:o;34823:231::-;34901:7;34922:17;34941:18;34963:27;34974:4;34980:9;34963:10;:27::i;:::-;34921:69;;;;35001:18;35013:5;35001:11;:18::i;:::-;-1:-1:-1;35037:9:0;34823:231;-1:-1:-1;;;34823:231:0:o;33274:747::-;33355:7;33364:12;33393:9;:16;33413:2;33393:22;33389:625;;33737:4;33722:20;;33716:27;33787:4;33772:20;;33766:27;33845:4;33830:20;;33824:27;33432:9;33816:36;33888:25;33899:4;33816:36;33716:27;33766;33888:10;:25::i;:::-;33881:32;;;;;;;;;33389:625;-1:-1:-1;33962:1:0;;-1:-1:-1;33966:35:0;33389:625;33274:747;;;;;:::o;31667:521::-;31745:20;31736:5;:29;;;;;;;;:::i;:::-;;31732:449;;31667:521;:::o;31732:449::-;31843:29;31834:5;:38;;;;;;;;:::i;:::-;;31830:351;;31889:34;;-1:-1:-1;;;31889:34:0;;16177:2:1;31889:34:0;;;16159:21:1;16216:2;16196:18;;;16189:30;16255:26;16235:18;;;16228:54;16299:18;;31889:34:0;15975:348:1;31830:351:0;31954:35;31945:5;:44;;;;;;;;:::i;:::-;;31941:240;;32006:41;;-1:-1:-1;;;32006:41:0;;16530:2:1;32006:41:0;;;16512:21:1;16569:2;16549:18;;;16542:30;16608:33;16588:18;;;16581:61;16659:18;;32006:41:0;16328:355:1;31941:240:0;32078:30;32069:5;:39;;;;;;;;:::i;:::-;;32065:116;;32125:44;;-1:-1:-1;;;32125:44:0;;16890:2:1;32125:44:0;;;16872:21:1;16929:2;16909:18;;;16902:30;16968:34;16948:18;;;16941:62;-1:-1:-1;;;17019:18:1;;;17012:32;17061:19;;32125:44:0;16688:398:1;36207:1477:0;36295:7;;37229:66;37216:79;;37212:163;;;-1:-1:-1;37328:1:0;;-1:-1:-1;37332:30:0;37312:51;;37212:163;37489:24;;;37472:14;37489:24;;;;;;;;;17318:25:1;;;17391:4;17379:17;;17359:18;;;17352:45;;;;17413:18;;;17406:34;;;17456:18;;;17449:34;;;37489:24:0;;17290:19:1;;37489:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37489:24:0;;-1:-1:-1;;37489:24:0;;;-1:-1:-1;;;;;;;37528:20:0;;37524:103;;37581:1;37585:29;37565:50;;;;;;;37524:103;37647:6;-1:-1:-1;37655:20:0;;-1:-1:-1;36207:1477:0;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:127::-;3542:10;3537:3;3533:20;3530:1;3523:31;3573:4;3570:1;3563:15;3597:4;3594:1;3587:15;3613:718;3655:5;3708:3;3701:4;3693:6;3689:17;3685:27;3675:55;;3726:1;3723;3716:12;3675:55;3762:6;3749:20;3788:18;3825:2;3821;3818:10;3815:36;;;3831:18;;:::i;:::-;3906:2;3900:9;3874:2;3960:13;;-1:-1:-1;;3956:22:1;;;3980:2;3952:31;3948:40;3936:53;;;4004:18;;;4024:22;;;4001:46;3998:72;;;4050:18;;:::i;:::-;4090:10;4086:2;4079:22;4125:2;4117:6;4110:18;4171:3;4164:4;4159:2;4151:6;4147:15;4143:26;4140:35;4137:55;;;4188:1;4185;4178:12;4137:55;4252:2;4245:4;4237:6;4233:17;4226:4;4218:6;4214:17;4201:54;4299:1;4292:4;4287:2;4279:6;4275:15;4271:26;4264:37;4319:6;4310:15;;;;;;3613:718;;;;:::o;4336:388::-;4413:6;4421;4474:2;4462:9;4453:7;4449:23;4445:32;4442:52;;;4490:1;4487;4480:12;4442:52;4526:9;4513:23;4503:33;;4587:2;4576:9;4572:18;4559:32;4614:18;4606:6;4603:30;4600:50;;;4646:1;4643;4636:12;4600:50;4669:49;4710:7;4701:6;4690:9;4686:22;4669:49;:::i;:::-;4659:59;;;4336:388;;;;;:::o;4729:347::-;4794:6;4802;4855:2;4843:9;4834:7;4830:23;4826:32;4823:52;;;4871:1;4868;4861:12;4823:52;4894:29;4913:9;4894:29;:::i;:::-;4884:39;;4973:2;4962:9;4958:18;4945:32;5020:5;5013:13;5006:21;4999:5;4996:32;4986:60;;5042:1;5039;5032:12;4986:60;5065:5;5055:15;;;4729:347;;;;;:::o;5081:537::-;5176:6;5184;5192;5200;5253:3;5241:9;5232:7;5228:23;5224:33;5221:53;;;5270:1;5267;5260:12;5221:53;5293:29;5312:9;5293:29;:::i;:::-;5283:39;;5341:38;5375:2;5364:9;5360:18;5341:38;:::i;:::-;5331:48;;5426:2;5415:9;5411:18;5398:32;5388:42;;5481:2;5470:9;5466:18;5453:32;5508:18;5500:6;5497:30;5494:50;;;5540:1;5537;5530:12;5494:50;5563:49;5604:7;5595:6;5584:9;5580:22;5563:49;:::i;:::-;5553:59;;;5081:537;;;;;;;:::o;5623:260::-;5691:6;5699;5752:2;5740:9;5731:7;5727:23;5723:32;5720:52;;;5768:1;5765;5758:12;5720:52;5791:29;5810:9;5791:29;:::i;:::-;5781:39;;5839:38;5873:2;5862:9;5858:18;5839:38;:::i;:::-;5829:48;;5623:260;;;;;:::o;5888:380::-;5967:1;5963:12;;;;6010;;;6031:61;;6085:4;6077:6;6073:17;6063:27;;6031:61;6138:2;6130:6;6127:14;6107:18;6104:38;6101:161;;6184:10;6179:3;6175:20;6172:1;6165:31;6219:4;6216:1;6209:15;6247:4;6244:1;6237:15;6101:161;;5888:380;;;:::o;6399:518::-;6501:2;6496:3;6493:11;6490:421;;;6537:5;6534:1;6527:16;6581:4;6578:1;6568:18;6651:2;6639:10;6635:19;6632:1;6628:27;6622:4;6618:38;6687:4;6675:10;6672:20;6669:47;;;-1:-1:-1;6710:4:1;6669:47;6765:2;6760:3;6756:12;6753:1;6749:20;6743:4;6739:31;6729:41;;6820:81;6838:2;6831:5;6828:13;6820:81;;;6897:1;6883:16;;6864:1;6853:13;6820:81;;;6824:3;;6399:518;;;:::o;7093:1198::-;7217:18;7212:3;7209:27;7206:53;;;7239:18;;:::i;:::-;7268:94;7358:3;7318:38;7350:4;7344:11;7318:38;:::i;:::-;7312:4;7268:94;:::i;:::-;7388:1;7413:2;7408:3;7405:11;7430:1;7425:608;;;;8077:1;8094:3;8091:93;;;-1:-1:-1;8150:19:1;;;8137:33;8091:93;-1:-1:-1;;7050:1:1;7046:11;;;7042:24;7038:29;7028:40;7074:1;7070:11;;;7025:57;8197:78;;7398:887;;7425:608;6346:1;6339:14;;;6383:4;6370:18;;-1:-1:-1;;7461:17:1;;;7576:229;7590:7;7587:1;7584:14;7576:229;;;7679:19;;;7666:33;7651:49;;7786:4;7771:20;;;;7739:1;7727:14;;;;7606:12;7576:229;;;7580:3;7833;7824:7;7821:16;7818:159;;;7957:1;7953:6;7947:3;7941;7938:1;7934:11;7930:21;7926:34;7922:39;7909:9;7904:3;7900:19;7887:33;7883:79;7875:6;7868:95;7818:159;;;8020:1;8014:3;8011:1;8007:11;8003:19;7997:4;7990:33;7398:887;;7093:1198;;;:::o;9341:127::-;9402:10;9397:3;9393:20;9390:1;9383:31;9433:4;9430:1;9423:15;9457:4;9454:1;9447:15;9473:125;9538:9;;;9559:10;;;9556:36;;;9572:18;;:::i;10288:168::-;10361:9;;;10392;;10409:15;;;10403:22;;10389:37;10379:71;;10430:18;;:::i;11506:1021::-;11682:3;11711:1;11744:6;11738:13;11774:36;11800:9;11774:36;:::i;:::-;11829:1;11846:17;;;11872:133;;;;12019:1;12014:358;;;;11839:533;;11872:133;-1:-1:-1;;11905:24:1;;11893:37;;11978:14;;11971:22;11959:35;;11950:45;;;-1:-1:-1;11872:133:1;;12014:358;12045:6;12042:1;12035:17;12075:4;12120;12117:1;12107:18;12147:1;12161:165;12175:6;12172:1;12169:13;12161:165;;;12253:14;;12240:11;;;12233:35;12296:16;;;;12190:10;;12161:165;;;12165:3;;;12355:6;12350:3;12346:16;12339:23;;11839:533;;;;;12403:6;12397:13;12419:68;12478:8;12473:3;12466:4;12458:6;12454:17;12419:68;:::i;:::-;12503:18;;11506:1021;-1:-1:-1;;;;11506:1021:1:o;14295:410::-;14509:26;14505:31;14496:6;14492:2;14488:15;14484:53;14479:3;14472:66;14454:3;14567:6;14561:13;14583:75;14651:6;14646:2;14641:3;14637:12;14630:4;14622:6;14618:17;14583:75;:::i;:::-;14678:16;;;;14696:2;14674:25;;14295:410;-1:-1:-1;;;14295:410:1:o;15095:489::-;-1:-1:-1;;;;;15364:15:1;;;15346:34;;15416:15;;15411:2;15396:18;;15389:43;15463:2;15448:18;;15441:34;;;15511:3;15506:2;15491:18;;15484:31;;;15289:4;;15532:46;;15558:19;;15550:6;15532:46;:::i;:::-;15524:54;15095:489;-1:-1:-1;;;;;;15095:489:1:o;15589:249::-;15658:6;15711:2;15699:9;15690:7;15686:23;15682:32;15679:52;;;15727:1;15724;15717:12;15679:52;15759:9;15753:16;15778:30;15802:5;15778:30;:::i;15843:127::-;15904:10;15899:3;15895:20;15892:1;15885:31;15935:4;15932:1;15925:15;15959:4;15956:1;15949:15

Swarm Source

ipfs://885135b055627acb987e73334fc87b8cd201e6a6a8b7c8aba629613c9d51ae7c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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