ETH Price: $2,987.69 (+3.64%)
Gas: 3 Gwei

Lost Realms ($LR)
 

Overview

TokenID

925

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
LostRealms

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 11 : LostRealms.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

// ██╗░░░░░░█████╗░░██████╗████████╗  ██████╗░███████╗░█████╗░██╗░░░░░███╗░░░███╗░██████╗
// ██║░░░░░██╔══██╗██╔════╝╚══██╔══╝  ██╔══██╗██╔════╝██╔══██╗██║░░░░░████╗░████║██╔════╝
// ██║░░░░░██║░░██║╚█████╗░░░░██║░░░  ██████╔╝█████╗░░███████║██║░░░░░██╔████╔██║╚█████╗░
// ██║░░░░░██║░░██║░╚═══██╗░░░██║░░░  ██╔══██╗██╔══╝░░██╔══██║██║░░░░░██║╚██╔╝██║░╚═══██╗
// ███████╗╚█████╔╝██████╔╝░░░██║░░░  ██║░░██║███████╗██║░░██║███████╗██║░╚═╝░██║██████╔╝
// ╚══════╝░╚════╝░╚═════╝░░░░╚═╝░░░  ╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝╚═════╝░

// Powered by https://nalikes.com

contract LostRealms is ERC721AQueryable, Ownable {
    
    using Strings for uint256;
    
    uint256 public maxSupply = 2000;
    uint256 public remainingTeamMints = 5;

    uint256 public price = 0.01 ether;

    string public hiddenURI;
    string public baseURI;
    string public uriSuffix;
    
    bool public paused = true; 
    bool public revealed = false;

    address public recipient;
    
    constructor() Ownable(msg.sender) ERC721A("Lost Realms", "$LR") {
        setRecipient(0x266E6fcF795E7Ada402e6787a22910D2D81a4d2b);
    }

    //******************************* MODIFIERS

    modifier notPaused() {
        require(!paused, "The contract is paused!");
        _;
    }

    modifier noBots() {
        require(_msgSender() == tx.origin, "No bots!");
        _;
    }

    modifier mintPriceCompliance(uint256 _mintPrice, uint256 _mintAmount) {
        require(msg.value >= _mintPrice * _mintAmount, "Insufficient funds.");
        _;
    }

    modifier mintCompliance(uint256 quantity) {
        require(_totalMinted() + quantity <= maxSupply - remainingTeamMints, "Max Supply Exceeded.");
        _;
    }

    //******************************* OVERRIDES

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

    //******************************* MINT

    function mintPublic(uint256 quantity) external payable noBots notPaused
        mintCompliance(quantity)
        mintPriceCompliance(price, quantity) {

            _safeMint(_msgSender(), quantity);
    }

    function mintReserved(address to, uint256 quantity) external onlyOwner {
        require(_totalMinted() + quantity <= maxSupply, "Reserved: Max Supply Exceeded.");
        require(quantity <= remainingTeamMints, "Exceeds reserved NFTs supply" );
        remainingTeamMints -= quantity;
        _safeMint(to, quantity);
    }

    function mintAdmin(address to, uint256 quantity) external onlyOwner mintCompliance(quantity) {
        _safeMint(to, quantity);
    }

    //******************************* ADMIN

    function setMaxSupply(uint256 _supply) external onlyOwner {
        require(_supply >= _totalMinted() + remainingTeamMints && _supply <= maxSupply, "Invalid Max Supply.");
        maxSupply = _supply;
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setUriSuffix(string memory _uriSuffix) external onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setHiddenURI(string memory _hiddenURI) external onlyOwner {
        hiddenURI = _hiddenURI;
    }

    function setRecipient(address newRecipient) public onlyOwner {
        require(newRecipient != address(0), "Cannot be the 0 address!");
        recipient = newRecipient;
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    //******************************* WITHDRAW

    function withdraw() public onlyOwner {
        
        require(recipient != address(0), "Cannot be the 0 address!");

        uint256 balance = address(this).balance;
        bool success;
        (success, ) = payable(recipient).call{value: balance}("");
        require(success, "Transaction Unsuccessful");

    }

    //******************************* VIEWS

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

        if (revealed == false) {
            return hiddenURI;
        }

        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString(), uriSuffix)) : "";    
    }
}

File 2 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

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

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

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

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

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

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

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

File 3 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the Merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

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

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

File 5 of 11 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 6 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 7 of 11 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 8 of 11 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

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

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

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

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

File 9 of 11 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

