APE Price: $1.12 (+0.02%)

Contract

0x44D63563B8fd121fF16aefdbC2cD94F40fa99628

Overview

APE Balance

Apechain LogoApechain LogoApechain Logo0 APE

APE Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6080604047358682024-11-20 4:24:239 hrs ago1732076663IN
 Create: BALL
0 APE0.0468457825.42069

Parent Transaction Hash Block From To
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BALL

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 7 : BALL.sol
//SPDX-License-Identifier:MIT

pragma solidity ^0.8.28;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract BALL is ERC721A, Ownable 
{

    bool public isTradingEnabled;
    bool public whitelistMintState;
    bool public publicMintState;
    uint256 public maxSupply;
    uint256 public whitelistMintPrice;
    uint256 public publicMintPrice;
    uint256 public teamMintAmount;
    bytes32 public merkleRoot;
    string public baseURI;

    constructor 
    ( 
        bool newTradingState,
        bool newWhitelistMintState,
        bool newPublicMintState,
        uint256 newMaxSupply,
        uint256 newWhitelistMintPrice,
        uint256 newPublicMintPrice,
        uint256 newTeamMintAmount,
        bytes32 newMerkleRoot,
        string memory newBaseURI
    ) 
        ERC721A ( "BALL", "BLL" ) 
        Ownable ( msg.sender ) 
    {
        setTradingState ( newTradingState );
        setWhitelistMintState ( newWhitelistMintState );
        setPublicMintState ( newPublicMintState );
        setMaxSupply ( newMaxSupply );
        setWhitelistMintPrice ( newWhitelistMintPrice );
        setPublicMintPrice ( newPublicMintPrice );
        setTeamMintAmount ( newTeamMintAmount );
        setMerkleRoot ( newMerkleRoot );
        setBaseURI ( newBaseURI );
    }

    modifier globalMintCompliance 
    ( 
        uint256 quantity 
    ) 
    {
        require 
        ( 
            totalSupply() + quantity <= maxSupply, 
            "Attempted mint amount exceeds total supply!" 
        );
        _;
    }

    modifier whitelistMintCompliance 
    ( 
        uint256 quantity, 
        bytes32 [] calldata merkleProof,
        address walletAddress
    ) 
    {
        require 
        ( 
            whitelistMintState, 
            "Whitelist mint phase has not started yet!"
        );
        require 
        (
            isWhitelisted ( merkleProof, walletAddress ),
            "You are not whitelisted!"
        );
        require 
        ( 
            quantity + balanceOf( msg.sender ) <= 2, 
            "Maximum whitelist mint limit per user is 2!" 
        );
        require 
        ( 
            msg.value >= quantity * whitelistMintPrice, 
            "Insufficient funds!"
        );        
        _;
    }

    modifier publicMintCompliance 
    ( 
        uint256 quantity 
    ) 
    {
        require 
        ( 
            publicMintState, 
            "Public mint phase has not started yet!" 
        );
        require 
        ( 
            quantity + balanceOf( msg.sender ) <= 5, 
            "Maximum mint limit per user is 5!" 
        );
        require 
        ( 
            msg.value >= quantity * publicMintPrice,
            "Insufficient funds!" 
        );
        _;
    }

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

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

    function _beforeTokenTransfers 
    ( 
        address from, 
        address to, 
        uint256 startTokenId, 
        uint256 quantity 
    ) 
        internal override 
    {
        if ( from == address( 0 ) )
        {
            return;
        }
        require 
        ( 
            isTradingEnabled, 
            "Trading is currently disabled"
        );
        super._beforeTokenTransfers ( from, to, startTokenId, quantity );
    }

    function isWhitelisted 
    ( 
        bytes32 [] calldata merkleProof,
        address walletAddress
    )
        public view returns ( bool )
    {
        bytes32 merkleLeaf = keccak256( abi.encodePacked( walletAddress ) );
        return MerkleProof.verify ( merkleProof, merkleRoot, merkleLeaf );
    }

    function setMerkleRoot 
    (
        bytes32 newMerkleRoot 
    )
        public onlyOwner
    {
        merkleRoot = newMerkleRoot;
    }

    function setTradingState 
    ( 
        bool newTradingState 
    ) 
        public onlyOwner 
    {
        isTradingEnabled = newTradingState;
    }

    function setMaxSupply 
    ( 
        uint256 newMaxSupply 
    ) 
        public onlyOwner
    {
        maxSupply = newMaxSupply;
    }

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

    function setTeamMintAmount 
    ( 
        uint256 newTeamMintAmount 
    ) 
        public onlyOwner
    {
        teamMintAmount = newTeamMintAmount;
    }

    function setWhitelistMintState 
    ( 
        bool newWhitelistMintState 
    ) 
        public onlyOwner
    {
        whitelistMintState = newWhitelistMintState;
    }

    function setWhitelistMintPrice 
    ( 
        uint256 newWhitelistMintPrice 
    ) 
        public onlyOwner 
    {
        whitelistMintPrice = newWhitelistMintPrice;
    }

    function setPublicMintState 
    ( 
        bool newPublicMintState 
    ) 
        public onlyOwner 
    {
        publicMintState = newPublicMintState;
    }

    function setPublicMintPrice 
    ( 
        uint256 newPublicMintPrice 
    ) 
        public onlyOwner
    {
        publicMintPrice = newPublicMintPrice;
    }

    function whitelistMint 
    (
        uint256 quantity, 
        bytes32 [] calldata merkleProof,
        address walletAddress
    ) 
        globalMintCompliance ( quantity )
        whitelistMintCompliance ( quantity, merkleProof, walletAddress )
        external payable 
    {
        _mint ( msg.sender, quantity );
    }

    function publicMint 
    (
        uint256 quantity 
    ) 
        globalMintCompliance ( quantity )
        publicMintCompliance ( quantity )
        external payable 
    {
        _mint ( msg.sender, quantity );
    }

    function teamMint 
    (
    ) 
        external onlyOwner 
    {
        _mint ( msg.sender, teamMintAmount );
    }

    function withdraw 
    (
    ) 
        external onlyOwner 
    {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require ( success, "Withdrawal failed." ); 
    }

}

File 2 of 7 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/MerkleProof.sol)
// This file was procedurally generated from scripts/generate/templates/MerkleProof.js.

pragma solidity ^0.8.20;

import {Hashes} from "./Hashes.sol";

