ETH Price: $3,132.62 (-0.13%)

Token

Paleoar (Paleoar-NFT)
 

Overview

Max Total Supply

999 Paleoar-NFT

Holders

681

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Paleoar-NFT
0x58d34d73c624b84bf9d8483de896eb18daedba63
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:
Paleoar

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-21
*/

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


// OpenZeppelin Contracts (last updated v4.8.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) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.8.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 `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);
    }
}

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


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

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


// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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);
    }
}

// File: erc721a/contracts/IERC721A.sol


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

// File: erc721a/contracts/ERC721A.sol


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

// File: contracts/s.sol


// ERC721A Contracts v4.2.3

pragma solidity ^0.8.4;




contract Paleoar is ERC721A, Ownable{

    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 999;
    bool public _isSaleActive = false; 
    bool public _revealed = false;     
    uint256 public mintPrice = 0.005 ether; 
    uint256 public maxBalance = 1; 
    uint256 public maxMint = 1; 
    string baseURI;
    string public notRevealedUri;
    string public baseExtension = ".json";

    mapping(uint256 => string) private _tokenURIs;

    constructor(string memory initBaseURI, string memory initNotRevealedUri) 
        ERC721A("Paleoar", "Paleoar-NFT") 
    {
        setBaseURI(initBaseURI);
        setNotRevealedURI(initNotRevealedUri);
    }

    function getNum() public view returns (uint) {
       return totalSupply();
    }

    function mintPublic(uint256 tokenQuantity) public payable {
        require(
            totalSupply() + tokenQuantity <= MAX_SUPPLY,
            "Sale would exceed max supply"
        );
        require(_isSaleActive, "Sale must be active to mint NFT");

        require(tokenQuantity <= maxMint, "Mint too many tokens at a time");

        require(
            balanceOf(msg.sender)  + tokenQuantity <= maxBalance, 
            "Sale would exceed max balance"
        );

        require(tokenQuantity * mintPrice <= msg.value, "Not enough ether");

        _safeMint(msg.sender, tokenQuantity);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "URI query for nonexistent token"
        );

        if (_revealed == false) {
            return notRevealedUri;
        }

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        if (bytes(base).length == 0) {
            return _tokenURI;
        }

        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return
            string(abi.encodePacked(base, tokenId.toString(), baseExtension));
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function flipSaleActive() public onlyOwner {
        _isSaleActive = !_isSaleActive;
    }

    function flipReveal() public onlyOwner {
        _revealed = !_revealed;
    }

    function mintOwner() public onlyOwner {
        _safeMint(msg.sender, 1);
    }

    function setMintPrice(uint256 _mintPrice) public onlyOwner {
        mintPrice = _mintPrice;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function setMaxBalance(uint256 _maxBalance) public onlyOwner {
        maxBalance = _maxBalance;
    }

    function setMaxMint(uint256 _maxMint) public onlyOwner {
        maxMint = _maxMint;
    }

    function withdraw(address to) public onlyOwner {
        uint256 balance = address(this).balance;
        payable(to).transfer(balance);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"},{"internalType":"string","name":"initNotRevealedUri","type":"string"}],"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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBalance","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","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":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6008805461ffff60a01b191690556611c37937e080006009556001600a819055600b5560c06040526005608081905264173539b7b760d91b60a09081526200004b91600e919062000209565b503480156200005957600080fd5b5060405162002048380380620020488339810160408190526200007c9162000366565b60408051808201825260078152662830b632b7b0b960c91b60208083019182528351808501909452600b84526a14185b195bd85c8b53919560aa1b908401528151919291620000ce9160029162000209565b508051620000e490600390602084019062000209565b50506000805550620000f63362000114565b620001018262000166565b6200010c8162000189565b505062000423565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000170620001a8565b80516200018590600c90602084019062000209565b5050565b62000193620001a8565b80516200018590600d90602084019062000209565b6008546001600160a01b03163314620002075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8280546200021790620003d0565b90600052602060002090601f0160209004810192826200023b576000855562000286565b82601f106200025657805160ff191683800117855562000286565b8280016001018555821562000286579182015b828111156200028657825182559160200191906001019062000269565b506200029492915062000298565b5090565b5b8082111562000294576000815560010162000299565b600082601f830112620002c157600080fd5b81516001600160401b0380821115620002de57620002de6200040d565b604051601f8301601f19908116603f011681019082821181831017156200030957620003096200040d565b816040528381526020925086838588010111156200032657600080fd5b600091505b838210156200034a57858201830151818301840152908201906200032b565b838211156200035c5760008385830101525b9695505050505050565b600080604083850312156200037a57600080fd5b82516001600160401b03808211156200039257600080fd5b620003a086838701620002af565b93506020850151915080821115620003b757600080fd5b50620003c685828601620002af565b9150509250929050565b600181811c90821680620003e557607f821691505b602082108114156200040757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611c1580620004336000396000f3fe60806040526004361061021a5760003560e01c806370a0823111610123578063c6682862116100ab578063e985e9c51161006f578063e985e9c51461059f578063efd0cbf9146105e8578063f2c4ce1e146105fb578063f2fde38b1461061b578063f4a0a5281461063b57600080fd5b8063c668286214610520578063c87b56dd14610535578063cecb06d014610555578063da3ef23f1461056a578063de8b51e11461058a57600080fd5b80638da5cb5b116100f25780638da5cb5b1461049a57806395d89b41146104b85780639d51d9b7146104cd578063a22cb465146104ed578063b88d4fde1461050d57600080fd5b806370a0823114610439578063715018a61461045957806373ad468a1461046e5780637501f7411461048457600080fd5b806342842e0e116101a65780636352211e116101755780636352211e146103ac57806367e0badb146103cc5780636817c76c146103e15780636ebeac85146103f75780637080d6fc1461041857600080fd5b806342842e0e1461033957806351cff8d91461034c578063547520fe1461036c57806355f804b31461038c57600080fd5b8063095ea7b3116101ed578063095ea7b3146102c357806318160ddd146102d857806323b872dd146102fb57806332cb6b0c1461030e5780633b84d9c61461032457600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063081c8c44146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046118f4565b61065b565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106ad565b60405161024b9190611aec565b34801561028257600080fd5b50610296610291366004611977565b61073f565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b50610269610783565b6102d66102d13660046118ca565b610811565b005b3480156102e457600080fd5b50600154600054035b60405190815260200161024b565b6102d66103093660046117d6565b6108b1565b34801561031a57600080fd5b506102ed6103e781565b34801561033057600080fd5b506102d6610a42565b6102d66103473660046117d6565b610a6b565b34801561035857600080fd5b506102d6610367366004611788565b610a8b565b34801561037857600080fd5b506102d6610387366004611977565b610acb565b34801561039857600080fd5b506102d66103a736600461192e565b610ad8565b3480156103b857600080fd5b506102966103c7366004611977565b610af7565b3480156103d857600080fd5b506102ed610b02565b3480156103ed57600080fd5b506102ed60095481565b34801561040357600080fd5b5060085461023f90600160a81b900460ff1681565b34801561042457600080fd5b5060085461023f90600160a01b900460ff1681565b34801561044557600080fd5b506102ed610454366004611788565b610b16565b34801561046557600080fd5b506102d6610b65565b34801561047a57600080fd5b506102ed600a5481565b34801561049057600080fd5b506102ed600b5481565b3480156104a657600080fd5b506008546001600160a01b0316610296565b3480156104c457600080fd5b50610269610b79565b3480156104d957600080fd5b506102d66104e8366004611977565b610b88565b3480156104f957600080fd5b506102d661050836600461188e565b610b95565b6102d661051b366004611812565b610c01565b34801561052c57600080fd5b50610269610c4b565b34801561054157600080fd5b50610269610550366004611977565b610c58565b34801561056157600080fd5b506102d6610e5d565b34801561057657600080fd5b506102d661058536600461192e565b610e70565b34801561059657600080fd5b506102d6610e8b565b3480156105ab57600080fd5b5061023f6105ba3660046117a3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d66105f6366004611977565b610eb4565b34801561060757600080fd5b506102d661061636600461192e565b61108a565b34801561062757600080fd5b506102d6610636366004611788565b6110a5565b34801561064757600080fd5b506102d6610656366004611977565b61111b565b60006301ffc9a760e01b6001600160e01b03198316148061068c57506380ac58cd60e01b6001600160e01b03198316145b806106a75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106bc90611b62565b80601f01602080910402602001604051908101604052809291908181526020018280546106e890611b62565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b5050505050905090565b600061074a82611128565b610767576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600d805461079090611b62565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc90611b62565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b505050505081565b600061081c82610af7565b9050336001600160a01b038216146108555761083881336105ba565b610855576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108bc8261114f565b9050836001600160a01b0316816001600160a01b0316146108ef5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761093c5761091f86336105ba565b61093c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096357604051633a954ecd60e21b815260040160405180910390fd5b801561096e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109f957600184016000818152600460205260409020546109f75760005481146109f75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a4a6111b7565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b610a8683838360405180602001604052806000815250610c01565b505050565b610a936111b7565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a86573d6000803e3d6000fd5b610ad36111b7565b600b55565b610ae06111b7565b8051610af390600c90602084019061165d565b5050565b60006106a78261114f565b6000610b116001546000540390565b905090565b60006001600160a01b038216610b3f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b6d6111b7565b610b776000611211565b565b6060600380546106bc90611b62565b610b906111b7565b600a55565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c0c8484846108b1565b6001600160a01b0383163b15610c4557610c2884848484611263565b610c45576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600e805461079090611b62565b6060610c6382611128565b610cb45760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064015b60405180910390fd5b600854600160a81b900460ff16610d5757600d8054610cd290611b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe90611b62565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b50505050509050919050565b6000828152600f602052604081208054610d7090611b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9c90611b62565b8015610de95780601f10610dbe57610100808354040283529160200191610de9565b820191906000526020600020905b815481529060010190602001808311610dcc57829003601f168201915b505050505090506000610dfa61135b565b9050805160001415610e0d575092915050565b815115610e3f578082604051602001610e279291906119bc565b60405160208183030381529060405292505050919050565b80610e498561136a565b600e604051602001610e27939291906119eb565b610e656111b7565b610b77336001611407565b610e786111b7565b8051610af390600e90602084019061165d565b610e936111b7565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6103e781610ec56001546000540390565b610ecf9190611aff565b1115610f1d5760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610cab565b600854600160a01b900460ff16610f765760405162461bcd60e51b815260206004820152601f60248201527f53616c65206d7573742062652061637469766520746f206d696e74204e4654006044820152606401610cab565b600b54811115610fc85760405162461bcd60e51b815260206004820152601e60248201527f4d696e7420746f6f206d616e7920746f6b656e7320617420612074696d6500006044820152606401610cab565b600a5481610fd533610b16565b610fdf9190611aff565b111561102d5760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610cab565b346009548261103c9190611b17565b111561107d5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610cab565b6110873382611407565b50565b6110926111b7565b8051610af390600d90602084019061165d565b6110ad6111b7565b6001600160a01b0381166111125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cab565b61108781611211565b6111236111b7565b600955565b60008054821080156106a7575050600090815260046020526040902054600160e01b161590565b60008160005481101561119e57600081815260046020526040902054600160e01b811661119c575b80611195575060001901600081815260046020526040902054611177565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cab565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611298903390899088908890600401611aaf565b602060405180830381600087803b1580156112b257600080fd5b505af19250505080156112e2575060408051601f3d908101601f191682019092526112df91810190611911565b60015b61133d573d808015611310576040519150601f19603f3d011682016040523d82523d6000602084013e611315565b606091505b508051611335576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c80546106bc90611b62565b6060600061137783611421565b600101905060008167ffffffffffffffff81111561139757611397611bb3565b6040519080825280601f01601f1916602001820160405280156113c1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113fa576113ff565b6113cb565b509392505050565b610af38282604051806020016040528060008152506114f9565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114605772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061148c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106114aa57662386f26fc10000830492506010015b6305f5e10083106114c2576305f5e100830492506008015b61271083106114d657612710830492506004015b606483106114e8576064830492506002015b600a83106106a75760010192915050565b6115038383611566565b6001600160a01b0383163b15610a86576000548281035b61152d6000868380600101945086611263565b61154a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061151a57816000541461155f57600080fd5b5050505050565b600054816115875760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461163657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016115fe565b508161165457604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461166990611b62565b90600052602060002090601f01602090048101928261168b57600085556116d1565b82601f106116a457805160ff19168380011785556116d1565b828001600101855582156116d1579182015b828111156116d15782518255916020019190600101906116b6565b506116dd9291506116e1565b5090565b5b808211156116dd57600081556001016116e2565b600067ffffffffffffffff8084111561171157611711611bb3565b604051601f8501601f19908116603f0116810190828211818310171561173957611739611bb3565b8160405280935085815286868601111561175257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461178357600080fd5b919050565b60006020828403121561179a57600080fd5b6111958261176c565b600080604083850312156117b657600080fd5b6117bf8361176c565b91506117cd6020840161176c565b90509250929050565b6000806000606084860312156117eb57600080fd5b6117f48461176c565b92506118026020850161176c565b9150604084013590509250925092565b6000806000806080858703121561182857600080fd5b6118318561176c565b935061183f6020860161176c565b925060408501359150606085013567ffffffffffffffff81111561186257600080fd5b8501601f8101871361187357600080fd5b611882878235602084016116f6565b91505092959194509250565b600080604083850312156118a157600080fd5b6118aa8361176c565b9150602083013580151581146118bf57600080fd5b809150509250929050565b600080604083850312156118dd57600080fd5b6118e68361176c565b946020939093013593505050565b60006020828403121561190657600080fd5b813561119581611bc9565b60006020828403121561192357600080fd5b815161119581611bc9565b60006020828403121561194057600080fd5b813567ffffffffffffffff81111561195757600080fd5b8201601f8101841361196857600080fd5b611353848235602084016116f6565b60006020828403121561198957600080fd5b5035919050565b600081518084526119a8816020860160208601611b36565b601f01601f19169290920160200192915050565b600083516119ce818460208801611b36565b8351908301906119e2818360208801611b36565b01949350505050565b6000845160206119fe8285838a01611b36565b855191840191611a118184848a01611b36565b8554920191600090600181811c9080831680611a2e57607f831692505b858310811415611a4c57634e487b7160e01b85526022600452602485fd5b808015611a605760018114611a7157611a9e565b60ff19851688528388019550611a9e565b60008b81526020902060005b85811015611a965781548a820152908401908801611a7d565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ae290830184611990565b9695505050505050565b6020815260006111956020830184611990565b60008219821115611b1257611b12611b9d565b500190565b6000816000190483118215151615611b3157611b31611b9d565b500290565b60005b83811015611b51578181015183820152602001611b39565b83811115610c455750506000910152565b600181811c90821680611b7657607f821691505b60208210811415611b9757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461108757600080fdfea26469706673582212208f44f5258d6957a58415db6fe2d7ecf25b24b5c2b994e651938529ff6d1a217b64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c806370a0823111610123578063c6682862116100ab578063e985e9c51161006f578063e985e9c51461059f578063efd0cbf9146105e8578063f2c4ce1e146105fb578063f2fde38b1461061b578063f4a0a5281461063b57600080fd5b8063c668286214610520578063c87b56dd14610535578063cecb06d014610555578063da3ef23f1461056a578063de8b51e11461058a57600080fd5b80638da5cb5b116100f25780638da5cb5b1461049a57806395d89b41146104b85780639d51d9b7146104cd578063a22cb465146104ed578063b88d4fde1461050d57600080fd5b806370a0823114610439578063715018a61461045957806373ad468a1461046e5780637501f7411461048457600080fd5b806342842e0e116101a65780636352211e116101755780636352211e146103ac57806367e0badb146103cc5780636817c76c146103e15780636ebeac85146103f75780637080d6fc1461041857600080fd5b806342842e0e1461033957806351cff8d91461034c578063547520fe1461036c57806355f804b31461038c57600080fd5b8063095ea7b3116101ed578063095ea7b3146102c357806318160ddd146102d857806323b872dd146102fb57806332cb6b0c1461030e5780633b84d9c61461032457600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063081c8c44146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a3660046118f4565b61065b565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106ad565b60405161024b9190611aec565b34801561028257600080fd5b50610296610291366004611977565b61073f565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b50610269610783565b6102d66102d13660046118ca565b610811565b005b3480156102e457600080fd5b50600154600054035b60405190815260200161024b565b6102d66103093660046117d6565b6108b1565b34801561031a57600080fd5b506102ed6103e781565b34801561033057600080fd5b506102d6610a42565b6102d66103473660046117d6565b610a6b565b34801561035857600080fd5b506102d6610367366004611788565b610a8b565b34801561037857600080fd5b506102d6610387366004611977565b610acb565b34801561039857600080fd5b506102d66103a736600461192e565b610ad8565b3480156103b857600080fd5b506102966103c7366004611977565b610af7565b3480156103d857600080fd5b506102ed610b02565b3480156103ed57600080fd5b506102ed60095481565b34801561040357600080fd5b5060085461023f90600160a81b900460ff1681565b34801561042457600080fd5b5060085461023f90600160a01b900460ff1681565b34801561044557600080fd5b506102ed610454366004611788565b610b16565b34801561046557600080fd5b506102d6610b65565b34801561047a57600080fd5b506102ed600a5481565b34801561049057600080fd5b506102ed600b5481565b3480156104a657600080fd5b506008546001600160a01b0316610296565b3480156104c457600080fd5b50610269610b79565b3480156104d957600080fd5b506102d66104e8366004611977565b610b88565b3480156104f957600080fd5b506102d661050836600461188e565b610b95565b6102d661051b366004611812565b610c01565b34801561052c57600080fd5b50610269610c4b565b34801561054157600080fd5b50610269610550366004611977565b610c58565b34801561056157600080fd5b506102d6610e5d565b34801561057657600080fd5b506102d661058536600461192e565b610e70565b34801561059657600080fd5b506102d6610e8b565b3480156105ab57600080fd5b5061023f6105ba3660046117a3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102d66105f6366004611977565b610eb4565b34801561060757600080fd5b506102d661061636600461192e565b61108a565b34801561062757600080fd5b506102d6610636366004611788565b6110a5565b34801561064757600080fd5b506102d6610656366004611977565b61111b565b60006301ffc9a760e01b6001600160e01b03198316148061068c57506380ac58cd60e01b6001600160e01b03198316145b806106a75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106bc90611b62565b80601f01602080910402602001604051908101604052809291908181526020018280546106e890611b62565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b5050505050905090565b600061074a82611128565b610767576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600d805461079090611b62565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc90611b62565b80156108095780601f106107de57610100808354040283529160200191610809565b820191906000526020600020905b8154815290600101906020018083116107ec57829003601f168201915b505050505081565b600061081c82610af7565b9050336001600160a01b038216146108555761083881336105ba565b610855576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108bc8261114f565b9050836001600160a01b0316816001600160a01b0316146108ef5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761093c5761091f86336105ba565b61093c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096357604051633a954ecd60e21b815260040160405180910390fd5b801561096e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109f957600184016000818152600460205260409020546109f75760005481146109f75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a4a6111b7565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b610a8683838360405180602001604052806000815250610c01565b505050565b610a936111b7565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a86573d6000803e3d6000fd5b610ad36111b7565b600b55565b610ae06111b7565b8051610af390600c90602084019061165d565b5050565b60006106a78261114f565b6000610b116001546000540390565b905090565b60006001600160a01b038216610b3f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b6d6111b7565b610b776000611211565b565b6060600380546106bc90611b62565b610b906111b7565b600a55565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c0c8484846108b1565b6001600160a01b0383163b15610c4557610c2884848484611263565b610c45576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600e805461079090611b62565b6060610c6382611128565b610cb45760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064015b60405180910390fd5b600854600160a81b900460ff16610d5757600d8054610cd290611b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe90611b62565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b50505050509050919050565b6000828152600f602052604081208054610d7090611b62565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9c90611b62565b8015610de95780601f10610dbe57610100808354040283529160200191610de9565b820191906000526020600020905b815481529060010190602001808311610dcc57829003601f168201915b505050505090506000610dfa61135b565b9050805160001415610e0d575092915050565b815115610e3f578082604051602001610e279291906119bc565b60405160208183030381529060405292505050919050565b80610e498561136a565b600e604051602001610e27939291906119eb565b610e656111b7565b610b77336001611407565b610e786111b7565b8051610af390600e90602084019061165d565b610e936111b7565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6103e781610ec56001546000540390565b610ecf9190611aff565b1115610f1d5760405162461bcd60e51b815260206004820152601c60248201527f53616c6520776f756c6420657863656564206d617820737570706c79000000006044820152606401610cab565b600854600160a01b900460ff16610f765760405162461bcd60e51b815260206004820152601f60248201527f53616c65206d7573742062652061637469766520746f206d696e74204e4654006044820152606401610cab565b600b54811115610fc85760405162461bcd60e51b815260206004820152601e60248201527f4d696e7420746f6f206d616e7920746f6b656e7320617420612074696d6500006044820152606401610cab565b600a5481610fd533610b16565b610fdf9190611aff565b111561102d5760405162461bcd60e51b815260206004820152601d60248201527f53616c6520776f756c6420657863656564206d61782062616c616e63650000006044820152606401610cab565b346009548261103c9190611b17565b111561107d5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b6044820152606401610cab565b6110873382611407565b50565b6110926111b7565b8051610af390600d90602084019061165d565b6110ad6111b7565b6001600160a01b0381166111125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cab565b61108781611211565b6111236111b7565b600955565b60008054821080156106a7575050600090815260046020526040902054600160e01b161590565b60008160005481101561119e57600081815260046020526040902054600160e01b811661119c575b80611195575060001901600081815260046020526040902054611177565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cab565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611298903390899088908890600401611aaf565b602060405180830381600087803b1580156112b257600080fd5b505af19250505080156112e2575060408051601f3d908101601f191682019092526112df91810190611911565b60015b61133d573d808015611310576040519150601f19603f3d011682016040523d82523d6000602084013e611315565b606091505b508051611335576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c80546106bc90611b62565b6060600061137783611421565b600101905060008167ffffffffffffffff81111561139757611397611bb3565b6040519080825280601f01601f1916602001820160405280156113c1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846113fa576113ff565b6113cb565b509392505050565b610af38282604051806020016040528060008152506114f9565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114605772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061148c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106114aa57662386f26fc10000830492506010015b6305f5e10083106114c2576305f5e100830492506008015b61271083106114d657612710830492506004015b606483106114e8576064830492506002015b600a83106106a75760010192915050565b6115038383611566565b6001600160a01b0383163b15610a86576000548281035b61152d6000868380600101945086611263565b61154a576040516368d2bf6b60e11b815260040160405180910390fd5b81811061151a57816000541461155f57600080fd5b5050505050565b600054816115875760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461163657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016115fe565b508161165457604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461166990611b62565b90600052602060002090601f01602090048101928261168b57600085556116d1565b82601f106116a457805160ff19168380011785556116d1565b828001600101855582156116d1579182015b828111156116d15782518255916020019190600101906116b6565b506116dd9291506116e1565b5090565b5b808211156116dd57600081556001016116e2565b600067ffffffffffffffff8084111561171157611711611bb3565b604051601f8501601f19908116603f0116810190828211818310171561173957611739611bb3565b8160405280935085815286868601111561175257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461178357600080fd5b919050565b60006020828403121561179a57600080fd5b6111958261176c565b600080604083850312156117b657600080fd5b6117bf8361176c565b91506117cd6020840161176c565b90509250929050565b6000806000606084860312156117eb57600080fd5b6117f48461176c565b92506118026020850161176c565b9150604084013590509250925092565b6000806000806080858703121561182857600080fd5b6118318561176c565b935061183f6020860161176c565b925060408501359150606085013567ffffffffffffffff81111561186257600080fd5b8501601f8101871361187357600080fd5b611882878235602084016116f6565b91505092959194509250565b600080604083850312156118a157600080fd5b6118aa8361176c565b9150602083013580151581146118bf57600080fd5b809150509250929050565b600080604083850312156118dd57600080fd5b6118e68361176c565b946020939093013593505050565b60006020828403121561190657600080fd5b813561119581611bc9565b60006020828403121561192357600080fd5b815161119581611bc9565b60006020828403121561194057600080fd5b813567ffffffffffffffff81111561195757600080fd5b8201601f8101841361196857600080fd5b611353848235602084016116f6565b60006020828403121561198957600080fd5b5035919050565b600081518084526119a8816020860160208601611b36565b601f01601f19169290920160200192915050565b600083516119ce818460208801611b36565b8351908301906119e2818360208801611b36565b01949350505050565b6000845160206119fe8285838a01611b36565b855191840191611a118184848a01611b36565b8554920191600090600181811c9080831680611a2e57607f831692505b858310811415611a4c57634e487b7160e01b85526022600452602485fd5b808015611a605760018114611a7157611a9e565b60ff19851688528388019550611a9e565b60008b81526020902060005b85811015611a965781548a820152908401908801611a7d565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ae290830184611990565b9695505050505050565b6020815260006111956020830184611990565b60008219821115611b1257611b12611b9d565b500190565b6000816000190483118215151615611b3157611b31611b9d565b500290565b60005b83811015611b51578181015183820152602001611b39565b83811115610c455750506000910152565b600181811c90821680611b7657607f821691505b60208210811415611b9757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461108757600080fdfea26469706673582212208f44f5258d6957a58415db6fe2d7ecf25b24b5c2b994e651938529ff6d1a217b64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string):
Arg [1] : initNotRevealedUri (string):

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

70321:3437:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37196:639;;;;;;;;;;-1:-1:-1;37196:639:0;;;;;:::i;:::-;;:::i;:::-;;;7178:14:1;;7171:22;7153:41;;7141:2;7126:18;37196:639:0;;;;;;;;38098:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44589:218::-;;;;;;;;;;-1:-1:-1;44589:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6476:32:1;;;6458:51;;6446:2;6431:18;44589:218:0;6312:203:1;70667:28:0;;;;;;;;;;;;;:::i;44022:408::-;;;;;;:::i;:::-;;:::i;:::-;;33849:323;;;;;;;;;;-1:-1:-1;34123:12:0;;33910:7;34107:13;:28;33849:323;;;10482:25:1;;;10470:2;10455:18;33849:323:0;10336:177:1;48228:2825:0;;;;;;:::i;:::-;;:::i;70400:40::-;;;;;;;;;;;;70437:3;70400:40;;72818:80;;;;;;;;;;;;;:::i;51149:193::-;;;;;;:::i;:::-;;:::i;73608:145::-;;;;;;;;;;-1:-1:-1;73608:145:0;;;;;:::i;:::-;;:::i;73508:92::-;;;;;;;;;;-1:-1:-1;73508:92:0;;;;;:::i;:::-;;:::i;72606:104::-;;;;;;;;;;-1:-1:-1;72606:104:0;;;;;:::i;:::-;;:::i;39491:152::-;;;;;;;;;;-1:-1:-1;39491:152:0;;;;;:::i;:::-;;:::i;71023:83::-;;;;;;;;;;;;;:::i;70529:38::-;;;;;;;;;;;;;;;;70488:29;;;;;;;;;;-1:-1:-1;70488:29:0;;;;-1:-1:-1;;;70488:29:0;;;;;;70447:33;;;;;;;;;;-1:-1:-1;70447:33:0;;;;-1:-1:-1;;;70447:33:0;;;;;;35033:233;;;;;;;;;;-1:-1:-1;35033:233:0;;;;;:::i;:::-;;:::i;17975:103::-;;;;;;;;;;;;;:::i;70575:29::-;;;;;;;;;;;;;;;;70612:26;;;;;;;;;;;;;;;;17327:87;;;;;;;;;;-1:-1:-1;17400:6:0;;-1:-1:-1;;;;;17400:6:0;17327:87;;38274:104;;;;;;;;;;;;;:::i;73396:::-;;;;;;;;;;-1:-1:-1;73396:104:0;;;;;:::i;:::-;;:::i;45147:234::-;;;;;;;;;;-1:-1:-1;45147:234:0;;;;;:::i;:::-;;:::i;51940:407::-;;;;;;:::i;:::-;;:::i;70702:37::-;;;;;;;;;;;;;:::i;71742:740::-;;;;;;;;;;-1:-1:-1;71742:740:0;;;;;:::i;:::-;;:::i;72906:81::-;;;;;;;;;;;;;:::i;73237:151::-;;;;;;;;;;-1:-1:-1;73237:151:0;;;;;:::i;:::-;;:::i;72718:92::-;;;;;;;;;;;;;:::i;45538:164::-;;;;;;;;;;-1:-1:-1;45538:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;45659:25:0;;;45635:4;45659:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45538:164;71114:620;;;;;;:::i;:::-;;:::i;73103:126::-;;;;;;;;;;-1:-1:-1;73103:126:0;;;;;:::i;:::-;;:::i;18233:201::-;;;;;;;;;;-1:-1:-1;18233:201:0;;;;;:::i;:::-;;:::i;72995:100::-;;;;;;;;;;-1:-1:-1;72995:100:0;;;;;:::i;:::-;;:::i;37196:639::-;37281:4;-1:-1:-1;;;;;;;;;37605:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;37682:25:0;;;37605:102;:179;;;-1:-1:-1;;;;;;;;;;37759:25:0;;;37605:179;37585:199;37196:639;-1:-1:-1;;37196:639:0:o;38098:100::-;38152:13;38185:5;38178:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38098:100;:::o;44589:218::-;44665:7;44690:16;44698:7;44690;:16::i;:::-;44685:64;;44715:34;;-1:-1:-1;;;44715:34:0;;;;;;;;;;;44685:64;-1:-1:-1;44769:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;44769:30:0;;44589:218::o;70667:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44022:408::-;44111:13;44127:16;44135:7;44127;:16::i;:::-;44111:32;-1:-1:-1;68355:10:0;-1:-1:-1;;;;;44160:28:0;;;44156:175;;44208:44;44225:5;68355:10;45538:164;:::i;44208:44::-;44203:128;;44280:35;;-1:-1:-1;;;44280:35:0;;;;;;;;;;;44203:128;44343:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;44343:35:0;-1:-1:-1;;;;;44343:35:0;;;;;;;;;44394:28;;44343:24;;44394:28;;;;;;;44100:330;44022:408;;:::o;48228:2825::-;48370:27;48400;48419:7;48400:18;:27::i;:::-;48370:57;;48485:4;-1:-1:-1;;;;;48444:45:0;48460:19;-1:-1:-1;;;;;48444:45:0;;48440:86;;48498:28;;-1:-1:-1;;;48498:28:0;;;;;;;;;;;48440:86;48540:27;47336:24;;;:15;:24;;;;;47564:26;;68355:10;46961:30;;;-1:-1:-1;;;;;46654:28:0;;46939:20;;;46936:56;48726:180;;48819:43;48836:4;68355:10;45538:164;:::i;48819:43::-;48814:92;;48871:35;;-1:-1:-1;;;48871:35:0;;;;;;;;;;;48814:92;-1:-1:-1;;;;;48923:16:0;;48919:52;;48948:23;;-1:-1:-1;;;48948:23:0;;;;;;;;;;;48919:52;49120:15;49117:160;;;49260:1;49239:19;49232:30;49117:160;-1:-1:-1;;;;;49657:24:0;;;;;;;:18;:24;;;;;;49655:26;;-1:-1:-1;;49655:26:0;;;49726:22;;;;;;;;;49724:24;;-1:-1:-1;49724:24:0;;;42880:11;42855:23;42851:41;42838:63;-1:-1:-1;;;42838:63:0;50019:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;50314:47:0;;50310:627;;50419:1;50409:11;;50387:19;50542:30;;;:17;:30;;;;;;50538:384;;50680:13;;50665:11;:28;50661:242;;50827:30;;;;:17;:30;;;;;:52;;;50661:242;50368:569;50310:627;50984:7;50980:2;-1:-1:-1;;;;;50965:27:0;50974:4;-1:-1:-1;;;;;50965:27:0;;;;;;;;;;;48359:2694;;;48228:2825;;;:::o;72818:80::-;17213:13;:11;:13::i;:::-;72881:9:::1;::::0;;-1:-1:-1;;;;72868:22:0;::::1;-1:-1:-1::0;;;72881:9:0;;;::::1;;;72880:10;72868:22:::0;;::::1;;::::0;;72818:80::o;51149:193::-;51295:39;51312:4;51318:2;51322:7;51295:39;;;;;;;;;;;;:16;:39::i;:::-;51149:193;;;:::o;73608:145::-;17213:13;:11;:13::i;:::-;73716:29:::1;::::0;73684:21:::1;::::0;-1:-1:-1;;;;;73716:20:0;::::1;::::0;:29;::::1;;;::::0;73684:21;;73666:15:::1;73716:29:::0;73666:15;73716:29;73684:21;73716:20;:29;::::1;;;;;;;;;;;;;::::0;::::1;;;;73508:92:::0;17213:13;:11;:13::i;:::-;73574:7:::1;:18:::0;73508:92::o;72606:104::-;17213:13;:11;:13::i;:::-;72681:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;72606:104:::0;:::o;39491:152::-;39563:7;39606:27;39625:7;39606:18;:27::i;71023:83::-;71062:4;71085:13;34123:12;;33910:7;34107:13;:28;;33849:323;71085:13;71078:20;;71023:83;:::o;35033:233::-;35105:7;-1:-1:-1;;;;;35129:19:0;;35125:60;;35157:28;;-1:-1:-1;;;35157:28:0;;;;;;;;;;;35125:60;-1:-1:-1;;;;;;35203:25:0;;;;;:18;:25;;;;;;29192:13;35203:55;;35033:233::o;17975:103::-;17213:13;:11;:13::i;:::-;18040:30:::1;18067:1;18040:18;:30::i;:::-;17975:103::o:0;38274:104::-;38330:13;38363:7;38356:14;;;;;:::i;73396:104::-;17213:13;:11;:13::i;:::-;73468:10:::1;:24:::0;73396:104::o;45147:234::-;68355:10;45242:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;45242:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;45242:60:0;;;;;;;;;;45318:55;;7153:41:1;;;45242:49:0;;68355:10;45318:55;;7126:18:1;45318:55:0;;;;;;;45147:234;;:::o;51940:407::-;52115:31;52128:4;52134:2;52138:7;52115:12;:31::i;:::-;-1:-1:-1;;;;;52161:14:0;;;:19;52157:183;;52200:56;52231:4;52237:2;52241:7;52250:5;52200:30;:56::i;:::-;52195:145;;52284:40;;-1:-1:-1;;;52284:40:0;;;;;;;;;;;52195:145;51940:407;;;;:::o;70702:37::-;;;;;;;:::i;71742:740::-;71860:13;71913:16;71921:7;71913;:16::i;:::-;71891:97;;;;-1:-1:-1;;;71891:97:0;;8336:2:1;71891:97:0;;;8318:21:1;8375:2;8355:18;;;8348:30;8414:33;8394:18;;;8387:61;8465:18;;71891:97:0;;;;;;;;;72005:9;;-1:-1:-1;;;72005:9:0;;;;72001:72;;72047:14;72040:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71742:740;;;:::o;72001:72::-;72085:23;72111:19;;;:10;:19;;;;;72085:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72141:18;72162:10;:8;:10::i;:::-;72141:31;;72195:4;72189:18;72211:1;72189:23;72185:72;;;-1:-1:-1;72236:9:0;71742:740;-1:-1:-1;;71742:740:0:o;72185:72::-;72273:23;;:27;72269:108;;72348:4;72354:9;72331:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72317:48;;;;71742:740;;;:::o;72269:108::-;72433:4;72439:18;:7;:16;:18::i;:::-;72459:13;72416:57;;;;;;;;;;:::i;72906:81::-;17213:13;:11;:13::i;:::-;72955:24:::1;72965:10;72977:1;72955:9;:24::i;73237:151::-:0;17213:13;:11;:13::i;:::-;73347:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;72718:92::-:0;17213:13;:11;:13::i;:::-;72789::::1;::::0;;-1:-1:-1;;;;72772:30:0;::::1;-1:-1:-1::0;;;72789:13:0;;;::::1;;;72788:14;72772:30:::0;;::::1;;::::0;;72718:92::o;71114:620::-;70437:3;71221:13;71205;34123:12;;33910:7;34107:13;:28;;33849:323;71205:13;:29;;;;:::i;:::-;:43;;71183:121;;;;-1:-1:-1;;;71183:121:0;;9103:2:1;71183:121:0;;;9085:21:1;9142:2;9122:18;;;9115:30;9181;9161:18;;;9154:58;9229:18;;71183:121:0;8901:352:1;71183:121:0;71323:13;;-1:-1:-1;;;71323:13:0;;;;71315:57;;;;-1:-1:-1;;;71315:57:0;;7976:2:1;71315:57:0;;;7958:21:1;8015:2;7995:18;;;7988:30;8054:33;8034:18;;;8027:61;8105:18;;71315:57:0;7774:355:1;71315:57:0;71410:7;;71393:13;:24;;71385:67;;;;-1:-1:-1;;;71385:67:0;;9460:2:1;71385:67:0;;;9442:21:1;9499:2;9479:18;;;9472:30;9538:32;9518:18;;;9511:60;9588:18;;71385:67:0;9258:354:1;71385:67:0;71529:10;;71512:13;71487:21;71497:10;71487:9;:21::i;:::-;:38;;;;:::i;:::-;:52;;71465:132;;;;-1:-1:-1;;;71465:132:0;;9819:2:1;71465:132:0;;;9801:21:1;9858:2;9838:18;;;9831:30;9897:31;9877:18;;;9870:59;9946:18;;71465:132:0;9617:353:1;71465:132:0;71647:9;71634;;71618:13;:25;;;;:::i;:::-;:38;;71610:67;;;;-1:-1:-1;;;71610:67:0;;7631:2:1;71610:67:0;;;7613:21:1;7670:2;7650:18;;;7643:30;-1:-1:-1;;;7689:18:1;;;7682:46;7745:18;;71610:67:0;7429:340:1;71610:67:0;71690:36;71700:10;71712:13;71690:9;:36::i;:::-;71114:620;:::o;73103:126::-;17213:13;:11;:13::i;:::-;73189:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;18233:201::-:0;17213:13;:11;:13::i;:::-;-1:-1:-1;;;;;18322:22:0;::::1;18314:73;;;::::0;-1:-1:-1;;;18314:73:0;;8696:2:1;18314:73:0::1;::::0;::::1;8678:21:1::0;8735:2;8715:18;;;8708:30;8774:34;8754:18;;;8747:62;-1:-1:-1;;;8825:18:1;;;8818:36;8871:19;;18314:73:0::1;8494:402:1::0;18314:73:0::1;18398:28;18417:8;18398:18;:28::i;72995:100::-:0;17213:13;:11;:13::i;:::-;73065:9:::1;:22:::0;72995:100::o;45960:282::-;46025:4;46115:13;;46105:7;:23;46062:153;;;;-1:-1:-1;;46166:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;46166:44:0;:49;;45960:282::o;40646:1275::-;40713:7;40748;40850:13;;40843:4;:20;40839:1015;;;40888:14;40905:23;;;:17;:23;;;;;;-1:-1:-1;;;40994:24:0;;40990:845;;41659:113;41666:11;41659:113;;-1:-1:-1;;;41737:6:0;41719:25;;;;:17;:25;;;;;;41659:113;;;41805:6;40646:1275;-1:-1:-1;;;40646:1275:0:o;40990:845::-;40865:989;40839:1015;41882:31;;-1:-1:-1;;;41882:31:0;;;;;;;;;;;17492:132;17400:6;;-1:-1:-1;;;;;17400:6:0;68355:10;17556:23;17548:68;;;;-1:-1:-1;;;17548:68:0;;10177:2:1;17548:68:0;;;10159:21:1;;;10196:18;;;10189:30;10255:34;10235:18;;;10228:62;10307:18;;17548:68:0;9975:356:1;18594:191:0;18687:6;;;-1:-1:-1;;;;;18704:17:0;;;-1:-1:-1;;;;;;18704:17:0;;;;;;;18737:40;;18687:6;;;18704:17;18687:6;;18737:40;;18668:16;;18737:40;18657:128;18594:191;:::o;54431:716::-;54615:88;;-1:-1:-1;;;54615:88:0;;54594:4;;-1:-1:-1;;;;;54615:45:0;;;;;:88;;68355:10;;54682:4;;54688:7;;54697:5;;54615:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54615:88:0;;;;;;;;-1:-1:-1;;54615:88:0;;;;;;;;;;;;:::i;:::-;;;54611:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54898:13:0;;54894:235;;54944:40;;-1:-1:-1;;;54944:40:0;;;;;;;;;;;54894:235;55087:6;55081:13;55072:6;55068:2;55064:15;55057:38;54611:529;-1:-1:-1;;;;;;54774:64:0;-1:-1:-1;;;54774:64:0;;-1:-1:-1;54611:529:0;54431:716;;;;;;:::o;72490:108::-;72550:13;72583:7;72576:14;;;;;:::i;13305:716::-;13361:13;13412:14;13429:17;13440:5;13429:10;:17::i;:::-;13449:1;13429:21;13412:38;;13465:20;13499:6;13488:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13488:18:0;-1:-1:-1;13465:41:0;-1:-1:-1;13630:28:0;;;13646:2;13630:28;13687:288;-1:-1:-1;;13719:5:0;-1:-1:-1;;;13856:2:0;13845:14;;13840:30;13719:5;13827:44;13917:2;13908:11;;;-1:-1:-1;13942:10:0;13938:21;;13954:5;;13938:21;13687:288;;;-1:-1:-1;13996:6:0;13305:716;-1:-1:-1;;;13305:716:0:o;62100:112::-;62177:27;62187:2;62191:8;62177:27;;;;;;;;;;;;:9;:27::i;10171:922::-;10224:7;;-1:-1:-1;;;10302:15:0;;10298:102;;-1:-1:-1;;;10338:15:0;;;-1:-1:-1;10382:2:0;10372:12;10298:102;10427:6;10418:5;:15;10414:102;;10463:6;10454:15;;;-1:-1:-1;10498:2:0;10488:12;10414:102;10543:6;10534:5;:15;10530:102;;10579:6;10570:15;;;-1:-1:-1;10614:2:0;10604:12;10530:102;10659:5;10650;:14;10646:99;;10694:5;10685:14;;;-1:-1:-1;10728:1:0;10718:11;10646:99;10772:5;10763;:14;10759:99;;10807:5;10798:14;;;-1:-1:-1;10841:1:0;10831:11;10759:99;10885:5;10876;:14;10872:99;;10920:5;10911:14;;;-1:-1:-1;10954:1:0;10944:11;10872:99;10998:5;10989;:14;10985:66;;11034:1;11024:11;11079:6;10171:922;-1:-1:-1;;10171:922:0:o;61327:689::-;61458:19;61464:2;61468:8;61458:5;:19::i;:::-;-1:-1:-1;;;;;61519:14:0;;;:19;61515:483;;61559:11;61573:13;61621:14;;;61654:233;61685:62;61724:1;61728:2;61732:7;;;;;;61741:5;61685:30;:62::i;:::-;61680:167;;61783:40;;-1:-1:-1;;;61783:40:0;;;;;;;;;;;61680:167;61882:3;61874:5;:11;61654:233;;61969:3;61952:13;;:20;61948:34;;61974:8;;;61948:34;61540:458;;61327:689;;;:::o;55609:2966::-;55682:20;55705:13;55733;55729:44;;55755:18;;-1:-1:-1;;;55755:18:0;;;;;;;;;;;55729:44;-1:-1:-1;;;;;56261:22:0;;;;;;:18;:22;;;;29330:2;56261:22;;;:71;;56299:32;56287:45;;56261:71;;;56575:31;;;:17;:31;;;;;-1:-1:-1;43311:15:0;;43285:24;43281:46;42880:11;42855:23;42851:41;42848:52;42838:63;;56575:173;;56810:23;;;;56575:31;;56261:22;;57575:25;56261:22;;57428:335;58089:1;58075:12;58071:20;58029:346;58130:3;58121:7;58118:16;58029:346;;58348:7;58338:8;58335:1;58308:25;58305:1;58302;58297:59;58183:1;58170:15;58029:346;;;-1:-1:-1;58408:13:0;58404:45;;58430:19;;-1:-1:-1;;;58430:19:0;;;;;;;;;;;58404:45;58466:13;:19;-1:-1:-1;51149:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:470::-;4484:3;4522:6;4516:13;4538:53;4584:6;4579:3;4572:4;4564:6;4560:17;4538:53;:::i;:::-;4654:13;;4613:16;;;;4676:57;4654:13;4613:16;4710:4;4698:17;;4676:57;:::i;:::-;4749:20;;4305:470;-1:-1:-1;;;;4305:470:1:o;4780:1527::-;5004:3;5042:6;5036:13;5068:4;5081:51;5125:6;5120:3;5115:2;5107:6;5103:15;5081:51;:::i;:::-;5195:13;;5154:16;;;;5217:55;5195:13;5154:16;5239:15;;;5217:55;:::i;:::-;5361:13;;5294:20;;;5334:1;;5421;5443:18;;;;5496;;;;5523:93;;5601:4;5591:8;5587:19;5575:31;;5523:93;5664:2;5654:8;5651:16;5631:18;5628:40;5625:167;;;-1:-1:-1;;;5691:33:1;;5747:4;5744:1;5737:15;5777:4;5698:3;5765:17;5625:167;5808:18;5835:110;;;;5959:1;5954:328;;;;5801:481;;5835:110;-1:-1:-1;;5870:24:1;;5856:39;;5915:20;;;;-1:-1:-1;5835:110:1;;5954:328;10591:1;10584:14;;;10628:4;10615:18;;6049:1;6063:169;6077:8;6074:1;6071:15;6063:169;;;6159:14;;6144:13;;;6137:37;6202:16;;;;6094:10;;6063:169;;;6067:3;;6263:8;6256:5;6252:20;6245:27;;5801:481;-1:-1:-1;6298:3:1;;4780:1527;-1:-1:-1;;;;;;;;;;;4780:1527:1:o;6520:488::-;-1:-1:-1;;;;;6789:15:1;;;6771:34;;6841:15;;6836:2;6821:18;;6814:43;6888:2;6873:18;;6866:34;;;6936:3;6931:2;6916:18;;6909:31;;;6714:4;;6957:45;;6982:19;;6974:6;6957:45;:::i;:::-;6949:53;6520:488;-1:-1:-1;;;;;;6520:488:1:o;7205:219::-;7354:2;7343:9;7336:21;7317:4;7374:44;7414:2;7403:9;7399:18;7391:6;7374:44;:::i;10644:128::-;10684:3;10715:1;10711:6;10708:1;10705:13;10702:39;;;10721:18;;:::i;:::-;-1:-1:-1;10757:9:1;;10644:128::o;10777:168::-;10817:7;10883:1;10879;10875:6;10871:14;10868:1;10865:21;10860:1;10853:9;10846:17;10842:45;10839:71;;;10890:18;;:::i;:::-;-1:-1:-1;10930:9:1;;10777:168::o;10950:258::-;11022:1;11032:113;11046:6;11043:1;11040:13;11032:113;;;11122:11;;;11116:18;11103:11;;;11096:39;11068:2;11061:10;11032:113;;;11163:6;11160:1;11157:13;11154:48;;;-1:-1:-1;;11198:1:1;11180:16;;11173:27;10950:258::o;11213:380::-;11292:1;11288:12;;;;11335;;;11356:61;;11410:4;11402:6;11398:17;11388:27;;11356:61;11463:2;11455:6;11452:14;11432:18;11429:38;11426:161;;;11509:10;11504:3;11500:20;11497:1;11490:31;11544:4;11541:1;11534:15;11572:4;11569:1;11562:15;11426:161;;11213:380;;;:::o;11598:127::-;11659:10;11654:3;11650:20;11647:1;11640:31;11690:4;11687:1;11680:15;11714:4;11711:1;11704:15;11862:127;11923:10;11918:3;11914:20;11911:1;11904:31;11954:4;11951:1;11944:15;11978:4;11975:1;11968:15;11994:131;-1:-1:-1;;;;;;12068:32:1;;12058:43;;12048:71;;12115:1;12112;12105:12

Swarm Source

ipfs://8f44f5258d6957a58415db6fe2d7ecf25b24b5c2b994e651938529ff6d1a217b
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.