File 11 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"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":[{"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingTeamMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenURI","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526107d06009556005600a55662386f26fc10000600b55600f805461ffff1916600117905534801562000034575f80fd5b50336040518060400160405280600b81526020016a4c6f7374205265616c6d7360a81b8152506040518060400160405280600381526020016212262960e91b8152508160029081620000879190620002ab565b506003620000968282620002ab565b5060015f5550506001600160a01b038116620000cc57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000d781620000fd565b50620000f773266e6fcf795e7ada402e6787a22910d2d81a4d2b6200014e565b62000373565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b62000158620001da565b6001600160a01b038116620001b05760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420626520746865203020616464726573732100000000000000006044820152606401620000c3565b600f80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6008546001600160a01b03163314620002095760405163118cdaa760e01b8152336004820152602401620000c3565b565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200023457607f821691505b6020821081036200025357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002a6575f81815260208120601f850160051c81016020861015620002815750805b601f850160051c820191505b81811015620002a2578281556001016200028d565b5050505b505050565b81516001600160401b03811115620002c757620002c76200020b565b620002df81620002d884546200021f565b8462000259565b602080601f83116001811462000315575f8415620002fd5750858301515b5f19600386901b1c1916600185901b178555620002a2565b5f85815260208120601f198616915b82811015620003455788860151825594840194600190910190840162000324565b50858210156200036357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b61240280620003815f395ff3fe608060405260043610610249575f3560e01c8063715018a611610134578063b88d4fde116100b3578063d5abeb0111610078578063d5abeb0114610687578063e0a808531461069c578063e985e9c5146106bb578063efd0cbf914610702578063f2fde38b14610715578063f375b7c714610734575f80fd5b8063b88d4fde146105eb578063bbaac02f146105fe578063c23dc68f1461061d578063c3a7199914610649578063c87b56dd14610668575f80fd5b806391b7f5ed116100f957806391b7f5ed1461056557806395d89b411461058457806399a2557a14610598578063a035b1fe146105b7578063a22cb465146105cc575f80fd5b8063715018a6146104d55780637de55fe1146104e95780638462151c146105085780638cc54e7f146105345780638da5cb5b14610548575f80fd5b806342842e0e116101cb5780635c975abb116101905780635c975abb146104265780636352211e1461043f57806366d003ac1461045e5780636c0360eb146104835780636f8b44b01461049757806370a08231146104b6575f80fd5b806342842e0e1461039657806351830227146103a95780635503a0e8146103c757806355f804b3146103db5780635bbb2177146103fa575f80fd5b806316c38b3c1161021157806316c38b3c1461030d57806318160ddd1461032c57806323b872dd146103505780633bbed4a0146103635780633ccfd60b14610382575f80fd5b806301ffc9a71461024d57806306fdde0314610281578063081812fc146102a2578063095ea7b3146102d957806316ba10e0146102ee575b5f80fd5b348015610258575f80fd5b5061026c610267366004611cea565b610749565b60405190151581526020015b60405180910390f35b34801561028c575f80fd5b5061029561079a565b6040516102789190611d52565b3480156102ad575f80fd5b506102c16102bc366004611d64565b61082a565b6040516001600160a01b039091168152602001610278565b6102ec6102e7366004611d96565b61086c565b005b3480156102f9575f80fd5b506102ec610308366004611e45565b61090a565b348015610318575f80fd5b506102ec610327366004611e99565b610922565b348015610337575f80fd5b506001545f54035f19015b604051908152602001610278565b6102ec61035e366004611eb2565b61093d565b34801561036e575f80fd5b506102ec61037d366004611eeb565b610acd565b34801561038d575f80fd5b506102ec610b55565b6102ec6103a4366004611eb2565b610c65565b3480156103b4575f80fd5b50600f5461026c90610100900460ff1681565b3480156103d2575f80fd5b50610295610c84565b3480156103e6575f80fd5b506102ec6103f5366004611e45565b610d10565b348015610405575f80fd5b50610419610414366004611f04565b610d24565b6040516102789190611fb0565b348015610431575f80fd5b50600f5461026c9060ff1681565b34801561044a575f80fd5b506102c1610459366004611d64565b610dec565b348015610469575f80fd5b50600f546102c1906201000090046001600160a01b031681565b34801561048e575f80fd5b50610295610df6565b3480156104a2575f80fd5b506102ec6104b1366004611d64565b610e03565b3480156104c1575f80fd5b506103426104d0366004611eeb565b610e75565b3480156104e0575f80fd5b506102ec610ec2565b3480156104f4575f80fd5b506102ec610503366004611d96565b610ed5565b348015610513575f80fd5b50610527610522366004611eeb565b610fb7565b6040516102789190611ff1565b34801561053f575f80fd5b506102956110bc565b348015610553575f80fd5b506008546001600160a01b03166102c1565b348015610570575f80fd5b506102ec61057f366004611d64565b6110c9565b34801561058f575f80fd5b506102956110d6565b3480156105a3575f80fd5b506105276105b2366004612028565b6110e5565b3480156105c2575f80fd5b50610342600b5481565b3480156105d7575f80fd5b506102ec6105e6366004612058565b611265565b6102ec6105f9366004612089565b6112d0565b348015610609575f80fd5b506102ec610618366004611e45565b61131a565b348015610628575f80fd5b5061063c610637366004611d64565b61132e565b6040516102789190612100565b348015610654575f80fd5b506102ec610663366004611d96565b6113b3565b348015610673575f80fd5b50610295610682366004611d64565b611431565b348015610692575f80fd5b5061034260095481565b3480156106a7575f80fd5b506102ec6106b6366004611e99565b611588565b3480156106c6575f80fd5b5061026c6106d536600461210e565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6102ec610710366004611d64565b6115aa565b348015610720575f80fd5b506102ec61072f366004611eeb565b611700565b34801561073f575f80fd5b50610342600a5481565b5f6301ffc9a760e01b6001600160e01b03198316148061077957506380ac58cd60e01b6001600160e01b03198316145b806107945750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a990612136565b80601f01602080910402602001604051908101604052809291908181526020018280546107d590612136565b80156108205780601f106107f757610100808354040283529160200191610820565b820191905f5260205f20905b81548152906001019060200180831161080357829003601f168201915b5050505050905090565b5f6108348261173d565b610851576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61087682610dec565b9050336001600160a01b038216146108af5761089281336106d5565b6108af576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61091261176f565b600e61091e82826121b3565b5050565b61092a61176f565b600f805460ff1916911515919091179055565b5f6109478261179c565b9050836001600160a01b0316816001600160a01b03161461097a5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176109c6576109a986336106d5565b6109c657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109ed57604051633a954ecd60e21b815260040160405180910390fd5b80156109f7575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a8357600184015f818152600460205260408120549003610a81575f548114610a81575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610ad561176f565b6001600160a01b038116610b2b5760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b60448201526064015b60405180910390fd5b600f80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610b5d61176f565b600f546201000090046001600160a01b0316610bb65760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610b22565b600f5460405147915f91620100009091046001600160a01b03169083905f6040518083038185875af1925050503d805f8114610c0d576040519150601f19603f3d011682016040523d82523d5f602084013e610c12565b606091505b5050809150508061091e5760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20556e7375636365737366756c00000000000000006044820152606401610b22565b610c7f83838360405180602001604052805f8152506112d0565b505050565b600e8054610c9190612136565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbd90612136565b8015610d085780601f10610cdf57610100808354040283529160200191610d08565b820191905f5260205f20905b815481529060010190602001808311610ceb57829003601f168201915b505050505081565b610d1861176f565b600d61091e82826121b3565b6060815f8167ffffffffffffffff811115610d4157610d41611dbe565b604051908082528060200260200182016040528015610d9157816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f19909201910181610d5f5790505b5090505f5b828114610de357610dbe868683818110610db257610db261226f565b9050602002013561132e565b828281518110610dd057610dd061226f565b6020908102919091010152600101610d96565b50949350505050565b5f6107948261179c565b600d8054610c9190612136565b610e0b61176f565b600a545f545f1901610e1d9190612297565b8110158015610e2e57506009548111155b610e705760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21026b0bc1029bab838363c9760691b6044820152606401610b22565b600955565b5f6001600160a01b038216610e9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610eca61176f565b610ed35f611805565b565b610edd61176f565b60095481610eec5f545f190190565b610ef69190612297565b1115610f445760405162461bcd60e51b815260206004820152601e60248201527f52657365727665643a204d617820537570706c792045786365656465642e00006044820152606401610b22565b600a54811115610f965760405162461bcd60e51b815260206004820152601c60248201527f45786365656473207265736572766564204e46547320737570706c79000000006044820152606401610b22565b80600a5f828254610fa791906122aa565b9091555061091e90508282611856565b60605f805f610fc585610e75565b90505f8167ffffffffffffffff811115610fe157610fe1611dbe565b60405190808252806020026020018201604052801561100a578160200160208202803683370190505b509050611036604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b8386146110b0576110498161186f565b915081604001516110a85781516001600160a01b03161561106957815194505b876001600160a01b0316856001600160a01b0316036110a8578083878060010198508151811061109b5761109b61226f565b6020026020010181815250505b600101611039565b50909695505050505050565b600c8054610c9190612136565b6110d161176f565b600b55565b6060600380546107a990612136565b606081831061110757604051631960ccad60e11b815260040160405180910390fd5b5f806111115f5490565b9050600185101561112157600194505b8084111561112d578093505b5f61113787610e75565b9050848610156111565785850381811015611150578091505b50611159565b505f5b5f8167ffffffffffffffff81111561117357611173611dbe565b60405190808252806020026020018201604052801561119c578160200160208202803683370190505b509050815f036111b157935061125e92505050565b5f6111bb8861132e565b90505f81604001516111cb575080515b885b8881141580156111dd5750848714155b15611252576111eb8161186f565b9250826040015161124a5782516001600160a01b03161561120b57825191505b8a6001600160a01b0316826001600160a01b03160361124a578084888060010199508151811061123d5761123d61226f565b6020026020010181815250505b6001016111cd565b50505092835250909150505b9392505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112db84848461093d565b6001600160a01b0383163b15611314576112f7848484846118a9565b611314576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61132261176f565b600c61091e82826121b3565b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061138457505f548310155b1561138f5792915050565b6113988361186f565b90508060400151156113aa5792915050565b61125e83611991565b6113bb61176f565b80600a546009546113cc91906122aa565b816113d85f545f190190565b6113e29190612297565b11156114275760405162461bcd60e51b815260206004820152601460248201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b6044820152606401610b22565b610c7f8383611856565b606061143c8261173d565b6114885760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b22565b600f54610100900460ff1615155f0361152b57600c80546114a890612136565b80601f01602080910402602001604051908101604052809291908181526020018280546114d490612136565b801561151f5780601f106114f65761010080835404028352916020019161151f565b820191905f5260205f20905b81548152906001019060200180831161150257829003601f168201915b50505050509050919050565b5f600d805461153990612136565b9050116115545760405180602001604052805f815250610794565b600d61155f836119c5565b600e6040516020016115739392919061232c565b60405160208183030381529060405292915050565b61159061176f565b600f80549115156101000261ff0019909216919091179055565b3332146115e45760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610b22565b600f5460ff16156116375760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610b22565b80600a5460095461164891906122aa565b816116545f545f190190565b61165e9190612297565b11156116a35760405162461bcd60e51b815260206004820152601460248201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b6044820152606401610b22565b600b54826116b1818361235e565b3410156116f65760405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606401610b22565b6113143385611856565b61170861176f565b6001600160a01b03811661173157604051631e4fbdf760e01b81525f6004820152602401610b22565b61173a81611805565b50565b5f8160011115801561174f57505f5482105b80156107945750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ed35760405163118cdaa760e01b8152336004820152602401610b22565b5f81806001116117ec575f548110156117ec575f8181526004602052604081205490600160e01b821690036117ea575b805f0361125e57505f19015f818152600460205260409020546117cc565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61091e828260405180602001604052805f815250611a55565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461079490611abe565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906118dd903390899088908890600401612375565b6020604051808303815f875af1925050508015611917575060408051601f3d908101601f19168201909252611914918101906123b1565b60015b611973573d808015611944576040519150601f19603f3d011682016040523d82523d5f602084013e611949565b606091505b5080515f0361196b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182525f8082526020820181905291810182905260608101919091526107946119c08361179c565b611abe565b60605f6119d183611b06565b60010190505f8167ffffffffffffffff8111156119f0576119f0611dbe565b6040519080825280601f01601f191660200182016040528015611a1a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a2457509392505050565b611a5f8383611bdd565b6001600160a01b0383163b15610c7f575f548281035b611a875f8683806001019450866118a9565b611aa4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a7557815f5414611ab7575f80fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b445772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b70576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b8e57662386f26fc10000830492506010015b6305f5e1008310611ba6576305f5e100830492506008015b6127108310611bba57612710830492506004015b60648310611bcc576064830492506002015b600a83106107945760010192915050565b5f805490829003611c015760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cad5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611c77565b50815f03611ccd57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b03198116811461173a575f80fd5b5f60208284031215611cfa575f80fd5b813561125e81611cd5565b5f5b83811015611d1f578181015183820152602001611d07565b50505f910152565b5f8151808452611d3e816020860160208601611d05565b601f01601f19169290920160200192915050565b602081525f61125e6020830184611d27565b5f60208284031215611d74575f80fd5b5035919050565b80356001600160a01b0381168114611d91575f80fd5b919050565b5f8060408385031215611da7575f80fd5b611db083611d7b565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611dec57611dec611dbe565b604051601f8501601f19908116603f01168101908282118183101715611e1457611e14611dbe565b81604052809350858152868686011115611e2c575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611e55575f80fd5b813567ffffffffffffffff811115611e6b575f80fd5b8201601f81018413611e7b575f80fd5b61198984823560208401611dd2565b80358015158114611d91575f80fd5b5f60208284031215611ea9575f80fd5b61125e82611e8a565b5f805f60608486031215611ec4575f80fd5b611ecd84611d7b565b9250611edb60208501611d7b565b9150604084013590509250925092565b5f60208284031215611efb575f80fd5b61125e82611d7b565b5f8060208385031215611f15575f80fd5b823567ffffffffffffffff80821115611f2c575f80fd5b818501915085601f830112611f3f575f80fd5b813581811115611f4d575f80fd5b8660208260051b8501011115611f61575f80fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f9190848201906040850190845b818110156110b057611fde838551611f73565b9284019260809290920191600101611fcb565b602080825282518282018190525f9190848201906040850190845b818110156110b05783518352928401929184019160010161200c565b5f805f6060848603121561203a575f80fd5b61204384611d7b565b95602085013595506040909401359392505050565b5f8060408385031215612069575f80fd5b61207283611d7b565b915061208060208401611e8a565b90509250929050565b5f805f806080858703121561209c575f80fd5b6120a585611d7b565b93506120b360208601611d7b565b925060408501359150606085013567ffffffffffffffff8111156120d5575f80fd5b8501601f810187136120e5575f80fd5b6120f487823560208401611dd2565b91505092959194509250565b608081016107948284611f73565b5f806040838503121561211f575f80fd5b61212883611d7b565b915061208060208401611d7b565b600181811c9082168061214a57607f821691505b60208210810361216857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c7f575f81815260208120601f850160051c810160208610156121945750805b601f850160051c820191505b81811015610ac5578281556001016121a0565b815167ffffffffffffffff8111156121cd576121cd611dbe565b6121e1816121db8454612136565b8461216e565b602080601f831160018114612214575f84156121fd5750858301515b5f19600386901b1c1916600185901b178555610ac5565b5f85815260208120601f198616915b8281101561224257888601518255948401946001909101908401612223565b508582101561225f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561079457610794612283565b8181038181111561079457610794612283565b5f81546122c981612136565b600182811680156122e157600181146122f657612322565b60ff1984168752821515830287019450612322565b855f526020805f205f5b858110156123195781548a820152908401908201612300565b50505082870194505b5050505092915050565b5f61233782866122bd565b8451612347818360208901611d05565b612353818301866122bd565b979650505050505050565b808202811582820484141761079457610794612283565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906123a790830184611d27565b9695505050505050565b5f602082840312156123c1575f80fd5b815161125e81611cd556fea2646970667358221220963e4b59bf9b3c5c19c9c8a0482da7d7068a157e17e8ea772405c8a739d6921164736f6c63430008140033

Deployed Bytecode

0x608060405260043610610249575f3560e01c8063715018a611610134578063b88d4fde116100b3578063d5abeb0111610078578063d5abeb0114610687578063e0a808531461069c578063e985e9c5146106bb578063efd0cbf914610702578063f2fde38b14610715578063f375b7c714610734575f80fd5b8063b88d4fde146105eb578063bbaac02f146105fe578063c23dc68f1461061d578063c3a7199914610649578063c87b56dd14610668575f80fd5b806391b7f5ed116100f957806391b7f5ed1461056557806395d89b411461058457806399a2557a14610598578063a035b1fe146105b7578063a22cb465146105cc575f80fd5b8063715018a6146104d55780637de55fe1146104e95780638462151c146105085780638cc54e7f146105345780638da5cb5b14610548575f80fd5b806342842e0e116101cb5780635c975abb116101905780635c975abb146104265780636352211e1461043f57806366d003ac1461045e5780636c0360eb146104835780636f8b44b01461049757806370a08231146104b6575f80fd5b806342842e0e1461039657806351830227146103a95780635503a0e8146103c757806355f804b3146103db5780635bbb2177146103fa575f80fd5b806316c38b3c1161021157806316c38b3c1461030d57806318160ddd1461032c57806323b872dd146103505780633bbed4a0146103635780633ccfd60b14610382575f80fd5b806301ffc9a71461024d57806306fdde0314610281578063081812fc146102a2578063095ea7b3146102d957806316ba10e0146102ee575b5f80fd5b348015610258575f80fd5b5061026c610267366004611cea565b610749565b60405190151581526020015b60405180910390f35b34801561028c575f80fd5b5061029561079a565b6040516102789190611d52565b3480156102ad575f80fd5b506102c16102bc366004611d64565b61082a565b6040516001600160a01b039091168152602001610278565b6102ec6102e7366004611d96565b61086c565b005b3480156102f9575f80fd5b506102ec610308366004611e45565b61090a565b348015610318575f80fd5b506102ec610327366004611e99565b610922565b348015610337575f80fd5b506001545f54035f19015b604051908152602001610278565b6102ec61035e366004611eb2565b61093d565b34801561036e575f80fd5b506102ec61037d366004611eeb565b610acd565b34801561038d575f80fd5b506102ec610b55565b6102ec6103a4366004611eb2565b610c65565b3480156103b4575f80fd5b50600f5461026c90610100900460ff1681565b3480156103d2575f80fd5b50610295610c84565b3480156103e6575f80fd5b506102ec6103f5366004611e45565b610d10565b348015610405575f80fd5b50610419610414366004611f04565b610d24565b6040516102789190611fb0565b348015610431575f80fd5b50600f5461026c9060ff1681565b34801561044a575f80fd5b506102c1610459366004611d64565b610dec565b348015610469575f80fd5b50600f546102c1906201000090046001600160a01b031681565b34801561048e575f80fd5b50610295610df6565b3480156104a2575f80fd5b506102ec6104b1366004611d64565b610e03565b3480156104c1575f80fd5b506103426104d0366004611eeb565b610e75565b3480156104e0575f80fd5b506102ec610ec2565b3480156104f4575f80fd5b506102ec610503366004611d96565b610ed5565b348015610513575f80fd5b50610527610522366004611eeb565b610fb7565b6040516102789190611ff1565b34801561053f575f80fd5b506102956110bc565b348015610553575f80fd5b506008546001600160a01b03166102c1565b348015610570575f80fd5b506102ec61057f366004611d64565b6110c9565b34801561058f575f80fd5b506102956110d6565b3480156105a3575f80fd5b506105276105b2366004612028565b6110e5565b3480156105c2575f80fd5b50610342600b5481565b3480156105d7575f80fd5b506102ec6105e6366004612058565b611265565b6102ec6105f9366004612089565b6112d0565b348015610609575f80fd5b506102ec610618366004611e45565b61131a565b348015610628575f80fd5b5061063c610637366004611d64565b61132e565b6040516102789190612100565b348015610654575f80fd5b506102ec610663366004611d96565b6113b3565b348015610673575f80fd5b50610295610682366004611d64565b611431565b348015610692575f80fd5b5061034260095481565b3480156106a7575f80fd5b506102ec6106b6366004611e99565b611588565b3480156106c6575f80fd5b5061026c6106d536600461210e565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6102ec610710366004611d64565b6115aa565b348015610720575f80fd5b506102ec61072f366004611eeb565b611700565b34801561073f575f80fd5b50610342600a5481565b5f6301ffc9a760e01b6001600160e01b03198316148061077957506380ac58cd60e01b6001600160e01b03198316145b806107945750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107a990612136565b80601f01602080910402602001604051908101604052809291908181526020018280546107d590612136565b80156108205780601f106107f757610100808354040283529160200191610820565b820191905f5260205f20905b81548152906001019060200180831161080357829003601f168201915b5050505050905090565b5f6108348261173d565b610851576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61087682610dec565b9050336001600160a01b038216146108af5761089281336106d5565b6108af576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61091261176f565b600e61091e82826121b3565b5050565b61092a61176f565b600f805460ff1916911515919091179055565b5f6109478261179c565b9050836001600160a01b0316816001600160a01b03161461097a5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176109c6576109a986336106d5565b6109c657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109ed57604051633a954ecd60e21b815260040160405180910390fd5b80156109f7575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610a8357600184015f818152600460205260408120549003610a81575f548114610a81575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610ad561176f565b6001600160a01b038116610b2b5760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b60448201526064015b60405180910390fd5b600f80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b610b5d61176f565b600f546201000090046001600160a01b0316610bb65760405162461bcd60e51b815260206004820152601860248201527743616e6e6f7420626520746865203020616464726573732160401b6044820152606401610b22565b600f5460405147915f91620100009091046001600160a01b03169083905f6040518083038185875af1925050503d805f8114610c0d576040519150601f19603f3d011682016040523d82523d5f602084013e610c12565b606091505b5050809150508061091e5760405162461bcd60e51b815260206004820152601860248201527f5472616e73616374696f6e20556e7375636365737366756c00000000000000006044820152606401610b22565b610c7f83838360405180602001604052805f8152506112d0565b505050565b600e8054610c9190612136565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbd90612136565b8015610d085780601f10610cdf57610100808354040283529160200191610d08565b820191905f5260205f20905b815481529060010190602001808311610ceb57829003601f168201915b505050505081565b610d1861176f565b600d61091e82826121b3565b6060815f8167ffffffffffffffff811115610d4157610d41611dbe565b604051908082528060200260200182016040528015610d9157816020015b604080516080810182525f8082526020808301829052928201819052606082015282525f19909201910181610d5f5790505b5090505f5b828114610de357610dbe868683818110610db257610db261226f565b9050602002013561132e565b828281518110610dd057610dd061226f565b6020908102919091010152600101610d96565b50949350505050565b5f6107948261179c565b600d8054610c9190612136565b610e0b61176f565b600a545f545f1901610e1d9190612297565b8110158015610e2e57506009548111155b610e705760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b21026b0bc1029bab838363c9760691b6044820152606401610b22565b600955565b5f6001600160a01b038216610e9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610eca61176f565b610ed35f611805565b565b610edd61176f565b60095481610eec5f545f190190565b610ef69190612297565b1115610f445760405162461bcd60e51b815260206004820152601e60248201527f52657365727665643a204d617820537570706c792045786365656465642e00006044820152606401610b22565b600a54811115610f965760405162461bcd60e51b815260206004820152601c60248201527f45786365656473207265736572766564204e46547320737570706c79000000006044820152606401610b22565b80600a5f828254610fa791906122aa565b9091555061091e90508282611856565b60605f805f610fc585610e75565b90505f8167ffffffffffffffff811115610fe157610fe1611dbe565b60405190808252806020026020018201604052801561100a578160200160208202803683370190505b509050611036604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b8386146110b0576110498161186f565b915081604001516110a85781516001600160a01b03161561106957815194505b876001600160a01b0316856001600160a01b0316036110a8578083878060010198508151811061109b5761109b61226f565b6020026020010181815250505b600101611039565b50909695505050505050565b600c8054610c9190612136565b6110d161176f565b600b55565b6060600380546107a990612136565b606081831061110757604051631960ccad60e11b815260040160405180910390fd5b5f806111115f5490565b9050600185101561112157600194505b8084111561112d578093505b5f61113787610e75565b9050848610156111565785850381811015611150578091505b50611159565b505f5b5f8167ffffffffffffffff81111561117357611173611dbe565b60405190808252806020026020018201604052801561119c578160200160208202803683370190505b509050815f036111b157935061125e92505050565b5f6111bb8861132e565b90505f81604001516111cb575080515b885b8881141580156111dd5750848714155b15611252576111eb8161186f565b9250826040015161124a5782516001600160a01b03161561120b57825191505b8a6001600160a01b0316826001600160a01b03160361124a578084888060010199508151811061123d5761123d61226f565b6020026020010181815250505b6001016111cd565b50505092835250909150505b9392505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112db84848461093d565b6001600160a01b0383163b15611314576112f7848484846118a9565b611314576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61132261176f565b600c61091e82826121b3565b604080516080810182525f808252602082018190529181018290526060810191909152604080516080810182525f808252602082018190529181018290526060810191909152600183108061138457505f548310155b1561138f5792915050565b6113988361186f565b90508060400151156113aa5792915050565b61125e83611991565b6113bb61176f565b80600a546009546113cc91906122aa565b816113d85f545f190190565b6113e29190612297565b11156114275760405162461bcd60e51b815260206004820152601460248201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b6044820152606401610b22565b610c7f8383611856565b606061143c8261173d565b6114885760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b22565b600f54610100900460ff1615155f0361152b57600c80546114a890612136565b80601f01602080910402602001604051908101604052809291908181526020018280546114d490612136565b801561151f5780601f106114f65761010080835404028352916020019161151f565b820191905f5260205f20905b81548152906001019060200180831161150257829003601f168201915b50505050509050919050565b5f600d805461153990612136565b9050116115545760405180602001604052805f815250610794565b600d61155f836119c5565b600e6040516020016115739392919061232c565b60405160208183030381529060405292915050565b61159061176f565b600f80549115156101000261ff0019909216919091179055565b3332146115e45760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610b22565b600f5460ff16156116375760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610b22565b80600a5460095461164891906122aa565b816116545f545f190190565b61165e9190612297565b11156116a35760405162461bcd60e51b815260206004820152601460248201527326b0bc1029bab838363c9022bc31b2b2b232b21760611b6044820152606401610b22565b600b54826116b1818361235e565b3410156116f65760405162461bcd60e51b815260206004820152601360248201527224b739bab33334b1b4b2b73a10333ab732399760691b6044820152606401610b22565b6113143385611856565b61170861176f565b6001600160a01b03811661173157604051631e4fbdf760e01b81525f6004820152602401610b22565b61173a81611805565b50565b5f8160011115801561174f57505f5482105b80156107945750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ed35760405163118cdaa760e01b8152336004820152602401610b22565b5f81806001116117ec575f548110156117ec575f8181526004602052604081205490600160e01b821690036117ea575b805f0361125e57505f19015f818152600460205260409020546117cc565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61091e828260405180602001604052805f815250611a55565b604080516080810182525f8082526020820181905291810182905260608101919091525f8281526004602052604090205461079490611abe565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906118dd903390899088908890600401612375565b6020604051808303815f875af1925050508015611917575060408051601f3d908101601f19168201909252611914918101906123b1565b60015b611973573d808015611944576040519150601f19603f3d011682016040523d82523d5f602084013e611949565b606091505b5080515f0361196b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182525f8082526020820181905291810182905260608101919091526107946119c08361179c565b611abe565b60605f6119d183611b06565b60010190505f8167ffffffffffffffff8111156119f0576119f0611dbe565b6040519080825280601f01601f191660200182016040528015611a1a576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a2457509392505050565b611a5f8383611bdd565b6001600160a01b0383163b15610c7f575f548281035b611a875f8683806001019450866118a9565b611aa4576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a7557815f5414611ab7575f80fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b445772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b70576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b8e57662386f26fc10000830492506010015b6305f5e1008310611ba6576305f5e100830492506008015b6127108310611bba57612710830492506004015b60648310611bcc576064830492506002015b600a83106107945760010192915050565b5f805490829003611c015760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cad5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611c77565b50815f03611ccd57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b03198116811461173a575f80fd5b5f60208284031215611cfa575f80fd5b813561125e81611cd5565b5f5b83811015611d1f578181015183820152602001611d07565b50505f910152565b5f8151808452611d3e816020860160208601611d05565b601f01601f19169290920160200192915050565b602081525f61125e6020830184611d27565b5f60208284031215611d74575f80fd5b5035919050565b80356001600160a01b0381168114611d91575f80fd5b919050565b5f8060408385031215611da7575f80fd5b611db083611d7b565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611dec57611dec611dbe565b604051601f8501601f19908116603f01168101908282118183101715611e1457611e14611dbe565b81604052809350858152868686011115611e2c575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611e55575f80fd5b813567ffffffffffffffff811115611e6b575f80fd5b8201601f81018413611e7b575f80fd5b61198984823560208401611dd2565b80358015158114611d91575f80fd5b5f60208284031215611ea9575f80fd5b61125e82611e8a565b5f805f60608486031215611ec4575f80fd5b611ecd84611d7b565b9250611edb60208501611d7b565b9150604084013590509250925092565b5f60208284031215611efb575f80fd5b61125e82611d7b565b5f8060208385031215611f15575f80fd5b823567ffffffffffffffff80821115611f2c575f80fd5b818501915085601f830112611f3f575f80fd5b813581811115611f4d575f80fd5b8660208260051b8501011115611f61575f80fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b602080825282518282018190525f9190848201906040850190845b818110156110b057611fde838551611f73565b9284019260809290920191600101611fcb565b602080825282518282018190525f9190848201906040850190845b818110156110b05783518352928401929184019160010161200c565b5f805f6060848603121561203a575f80fd5b61204384611d7b565b95602085013595506040909401359392505050565b5f8060408385031215612069575f80fd5b61207283611d7b565b915061208060208401611e8a565b90509250929050565b5f805f806080858703121561209c575f80fd5b6120a585611d7b565b93506120b360208601611d7b565b925060408501359150606085013567ffffffffffffffff8111156120d5575f80fd5b8501601f810187136120e5575f80fd5b6120f487823560208401611dd2565b91505092959194509250565b608081016107948284611f73565b5f806040838503121561211f575f80fd5b61212883611d7b565b915061208060208401611d7b565b600181811c9082168061214a57607f821691505b60208210810361216857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610c7f575f81815260208120601f850160051c810160208610156121945750805b601f850160051c820191505b81811015610ac5578281556001016121a0565b815167ffffffffffffffff8111156121cd576121cd611dbe565b6121e1816121db8454612136565b8461216e565b602080601f831160018114612214575f84156121fd5750858301515b5f19600386901b1c1916600185901b178555610ac5565b5f85815260208120601f198616915b8281101561224257888601518255948401946001909101908401612223565b508582101561225f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561079457610794612283565b8181038181111561079457610794612283565b5f81546122c981612136565b600182811680156122e157600181146122f657612322565b60ff1984168752821515830287019450612322565b855f526020805f205f5b858110156123195781548a820152908401908201612300565b50505082870194505b5050505092915050565b5f61233782866122bd565b8451612347818360208901611d05565b612353818301866122bd565b979650505050505050565b808202811582820484141761079457610794612283565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906123a790830184611d27565b9695505050505050565b5f602082840312156123c1575f80fd5b815161125e81611cd556fea2646970667358221220963e4b59bf9b3c5c19c9c8a0482da7d7068a157e17e8ea772405c8a739d6921164736f6c63430008140033

Deployed Bytecode Sourcemap

1918:3977:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:7;;;;;;;;;;-1:-1:-1;9155:630:7;;;;;:::i;:::-;;:::i;:::-;;;565:14:11;;558:22;540:41;;528:2;513:18;9155:630:7;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:7;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:11;;;1679:51;;1667:2;1652:18;16360:214:7;1533:203:11;15812:398:7;;;;;;:::i;:::-;;:::i;:::-;;4468:108:6;;;;;;;;;;-1:-1:-1;4468:108:6;;;;;:::i;:::-;;:::i;4886:83::-;;;;;;;;;;-1:-1:-1;4886:83:6;;;;;:::i;:::-;;:::i;5894:317:7:-;;;;;;;;;;-1:-1:-1;3243:1:6;6164:12:7;5955:7;6148:13;:28;-1:-1:-1;;6148:46:7;5894:317;;;3899:25:11;;;3887:2;3872:18;5894:317:7;3753:177:11;19903:2764:7;;;;;;:::i;:::-;;:::i;4700:178:6:-;;;;;;;;;;-1:-1:-1;4700:178:6;;;;;:::i;:::-;;:::i;5122:326::-;;;;;;;;;;;;;:::i;22758:187:7:-;;;;;;:::i;:::-;;:::i;2271:28:6:-;;;;;;;;;;-1:-1:-1;2271:28:6;;;;;;;;;;;2202:23;;;;;;;;;;;;;:::i;4360:100::-;;;;;;;;;;-1:-1:-1;4360:100:6;;;;;:::i;:::-;;:::i;1641:513:9:-;;;;;;;;;;-1:-1:-1;1641:513:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2238:25:6:-;;;;;;;;;;-1:-1:-1;2238:25:6;;;;;;;;11391:150:7;;;;;;;;;;-1:-1:-1;11391:150:7;;;;;:::i;:::-;;:::i;2308:24:6:-;;;;;;;;;;-1:-1:-1;2308:24:6;;;;;;;-1:-1:-1;;;;;2308:24:6;;;2174:21;;;;;;;;;;;;;:::i;4051:209::-;;;;;;;;;;-1:-1:-1;4051:209:6;;;;;:::i;:::-;;:::i;7045:230:7:-;;;;;;;;;;-1:-1:-1;7045:230:7;;;;;:::i;:::-;;:::i;2293:101:0:-;;;;;;;;;;;;;:::i;3524:329:6:-;;;;;;;;;;-1:-1:-1;3524:329:6;;;;;:::i;:::-;;:::i;5417:879:9:-;;;;;;;;;;-1:-1:-1;5417:879:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2144:23:6:-;;;;;;;;;;;;;:::i;1638:85:0:-;;;;;;;;;;-1:-1:-1;1710:6:0;;-1:-1:-1;;;;;1710:6:0;1638:85;;4268:84:6;;;;;;;;;;-1:-1:-1;4268:84:6;;;;;:::i;:::-;;:::i;10208:102:7:-;;;;;;;;;;;;;:::i;2528:2454:9:-;;;;;;;;;;-1:-1:-1;2528:2454:9;;;;;:::i;:::-;;:::i;2102:33:6:-;;;;;;;;;;;;;;;;16901:231:7;;;;;;;;;;-1:-1:-1;16901:231:7;;;;;:::i;:::-;;:::i;23526:396::-;;;;;;:::i;:::-;;:::i;4584:108:6:-;;;;;;;;;;-1:-1:-1;4584:108:6;;;;;:::i;:::-;;:::i;1070:418:9:-;;;;;;;;;;-1:-1:-1;1070:418:9;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3861:135:6:-;;;;;;;;;;-1:-1:-1;3861:135:6;;;;;:::i;:::-;;:::i;5503:389::-;;;;;;;;;;-1:-1:-1;5503:389:6;;;;;:::i;:::-;;:::i;2018:31::-;;;;;;;;;;;;;;;;4977:87;;;;;;;;;;-1:-1:-1;4977:87:6;;;;;:::i;:::-;;:::i;17282:162:7:-;;;;;;;;;;-1:-1:-1;17282:162:7;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:7;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;3306:210:6;;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;2056:37:6:-;;;;;;;;;;;;;;;;9155:630:7;9240:4;-1:-1:-1;;;;;;;;;9558:25:7;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:7;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:7;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:7:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:7;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:7;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:7;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:7;-1:-1:-1;;;;;15947:28:7;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:7;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:7;-1:-1:-1;;;;;16125:35:7;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;4468:108:6:-;1531:13:0;:11;:13::i;:::-;4546:9:6::1;:22;4558:10:::0;4546:9;:22:::1;:::i;:::-;;4468:108:::0;:::o;4886:83::-;1531:13:0;:11;:13::i;:::-;4946:6:6::1;:15:::0;;-1:-1:-1;;4946:15:6::1;::::0;::::1;;::::0;;;::::1;::::0;;4886:83::o;19903:2764:7:-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:7;20128:19;-1:-1:-1;;;;;20112:45:7;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:7;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:7;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:7;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:7;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:7;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:7;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:7;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:7;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:7;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:7;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:7;22590:4;-1:-1:-1;;;;;22581:27:7;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;4700:178:6:-;1531:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;4780:26:6;::::1;4772:63;;;::::0;-1:-1:-1;;;4772:63:6;;11386:2:11;4772:63:6::1;::::0;::::1;11368:21:11::0;11425:2;11405:18;;;11398:30;-1:-1:-1;;;11444:18:11;;;11437:54;11508:18;;4772:63:6::1;;;;;;;;;4846:9;:24:::0;;-1:-1:-1;;;;;4846:24:6;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;4846:24:6;;::::1;::::0;;;::::1;::::0;;4700:178::o;5122:326::-;1531:13:0;:11;:13::i;:::-;5188:9:6::1;::::0;;;::::1;-1:-1:-1::0;;;;;5188:9:6::1;5180:60;;;::::0;-1:-1:-1;;;5180:60:6;;11386:2:11;5180:60:6::1;::::0;::::1;11368:21:11::0;11425:2;11405:18;;;11398:30;-1:-1:-1;;;11444:18:11;;;11437:54;11508:18;;5180:60:6::1;11184:348:11::0;5180:60:6::1;5348:9;::::0;5340:43:::1;::::0;5271:21:::1;::::0;5253:15:::1;::::0;5348:9;;;::::1;-1:-1:-1::0;;;;;5348:9:6::1;::::0;5271:21;;5340:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5326:57;;;;;5402:7;5394:44;;;::::0;-1:-1:-1;;;5394:44:6;;11949:2:11;5394:44:6::1;::::0;::::1;11931:21:11::0;11988:2;11968:18;;;11961:30;12027:26;12007:18;;;12000:54;12071:18;;5394:44:6::1;11747:348:11::0;22758:187:7;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;2202:23:6:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4360:100::-;1531:13:0;:11;:13::i;:::-;4434:7:6::1;:18;4444:8:::0;4434:7;:18:::1;:::i;1641:513:9:-:0;1780:23;1868:8;1843:22;1868:8;1934:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1934:36:9;;-1:-1:-1;;1934:36:9;;;;;;;;;;;;1897:73;;1989:9;1984:123;2005:14;2000:1;:19;1984:123;;2060:32;2080:8;;2089:1;2080:11;;;;;;;:::i;:::-;;;;;;;2060:19;:32::i;:::-;2044:10;2055:1;2044:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2021:3;;1984:123;;;-1:-1:-1;2127:10:9;1641:513;-1:-1:-1;;;;1641:513:9:o;11391:150:7:-;11463:7;11505:27;11524:7;11505:18;:27::i;2174:21:6:-;;;;;;;:::i;4051:209::-;1531:13:0;:11;:13::i;:::-;4156:18:6::1;::::0;6359:7:7;6546:13;-1:-1:-1;;6546:31:7;4139:35:6::1;;;;:::i;:::-;4128:7;:46;;:70;;;;;4189:9;;4178:7;:20;;4128:70;4120:102;;;::::0;-1:-1:-1;;;4120:102:6;;12696:2:11;4120:102:6::1;::::0;::::1;12678:21:11::0;12735:2;12715:18;;;12708:30;-1:-1:-1;;;12754:18:11;;;12747:49;12813:18;;4120:102:6::1;12494:343:11::0;4120:102:6::1;4233:9;:19:::0;4051:209::o;7045:230:7:-;7117:7;-1:-1:-1;;;;;7140:19:7;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:7;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:7;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;3524:329:6:-;1531:13:0;:11;:13::i;:::-;3643:9:6::1;;3631:8;3614:14;6359:7:7::0;6546:13;-1:-1:-1;;6546:31:7;;6304:290;3614:14:6::1;:25;;;;:::i;:::-;:38;;3606:81;;;::::0;-1:-1:-1;;;3606:81:6;;13044:2:11;3606:81:6::1;::::0;::::1;13026:21:11::0;13083:2;13063:18;;;13056:30;13122:32;13102:18;;;13095:60;13172:18;;3606:81:6::1;12842:354:11::0;3606:81:6::1;3718:18;;3706:8;:30;;3698:72;;;::::0;-1:-1:-1;;;3698:72:6;;13403:2:11;3698:72:6::1;::::0;::::1;13385:21:11::0;13442:2;13422:18;;;13415:30;13481;13461:18;;;13454:58;13529:18;;3698:72:6::1;13201:352:11::0;3698:72:6::1;3803:8;3781:18;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;3822:23:6::1;::::0;-1:-1:-1;3832:2:6;3836:8;3822:9:::1;:23::i;5417:879:9:-:0;5495:16;5547:19;5580:25;5619:22;5644:16;5654:5;5644:9;:16::i;:::-;5619:41;;5674:25;5716:14;5702:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5702:29:9;;5674:57;;5745:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5745:31:9;3243:1:6;5790:461:9;5839:14;5824:11;:29;5790:461;;5890:15;5903:1;5890:12;:15::i;:::-;5878:27;;5927:9;:16;;;5967:8;5923:71;6015:14;;-1:-1:-1;;;;;6015:28:9;;6011:109;;6087:14;;;-1:-1:-1;6011:109:9;6162:5;-1:-1:-1;;;;;6141:26:9;:17;-1:-1:-1;;;;;6141:26:9;;6137:100;;6217:1;6191:8;6200:13;;;;;;6191:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6137:100;5855:3;;5790:461;;;-1:-1:-1;6271:8:9;;5417:879;-1:-1:-1;;;;;;5417:879:9:o;2144:23:6:-;;;;;;;:::i;4268:84::-;1531:13:0;:11;:13::i;:::-;4330:5:6::1;:14:::0;4268:84::o;10208:102:7:-;10264:13;10296:7;10289:14;;;;;:::i;2528:2454:9:-;2667:16;2732:4;2723:5;:13;2719:45;;2745:19;;-1:-1:-1;;;2745:19:9;;;;;;;;;;;2719:45;2778:19;2811:17;2831:14;5645:7:7;5671:13;;5590:101;2831:14:9;2811:34;-1:-1:-1;3243:1:6;2921:5:9;:23;2917:85;;;3243:1:6;2964:23:9;;2917:85;3076:9;3069:4;:16;3065:71;;;3112:9;3105:16;;3065:71;3149:25;3177:16;3187:5;3177:9;:16::i;:::-;3149:44;;3368:4;3360:5;:12;3356:271;;;3414:12;;;3448:31;;;3444:109;;;3523:11;3503:31;;3444:109;3374:193;3356:271;;;-1:-1:-1;3611:1:9;3356:271;3640:25;3682:17;3668:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3668:32:9;;3640:60;;3718:17;3739:1;3718:22;3714:76;;3767:8;-1:-1:-1;3760:15:9;;-1:-1:-1;;;3760:15:9;3714:76;3931:31;3965:26;3985:5;3965:19;:26::i;:::-;3931:60;;4005:25;4247:9;:16;;;4242:90;;-1:-1:-1;4303:14:9;;4242:90;4362:5;4345:467;4374:4;4369:1;:9;;:45;;;;;4397:17;4382:11;:32;;4369:45;4345:467;;;4451:15;4464:1;4451:12;:15::i;:::-;4439:27;;4488:9;:16;;;4528:8;4484:71;4576:14;;-1:-1:-1;;;;;4576:28:9;;4572:109;;4648:14;;;-1:-1:-1;4572:109:9;4723:5;-1:-1:-1;;;;;4702:26:9;:17;-1:-1:-1;;;;;4702:26:9;;4698:100;;4778:1;4752:8;4761:13;;;;;;4752:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4698:100;4416:3;;4345:467;;;-1:-1:-1;;;4894:29:9;;;-1:-1:-1;4901:8:9;;-1:-1:-1;;2528:2454:9;;;;;;:::o;16901:231:7:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:7;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:7;;;;;;;;;;17070:55;;540:41:11;;;16995:49:7;;39523:10;17070:55;;513:18:11;17070:55:7;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:7;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:7;;;;;;;;;;;23773:143;23526:396;;;;:::o;4584:108:6:-;1531:13:0;:11;:13::i;:::-;4662:9:6::1;:22;4674:10:::0;4662:9;:22:::1;:::i;1070:418:9:-:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3243:1:6;1232:7:9;:25;:54;;;-1:-1:-1;5645:7:7;5671:13;1261:7:9;:25;;1232:54;1228:101;;;1309:9;1070:418;-1:-1:-1;;1070:418:9:o;1228:101::-;1350:21;1363:7;1350:12;:21::i;:::-;1338:33;;1385:9;:16;;;1381:63;;;1424:9;1070:418;-1:-1:-1;;1070:418:9:o;1381:63::-;1460:21;1473:7;1460:12;:21::i;3861:135:6:-;1531:13:0;:11;:13::i;:::-;3944:8:6::1;3029:18;;3017:9;;:30;;;;:::i;:::-;3005:8;2988:14;6359:7:7::0;6546:13;-1:-1:-1;;6546:31:7;;6304:290;2988:14:6::1;:25;;;;:::i;:::-;:59;;2980:92;;;::::0;-1:-1:-1;;;2980:92:6;;13893:2:11;2980:92:6::1;::::0;::::1;13875:21:11::0;13932:2;13912:18;;;13905:30;-1:-1:-1;;;13951:18:11;;;13944:50;14011:18;;2980:92:6::1;13691:344:11::0;2980:92:6::1;3965:23:::2;3975:2;3979:8;3965:9;:23::i;5503:389::-:0;5597:13;5631:17;5639:8;5631:7;:17::i;:::-;5623:61;;;;-1:-1:-1;;;5623:61:6;;14242:2:11;5623:61:6;;;14224:21:11;14281:2;14261:18;;;14254:30;14320:33;14300:18;;;14293:61;14371:18;;5623:61:6;14040:355:11;5623:61:6;5701:8;;;;;;;:17;;5713:5;5701:17;5697:66;;5742:9;5735:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5503:389;;;:::o;5697:66::-;5806:1;5788:7;5782:21;;;;;:::i;:::-;;;:25;:98;;;;;;;;;;;;;;;;;5834:7;5843:19;:8;:17;:19::i;:::-;5864:9;5817:57;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5775:105;5503:389;-1:-1:-1;;5503:389:6:o;4977:87::-;1531:13:0;:11;:13::i;:::-;5039:8:6::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;5039:17:6;;::::1;::::0;;;::::1;::::0;;4977:87::o;3306:210::-;39523:10:7;2699:9:6;2683:25;2675:46;;;;-1:-1:-1;;;2675:46:6;;15803:2:11;2675:46:6;;;15785:21:11;15842:1;15822:18;;;15815:29;-1:-1:-1;;;15860:18:11;;;15853:38;15908:18;;2675:46:6;15601:331:11;2675:46:6;2584:6:::1;::::0;::::1;;2583:7;2575:43;;;::::0;-1:-1:-1;;;2575:43:6;;16139:2:11;2575:43:6::1;::::0;::::1;16121:21:11::0;16178:2;16158:18;;;16151:30;16217:25;16197:18;;;16190:53;16260:18;;2575:43:6::1;15937:347:11::0;2575:43:6::1;3402:8:::2;3029:18;;3017:9;;:30;;;;:::i;:::-;3005:8;2988:14;6359:7:7::0;6546:13;-1:-1:-1;;6546:31:7;;6304:290;2988:14:6::2;:25;;;;:::i;:::-;:59;;2980:92;;;::::0;-1:-1:-1;;;2980:92:6;;13893:2:11;2980:92:6::2;::::0;::::2;13875:21:11::0;13932:2;13912:18;;;13905:30;-1:-1:-1;;;13951:18:11;;;13944:50;14011:18;;2980:92:6::2;13691:344:11::0;2980:92:6::2;3441:5:::3;::::0;3448:8;2851:24:::3;3448:8:::0;3441:5;2851:24:::3;:::i;:::-;2838:9;:37;;2830:69;;;::::0;-1:-1:-1;;;2830:69:6;;16664:2:11;2830:69:6::3;::::0;::::3;16646:21:11::0;16703:2;16683:18;;;16676:30;-1:-1:-1;;;16722:18:11;;;16715:49;16781:18;;2830:69:6::3;16462:343:11::0;2830:69:6::3;3475:33:::4;39523:10:7::0;3499:8:6::4;3475:9;:33::i;2543:215:0:-:0;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;1679:51:11::0;1652:18;;2672:31:0::1;1533:203:11::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;17693:277:7:-;17758:4;17812:7;3243:1:6;17793:26:7;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:7;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:7;:49;;17693:277::o;1796:162:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;39523:10:7;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;39523:10:7;1901:40:0;;;1679:51:11;1652:18;;1901:40:0;1533:203:11;12515:1249:7;12582:7;12616;;3243:1:6;12662:23:7;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:7;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:7;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:7;;;;;;;;;;;2912:187:0;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;33423:110:7:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;11979:159::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:7;;;;:17;:24;;;;;;12087:44;;:18;:44::i;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:7;;26106:4;;-1:-1:-1;;;;;26126:45:7;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:7;;;;;;;;-1:-1:-1;;26126:88:7;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:7;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:7;-1:-1:-1;;;26282:64:7;;-1:-1:-1;26122:517:7;25948:697;;;;;;:::o;11724:164::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:7;11853:27;11872:7;11853:18;:27::i;:::-;11834:18;:47::i;637:698:2:-;693:13;742:14;759:17;770:5;759:10;:17::i;:::-;779:1;759:21;742:38;;794:20;828:6;817:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:18:2;-1:-1:-1;794:41:2;-1:-1:-1;955:28:2;;;971:2;955:28;1010:282;-1:-1:-1;;1041:5:2;-1:-1:-1;;;1175:2:2;1164:14;;1159:32;1041:5;1146:46;1236:2;1227:11;;;-1:-1:-1;1256:21:2;1010:282;1256:21;-1:-1:-1;1312:6:2;637:698;-1:-1:-1;;;637:698:2:o;32675:669:7:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:7;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:7;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;13858:361::-;-1:-1:-1;;;;;;;;;;;;;13967:41:7;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:7;-1:-1:-1;;;14115:24:7;;:29;;-1:-1:-1;;;14096:48:7;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:7;-1:-1:-1;13858:361:7:o;12214:916:4:-;12267:7;;-1:-1:-1;;;12342:17:4;;12338:103;;-1:-1:-1;;;12379:17:4;;;-1:-1:-1;12424:2:4;12414:12;12338:103;12467:8;12458:5;:17;12454:103;;12504:8;12495:17;;;-1:-1:-1;12540:2:4;12530:12;12454:103;12583:8;12574:5;:17;12570:103;;12620:8;12611:17;;;-1:-1:-1;12656:2:4;12646:12;12570:103;12699:7;12690:5;:16;12686:100;;12735:7;12726:16;;;-1:-1:-1;12770:1:4;12760:11;12686:100;12812:7;12803:5;:16;12799:100;;12848:7;12839:16;;;-1:-1:-1;12883:1:4;12873:11;12799:100;12925:7;12916:5;:16;12912:100;;12961:7;12952:16;;;-1:-1:-1;12996:1:4;12986:11;12912:100;13038:7;13029:5;:16;13025:66;;13075:1;13065:11;13117:6;12214:916;-1:-1:-1;;12214:916:4:o;27091:2902:7:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:7;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:7;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:7;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:7;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:7;;;:::o;14:131:11:-;-1:-1:-1;;;;;;88:32:11;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:11;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:11;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:11:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:11;;1348:180;-1:-1:-1;1348:180:11:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:11;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:11:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:632;2375:5;2405:18;2446:2;2438:6;2435:14;2432:40;;;2452:18;;:::i;:::-;2527:2;2521:9;2495:2;2581:15;;-1:-1:-1;;2577:24:11;;;2603:2;2573:33;2569:42;2557:55;;;2627:18;;;2647:22;;;2624:46;2621:72;;;2673:18;;:::i;:::-;2713:10;2709:2;2702:22;2742:6;2733:15;;2772:6;2764;2757:22;2812:3;2803:6;2798:3;2794:16;2791:25;2788:45;;;2829:1;2826;2819:12;2788:45;2879:6;2874:3;2867:4;2859:6;2855:17;2842:44;2934:1;2927:4;2918:6;2910;2906:19;2902:30;2895:41;;;;2310:632;;;;;:::o;2947:451::-;3016:6;3069:2;3057:9;3048:7;3044:23;3040:32;3037:52;;;3085:1;3082;3075:12;3037:52;3125:9;3112:23;3158:18;3150:6;3147:30;3144:50;;;3190:1;3187;3180:12;3144:50;3213:22;;3266:4;3258:13;;3254:27;-1:-1:-1;3244:55:11;;3295:1;3292;3285:12;3244:55;3318:74;3384:7;3379:2;3366:16;3361:2;3357;3353:11;3318:74;:::i;3403:160::-;3468:20;;3524:13;;3517:21;3507:32;;3497:60;;3553:1;3550;3543:12;3568:180;3624:6;3677:2;3665:9;3656:7;3652:23;3648:32;3645:52;;;3693:1;3690;3683:12;3645:52;3716:26;3732:9;3716:26;:::i;3935:328::-;4012:6;4020;4028;4081:2;4069:9;4060:7;4056:23;4052:32;4049:52;;;4097:1;4094;4087:12;4049:52;4120:29;4139:9;4120:29;:::i;:::-;4110:39;;4168:38;4202:2;4191:9;4187:18;4168:38;:::i;:::-;4158:48;;4253:2;4242:9;4238:18;4225:32;4215:42;;3935:328;;;;;:::o;4268:186::-;4327:6;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4419:29;4438:9;4419:29;:::i;4459:615::-;4545:6;4553;4606:2;4594:9;4585:7;4581:23;4577:32;4574:52;;;4622:1;4619;4612:12;4574:52;4662:9;4649:23;4691:18;4732:2;4724:6;4721:14;4718:34;;;4748:1;4745;4738:12;4718:34;4786:6;4775:9;4771:22;4761:32;;4831:7;4824:4;4820:2;4816:13;4812:27;4802:55;;4853:1;4850;4843:12;4802:55;4893:2;4880:16;4919:2;4911:6;4908:14;4905:34;;;4935:1;4932;4925:12;4905:34;4988:7;4983:2;4973:6;4970:1;4966:14;4962:2;4958:23;4954:32;4951:45;4948:65;;;5009:1;5006;4999:12;4948:65;5040:2;5032:11;;;;;5062:6;;-1:-1:-1;4459:615:11;;-1:-1:-1;;;;4459:615:11:o;5079:349::-;5163:12;;-1:-1:-1;;;;;5159:38:11;5147:51;;5251:4;5240:16;;;5234:23;5259:18;5230:48;5214:14;;;5207:72;5342:4;5331:16;;;5325:23;5318:31;5311:39;5295:14;;;5288:63;5404:4;5393:16;;;5387:23;5412:8;5383:38;5367:14;;5360:62;5079:349::o;5433:724::-;5668:2;5720:21;;;5790:13;;5693:18;;;5812:22;;;5639:4;;5668:2;5891:15;;;;5865:2;5850:18;;;5639:4;5934:197;5948:6;5945:1;5942:13;5934:197;;;5997:52;6045:3;6036:6;6030:13;5997:52;:::i;:::-;6106:15;;;;6078:4;6069:14;;;;;5970:1;5963:9;5934:197;;6162:632;6333:2;6385:21;;;6455:13;;6358:18;;;6477:22;;;6304:4;;6333:2;6556:15;;;;6530:2;6515:18;;;6304:4;6599:169;6613:6;6610:1;6607:13;6599:169;;;6674:13;;6662:26;;6743:15;;;;6708:12;;;;6635:1;6628:9;6599:169;;6799:322;6876:6;6884;6892;6945:2;6933:9;6924:7;6920:23;6916:32;6913:52;;;6961:1;6958;6951:12;6913:52;6984:29;7003:9;6984:29;:::i;:::-;6974:39;7060:2;7045:18;;7032:32;;-1:-1:-1;7111:2:11;7096:18;;;7083:32;;6799:322;-1:-1:-1;;;6799:322:11:o;7126:254::-;7191:6;7199;7252:2;7240:9;7231:7;7227:23;7223:32;7220:52;;;7268:1;7265;7258:12;7220:52;7291:29;7310:9;7291:29;:::i;:::-;7281:39;;7339:35;7370:2;7359:9;7355:18;7339:35;:::i;:::-;7329:45;;7126:254;;;;;:::o;7385:667::-;7480:6;7488;7496;7504;7557:3;7545:9;7536:7;7532:23;7528:33;7525:53;;;7574:1;7571;7564:12;7525:53;7597:29;7616:9;7597:29;:::i;:::-;7587:39;;7645:38;7679:2;7668:9;7664:18;7645:38;:::i;:::-;7635:48;;7730:2;7719:9;7715:18;7702:32;7692:42;;7785:2;7774:9;7770:18;7757:32;7812:18;7804:6;7801:30;7798:50;;;7844:1;7841;7834:12;7798:50;7867:22;;7920:4;7912:13;;7908:27;-1:-1:-1;7898:55:11;;7949:1;7946;7939:12;7898:55;7972:74;8038:7;8033:2;8020:16;8015:2;8011;8007:11;7972:74;:::i;:::-;7962:84;;;7385:667;;;;;;;:::o;8057:268::-;8255:3;8240:19;;8268:51;8244:9;8301:6;8268:51;:::i;8330:260::-;8398:6;8406;8459:2;8447:9;8438:7;8434:23;8430:32;8427:52;;;8475:1;8472;8465:12;8427:52;8498:29;8517:9;8498:29;:::i;:::-;8488:39;;8546:38;8580:2;8569:9;8565:18;8546:38;:::i;8595:380::-;8674:1;8670:12;;;;8717;;;8738:61;;8792:4;8784:6;8780:17;8770:27;;8738:61;8845:2;8837:6;8834:14;8814:18;8811:38;8808:161;;8891:10;8886:3;8882:20;8879:1;8872:31;8926:4;8923:1;8916:15;8954:4;8951:1;8944:15;8808:161;;8595:380;;;:::o;9106:545::-;9208:2;9203:3;9200:11;9197:448;;;9244:1;9269:5;9265:2;9258:17;9314:4;9310:2;9300:19;9384:2;9372:10;9368:19;9365:1;9361:27;9355:4;9351:38;9420:4;9408:10;9405:20;9402:47;;;-1:-1:-1;9443:4:11;9402:47;9498:2;9493:3;9489:12;9486:1;9482:20;9476:4;9472:31;9462:41;;9553:82;9571:2;9564:5;9561:13;9553:82;;;9616:17;;;9597:1;9586:13;9553:82;;9827:1352;9953:3;9947:10;9980:18;9972:6;9969:30;9966:56;;;10002:18;;:::i;:::-;10031:97;10121:6;10081:38;10113:4;10107:11;10081:38;:::i;:::-;10075:4;10031:97;:::i;:::-;10183:4;;10247:2;10236:14;;10264:1;10259:663;;;;10966:1;10983:6;10980:89;;;-1:-1:-1;11035:19:11;;;11029:26;10980:89;-1:-1:-1;;9784:1:11;9780:11;;;9776:24;9772:29;9762:40;9808:1;9804:11;;;9759:57;11082:81;;10229:944;;10259:663;9053:1;9046:14;;;9090:4;9077:18;;-1:-1:-1;;10295:20:11;;;10413:236;10427:7;10424:1;10421:14;10413:236;;;10516:19;;;10510:26;10495:42;;10608:27;;;;10576:1;10564:14;;;;10443:19;;10413:236;;;10417:3;10677:6;10668:7;10665:19;10662:201;;;10738:19;;;10732:26;-1:-1:-1;;10821:1:11;10817:14;;;10833:3;10813:24;10809:37;10805:42;10790:58;10775:74;;10662:201;-1:-1:-1;;;;;10909:1:11;10893:14;;;10889:22;10876:36;;-1:-1:-1;9827:1352:11:o;12100:127::-;12161:10;12156:3;12152:20;12149:1;12142:31;12192:4;12189:1;12182:15;12216:4;12213:1;12206:15;12232:127;12293:10;12288:3;12284:20;12281:1;12274:31;12324:4;12321:1;12314:15;12348:4;12345:1;12338:15;12364:125;12429:9;;;12450:10;;;12447:36;;;12463:18;;:::i;13558:128::-;13625:9;;;13646:11;;;13643:37;;;13660:18;;:::i;14400:722::-;14450:3;14491:5;14485:12;14520:36;14546:9;14520:36;:::i;:::-;14575:1;14592:18;;;14619:133;;;;14766:1;14761:355;;;;14585:531;;14619:133;-1:-1:-1;;14652:24:11;;14640:37;;14725:14;;14718:22;14706:35;;14697:45;;;-1:-1:-1;14619:133:11;;14761:355;14792:5;14789:1;14782:16;14821:4;14866:2;14863:1;14853:16;14891:1;14905:165;14919:6;14916:1;14913:13;14905:165;;;14997:14;;14984:11;;;14977:35;15040:16;;;;14934:10;;14905:165;;;14909:3;;;15099:6;15094:3;15090:16;15083:23;;14585:531;;;;;14400:722;;;;:::o;15127:469::-;15348:3;15376:38;15410:3;15402:6;15376:38;:::i;:::-;15443:6;15437:13;15459:65;15517:6;15513:2;15506:4;15498:6;15494:17;15459:65;:::i;:::-;15540:50;15582:6;15578:2;15574:15;15566:6;15540:50;:::i;:::-;15533:57;15127:469;-1:-1:-1;;;;;;;15127:469:11:o;16289:168::-;16362:9;;;16393;;16410:15;;;16404:22;;16390:37;16380:71;;16431:18;;:::i;16810:489::-;-1:-1:-1;;;;;17079:15:11;;;17061:34;;17131:15;;17126:2;17111:18;;17104:43;17178:2;17163:18;;17156:34;;;17226:3;17221:2;17206:18;;17199:31;;;17004:4;;17247:46;;17273:19;;17265:6;17247:46;:::i;:::-;17239:54;16810:489;-1:-1:-1;;;;;;16810:489:11:o;17304:249::-;17373:6;17426:2;17414:9;17405:7;17401:23;17397:32;17394:52;;;17442:1;17439;17432:12;17394:52;17474:9;17468:16;17493:30;17517:5;17493:30;:::i

Swarm Source

ipfs://963e4b59bf9b3c5c19c9c8a0482da7d7068a157e17e8ea772405c8a739d69211
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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