ETH Price: $3,420.10 (+1.13%)
Gas: 4 Gwei

Contract

0x066DBc3C366Ef84Cc934cf6DB89E48BaB6d7D2B0
 

Overview

ETH Balance

0.035 ETH

Eth Value

$119.70 (@ $3,420.10/ETH)
Transaction Hash
Method
Block
From
To
Value
Whitelist Mint201974012024-06-29 12:40:1130 hrs ago1719664811IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.000203532.41748019
Whitelist Mint201888972024-06-28 8:09:472 days ago1719562187IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.000405934.82477989
Claim201885232024-06-28 6:54:352 days ago1719557675IN
0x066DBc3C...aB6d7D2B0
0 ETH0.001702622.54413765
Custom Claim201830552024-06-27 12:34:233 days ago1719491663IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000891927.30382593
Claim201786362024-06-26 21:46:473 days ago1719438407IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000625634.33614006
Public Mint201782892024-06-26 20:37:113 days ago1719434231IN
0x066DBc3C...aB6d7D2B0
0.015 ETH0.00041695.92568065
Claim201754302024-06-26 11:01:234 days ago1719399683IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000392012.71699385
Claim201711072024-06-25 20:33:234 days ago1719347603IN
0x066DBc3C...aB6d7D2B0
0 ETH0.001065287.38329531
Withdraw Funds201558662024-06-23 17:25:237 days ago1719163523IN
0x066DBc3C...aB6d7D2B0
0 ETH0.00013444.40181162
Safe Transfer Fr...201540492024-06-23 11:19:477 days ago1719141587IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000132482.13613349
Safe Transfer Fr...201540452024-06-23 11:18:597 days ago1719141539IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000498252.72409467
Claim201540372024-06-23 11:17:237 days ago1719141443IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000316452.19327431
Public Mint201518692024-06-23 3:59:237 days ago1719115163IN
0x066DBc3C...aB6d7D2B0
0.03 ETH0.000238212.66501766
Claim201517862024-06-23 3:42:237 days ago1719114143IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000361952.46350536
Whitelist Mint201512952024-06-23 2:03:597 days ago1719108239IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.000172132.04592563
Set Approval For...201512232024-06-23 1:49:357 days ago1719107375IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000104122.25822092
Claim201512122024-06-23 1:47:237 days ago1719107243IN
0x066DBc3C...aB6d7D2B0
0 ETH0.009173832.52758638
Whitelist Mint201446802024-06-22 3:51:478 days ago1719028307IN
0x066DBc3C...aB6d7D2B0
0.03 ETH0.000230262.61679536
Whitelist Mint201428792024-06-21 21:48:598 days ago1719006539IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.000429235.09957651
Whitelist Mint201428102024-06-21 21:34:358 days ago1719005675IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.00036664.35732307
Claim201417692024-06-21 18:04:239 days ago1718993063IN
0x066DBc3C...aB6d7D2B0
0 ETH0.001798696.21077639
Withdraw Funds201391422024-06-21 9:16:599 days ago1718961419IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000247378.1019563
Claim201377932024-06-21 4:45:479 days ago1718945147IN
0x066DBc3C...aB6d7D2B0
0 ETH0.000541572.72934855
Whitelist Mint201374552024-06-21 3:37:239 days ago1718941043IN
0x066DBc3C...aB6d7D2B0
0.01 ETH0.000290233.44962981
Whitelist Mint201360372024-06-20 22:52:239 days ago1718923943IN
0x066DBc3C...aB6d7D2B0
0.02 ETH0.00038344.45602866
View all transactions

Latest 6 internal transactions

Advanced mode:
Parent Transaction Hash Block From To Value
201558662024-06-23 17:25:237 days ago1719163523
0x066DBc3C...aB6d7D2B0
0.09 ETH
201391422024-06-21 9:16:599 days ago1718961419
0x066DBc3C...aB6d7D2B0
0.03 ETH
201296872024-06-20 1:32:3510 days ago1718847155
0x066DBc3C...aB6d7D2B0
0.08 ETH
201177822024-06-18 9:33:4712 days ago1718703227
0x066DBc3C...aB6d7D2B0
0.05 ETH
201150492024-06-18 0:21:5912 days ago1718670119
0x066DBc3C...aB6d7D2B0
0.77 ETH
200781592024-06-12 20:33:2317 days ago1718224403
0x066DBc3C...aB6d7D2B0
0.265 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Camels3d

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-05-28
*/

// Sources flattened with hardhat v2.21.0 https://hardhat.org

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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


// File @openzeppelin/contracts/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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


// File @openzeppelin/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

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


// File @openzeppelin/contracts/token/common/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;


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

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

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

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]

// Original license: 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 @openzeppelin/contracts/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

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


// File erc721a/contracts/[email protected]

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.3.0
// 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();

    /**
     * `_sequentialUpTo()` must be greater than `_startTokenId()`.
     */
    error SequentialUpToTooSmall();

    /**
     * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
     */
    error SequentialMintExceedsLimit();

    /**
     * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
     */
    error SpotMintTokenIdTooSmall();

    /**
     * Cannot mint over a token that already exists.
     */
    error TokenAlreadyExists();

    /**
     * The feature is not compatible with spot mints.
     */
    error NotCompatibleWithSpotMints();

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}


// File erc721a/contracts/[email protected]

// Original license: SPDX_License_Identifier: MIT
// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * The `_sequentialUpTo()` function can be overriden to enable spot mints
 * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
 *
 * 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;

    // The amount of tokens minted above `_sequentialUpTo()`.
    // We call these spot mints (i.e. non-sequential mints).
    uint256 private _spotMinted;

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

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

        if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
    }

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

    /**
     * @dev Returns the starting token ID for sequential mints.
     *
     * Override this function to change the starting token ID for sequential mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the maximum token ID (inclusive) for sequential mints.
     *
     * Override this function to return a value less than 2**256 - 1,
     * but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _sequentialUpTo() internal view virtual returns (uint256) {
        return type(uint256).max;
    }

    /**
     * @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 result) {
        // Counter underflow is impossible as `_burnCounter` cannot be incremented
        // more than `_currentIndex + _spotMinted - _startTokenId()` times.
        unchecked {
            // With spot minting, the intermediate `result` can be temporarily negative,
            // and the computation must be unchecked.
            result = _currentIndex - _burnCounter - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256 result) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            result = _currentIndex - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

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

    /**
     * @dev Returns the total number of tokens that are spot-minted.
     */
    function _totalSpotMinted() internal view virtual returns (uint256) {
        return _spotMinted;
    }

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

        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 Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * @dev Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];

            if (tokenId > _sequentialUpTo()) {
                if (_packedOwnershipExists(packed)) return packed;
                _revert(OwnerQueryForNonexistentToken.selector);
            }

            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // 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, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        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 result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

    /**
     * @dev Returns whether `packed` represents a token that exists.
     */
    function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
        assembly {
            // The following is equivalent to `owner != address(0) && burned == false`.
            // Symbolically tested.
            result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (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.selector);

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // 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.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

        _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.selector);
            }
    }

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

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            do {
                assembly {
                    // 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`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

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

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

        _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)
            );

            if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            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.selector);
                    }
                } while (index < end);
                // This prevents reentrancy to `_safeMint`.
                // It does not prevent reentrancy to `_safeMintSpot`.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    /**
     * @dev Mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mintSpot(address to, uint256 tokenId) internal virtual {
        if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
        uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
        if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);

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

        // Overflows are incredibly unrealistic.
        // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
        // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `true` (as `quantity == 1`).
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
            );

            // Updates:
            // - `balance += 1`.
            // - `numberMinted += 1`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1;

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            assembly {
                // 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`.
                    tokenId // `tokenId`.
                )
            }

            ++_spotMinted;
        }

        _afterTokenTransfers(address(0), to, tokenId, 1);
    }

    /**
     * @dev Safely mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * See {_mintSpot}.
     *
     * Emits a {Transfer} event.
     */
    function _safeMintSpot(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mintSpot(to, tokenId);

        unchecked {
            if (to.code.length != 0) {
                uint256 currentSpotMinted = _spotMinted;
                if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
                    _revert(TransferToNonERC721ReceiverImplementer.selector);
                }
                // This prevents reentrancy to `_safeMintSpot`.
                // It does not prevent reentrancy to `_safeMint`.
                if (_spotMinted != currentSpotMinted) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`.
     */
    function _safeMintSpot(address to, uint256 tokenId) internal virtual {
        _safeMintSpot(to, tokenId, '');
    }

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

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

        _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 + _spotMinted` 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.selector);
        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)
        }
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}


// File contracts/Camels3d.sol

pragma solidity ^0.8.20;