/**
 * @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.
 *
 * IMPORTANT: Consider memory side-effects when using custom hashing functions
 * that access memory in an unsafe way.
 *
 * NOTE: This library supports proof verification for merkle trees built using
 * custom _commutative_ hashing functions (i.e. `H(a, b) == H(b, a)`). Proving
 * leaf inclusion in trees built using non-commutative hashing functions requires
 * additional logic that is not supported by this library.
 */
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.
     *
     * This version handles proofs in memory with the default hashing function.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(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 leaves & pre-images are assumed to be sorted.
     *
     * This version handles proofs in memory with the default hashing function.
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @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.
     *
     * This version handles proofs in memory with a custom hashing function.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bool) {
        return processProof(proof, leaf, hasher) == 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 leaves & pre-images are assumed to be sorted.
     *
     * This version handles proofs in memory with a custom hashing function.
     */
    function processProof(
        bytes32[] memory proof,
        bytes32 leaf,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = hasher(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @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.
     *
     * This version handles proofs in calldata with the default hashing function.
     */
    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 leaves & pre-images are assumed to be sorted.
     *
     * This version handles proofs in calldata with the default hashing function.
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = Hashes.commutativeKeccak256(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @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.
     *
     * This version handles proofs in calldata with a custom hashing function.
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bool) {
        return processProofCalldata(proof, leaf, hasher) == 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 leaves & pre-images are assumed to be sorted.
     *
     * This version handles proofs in calldata with a custom hashing function.
     */
    function processProofCalldata(
        bytes32[] calldata proof,
        bytes32 leaf,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = hasher(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}.
     *
     * This version handles multiproofs in memory with the default hashing function.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
     * The `leaves` must be validated independently. See {processMultiProof}.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(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.
     *
     * This version handles multiproofs in memory with the default hashing function.
     *
     * 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).
     *
     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
     * validating the leaves elsewhere.
     */
    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 proofFlagsLen = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proof.length != proofFlagsLen + 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[](proofFlagsLen);
        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 < proofFlagsLen; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = Hashes.commutativeKeccak256(a, b);
        }

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

    /**
     * @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}.
     *
     * This version handles multiproofs in memory with a custom hashing function.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
     * The `leaves` must be validated independently. See {processMultiProof}.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bool) {
        return processMultiProof(proof, proofFlags, leaves, hasher) == 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.
     *
     * This version handles multiproofs in memory with a custom hashing function.
     *
     * 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).
     *
     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
     * validating the leaves elsewhere.
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view 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 proofFlagsLen = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proof.length != proofFlagsLen + 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[](proofFlagsLen);
        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 < proofFlagsLen; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = hasher(a, b);
        }

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

    /**
     * @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}.
     *
     * This version handles multiproofs in calldata with the default hashing function.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
     * The `leaves` must be validated independently. See {processMultiProofCalldata}.
     */
    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.
     *
     * This version handles multiproofs in calldata with the default hashing function.
     *
     * 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).
     *
     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
     * validating the leaves elsewhere.
     */
    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 proofFlagsLen = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proof.length != proofFlagsLen + 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[](proofFlagsLen);
        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 < proofFlagsLen; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = Hashes.commutativeKeccak256(a, b);
        }

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

    /**
     * @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}.
     *
     * This version handles multiproofs in calldata with a custom hashing function.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * NOTE: Consider the case where `root == proof[0] && leaves.length == 0` as it will return `true`.
     * The `leaves` must be validated independently. See {processMultiProofCalldata}.
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves, hasher) == 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.
     *
     * This version handles multiproofs in calldata with a custom hashing function.
     *
     * 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).
     *
     * NOTE: The _empty set_ (i.e. the case where `proof.length == 1 && leaves.length == 0`) is considered a no-op,
     * and therefore a valid multiproof (i.e. it returns `proof[0]`). Consider disallowing this case if you're not
     * validating the leaves elsewhere.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves,
        function(bytes32, bytes32) view returns (bytes32) hasher
    ) internal view 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 proofFlagsLen = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proof.length != proofFlagsLen + 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[](proofFlagsLen);
        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 < proofFlagsLen; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = hasher(a, b);
        }

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * 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 5 of 7 : IERC721A.sol
// 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 6 of 7 : Hashes.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/Hashes.sol)

pragma solidity ^0.8.20;

/**
 * @dev Library of standard hash functions.
 *
 * _Available since v5.1._
 */
library Hashes {
    /**
     * @dev Commutative Keccak256 hash of a sorted pair of bytes32. Frequently used when working with merkle proofs.
     *
     * NOTE: Equivalent to the `standardNodeHash` in our https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
     */
    function commutativeKeccak256(bytes32 a, bytes32 b) internal pure returns (bytes32) {
        return a < b ? _efficientKeccak256(a, b) : _efficientKeccak256(b, a);
    }

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

File 7 of 7 : Context.sol
// 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bool","name":"newTradingState","type":"bool"},{"internalType":"bool","name":"newWhitelistMintState","type":"bool"},{"internalType":"bool","name":"newPublicMintState","type":"bool"},{"internalType":"uint256","name":"newMaxSupply","type":"uint256"},{"internalType":"uint256","name":"newWhitelistMintPrice","type":"uint256"},{"internalType":"uint256","name":"newPublicMintPrice","type":"uint256"},{"internalType":"uint256","name":"newTeamMintAmount","type":"uint256"},{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"},{"internalType":"string","name":"newBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","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":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicMintPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newPublicMintState","type":"bool"}],"name":"setPublicMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTeamMintAmount","type":"uint256"}],"name":"setTeamMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newTradingState","type":"bool"}],"name":"setTradingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newWhitelistMintPrice","type":"uint256"}],"name":"setWhitelistMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newWhitelistMintState","type":"bool"}],"name":"setWhitelistMintState","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":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f5ffd5b5060405161218a38038061218a83398101604081905261002e91610295565b33604051806040016040528060048152602001631090531360e21b8152506040518060400160405280600381526020016210931360ea1b8152508160029081610077919061043b565b506003610084828261043b565b5060015f5550506001600160a01b0381166100b957604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c281610122565b506100cc89610173565b6100d588610199565b6100de876101bf565b6100e7866101e5565b6100f0856101f2565b6100f9846101ff565b6101028361020c565b61010b82610219565b61011481610226565b5050505050505050506104f5565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61017b61023e565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6101a161023e565b60098054911515600160a81b0260ff60a81b19909216919091179055565b6101c761023e565b60098054911515600160b01b0260ff60b01b19909216919091179055565b6101ed61023e565b600a55565b6101fa61023e565b600b55565b61020761023e565b600c55565b61021461023e565b600d55565b61022161023e565b600e55565b61022e61023e565b600f61023a828261043b565b5050565b6009546001600160a01b0316331461026b5760405163118cdaa760e01b81523360048201526024016100b0565b565b8051801515811461027c575f5ffd5b919050565b634e487b7160e01b5f52604160045260245ffd5b5f5f5f5f5f5f5f5f5f6101208a8c0312156102ae575f5ffd5b6102b78a61026d565b98506102c560208b0161026d565b97506102d360408b0161026d565b96505f60608b01519050809650505f60808b01519050809550505f60a08b01519050809450505f60c08b015190508093505060e08a015191506101008a015160018060401b03811115610324575f5ffd5b8a01601f81018c13610334575f5ffd5b80516001600160401b0381111561034d5761034d610281565b604051601f8201601f19908116603f011681016001600160401b038111828210171561037b5761037b610281565b6040528181528282016020018e1015610392575f5ffd5b8160208401602083015e5f602083830101528093505050509295985092959850929598565b600181811c908216806103cb57607f821691505b6020821081036103e957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561043657805f5260205f20601f840160051c810160208510156104145750805b601f840160051c820191505b81811015610433575f8155600101610420565b50505b505050565b81516001600160401b0381111561045457610454610281565b6104688161046284546103b7565b846103ef565b6020601f82116001811461049a575f83156104835750848201515b5f19600385901b1c1916600184901b178455610433565b5f84815260208120601f198516915b828110156104c957878501518255602094850194600190920191016104a9565b50848210156104e657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611c88806105025f395ff3fe608060405260043610610233575f3560e01c80637cb6475911610129578063ba7a86b8116100a8578063d5ccb8ee1161006d578063d5ccb8ee14610609578063dc53fd9214610628578063debefaa61461063d578063e985e9c51461065c578063f2fde38b1461067b575f5ffd5b8063ba7a86b814610583578063c6a768f414610597578063c87b56dd146105b6578063cdc449e0146105d5578063d5abeb01146105f4575f5ffd5b80639a336fee116100ee5780639a336fee1461050a578063a22cb4651461051d578063a611708e1461053c578063b4bc159a1461055b578063b88d4fde14610570575f5ffd5b80637cb647591461047b578063879fbedf1461049a5780638da5cb5b146104b9578063922400ff146104d657806395d89b41146104f6575f5ffd5b806335c6aaf8116101b55780636352211e1161017a5780636352211e146103f65780636c0360eb146104155780636f8b44b01461042957806370a0823114610448578063715018a614610467575f5ffd5b806335c6aaf81461037c5780633ccfd60b1461039157806342842e0e146103a557806355f804b3146103b85780635d82cf6e146103d7575f5ffd5b806318160ddd116101fb57806318160ddd146102f857806322ab47a11461032157806323b872dd146103415780632db11544146103545780632eb4a7ab14610367575f5ffd5b806301ffc9a714610237578063064a59d01461026b57806306fdde031461028b578063081812fc146102ac578063095ea7b3146102e3575b5f5ffd5b348015610242575f5ffd5b50610256610251366004611623565b61069a565b60405190151581526020015b60405180910390f35b348015610276575f5ffd5b5060095461025690600160a01b900460ff1681565b348015610296575f5ffd5b5061029f6106eb565b604051610262919061166c565b3480156102b7575f5ffd5b506102cb6102c636600461167e565b61077b565b6040516001600160a01b039091168152602001610262565b6102f66102f13660046116ab565b6107b4565b005b348015610303575f5ffd5b506103136001545f54035f190190565b604051908152602001610262565b34801561032c575f5ffd5b5060095461025690600160b01b900460ff1681565b6102f661034f3660046116d3565b6107c4565b6102f661036236600461167e565b61092b565b348015610372575f5ffd5b50610313600e5481565b348015610387575f5ffd5b50610313600b5481565b34801561039c575f5ffd5b506102f6610aa8565b6102f66103b33660046116d3565b610b3d565b3480156103c3575f5ffd5b506102f66103d2366004611798565b610b57565b3480156103e2575f5ffd5b506102f66103f136600461167e565b610b6b565b348015610401575f5ffd5b506102cb61041036600461167e565b610b78565b348015610420575f5ffd5b5061029f610b82565b348015610434575f5ffd5b506102f661044336600461167e565b610c0e565b348015610453575f5ffd5b506103136104623660046117dd565b610c1b565b348015610472575f5ffd5b506102f6610c5f565b348015610486575f5ffd5b506102f661049536600461167e565b610c72565b3480156104a5575f5ffd5b506102f66104b4366004611805565b610c7f565b3480156104c4575f5ffd5b506009546001600160a01b03166102cb565b3480156104e1575f5ffd5b5060095461025690600160a81b900460ff1681565b348015610501575f5ffd5b5061029f610ca5565b6102f6610518366004611866565b610cb4565b348015610528575f5ffd5b506102f66105373660046118c0565b610e97565b348015610547575f5ffd5b506102f661055636600461167e565b610f02565b348015610566575f5ffd5b50610313600d5481565b6102f661057e3660046118f1565b610f0f565b34801561058e575f5ffd5b506102f6610f50565b3480156105a2575f5ffd5b506102f66105b1366004611805565b610f64565b3480156105c1575f5ffd5b5061029f6105d036600461167e565b610f8a565b3480156105e0575f5ffd5b506102f66105ef36600461167e565b611002565b3480156105ff575f5ffd5b50610313600a5481565b348015610614575f5ffd5b506102f6610623366004611805565b61100f565b348015610633575f5ffd5b50610313600c5481565b348015610648575f5ffd5b50610256610657366004611968565b611035565b348015610667575f5ffd5b506102566106763660046119b8565b6110b9565b348015610686575f5ffd5b506102f66106953660046117dd565b6110e6565b5f6301ffc9a760e01b6001600160e01b0319831614806106ca57506380ac58cd60e01b6001600160e01b03198316145b806106e55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106fa906119e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610726906119e0565b80156107715780601f1061074857610100808354040283529160200191610771565b820191905f5260205f20905b81548152906001019060200180831161075457829003601f168201915b5050505050905090565b5f61078582611120565b610799576107996333d1c03960e21b61116a565b505f908152600660205260409020546001600160a01b031690565b6107c082826001611172565b5050565b5f6107ce82611213565b6001600160a01b0394851694909150811684146107f4576107f462a1148160e81b61116a565b5f8281526006602052604090208054338082146001600160a01b038816909114176108375761082386336110b9565b61083757610837632ce44b5f60e11b61116a565b61084486868660016112ac565b801561084e575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036108da57600184015f8181526004602052604081205490036108d8575f5481146108d8575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361092257610922633a954ecd60e21b61116a565b50505050505050565b80600a548161093f6001545f54035f190190565b6109499190611a2c565b11156109705760405162461bcd60e51b815260040161096790611a3f565b60405180910390fd5b6009548290600160b01b900460ff166109da5760405162461bcd60e51b815260206004820152602660248201527f5075626c6963206d696e7420706861736520686173206e6f742073746172746560448201526564207965742160d01b6064820152608401610967565b60056109e533610c1b565b6109ef9083611a2c565b1115610a475760405162461bcd60e51b815260206004820152602160248201527f4d6178696d756d206d696e74206c696d697420706572207573657220697320356044820152602160f81b6064820152608401610967565b600c54610a549082611a8a565b341015610a995760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610967565b610aa33384611319565b505050565b610ab06113df565b6040515f90339047908381818185875af1925050503d805f8114610aef576040519150601f19603f3d011682016040523d82523d5f602084013e610af4565b606091505b5050905080610b3a5760405162461bcd60e51b81526020600482015260126024820152712bb4ba34323930bbb0b6103330b4b632b21760711b6044820152606401610967565b50565b610aa383838360405180602001604052805f815250610f0f565b610b5f6113df565b600f6107c08282611aec565b610b736113df565b600c55565b5f6106e582611213565b600f8054610b8f906119e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbb906119e0565b8015610c065780601f10610bdd57610100808354040283529160200191610c06565b820191905f5260205f20905b815481529060010190602001808311610be957829003601f168201915b505050505081565b610c166113df565b600a55565b5f6001600160a01b038216610c3a57610c3a6323d3ad8160e21b61116a565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c676113df565b610c705f61140c565b565b610c7a6113df565b600e55565b610c876113df565b60098054911515600160b01b0260ff60b01b19909216919091179055565b6060600380546106fa906119e0565b83600a5481610cc86001545f54035f190190565b610cd29190611a2c565b1115610cf05760405162461bcd60e51b815260040161096790611a3f565b84848484600960159054906101000a900460ff16610d625760405162461bcd60e51b815260206004820152602960248201527f57686974656c697374206d696e7420706861736520686173206e6f742073746160448201526872746564207965742160b81b6064820152608401610967565b610d6d838383611035565b610db95760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401610967565b6002610dc433610c1b565b610dce9086611a2c565b1115610e305760405162461bcd60e51b815260206004820152602b60248201527f4d6178696d756d2077686974656c697374206d696e74206c696d69742070657260448201526a207573657220697320322160a81b6064820152608401610967565b600b54610e3d9085611a8a565b341015610e825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610967565b610e8c338a611319565b505050505050505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f0a6113df565b600b55565b610f1a8484846107c4565b6001600160a01b0383163b15610f4a57610f368484848461145d565b610f4a57610f4a6368d2bf6b60e11b61116a565b50505050565b610f586113df565b610c7033600d54611319565b610f6c6113df565b60098054911515600160a81b0260ff60a81b19909216919091179055565b6060610f9582611120565b610fa957610fa9630a14c4b560e41b61116a565b5f610fb261153c565b905080515f03610fd05760405180602001604052805f815250610ffb565b80610fda8461154b565b604051602001610feb929190611bbe565b6040516020818303038152906040525b9392505050565b61100a6113df565b600d55565b6110176113df565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6040516bffffffffffffffffffffffff19606083901b1660208201525f9081906034016040516020818303038152906040528051906020012090506110b08585808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600e54915084905061158e565b95945050505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6110ee6113df565b6001600160a01b03811661111757604051631e4fbdf760e01b81525f6004820152602401610967565b610b3a8161140c565b5f81600111611165575f54821015611165575f5b505f828152600460205260408120549081900361115b5761115483611bd2565b9250611134565b600160e01b161590505b919050565b805f5260045ffd5b5f61117c83610b78565b90508180156111945750336001600160a01b03821614155b156111b7576111a381336110b9565b6111b7576111b76367d9dca160e11b61116a565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f8160011161129c57505f81815260046020526040902054805f0361128a575f54821061124a5761124a636f96cda160e11b61116a565b5b505f19015f81815260046020526040902054801561124b57600160e01b81165f0361127557919050565b611285636f96cda160e11b61116a565b61124b565b600160e01b81165f0361129c57919050565b611165636f96cda160e11b61116a565b6001600160a01b03841615610f4a57600954600160a01b900460ff166113145760405162461bcd60e51b815260206004820152601d60248201527f54726164696e672069732063757272656e746c792064697361626c65640000006044820152606401610967565b610f4a565b5f8054908290036113345761133463b562e8dd60e01b61116a565b6113405f8483856112ac565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361139d5761139d622e076360e81b61116a565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa48181600101915081036113a257505f5550505050565b6009546001600160a01b03163314610c705760405163118cdaa760e01b8152336004820152602401610967565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611491903390899088908890600401611be7565b6020604051808303815f875af19250505080156114cb575060408051601f3d908101601f191682019092526114c891810190611c23565b60015b61151e573d8080156114f8576040519150601f19603f3d011682016040523d82523d5f602084013e6114fd565b606091505b5080515f03611516576115166368d2bf6b60e11b61116a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f80546106fa906119e0565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806115645750819003601f19909101908152919050565b5f8261159a85846115a3565b14949350505050565b5f81815b84518110156115dd576115d3828683815181106115c6576115c6611c3e565b60200260200101516115e5565b91506001016115a7565b509392505050565b5f8183106115ff575f828152602084905260409020610ffb565b505f9182526020526040902090565b6001600160e01b031981168114610b3a575f5ffd5b5f60208284031215611633575f5ffd5b8135610ffb8161160e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ffb602083018461163e565b5f6020828403121561168e575f5ffd5b5035919050565b80356001600160a01b0381168114611165575f5ffd5b5f5f604083850312156116bc575f5ffd5b6116c583611695565b946020939093013593505050565b5f5f5f606084860312156116e5575f5ffd5b6116ee84611695565b92506116fc60208501611695565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff84111561173b5761173b61170d565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561176a5761176a61170d565b604052838152905080828401851015611781575f5ffd5b838360208301375f60208583010152509392505050565b5f602082840312156117a8575f5ffd5b813567ffffffffffffffff8111156117be575f5ffd5b8201601f810184136117ce575f5ffd5b61153484823560208401611721565b5f602082840312156117ed575f5ffd5b610ffb82611695565b80358015158114611165575f5ffd5b5f60208284031215611815575f5ffd5b610ffb826117f6565b5f5f83601f84011261182e575f5ffd5b50813567ffffffffffffffff811115611845575f5ffd5b6020830191508360208260051b850101111561185f575f5ffd5b9250929050565b5f5f5f5f60608587031215611879575f5ffd5b84359350602085013567ffffffffffffffff811115611896575f5ffd5b6118a28782880161181e565b90945092506118b5905060408601611695565b905092959194509250565b5f5f604083850312156118d1575f5ffd5b6118da83611695565b91506118e8602084016117f6565b90509250929050565b5f5f5f5f60808587031215611904575f5ffd5b61190d85611695565b935061191b60208601611695565b925060408501359150606085013567ffffffffffffffff81111561193d575f5ffd5b8501601f8101871361194d575f5ffd5b61195c87823560208401611721565b91505092959194509250565b5f5f5f6040848603121561197a575f5ffd5b833567ffffffffffffffff811115611990575f5ffd5b61199c8682870161181e565b90945092506119af905060208501611695565b90509250925092565b5f5f604083850312156119c9575f5ffd5b6119d283611695565b91506118e860208401611695565b600181811c908216806119f457607f821691505b602082108103611a1257634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106e5576106e5611a18565b6020808252602b908201527f417474656d70746564206d696e7420616d6f756e74206578636565647320746f60408201526a74616c20737570706c792160a81b606082015260800190565b80820281158282048414176106e5576106e5611a18565b601f821115610aa357805f5260205f20601f840160051c81016020851015611ac65750805b601f840160051c820191505b81811015611ae5575f8155600101611ad2565b5050505050565b815167ffffffffffffffff811115611b0657611b0661170d565b611b1a81611b1484546119e0565b84611aa1565b6020601f821160018114611b4c575f8315611b355750848201515b5f19600385901b1c1916600184901b178455611ae5565b5f84815260208120601f198516915b82811015611b7b5787850151825560209485019460019092019101611b5b565b5084821015611b9857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f611534611bcc8386611ba7565b84611ba7565b5f81611be057611be0611a18565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c199083018461163e565b9695505050505050565b5f60208284031215611c33575f5ffd5b8151610ffb8161160e565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205994587972ab762badd7ad5a68006dbcc111819fdcd501fa6f659823528f17e664736f6c634300081c00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019e74a5dbe98fe2bf7691116474e9a71025d1fbf171d46936cb58bbd1b40364112000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405260043610610233575f3560e01c80637cb6475911610129578063ba7a86b8116100a8578063d5ccb8ee1161006d578063d5ccb8ee14610609578063dc53fd9214610628578063debefaa61461063d578063e985e9c51461065c578063f2fde38b1461067b575f5ffd5b8063ba7a86b814610583578063c6a768f414610597578063c87b56dd146105b6578063cdc449e0146105d5578063d5abeb01146105f4575f5ffd5b80639a336fee116100ee5780639a336fee1461050a578063a22cb4651461051d578063a611708e1461053c578063b4bc159a1461055b578063b88d4fde14610570575f5ffd5b80637cb647591461047b578063879fbedf1461049a5780638da5cb5b146104b9578063922400ff146104d657806395d89b41146104f6575f5ffd5b806335c6aaf8116101b55780636352211e1161017a5780636352211e146103f65780636c0360eb146104155780636f8b44b01461042957806370a0823114610448578063715018a614610467575f5ffd5b806335c6aaf81461037c5780633ccfd60b1461039157806342842e0e146103a557806355f804b3146103b85780635d82cf6e146103d7575f5ffd5b806318160ddd116101fb57806318160ddd146102f857806322ab47a11461032157806323b872dd146103415780632db11544146103545780632eb4a7ab14610367575f5ffd5b806301ffc9a714610237578063064a59d01461026b57806306fdde031461028b578063081812fc146102ac578063095ea7b3146102e3575b5f5ffd5b348015610242575f5ffd5b50610256610251366004611623565b61069a565b60405190151581526020015b60405180910390f35b348015610276575f5ffd5b5060095461025690600160a01b900460ff1681565b348015610296575f5ffd5b5061029f6106eb565b604051610262919061166c565b3480156102b7575f5ffd5b506102cb6102c636600461167e565b61077b565b6040516001600160a01b039091168152602001610262565b6102f66102f13660046116ab565b6107b4565b005b348015610303575f5ffd5b506103136001545f54035f190190565b604051908152602001610262565b34801561032c575f5ffd5b5060095461025690600160b01b900460ff1681565b6102f661034f3660046116d3565b6107c4565b6102f661036236600461167e565b61092b565b348015610372575f5ffd5b50610313600e5481565b348015610387575f5ffd5b50610313600b5481565b34801561039c575f5ffd5b506102f6610aa8565b6102f66103b33660046116d3565b610b3d565b3480156103c3575f5ffd5b506102f66103d2366004611798565b610b57565b3480156103e2575f5ffd5b506102f66103f136600461167e565b610b6b565b348015610401575f5ffd5b506102cb61041036600461167e565b610b78565b348015610420575f5ffd5b5061029f610b82565b348015610434575f5ffd5b506102f661044336600461167e565b610c0e565b348015610453575f5ffd5b506103136104623660046117dd565b610c1b565b348015610472575f5ffd5b506102f6610c5f565b348015610486575f5ffd5b506102f661049536600461167e565b610c72565b3480156104a5575f5ffd5b506102f66104b4366004611805565b610c7f565b3480156104c4575f5ffd5b506009546001600160a01b03166102cb565b3480156104e1575f5ffd5b5060095461025690600160a81b900460ff1681565b348015610501575f5ffd5b5061029f610ca5565b6102f6610518366004611866565b610cb4565b348015610528575f5ffd5b506102f66105373660046118c0565b610e97565b348015610547575f5ffd5b506102f661055636600461167e565b610f02565b348015610566575f5ffd5b50610313600d5481565b6102f661057e3660046118f1565b610f0f565b34801561058e575f5ffd5b506102f6610f50565b3480156105a2575f5ffd5b506102f66105b1366004611805565b610f64565b3480156105c1575f5ffd5b5061029f6105d036600461167e565b610f8a565b3480156105e0575f5ffd5b506102f66105ef36600461167e565b611002565b3480156105ff575f5ffd5b50610313600a5481565b348015610614575f5ffd5b506102f6610623366004611805565b61100f565b348015610633575f5ffd5b50610313600c5481565b348015610648575f5ffd5b50610256610657366004611968565b611035565b348015610667575f5ffd5b506102566106763660046119b8565b6110b9565b348015610686575f5ffd5b506102f66106953660046117dd565b6110e6565b5f6301ffc9a760e01b6001600160e01b0319831614806106ca57506380ac58cd60e01b6001600160e01b03198316145b806106e55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106fa906119e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610726906119e0565b80156107715780601f1061074857610100808354040283529160200191610771565b820191905f5260205f20905b81548152906001019060200180831161075457829003601f168201915b5050505050905090565b5f61078582611120565b610799576107996333d1c03960e21b61116a565b505f908152600660205260409020546001600160a01b031690565b6107c082826001611172565b5050565b5f6107ce82611213565b6001600160a01b0394851694909150811684146107f4576107f462a1148160e81b61116a565b5f8281526006602052604090208054338082146001600160a01b038816909114176108375761082386336110b9565b61083757610837632ce44b5f60e11b61116a565b61084486868660016112ac565b801561084e575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036108da57600184015f8181526004602052604081205490036108d8575f5481146108d8575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361092257610922633a954ecd60e21b61116a565b50505050505050565b80600a548161093f6001545f54035f190190565b6109499190611a2c565b11156109705760405162461bcd60e51b815260040161096790611a3f565b60405180910390fd5b6009548290600160b01b900460ff166109da5760405162461bcd60e51b815260206004820152602660248201527f5075626c6963206d696e7420706861736520686173206e6f742073746172746560448201526564207965742160d01b6064820152608401610967565b60056109e533610c1b565b6109ef9083611a2c565b1115610a475760405162461bcd60e51b815260206004820152602160248201527f4d6178696d756d206d696e74206c696d697420706572207573657220697320356044820152602160f81b6064820152608401610967565b600c54610a549082611a8a565b341015610a995760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610967565b610aa33384611319565b505050565b610ab06113df565b6040515f90339047908381818185875af1925050503d805f8114610aef576040519150601f19603f3d011682016040523d82523d5f602084013e610af4565b606091505b5050905080610b3a5760405162461bcd60e51b81526020600482015260126024820152712bb4ba34323930bbb0b6103330b4b632b21760711b6044820152606401610967565b50565b610aa383838360405180602001604052805f815250610f0f565b610b5f6113df565b600f6107c08282611aec565b610b736113df565b600c55565b5f6106e582611213565b600f8054610b8f906119e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbb906119e0565b8015610c065780601f10610bdd57610100808354040283529160200191610c06565b820191905f5260205f20905b815481529060010190602001808311610be957829003601f168201915b505050505081565b610c166113df565b600a55565b5f6001600160a01b038216610c3a57610c3a6323d3ad8160e21b61116a565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610c676113df565b610c705f61140c565b565b610c7a6113df565b600e55565b610c876113df565b60098054911515600160b01b0260ff60b01b19909216919091179055565b6060600380546106fa906119e0565b83600a5481610cc86001545f54035f190190565b610cd29190611a2c565b1115610cf05760405162461bcd60e51b815260040161096790611a3f565b84848484600960159054906101000a900460ff16610d625760405162461bcd60e51b815260206004820152602960248201527f57686974656c697374206d696e7420706861736520686173206e6f742073746160448201526872746564207965742160b81b6064820152608401610967565b610d6d838383611035565b610db95760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f742077686974656c69737465642100000000000000006044820152606401610967565b6002610dc433610c1b565b610dce9086611a2c565b1115610e305760405162461bcd60e51b815260206004820152602b60248201527f4d6178696d756d2077686974656c697374206d696e74206c696d69742070657260448201526a207573657220697320322160a81b6064820152608401610967565b600b54610e3d9085611a8a565b341015610e825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610967565b610e8c338a611319565b505050505050505050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f0a6113df565b600b55565b610f1a8484846107c4565b6001600160a01b0383163b15610f4a57610f368484848461145d565b610f4a57610f4a6368d2bf6b60e11b61116a565b50505050565b610f586113df565b610c7033600d54611319565b610f6c6113df565b60098054911515600160a81b0260ff60a81b19909216919091179055565b6060610f9582611120565b610fa957610fa9630a14c4b560e41b61116a565b5f610fb261153c565b905080515f03610fd05760405180602001604052805f815250610ffb565b80610fda8461154b565b604051602001610feb929190611bbe565b6040516020818303038152906040525b9392505050565b61100a6113df565b600d55565b6110176113df565b60098054911515600160a01b0260ff60a01b19909216919091179055565b6040516bffffffffffffffffffffffff19606083901b1660208201525f9081906034016040516020818303038152906040528051906020012090506110b08585808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600e54915084905061158e565b95945050505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6110ee6113df565b6001600160a01b03811661111757604051631e4fbdf760e01b81525f6004820152602401610967565b610b3a8161140c565b5f81600111611165575f54821015611165575f5b505f828152600460205260408120549081900361115b5761115483611bd2565b9250611134565b600160e01b161590505b919050565b805f5260045ffd5b5f61117c83610b78565b90508180156111945750336001600160a01b03821614155b156111b7576111a381336110b9565b6111b7576111b76367d9dca160e11b61116a565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f8160011161129c57505f81815260046020526040902054805f0361128a575f54821061124a5761124a636f96cda160e11b61116a565b5b505f19015f81815260046020526040902054801561124b57600160e01b81165f0361127557919050565b611285636f96cda160e11b61116a565b61124b565b600160e01b81165f0361129c57919050565b611165636f96cda160e11b61116a565b6001600160a01b03841615610f4a57600954600160a01b900460ff166113145760405162461bcd60e51b815260206004820152601d60248201527f54726164696e672069732063757272656e746c792064697361626c65640000006044820152606401610967565b610f4a565b5f8054908290036113345761133463b562e8dd60e01b61116a565b6113405f8483856112ac565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361139d5761139d622e076360e81b61116a565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa48181600101915081036113a257505f5550505050565b6009546001600160a01b03163314610c705760405163118cdaa760e01b8152336004820152602401610967565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290611491903390899088908890600401611be7565b6020604051808303815f875af19250505080156114cb575060408051601f3d908101601f191682019092526114c891810190611c23565b60015b61151e573d8080156114f8576040519150601f19603f3d011682016040523d82523d5f602084013e6114fd565b606091505b5080515f03611516576115166368d2bf6b60e11b61116a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600f80546106fa906119e0565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806115645750819003601f19909101908152919050565b5f8261159a85846115a3565b14949350505050565b5f81815b84518110156115dd576115d3828683815181106115c6576115c6611c3e565b60200260200101516115e5565b91506001016115a7565b509392505050565b5f8183106115ff575f828152602084905260409020610ffb565b505f9182526020526040902090565b6001600160e01b031981168114610b3a575f5ffd5b5f60208284031215611633575f5ffd5b8135610ffb8161160e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610ffb602083018461163e565b5f6020828403121561168e575f5ffd5b5035919050565b80356001600160a01b0381168114611165575f5ffd5b5f5f604083850312156116bc575f5ffd5b6116c583611695565b946020939093013593505050565b5f5f5f606084860312156116e5575f5ffd5b6116ee84611695565b92506116fc60208501611695565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff84111561173b5761173b61170d565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561176a5761176a61170d565b604052838152905080828401851015611781575f5ffd5b838360208301375f60208583010152509392505050565b5f602082840312156117a8575f5ffd5b813567ffffffffffffffff8111156117be575f5ffd5b8201601f810184136117ce575f5ffd5b61153484823560208401611721565b5f602082840312156117ed575f5ffd5b610ffb82611695565b80358015158114611165575f5ffd5b5f60208284031215611815575f5ffd5b610ffb826117f6565b5f5f83601f84011261182e575f5ffd5b50813567ffffffffffffffff811115611845575f5ffd5b6020830191508360208260051b850101111561185f575f5ffd5b9250929050565b5f5f5f5f60608587031215611879575f5ffd5b84359350602085013567ffffffffffffffff811115611896575f5ffd5b6118a28782880161181e565b90945092506118b5905060408601611695565b905092959194509250565b5f5f604083850312156118d1575f5ffd5b6118da83611695565b91506118e8602084016117f6565b90509250929050565b5f5f5f5f60808587031215611904575f5ffd5b61190d85611695565b935061191b60208601611695565b925060408501359150606085013567ffffffffffffffff81111561193d575f5ffd5b8501601f8101871361194d575f5ffd5b61195c87823560208401611721565b91505092959194509250565b5f5f5f6040848603121561197a575f5ffd5b833567ffffffffffffffff811115611990575f5ffd5b61199c8682870161181e565b90945092506119af905060208501611695565b90509250925092565b5f5f604083850312156119c9575f5ffd5b6119d283611695565b91506118e860208401611695565b600181811c908216806119f457607f821691505b602082108103611a1257634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106e5576106e5611a18565b6020808252602b908201527f417474656d70746564206d696e7420616d6f756e74206578636565647320746f60408201526a74616c20737570706c792160a81b606082015260800190565b80820281158282048414176106e5576106e5611a18565b601f821115610aa357805f5260205f20601f840160051c81016020851015611ac65750805b601f840160051c820191505b81811015611ae5575f8155600101611ad2565b5050505050565b815167ffffffffffffffff811115611b0657611b0661170d565b611b1a81611b1484546119e0565b84611aa1565b6020601f821160018114611b4c575f8315611b355750848201515b5f19600385901b1c1916600184901b178455611ae5565b5f84815260208120601f198516915b82811015611b7b5787850151825560209485019460019092019101611b5b565b5084821015611b9857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f611534611bcc8386611ba7565b84611ba7565b5f81611be057611be0611a18565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c199083018461163e565b9695505050505050565b5f60208284031215611c33575f5ffd5b8151610ffb8161160e565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205994587972ab762badd7ad5a68006dbcc111819fdcd501fa6f659823528f17e664736f6c634300081c0033

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

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019e74a5dbe98fe2bf7691116474e9a71025d1fbf171d46936cb58bbd1b40364112000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : newTradingState (bool): False
Arg [1] : newWhitelistMintState (bool): False
Arg [2] : newPublicMintState (bool): False
Arg [3] : newMaxSupply (uint256): 100
Arg [4] : newWhitelistMintPrice (uint256): 0
Arg [5] : newPublicMintPrice (uint256): 0
Arg [6] : newTeamMintAmount (uint256): 25
Arg [7] : newMerkleRoot (bytes32): 0xe74a5dbe98fe2bf7691116474e9a71025d1fbf171d46936cb58bbd1b40364112
Arg [8] : newBaseURI (string): 0

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [7] : e74a5dbe98fe2bf7691116474e9a71025d1fbf171d46936cb58bbd1b40364112
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 3000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

228:6309:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10689:630:5;;;;;;;;;;-1:-1:-1;10689:630:5;;;;;:::i;:::-;;:::i;:::-;;;565:14:7;;558:22;540:41;;528:2;513:18;10689:630:5;;;;;;;;273:28:4;;;;;;;;;;-1:-1:-1;273:28:4;;;;-1:-1:-1;;;273:28:4;;;;;;11573:98:5;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;18636:223::-;;;;;;;;;;-1:-1:-1;18636:223:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1528:32:7;;;1510:51;;1498:2;1483:18;18636:223:5;1364:203:7;18364:122:5;;;;;;:::i;:::-;;:::i;:::-;;6890:564;;;;;;;;;;;;3272:1:4;7328:12:5;6951:14;7312:13;:28;-1:-1:-1;;7312:46:5;;6890:564;;;;2201:25:7;;;2189:2;2174:18;6890:564:5;2055:177:7;345:27:4;;;;;;;;;;-1:-1:-1;345:27:4;;;;-1:-1:-1;;;345:27:4;;;;;;22796:3447:5;;;;;;:::i;:::-;;:::i;5955:230:4:-;;;;;;:::i;:::-;;:::i;523:25::-;;;;;;;;;;;;;;;;410:33;;;;;;;;;;;;;;;;6324:208;;;;;;;;;;;;;:::i;26334:187:5:-;;;;;;:::i;:::-;;:::i;4562:143:4:-;;;;;;;;;;-1:-1:-1;4562:143:4;;;;;:::i;:::-;;:::i;5433:168::-;;;;;;;;;;-1:-1:-1;5433:168:4;;;;;:::i;:::-;;:::i;12934:150:5:-;;;;;;;;;;-1:-1:-1;12934:150:5;;;;;:::i;:::-;;:::i;555:21:4:-;;;;;;;;;;;;;:::i;4410:144::-;;;;;;;;;;-1:-1:-1;4410:144:4;;;;;:::i;:::-;;:::i;8570:239:5:-;;;;;;;;;;-1:-1:-1;8570:239:5;;;;;:::i;:::-;;:::i;2293:101:0:-;;;;;;;;;;;;;:::i;4090:146:4:-;;;;;;;;;;-1:-1:-1;4090:146:4;;;;;:::i;:::-;;:::i;5259:166::-;;;;;;;;;;-1:-1:-1;5259:166:4;;;;;:::i;:::-;;:::i;1638:85:0:-;;;;;;;;;;-1:-1:-1;1710:6:0;;-1:-1:-1;;;;;1710:6:0;1638:85;;308:30:4;;;;;;;;;;-1:-1:-1;308:30:4;;;;-1:-1:-1;;;308:30:4;;;;;;11742:102:5;;;;;;;;;;;;;:::i;5609:338:4:-;;;;;;:::i;:::-;;:::i;19186:231:5:-;;;;;;;;;;-1:-1:-1;19186:231:5;;;;;:::i;:::-;;:::i;5070:181:4:-;;;;;;;;;;-1:-1:-1;5070:181:4;;;;;:::i;:::-;;:::i;487:29::-;;;;;;;;;;;;;;;;27102:405:5;;;;;;:::i;:::-;;:::i;6193:123:4:-;;;;;;;;;;;;;:::i;4885:177::-;;;;;;;;;;-1:-1:-1;4885:177:4;;;;;:::i;:::-;;:::i;11945:322:5:-;;;;;;;;;;-1:-1:-1;11945:322:5;;;;;:::i;:::-;;:::i;4713:164:4:-;;;;;;;;;;-1:-1:-1;4713:164:4;;;;;:::i;:::-;;:::i;379:24::-;;;;;;;;;;;;;;;;4244:158;;;;;;;;;;-1:-1:-1;4244:158:4;;;;;:::i;:::-;;:::i;450:30::-;;;;;;;;;;;;;;;;3765:317;;;;;;;;;;-1:-1:-1;3765:317:4;;;;;:::i;:::-;;:::i;19567:162:5:-;;;;;;;;;;-1:-1:-1;19567:162:5;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;10689:630:5:-;10774:4;-1:-1:-1;;;;;;;;;11092:25:5;;;;:101;;-1:-1:-1;;;;;;;;;;11168:25:5;;;11092:101;:177;;;-1:-1:-1;;;;;;;;;;11244:25:5;;;11092:177;11073:196;10689:630;-1:-1:-1;;10689:630:5:o;11573:98::-;11627:13;11659:5;11652:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11573:98;:::o;18636:223::-;18712:7;18736:16;18744:7;18736;:16::i;:::-;18731:73;;18754:50;-1:-1:-1;;;18754:7:5;:50::i;:::-;-1:-1:-1;18822:24:5;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;18822:30:5;;18636:223::o;18364:122::-;18452:27;18461:2;18465:7;18474:4;18452:8;:27::i;:::-;18364:122;;:::o;22796:3447::-;22933:27;22963;22982:7;22963:18;:27::i;:::-;-1:-1:-1;;;;;23115:22:5;;;;22933:57;;-1:-1:-1;23173:45:5;;;;23169:95;;23220:44;-1:-1:-1;;;23220:7:5;:44::i;:::-;23276:27;21929:24;;;:15;:24;;;;;22153:26;;47819:10;21566:30;;;-1:-1:-1;;;;;21263:28:5;;21544:20;;;21541:56;23459:188;;23551:43;23568:4;47819:10;19567:162;:::i;23551:43::-;23546:101;;23596:51;-1:-1:-1;;;23596:7:5;:51::i;:::-;23658:43;23680:4;23686:2;23690:7;23699:1;23658:21;:43::i;:::-;23790:15;23787:157;;;23928:1;23907:19;23900:30;23787:157;-1:-1:-1;;;;;24316:24:5;;;;;;;:18;:24;;;;;;24314:26;;-1:-1:-1;;24314:26:5;;;24384:22;;;;;;;;;24382:24;;-1:-1:-1;24382:24:5;;;17492:11;17467:23;17463:41;17450:63;-1:-1:-1;;;17450:63:5;24670:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;24959:47:5;;:52;;24955:617;;25063:1;25053:11;;25031:19;25184:30;;;:17;:30;;;;;;:35;;25180:378;;25320:13;;25305:11;:28;25301:239;;25465:30;;;;:17;:30;;;;;:52;;;25301:239;25013:559;24955:617;-1:-1:-1;;;;;25700:20:5;;26071:7;25700:20;26003:4;25946:25;25681:16;;25814:292;26129:8;26141:1;26129:13;26125:58;;26144:39;-1:-1:-1;;;26144:7:5;:39::i;:::-;22923:3320;;;;22796:3447;;;:::o;5955:230:4:-;6050:8;1602:9;;1590:8;1574:13;3272:1;7328:12:5;6951:14;7312:13;:28;-1:-1:-1;;7312:46:5;;6890:564;1574:13:4;:24;;;;:::i;:::-;:37;;1540:144;;;;-1:-1:-1;;;1540:144:4;;;;;;;:::i;:::-;;;;;;;;;2593:15:::1;::::0;6093:8;;-1:-1:-1;;;2593:15:4;::::1;;;2559:117;;;::::0;-1:-1:-1;;;2559:117:4;;8854:2:7;2559:117:4::1;::::0;::::1;8836:21:7::0;8893:2;8873:18;;;8866:30;8932:34;8912:18;;;8905:62;-1:-1:-1;;;8983:18:7;;;8976:36;9029:19;;2559:117:4::1;8652:402:7::0;2559:117:4::1;2759:1;2732:23;2743:10;2732:9;:23::i;:::-;2721:34;::::0;:8;:34:::1;:::i;:::-;:39;;2687:136;;;::::0;-1:-1:-1;;;2687:136:4;;9261:2:7;2687:136:4::1;::::0;::::1;9243:21:7::0;9300:2;9280:18;;;9273:30;9339:34;9319:18;;;9312:62;-1:-1:-1;;;9390:18:7;;;9383:31;9431:19;;2687:136:4::1;9059:397:7::0;2687:136:4::1;2892:15;::::0;2881:26:::1;::::0;:8;:26:::1;:::i;:::-;2868:9;:39;;2834:121;;;::::0;-1:-1:-1;;;2834:121:4;;9836:2:7;2834:121:4::1;::::0;::::1;9818:21:7::0;9875:2;9855:18;;;9848:30;-1:-1:-1;;;9894:18:7;;;9887:49;9953:18;;2834:121:4::1;9634:343:7::0;2834:121:4::1;6147:30:::2;6155:10;6167:8;6147:5;:30::i;:::-;1695:1:::1;5955:230:::0;;:::o;6324:208::-;1531:13:0;:11;:13::i;:::-;6422:49:4::1;::::0;6404:12:::1;::::0;6422:10:::1;::::0;6445:21:::1;::::0;6404:12;6422:49;6404:12;6422:49;6445:21;6422:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6403:68;;;6492:7;6482:41;;;::::0;-1:-1:-1;;;6482:41:4;;10394:2:7;6482:41:4::1;::::0;::::1;10376:21:7::0;10433:2;10413:18;;;10406:30;-1:-1:-1;;;10452:18:7;;;10445:48;10510:18;;6482:41:4::1;10192:342:7::0;6482:41:4::1;6392:140;6324:208::o:0;26334:187:5:-;26475:39;26492:4;26498:2;26502:7;26475:39;;;;;;;;;;;;:16;:39::i;4562:143:4:-;1531:13:0;:11;:13::i;:::-;4677:7:4::1;:20;4687:10:::0;4677:7;:20:::1;:::i;5433:168::-:0;1531:13:0;:11;:13::i;:::-;5557:15:4::1;:36:::0;5433:168::o;12934:150:5:-;13006:7;13048:27;13067:7;13048:18;:27::i;555:21:4:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4410:144::-;1531:13:0;:11;:13::i;:::-;4522:9:4::1;:24:::0;4410:144::o;8570:239:5:-;8642:7;-1:-1:-1;;;;;8665:19:5;;8661:69;;8686:44;-1:-1:-1;;;8686:7:5;:44::i;:::-;-1:-1:-1;;;;;;8747:25:5;;;;;:18;:25;;;;;;1518:13;8747:55;;8570:239::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;4090:146:4:-;1531:13:0;:11;:13::i;:::-;4202:10:4::1;:26:::0;4090:146::o;5259:166::-;1531:13:0;:11;:13::i;:::-;5381:15:4::1;:36:::0;;;::::1;;-1:-1:-1::0;;;5381:36:4::1;-1:-1:-1::0;;;;5381:36:4;;::::1;::::0;;;::::1;::::0;;5259:166::o;11742:102:5:-;11798:13;11830:7;11823:14;;;;;:::i;5609:338:4:-;5781:8;1602:9;;1590:8;1574:13;3272:1;7328:12:5;6951:14;7312:13;:28;-1:-1:-1;;7312:46:5;;6890:564;1574:13:4;:24;;;;:::i;:::-;:37;;1540:144;;;;-1:-1:-1;;;1540:144:4;;;;;;;:::i;:::-;5827:8:::1;5837:11;;5850:13;1913:18;;;;;;;;;;;1879:122;;;::::0;-1:-1:-1;;;1879:122:4;;12865:2:7;1879:122:4::1;::::0;::::1;12847:21:7::0;12904:2;12884:18;;;12877:30;12943:34;12923:18;;;12916:62;-1:-1:-1;;;12994:18:7;;;12987:39;13043:19;;1879:122:4::1;12663:405:7::0;1879:122:4::1;2045:44;2061:11;;2074:13;2045;:44::i;:::-;2012:129;;;::::0;-1:-1:-1;;;2012:129:4;;13275:2:7;2012:129:4::1;::::0;::::1;13257:21:7::0;13314:2;13294:18;;;13287:30;13353:26;13333:18;;;13326:54;13397:18;;2012:129:4::1;13073:348:7::0;2012:129:4::1;2224:1;2197:23;2208:10;2197:9;:23::i;:::-;2186:34;::::0;:8;:34:::1;:::i;:::-;:39;;2152:146;;;::::0;-1:-1:-1;;;2152:146:4;;13628:2:7;2152:146:4::1;::::0;::::1;13610:21:7::0;13667:2;13647:18;;;13640:30;13706:34;13686:18;;;13679:62;-1:-1:-1;;;13757:18:7;;;13750:41;13808:19;;2152:146:4::1;13426:407:7::0;2152:146:4::1;2367:18;::::0;2356:29:::1;::::0;:8;:29:::1;:::i;:::-;2343:9;:42;;2309:124;;;::::0;-1:-1:-1;;;2309:124:4;;9836:2:7;2309:124:4::1;::::0;::::1;9818:21:7::0;9875:2;9855:18;;;9848:30;-1:-1:-1;;;9894:18:7;;;9887:49;9953:18;;2309:124:4::1;9634:343:7::0;2309:124:4::1;5909:30:::2;5917:10;5929:8;5909:5;:30::i;:::-;1695:1:::1;;;;5609:338:::0;;;;;:::o;19186:231:5:-;47819:10;19280:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;19280:49:5;;;;;;;;;;;;:60;;-1:-1:-1;;19280:60:5;;;;;;;;;;19355:55;;540:41:7;;;19280:49:5;;47819:10;19355:55;;513:18:7;19355:55:5;;;;;;;19186:231;;:::o;5070:181:4:-;1531:13:0;:11;:13::i;:::-;5201:18:4::1;:42:::0;5070:181::o;27102:405:5:-;27271:31;27284:4;27290:2;27294:7;27271:12;:31::i;:::-;-1:-1:-1;;;;;27316:14:5;;;:19;27312:189;;27354:56;27385:4;27391:2;27395:7;27404:5;27354:30;:56::i;:::-;27349:152;;27430:56;-1:-1:-1;;;27430:7:5;:56::i;:::-;27102:405;;;;:::o;6193:123:4:-;1531:13:0;:11;:13::i;:::-;6272:36:4::1;6280:10;6292:14;;6272:5;:36::i;4885:177::-:0;1531:13:0;:11;:13::i;:::-;5012:18:4::1;:42:::0;;;::::1;;-1:-1:-1::0;;;5012:42:4::1;-1:-1:-1::0;;;;5012:42:4;;::::1;::::0;;;::::1;::::0;;4885:177::o;11945:322:5:-;12018:13;12048:16;12056:7;12048;:16::i;:::-;12043:68;;12066:45;-1:-1:-1;;;12066:7:5;:45::i;:::-;12122:21;12146:10;:8;:10::i;:::-;12122:34;;12179:7;12173:21;12198:1;12173:26;:87;;;;;;;;;;;;;;;;;12226:7;12235:18;12245:7;12235:9;:18::i;:::-;12209:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;12173:87;12166:94;11945:322;-1:-1:-1;;;11945:322:5:o;4713:164:4:-;1531:13:0;:11;:13::i;:::-;4835:14:4::1;:34:::0;4713:164::o;4244:158::-;1531:13:0;:11;:13::i;:::-;4360:16:4::1;:34:::0;;;::::1;;-1:-1:-1::0;;;4360:34:4::1;-1:-1:-1::0;;;;4360:34:4;;::::1;::::0;;;::::1;::::0;;4244:158::o;3765:317::-;3963:33;;-1:-1:-1;;14476:2:7;14472:15;;;14468:53;3963:33:4;;;14456:66:7;3908:4:4;;;;14538:12:7;;3963:33:4;;;;;;;;;;;;3952:46;;;;;;3931:67;;4016:58;4037:11;;4016:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4050:10:4;;;-1:-1:-1;4062:10:4;;-1:-1:-1;4016:18:4;:58::i;:::-;4009:65;3765:317;-1:-1:-1;;;;;3765:317:4:o;19567:162:5:-;-1:-1:-1;;;;;19687:25:5;;;19664:4;19687:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;19567:162::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;1510:51:7::0;1483:18;;2672:31:0::1;1364:203:7::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;19978:465:5:-:0;20043:11;20089:7;3272:1:4;20070:26:5;20066:371;;20231:13;;20221:7;:23;20217:210;;;20264:14;20296:60;-1:-1:-1;20313:26:5;;;;:17;:26;;;;;;;20303:42;;;20296:60;;20347:9;;;:::i;:::-;;;20296:60;;;-1:-1:-1;;;20383:24:5;:29;;-1:-1:-1;20217:210:5;19978:465;;;:::o;49703:160::-;49802:13;49796:4;49789:27;49842:4;49836;49829:18;41333:460;41457:13;41473:16;41481:7;41473;:16::i;:::-;41457:32;;41504:13;:45;;;;-1:-1:-1;47819:10:5;-1:-1:-1;;;;;41521:28:5;;;;41504:45;41500:198;;;41568:44;41585:5;47819:10;19567:162;:::i;41568:44::-;41563:135;;41632:51;-1:-1:-1;;;41632:7:5;:51::i;:::-;41708:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;41708:35:5;-1:-1:-1;;;;;41708:35:5;;;;;;;;;41758:28;;41708:24;;41758:28;;;;;;;41447:346;41333:460;;;:::o;14380:2173::-;14447:14;14496:7;3272:1:4;14477:26:5;14473:2017;;-1:-1:-1;14528:26:5;;;;:17;:26;;;;;;14847:6;14857:1;14847:11;14843:1270;;14893:13;;14882:7;:24;14878:77;;14908:47;-1:-1:-1;;;14908:7:5;:47::i;:::-;15502:597;-1:-1:-1;;;15596:9:5;15578:28;;;;:17;:28;;;;;;15650:25;;15502:597;15650:25;-1:-1:-1;;;15701:6:5;:24;15729:1;15701:29;15697:48;;14380:2173;;;:::o;15697:48::-;16033:47;-1:-1:-1;;;16033:7:5;:47::i;:::-;15502:597;;14843:1270;-1:-1:-1;;;16435:6:5;:24;16463:1;16435:29;16431:48;;14380:2173;;;:::o;16431:48::-;16499:47;-1:-1:-1;;;16499:7:5;:47::i;3289:468:4:-;-1:-1:-1;;;;;3491:20:4;;3486:70;3538:7;3486:70;3600:16;;-1:-1:-1;;;3600:16:4;;;;3566:108;;;;-1:-1:-1;;;3566:108:4;;14904:2:7;3566:108:4;;;14886:21:7;14943:2;14923:18;;;14916:30;14982:31;14962:18;;;14955:59;15031:18;;3566:108:4;14702:353:7;3566:108:4;3685:64;27102:405:5;30652:2343;30724:20;30747:13;;;30774;;;30770:53;;30789:34;-1:-1:-1;;;30789:7:5;:34::i;:::-;30834:61;30864:1;30868:2;30872:12;30886:8;30834:21;:61::i;:::-;31323:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;17320:28:5;;17492:11;17467:23;17463:41;17925:1;17912:15;;17886:24;17882:46;17460:52;17450:63;;31323:170;;;31704:22;;;:18;:22;;;;;:71;;31742:32;31730:45;;31704:71;;;17320:28;31960:13;;;31956:54;;31975:35;-1:-1:-1;;;31975:7:5;:35::i;:::-;32039:23;;;;32213:662;32623:7;32580:8;32536:1;32471:25;32409:1;32345;32315:351;32870:3;32857:9;;;;;;:16;32213:662;;-1:-1:-1;32889:13:5;:19;-1:-1:-1;1695:1:4::1;5955:230:::0;;:::o;1796:162:0:-;1710:6;;-1:-1:-1;;;;;1710:6:0;47819:10:5;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;47819:10:5;1901:40:0;;;1510:51:7;1483:18;;1901:40:0;1364:203:7;2912:187:0;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;29533:673:5:-;29711:88;;-1:-1:-1;;;29711:88:5;;29691:4;;-1:-1:-1;;;;;29711:45:5;;;;;:88;;47819:10;;29778:4;;29784:7;;29793:5;;29711:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29711:88:5;;;;;;;;-1:-1:-1;;29711:88:5;;;;;;;;;;;;:::i;:::-;;;29707:493;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29989:6;:13;30006:1;29989:18;29985:113;;30027:56;-1:-1:-1;;;30027:7:5;:56::i;:::-;30168:6;30162:13;30153:6;30149:2;30145:15;30138:38;29707:493;-1:-1:-1;;;;;;29867:64:5;-1:-1:-1;;;29867:64:5;;-1:-1:-1;29707:493:5;29533:673;;;;;;:::o;2983:148:4:-;3077:13;3116:7;3109:14;;;;;:::i;47933:1708:5:-;47998:17;48426:4;48419;48413:11;48409:22;48516:1;48510:4;48503:15;48589:4;48586:1;48582:12;48575:19;;;48669:1;48664:3;48657:14;48770:3;49004:5;48986:419;49051:1;49046:3;49042:11;49035:18;;49219:2;49213:4;49209:13;49205:2;49201:22;49196:3;49188:36;49311:2;49301:13;;49366:25;48986:419;49366:25;-1:-1:-1;49433:13:5;;;-1:-1:-1;;49546:14:5;;;49606:19;;;49546:14;47933:1708;-1:-1:-1;47933:1708:5:o;1902:154:3:-;1993:4;2045;2016:25;2029:5;2036:4;2016:12;:25::i;:::-;:33;;1902:154;-1:-1:-1;;;;1902:154:3:o;2457:308::-;2540:7;2582:4;2540:7;2596:134;2620:5;:12;2616:1;:16;2596:134;;;2668:51;2696:12;2710:5;2716:1;2710:8;;;;;;;;:::i;:::-;;;;;;;2668:27;:51::i;:::-;2653:66;-1:-1:-1;2634:3:3;;2596:134;;;-1:-1:-1;2746:12:3;2457:308;-1:-1:-1;;;2457:308:3:o;504:169:2:-;579:7;609:1;605;:5;:61;;866:13;930:15;;;965:4;958:15;;;1011:4;995:21;;605:61;;;-1:-1:-1;866:13:2;930:15;;;965:4;958:15;1011:4;995:21;;;504:169::o;14:131:7:-;-1:-1:-1;;;;;;88:32:7;;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:300::-;645:3;683:5;677:12;710:6;705:3;698:19;766:6;759:4;752:5;748:16;741:4;736:3;732:14;726:47;818:1;811:4;802:6;797:3;793:16;789:27;782:38;881:4;874:2;870:7;865:2;857:6;853:15;849:29;844:3;840:39;836:50;829:57;;;592:300;;;;:::o;897:231::-;1046:2;1035:9;1028:21;1009:4;1066:56;1118:2;1107:9;1103:18;1095:6;1066:56;:::i;1133:226::-;1192:6;1245:2;1233:9;1224:7;1220:23;1216:32;1213:52;;;1261:1;1258;1251:12;1213:52;-1:-1:-1;1306:23:7;;1133:226;-1:-1:-1;1133:226:7:o;1572:173::-;1640:20;;-1:-1:-1;;;;;1689:31:7;;1679:42;;1669:70;;1735:1;1732;1725:12;1750:300;1818:6;1826;1879:2;1867:9;1858:7;1854:23;1850:32;1847:52;;;1895:1;1892;1885:12;1847:52;1918:29;1937:9;1918:29;:::i;:::-;1908:39;2016:2;2001:18;;;;1988:32;;-1:-1:-1;;;1750:300:7:o;2237:374::-;2314:6;2322;2330;2383:2;2371:9;2362:7;2358:23;2354:32;2351:52;;;2399:1;2396;2389:12;2351:52;2422:29;2441:9;2422:29;:::i;:::-;2412:39;;2470:38;2504:2;2493:9;2489:18;2470:38;:::i;:::-;2237:374;;2460:48;;-1:-1:-1;;;2577:2:7;2562:18;;;;2549:32;;2237:374::o;2798:127::-;2859:10;2854:3;2850:20;2847:1;2840:31;2890:4;2887:1;2880:15;2914:4;2911:1;2904:15;2930:716;2995:5;3027:1;3051:18;3043:6;3040:30;3037:56;;;3073:18;;:::i;:::-;-1:-1:-1;3228:2:7;3222:9;-1:-1:-1;;3141:2:7;3120:15;;3116:29;;3286:2;3274:15;3270:29;3258:42;;3351:22;;;3330:18;3315:34;;3312:62;3309:88;;;3377:18;;:::i;:::-;3413:2;3406:22;3461;;;3446:6;-1:-1:-1;3446:6:7;3498:16;;;3495:25;-1:-1:-1;3492:45:7;;;3533:1;3530;3523:12;3492:45;3583:6;3578:3;3571:4;3563:6;3559:17;3546:44;3638:1;3631:4;3622:6;3614;3610:19;3606:30;3599:41;;2930:716;;;;;:::o;3651:451::-;3720:6;3773:2;3761:9;3752:7;3748:23;3744:32;3741:52;;;3789:1;3786;3779:12;3741:52;3829:9;3816:23;3862:18;3854:6;3851:30;3848:50;;;3894:1;3891;3884:12;3848:50;3917:22;;3970:4;3962:13;;3958:27;-1:-1:-1;3948:55:7;;3999:1;3996;3989:12;3948:55;4022:74;4088:7;4083:2;4070:16;4065:2;4061;4057:11;4022:74;:::i;4107:186::-;4166:6;4219:2;4207:9;4198:7;4194:23;4190:32;4187:52;;;4235:1;4232;4225:12;4187:52;4258:29;4277:9;4258:29;:::i;4483:160::-;4548:20;;4604:13;;4597:21;4587:32;;4577:60;;4633:1;4630;4623:12;4648:180;4704:6;4757:2;4745:9;4736:7;4732:23;4728:32;4725:52;;;4773:1;4770;4763:12;4725:52;4796:26;4812:9;4796:26;:::i;4833:367::-;4896:8;4906:6;4960:3;4953:4;4945:6;4941:17;4937:27;4927:55;;4978:1;4975;4968:12;4927:55;-1:-1:-1;5001:20:7;;5044:18;5033:30;;5030:50;;;5076:1;5073;5066:12;5030:50;5113:4;5105:6;5101:17;5089:29;;5173:3;5166:4;5156:6;5153:1;5149:14;5141:6;5137:27;5133:38;5130:47;5127:67;;;5190:1;5187;5180:12;5127:67;4833:367;;;;;:::o;5205:625::-;5309:6;5317;5325;5333;5386:2;5374:9;5365:7;5361:23;5357:32;5354:52;;;5402:1;5399;5392:12;5354:52;5447:23;;;-1:-1:-1;5545:2:7;5530:18;;5517:32;5572:18;5561:30;;5558:50;;;5604:1;5601;5594:12;5558:50;5643:70;5705:7;5696:6;5685:9;5681:22;5643:70;:::i;:::-;5732:8;;-1:-1:-1;5617:96:7;-1:-1:-1;5786:38:7;;-1:-1:-1;5820:2:7;5805:18;;5786:38;:::i;:::-;5776:48;;5205:625;;;;;;;:::o;5835:254::-;5900:6;5908;5961:2;5949:9;5940:7;5936:23;5932:32;5929:52;;;5977:1;5974;5967:12;5929:52;6000:29;6019:9;6000:29;:::i;:::-;5990:39;;6048:35;6079:2;6068:9;6064:18;6048:35;:::i;:::-;6038:45;;5835:254;;;;;:::o;6094:713::-;6189:6;6197;6205;6213;6266:3;6254:9;6245:7;6241:23;6237:33;6234:53;;;6283:1;6280;6273:12;6234:53;6306:29;6325:9;6306:29;:::i;:::-;6296:39;;6354:38;6388:2;6377:9;6373:18;6354:38;:::i;:::-;6344:48;-1:-1:-1;6461:2:7;6446:18;;6433:32;;-1:-1:-1;6540:2:7;6525:18;;6512:32;6567:18;6556:30;;6553:50;;;6599:1;6596;6589:12;6553:50;6622:22;;6675:4;6667:13;;6663:27;-1:-1:-1;6653:55:7;;6704:1;6701;6694:12;6653:55;6727:74;6793:7;6788:2;6775:16;6770:2;6766;6762:11;6727:74;:::i;:::-;6717:84;;;6094:713;;;;;;;:::o;6812:511::-;6907:6;6915;6923;6976:2;6964:9;6955:7;6951:23;6947:32;6944:52;;;6992:1;6989;6982:12;6944:52;7032:9;7019:23;7065:18;7057:6;7054:30;7051:50;;;7097:1;7094;7087:12;7051:50;7136:70;7198:7;7189:6;7178:9;7174:22;7136:70;:::i;:::-;7225:8;;-1:-1:-1;7110:96:7;-1:-1:-1;7279:38:7;;-1:-1:-1;7313:2:7;7298:18;;7279:38;:::i;:::-;7269:48;;6812:511;;;;;:::o;7328:260::-;7396:6;7404;7457:2;7445:9;7436:7;7432:23;7428:32;7425:52;;;7473:1;7470;7463:12;7425:52;7496:29;7515:9;7496:29;:::i;:::-;7486:39;;7544:38;7578:2;7567:9;7563:18;7544:38;:::i;7593:380::-;7672:1;7668:12;;;;7715;;;7736:61;;7790:4;7782:6;7778:17;7768:27;;7736:61;7843:2;7835:6;7832:14;7812:18;7809:38;7806:161;;7889:10;7884:3;7880:20;7877:1;7870:31;7924:4;7921:1;7914:15;7952:4;7949:1;7942:15;7806:161;;7593:380;;;:::o;7978:127::-;8039:10;8034:3;8030:20;8027:1;8020:31;8070:4;8067:1;8060:15;8094:4;8091:1;8084:15;8110:125;8175:9;;;8196:10;;;8193:36;;;8209:18;;:::i;8240:407::-;8442:2;8424:21;;;8481:2;8461:18;;;8454:30;8520:34;8515:2;8500:18;;8493:62;-1:-1:-1;;;8586:2:7;8571:18;;8564:41;8637:3;8622:19;;8240:407::o;9461:168::-;9534:9;;;9565;;9582:15;;;9576:22;;9562:37;9552:71;;9603:18;;:::i;10665:518::-;10767:2;10762:3;10759:11;10756:421;;;10803:5;10800:1;10793:16;10847:4;10844:1;10834:18;10917:2;10905:10;10901:19;10898:1;10894:27;10888:4;10884:38;10953:4;10941:10;10938:20;10935:47;;;-1:-1:-1;10976:4:7;10935:47;11031:2;11026:3;11022:12;11019:1;11015:20;11009:4;11005:31;10995:41;;11086:81;11104:2;11097:5;11094:13;11086:81;;;11163:1;11149:16;;11130:1;11119:13;11086:81;;;11090:3;;10665:518;;;:::o;11359:1299::-;11485:3;11479:10;11512:18;11504:6;11501:30;11498:56;;;11534:18;;:::i;:::-;11563:97;11653:6;11613:38;11645:4;11639:11;11613:38;:::i;:::-;11607:4;11563:97;:::i;:::-;11709:4;11740:2;11729:14;;11757:1;11752:649;;;;12445:1;12462:6;12459:89;;;-1:-1:-1;12514:19:7;;;12508:26;12459:89;-1:-1:-1;;11316:1:7;11312:11;;;11308:24;11304:29;11294:40;11340:1;11336:11;;;11291:57;12561:81;;11722:930;;11752:649;10612:1;10605:14;;;10649:4;10636:18;;-1:-1:-1;;11788:20:7;;;11906:222;11920:7;11917:1;11914:14;11906:222;;;12002:19;;;11996:26;11981:42;;12109:4;12094:20;;;;12062:1;12050:14;;;;11936:12;11906:222;;;11910:3;12156:6;12147:7;12144:19;12141:201;;;12217:19;;;12211:26;-1:-1:-1;;12300:1:7;12296:14;;;12312:3;12292:24;12288:37;12284:42;12269:58;12254:74;;12141:201;-1:-1:-1;;;;12388:1:7;12372:14;;;12368:22;12355:36;;-1:-1:-1;11359:1299:7:o;13838:212::-;13880:3;13918:5;13912:12;13962:6;13955:4;13948:5;13944:16;13939:3;13933:36;14024:1;13988:16;;14013:13;;;-1:-1:-1;13988:16:7;;13838:212;-1:-1:-1;13838:212:7:o;14055:267::-;14234:3;14259:57;14285:30;14311:3;14303:6;14285:30;:::i;:::-;14277:6;14259:57;:::i;14561:136::-;14600:3;14628:5;14618:39;;14637:18;;:::i;:::-;-1:-1:-1;;;14673:18:7;;14561:136::o;15060:496::-;-1:-1:-1;;;;;15291:32:7;;;15273:51;;15360:32;;15355:2;15340:18;;15333:60;15424:2;15409:18;;15402:34;;;15472:3;15467:2;15452:18;;15445:31;;;-1:-1:-1;;15493:57:7;;15530:19;;15522:6;15493:57;:::i;:::-;15485:65;15060:496;-1:-1:-1;;;;;;15060:496:7:o;15561:249::-;15630:6;15683:2;15671:9;15662:7;15658:23;15654:32;15651:52;;;15699:1;15696;15689:12;15651:52;15731:9;15725:16;15750:30;15774:5;15750:30;:::i;15815:127::-;15876:10;15871:3;15867:20;15864:1;15857:31;15907:4;15904:1;15897:15;15931:4;15928:1;15921:15

Swarm Source

ipfs://5994587972ab762badd7ad5a68006dbcc111819fdcd501fa6f659823528f17e6

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