contract Camels3d is ERC721A, Ownable, ReentrancyGuard, ERC2981 {

    uint32 public constant MAX_SUPPLY = 8000;
    uint32 public constant MAX_PUBLIC_SUPPLY = 3750;
    uint32 public constant MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK = 7450;
    uint32 public constant MAX_CUSTOM_SUPPLY = 450;
    uint32 public constant VAULT_SUPPLY = 100;
    uint8 public constant CAMELS_RATIO = 2;
    uint8 public constant CAMELS3D_PER_CUSTOM = 3;
    uint8 public constant MAX_MINTS_PER_TX = 10;
    uint public PUBLIC_PRICE = 0.015 ether;
    uint public WHITELIST_PRICE = 0.01 ether;
    IERC721A private camelsContract;
    IERC721A private customCamelsContract;

    mapping(uint => bool) public camelAlreadyUsed;
    mapping(uint => bool) public customCamelAlreadyUsed;

    uint public publicMintedCount = 0;
    uint public vaultMintedCount = 0;
    uint public customMintedCount = 0;
    uint public claimedCount = 0;

    bool public isContractOpen = false;
    bool public isPublicSupplyLocked = true;

    bytes32 private wlRoot;
    string private _customBaseURI;

    struct CamelStatus {
        uint256 id;
        bool used;
    }

    error ContractClosed();
    error IncorrectCount();
    error IneligibleId();
    error NotIdOwner();
    error SupplyExceeded();
    error MaxSupplyExceeded();
    error MaxPerTxExceeded();
    error NotEnoughEtherSent();
    error InvalidProof();

    constructor(string memory _initialBaseURI, address _camelsContractAddress, address _customCamelsContract, bytes32 _wlRoot) ERC721A("Camels3D", "Camels3D") Ownable(msg.sender) {
        camelsContract = IERC721A(_camelsContractAddress);
        customCamelsContract = IERC721A(_customCamelsContract);
        _customBaseURI = _initialBaseURI;
        wlRoot = _wlRoot;
        setPrimaryRoyalty(msg.sender, 400);
    }

    function claim(uint256[] calldata ids) external nonReentrant {
        if (!isContractOpen) {
            revert ContractClosed();
        }
        uint requestedAmount = ids.length;
        if (requestedAmount % CAMELS_RATIO != 0) {
            revert IncorrectCount();
        }

        uint amountToMint = requestedAmount / CAMELS_RATIO;

        if (totalSupply() + amountToMint > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }
        if(!isPublicSupplyLocked){
            if(publicMintedCount + claimedCount + amountToMint > MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK){
                revert SupplyExceeded();
            }
        }

        for (uint i = 0; i < requestedAmount; i++) {
            uint256 id = ids[i];
            if (camelAlreadyUsed[id]) {
                revert IneligibleId();
            }
            if (camelsContract.ownerOf(id) != msg.sender) {
                revert NotIdOwner();
            }
            camelAlreadyUsed[id] = true;
        }
        claimedCount += amountToMint;
        _mint(msg.sender, amountToMint);
    }

    function customClaim(uint256[] calldata ids) external nonReentrant {

        if (!isContractOpen) {
            revert ContractClosed();
        }
        uint requestedAmount = ids.length;
        uint amountToMint = requestedAmount * CAMELS3D_PER_CUSTOM;
        if (totalSupply() + amountToMint > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }

        if (customMintedCount + amountToMint > MAX_CUSTOM_SUPPLY) {
            revert SupplyExceeded();
        }

        for (uint i = 0; i < requestedAmount; i++) {
            uint256 id = ids[i];
            if (customCamelAlreadyUsed[id]) {
                revert IneligibleId();
            }
            if (customCamelsContract.ownerOf(id) != msg.sender) {
                revert NotIdOwner();
            }
            customCamelAlreadyUsed[id] = true;
        }

        customMintedCount += amountToMint;
        _mint(msg.sender, amountToMint);
    }

    function publicMint(uint256 _quantity) external payable nonReentrant {
        if (!isContractOpen) {
            revert ContractClosed();
        }

        if (totalSupply() + _quantity > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }

        if (_quantity > MAX_MINTS_PER_TX) {
            revert MaxPerTxExceeded();
        }

        if (msg.value < _quantity * PUBLIC_PRICE) {
            revert NotEnoughEtherSent();
        }

        if (isPublicSupplyLocked) {
            if (publicMintedCount + _quantity > MAX_PUBLIC_SUPPLY) {
                revert SupplyExceeded();
            }
        } else {
            if (publicMintedCount + claimedCount + _quantity > MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK) {
                revert SupplyExceeded();
            }
        }

        publicMintedCount += _quantity;
        _mint(msg.sender, _quantity);
    }

    function whitelistMint(bytes32[] calldata _proof, uint256 _quantity) external payable nonReentrant {
        if (!isContractOpen) {
            revert ContractClosed();
        }
        if (totalSupply() + _quantity > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }
        if (_quantity > MAX_MINTS_PER_TX) {
            revert MaxPerTxExceeded();
        }
        if (!MerkleProof.verify(_proof, wlRoot, keccak256(abi.encodePacked(msg.sender)))) {
            revert InvalidProof();
        }
        if (msg.value < _quantity * WHITELIST_PRICE) {
            revert NotEnoughEtherSent();
        }

        if (isPublicSupplyLocked) {
            if (publicMintedCount + _quantity > MAX_PUBLIC_SUPPLY) {
                revert SupplyExceeded();
            }
        } else {
            if (publicMintedCount + claimedCount + _quantity > MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK) {
                revert SupplyExceeded();
            }
        }

        publicMintedCount += _quantity;
        _mint(msg.sender, _quantity);
    }

    function airdrop(uint256 _quantity, address _target) external onlyOwner {
        if (totalSupply() + _quantity > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }

        if (isPublicSupplyLocked) {
            if (publicMintedCount + _quantity > MAX_PUBLIC_SUPPLY) {
                revert SupplyExceeded();
            }
        } else {
            if (publicMintedCount + claimedCount + _quantity > MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK) {
                revert SupplyExceeded();
            }
        }

        publicMintedCount += _quantity;
        _mint(_target, _quantity);
    }

    function vaultMint(uint256 _quantity, address _target) external onlyOwner {
        if (totalSupply() + _quantity > MAX_SUPPLY) {
            revert MaxSupplyExceeded();
        }
        if (vaultMintedCount + _quantity > VAULT_SUPPLY) {
            revert SupplyExceeded();
        }
        vaultMintedCount += _quantity;
        _mint(_target, _quantity);
    }

    function setBaseTokenURI(string calldata _baseURI) public onlyOwner {
        _customBaseURI = _baseURI;
    }

    function withdrawFunds() external onlyOwner {
        (bool success,) = payable(owner()).call{value: address(this).balance}("");
        require(success, "Transfer failed");
    }

    function setContractOpen(bool _contractOpen) external onlyOwner {
        isContractOpen = _contractOpen;
    }

    function getStatusOfTokens(uint256[] calldata _ids) public view returns (CamelStatus[] memory statuses){
        statuses = new CamelStatus[](_ids.length);
        for (uint i = 0; i < _ids.length; i++) {
            statuses[i] = CamelStatus(_ids[i], camelAlreadyUsed[_ids[i]]);
        }
    }

    function getStatusOfCustomTokens(uint256[] calldata _ids) public view returns (CamelStatus[] memory statuses){
        statuses = new CamelStatus[](_ids.length);
        for (uint i = 0; i < _ids.length; i++) {
            statuses[i] = CamelStatus(_ids[i], customCamelAlreadyUsed[_ids[i]]);
        }
    }

    function setPublicPrice(uint _price) external onlyOwner {
        PUBLIC_PRICE = _price;
    }

    function setWhitelistPrice(uint _price) external onlyOwner {
        WHITELIST_PRICE = _price;
    }

    function setWlRoot(bytes32 _root) external onlyOwner {
        wlRoot = _root;
    }

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

    function unlockPublicSupply() external onlyOwner {
        isPublicSupplyLocked = false;
    }

    function setPrimaryRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function supportsInterface(bytes4 _interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
        return ERC721A.supportsInterface(_interfaceId) || ERC2981.supportsInterface(_interfaceId) || super.supportsInterface(_interfaceId);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initialBaseURI","type":"string"},{"internalType":"address","name":"_camelsContractAddress","type":"address"},{"internalType":"address","name":"_customCamelsContract","type":"address"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractClosed","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"IncorrectCount","type":"error"},{"inputs":[],"name":"IneligibleId","type":"error"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"MaxPerTxExceeded","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotEnoughEtherSent","type":"error"},{"inputs":[],"name":"NotIdOwner","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":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CAMELS3D_PER_CUSTOM","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CAMELS_RATIO","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CUSTOM_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_AND_CLAIMED_SUPPLY_AFTER_UNLOCK","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VAULT_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"camelAlreadyUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"customCamelAlreadyUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"customClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"customMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"getStatusOfCustomTokens","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bool","name":"used","type":"bool"}],"internalType":"struct Camels3d.CamelStatus[]","name":"statuses","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"getStatusOfTokens","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bool","name":"used","type":"bool"}],"internalType":"struct Camels3d.CamelStatus[]","name":"statuses","type":"tuple[]"}],"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":"isContractOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSupplyLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_contractOpen","type":"bool"}],"name":"setContractOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setPrimaryRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWlRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":"unlockPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_target","type":"address"}],"name":"vaultMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vaultMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266354a6ba7a18000600d55662386f26fc10000600e5560006013819055601481905560158190556016556017805461ffff19166101001790553480156200004a57600080fd5b5060405162002d7e38038062002d7e8339810160408190526200006d91620002d8565b60408051808201825260088082526710d85b595b1cccd160c21b602080840182905284518086019095529184529083015233916002620000ae838262000469565b506003620000bd828262000469565b505060008055506001600160a01b038116620000f457604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000ff8162000161565b506001600a55600f80546001600160a01b038086166001600160a01b0319928316179092556010805492851692909116919091179055601962000143858262000469565b5060188190556200015733610190620001b3565b5050505062000535565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001bd620001cd565b620001c98282620001fe565b5050565b6009546001600160a01b03163314620001fc5760405163118cdaa760e01b8152336004820152602401620000eb565b565b6127106001600160601b0382168110156200023f57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401620000eb565b6001600160a01b0383166200026b57604051635b6cc80560e11b815260006004820152602401620000eb565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620002d357600080fd5b919050565b60008060008060808587031215620002ef57600080fd5b84516001600160401b03808211156200030757600080fd5b818701915087601f8301126200031c57600080fd5b815181811115620003315762000331620002a5565b604051601f8201601f19908116603f011681019083821181831017156200035c576200035c620002a5565b81604052828152602093508a848487010111156200037957600080fd5b600091505b828210156200039d57848201840151818301850152908301906200037e565b6000848483010152809850505050620003b8818801620002bb565b94505050620003ca60408601620002bb565b6060959095015193969295505050565b600181811c90821680620003ef57607f821691505b6020821081036200041057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200046457600081815260208120601f850160051c810160208610156200043f5750805b601f850160051c820191505b8181101562000460578281556001016200044b565b5050505b505050565b81516001600160401b03811115620004855762000485620002a5565b6200049d81620004968454620003da565b8462000416565b602080601f831160018114620004d55760008415620004bc5750858301515b600019600386901b1c1916600185901b17855562000460565b600085815260208120601f198616915b828110156200050657888601518255948401946001909101908401620004e5565b5085821015620005255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61283980620005456000396000f3fe6080604052600436106102ff5760003560e01c806369a7dcc311610190578063bbc1b5b2116100dc578063cf67a75d11610095578063e6df43cd1161006f578063e6df43cd1461088c578063e985e9c5146108ac578063f2fde38b146108cc578063f902770a146108ec57600080fd5b8063cf67a75d14610834578063d349fdc714610861578063d7f7a7421461087757600080fd5b8063bbc1b5b214610794578063bc63f02e146107a9578063c08fa1a4146107c9578063c6275255146107df578063c6a91b42146107ff578063c87b56dd1461081457600080fd5b806395d89b4111610149578063a636514a11610123578063a636514a1461072c578063ad8bd82c1461074c578063b88d4fde1461076c578063bb24447a1461077f57600080fd5b806395d89b41146106d8578063980f6567146106ed578063a22cb4651461070c57600080fd5b806369a7dcc31461062f5780636ba4c1381461064557806370a0823114610665578063715018a614610685578063717d57d31461069a5780638da5cb5b146106ba57600080fd5b80632a55205a1161024f57806342842e0e116102085780635b2906d0116101e25780635b2906d0146105c9578063611f3f10146105e3578063631d9e5c146105f95780636352211e1461060f57600080fd5b806342842e0e1461056f5780634e49e193146105825780635b1fd6bb146105a257600080fd5b80632a55205a146104a75780632db11544146104e657806330176e13146104f957806332cb6b0c1461051957806336e9a3b31461052f5780633952f11d1461054f57600080fd5b806318160ddd116102bc57806323b872dd1161029657806323b872dd1461045657806324600fc3146104695780632904e6d91461047e5780632a47f7991461049157600080fd5b806318160ddd146103f75780631a7b40c3146104105780631ba3da701461044057600080fd5b806301ffc9a71461030457806306fdde0314610339578063081812fc1461035b578063095ea7b3146103935780630f363b41146103a857806317e7f295146103d3575b600080fd5b34801561031057600080fd5b5061032461031f366004612072565b61091c565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e61094b565b60405161033091906120df565b34801561036757600080fd5b5061037b6103763660046120f2565b6109dd565b6040516001600160a01b039091168152602001610330565b6103a66103a1366004612120565b610a18565b005b3480156103b457600080fd5b506103be611d1a81565b60405163ffffffff9091168152602001610330565b3480156103df57600080fd5b506103e9600e5481565b604051908152602001610330565b34801561040357600080fd5b50600154600054036103e9565b34801561041c57600080fd5b5061032461042b3660046120f2565b60126020526000908152604090205460ff1681565b34801561044c57600080fd5b506103e960145481565b6103a661046436600461214c565b610a28565b34801561047557600080fd5b506103a6610b8d565b6103a661048c3660046121d2565b610c43565b34801561049d57600080fd5b506103be610ea681565b3480156104b357600080fd5b506104c76104c236600461221e565b610e43565b604080516001600160a01b039093168352602083019190915201610330565b6103a66104f43660046120f2565b610ef1565b34801561050557600080fd5b506103a6610514366004612240565b61105a565b34801561052557600080fd5b506103be611f4081565b34801561053b57600080fd5b506103a661054a3660046122b2565b61106f565b34801561055b57600080fd5b506103a661056a366004612304565b611261565b6103a661057d36600461214c565b61127c565b34801561058e57600080fd5b506103a661059d36600461231f565b611297565b3480156105ae57600080fd5b506105b7600381565b60405160ff9091168152602001610330565b3480156105d557600080fd5b506017546103249060ff1681565b3480156105ef57600080fd5b506103e9600d5481565b34801561060557600080fd5b506103e960135481565b34801561061b57600080fd5b5061037b61062a3660046120f2565b6112a9565b34801561063b57600080fd5b506103be6101c281565b34801561065157600080fd5b506103a66106603660046122b2565b6112b4565b34801561067157600080fd5b506103e9610680366004612364565b6114d4565b34801561069157600080fd5b506103a661151a565b3480156106a657600080fd5b506103a66106b53660046120f2565b61152e565b3480156106c657600080fd5b506009546001600160a01b031661037b565b3480156106e457600080fd5b5061034e61153b565b3480156106f957600080fd5b5060175461032490610100900460ff1681565b34801561071857600080fd5b506103a6610727366004612381565b61154a565b34801561073857600080fd5b506103a66107473660046123b6565b6115b6565b34801561075857600080fd5b506103a66107673660046120f2565b61164a565b6103a661077a3660046123f1565b611657565b34801561078b57600080fd5b506103a6611698565b3480156107a057600080fd5b506105b7600281565b3480156107b557600080fd5b506103a66107c43660046123b6565b6116ad565b3480156107d557600080fd5b506103e960165481565b3480156107eb57600080fd5b506103a66107fa3660046120f2565b61178a565b34801561080b57600080fd5b506105b7600a81565b34801561082057600080fd5b5061034e61082f3660046120f2565b611797565b34801561084057600080fd5b5061085461084f3660046122b2565b611812565b60405161033091906124d1565b34801561086d57600080fd5b506103e960155481565b34801561088357600080fd5b506103be606481565b34801561089857600080fd5b506108546108a73660046122b2565b611919565b3480156108b857600080fd5b506103246108c7366004612522565b611a19565b3480156108d857600080fd5b506103a66108e7366004612364565b611a47565b3480156108f857600080fd5b506103246109073660046120f2565b60116020526000908152604090205460ff1681565b600061092782611a82565b80610936575061093682611ad0565b80610945575061094582611ad0565b92915050565b60606002805461095a90612550565b80601f016020809104026020016040519081016040528092919081815260200182805461098690612550565b80156109d35780601f106109a8576101008083540402835291602001916109d3565b820191906000526020600020905b8154815290600101906020018083116109b657829003601f168201915b5050505050905090565b60006109e882611b05565b6109fc576109fc6333d1c03960e21b611b4a565b506000908152600660205260409020546001600160a01b031690565b610a2482826001611b54565b5050565b6000610a3382611bf7565b6001600160a01b039485169490915081168414610a5957610a5962a1148160e81b611b4a565b60008281526006602052604090208054338082146001600160a01b03881690911417610a9d57610a898633611a19565b610a9d57610a9d632ce44b5f60e11b611b4a565b8015610aa857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b3a57600184016000818152600460205260408120549003610b38576000548114610b385760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480600003610b8457610b84633a954ecd60e21b611b4a565b50505050505050565b610b95611c8d565b6000610ba96009546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610bf3576040519150601f19603f3d011682016040523d82523d6000602084013e610bf8565b606091505b5050905080610c405760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b610c4b611cba565b60175460ff16610c6e5760405163d82cb69560e01b815260040160405180910390fd5b611f4081610c7f6001546000540390565b610c8991906125a0565b1115610ca857604051638a164f6360e01b815260040160405180910390fd5b600a811115610cca5760405163422e8d1160e11b815260040160405180910390fd5b610d3f838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611ce4565b610d5c576040516309bde33960e01b815260040160405180910390fd5b600e54610d6990826125b3565b341015610d8957604051637ea94e2960e01b815260040160405180910390fd5b601754610100900460ff1615610dcf57601354610ea690610dab9083906125a0565b1115610dca57604051637d3d824960e01b815260040160405180910390fd5b610e12565b611d1a63ffffffff1681601654601354610de991906125a0565b610df391906125a0565b1115610e1257604051637d3d824960e01b815260040160405180910390fd5b8060136000828254610e2491906125a0565b90915550610e3490503382611cfa565b610e3e6001600a55565b505050565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610eb8575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ed7906001600160601b0316876125b3565b610ee191906125e0565b91519350909150505b9250929050565b610ef9611cba565b60175460ff16610f1c5760405163d82cb69560e01b815260040160405180910390fd5b611f4081610f2d6001546000540390565b610f3791906125a0565b1115610f5657604051638a164f6360e01b815260040160405180910390fd5b600a811115610f785760405163422e8d1160e11b815260040160405180910390fd5b600d54610f8590826125b3565b341015610fa557604051637ea94e2960e01b815260040160405180910390fd5b601754610100900460ff1615610feb57601354610ea690610fc79083906125a0565b1115610fe657604051637d3d824960e01b815260040160405180910390fd5b61102e565b611d1a63ffffffff168160165460135461100591906125a0565b61100f91906125a0565b111561102e57604051637d3d824960e01b815260040160405180910390fd5b806013600082825461104091906125a0565b9091555061105090503382611cfa565b610c406001600a55565b611062611c8d565b6019610e3e828483612642565b611077611cba565b60175460ff1661109a5760405163d82cb69560e01b815260040160405180910390fd5b8060006110a86003836125b3565b9050611f40816110bb6001546000540390565b6110c591906125a0565b11156110e457604051638a164f6360e01b815260040160405180910390fd5b6015546101c2906110f69083906125a0565b111561111557604051637d3d824960e01b815260040160405180910390fd5b60005b8281101561123257600085858381811061113457611134612703565b60209081029290920135600081815260129093526040909220549192505060ff1615611173576040516309faacd960e21b815260040160405180910390fd5b6010546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa1580156111bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e09190612719565b6001600160a01b0316146112075760405163987976db60e01b815260040160405180910390fd5b6000908152601260205260409020805460ff191660011790558061122a81612736565b915050611118565b50806015600082825461124591906125a0565b9091555061125590503382611cfa565b5050610a246001600a55565b611269611c8d565b6017805460ff1916911515919091179055565b610e3e83838360405180602001604052806000815250611657565b61129f611c8d565b610a248282611db9565b600061094582611bf7565b6112bc611cba565b60175460ff166112df5760405163d82cb69560e01b815260040160405180910390fd5b806112eb60028261274f565b15611309576040516319f3b44760e01b815260040160405180910390fd5b60006113166002836125e0565b9050611f40816113296001546000540390565b61133391906125a0565b111561135257604051638a164f6360e01b815260040160405180910390fd5b601754610100900460ff166113a457611d1a63ffffffff168160165460135461137b91906125a0565b61138591906125a0565b11156113a457604051637d3d824960e01b815260040160405180910390fd5b60005b828110156114c15760008585838181106113c3576113c3612703565b60209081029290920135600081815260119093526040909220549192505060ff1615611402576040516309faacd960e21b815260040160405180910390fd5b600f546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561144b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146f9190612719565b6001600160a01b0316146114965760405163987976db60e01b815260040160405180910390fd5b6000908152601160205260409020805460ff19166001179055806114b981612736565b9150506113a7565b50806016600082825461124591906125a0565b60006001600160a01b0382166114f4576114f46323d3ad8160e21b611b4a565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611522611c8d565b61152c6000611e5c565b565b611536611c8d565b600e55565b60606003805461095a90612550565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115be611c8d565b611f40826115cf6001546000540390565b6115d991906125a0565b11156115f857604051638a164f6360e01b815260040160405180910390fd5b6014546064906116099084906125a0565b111561162857604051637d3d824960e01b815260040160405180910390fd5b816014600082825461163a91906125a0565b90915550610a2490508183611cfa565b611652611c8d565b601855565b611662848484610a28565b6001600160a01b0383163b156116925761167e84848484611eae565b611692576116926368d2bf6b60e11b611b4a565b50505050565b6116a0611c8d565b6017805461ff0019169055565b6116b5611c8d565b611f40826116c66001546000540390565b6116d091906125a0565b11156116ef57604051638a164f6360e01b815260040160405180910390fd5b601754610100900460ff161561173557601354610ea6906117119084906125a0565b111561173057604051637d3d824960e01b815260040160405180910390fd5b611778565b611d1a63ffffffff168260165460135461174f91906125a0565b61175991906125a0565b111561177857604051637d3d824960e01b815260040160405180910390fd5b816013600082825461163a91906125a0565b611792611c8d565b600d55565b60606117a282611b05565b6117b6576117b6630a14c4b560e41b611b4a565b60006117c0611f90565b905080516000036117e0576040518060200160405280600081525061180b565b806117ea84611f9f565b6040516020016117fb929190612763565b6040516020818303038152906040525b9392505050565b60608167ffffffffffffffff81111561182d5761182d6123db565b60405190808252806020026020018201604052801561187257816020015b604080518082019091526000808252602082015281526020019060019003908161184b5790505b50905060005b8281101561191257604051806040016040528085858481811061189d5761189d612703565b905060200201358152602001601160008787868181106118bf576118bf612703565b602090810292909201358352508101919091526040016000205460ff161515905282518390839081106118f4576118f4612703565b6020026020010181905250808061190a90612736565b915050611878565b5092915050565b60608167ffffffffffffffff811115611934576119346123db565b60405190808252806020026020018201604052801561197957816020015b60408051808201909152600080825260208201528152602001906001900390816119525790505b50905060005b828110156119125760405180604001604052808585848181106119a4576119a4612703565b905060200201358152602001601260008787868181106119c6576119c6612703565b602090810292909201358352508101919091526040016000205460ff161515905282518390839081106119fb576119fb612703565b60200260200101819052508080611a1190612736565b91505061197f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a4f611c8d565b6001600160a01b038116611a7957604051631e4fbdf760e01b815260006004820152602401610c37565b610c4081611e5c565b60006301ffc9a760e01b6001600160e01b031983161480611ab357506380ac58cd60e01b6001600160e01b03198316145b806109455750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061094557506301ffc9a760e01b6001600160e01b0319831614610945565b60008054821015611b455760005b5060008281526004602052604081205490819003611b3b57611b3483612792565b9250611b13565b600160e01b161590505b919050565b8060005260046000fd5b6000611b5f836112a9565b9050818015611b775750336001600160a01b03821614155b15611b9a57611b868133611a19565b611b9a57611b9a6367d9dca160e11b611b4a565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008181526004602052604090205480600003611c6a576000548210611c2757611c27636f96cda160e11b611b4a565b5b50600019016000818152600460205260409020548015611c2857600160e01b8116600003611c5557919050565b611c65636f96cda160e11b611b4a565b611c28565b600160e01b8116600003611c7d57919050565b611b45636f96cda160e11b611b4a565b6009546001600160a01b0316331461152c5760405163118cdaa760e01b8152336004820152602401610c37565b6002600a5403611cdd57604051633ee5aeb560e01b815260040160405180910390fd5b6002600a55565b600082611cf18584611fe3565b14949350505050565b6000805490829003611d1657611d1663b562e8dd60e01b611b4a565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611d7457611d74622e076360e81b611b4a565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611d79575060005550505050565b6127106001600160601b038216811015611df857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610c37565b6001600160a01b038316611e2257604051635b6cc80560e11b815260006004820152602401610c37565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ee39033908990889088906004016127a9565b6020604051808303816000875af1925050508015611f1e575060408051601f3d908101601f19168201909252611f1b918101906127e6565b60015b611f73573d808015611f4c576040519150601f19603f3d011682016040523d82523d6000602084013e611f51565b606091505b508051600003611f6b57611f6b6368d2bf6b60e11b611b4a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606019805461095a90612550565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611fb95750819003601f19909101908152919050565b600081815b8451811015612028576120148286838151811061200757612007612703565b6020026020010151612030565b91508061202081612736565b915050611fe8565b509392505050565b600081831061204c57600082815260208490526040902061180b565b5060009182526020526040902090565b6001600160e01b031981168114610c4057600080fd5b60006020828403121561208457600080fd5b813561180b8161205c565b60005b838110156120aa578181015183820152602001612092565b50506000910152565b600081518084526120cb81602086016020860161208f565b601f01601f19169290920160200192915050565b60208152600061180b60208301846120b3565b60006020828403121561210457600080fd5b5035919050565b6001600160a01b0381168114610c4057600080fd5b6000806040838503121561213357600080fd5b823561213e8161210b565b946020939093013593505050565b60008060006060848603121561216157600080fd5b833561216c8161210b565b9250602084013561217c8161210b565b929592945050506040919091013590565b60008083601f84011261219f57600080fd5b50813567ffffffffffffffff8111156121b757600080fd5b6020830191508360208260051b8501011115610eea57600080fd5b6000806000604084860312156121e757600080fd5b833567ffffffffffffffff8111156121fe57600080fd5b61220a8682870161218d565b909790965060209590950135949350505050565b6000806040838503121561223157600080fd5b50508035926020909101359150565b6000806020838503121561225357600080fd5b823567ffffffffffffffff8082111561226b57600080fd5b818501915085601f83011261227f57600080fd5b81358181111561228e57600080fd5b8660208285010111156122a057600080fd5b60209290920196919550909350505050565b600080602083850312156122c557600080fd5b823567ffffffffffffffff8111156122dc57600080fd5b6122e88582860161218d565b90969095509350505050565b80358015158114611b4557600080fd5b60006020828403121561231657600080fd5b61180b826122f4565b6000806040838503121561233257600080fd5b823561233d8161210b565b915060208301356001600160601b038116811461235957600080fd5b809150509250929050565b60006020828403121561237657600080fd5b813561180b8161210b565b6000806040838503121561239457600080fd5b823561239f8161210b565b91506123ad602084016122f4565b90509250929050565b600080604083850312156123c957600080fd5b8235915060208301356123598161210b565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561240757600080fd5b84356124128161210b565b935060208501356124228161210b565b925060408501359150606085013567ffffffffffffffff8082111561244657600080fd5b818701915087601f83011261245a57600080fd5b81358181111561246c5761246c6123db565b604051601f8201601f19908116603f01168101908382118183101715612494576124946123db565b816040528281528a60208487010111156124ad57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b602080825282518282018190526000919060409081850190868401855b828110156125155781518051855286015115158685015292840192908501906001016124ee565b5091979650505050505050565b6000806040838503121561253557600080fd5b82356125408161210b565b915060208301356123598161210b565b600181811c9082168061256457607f821691505b60208210810361258457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156109455761094561258a565b80820281158282048414176109455761094561258a565b634e487b7160e01b600052601260045260246000fd5b6000826125ef576125ef6125ca565b500490565b601f821115610e3e57600081815260208120601f850160051c8101602086101561261b5750805b601f850160051c820191505b8181101561263a57828155600101612627565b505050505050565b67ffffffffffffffff83111561265a5761265a6123db565b61266e836126688354612550565b836125f4565b6000601f8411600181146126a2576000851561268a5750838201355b600019600387901b1c1916600186901b1783556126fc565b600083815260209020601f19861690835b828110156126d357868501358255602094850194600190920191016126b3565b50868210156126f05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561272b57600080fd5b815161180b8161210b565b6000600182016127485761274861258a565b5060010190565b60008261275e5761275e6125ca565b500690565b6000835161277581846020880161208f565b83519083019061278981836020880161208f565b01949350505050565b6000816127a1576127a161258a565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127dc908301846120b3565b9695505050505050565b6000602082840312156127f857600080fd5b815161180b8161205c56fea264697066735822122025aeeaca5be9008137fcdb77fcb23c6ca0a276b2c56f21e170d2576d949e36cc64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000077e2545d1d63856e22ce82e3d6f2a3b2077232bf00000000000000000000000053a5d94155aedd2079d271c6bbd45c8fa2548a4947f0f8175a24b9b38aa237d863e4284d1b1a70d5fea8964e63708daa25422559000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e636f6d2f6170692f33642f6d657461646174612f000000000000000000000000

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c806369a7dcc311610190578063bbc1b5b2116100dc578063cf67a75d11610095578063e6df43cd1161006f578063e6df43cd1461088c578063e985e9c5146108ac578063f2fde38b146108cc578063f902770a146108ec57600080fd5b8063cf67a75d14610834578063d349fdc714610861578063d7f7a7421461087757600080fd5b8063bbc1b5b214610794578063bc63f02e146107a9578063c08fa1a4146107c9578063c6275255146107df578063c6a91b42146107ff578063c87b56dd1461081457600080fd5b806395d89b4111610149578063a636514a11610123578063a636514a1461072c578063ad8bd82c1461074c578063b88d4fde1461076c578063bb24447a1461077f57600080fd5b806395d89b41146106d8578063980f6567146106ed578063a22cb4651461070c57600080fd5b806369a7dcc31461062f5780636ba4c1381461064557806370a0823114610665578063715018a614610685578063717d57d31461069a5780638da5cb5b146106ba57600080fd5b80632a55205a1161024f57806342842e0e116102085780635b2906d0116101e25780635b2906d0146105c9578063611f3f10146105e3578063631d9e5c146105f95780636352211e1461060f57600080fd5b806342842e0e1461056f5780634e49e193146105825780635b1fd6bb146105a257600080fd5b80632a55205a146104a75780632db11544146104e657806330176e13146104f957806332cb6b0c1461051957806336e9a3b31461052f5780633952f11d1461054f57600080fd5b806318160ddd116102bc57806323b872dd1161029657806323b872dd1461045657806324600fc3146104695780632904e6d91461047e5780632a47f7991461049157600080fd5b806318160ddd146103f75780631a7b40c3146104105780631ba3da701461044057600080fd5b806301ffc9a71461030457806306fdde0314610339578063081812fc1461035b578063095ea7b3146103935780630f363b41146103a857806317e7f295146103d3575b600080fd5b34801561031057600080fd5b5061032461031f366004612072565b61091c565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e61094b565b60405161033091906120df565b34801561036757600080fd5b5061037b6103763660046120f2565b6109dd565b6040516001600160a01b039091168152602001610330565b6103a66103a1366004612120565b610a18565b005b3480156103b457600080fd5b506103be611d1a81565b60405163ffffffff9091168152602001610330565b3480156103df57600080fd5b506103e9600e5481565b604051908152602001610330565b34801561040357600080fd5b50600154600054036103e9565b34801561041c57600080fd5b5061032461042b3660046120f2565b60126020526000908152604090205460ff1681565b34801561044c57600080fd5b506103e960145481565b6103a661046436600461214c565b610a28565b34801561047557600080fd5b506103a6610b8d565b6103a661048c3660046121d2565b610c43565b34801561049d57600080fd5b506103be610ea681565b3480156104b357600080fd5b506104c76104c236600461221e565b610e43565b604080516001600160a01b039093168352602083019190915201610330565b6103a66104f43660046120f2565b610ef1565b34801561050557600080fd5b506103a6610514366004612240565b61105a565b34801561052557600080fd5b506103be611f4081565b34801561053b57600080fd5b506103a661054a3660046122b2565b61106f565b34801561055b57600080fd5b506103a661056a366004612304565b611261565b6103a661057d36600461214c565b61127c565b34801561058e57600080fd5b506103a661059d36600461231f565b611297565b3480156105ae57600080fd5b506105b7600381565b60405160ff9091168152602001610330565b3480156105d557600080fd5b506017546103249060ff1681565b3480156105ef57600080fd5b506103e9600d5481565b34801561060557600080fd5b506103e960135481565b34801561061b57600080fd5b5061037b61062a3660046120f2565b6112a9565b34801561063b57600080fd5b506103be6101c281565b34801561065157600080fd5b506103a66106603660046122b2565b6112b4565b34801561067157600080fd5b506103e9610680366004612364565b6114d4565b34801561069157600080fd5b506103a661151a565b3480156106a657600080fd5b506103a66106b53660046120f2565b61152e565b3480156106c657600080fd5b506009546001600160a01b031661037b565b3480156106e457600080fd5b5061034e61153b565b3480156106f957600080fd5b5060175461032490610100900460ff1681565b34801561071857600080fd5b506103a6610727366004612381565b61154a565b34801561073857600080fd5b506103a66107473660046123b6565b6115b6565b34801561075857600080fd5b506103a66107673660046120f2565b61164a565b6103a661077a3660046123f1565b611657565b34801561078b57600080fd5b506103a6611698565b3480156107a057600080fd5b506105b7600281565b3480156107b557600080fd5b506103a66107c43660046123b6565b6116ad565b3480156107d557600080fd5b506103e960165481565b3480156107eb57600080fd5b506103a66107fa3660046120f2565b61178a565b34801561080b57600080fd5b506105b7600a81565b34801561082057600080fd5b5061034e61082f3660046120f2565b611797565b34801561084057600080fd5b5061085461084f3660046122b2565b611812565b60405161033091906124d1565b34801561086d57600080fd5b506103e960155481565b34801561088357600080fd5b506103be606481565b34801561089857600080fd5b506108546108a73660046122b2565b611919565b3480156108b857600080fd5b506103246108c7366004612522565b611a19565b3480156108d857600080fd5b506103a66108e7366004612364565b611a47565b3480156108f857600080fd5b506103246109073660046120f2565b60116020526000908152604090205460ff1681565b600061092782611a82565b80610936575061093682611ad0565b80610945575061094582611ad0565b92915050565b60606002805461095a90612550565b80601f016020809104026020016040519081016040528092919081815260200182805461098690612550565b80156109d35780601f106109a8576101008083540402835291602001916109d3565b820191906000526020600020905b8154815290600101906020018083116109b657829003601f168201915b5050505050905090565b60006109e882611b05565b6109fc576109fc6333d1c03960e21b611b4a565b506000908152600660205260409020546001600160a01b031690565b610a2482826001611b54565b5050565b6000610a3382611bf7565b6001600160a01b039485169490915081168414610a5957610a5962a1148160e81b611b4a565b60008281526006602052604090208054338082146001600160a01b03881690911417610a9d57610a898633611a19565b610a9d57610a9d632ce44b5f60e11b611b4a565b8015610aa857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b3a57600184016000818152600460205260408120549003610b38576000548114610b385760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480600003610b8457610b84633a954ecd60e21b611b4a565b50505050505050565b610b95611c8d565b6000610ba96009546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610bf3576040519150601f19603f3d011682016040523d82523d6000602084013e610bf8565b606091505b5050905080610c405760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b610c4b611cba565b60175460ff16610c6e5760405163d82cb69560e01b815260040160405180910390fd5b611f4081610c7f6001546000540390565b610c8991906125a0565b1115610ca857604051638a164f6360e01b815260040160405180910390fd5b600a811115610cca5760405163422e8d1160e11b815260040160405180910390fd5b610d3f838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611ce4565b610d5c576040516309bde33960e01b815260040160405180910390fd5b600e54610d6990826125b3565b341015610d8957604051637ea94e2960e01b815260040160405180910390fd5b601754610100900460ff1615610dcf57601354610ea690610dab9083906125a0565b1115610dca57604051637d3d824960e01b815260040160405180910390fd5b610e12565b611d1a63ffffffff1681601654601354610de991906125a0565b610df391906125a0565b1115610e1257604051637d3d824960e01b815260040160405180910390fd5b8060136000828254610e2491906125a0565b90915550610e3490503382611cfa565b610e3e6001600a55565b505050565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610eb8575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ed7906001600160601b0316876125b3565b610ee191906125e0565b91519350909150505b9250929050565b610ef9611cba565b60175460ff16610f1c5760405163d82cb69560e01b815260040160405180910390fd5b611f4081610f2d6001546000540390565b610f3791906125a0565b1115610f5657604051638a164f6360e01b815260040160405180910390fd5b600a811115610f785760405163422e8d1160e11b815260040160405180910390fd5b600d54610f8590826125b3565b341015610fa557604051637ea94e2960e01b815260040160405180910390fd5b601754610100900460ff1615610feb57601354610ea690610fc79083906125a0565b1115610fe657604051637d3d824960e01b815260040160405180910390fd5b61102e565b611d1a63ffffffff168160165460135461100591906125a0565b61100f91906125a0565b111561102e57604051637d3d824960e01b815260040160405180910390fd5b806013600082825461104091906125a0565b9091555061105090503382611cfa565b610c406001600a55565b611062611c8d565b6019610e3e828483612642565b611077611cba565b60175460ff1661109a5760405163d82cb69560e01b815260040160405180910390fd5b8060006110a86003836125b3565b9050611f40816110bb6001546000540390565b6110c591906125a0565b11156110e457604051638a164f6360e01b815260040160405180910390fd5b6015546101c2906110f69083906125a0565b111561111557604051637d3d824960e01b815260040160405180910390fd5b60005b8281101561123257600085858381811061113457611134612703565b60209081029290920135600081815260129093526040909220549192505060ff1615611173576040516309faacd960e21b815260040160405180910390fd5b6010546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa1580156111bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e09190612719565b6001600160a01b0316146112075760405163987976db60e01b815260040160405180910390fd5b6000908152601260205260409020805460ff191660011790558061122a81612736565b915050611118565b50806015600082825461124591906125a0565b9091555061125590503382611cfa565b5050610a246001600a55565b611269611c8d565b6017805460ff1916911515919091179055565b610e3e83838360405180602001604052806000815250611657565b61129f611c8d565b610a248282611db9565b600061094582611bf7565b6112bc611cba565b60175460ff166112df5760405163d82cb69560e01b815260040160405180910390fd5b806112eb60028261274f565b15611309576040516319f3b44760e01b815260040160405180910390fd5b60006113166002836125e0565b9050611f40816113296001546000540390565b61133391906125a0565b111561135257604051638a164f6360e01b815260040160405180910390fd5b601754610100900460ff166113a457611d1a63ffffffff168160165460135461137b91906125a0565b61138591906125a0565b11156113a457604051637d3d824960e01b815260040160405180910390fd5b60005b828110156114c15760008585838181106113c3576113c3612703565b60209081029290920135600081815260119093526040909220549192505060ff1615611402576040516309faacd960e21b815260040160405180910390fd5b600f546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561144b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146f9190612719565b6001600160a01b0316146114965760405163987976db60e01b815260040160405180910390fd5b6000908152601160205260409020805460ff19166001179055806114b981612736565b9150506113a7565b50806016600082825461124591906125a0565b60006001600160a01b0382166114f4576114f46323d3ad8160e21b611b4a565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611522611c8d565b61152c6000611e5c565b565b611536611c8d565b600e55565b60606003805461095a90612550565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115be611c8d565b611f40826115cf6001546000540390565b6115d991906125a0565b11156115f857604051638a164f6360e01b815260040160405180910390fd5b6014546064906116099084906125a0565b111561162857604051637d3d824960e01b815260040160405180910390fd5b816014600082825461163a91906125a0565b90915550610a2490508183611cfa565b611652611c8d565b601855565b611662848484610a28565b6001600160a01b0383163b156116925761167e84848484611eae565b611692576116926368d2bf6b60e11b611b4a565b50505050565b6116a0611c8d565b6017805461ff0019169055565b6116b5611c8d565b611f40826116c66001546000540390565b6116d091906125a0565b11156116ef57604051638a164f6360e01b815260040160405180910390fd5b601754610100900460ff161561173557601354610ea6906117119084906125a0565b111561173057604051637d3d824960e01b815260040160405180910390fd5b611778565b611d1a63ffffffff168260165460135461174f91906125a0565b61175991906125a0565b111561177857604051637d3d824960e01b815260040160405180910390fd5b816013600082825461163a91906125a0565b611792611c8d565b600d55565b60606117a282611b05565b6117b6576117b6630a14c4b560e41b611b4a565b60006117c0611f90565b905080516000036117e0576040518060200160405280600081525061180b565b806117ea84611f9f565b6040516020016117fb929190612763565b6040516020818303038152906040525b9392505050565b60608167ffffffffffffffff81111561182d5761182d6123db565b60405190808252806020026020018201604052801561187257816020015b604080518082019091526000808252602082015281526020019060019003908161184b5790505b50905060005b8281101561191257604051806040016040528085858481811061189d5761189d612703565b905060200201358152602001601160008787868181106118bf576118bf612703565b602090810292909201358352508101919091526040016000205460ff161515905282518390839081106118f4576118f4612703565b6020026020010181905250808061190a90612736565b915050611878565b5092915050565b60608167ffffffffffffffff811115611934576119346123db565b60405190808252806020026020018201604052801561197957816020015b60408051808201909152600080825260208201528152602001906001900390816119525790505b50905060005b828110156119125760405180604001604052808585848181106119a4576119a4612703565b905060200201358152602001601260008787868181106119c6576119c6612703565b602090810292909201358352508101919091526040016000205460ff161515905282518390839081106119fb576119fb612703565b60200260200101819052508080611a1190612736565b91505061197f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611a4f611c8d565b6001600160a01b038116611a7957604051631e4fbdf760e01b815260006004820152602401610c37565b610c4081611e5c565b60006301ffc9a760e01b6001600160e01b031983161480611ab357506380ac58cd60e01b6001600160e01b03198316145b806109455750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061094557506301ffc9a760e01b6001600160e01b0319831614610945565b60008054821015611b455760005b5060008281526004602052604081205490819003611b3b57611b3483612792565b9250611b13565b600160e01b161590505b919050565b8060005260046000fd5b6000611b5f836112a9565b9050818015611b775750336001600160a01b03821614155b15611b9a57611b868133611a19565b611b9a57611b9a6367d9dca160e11b611b4a565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008181526004602052604090205480600003611c6a576000548210611c2757611c27636f96cda160e11b611b4a565b5b50600019016000818152600460205260409020548015611c2857600160e01b8116600003611c5557919050565b611c65636f96cda160e11b611b4a565b611c28565b600160e01b8116600003611c7d57919050565b611b45636f96cda160e11b611b4a565b6009546001600160a01b0316331461152c5760405163118cdaa760e01b8152336004820152602401610c37565b6002600a5403611cdd57604051633ee5aeb560e01b815260040160405180910390fd5b6002600a55565b600082611cf18584611fe3565b14949350505050565b6000805490829003611d1657611d1663b562e8dd60e01b611b4a565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003611d7457611d74622e076360e81b611b4a565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611d79575060005550505050565b6127106001600160601b038216811015611df857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610c37565b6001600160a01b038316611e2257604051635b6cc80560e11b815260006004820152602401610c37565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ee39033908990889088906004016127a9565b6020604051808303816000875af1925050508015611f1e575060408051601f3d908101601f19168201909252611f1b918101906127e6565b60015b611f73573d808015611f4c576040519150601f19603f3d011682016040523d82523d6000602084013e611f51565b606091505b508051600003611f6b57611f6b6368d2bf6b60e11b611b4a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606019805461095a90612550565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611fb95750819003601f19909101908152919050565b600081815b8451811015612028576120148286838151811061200757612007612703565b6020026020010151612030565b91508061202081612736565b915050611fe8565b509392505050565b600081831061204c57600082815260208490526040902061180b565b5060009182526020526040902090565b6001600160e01b031981168114610c4057600080fd5b60006020828403121561208457600080fd5b813561180b8161205c565b60005b838110156120aa578181015183820152602001612092565b50506000910152565b600081518084526120cb81602086016020860161208f565b601f01601f19169290920160200192915050565b60208152600061180b60208301846120b3565b60006020828403121561210457600080fd5b5035919050565b6001600160a01b0381168114610c4057600080fd5b6000806040838503121561213357600080fd5b823561213e8161210b565b946020939093013593505050565b60008060006060848603121561216157600080fd5b833561216c8161210b565b9250602084013561217c8161210b565b929592945050506040919091013590565b60008083601f84011261219f57600080fd5b50813567ffffffffffffffff8111156121b757600080fd5b6020830191508360208260051b8501011115610eea57600080fd5b6000806000604084860312156121e757600080fd5b833567ffffffffffffffff8111156121fe57600080fd5b61220a8682870161218d565b909790965060209590950135949350505050565b6000806040838503121561223157600080fd5b50508035926020909101359150565b6000806020838503121561225357600080fd5b823567ffffffffffffffff8082111561226b57600080fd5b818501915085601f83011261227f57600080fd5b81358181111561228e57600080fd5b8660208285010111156122a057600080fd5b60209290920196919550909350505050565b600080602083850312156122c557600080fd5b823567ffffffffffffffff8111156122dc57600080fd5b6122e88582860161218d565b90969095509350505050565b80358015158114611b4557600080fd5b60006020828403121561231657600080fd5b61180b826122f4565b6000806040838503121561233257600080fd5b823561233d8161210b565b915060208301356001600160601b038116811461235957600080fd5b809150509250929050565b60006020828403121561237657600080fd5b813561180b8161210b565b6000806040838503121561239457600080fd5b823561239f8161210b565b91506123ad602084016122f4565b90509250929050565b600080604083850312156123c957600080fd5b8235915060208301356123598161210b565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561240757600080fd5b84356124128161210b565b935060208501356124228161210b565b925060408501359150606085013567ffffffffffffffff8082111561244657600080fd5b818701915087601f83011261245a57600080fd5b81358181111561246c5761246c6123db565b604051601f8201601f19908116603f01168101908382118183101715612494576124946123db565b816040528281528a60208487010111156124ad57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b602080825282518282018190526000919060409081850190868401855b828110156125155781518051855286015115158685015292840192908501906001016124ee565b5091979650505050505050565b6000806040838503121561253557600080fd5b82356125408161210b565b915060208301356123598161210b565b600181811c9082168061256457607f821691505b60208210810361258457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156109455761094561258a565b80820281158282048414176109455761094561258a565b634e487b7160e01b600052601260045260246000fd5b6000826125ef576125ef6125ca565b500490565b601f821115610e3e57600081815260208120601f850160051c8101602086101561261b5750805b601f850160051c820191505b8181101561263a57828155600101612627565b505050505050565b67ffffffffffffffff83111561265a5761265a6123db565b61266e836126688354612550565b836125f4565b6000601f8411600181146126a2576000851561268a5750838201355b600019600387901b1c1916600186901b1783556126fc565b600083815260209020601f19861690835b828110156126d357868501358255602094850194600190920191016126b3565b50868210156126f05760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561272b57600080fd5b815161180b8161210b565b6000600182016127485761274861258a565b5060010190565b60008261275e5761275e6125ca565b500690565b6000835161277581846020880161208f565b83519083019061278981836020880161208f565b01949350505050565b6000816127a1576127a161258a565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127dc908301846120b3565b9695505050505050565b6000602082840312156127f857600080fd5b815161180b8161205c56fea264697066735822122025aeeaca5be9008137fcdb77fcb23c6ca0a276b2c56f21e170d2576d949e36cc64736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000077e2545d1d63856e22ce82e3d6f2a3b2077232bf00000000000000000000000053a5d94155aedd2079d271c6bbd45c8fa2548a4947f0f8175a24b9b38aa237d863e4284d1b1a70d5fea8964e63708daa25422559000000000000000000000000000000000000000000000000000000000000003468747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e636f6d2f6170692f33642f6d657461646174612f000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://camelsnft-api.herokuapp.com/api/3d/metadata/
Arg [1] : _camelsContractAddress (address): 0x77e2545D1d63856E22CE82e3D6f2A3B2077232bF
Arg [2] : _customCamelsContract (address): 0x53A5d94155AeDD2079D271c6bbd45c8fa2548A49
Arg [3] : _wlRoot (bytes32): 0x47f0f8175a24b9b38aa237d863e4284d1b1a70d5fea8964e63708daa25422559

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000077e2545d1d63856e22ce82e3d6f2a3b2077232bf
Arg [2] : 00000000000000000000000053a5d94155aedd2079d271c6bbd45c8fa2548a49
Arg [3] : 47f0f8175a24b9b38aa237d863e4284d1b1a70d5fea8964e63708daa25422559
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000034
Arg [5] : 68747470733a2f2f63616d656c736e66742d6170692e6865726f6b756170702e
Arg [6] : 636f6d2f6170692f33642f6d657461646174612f000000000000000000000000


Deployed Bytecode Sourcemap

87012:9015:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95763:259;;;;;;;;;;-1:-1:-1;95763:259:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;95763:259:0;;;;;;;;47647:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54887:227::-;;;;;;;;;;-1:-1:-1;54887:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;54887:227:0;1533:203:1;54604:124:0;;;;;;:::i;:::-;;:::i;:::-;;87186:72;;;;;;;;;;;;87254:4;87186:72;;;;;2371:10:1;2359:23;;;2341:42;;2329:2;2314:18;87186:72:0;2197:192:1;87558:40:0;;;;;;;;;;;;;;;;;;;2540:25:1;;;2528:2;2513:18;87558:40:0;2394:177:1;42849:573:0;;;;;;;;;;-1:-1:-1;43293:12:0;;42910:14;43277:13;:28;42849:573;;87741:51;;;;;;;;;;-1:-1:-1;87741:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;87841:32;;;;;;;;;;;;;;;;59159:3523;;;;;;:::i;:::-;;:::i;94133:182::-;;;;;;;;;;;;;:::i;91903:1084::-;;;;;;:::i;:::-;;:::i;87132:47::-;;;;;;;;;;;;87175:4;87132:47;;9706:429;;;;;;;;;;-1:-1:-1;9706:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4364:32:1;;;4346:51;;4428:2;4413:18;;4406:34;;;;4319:18;9706:429:0;4172:274:1;90978:917:0;;;;;;:::i;:::-;;:::i;94013:112::-;;;;;;;;;;-1:-1:-1;94013:112:0;;;;;:::i;:::-;;:::i;87085:40::-;;;;;;;;;;;;87121:4;87085:40;;90011:959;;;;;;;;;;-1:-1:-1;90011:959:0;;;;;:::i;:::-;;:::i;94323:113::-;;;;;;;;;;-1:-1:-1;94323:113:0;;;;;:::i;:::-;;:::i;62778:193::-;;;;;;:::i;:::-;;:::i;95607:148::-;;;;;;;;;;-1:-1:-1;95607:148:0;;;;;:::i;:::-;;:::i;87411:45::-;;;;;;;;;;;;87455:1;87411:45;;;;;6452:4:1;6440:17;;;6422:36;;6410:2;6395:18;87411:45:0;6280:184:1;87957:34:0;;;;;;;;;;-1:-1:-1;87957:34:0;;;;;;;;87513:38;;;;;;;;;;;;;;;;87801:33;;;;;;;;;;;;;;;;49049:152;;;;;;;;;;-1:-1:-1;49049:152:0;;;;;:::i;:::-;;:::i;87265:46::-;;;;;;;;;;;;87308:3;87265:46;;88884:1119;;;;;;;;;;-1:-1:-1;88884:1119:0;;;;;:::i;:::-;;:::i;44573:242::-;;;;;;;;;;-1:-1:-1;44573:242:0;;;;;:::i;:::-;;:::i;3571:103::-;;;;;;;;;;;;;:::i;95176:102::-;;;;;;;;;;-1:-1:-1;95176:102:0;;;;;:::i;:::-;;:::i;2896:87::-;;;;;;;;;;-1:-1:-1;2969:6:0;;-1:-1:-1;;;;;2969:6:0;2896:87;;47823:104;;;;;;;;;;;;;:::i;87998:39::-;;;;;;;;;;-1:-1:-1;87998:39:0;;;;;;;;;;;55454:234;;;;;;;;;;-1:-1:-1;55454:234:0;;;;;:::i;:::-;;:::i;93631:374::-;;;;;;;;;;-1:-1:-1;93631:374:0;;;;;:::i;:::-;;:::i;95286:86::-;;;;;;;;;;-1:-1:-1;95286:86:0;;;;;:::i;:::-;;:::i;63569:416::-;;;;;;:::i;:::-;;:::i;95503:96::-;;;;;;;;;;;;;:::i;87366:38::-;;;;;;;;;;;;87403:1;87366:38;;92995:628;;;;;;;;;;-1:-1:-1;92995:628:0;;;;;:::i;:::-;;:::i;87920:28::-;;;;;;;;;;;;;;;;95072:96;;;;;;;;;;-1:-1:-1;95072:96:0;;;;;:::i;:::-;;:::i;87463:43::-;;;;;;;;;;;;87504:2;87463:43;;48033:327;;;;;;;;;;-1:-1:-1;48033:327:0;;;;;:::i;:::-;;:::i;94444:300::-;;;;;;;;;;-1:-1:-1;94444:300:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;87880:33::-;;;;;;;;;;;;;;;;87318:41;;;;;;;;;;;;87356:3;87318:41;;94752:312;;;;;;;;;;-1:-1:-1;94752:312:0;;;;;:::i;:::-;;:::i;55845:164::-;;;;;;;;;;-1:-1:-1;55845:164:0;;;;;:::i;:::-;;:::i;3829:220::-;;;;;;;;;;-1:-1:-1;3829:220:0;;;;;:::i;:::-;;:::i;87689:45::-;;;;;;;;;;-1:-1:-1;87689:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;95763:259;95867:4;95891:39;95917:12;95891:25;:39::i;:::-;:82;;;;95934:39;95960:12;95934:25;:39::i;:::-;95891:123;;;;95977:37;96001:12;95977:23;:37::i;:::-;95884:130;95763:259;-1:-1:-1;;95763:259:0:o;47647:100::-;47701:13;47734:5;47727:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47647:100;:::o;54887:227::-;54963:7;54988:16;54996:7;54988;:16::i;:::-;54983:73;;55006:50;-1:-1:-1;;;55006:7:0;:50::i;:::-;-1:-1:-1;55076:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;55076:30:0;;54887:227::o;54604:124::-;54693:27;54702:2;54706:7;54715:4;54693:8;:27::i;:::-;54604:124;;:::o;59159:3523::-;59301:27;59331;59350:7;59331:18;:27::i;:::-;-1:-1:-1;;;;;59486:22:0;;;;59301:57;;-1:-1:-1;59546:45:0;;;;59542:95;;59593:44;-1:-1:-1;;;59593:7:0;:44::i;:::-;59651:27;58267:24;;;:15;:24;;;;;58495:26;;84844:10;57892:30;;;-1:-1:-1;;;;;57585:28:0;;57870:20;;;57867:56;59837:189;;59930:43;59947:4;84844:10;55845:164;:::i;59930:43::-;59925:101;;59975:51;-1:-1:-1;;;59975:7:0;:51::i;:::-;60175:15;60172:160;;;60315:1;60294:19;60287:30;60172:160;-1:-1:-1;;;;;60712:24:0;;;;;;;:18;:24;;;;;;60710:26;;-1:-1:-1;;60710:26:0;;;60781:22;;;;;;;;;60779:24;;-1:-1:-1;60779:24:0;;;53706:11;53681:23;53677:41;53664:63;-1:-1:-1;;;53664:63:0;61074:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;61369:47:0;;:52;;61365:627;;61474:1;61464:11;;61442:19;61597:30;;;:17;:30;;;;;;:35;;61593:384;;61735:13;;61720:11;:28;61716:242;;61882:30;;;;:17;:30;;;;;:52;;;61716:242;61423:569;61365:627;-1:-1:-1;;;;;62124:20:0;;62504:7;62124:20;62434:4;62376:25;62105:16;;62241:299;62565:8;62577:1;62565:13;62561:58;;62580:39;-1:-1:-1;;;62580:7:0;:39::i;:::-;59290:3392;;;;59159:3523;;;:::o;94133:182::-;2782:13;:11;:13::i;:::-;94189:12:::1;94214:7;2969:6:::0;;-1:-1:-1;;;;;2969:6:0;;2896:87;94214:7:::1;-1:-1:-1::0;;;;;94206:21:0::1;94235;94206:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94188:73;;;94280:7;94272:35;;;::::0;-1:-1:-1;;;94272:35:0;;10956:2:1;94272:35:0::1;::::0;::::1;10938:21:1::0;10995:2;10975:18;;;10968:30;-1:-1:-1;;;11014:18:1;;;11007:45;11069:18;;94272:35:0::1;;;;;;;;;94177:138;94133:182::o:0;91903:1084::-;25130:21;:19;:21::i;:::-;92018:14:::1;::::0;::::1;;92013:71;;92056:16;;-1:-1:-1::0;;;92056:16:0::1;;;;;;;;;;;92013:71;87121:4;92114:9:::0;92098:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;92098:13:::1;:25;;;;:::i;:::-;:38;92094:97;;;92160:19;;-1:-1:-1::0;;;92160:19:0::1;;;;;;;;;;;92094:97;87504:2;92205:28:::0;::::1;92201:86;;;92257:18;;-1:-1:-1::0;;;92257:18:0::1;;;;;;;;;;;92201:86;92302:75;92321:6;;92302:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;92329:6:0::1;::::0;92347:28:::1;::::0;-1:-1:-1;;92364:10:0::1;11509:2:1::0;11505:15;11501:53;92347:28:0::1;::::0;::::1;11489:66:1::0;92329:6:0;;-1:-1:-1;11571:12:1;;;-1:-1:-1;92347:28:0::1;;;;;;;;;;;;92337:39;;;;;;92302:18;:75::i;:::-;92297:130;;92401:14;;-1:-1:-1::0;;;92401:14:0::1;;;;;;;;;;;92297:130;92465:15;::::0;92453:27:::1;::::0;:9;:27:::1;:::i;:::-;92441:9;:39;92437:99;;;92504:20;;-1:-1:-1::0;;;92504:20:0::1;;;;;;;;;;;92437:99;92552:20;::::0;::::1;::::0;::::1;;;92548:350;;;92593:17;::::0;87175:4:::1;::::0;92593:29:::1;::::0;92613:9;;92593:29:::1;:::i;:::-;:49;92589:113;;;92670:16;;-1:-1:-1::0;;;92670:16:0::1;;;;;;;;;;;92589:113;92548:350;;;87254:4;92738:89;;92773:9;92758:12;;92738:17;;:32;;;;:::i;:::-;:44;;;;:::i;:::-;:89;92734:153;;;92855:16;;-1:-1:-1::0;;;92855:16:0::1;;;;;;;;;;;92734:153;92931:9;92910:17;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;92951:28:0::1;::::0;-1:-1:-1;92957:10:0::1;92969:9:::0;92951:5:::1;:28::i;:::-;25174:20:::0;24465:1;25716:7;:21;25533:212;25174:20;91903:1084;;;:::o;9706:429::-;9792:7;9850:26;;;:17;:26;;;;;;;;9821:55;;;;;;;;;-1:-1:-1;;;;;9821:55:0;;;;;-1:-1:-1;;;9821:55:0;;;-1:-1:-1;;;;;9821:55:0;;;;;;;;9792:7;;9889:92;;-1:-1:-1;9940:29:0;;;;;;;;;9950:19;9940:29;-1:-1:-1;;;;;9940:29:0;;;;-1:-1:-1;;;9940:29:0;;-1:-1:-1;;;;;9940:29:0;;;;;9889:92;10030:23;;;;9993:21;;10501:5;;10018:35;;-1:-1:-1;;;;;10018:35:0;:9;:35;:::i;:::-;10017:57;;;;:::i;:::-;10095:16;;;-1:-1:-1;9993:81:0;;-1:-1:-1;;9706:429:0;;;;;;:::o;90978:917::-;25130:21;:19;:21::i;:::-;91063:14:::1;::::0;::::1;;91058:71;;91101:16;;-1:-1:-1::0;;;91101:16:0::1;;;;;;;;;;;91058:71;87121:4;91161:9:::0;91145:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;91145:13:::1;:25;;;;:::i;:::-;:38;91141:97;;;91207:19;;-1:-1:-1::0;;;91207:19:0::1;;;;;;;;;;;91141:97;87504:2;91254:28:::0;::::1;91250:86;;;91306:18;;-1:-1:-1::0;;;91306:18:0::1;;;;;;;;;;;91250:86;91376:12;::::0;91364:24:::1;::::0;:9;:24:::1;:::i;:::-;91352:9;:36;91348:96;;;91412:20;;-1:-1:-1::0;;;91412:20:0::1;;;;;;;;;;;91348:96;91460:20;::::0;::::1;::::0;::::1;;;91456:350;;;91501:17;::::0;87175:4:::1;::::0;91501:29:::1;::::0;91521:9;;91501:29:::1;:::i;:::-;:49;91497:113;;;91578:16;;-1:-1:-1::0;;;91578:16:0::1;;;;;;;;;;;91497:113;91456:350;;;87254:4;91646:89;;91681:9;91666:12;;91646:17;;:32;;;;:::i;:::-;:44;;;;:::i;:::-;:89;91642:153;;;91763:16;;-1:-1:-1::0;;;91763:16:0::1;;;;;;;;;;;91642:153;91839:9;91818:17;;:30;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;91859:28:0::1;::::0;-1:-1:-1;91865:10:0::1;91877:9:::0;91859:5:::1;:28::i;:::-;25174:20:::0;24465:1;25716:7;:21;25533:212;94013:112;2782:13;:11;:13::i;:::-;94092:14:::1;:25;94109:8:::0;;94092:14;:25:::1;:::i;90011:959::-:0;25130:21;:19;:21::i;:::-;90096:14:::1;::::0;::::1;;90091:71;;90134:16;;-1:-1:-1::0;;;90134:16:0::1;;;;;;;;;;;90091:71;90195:3:::0;90172:20:::1;90236:37;87455:1;90195:3:::0;90236:37:::1;:::i;:::-;90216:57:::0;-1:-1:-1;87121:4:0::1;90216:57:::0;90288:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;90288:13:::1;:28;;;;:::i;:::-;:41;90284:100;;;90353:19;;-1:-1:-1::0;;;90353:19:0::1;;;;;;;;;;;90284:100;90400:17;::::0;87308:3:::1;::::0;90400:32:::1;::::0;90420:12;;90400:32:::1;:::i;:::-;:52;90396:108;;;90476:16;;-1:-1:-1::0;;;90476:16:0::1;;;;;;;;;;;90396:108;90521:6;90516:359;90537:15;90533:1;:19;90516:359;;;90574:10;90587:3;;90591:1;90587:6;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;90612:26;::::0;;;:22:::1;:26:::0;;;;;;;;90587:6;;-1:-1:-1;;90612:26:0::1;;90608:88;;;90666:14;;-1:-1:-1::0;;;90666:14:0::1;;;;;;;;;;;90608:88;90714:20;::::0;:32:::1;::::0;-1:-1:-1;;;90714:32:0;;::::1;::::0;::::1;2540:25:1::0;;;90750:10:0::1;::::0;-1:-1:-1;;;;;90714:20:0::1;::::0;:28:::1;::::0;2513:18:1;;90714:32:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;90714:46:0::1;;90710:106;;90788:12;;-1:-1:-1::0;;;90788:12:0::1;;;;;;;;;;;90710:106;90830:26;::::0;;;:22:::1;:26;::::0;;;;:33;;-1:-1:-1;;90830:33:0::1;90859:4;90830:33;::::0;;90554:3;::::1;::::0;::::1;:::i;:::-;;;;90516:359;;;;90908:12;90887:17;;:33;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;90931:31:0::1;::::0;-1:-1:-1;90937:10:0::1;90949:12:::0;90931:5:::1;:31::i;:::-;90078:892;;25174:20:::0;24465:1;25716:7;:21;25533:212;94323:113;2782:13;:11;:13::i;:::-;94398:14:::1;:30:::0;;-1:-1:-1;;94398:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;94323:113::o;62778:193::-;62924:39;62941:4;62947:2;62951:7;62924:39;;;;;;;;;;;;:16;:39::i;95607:148::-;2782:13;:11;:13::i;:::-;95703:44:::1;95722:9;95733:13;95703:18;:44::i;49049:152::-:0;49121:7;49164:27;49183:7;49164:18;:27::i;88884:1119::-;25130:21;:19;:21::i;:::-;88961:14:::1;::::0;::::1;;88956:71;;88999:16;;-1:-1:-1::0;;;88999:16:0::1;;;;;;;;;;;88956:71;89060:3:::0;89085:30:::1;87403:1;89060:3:::0;89085:30:::1;:::i;:::-;:35:::0;89081:91:::1;;89144:16;;-1:-1:-1::0;;;89144:16:0::1;;;;;;;;;;;89081:91;89184:17;89204:30;87403:1;89204:15:::0;:30:::1;:::i;:::-;89184:50:::0;-1:-1:-1;87121:4:0::1;89184:50:::0;89251:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;89251:13:::1;:28;;;;:::i;:::-;:41;89247:100;;;89316:19;;-1:-1:-1::0;;;89316:19:0::1;;;;;;;;;;;89247:100;89361:20;::::0;::::1;::::0;::::1;;;89357:205;;87254:4;89400:92;;89435:12;89420;;89400:17;;:32;;;;:::i;:::-;:47;;;;:::i;:::-;:92;89397:154;;;89519:16;;-1:-1:-1::0;;;89519:16:0::1;;;;;;;;;;;89397:154;89579:6;89574:341;89595:15;89591:1;:19;89574:341;;;89632:10;89645:3;;89649:1;89645:6;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;::::1;;89670:20;::::0;;;:16:::1;:20:::0;;;;;;;;89645:6;;-1:-1:-1;;89670:20:0::1;;89666:82;;;89718:14;;-1:-1:-1::0;;;89718:14:0::1;;;;;;;;;;;89666:82;89766:14;::::0;:26:::1;::::0;-1:-1:-1;;;89766:26:0;;::::1;::::0;::::1;2540:25:1::0;;;89796:10:0::1;::::0;-1:-1:-1;;;;;89766:14:0::1;::::0;:22:::1;::::0;2513:18:1;;89766:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;89766:40:0::1;;89762:100;;89834:12;;-1:-1:-1::0;;;89834:12:0::1;;;;;;;;;;;89762:100;89876:20;::::0;;;:16:::1;:20;::::0;;;;:27;;-1:-1:-1;;89876:27:0::1;89899:4;89876:27;::::0;;89612:3;::::1;::::0;::::1;:::i;:::-;;;;89574:341;;;;89941:12;89925;;:28;;;;;;;:::i;44573:242::-:0;44645:7;-1:-1:-1;;;;;44669:19:0;;44665:69;;44690:44;-1:-1:-1;;;44690:7:0;:44::i;:::-;-1:-1:-1;;;;;;44752:25:0;;;;;:18;:25;;;;;;37333:13;44752:55;;44573:242::o;3571:103::-;2782:13;:11;:13::i;:::-;3636:30:::1;3663:1;3636:18;:30::i;:::-;3571:103::o:0;95176:102::-;2782:13;:11;:13::i;:::-;95246:15:::1;:24:::0;95176:102::o;47823:104::-;47879:13;47912:7;47905:14;;;;;:::i;55454:234::-;84844:10;55549:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55549:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55549:60:0;;;;;;;;;;55625:55;;540:41:1;;;55549:49:0;;84844:10;55625:55;;513:18:1;55625:55:0;;;;;;;55454:234;;:::o;93631:374::-;2782:13;:11;:13::i;:::-;87121:4:::1;93736:9:::0;93720:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;93720:13:::1;:25;;;;:::i;:::-;:38;93716:97;;;93782:19;;-1:-1:-1::0;;;93782:19:0::1;;;;;;;;;;;93716:97;93827:16;::::0;87356:3:::1;::::0;93827:28:::1;::::0;93846:9;;93827:28:::1;:::i;:::-;:43;93823:99;;;93894:16;;-1:-1:-1::0;;;93894:16:0::1;;;;;;;;;;;93823:99;93952:9;93932:16;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;93972:25:0::1;::::0;-1:-1:-1;93978:7:0;93987:9;93972:5:::1;:25::i;95286:86::-:0;2782:13;:11;:13::i;:::-;95350:6:::1;:14:::0;95286:86::o;63569:416::-;63744:31;63757:4;63763:2;63767:7;63744:12;:31::i;:::-;-1:-1:-1;;;;;63790:14:0;;;:19;63786:192;;63829:56;63860:4;63866:2;63870:7;63879:5;63829:30;:56::i;:::-;63824:154;;63906:56;-1:-1:-1;;;63906:7:0;:56::i;:::-;63569:416;;;;:::o;95503:96::-;2782:13;:11;:13::i;:::-;95563:20:::1;:28:::0;;-1:-1:-1;;95563:28:0::1;::::0;;95503:96::o;92995:628::-;2782:13;:11;:13::i;:::-;87121:4:::1;93098:9:::0;93082:13:::1;43293:12:::0;;42910:14;43277:13;:28;42849:573;;93082:13:::1;:25;;;;:::i;:::-;:38;93078:97;;;93144:19;;-1:-1:-1::0;;;93144:19:0::1;;;;;;;;;;;93078:97;93191:20;::::0;::::1;::::0;::::1;;;93187:350;;;93232:17;::::0;87175:4:::1;::::0;93232:29:::1;::::0;93252:9;;93232:29:::1;:::i;:::-;:49;93228:113;;;93309:16;;-1:-1:-1::0;;;93309:16:0::1;;;;;;;;;;;93228:113;93187:350;;;87254:4;93377:89;;93412:9;93397:12;;93377:17;;:32;;;;:::i;:::-;:44;;;;:::i;:::-;:89;93373:153;;;93494:16;;-1:-1:-1::0;;;93494:16:0::1;;;;;;;;;;;93373:153;93570:9;93549:17;;:30;;;;;;;:::i;95072:96::-:0;2782:13;:11;:13::i;:::-;95139:12:::1;:21:::0;95072:96::o;48033:327::-;48106:13;48137:16;48145:7;48137;:16::i;:::-;48132:68;;48155:45;-1:-1:-1;;;48155:7:0;:45::i;:::-;48213:21;48237:10;:8;:10::i;:::-;48213:34;;48271:7;48265:21;48290:1;48265:26;:87;;;;;;;;;;;;;;;;;48318:7;48327:18;48337:7;48327:9;:18::i;:::-;48301:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48265:87;48258:94;48033:327;-1:-1:-1;;;48033:327:0:o;94444:300::-;94517:29;94587:4;94569:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;94569:30:0;;;;;;;;;;;;;;;;94558:41;;94615:6;94610:127;94627:15;;;94610:127;;;94678:47;;;;;;;;94690:4;;94695:1;94690:7;;;;;;;:::i;:::-;;;;;;;94678:47;;;;94699:16;:25;94716:4;;94721:1;94716:7;;;;;;;:::i;:::-;;;;;;;;;;94699:25;;-1:-1:-1;94699:25:0;;;;;;;;-1:-1:-1;94699:25:0;;;;94678:47;;;;94664:11;;:8;;94673:1;;94664:11;;;;;;:::i;:::-;;;;;;:61;;;;94644:3;;;;;:::i;:::-;;;;94610:127;;;;94444:300;;;;:::o;94752:312::-;94831:29;94901:4;94883:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;94883:30:0;;;;;;;;;;;;;;;;94872:41;;94929:6;94924:133;94941:15;;;94924:133;;;94992:53;;;;;;;;95004:4;;95009:1;95004:7;;;;;;;:::i;:::-;;;;;;;94992:53;;;;95013:22;:31;95036:4;;95041:1;95036:7;;;;;;;:::i;:::-;;;;;;;;;;95013:31;;-1:-1:-1;95013:31:0;;;;;;;;-1:-1:-1;95013:31:0;;;;94992:53;;;;94978:11;;:8;;94987:1;;94978:11;;;;;;:::i;:::-;;;;;;:67;;;;94958:3;;;;;:::i;:::-;;;;94924:133;;55845:164;-1:-1:-1;;;;;55966:25:0;;;55942:4;55966:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55845:164::o;3829:220::-;2782:13;:11;:13::i;:::-;-1:-1:-1;;;;;3914:22:0;::::1;3910:93;;3960:31;::::0;-1:-1:-1;;;3960:31:0;;3988:1:::1;3960:31;::::0;::::1;1679:51:1::0;1652:18;;3960:31:0::1;1533:203:1::0;3910:93:0::1;4013:28;4032:8;4013:18;:28::i;46745:639::-:0;46830:4;-1:-1:-1;;;;;;;;;47154:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47231:25:0;;;47154:102;:179;;;-1:-1:-1;;;;;;;;47308:25:0;-1:-1:-1;;;47308:25:0;;46745:639::o;9436:215::-;9538:4;-1:-1:-1;;;;;;9562:41:0;;-1:-1:-1;;;9562:41:0;;:81;;-1:-1:-1;;;;;;;;;;7253:40:0;;;9607:36;7153:148;56267:475;56332:11;56524:13;;56514:7;:23;56510:214;;;56558:14;56591:60;-1:-1:-1;56608:26:0;;;;:17;:26;;;;;;;56598:42;;;56591:60;;56642:9;;;:::i;:::-;;;56591:60;;;-1:-1:-1;;;56679:24:0;:29;;-1:-1:-1;56510:214:0;56267:475;;;:::o;86776:165::-;86877:13;86871:4;86864:27;86918:4;86912;86905:18;78191:474;78320:13;78336:16;78344:7;78336;:16::i;:::-;78320:32;;78369:13;:45;;;;-1:-1:-1;84844:10:0;-1:-1:-1;;;;;78386:28:0;;;;78369:45;78365:201;;;78434:44;78451:5;84844:10;55845:164;:::i;78434:44::-;78429:137;;78499:51;-1:-1:-1;;;78499:7:0;:51::i;:::-;78578:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;78578:35:0;-1:-1:-1;;;;;78578:35:0;;;;;;;;;78629:28;;78578:24;;78629:28;;;;;;;78309:356;78191:474;;;:::o;50534:2213::-;50684:26;;;;:17;:26;;;;;;51011:6;51021:1;51011:11;51007:1292;;51058:13;;51047:7;:24;51043:77;;51073:47;-1:-1:-1;;;51073:7:0;:47::i;:::-;51677:607;-1:-1:-1;;;51773:9:0;51755:28;;;;:17;:28;;;;;;51829:25;;51677:607;51829:25;-1:-1:-1;;;51881:6:0;:24;51909:1;51881:29;51877:48;;50534:2213;;;:::o;51877:48::-;52217:47;-1:-1:-1;;;52217:7:0;:47::i;:::-;51677:607;;51007:1292;-1:-1:-1;;;52626:6:0;:24;52654:1;52626:29;52622:48;;50534:2213;;;:::o;52622:48::-;52692:47;-1:-1:-1;;;52692:7:0;:47::i;3061:166::-;2969:6;;-1:-1:-1;;;;;2969:6:0;84844:10;3121:23;3117:103;;3168:40;;-1:-1:-1;;;3168:40:0;;84844:10;3168:40;;;1679:51:1;1652:18;;3168:40:0;1533:203:1;25210:315:0;24508:1;25339:7;;:18;25335:88;;25381:30;;-1:-1:-1;;;25381:30:0;;;;;;;;;;;25335:88;24508:1;25500:7;:17;25210:315::o;13933:156::-;14024:4;14077;14048:25;14061:5;14068:4;14048:12;:25::i;:::-;:33;;13933:156;-1:-1:-1;;;;13933:156:0:o;67222:2399::-;67295:20;67318:13;;;67346;;;67342:53;;67361:34;-1:-1:-1;;;67361:7:0;:34::i;:::-;67908:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;53532:28:0;;53706:11;53681:23;53677:41;54150:1;54137:15;;54111:24;54107:46;53674:52;53664:63;;67908:173;;;68299:22;;;:18;:22;;;;;:71;;68337:32;68325:45;;68299:71;;;53532:28;68560:13;;;68556:54;;68575:35;-1:-1:-1;;;68575:7:0;:35::i;:::-;68641:23;;;;68820:676;69239:7;69195:8;69150:1;69084:25;69021:1;68956;68925:358;69491:3;69478:9;;;;;;:16;68820:676;;-1:-1:-1;69512:13:0;:19;-1:-1:-1;91903:1084:0;;;:::o;10785:518::-;10501:5;-1:-1:-1;;;;;10934:26:0;;;-1:-1:-1;10930:176:0;;;11039:55;;-1:-1:-1;;;11039:55:0;;-1:-1:-1;;;;;15560:39:1;;11039:55:0;;;15542:58:1;15616:18;;;15609:34;;;15515:18;;11039:55:0;15369:280:1;10930:176:0;-1:-1:-1;;;;;11120:22:0;;11116:110;;11166:48;;-1:-1:-1;;;11166:48:0;;11211:1;11166:48;;;1679:51:1;1652:18;;11166:48:0;1533:203:1;11116:110:0;-1:-1:-1;11260:35:0;;;;;;;;;-1:-1:-1;;;;;11260:35:0;;;;;;-1:-1:-1;;;;;11260:35:0;;;;;;;;;;-1:-1:-1;;;11238:57:0;;;;:19;:57;10785:518::o;4209:191::-;4302:6;;;-1:-1:-1;;;;;4319:17:0;;;-1:-1:-1;;;;;;4319:17:0;;;;;;;4352:40;;4302:6;;;4319:17;4302:6;;4352:40;;4283:16;;4352:40;4272:128;4209:191;:::o;66069:691::-;66253:88;;-1:-1:-1;;;66253:88:0;;66232:4;;-1:-1:-1;;;;;66253:45:0;;;;;:88;;84844:10;;66320:4;;66326:7;;66335:5;;66253:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66253:88:0;;;;;;;;-1:-1:-1;;66253:88:0;;;;;;;;;;;;:::i;:::-;;;66249:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66536:6;:13;66553:1;66536:18;66532:115;;66575:56;-1:-1:-1;;;66575:7:0;:56::i;:::-;66719:6;66713:13;66704:6;66700:2;66696:15;66689:38;66249:504;-1:-1:-1;;;;;;66412:64:0;-1:-1:-1;;;66412:64:0;;-1:-1:-1;66069:691:0;;;;;;:::o;95380:115::-;95440:13;95473:14;95466:21;;;;;:::i;84964:1745::-;85029:17;85463:4;85456;85450:11;85446:22;85555:1;85549:4;85542:15;85630:4;85627:1;85623:12;85616:19;;;85712:1;85707:3;85700:14;85816:3;86055:5;86037:428;86103:1;86098:3;86094:11;86087:18;;86274:2;86268:4;86264:13;86260:2;86256:22;86251:3;86243:36;86368:2;86358:13;;86425:25;86037:428;86425:25;-1:-1:-1;86495:13:0;;;-1:-1:-1;;86610:14:0;;;86672:19;;;86610:14;84964:1745;-1:-1:-1;84964:1745:0:o;14652:296::-;14735:7;14778:4;14735:7;14793:118;14817:5;:12;14813:1;:16;14793:118;;;14866:33;14876:12;14890:5;14896:1;14890:8;;;;;;;;:::i;:::-;;;;;;;14866:9;:33::i;:::-;14851:48;-1:-1:-1;14831:3:0;;;;:::i;:::-;;;;14793:118;;;-1:-1:-1;14928:12:0;14652:296;-1:-1:-1;;;14652:296:0:o;22082:149::-;22145:7;22176:1;22172;:5;:51;;22424:13;22518:15;;;22554:4;22547:15;;;22601:4;22585:21;;22172:51;;;-1:-1:-1;22424:13:0;22518:15;;;22554:4;22547:15;22601:4;22585:21;;;22082:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:131::-;-1:-1:-1;;;;;1816:31:1;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:1:o;2576:456::-;2653:6;2661;2669;2722:2;2710:9;2701:7;2697:23;2693:32;2690:52;;;2738:1;2735;2728:12;2690:52;2777:9;2764:23;2796:31;2821:5;2796:31;:::i;:::-;2846:5;-1:-1:-1;2903:2:1;2888:18;;2875:32;2916:33;2875:32;2916:33;:::i;:::-;2576:456;;2968:7;;-1:-1:-1;;;3022:2:1;3007:18;;;;2994:32;;2576:456::o;3037:367::-;3100:8;3110:6;3164:3;3157:4;3149:6;3145:17;3141:27;3131:55;;3182:1;3179;3172:12;3131:55;-1:-1:-1;3205:20:1;;3248:18;3237:30;;3234:50;;;3280:1;3277;3270:12;3234:50;3317:4;3309:6;3305:17;3293:29;;3377:3;3370:4;3360:6;3357:1;3353:14;3345:6;3341:27;3337:38;3334:47;3331:67;;;3394:1;3391;3384:12;3409:505;3504:6;3512;3520;3573:2;3561:9;3552:7;3548:23;3544:32;3541:52;;;3589:1;3586;3579:12;3541:52;3629:9;3616:23;3662:18;3654:6;3651:30;3648:50;;;3694:1;3691;3684:12;3648:50;3733:70;3795:7;3786:6;3775:9;3771:22;3733:70;:::i;:::-;3822:8;;3707:96;;-1:-1:-1;3904:2:1;3889:18;;;;3876:32;;3409:505;-1:-1:-1;;;;3409:505:1:o;3919:248::-;3987:6;3995;4048:2;4036:9;4027:7;4023:23;4019:32;4016:52;;;4064:1;4061;4054:12;4016:52;-1:-1:-1;;4087:23:1;;;4157:2;4142:18;;;4129:32;;-1:-1:-1;3919:248:1:o;4451:592::-;4522:6;4530;4583:2;4571:9;4562:7;4558:23;4554:32;4551:52;;;4599:1;4596;4589:12;4551:52;4639:9;4626:23;4668:18;4709:2;4701:6;4698:14;4695:34;;;4725:1;4722;4715:12;4695:34;4763:6;4752:9;4748:22;4738:32;;4808:7;4801:4;4797:2;4793:13;4789:27;4779:55;;4830:1;4827;4820:12;4779:55;4870:2;4857:16;4896:2;4888:6;4885:14;4882:34;;;4912:1;4909;4902:12;4882:34;4957:7;4952:2;4943:6;4939:2;4935:15;4931:24;4928:37;4925:57;;;4978:1;4975;4968:12;4925:57;5009:2;5001:11;;;;;5031:6;;-1:-1:-1;4451:592:1;;-1:-1:-1;;;;4451:592:1:o;5048:437::-;5134:6;5142;5195:2;5183:9;5174:7;5170:23;5166:32;5163:52;;;5211:1;5208;5201:12;5163:52;5251:9;5238:23;5284:18;5276:6;5273:30;5270:50;;;5316:1;5313;5306:12;5270:50;5355:70;5417:7;5408:6;5397:9;5393:22;5355:70;:::i;:::-;5444:8;;5329:96;;-1:-1:-1;5048:437:1;-1:-1:-1;;;;5048:437:1:o;5490:160::-;5555:20;;5611:13;;5604:21;5594:32;;5584:60;;5640:1;5637;5630:12;5655:180;5711:6;5764:2;5752:9;5743:7;5739:23;5735:32;5732:52;;;5780:1;5777;5770:12;5732:52;5803:26;5819:9;5803:26;:::i;5840:435::-;5907:6;5915;5968:2;5956:9;5947:7;5943:23;5939:32;5936:52;;;5984:1;5981;5974:12;5936:52;6023:9;6010:23;6042:31;6067:5;6042:31;:::i;:::-;6092:5;-1:-1:-1;6149:2:1;6134:18;;6121:32;-1:-1:-1;;;;;6184:40:1;;6172:53;;6162:81;;6239:1;6236;6229:12;6162:81;6262:7;6252:17;;;5840:435;;;;;:::o;6469:247::-;6528:6;6581:2;6569:9;6560:7;6556:23;6552:32;6549:52;;;6597:1;6594;6587:12;6549:52;6636:9;6623:23;6655:31;6680:5;6655:31;:::i;6721:315::-;6786:6;6794;6847:2;6835:9;6826:7;6822:23;6818:32;6815:52;;;6863:1;6860;6853:12;6815:52;6902:9;6889:23;6921:31;6946:5;6921:31;:::i;:::-;6971:5;-1:-1:-1;6995:35:1;7026:2;7011:18;;6995:35;:::i;:::-;6985:45;;6721:315;;;;;:::o;7041:::-;7109:6;7117;7170:2;7158:9;7149:7;7145:23;7141:32;7138:52;;;7186:1;7183;7176:12;7138:52;7222:9;7209:23;7199:33;;7282:2;7271:9;7267:18;7254:32;7295:31;7320:5;7295:31;:::i;7546:127::-;7607:10;7602:3;7598:20;7595:1;7588:31;7638:4;7635:1;7628:15;7662:4;7659:1;7652:15;7678:1266;7773:6;7781;7789;7797;7850:3;7838:9;7829:7;7825:23;7821:33;7818:53;;;7867:1;7864;7857:12;7818:53;7906:9;7893:23;7925:31;7950:5;7925:31;:::i;:::-;7975:5;-1:-1:-1;8032:2:1;8017:18;;8004:32;8045:33;8004:32;8045:33;:::i;:::-;8097:7;-1:-1:-1;8151:2:1;8136:18;;8123:32;;-1:-1:-1;8206:2:1;8191:18;;8178:32;8229:18;8259:14;;;8256:34;;;8286:1;8283;8276:12;8256:34;8324:6;8313:9;8309:22;8299:32;;8369:7;8362:4;8358:2;8354:13;8350:27;8340:55;;8391:1;8388;8381:12;8340:55;8427:2;8414:16;8449:2;8445;8442:10;8439:36;;;8455:18;;:::i;:::-;8530:2;8524:9;8498:2;8584:13;;-1:-1:-1;;8580:22:1;;;8604:2;8576:31;8572:40;8560:53;;;8628:18;;;8648:22;;;8625:46;8622:72;;;8674:18;;:::i;:::-;8714:10;8710:2;8703:22;8749:2;8741:6;8734:18;8789:7;8784:2;8779;8775;8771:11;8767:20;8764:33;8761:53;;;8810:1;8807;8800:12;8761:53;8866:2;8861;8857;8853:11;8848:2;8840:6;8836:15;8823:46;8911:1;8906:2;8901;8893:6;8889:15;8885:24;8878:35;8932:6;8922:16;;;;;;;7678:1266;;;;;;;:::o;8949:812::-;9178:2;9230:21;;;9300:13;;9203:18;;;9322:22;;;9149:4;;9178:2;9363;;9381:18;;;;9422:15;;;9149:4;9465:270;9479:6;9476:1;9473:13;9465:270;;;9538:13;;9576:9;;9564:22;;9640:11;;9634:18;9627:26;9620:34;9606:12;;;9599:56;9675:12;;;;9710:15;;;;9501:1;9494:9;9465:270;;;-1:-1:-1;9752:3:1;;8949:812;-1:-1:-1;;;;;;;8949:812:1:o;9766:388::-;9834:6;9842;9895:2;9883:9;9874:7;9870:23;9866:32;9863:52;;;9911:1;9908;9901:12;9863:52;9950:9;9937:23;9969:31;9994:5;9969:31;:::i;:::-;10019:5;-1:-1:-1;10076:2:1;10061:18;;10048:32;10089:33;10048:32;10089:33;:::i;10159:380::-;10238:1;10234:12;;;;10281;;;10302:61;;10356:4;10348:6;10344:17;10334:27;;10302:61;10409:2;10401:6;10398:14;10378:18;10375:38;10372:161;;10455:10;10450:3;10446:20;10443:1;10436:31;10490:4;10487:1;10480:15;10518:4;10515:1;10508:15;10372:161;;10159:380;;;:::o;11098:127::-;11159:10;11154:3;11150:20;11147:1;11140:31;11190:4;11187:1;11180:15;11214:4;11211:1;11204:15;11230:125;11295:9;;;11316:10;;;11313:36;;;11329:18;;:::i;11594:168::-;11667:9;;;11698;;11715:15;;;11709:22;;11695:37;11685:71;;11736:18;;:::i;11767:127::-;11828:10;11823:3;11819:20;11816:1;11809:31;11859:4;11856:1;11849:15;11883:4;11880:1;11873:15;11899:120;11939:1;11965;11955:35;;11970:18;;:::i;:::-;-1:-1:-1;12004:9:1;;11899:120::o;12150:545::-;12252:2;12247:3;12244:11;12241:448;;;12288:1;12313:5;12309:2;12302:17;12358:4;12354:2;12344:19;12428:2;12416:10;12412:19;12409:1;12405:27;12399:4;12395:38;12464:4;12452:10;12449:20;12446:47;;;-1:-1:-1;12487:4:1;12446:47;12542:2;12537:3;12533:12;12530:1;12526:20;12520:4;12516:31;12506:41;;12597:82;12615:2;12608:5;12605:13;12597:82;;;12660:17;;;12641:1;12630:13;12597:82;;;12601:3;;;12150:545;;;:::o;12871:1206::-;12995:18;12990:3;12987:27;12984:53;;;13017:18;;:::i;:::-;13046:94;13136:3;13096:38;13128:4;13122:11;13096:38;:::i;:::-;13090:4;13046:94;:::i;:::-;13166:1;13191:2;13186:3;13183:11;13208:1;13203:616;;;;13863:1;13880:3;13877:93;;;-1:-1:-1;13936:19:1;;;13923:33;13877:93;-1:-1:-1;;12828:1:1;12824:11;;;12820:24;12816:29;12806:40;12852:1;12848:11;;;12803:57;13983:78;;13176:895;;13203:616;12097:1;12090:14;;;12134:4;12121:18;;-1:-1:-1;;13239:17:1;;;13340:9;13362:229;13376:7;13373:1;13370:14;13362:229;;;13465:19;;;13452:33;13437:49;;13572:4;13557:20;;;;13525:1;13513:14;;;;13392:12;13362:229;;;13366:3;13619;13610:7;13607:16;13604:159;;;13743:1;13739:6;13733:3;13727;13724:1;13720:11;13716:21;13712:34;13708:39;13695:9;13690:3;13686:19;13673:33;13669:79;13661:6;13654:95;13604:159;;;13806:1;13800:3;13797:1;13793:11;13789:19;13783:4;13776:33;13176:895;;;12871:1206;;;:::o;14082:127::-;14143:10;14138:3;14134:20;14131:1;14124:31;14174:4;14171:1;14164:15;14198:4;14195:1;14188:15;14214:251;14284:6;14337:2;14325:9;14316:7;14312:23;14308:32;14305:52;;;14353:1;14350;14343:12;14305:52;14385:9;14379:16;14404:31;14429:5;14404:31;:::i;14470:135::-;14509:3;14530:17;;;14527:43;;14550:18;;:::i;:::-;-1:-1:-1;14597:1:1;14586:13;;14470:135::o;14610:112::-;14642:1;14668;14658:35;;14673:18;;:::i;:::-;-1:-1:-1;14707:9:1;;14610:112::o;14727:496::-;14906:3;14944:6;14938:13;14960:66;15019:6;15014:3;15007:4;14999:6;14995:17;14960:66;:::i;:::-;15089:13;;15048:16;;;;15111:70;15089:13;15048:16;15158:4;15146:17;;15111:70;:::i;:::-;15197:20;;14727:496;-1:-1:-1;;;;14727:496:1:o;15228:136::-;15267:3;15295:5;15285:39;;15304:18;;:::i;:::-;-1:-1:-1;;;15340:18:1;;15228:136::o;15654:489::-;-1:-1:-1;;;;;15923:15:1;;;15905:34;;15975:15;;15970:2;15955:18;;15948:43;16022:2;16007:18;;16000:34;;;16070:3;16065:2;16050:18;;16043:31;;;15848:4;;16091:46;;16117:19;;16109:6;16091:46;:::i;:::-;16083:54;15654:489;-1:-1:-1;;;;;;15654:489:1:o;16148:249::-;16217:6;16270:2;16258:9;16249:7;16245:23;16241:32;16238:52;;;16286:1;16283;16276:12;16238:52;16318:9;16312:16;16337:30;16361:5;16337:30;:::i

Swarm Source

ipfs://25aeeaca5be9008137fcdb77fcb23c6ca0a276b2c56f21e170d2576d949e36cc

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.