ETH Price: $3,454.01 (+1.63%)

Token

Simpson Punk (SIMPUNK)
 

Overview

Max Total Supply

1,789 SIMPUNK

Holders

656

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 SIMPUNK
0xfc7e814e59988ebba857b51d2c60414b25f364fb
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SimpsonPunks

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-11-19
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


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

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



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

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

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

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

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

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

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

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

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

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

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

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

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

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

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

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

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

// File: contracts/Simpunks.sol



pragma solidity >=0.7.0 <0.9.0;






contract SimpsonPunks is ERC721A, Ownable, ReentrancyGuard, ERC2981 {
    string public baseURI;
    string public notRevealedUri;
    uint256 public cost = 0.0033 ether;
    uint256 public wlcost = 0.0022 ether;
    uint256 public upgradecost = 0.001 ether;
    uint256 public maxSupply = 5500;
    uint256 public wlSupply = 2500;
    uint256 public MaxperWallet = 3;
    uint256 public MaxperWalletWl = 3;
    bool public paused = false;
    bool public revealed = false;
    bool public preSale = false;
    bool public publicSale = false;
    bool public upgradeEnabled = false;
    bytes32 public merkleRoot;
    bytes32 public upgradeRoot;
    mapping(address => uint256) public PublicMintofUser;
    mapping(address => uint256) public WhitelistedMintofUser;
    mapping(address => bool) public isMintedForFree;
    mapping(uint256 => string) public NFTV2URI;

   constructor(address _owner) ERC721A ("Simpson Punk", "SIMPUNK") Ownable(_owner) {
_safeMint(_owner, 100);
}

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

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

    /// @dev Public mint
    function mint(uint256 tokens) public payable nonReentrant {
        require(!paused, "Sale is paused");
        require(publicSale, "Public Sale Hasn't started yet");
        require(tokens <= MaxperWallet, "max mint amount per tx exceeded");
        require(totalSupply() + tokens <= maxSupply, "Soldout");
        require(
            PublicMintofUser[_msgSenderERC721A()] + tokens <= MaxperWallet,
            "Max NFT Per Wallet exceeded"
        );
        require(msg.value >= cost * tokens, "insufficient funds");

        PublicMintofUser[_msgSenderERC721A()] += tokens;
        _safeMint(_msgSenderERC721A(), tokens);
    }

    /// @dev presale mint for whitelisted users
    function presalemint(uint256 tokens, bytes32[] calldata merkleProof)
        public
        payable
        nonReentrant
    {
        require(!paused, "Sale is paused");
        require(preSale, "Presale Hasn't started yet");
        require(
            MerkleProof.verify(
                merkleProof,
                merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "You are not Whitelisted"
        );
        require(
            WhitelistedMintofUser[_msgSenderERC721A()] + tokens <=
                MaxperWalletWl,
            "Max NFT Per Wallet exceeded"
        );
        require(tokens <= MaxperWalletWl, "max mint per Tx exceeded");
        require(
            totalSupply() + tokens <= wlSupply,
            "Whitelist MaxSupply exceeded"
        );

        if (!isMintedForFree[_msgSenderERC721A()]) {
            uint256 pricetopay = tokens - 1;
            require(msg.value >= wlcost * pricetopay, "insufficient funds");
            isMintedForFree[_msgSenderERC721A()] = true;
        } else {
            require(msg.value >= wlcost * tokens, "insufficient funds");
        }

        WhitelistedMintofUser[_msgSenderERC721A()] += tokens;
        _safeMint(_msgSenderERC721A(), tokens);
    }

    /// @dev Upgrade
    function upgrade(
        uint256 tokenId,
        string calldata strtokenId,
        string calldata newcid,
        bytes32[] calldata upgradeProof
    ) public payable nonReentrant {
        require(!paused, "Sale is paused");
        require(upgradeEnabled, "Upgrade Phase Hasn't started yet");
        require(ownerOf(tokenId) == _msgSenderERC721A(), "Not the Owner");
        require(msg.value >= upgradecost, "insufficient funds");
        require(
            MerkleProof.verify(
                upgradeProof,
                upgradeRoot,
                keccak256(abi.encodePacked(strtokenId))
            ),
            "You are not Authriozed"
        );
        NFTV2URI[tokenId] = newcid;
    }

    /// @dev use it for giveaway and team mint
    function airdrop(uint256 _mintAmount, address[] calldata destination)
        public
        onlyOwner
        nonReentrant
    {
        uint256 totalnft = _mintAmount * destination.length;
        require(
            totalSupply() + totalnft <= maxSupply,
            "max NFT limit exceeded"
        );
        for (uint256 i = 0; i < destination.length; i++) {
            _safeMint(destination[i], _mintAmount);
        }
    }

    function adminUpgrade(uint256 tokenId, string calldata newcid)
        public
        onlyOwner
        nonReentrant
    {
        require(!paused, "Sale is paused");
        NFTV2URI[tokenId] = newcid;
    }

    /// @notice returns metadata link of tokenid
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721AMetadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return notRevealedUri;
        }
        if (upgradeEnabled && bytes(NFTV2URI[tokenId]).length > 0) {
            string memory currentBaseURI = NFTV2URI[tokenId];
            return
                bytes(currentBaseURI).length > 0
                    ? string(abi.encodePacked("ipfs://", currentBaseURI))
                    : "";
        } else {
            string memory currentBaseURI = _baseURI();
            return
                bytes(currentBaseURI).length > 0
                    ? string(
                        abi.encodePacked(
                            currentBaseURI,
                            _toString(tokenId),
                            ".json"
                        )
                    )
                    : "";
        }
    }

    /// @notice return the total number minted by an address
    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    /// @notice return all tokens owned by an address
    function tokensOfOwner(address owner)
        public
        view
        returns (uint256[] memory)
    {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (
                uint256 i = _startTokenId();
                tokenIdsIdx != tokenIdsLength;
                ++i
            ) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }

    /// @dev to reveal collection, true for reveal
    function reveal(bool _state) public onlyOwner {
        revealed = _state;
    }

    /// @dev change the merkle root for the whitelist phase
    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    /// @dev change the merkle root for the upgrade phase
    function setupgradeRoot(bytes32 _merkleRoot) external onlyOwner {
        upgradeRoot = _merkleRoot;
    }

    /// @dev change the public max per wallet
    function setMaxPerWallet(uint256 _limit) public onlyOwner {
        MaxperWallet = _limit;
    }

    /// @dev change the whitelist max per wallet
    function setWlMaxPerWallet(uint256 _limit) public onlyOwner {
        MaxperWalletWl = _limit;
    }

    /// @dev change the public price(amount need to be in wei)
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    /// @dev change the whitelist price(amount need to be in wei)
    function setWlCost(uint256 _newWlCost) public onlyOwner {
        wlcost = _newWlCost;
    }

    /// @dev change the upgrade cost(amount need to be in wei)
    function setupgradeCost(uint256 _newCost) public onlyOwner {
        upgradecost = _newCost;
    }

    /// @dev cut the supply if we dont sold out
    function setMaxsupply(uint256 _newsupply) public onlyOwner {
        maxSupply = _newsupply;
    }

    /// @dev cut the supply if we dont sold out
    function setWlsupply(uint256 _newsupply) public onlyOwner {
        wlSupply = _newsupply;
    }

    /// @dev set your baseuri
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    /// @dev set hidden uri
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    /// @dev to pause and unpause your contract(use booleans true or false)
    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    /// @dev activate whitelist sale(use booleans true or false)
    function togglepreSale(bool _state) external onlyOwner {
        preSale = _state;
    }

    /// @dev activate public sale(use booleans true or false)
    function togglepublicSale(bool _state) external onlyOwner {
        publicSale = _state;
    }

    /// @dev activate Upgrading NFTs(use booleans true or false)
    function toggleUpgrade(bool _state) external onlyOwner {
        upgradeEnabled = _state;
    }

    /// @dev withdraw funds from contract
    function withdraw() public payable onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        payable(_msgSenderERC721A()).transfer(balance);
    }

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

    /// @dev set royalty %, eg. 500 = 5%
    function setRoyaltyInfo(address _receiver, uint96 _feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function deleteRoyalty() external onlyOwner {
        _deleteDefaultRoyalty();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxperWalletWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"NFTV2URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PublicMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistedMintofUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newcid","type":"string"}],"name":"adminUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"destination","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMintedForFree","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":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"presalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWlCost","type":"uint256"}],"name":"setWlCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWlMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setWlsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setupgradeCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setupgradeRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"toggleUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglepreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglepublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"strtokenId","type":"string"},{"internalType":"string","name":"newcid","type":"string"},{"internalType":"bytes32[]","name":"upgradeProof","type":"bytes32[]"}],"name":"upgrade","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"upgradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"upgradeRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"upgradecost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlcost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052660bb9551fc24000600e556607d0e36a818000600f5566038d7ea4c6800060105561157c6011556109c4601255600360138190556014556015805464ffffffffff1916905534801562000055575f80fd5b5060405162003455380380620034558339810160408190526200007891620003e9565b806040518060400160405280600c81526020016b53696d70736f6e2050756e6b60a01b8152506040518060400160405280600781526020016653494d50554e4b60c81b8152508160029081620000cf9190620004b7565b506003620000de8282620004b7565b5060015f5550506001600160a01b0381166200011357604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6200011e8162000138565b5060016009556200013181606462000189565b5062000618565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620001aa828260405180602001604052805f815250620001ae60201b60201c565b5050565b620001ba838362000221565b6001600160a01b0383163b156200021c575f548281035b6001810190620001e6905f90879086620002f9565b62000204576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001d157815f541462000219575f80fd5b50505b505050565b5f805490829003620002465760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083905f80516020620034358339815191528180a4600183015b818114620002d05780835f5f80516020620034358339815191525f80a4600101620002aa565b50815f03620002f157604051622e076360e81b815260040160405180910390fd5b5f5550505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906200032f9033908990889088906004016200057f565b6020604051808303815f875af19250505080156200036c575060408051601f3d908101601f191682019092526200036991810190620005ef565b60015b620003cc573d8080156200039c576040519150601f19603f3d011682016040523d82523d5f602084013e620003a1565b606091505b5080515f03620003c4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b5f60208284031215620003fa575f80fd5b81516001600160a01b038116811462000411575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200044157607f821691505b6020821081036200046057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200021c575f81815260208120601f850160051c810160208610156200048e5750805b601f850160051c820191505b81811015620004af578281556001016200049a565b505050505050565b81516001600160401b03811115620004d357620004d362000418565b620004eb81620004e484546200042c565b8462000466565b602080601f83116001811462000521575f8415620005095750858301515b5f19600386901b1c1916600185901b178555620004af565b5f85815260208120601f198616915b82811015620005515788860151825594840194600190910190840162000530565b50858210156200056f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f60018060a01b03808716835260208187168185015285604085015260806060850152845191508160808501525f5b82811015620005cc5785810182015185820160a001528101620005ae565b50505f60a0828501015260a0601f19601f83011684010191505095945050505050565b5f6020828403121562000600575f80fd5b81516001600160e01b03198116811462000411575f80fd5b612e0f80620006265f395ff3fe6080604052600436106103b2575f3560e01c80637cb64759116101e9578063c87b56dd11610108578063f2c4ce1e1161009d578063f6d6b3651161006d578063f6d6b36514610a7a578063fd571e0914610a99578063fea0e05814610ab8578063fff8d2fc14610ad7575f80fd5b8063f2c4ce1e146109fe578063f2fde38b14610a1d578063f3257cdd14610a3c578063f5eb8ec514610a5b575f80fd5b8063e268e4d3116100d8578063e268e4d31461098e578063e84b607f146109ad578063e985e9c5146109c0578063f12f6d5d146109df575f80fd5b8063c87b56dd14610926578063cf984f2214610945578063d5abeb011461095a578063dc33e6811461096f575f80fd5b8063a0712d681161017e578063b88d4fde1161014e578063b88d4fde146108c0578063bd7a1998146108d3578063bde0608a146108e8578063bdf7a8e614610907575f80fd5b8063a0712d681461085a578063a22cb4651461086d578063a28ada571461088c578063ac1bcec6146108ab575f80fd5b80638cf0e21e116101b95780638cf0e21e146107e95780638da5cb5b1461080a578063940cd05b1461082757806395d89b4114610846575f80fd5b80637cb647591461075f578063827852141461077e5780638462151c146107925780638b14966b146107be575f80fd5b806331940f3f116102d55780635a7adf7f1161026a5780636c0360eb1161023a5780636c0360eb146107035780636c2d3c4f1461071757806370a082311461072c578063715018a61461074b575f80fd5b80635a7adf7f1461068d5780635c975abb146106ac5780636352211e146106c55780636741f8e0146106e4575f80fd5b806344a0d68a116102a557806344a0d68a146106125780634874a75d14610631578063518302271461065057806355f804b31461066e575f80fd5b806331940f3f146105a957806333bc1c5c146105d75780633ccfd60b146105f757806342842e0e146105ff575f80fd5b8063095ea7b31161034b57806318160ddd1161031b57806318160ddd1461052857806323b872dd146105435780632a55205a146105565780632eb4a7ab14610594575f80fd5b8063095ea7b3146104cc5780630fe8418b146104df57806313faede6146104f4578063149835a014610509575f80fd5b8063036e4cb511610386578063036e4cb51461044d57806306fdde0314610460578063081812fc14610481578063081c8c44146104b8575f80fd5b806277ec05146103b657806301ffc9a7146103de57806302329a291461040d57806302fa7c471461042e575b5f80fd5b3480156103c1575f80fd5b506103cb60145481565b6040519081526020015b60405180910390f35b3480156103e9575f80fd5b506103fd6103f8366004612513565b610b02565b60405190151581526020016103d5565b348015610418575f80fd5b5061042c61042736600461253d565b610b21565b005b348015610439575f80fd5b5061042c61044836600461256c565b610b3c565b61042c61045b3660046125ec565b610b52565b34801561046b575f80fd5b50610474610ea1565b6040516103d59190612680565b34801561048c575f80fd5b506104a061049b366004612692565b610f31565b6040516001600160a01b0390911681526020016103d5565b3480156104c3575f80fd5b50610474610f73565b61042c6104da3660046126a9565b610fff565b3480156104ea575f80fd5b506103cb60125481565b3480156104ff575f80fd5b506103cb600e5481565b348015610514575f80fd5b5061042c610523366004612692565b61109d565b348015610533575f80fd5b506103cb6001545f54035f190190565b61042c6105513660046126d1565b6110aa565b348015610561575f80fd5b5061057561057036600461270a565b61123a565b604080516001600160a01b0390931683526020830191909152016103d5565b34801561059f575f80fd5b506103cb60165481565b3480156105b4575f80fd5b506103fd6105c336600461272a565b601a6020525f908152604090205460ff1681565b3480156105e2575f80fd5b506015546103fd906301000000900460ff1681565b61042c6112e6565b61042c61060d3660046126d1565b611330565b34801561061d575f80fd5b5061042c61062c366004612692565b61134a565b34801561063c575f80fd5b5061047461064b366004612692565b611357565b34801561065b575f80fd5b506015546103fd90610100900460ff1681565b348015610679575f80fd5b5061042c6106883660046127c9565b61136f565b348015610698575f80fd5b506015546103fd9062010000900460ff1681565b3480156106b7575f80fd5b506015546103fd9060ff1681565b3480156106d0575f80fd5b506104a06106df366004612692565b611383565b3480156106ef575f80fd5b5061042c6106fe366004612692565b61138d565b34801561070e575f80fd5b5061047461139a565b348015610722575f80fd5b506103cb600f5481565b348015610737575f80fd5b506103cb61074636600461272a565b6113a7565b348015610756575f80fd5b5061042c6113f3565b34801561076a575f80fd5b5061042c610779366004612692565b611404565b348015610789575f80fd5b5061042c611411565b34801561079d575f80fd5b506107b16107ac36600461272a565b611422565b6040516103d5919061280d565b3480156107c9575f80fd5b506103cb6107d836600461272a565b60196020525f908152604090205481565b3480156107f4575f80fd5b506015546103fd90640100000000900460ff1681565b348015610815575f80fd5b506008546001600160a01b03166104a0565b348015610832575f80fd5b5061042c61084136600461253d565b611526565b348015610851575f80fd5b50610474611548565b61042c610868366004612692565b611557565b348015610878575f80fd5b5061042c610887366004612844565b611755565b348015610897575f80fd5b5061042c6108a6366004612692565b6117c0565b3480156108b6575f80fd5b506103cb60175481565b61042c6108ce366004612875565b6117cd565b3480156108de575f80fd5b506103cb60135481565b3480156108f3575f80fd5b5061042c610902366004612692565b611817565b348015610912575f80fd5b5061042c6109213660046125ec565b611824565b348015610931575f80fd5b50610474610940366004612692565b6118fd565b348015610950575f80fd5b506103cb60105481565b348015610965575f80fd5b506103cb60115481565b34801561097a575f80fd5b506103cb61098936600461272a565b611b67565b348015610999575f80fd5b5061042c6109a8366004612692565b611b90565b61042c6109bb366004612928565b611b9d565b3480156109cb575f80fd5b506103fd6109da3660046129c3565b611d52565b3480156109ea575f80fd5b5061042c6109f9366004612692565b611d7f565b348015610a09575f80fd5b5061042c610a183660046127c9565b611d8c565b348015610a28575f80fd5b5061042c610a3736600461272a565b611da0565b348015610a47575f80fd5b5061042c610a5636600461253d565b611dda565b348015610a66575f80fd5b5061042c610a7536600461253d565b611e00565b348015610a85575f80fd5b5061042c610a943660046129eb565b611e28565b348015610aa4575f80fd5b5061042c610ab3366004612692565b611e7e565b348015610ac3575f80fd5b5061042c610ad236600461253d565b611e8b565b348015610ae2575f80fd5b506103cb610af136600461272a565b60186020525f908152604090205481565b5f610b0c82611eaf565b80610b1b5750610b1b82611efc565b92915050565b610b29611f30565b6015805460ff1916911515919091179055565b610b44611f30565b610b4e8282611f5d565b5050565b610b5a611fff565b60155460ff1615610b865760405162461bcd60e51b8152600401610b7d90612a25565b60405180910390fd5b60155462010000900460ff16610bde5760405162461bcd60e51b815260206004820152601a60248201527f50726573616c65204861736e27742073746172746564207965740000000000006044820152606401610b7d565b610c538282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120612058565b610c9f5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742057686974656c69737465640000000000000000006044820152606401610b7d565b601454335f90815260196020526040902054610cbc908590612a61565b1115610d0a5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204e4654205065722057616c6c657420657863656564656400000000006044820152606401610b7d565b601454831115610d5c5760405162461bcd60e51b815260206004820152601860248201527f6d6178206d696e742070657220547820657863656564656400000000000000006044820152606401610b7d565b60125483610d6f6001545f54035f190190565b610d799190612a61565b1115610dc75760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c79206578636565646564000000006044820152606401610b7d565b335f908152601a602052604090205460ff16610e37575f610de9600185612a74565b905080600f54610df99190612a87565b341015610e185760405162461bcd60e51b8152600401610b7d90612a9e565b50335f908152601a60205260409020805460ff19166001179055610e64565b82600f54610e459190612a87565b341015610e645760405162461bcd60e51b8152600401610b7d90612a9e565b335f9081526019602052604081208054859290610e82908490612a61565b90915550610e929050338461206d565b610e9c6001600955565b505050565b606060028054610eb090612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc90612aca565b8015610f275780601f10610efe57610100808354040283529160200191610f27565b820191905f5260205f20905b815481529060010190602001808311610f0a57829003601f168201915b5050505050905090565b5f610f3b82612086565b610f58576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b600d8054610f8090612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054610fac90612aca565b8015610ff75780601f10610fce57610100808354040283529160200191610ff7565b820191905f5260205f20905b815481529060010190602001808311610fda57829003601f168201915b505050505081565b5f61100982611383565b9050336001600160a01b03821614611042576110258133611d52565b611042576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6110a5611f30565b601155565b5f6110b4826120b8565b9050836001600160a01b0316816001600160a01b0316146110e75760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417611133576111168633611d52565b61113357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661115a57604051633a954ecd60e21b815260040160405180910390fd5b8015611164575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036111f057600184015f8181526004602052604081205490036111ee575f5481146111ee575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916112ae575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906112cc906001600160601b031687612a87565b6112d69190612b02565b91519350909150505b9250929050565b6112ee611f30565b6112f6611fff565b6040514790339082156108fc029083905f818181858888f19350505050158015611322573d5f803e3d5ffd5b505061132e6001600955565b565b610e9c83838360405180602001604052805f8152506117cd565b611352611f30565b600e55565b601b6020525f908152604090208054610f8090612aca565b611377611f30565b600c610b4e8282612b66565b5f610b1b826120b8565b611395611f30565b601755565b600c8054610f8090612aca565b5f6001600160a01b0382166113cf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6113fb611f30565b61132e5f612121565b61140c611f30565b601655565b611419611f30565b61132e5f600a55565b60605f805f611430856113a7565b90505f816001600160401b0381111561144b5761144b612743565b604051908082528060200260200182016040528015611474578160200160208202803683370190505b5090506114a0604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b83861461151a576114b381612172565b915081604001516115125781516001600160a01b0316156114d357815194505b876001600160a01b0316856001600160a01b031603611512578083878060010198508151811061150557611505612c21565b6020026020010181815250505b6001016114a3565b50909695505050505050565b61152e611f30565b601580549115156101000261ff0019909216919091179055565b606060038054610eb090612aca565b61155f611fff565b60155460ff16156115825760405162461bcd60e51b8152600401610b7d90612a25565b6015546301000000900460ff166115db5760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632053616c65204861736e277420737461727465642079657400006044820152606401610b7d565b60135481111561162d5760405162461bcd60e51b815260206004820152601f60248201527f6d6178206d696e7420616d6f756e7420706572207478206578636565646564006044820152606401610b7d565b601154816116406001545f54035f190190565b61164a9190612a61565b11156116825760405162461bcd60e51b815260206004820152600760248201526614dbdb191bdd5d60ca1b6044820152606401610b7d565b601354335f9081526018602052604090205461169f908390612a61565b11156116ed5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204e4654205065722057616c6c657420657863656564656400000000006044820152606401610b7d565b80600e546116fb9190612a87565b34101561171a5760405162461bcd60e51b8152600401610b7d90612a9e565b335f9081526018602052604081208054839290611738908490612a61565b909155506117489050338261206d565b6117526001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117c8611f30565b601055565b6117d88484846110aa565b6001600160a01b0383163b15611811576117f4848484846121ee565b611811576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61181f611f30565b601455565b61182c611f30565b611834611fff565b5f61183f8285612a87565b9050601154816118546001545f54035f190190565b61185e9190612a61565b11156118a55760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b7d565b5f5b828110156118f1576118df8484838181106118c4576118c4612c21565b90506020020160208101906118d9919061272a565b8661206d565b806118e981612c35565b9150506118a7565b5050610e9c6001600955565b606061190882612086565b61196d5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610b7d565b601554610100900460ff1615155f03611a1057600d805461198d90612aca565b80601f01602080910402602001604051908101604052809291908181526020018280546119b990612aca565b8015611a045780601f106119db57610100808354040283529160200191611a04565b820191905f5260205f20905b8154815290600101906020018083116119e757829003601f168201915b50505050509050919050565b601554640100000000900460ff168015611a4157505f828152601b602052604081208054611a3d90612aca565b9050115b15611b20575f828152601b602052604081208054611a5e90612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8a90612aca565b8015611ad55780601f10611aac57610100808354040283529160200191611ad5565b820191905f5260205f20905b815481529060010190602001808311611ab857829003601f168201915b505050505090505f815111611af85760405180602001604052805f815250611b19565b80604051602001611b099190612c4d565b6040516020818303038152906040525b9392505050565b5f611b296122d6565b90505f815111611b475760405180602001604052805f815250611b19565b80611b51846122e5565b604051602001611b09929190612c7b565b919050565b6001600160a01b0381165f90815260056020526040808220546001600160401b03911c16610b1b565b611b98611f30565b601355565b611ba5611fff565b60155460ff1615611bc85760405162461bcd60e51b8152600401610b7d90612a25565b601554640100000000900460ff16611c225760405162461bcd60e51b815260206004820181905260248201527f55706772616465205068617365204861736e27742073746172746564207965746044820152606401610b7d565b33611c2c88611383565b6001600160a01b031614611c725760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329027bbb732b960991b6044820152606401610b7d565b601054341015611c945760405162461bcd60e51b8152600401610b7d90612a9e565b611ce18282808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601754604051909250610c3891508a908a90602001612cb9565b611d265760405162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08105d5d1a1c9a5bde995960521b6044820152606401610b7d565b5f878152601b60205260409020611d3e848683612cc8565b50611d496001600955565b50505050505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611d87611f30565b600f55565b611d94611f30565b600d610b4e8282612b66565b611da8611f30565b6001600160a01b038116611dd157604051631e4fbdf760e01b81525f6004820152602401610b7d565b61175281612121565b611de2611f30565b6015805491151563010000000263ff00000019909216919091179055565b611e08611f30565b601580549115156401000000000264ff0000000019909216919091179055565b611e30611f30565b611e38611fff565b60155460ff1615611e5b5760405162461bcd60e51b8152600401610b7d90612a25565b5f838152601b60205260409020611e73828483612cc8565b50610e9c6001600955565b611e86611f30565b601255565b611e93611f30565b60158054911515620100000262ff000019909216919091179055565b5f6301ffc9a760e01b6001600160e01b031983161480611edf57506380ac58cd60e01b6001600160e01b03198316145b80610b1b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610b1b57506301ffc9a760e01b6001600160e01b0319831614610b1b565b6008546001600160a01b0316331461132e5760405163118cdaa760e01b8152336004820152602401610b7d565b6127106001600160601b038216811015611f9c57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610b7d565b6001600160a01b038316611fc557604051635b6cc80560e11b81525f6004820152602401610b7d565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6002600954036120515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b7d565b6002600955565b5f826120648584612328565b14949350505050565b610b4e828260405180602001604052805f815250612374565b5f8160011115801561209857505f5482105b8015610b1b5750505f90815260046020526040902054600160e01b161590565b5f8180600111612108575f54811015612108575f8181526004602052604081205490600160e01b82169003612106575b805f03611b1957505f19015f818152600460205260409020546120e8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610b1b90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612222903390899088908890600401612d82565b6020604051808303815f875af192505050801561225c575060408051601f3d908101601f1916820190925261225991810190612dbe565b60015b6122b8573d808015612289576040519150601f19603f3d011682016040523d82523d5f602084013e61228e565b606091505b5080515f036122b0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c8054610eb090612aca565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806122fe5750819003601f19909101908152919050565b5f81815b845181101561236c576123588286838151811061234b5761234b612c21565b60200260200101516123dd565b91508061236481612c35565b91505061232c565b509392505050565b61237e8383612406565b6001600160a01b0383163b15610e9c575f548281035b6123a65f8683806001019450866121ee565b6123c3576040516368d2bf6b60e11b815260040160405180910390fd5b81811061239457815f54146123d6575f80fd5b5050505050565b5f8183106123f7575f828152602084905260409020611b19565b505f9182526020526040902090565b5f80549082900361242a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146124d65780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016124a0565b50815f036124f657604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114611752575f80fd5b5f60208284031215612523575f80fd5b8135611b19816124fe565b80358015158114611b62575f80fd5b5f6020828403121561254d575f80fd5b611b198261252e565b80356001600160a01b0381168114611b62575f80fd5b5f806040838503121561257d575f80fd5b61258683612556565b915060208301356001600160601b03811681146125a1575f80fd5b809150509250929050565b5f8083601f8401126125bc575f80fd5b5081356001600160401b038111156125d2575f80fd5b6020830191508360208260051b85010111156112df575f80fd5b5f805f604084860312156125fe575f80fd5b8335925060208401356001600160401b0381111561261a575f80fd5b612626868287016125ac565b9497909650939450505050565b5f5b8381101561264d578181015183820152602001612635565b50505f910152565b5f815180845261266c816020860160208601612633565b601f01601f19169290920160200192915050565b602081525f611b196020830184612655565b5f602082840312156126a2575f80fd5b5035919050565b5f80604083850312156126ba575f80fd5b6126c383612556565b946020939093013593505050565b5f805f606084860312156126e3575f80fd5b6126ec84612556565b92506126fa60208501612556565b9150604084013590509250925092565b5f806040838503121561271b575f80fd5b50508035926020909101359150565b5f6020828403121561273a575f80fd5b611b1982612556565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b038084111561277057612770612743565b604051601f8501601f19908116603f0116810190828211818310171561279857612798612743565b816040528093508581528686860111156127b0575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156127d9575f80fd5b81356001600160401b038111156127ee575f80fd5b8201601f810184136127fe575f80fd5b6122ce84823560208401612757565b602080825282518282018190525f9190848201906040850190845b8181101561151a57835183529284019291840191600101612828565b5f8060408385031215612855575f80fd5b61285e83612556565b915061286c6020840161252e565b90509250929050565b5f805f8060808587031215612888575f80fd5b61289185612556565b935061289f60208601612556565b92506040850135915060608501356001600160401b038111156128c0575f80fd5b8501601f810187136128d0575f80fd5b6128df87823560208401612757565b91505092959194509250565b5f8083601f8401126128fb575f80fd5b5081356001600160401b03811115612911575f80fd5b6020830191508360208285010111156112df575f80fd5b5f805f805f805f6080888a03121561293e575f80fd5b8735965060208801356001600160401b038082111561295b575f80fd5b6129678b838c016128eb565b909850965060408a013591508082111561297f575f80fd5b61298b8b838c016128eb565b909650945060608a01359150808211156129a3575f80fd5b506129b08a828b016125ac565b989b979a50959850939692959293505050565b5f80604083850312156129d4575f80fd5b6129dd83612556565b915061286c60208401612556565b5f805f604084860312156129fd575f80fd5b8335925060208401356001600160401b03811115612a19575f80fd5b612626868287016128eb565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610b1b57610b1b612a4d565b81810381811115610b1b57610b1b612a4d565b8082028115828204841417610b1b57610b1b612a4d565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600181811c90821680612ade57607f821691505b602082108103612afc57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f82612b1c57634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610e9c575f81815260208120601f850160051c81016020861015612b475750805b601f850160051c820191505b8181101561123257828155600101612b53565b81516001600160401b03811115612b7f57612b7f612743565b612b9381612b8d8454612aca565b84612b21565b602080601f831160018114612bc6575f8415612baf5750858301515b5f19600386901b1c1916600185901b178555611232565b5f85815260208120601f198616915b82811015612bf457888601518255948401946001909101908401612bd5565b5085821015612c1157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612c4657612c46612a4d565b5060010190565b66697066733a2f2f60c81b81525f8251612c6e816007850160208701612633565b9190910160070192915050565b5f8351612c8c818460208801612633565b835190830190612ca0818360208801612633565b64173539b7b760d91b9101908152600501949350505050565b818382375f9101908152919050565b6001600160401b03831115612cdf57612cdf612743565b612cf383612ced8354612aca565b83612b21565b5f601f841160018114612d24575f8515612d0d5750838201355b5f19600387901b1c1916600186901b1783556123d6565b5f83815260209020601f19861690835b82811015612d545786850135825560209485019460019092019101612d34565b5086821015612d70575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612db490830184612655565b9695505050505050565b5f60208284031215612dce575f80fd5b8151611b19816124fe56fea2646970667358221220ecd74cf5c8c61d1f94d85ae9839a23a93a62682729fd253f03640644f6fc963c64736f6c63430008140033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000a74e02f671e00eefbf4e13d9d89b397523653e67

Deployed Bytecode

0x6080604052600436106103b2575f3560e01c80637cb64759116101e9578063c87b56dd11610108578063f2c4ce1e1161009d578063f6d6b3651161006d578063f6d6b36514610a7a578063fd571e0914610a99578063fea0e05814610ab8578063fff8d2fc14610ad7575f80fd5b8063f2c4ce1e146109fe578063f2fde38b14610a1d578063f3257cdd14610a3c578063f5eb8ec514610a5b575f80fd5b8063e268e4d3116100d8578063e268e4d31461098e578063e84b607f146109ad578063e985e9c5146109c0578063f12f6d5d146109df575f80fd5b8063c87b56dd14610926578063cf984f2214610945578063d5abeb011461095a578063dc33e6811461096f575f80fd5b8063a0712d681161017e578063b88d4fde1161014e578063b88d4fde146108c0578063bd7a1998146108d3578063bde0608a146108e8578063bdf7a8e614610907575f80fd5b8063a0712d681461085a578063a22cb4651461086d578063a28ada571461088c578063ac1bcec6146108ab575f80fd5b80638cf0e21e116101b95780638cf0e21e146107e95780638da5cb5b1461080a578063940cd05b1461082757806395d89b4114610846575f80fd5b80637cb647591461075f578063827852141461077e5780638462151c146107925780638b14966b146107be575f80fd5b806331940f3f116102d55780635a7adf7f1161026a5780636c0360eb1161023a5780636c0360eb146107035780636c2d3c4f1461071757806370a082311461072c578063715018a61461074b575f80fd5b80635a7adf7f1461068d5780635c975abb146106ac5780636352211e146106c55780636741f8e0146106e4575f80fd5b806344a0d68a116102a557806344a0d68a146106125780634874a75d14610631578063518302271461065057806355f804b31461066e575f80fd5b806331940f3f146105a957806333bc1c5c146105d75780633ccfd60b146105f757806342842e0e146105ff575f80fd5b8063095ea7b31161034b57806318160ddd1161031b57806318160ddd1461052857806323b872dd146105435780632a55205a146105565780632eb4a7ab14610594575f80fd5b8063095ea7b3146104cc5780630fe8418b146104df57806313faede6146104f4578063149835a014610509575f80fd5b8063036e4cb511610386578063036e4cb51461044d57806306fdde0314610460578063081812fc14610481578063081c8c44146104b8575f80fd5b806277ec05146103b657806301ffc9a7146103de57806302329a291461040d57806302fa7c471461042e575b5f80fd5b3480156103c1575f80fd5b506103cb60145481565b6040519081526020015b60405180910390f35b3480156103e9575f80fd5b506103fd6103f8366004612513565b610b02565b60405190151581526020016103d5565b348015610418575f80fd5b5061042c61042736600461253d565b610b21565b005b348015610439575f80fd5b5061042c61044836600461256c565b610b3c565b61042c61045b3660046125ec565b610b52565b34801561046b575f80fd5b50610474610ea1565b6040516103d59190612680565b34801561048c575f80fd5b506104a061049b366004612692565b610f31565b6040516001600160a01b0390911681526020016103d5565b3480156104c3575f80fd5b50610474610f73565b61042c6104da3660046126a9565b610fff565b3480156104ea575f80fd5b506103cb60125481565b3480156104ff575f80fd5b506103cb600e5481565b348015610514575f80fd5b5061042c610523366004612692565b61109d565b348015610533575f80fd5b506103cb6001545f54035f190190565b61042c6105513660046126d1565b6110aa565b348015610561575f80fd5b5061057561057036600461270a565b61123a565b604080516001600160a01b0390931683526020830191909152016103d5565b34801561059f575f80fd5b506103cb60165481565b3480156105b4575f80fd5b506103fd6105c336600461272a565b601a6020525f908152604090205460ff1681565b3480156105e2575f80fd5b506015546103fd906301000000900460ff1681565b61042c6112e6565b61042c61060d3660046126d1565b611330565b34801561061d575f80fd5b5061042c61062c366004612692565b61134a565b34801561063c575f80fd5b5061047461064b366004612692565b611357565b34801561065b575f80fd5b506015546103fd90610100900460ff1681565b348015610679575f80fd5b5061042c6106883660046127c9565b61136f565b348015610698575f80fd5b506015546103fd9062010000900460ff1681565b3480156106b7575f80fd5b506015546103fd9060ff1681565b3480156106d0575f80fd5b506104a06106df366004612692565b611383565b3480156106ef575f80fd5b5061042c6106fe366004612692565b61138d565b34801561070e575f80fd5b5061047461139a565b348015610722575f80fd5b506103cb600f5481565b348015610737575f80fd5b506103cb61074636600461272a565b6113a7565b348015610756575f80fd5b5061042c6113f3565b34801561076a575f80fd5b5061042c610779366004612692565b611404565b348015610789575f80fd5b5061042c611411565b34801561079d575f80fd5b506107b16107ac36600461272a565b611422565b6040516103d5919061280d565b3480156107c9575f80fd5b506103cb6107d836600461272a565b60196020525f908152604090205481565b3480156107f4575f80fd5b506015546103fd90640100000000900460ff1681565b348015610815575f80fd5b506008546001600160a01b03166104a0565b348015610832575f80fd5b5061042c61084136600461253d565b611526565b348015610851575f80fd5b50610474611548565b61042c610868366004612692565b611557565b348015610878575f80fd5b5061042c610887366004612844565b611755565b348015610897575f80fd5b5061042c6108a6366004612692565b6117c0565b3480156108b6575f80fd5b506103cb60175481565b61042c6108ce366004612875565b6117cd565b3480156108de575f80fd5b506103cb60135481565b3480156108f3575f80fd5b5061042c610902366004612692565b611817565b348015610912575f80fd5b5061042c6109213660046125ec565b611824565b348015610931575f80fd5b50610474610940366004612692565b6118fd565b348015610950575f80fd5b506103cb60105481565b348015610965575f80fd5b506103cb60115481565b34801561097a575f80fd5b506103cb61098936600461272a565b611b67565b348015610999575f80fd5b5061042c6109a8366004612692565b611b90565b61042c6109bb366004612928565b611b9d565b3480156109cb575f80fd5b506103fd6109da3660046129c3565b611d52565b3480156109ea575f80fd5b5061042c6109f9366004612692565b611d7f565b348015610a09575f80fd5b5061042c610a183660046127c9565b611d8c565b348015610a28575f80fd5b5061042c610a3736600461272a565b611da0565b348015610a47575f80fd5b5061042c610a5636600461253d565b611dda565b348015610a66575f80fd5b5061042c610a7536600461253d565b611e00565b348015610a85575f80fd5b5061042c610a943660046129eb565b611e28565b348015610aa4575f80fd5b5061042c610ab3366004612692565b611e7e565b348015610ac3575f80fd5b5061042c610ad236600461253d565b611e8b565b348015610ae2575f80fd5b506103cb610af136600461272a565b60186020525f908152604090205481565b5f610b0c82611eaf565b80610b1b5750610b1b82611efc565b92915050565b610b29611f30565b6015805460ff1916911515919091179055565b610b44611f30565b610b4e8282611f5d565b5050565b610b5a611fff565b60155460ff1615610b865760405162461bcd60e51b8152600401610b7d90612a25565b60405180910390fd5b60155462010000900460ff16610bde5760405162461bcd60e51b815260206004820152601a60248201527f50726573616c65204861736e27742073746172746564207965740000000000006044820152606401610b7d565b610c538282808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250506016546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b60405160208183030381529060405280519060200120612058565b610c9f5760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f742057686974656c69737465640000000000000000006044820152606401610b7d565b601454335f90815260196020526040902054610cbc908590612a61565b1115610d0a5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204e4654205065722057616c6c657420657863656564656400000000006044820152606401610b7d565b601454831115610d5c5760405162461bcd60e51b815260206004820152601860248201527f6d6178206d696e742070657220547820657863656564656400000000000000006044820152606401610b7d565b60125483610d6f6001545f54035f190190565b610d799190612a61565b1115610dc75760405162461bcd60e51b815260206004820152601c60248201527f57686974656c697374204d6178537570706c79206578636565646564000000006044820152606401610b7d565b335f908152601a602052604090205460ff16610e37575f610de9600185612a74565b905080600f54610df99190612a87565b341015610e185760405162461bcd60e51b8152600401610b7d90612a9e565b50335f908152601a60205260409020805460ff19166001179055610e64565b82600f54610e459190612a87565b341015610e645760405162461bcd60e51b8152600401610b7d90612a9e565b335f9081526019602052604081208054859290610e82908490612a61565b90915550610e929050338461206d565b610e9c6001600955565b505050565b606060028054610eb090612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc90612aca565b8015610f275780601f10610efe57610100808354040283529160200191610f27565b820191905f5260205f20905b815481529060010190602001808311610f0a57829003601f168201915b5050505050905090565b5f610f3b82612086565b610f58576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b600d8054610f8090612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054610fac90612aca565b8015610ff75780601f10610fce57610100808354040283529160200191610ff7565b820191905f5260205f20905b815481529060010190602001808311610fda57829003601f168201915b505050505081565b5f61100982611383565b9050336001600160a01b03821614611042576110258133611d52565b611042576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6110a5611f30565b601155565b5f6110b4826120b8565b9050836001600160a01b0316816001600160a01b0316146110e75760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417611133576111168633611d52565b61113357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661115a57604051633a954ecd60e21b815260040160405180910390fd5b8015611164575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036111f057600184015f8181526004602052604081205490036111ee575f5481146111ee575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916112ae575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906112cc906001600160601b031687612a87565b6112d69190612b02565b91519350909150505b9250929050565b6112ee611f30565b6112f6611fff565b6040514790339082156108fc029083905f818181858888f19350505050158015611322573d5f803e3d5ffd5b505061132e6001600955565b565b610e9c83838360405180602001604052805f8152506117cd565b611352611f30565b600e55565b601b6020525f908152604090208054610f8090612aca565b611377611f30565b600c610b4e8282612b66565b5f610b1b826120b8565b611395611f30565b601755565b600c8054610f8090612aca565b5f6001600160a01b0382166113cf576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6113fb611f30565b61132e5f612121565b61140c611f30565b601655565b611419611f30565b61132e5f600a55565b60605f805f611430856113a7565b90505f816001600160401b0381111561144b5761144b612743565b604051908082528060200260200182016040528015611474578160200160208202803683370190505b5090506114a0604080516080810182525f80825260208201819052918101829052606081019190915290565b60015b83861461151a576114b381612172565b915081604001516115125781516001600160a01b0316156114d357815194505b876001600160a01b0316856001600160a01b031603611512578083878060010198508151811061150557611505612c21565b6020026020010181815250505b6001016114a3565b50909695505050505050565b61152e611f30565b601580549115156101000261ff0019909216919091179055565b606060038054610eb090612aca565b61155f611fff565b60155460ff16156115825760405162461bcd60e51b8152600401610b7d90612a25565b6015546301000000900460ff166115db5760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632053616c65204861736e277420737461727465642079657400006044820152606401610b7d565b60135481111561162d5760405162461bcd60e51b815260206004820152601f60248201527f6d6178206d696e7420616d6f756e7420706572207478206578636565646564006044820152606401610b7d565b601154816116406001545f54035f190190565b61164a9190612a61565b11156116825760405162461bcd60e51b815260206004820152600760248201526614dbdb191bdd5d60ca1b6044820152606401610b7d565b601354335f9081526018602052604090205461169f908390612a61565b11156116ed5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204e4654205065722057616c6c657420657863656564656400000000006044820152606401610b7d565b80600e546116fb9190612a87565b34101561171a5760405162461bcd60e51b8152600401610b7d90612a9e565b335f9081526018602052604081208054839290611738908490612a61565b909155506117489050338261206d565b6117526001600955565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117c8611f30565b601055565b6117d88484846110aa565b6001600160a01b0383163b15611811576117f4848484846121ee565b611811576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61181f611f30565b601455565b61182c611f30565b611834611fff565b5f61183f8285612a87565b9050601154816118546001545f54035f190190565b61185e9190612a61565b11156118a55760405162461bcd60e51b81526020600482015260166024820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b6044820152606401610b7d565b5f5b828110156118f1576118df8484838181106118c4576118c4612c21565b90506020020160208101906118d9919061272a565b8661206d565b806118e981612c35565b9150506118a7565b5050610e9c6001600955565b606061190882612086565b61196d5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b6064820152608401610b7d565b601554610100900460ff1615155f03611a1057600d805461198d90612aca565b80601f01602080910402602001604051908101604052809291908181526020018280546119b990612aca565b8015611a045780601f106119db57610100808354040283529160200191611a04565b820191905f5260205f20905b8154815290600101906020018083116119e757829003601f168201915b50505050509050919050565b601554640100000000900460ff168015611a4157505f828152601b602052604081208054611a3d90612aca565b9050115b15611b20575f828152601b602052604081208054611a5e90612aca565b80601f0160208091040260200160405190810160405280929190818152602001828054611a8a90612aca565b8015611ad55780601f10611aac57610100808354040283529160200191611ad5565b820191905f5260205f20905b815481529060010190602001808311611ab857829003601f168201915b505050505090505f815111611af85760405180602001604052805f815250611b19565b80604051602001611b099190612c4d565b6040516020818303038152906040525b9392505050565b5f611b296122d6565b90505f815111611b475760405180602001604052805f815250611b19565b80611b51846122e5565b604051602001611b09929190612c7b565b919050565b6001600160a01b0381165f90815260056020526040808220546001600160401b03911c16610b1b565b611b98611f30565b601355565b611ba5611fff565b60155460ff1615611bc85760405162461bcd60e51b8152600401610b7d90612a25565b601554640100000000900460ff16611c225760405162461bcd60e51b815260206004820181905260248201527f55706772616465205068617365204861736e27742073746172746564207965746044820152606401610b7d565b33611c2c88611383565b6001600160a01b031614611c725760405162461bcd60e51b815260206004820152600d60248201526c2737ba103a34329027bbb732b960991b6044820152606401610b7d565b601054341015611c945760405162461bcd60e51b8152600401610b7d90612a9e565b611ce18282808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050601754604051909250610c3891508a908a90602001612cb9565b611d265760405162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08105d5d1a1c9a5bde995960521b6044820152606401610b7d565b5f878152601b60205260409020611d3e848683612cc8565b50611d496001600955565b50505050505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611d87611f30565b600f55565b611d94611f30565b600d610b4e8282612b66565b611da8611f30565b6001600160a01b038116611dd157604051631e4fbdf760e01b81525f6004820152602401610b7d565b61175281612121565b611de2611f30565b6015805491151563010000000263ff00000019909216919091179055565b611e08611f30565b601580549115156401000000000264ff0000000019909216919091179055565b611e30611f30565b611e38611fff565b60155460ff1615611e5b5760405162461bcd60e51b8152600401610b7d90612a25565b5f838152601b60205260409020611e73828483612cc8565b50610e9c6001600955565b611e86611f30565b601255565b611e93611f30565b60158054911515620100000262ff000019909216919091179055565b5f6301ffc9a760e01b6001600160e01b031983161480611edf57506380ac58cd60e01b6001600160e01b03198316145b80610b1b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610b1b57506301ffc9a760e01b6001600160e01b0319831614610b1b565b6008546001600160a01b0316331461132e5760405163118cdaa760e01b8152336004820152602401610b7d565b6127106001600160601b038216811015611f9c57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610b7d565b6001600160a01b038316611fc557604051635b6cc80560e11b81525f6004820152602401610b7d565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6002600954036120515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b7d565b6002600955565b5f826120648584612328565b14949350505050565b610b4e828260405180602001604052805f815250612374565b5f8160011115801561209857505f5482105b8015610b1b5750505f90815260046020526040902054600160e01b161590565b5f8180600111612108575f54811015612108575f8181526004602052604081205490600160e01b82169003612106575b805f03611b1957505f19015f818152600460205260409020546120e8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604080516080810182525f8082526020820181905291810182905260608101919091525f82815260046020526040902054610b1b90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612222903390899088908890600401612d82565b6020604051808303815f875af192505050801561225c575060408051601f3d908101601f1916820190925261225991810190612dbe565b60015b6122b8573d808015612289576040519150601f19603f3d011682016040523d82523d5f602084013e61228e565b606091505b5080515f036122b0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c8054610eb090612aca565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806122fe5750819003601f19909101908152919050565b5f81815b845181101561236c576123588286838151811061234b5761234b612c21565b60200260200101516123dd565b91508061236481612c35565b91505061232c565b509392505050565b61237e8383612406565b6001600160a01b0383163b15610e9c575f548281035b6123a65f8683806001019450866121ee565b6123c3576040516368d2bf6b60e11b815260040160405180910390fd5b81811061239457815f54146123d6575f80fd5b5050505050565b5f8183106123f7575f828152602084905260409020611b19565b505f9182526020526040902090565b5f80549082900361242a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146124d65780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001016124a0565b50815f036124f657604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114611752575f80fd5b5f60208284031215612523575f80fd5b8135611b19816124fe565b80358015158114611b62575f80fd5b5f6020828403121561254d575f80fd5b611b198261252e565b80356001600160a01b0381168114611b62575f80fd5b5f806040838503121561257d575f80fd5b61258683612556565b915060208301356001600160601b03811681146125a1575f80fd5b809150509250929050565b5f8083601f8401126125bc575f80fd5b5081356001600160401b038111156125d2575f80fd5b6020830191508360208260051b85010111156112df575f80fd5b5f805f604084860312156125fe575f80fd5b8335925060208401356001600160401b0381111561261a575f80fd5b612626868287016125ac565b9497909650939450505050565b5f5b8381101561264d578181015183820152602001612635565b50505f910152565b5f815180845261266c816020860160208601612633565b601f01601f19169290920160200192915050565b602081525f611b196020830184612655565b5f602082840312156126a2575f80fd5b5035919050565b5f80604083850312156126ba575f80fd5b6126c383612556565b946020939093013593505050565b5f805f606084860312156126e3575f80fd5b6126ec84612556565b92506126fa60208501612556565b9150604084013590509250925092565b5f806040838503121561271b575f80fd5b50508035926020909101359150565b5f6020828403121561273a575f80fd5b611b1982612556565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b038084111561277057612770612743565b604051601f8501601f19908116603f0116810190828211818310171561279857612798612743565b816040528093508581528686860111156127b0575f80fd5b858560208301375f602087830101525050509392505050565b5f602082840312156127d9575f80fd5b81356001600160401b038111156127ee575f80fd5b8201601f810184136127fe575f80fd5b6122ce84823560208401612757565b602080825282518282018190525f9190848201906040850190845b8181101561151a57835183529284019291840191600101612828565b5f8060408385031215612855575f80fd5b61285e83612556565b915061286c6020840161252e565b90509250929050565b5f805f8060808587031215612888575f80fd5b61289185612556565b935061289f60208601612556565b92506040850135915060608501356001600160401b038111156128c0575f80fd5b8501601f810187136128d0575f80fd5b6128df87823560208401612757565b91505092959194509250565b5f8083601f8401126128fb575f80fd5b5081356001600160401b03811115612911575f80fd5b6020830191508360208285010111156112df575f80fd5b5f805f805f805f6080888a03121561293e575f80fd5b8735965060208801356001600160401b038082111561295b575f80fd5b6129678b838c016128eb565b909850965060408a013591508082111561297f575f80fd5b61298b8b838c016128eb565b909650945060608a01359150808211156129a3575f80fd5b506129b08a828b016125ac565b989b979a50959850939692959293505050565b5f80604083850312156129d4575f80fd5b6129dd83612556565b915061286c60208401612556565b5f805f604084860312156129fd575f80fd5b8335925060208401356001600160401b03811115612a19575f80fd5b612626868287016128eb565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610b1b57610b1b612a4d565b81810381811115610b1b57610b1b612a4d565b8082028115828204841417610b1b57610b1b612a4d565b602080825260129082015271696e73756666696369656e742066756e647360701b604082015260600190565b600181811c90821680612ade57607f821691505b602082108103612afc57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f82612b1c57634e487b7160e01b5f52601260045260245ffd5b500490565b601f821115610e9c575f81815260208120601f850160051c81016020861015612b475750805b601f850160051c820191505b8181101561123257828155600101612b53565b81516001600160401b03811115612b7f57612b7f612743565b612b9381612b8d8454612aca565b84612b21565b602080601f831160018114612bc6575f8415612baf5750858301515b5f19600386901b1c1916600185901b178555611232565b5f85815260208120601f198616915b82811015612bf457888601518255948401946001909101908401612bd5565b5085821015612c1157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b5f60018201612c4657612c46612a4d565b5060010190565b66697066733a2f2f60c81b81525f8251612c6e816007850160208701612633565b9190910160070192915050565b5f8351612c8c818460208801612633565b835190830190612ca0818360208801612633565b64173539b7b760d91b9101908152600501949350505050565b818382375f9101908152919050565b6001600160401b03831115612cdf57612cdf612743565b612cf383612ced8354612aca565b83612b21565b5f601f841160018114612d24575f8515612d0d5750838201355b5f19600387901b1c1916600186901b1783556123d6565b5f83815260209020601f19861690835b82811015612d545786850135825560209485019460019092019101612d34565b5086821015612d70575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90612db490830184612655565b9695505050505050565b5f60208284031215612dce575f80fd5b8151611b19816124fe56fea2646970667358221220ecd74cf5c8c61d1f94d85ae9839a23a93a62682729fd253f03640644f6fc963c64736f6c63430008140033

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

000000000000000000000000a74e02f671e00eefbf4e13d9d89b397523653e67

-----Decoded View---------------
Arg [0] : _owner (address): 0xa74E02F671e00eeFbf4e13D9D89B397523653E67

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a74e02f671e00eefbf4e13d9d89b397523653e67


Deployed Bytecode Sourcemap

76829:10591:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77211:33;;;;;;;;;;;;;;;;;;;160:25:1;;;148:2;133:18;77211:33:0;;;;;;;;86812:291;;;;;;;;;;-1:-1:-1;86812:291:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;86812:291:0;582:187:1;85973:79:0;;;;;;;;;;-1:-1:-1;85973:79:0;;;;;:::i;:::-;;:::i;:::-;;87153:170;;;;;;;;;;-1:-1:-1;87153:170:0;;;;;:::i;:::-;;:::i;78808:1297::-;;;;;;:::i;:::-;;:::i;44616:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;51107:218::-;;;;;;;;;;-1:-1:-1;51107:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3660:32:1;;;3642:51;;3630:2;3615:18;51107:218:0;3496:203:1;76932:28:0;;;;;;;;;;;;;:::i;50540:408::-;;;;;;:::i;:::-;;:::i;77136:30::-;;;;;;;;;;;;;;;;76967:34;;;;;;;;;;;;;;;;85327:100;;;;;;;;;;-1:-1:-1;85327:100:0;;;;;:::i;:::-;;:::i;40367:323::-;;;;;;;;;;;;78063:1;40641:12;40428:7;40625:13;:28;-1:-1:-1;;40625:46:0;;40367:323;54746:2825;;;;;;:::i;:::-;;:::i;5112:429::-;;;;;;;;;;-1:-1:-1;5112:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4741:32:1;;;4723:51;;4805:2;4790:18;;4783:34;;;;4696:18;5112:429:0;4549:274:1;77431:25:0;;;;;;;;;;;;;;;;77617:47;;;;;;;;;;-1:-1:-1;77617:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;77353:30;;;;;;;;;;-1:-1:-1;77353:30:0;;;;;;;;;;;86605:173;;;:::i;57667:193::-;;;;;;:::i;:::-;;:::i;84843:86::-;;;;;;;;;;-1:-1:-1;84843:86:0;;;;;:::i;:::-;;:::i;77671:42::-;;;;;;;;;;-1:-1:-1;77671:42:0;;;;;:::i;:::-;;:::i;77284:28::-;;;;;;;;;;-1:-1:-1;77284:28:0;;;;;;;;;;;85621:104;;;;;;;;;;-1:-1:-1;85621:104:0;;;;;:::i;:::-;;:::i;77319:27::-;;;;;;;;;;-1:-1:-1;77319:27:0;;;;;;;;;;;77251:26;;;;;;;;;;-1:-1:-1;77251:26:0;;;;;;;;46009:152;;;;;;;;;;-1:-1:-1;46009:152:0;;;;;:::i;:::-;;:::i;84350:108::-;;;;;;;;;;-1:-1:-1;84350:108:0;;;;;:::i;:::-;;:::i;76904:21::-;;;;;;;;;;;;;:::i;77008:36::-;;;;;;;;;;;;;;;;41551:233;;;;;;;;;;-1:-1:-1;41551:233:0;;;;;:::i;:::-;;:::i;24474:103::-;;;;;;;;;;;;;:::i;84177:106::-;;;;;;;;;;-1:-1:-1;84177:106:0;;;;;:::i;:::-;;:::i;87331:86::-;;;;;;;;;;;;;:::i;82987:979::-;;;;;;;;;;-1:-1:-1;82987:979:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;77554:56::-;;;;;;;;;;-1:-1:-1;77554:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;77390:34;;;;;;;;;;-1:-1:-1;77390:34:0;;;;;;;;;;;23799:87;;;;;;;;;;-1:-1:-1;23872:6:0;;-1:-1:-1;;;;;23872:6:0;23799:87;;84026:82;;;;;;;;;;-1:-1:-1;84026:82:0;;;;;:::i;:::-;;:::i;44792:104::-;;;;;;;;;;;;;:::i;78106:645::-;;;;;;:::i;:::-;;:::i;51665:234::-;;;;;;;;;;-1:-1:-1;51665:234:0;;;;;:::i;:::-;;:::i;85170:100::-;;;;;;;;;;-1:-1:-1;85170:100:0;;;;;:::i;:::-;;:::i;77463:26::-;;;;;;;;;;;;;;;;58458:407;;;;;;:::i;:::-;;:::i;77173:31::-;;;;;;;;;;;;;;;;84669:102;;;;;;;;;;-1:-1:-1;84669:102:0;;;;;:::i;:::-;;:::i;80918:446::-;;;;;;;;;;-1:-1:-1;80918:446:0;;;;;:::i;:::-;;:::i;81645:1096::-;;;;;;;;;;-1:-1:-1;81645:1096:0;;;;;:::i;:::-;;:::i;77051:40::-;;;;;;;;;;;;;;;;77098:31;;;;;;;;;;;;;;;;82811:113;;;;;;;;;;-1:-1:-1;82811:113:0;;;;;:::i;:::-;;:::i;84513:98::-;;;;;;;;;;-1:-1:-1;84513:98:0;;;;;:::i;:::-;;:::i;80135:727::-;;;;;;:::i;:::-;;:::i;52056:164::-;;;;;;;;;;-1:-1:-1;52056:164:0;;;;;:::i;:::-;;:::i;85004:94::-;;;;;;;;;;-1:-1:-1;85004:94:0;;;;;:::i;:::-;;:::i;85762:126::-;;;;;;;;;;-1:-1:-1;85762:126:0;;;;;:::i;:::-;;:::i;24732:220::-;;;;;;;;;;-1:-1:-1;24732:220:0;;;;;:::i;:::-;;:::i;86287:96::-;;;;;;;;;;-1:-1:-1;86287:96:0;;;;;:::i;:::-;;:::i;86457:97::-;;;;;;;;;;-1:-1:-1;86457:97:0;;;;;:::i;:::-;;:::i;81372:215::-;;;;;;;;;;-1:-1:-1;81372:215:0;;;;;:::i;:::-;;:::i;85484:98::-;;;;;;;;;;-1:-1:-1;85484:98:0;;;;;:::i;:::-;;:::i;86126:90::-;;;;;;;;;;-1:-1:-1;86126:90:0;;;;;:::i;:::-;;:::i;77496:51::-;;;;;;;;;;-1:-1:-1;77496:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;86812:291;86960:4;87002:38;87028:11;87002:25;:38::i;:::-;:93;;;;87057:38;87083:11;87057:25;:38::i;:::-;86982:113;86812:291;-1:-1:-1;;86812:291:0:o;85973:79::-;23685:13;:11;:13::i;:::-;86029:6:::1;:15:::0;;-1:-1:-1;;86029:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;85973:79::o;87153:170::-;23685:13;:11;:13::i;:::-;87271:44:::1;87290:9;87301:13;87271:18;:44::i;:::-;87153:170:::0;;:::o;78808:1297::-;20325:21;:19;:21::i;:::-;78957:6:::1;::::0;::::1;;78956:7;78948:34;;;;-1:-1:-1::0;;;78948:34:0::1;;;;;;;:::i;:::-;;;;;;;;;79001:7;::::0;;;::::1;;;78993:46;;;::::0;-1:-1:-1;;;78993:46:0;;11446:2:1;78993:46:0::1;::::0;::::1;11428:21:1::0;11485:2;11465:18;;;11458:30;11524:28;11504:18;;;11497:56;11570:18;;78993:46:0::1;11244:350:1::0;78993:46:0::1;79072:150;79109:11;;79072:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;79139:10:0::1;::::0;79178:28:::1;::::0;-1:-1:-1;;79195:10:0::1;11748:2:1::0;11744:15;11740:53;79178:28:0::1;::::0;::::1;11728:66:1::0;79139:10:0;;-1:-1:-1;11810:12:1;;;-1:-1:-1;79178:28:0::1;;;;;;;;;;;;;79168:39;;;;;;79072:18;:150::i;:::-;79050:223;;;::::0;-1:-1:-1;;;79050:223:0;;12035:2:1;79050:223:0::1;::::0;::::1;12017:21:1::0;12074:2;12054:18;;;12047:30;12113:25;12093:18;;;12086:53;12156:18;;79050:223:0::1;11833:347:1::0;79050:223:0::1;79378:14;::::0;74873:10;79306:42:::1;::::0;;;:21:::1;:42;::::0;;;;;:51:::1;::::0;79351:6;;79306:51:::1;:::i;:::-;:86;;79284:163;;;::::0;-1:-1:-1;;;79284:163:0;;12649:2:1;79284:163:0::1;::::0;::::1;12631:21:1::0;12688:2;12668:18;;;12661:30;12727:29;12707:18;;;12700:57;12774:18;;79284:163:0::1;12447:351:1::0;79284:163:0::1;79476:14;;79466:6;:24;;79458:61;;;::::0;-1:-1:-1;;;79458:61:0;;13005:2:1;79458:61:0::1;::::0;::::1;12987:21:1::0;13044:2;13024:18;;;13017:30;13083:26;13063:18;;;13056:54;13127:18;;79458:61:0::1;12803:348:1::0;79458:61:0::1;79578:8;;79568:6;79552:13;78063:1:::0;40641:12;40428:7;40625:13;:28;-1:-1:-1;;40625:46:0;;40367:323;79552:13:::1;:22;;;;:::i;:::-;:34;;79530:112;;;::::0;-1:-1:-1;;;79530:112:0;;13358:2:1;79530:112:0::1;::::0;::::1;13340:21:1::0;13397:2;13377:18;;;13370:30;13436;13416:18;;;13409:58;13484:18;;79530:112:0::1;13156:352:1::0;79530:112:0::1;74873:10:::0;79660:36:::1;::::0;;;:15:::1;:36;::::0;;;;;::::1;;79655:329;;79713:18;79734:10;79743:1;79734:6:::0;:10:::1;:::i;:::-;79713:31;;79789:10;79780:6;;:19;;;;:::i;:::-;79767:9;:32;;79759:63;;;;-1:-1:-1::0;;;79759:63:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;74873:10:0;79837:36:::1;::::0;;;:15:::1;:36;::::0;;;;:43;;-1:-1:-1;;79837:43:0::1;79876:4;79837:43;::::0;;79655:329:::1;;;79943:6;79934;;:15;;;;:::i;:::-;79921:9;:28;;79913:59;;;;-1:-1:-1::0;;;79913:59:0::1;;;;;;;:::i;:::-;74873:10:::0;79996:42:::1;::::0;;;:21:::1;:42;::::0;;;;:52;;80042:6;;79996:42;:52:::1;::::0;80042:6;;79996:52:::1;:::i;:::-;::::0;;;-1:-1:-1;80059:38:0::1;::::0;-1:-1:-1;74873:10:0;80090:6:::1;80059:9;:38::i;:::-;20369:20:::0;19763:1;20889:7;:22;20706:213;20369:20;78808:1297;;;:::o;44616:100::-;44670:13;44703:5;44696:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44616:100;:::o;51107:218::-;51183:7;51208:16;51216:7;51208;:16::i;:::-;51203:64;;51233:34;;-1:-1:-1;;;51233:34:0;;;;;;;;;;;51203:64;-1:-1:-1;51287:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;51287:30:0;;51107:218::o;76932:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50540:408::-;50629:13;50645:16;50653:7;50645;:16::i;:::-;50629:32;-1:-1:-1;74873:10:0;-1:-1:-1;;;;;50678:28:0;;;50674:175;;50726:44;50743:5;74873:10;52056:164;:::i;50726:44::-;50721:128;;50798:35;;-1:-1:-1;;;50798:35:0;;;;;;;;;;;50721:128;50861:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;50861:35:0;-1:-1:-1;;;;;50861:35:0;;;;;;;;;50912:28;;50861:24;;50912:28;;;;;;;50618:330;50540:408;;:::o;85327:100::-;23685:13;:11;:13::i;:::-;85397:9:::1;:22:::0;85327:100::o;54746:2825::-;54888:27;54918;54937:7;54918:18;:27::i;:::-;54888:57;;55003:4;-1:-1:-1;;;;;54962:45:0;54978:19;-1:-1:-1;;;;;54962:45:0;;54958:86;;55016:28;;-1:-1:-1;;;55016:28:0;;;;;;;;;;;54958:86;55058:27;53854:24;;;:15;:24;;;;;54082:26;;74873:10;53479:30;;;-1:-1:-1;;;;;53172:28:0;;53457:20;;;53454:56;55244:180;;55337:43;55354:4;74873:10;52056:164;:::i;55337:43::-;55332:92;;55389:35;;-1:-1:-1;;;55389:35:0;;;;;;;;;;;55332:92;-1:-1:-1;;;;;55441:16:0;;55437:52;;55466:23;;-1:-1:-1;;;55466:23:0;;;;;;;;;;;55437:52;55638:15;55635:160;;;55778:1;55757:19;55750:30;55635:160;-1:-1:-1;;;;;56175:24:0;;;;;;;:18;:24;;;;;;56173:26;;-1:-1:-1;;56173:26:0;;;56244:22;;;;;;;;;56242:24;;-1:-1:-1;56242:24:0;;;49398:11;49373:23;49369:41;49356:63;-1:-1:-1;;;49356:63:0;56537:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;56832:47:0;;:52;;56828:627;;56937:1;56927:11;;56905:19;57060:30;;;:17;:30;;;;;;:35;;57056:384;;57198:13;;57183:11;:28;57179:242;;57345:30;;;;:17;:30;;;;;:52;;;57179:242;56886:569;56828:627;57502:7;57498:2;-1:-1:-1;;;;;57483:27:0;57492:4;-1:-1:-1;;;;;57483:27:0;;;;;;;;;;;57521:42;54877:2694;;;54746:2825;;;:::o;5112:429::-;5198:7;5256:26;;;:17;:26;;;;;;;;5227:55;;;;;;;;;-1:-1:-1;;;;;5227:55:0;;;;;-1:-1:-1;;;5227:55:0;;;-1:-1:-1;;;;;5227:55:0;;;;;;;;5198:7;;5295:92;;-1:-1:-1;5346:29:0;;;;;;;;;5356:19;5346:29;-1:-1:-1;;;;;5346:29:0;;;;-1:-1:-1;;;5346:29:0;;-1:-1:-1;;;;;5346:29:0;;;;;5295:92;5436:23;;;;5399:21;;5907:5;;5424:35;;-1:-1:-1;;;;;5424:35:0;:9;:35;:::i;:::-;5423:57;;;;:::i;:::-;5501:16;;;-1:-1:-1;5399:81:0;;-1:-1:-1;;5112:429:0;;;;;;:::o;86605:173::-;23685:13;:11;:13::i;:::-;20325:21:::1;:19;:21::i;:::-;86724:46:::2;::::0;86692:21:::2;::::0;74873:10;;86724:46;::::2;;;::::0;86692:21;;86724:46:::2;::::0;;;86692:21;74873:10;86724:46;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;86663:115;20369:20:::1;19763:1:::0;20889:7;:22;20706:213;20369:20:::1;86605:173::o:0;57667:193::-;57813:39;57830:4;57836:2;57840:7;57813:39;;;;;;;;;;;;:16;:39::i;84843:86::-;23685:13;:11;:13::i;:::-;84906:4:::1;:15:::0;84843:86::o;77671:42::-;;;;;;;;;;;;;;;;:::i;85621:104::-;23685:13;:11;:13::i;:::-;85696:7:::1;:21;85706:11:::0;85696:7;:21:::1;:::i;46009:152::-:0;46081:7;46124:27;46143:7;46124:18;:27::i;84350:108::-;23685:13;:11;:13::i;:::-;84425:11:::1;:25:::0;84350:108::o;76904:21::-;;;;;;;:::i;41551:233::-;41623:7;-1:-1:-1;;;;;41647:19:0;;41643:60;;41675:28;;-1:-1:-1;;;41675:28:0;;;;;;;;;;;41643:60;-1:-1:-1;;;;;;41721:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;41721:55:0;;41551:233::o;24474:103::-;23685:13;:11;:13::i;:::-;24539:30:::1;24566:1;24539:18;:30::i;84177:106::-:0;23685:13;:11;:13::i;:::-;84251:10:::1;:24:::0;84177:106::o;87331:86::-;23685:13;:11;:13::i;:::-;87386:23:::1;6853:19:::0;;6846:26;6785:95;82987:979;83073:16;83132:19;83166:25;83206:22;83231:16;83241:5;83231:9;:16::i;:::-;83206:41;;83262:25;83304:14;-1:-1:-1;;;;;83290:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83290:29:0;;83262:57;;83334:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83334:31:0;78063:1;83380:538;83464:14;83449:11;:29;83380:538;;83547:15;83560:1;83547:12;:15::i;:::-;83535:27;;83585:9;:16;;;83626:8;83581:73;83676:14;;-1:-1:-1;;;;;83676:28:0;;83672:111;;83749:14;;;-1:-1:-1;83672:111:0;83826:5;-1:-1:-1;;;;;83805:26:0;:17;-1:-1:-1;;;;;83805:26:0;;83801:102;;83882:1;83856:8;83865:13;;;;;;83856:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;83801:102;83497:3;;83380:538;;;-1:-1:-1;83939:8:0;;82987:979;-1:-1:-1;;;;;;82987:979:0:o;84026:82::-;23685:13;:11;:13::i;:::-;84083:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;84083:17:0;;::::1;::::0;;;::::1;::::0;;84026:82::o;44792:104::-;44848:13;44881:7;44874:14;;;;;:::i;78106:645::-;20325:21;:19;:21::i;:::-;78184:6:::1;::::0;::::1;;78183:7;78175:34;;;;-1:-1:-1::0;;;78175:34:0::1;;;;;;;:::i;:::-;78228:10;::::0;;;::::1;;;78220:53;;;::::0;-1:-1:-1;;;78220:53:0;;17311:2:1;78220:53:0::1;::::0;::::1;17293:21:1::0;17350:2;17330:18;;;17323:30;17389:32;17369:18;;;17362:60;17439:18;;78220:53:0::1;17109:354:1::0;78220:53:0::1;78302:12;;78292:6;:22;;78284:66;;;::::0;-1:-1:-1;;;78284:66:0;;17670:2:1;78284:66:0::1;::::0;::::1;17652:21:1::0;17709:2;17689:18;;;17682:30;17748:33;17728:18;;;17721:61;17799:18;;78284:66:0::1;17468:355:1::0;78284:66:0::1;78395:9;;78385:6;78369:13;78063:1:::0;40641:12;40428:7;40625:13;:28;-1:-1:-1;;40625:46:0;;40367:323;78369:13:::1;:22;;;;:::i;:::-;:35;;78361:55;;;::::0;-1:-1:-1;;;78361:55:0;;18030:2:1;78361:55:0::1;::::0;::::1;18012:21:1::0;18069:1;18049:18;;;18042:29;-1:-1:-1;;;18087:18:1;;;18080:37;18134:18;;78361:55:0::1;17828:330:1::0;78361:55:0::1;78499:12;::::0;74873:10;78449:37:::1;::::0;;;:16:::1;:37;::::0;;;;;:46:::1;::::0;78489:6;;78449:46:::1;:::i;:::-;:62;;78427:139;;;::::0;-1:-1:-1;;;78427:139:0;;12649:2:1;78427:139:0::1;::::0;::::1;12631:21:1::0;12688:2;12668:18;;;12661:30;12727:29;12707:18;;;12700:57;12774:18;;78427:139:0::1;12447:351:1::0;78427:139:0::1;78605:6;78598:4;;:13;;;;:::i;:::-;78585:9;:26;;78577:57;;;;-1:-1:-1::0;;;78577:57:0::1;;;;;;;:::i;:::-;74873:10:::0;78647:37:::1;::::0;;;:16:::1;:37;::::0;;;;:47;;78688:6;;78647:37;:47:::1;::::0;78688:6;;78647:47:::1;:::i;:::-;::::0;;;-1:-1:-1;78705:38:0::1;::::0;-1:-1:-1;74873:10:0;78736:6:::1;78705:9;:38::i;:::-;20369:20:::0;19763:1;20889:7;:22;20706:213;20369:20;78106:645;:::o;51665:234::-;74873:10;51760:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;51760:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;51760:60:0;;;;;;;;;;51836:55;;722:41:1;;;51760:49:0;;74873:10;51836:55;;695:18:1;51836:55:0;;;;;;;51665:234;;:::o;85170:100::-;23685:13;:11;:13::i;:::-;85240:11:::1;:22:::0;85170:100::o;58458:407::-;58633:31;58646:4;58652:2;58656:7;58633:12;:31::i;:::-;-1:-1:-1;;;;;58679:14:0;;;:19;58675:183;;58718:56;58749:4;58755:2;58759:7;58768:5;58718:30;:56::i;:::-;58713:145;;58802:40;;-1:-1:-1;;;58802:40:0;;;;;;;;;;;58713:145;58458:407;;;;:::o;84669:102::-;23685:13;:11;:13::i;:::-;84740:14:::1;:23:::0;84669:102::o;80918:446::-;23685:13;:11;:13::i;:::-;20325:21:::1;:19;:21::i;:::-;81061:16:::2;81080:32;81094:11:::0;81080;:32:::2;:::i;:::-;81061:51;;81173:9;;81161:8;81145:13;78063:1:::0;40641:12;40428:7;40625:13;:28;-1:-1:-1;;40625:46:0;;40367:323;81145:13:::2;:24;;;;:::i;:::-;:37;;81123:109;;;::::0;-1:-1:-1;;;81123:109:0;;18365:2:1;81123:109:0::2;::::0;::::2;18347:21:1::0;18404:2;18384:18;;;18377:30;-1:-1:-1;;;18423:18:1;;;18416:52;18485:18;;81123:109:0::2;18163:346:1::0;81123:109:0::2;81248:9;81243:114;81263:22:::0;;::::2;81243:114;;;81307:38;81317:11;;81329:1;81317:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;81333:11;81307:9;:38::i;:::-;81287:3:::0;::::2;::::0;::::2;:::i;:::-;;;;81243:114;;;;81050:314;20369:20:::1;19763:1:::0;20889:7;:22;20706:213;81645:1096;81763:13;81816:16;81824:7;81816;:16::i;:::-;81794:114;;;;-1:-1:-1;;;81794:114:0;;18856:2:1;81794:114:0;;;18838:21:1;18895:2;18875:18;;;18868:30;18934:34;18914:18;;;18907:62;-1:-1:-1;;;18985:18:1;;;18978:46;19041:19;;81794:114:0;18654:412:1;81794:114:0;81925:8;;;;;;;:17;;81937:5;81925:17;81921:71;;81966:14;81959:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81645:1096;;;:::o;81921:71::-;82006:14;;;;;;;:53;;;;-1:-1:-1;82058:1:0;82030:17;;;:8;:17;;;;;82024:31;;;;;:::i;:::-;;;:35;82006:53;82002:732;;;82076:28;82107:17;;;:8;:17;;;;;82076:48;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82194:1;82169:14;82163:28;:32;:133;;;;;;;;;;;;;;;;;82254:14;82226:43;;;;;;;;:::i;:::-;;;;;;;;;;;;;82163:133;82139:157;81645:1096;-1:-1:-1;;;81645:1096:0:o;82002:732::-;82329:28;82360:10;:8;:10::i;:::-;82329:41;;82440:1;82415:14;82409:28;:32;:313;;;;;;;;;;;;;;;;;82545:14;82590:18;82600:7;82590:9;:18::i;:::-;82498:175;;;;;;;;;:::i;82002:732::-;81645:1096;;;:::o;82811:113::-;-1:-1:-1;;;;;41955:25:0;;82869:7;41955:25;;;:18;:25;;35848:2;41955:25;;;;-1:-1:-1;;;;;41955:50:0;;41954:82;82896:20;41866:178;84513:98;23685:13;:11;:13::i;:::-;84582:12:::1;:21:::0;84513:98::o;80135:727::-;20325:21;:19;:21::i;:::-;80345:6:::1;::::0;::::1;;80344:7;80336:34;;;;-1:-1:-1::0;;;80336:34:0::1;;;;;;;:::i;:::-;80389:14;::::0;;;::::1;;;80381:59;;;::::0;-1:-1:-1;;;80381:59:0;;20383:2:1;80381:59:0::1;::::0;::::1;20365:21:1::0;;;20402:18;;;20395:30;20461:34;20441:18;;;20434:62;20513:18;;80381:59:0::1;20181:356:1::0;80381:59:0::1;74873:10:::0;80459:16:::1;80467:7:::0;80459::::1;:16::i;:::-;-1:-1:-1::0;;;;;80459:39:0::1;;80451:65;;;::::0;-1:-1:-1;;;80451:65:0;;20744:2:1;80451:65:0::1;::::0;::::1;20726:21:1::0;20783:2;20763:18;;;20756:30;-1:-1:-1;;;20802:18:1;;;20795:43;20855:18;;80451:65:0::1;20542:337:1::0;80451:65:0::1;80548:11;;80535:9;:24;;80527:55;;;;-1:-1:-1::0;;;80527:55:0::1;;;;;;;:::i;:::-;80615:152;80652:12;;80615:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;80683:11:0::1;::::0;80723:28:::1;::::0;80683:11;;-1:-1:-1;80723:28:0::1;::::0;-1:-1:-1;80740:10:0;;;;80723:28:::1;;;:::i;80615:152::-;80593:224;;;::::0;-1:-1:-1;;;80593:224:0;;21364:2:1;80593:224:0::1;::::0;::::1;21346:21:1::0;21403:2;21383:18;;;21376:30;-1:-1:-1;;;21422:18:1;;;21415:52;21484:18;;80593:224:0::1;21162:346:1::0;80593:224:0::1;80828:17;::::0;;;:8:::1;:17;::::0;;;;:26:::1;80848:6:::0;;80828:17;:26:::1;:::i;:::-;;20369:20:::0;19763:1;20889:7;:22;20706:213;20369:20;80135:727;;;;;;;:::o;52056:164::-;-1:-1:-1;;;;;52177:25:0;;;52153:4;52177:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52056:164::o;85004:94::-;23685:13;:11;:13::i;:::-;85071:6:::1;:19:::0;85004:94::o;85762:126::-;23685:13;:11;:13::i;:::-;85848:14:::1;:32;85865:15:::0;85848:14;:32:::1;:::i;24732:220::-:0;23685:13;:11;:13::i;:::-;-1:-1:-1;;;;;24817:22:0;::::1;24813:93;;24863:31;::::0;-1:-1:-1;;;24863:31:0;;24891:1:::1;24863:31;::::0;::::1;3642:51:1::0;3615:18;;24863:31:0::1;3496:203:1::0;24813:93:0::1;24916:28;24935:8;24916:18;:28::i;86287:96::-:0;23685:13;:11;:13::i;:::-;86356:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;86356:19:0;;::::1;::::0;;;::::1;::::0;;86287:96::o;86457:97::-;23685:13;:11;:13::i;:::-;86523:14:::1;:23:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;86523:23:0;;::::1;::::0;;;::::1;::::0;;86457:97::o;81372:215::-;23685:13;:11;:13::i;:::-;20325:21:::1;:19;:21::i;:::-;81517:6:::2;::::0;::::2;;81516:7;81508:34;;;;-1:-1:-1::0;;;81508:34:0::2;;;;;;;:::i;:::-;81553:17;::::0;;;:8:::2;:17;::::0;;;;:26:::2;81573:6:::0;;81553:17;:26:::2;:::i;:::-;;20369:20:::1;19763:1:::0;20889:7;:22;20706:213;85484:98;23685:13;:11;:13::i;:::-;85553:8:::1;:21:::0;85484:98::o;86126:90::-;23685:13;:11;:13::i;:::-;86192:7:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;86192:16:0;;::::1;::::0;;;::::1;::::0;;86126:90::o;43714:639::-;43799:4;-1:-1:-1;;;;;;;;;44123:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;44200:25:0;;;44123:102;:179;;;-1:-1:-1;;;;;;;;44277:25:0;-1:-1:-1;;;44277:25:0;;43714:639::o;4842:215::-;4944:4;-1:-1:-1;;;;;;4968:41:0;;-1:-1:-1;;;4968:41:0;;:81;;-1:-1:-1;;;;;;;;;;1849:40:0;;;5013:36;1749:148;23964:166;23872:6;;-1:-1:-1;;;;;23872:6:0;74873:10;24024:23;24020:103;;24071:40;;-1:-1:-1;;;24071:40:0;;74873:10;24071:40;;;3642:51:1;3615:18;;24071:40:0;3496:203:1;6191:518:0;5907:5;-1:-1:-1;;;;;6340:26:0;;;-1:-1:-1;6336:176:0;;;6445:55;;-1:-1:-1;;;6445:55:0;;-1:-1:-1;;;;;22915:39:1;;6445:55:0;;;22897:58:1;22971:18;;;22964:34;;;22870:18;;6445:55:0;22724:280:1;6336:176:0;-1:-1:-1;;;;;6526:22:0;;6522:110;;6572:48;;-1:-1:-1;;;6572:48:0;;6617:1;6572:48;;;3642:51:1;3615:18;;6572:48:0;3496:203:1;6522:110:0;-1:-1:-1;6666:35:0;;;;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;;;;;-1:-1:-1;;;6644:57:0;;;;:19;:57;6191:518::o;20405:293::-;19807:1;20539:7;;:19;20531:63;;;;-1:-1:-1;;;20531:63:0;;23211:2:1;20531:63:0;;;23193:21:1;23250:2;23230:18;;;23223:30;23289:33;23269:18;;;23262:61;23340:18;;20531:63:0;23009:355:1;20531:63:0;19807:1;20672:7;:18;20405:293::o;9282:156::-;9373:4;9426;9397:25;9410:5;9417:4;9397:12;:25::i;:::-;:33;;9282:156;-1:-1:-1;;;;9282:156:0:o;68618:112::-;68695:27;68705:2;68709:8;68695:27;;;;;;;;;;;;:9;:27::i;52478:282::-;52543:4;52599:7;78063:1;52580:26;;:66;;;;;52633:13;;52623:7;:23;52580:66;:153;;;;-1:-1:-1;;52684:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;52684:44:0;:49;;52478:282::o;47164:1275::-;47231:7;47266;;78063:1;47315:23;47311:1061;;47368:13;;47361:4;:20;47357:1015;;;47406:14;47423:23;;;:17;:23;;;;;;;-1:-1:-1;;;47512:24:0;;:29;;47508:845;;48177:113;48184:6;48194:1;48184:11;48177:113;;-1:-1:-1;;;48255:6:0;48237:25;;;;:17;:25;;;;;;48177:113;;47508:845;47383:989;47357:1015;48400:31;;-1:-1:-1;;;48400:31:0;;;;;;;;;;;25112:191;25205:6;;;-1:-1:-1;;;;;25222:17:0;;;-1:-1:-1;;;;;;25222:17:0;;;;;;;25255:40;;25205:6;;;25222:17;25205:6;;25255:40;;25186:16;;25255:40;25175:128;25112:191;:::o;46612:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46740:24:0;;;;:17;:24;;;;;;46721:44;;-1:-1:-1;;;;;;;;;;;;;48648:41:0;;;;36369:3;48734:33;;;-1:-1:-1;;;;;48700:68:0;-1:-1:-1;;;48700:68:0;-1:-1:-1;;;48798:24:0;;:29;;-1:-1:-1;;;48779:48:0;;;;36890:3;48867:28;;;;-1:-1:-1;;;48838:58:0;-1:-1:-1;48538:366:0;60949:716;61133:88;;-1:-1:-1;;;61133:88:0;;61112:4;;-1:-1:-1;;;;;61133:45:0;;;;;:88;;74873:10;;61200:4;;61206:7;;61215:5;;61133:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61133:88:0;;;;;;;;-1:-1:-1;;61133:88:0;;;;;;;;;;;;:::i;:::-;;;61129:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61416:6;:13;61433:1;61416:18;61412:235;;61462:40;;-1:-1:-1;;;61462:40:0;;;;;;;;;;;61412:235;61605:6;61599:13;61590:6;61586:2;61582:15;61575:38;61129:529;-1:-1:-1;;;;;;61292:64:0;-1:-1:-1;;;61292:64:0;;-1:-1:-1;61129:529:0;60949:716;;;;;;:::o;77855:108::-;77915:13;77948:7;77941:14;;;;;:::i;74993:1745::-;75058:17;75492:4;75485;75479:11;75475:22;75584:1;75578:4;75571:15;75659:4;75656:1;75652:12;75645:19;;;75741:1;75736:3;75729:14;75845:3;76084:5;76066:428;76132:1;76127:3;76123:11;76116:18;;76303:2;76297:4;76293:13;76289:2;76285:22;76280:3;76272:36;76397:2;76387:13;;76454:25;76066:428;76454:25;-1:-1:-1;76524:13:0;;;-1:-1:-1;;76639:14:0;;;76701:19;;;76639:14;74993:1745;-1:-1:-1;74993:1745:0:o;10001:296::-;10084:7;10127:4;10084:7;10142:118;10166:5;:12;10162:1;:16;10142:118;;;10215:33;10225:12;10239:5;10245:1;10239:8;;;;;;;;:::i;:::-;;;;;;;10215:9;:33::i;:::-;10200:48;-1:-1:-1;10180:3:0;;;;:::i;:::-;;;;10142:118;;;-1:-1:-1;10277:12:0;10001:296;-1:-1:-1;;;10001:296:0:o;67845:689::-;67976:19;67982:2;67986:8;67976:5;:19::i;:::-;-1:-1:-1;;;;;68037:14:0;;;:19;68033:483;;68077:11;68091:13;68139:14;;;68172:233;68203:62;68242:1;68246:2;68250:7;;;;;;68259:5;68203:30;:62::i;:::-;68198:167;;68301:40;;-1:-1:-1;;;68301:40:0;;;;;;;;;;;68198:167;68400:3;68392:5;:11;68172:233;;68487:3;68470:13;;:20;68466:34;;68492:8;;;68466:34;68058:458;;67845:689;;;:::o;17431:149::-;17494:7;17525:1;17521;:5;:51;;17773:13;17867:15;;;17903:4;17896:15;;;17950:4;17934:21;;17521:51;;;-1:-1:-1;17773:13:0;17867:15;;;17903:4;17896:15;17950:4;17934:21;;;17431:149::o;62127:2966::-;62200:20;62223:13;;;62251;;;62247:44;;62273:18;;-1:-1:-1;;;62273:18:0;;;;;;;;;;;62247:44;-1:-1:-1;;;;;62779:22:0;;;;;;:18;:22;;;;35848:2;62779:22;;;:71;;62817:32;62805:45;;62779:71;;;63093:31;;;:17;:31;;;;;-1:-1:-1;49829:15:0;;49803:24;49799:46;49398:11;49373:23;49369:41;49366:52;49356:63;;63093:173;;63328:23;;;;63093:31;;62779:22;;64093:25;62779:22;;63946:335;64607:1;64593:12;64589:20;64547:346;64648:3;64639:7;64636:16;64547:346;;64866:7;64856:8;64853:1;64826:25;64823:1;64820;64815:59;64701:1;64688:15;64547:346;;;64551:77;64926:8;64938:1;64926:13;64922:45;;64948:19;;-1:-1:-1;;;64948:19:0;;;;;;;;;;;64922:45;64984:13;:19;-1:-1:-1;78808:1297:0;;;:::o;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:160::-;839:20;;895:13;;888:21;878:32;;868:60;;924:1;921;914:12;939:180;995:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:52;;;1064:1;1061;1054:12;1016:52;1087:26;1103:9;1087:26;:::i;1124:173::-;1192:20;;-1:-1:-1;;;;;1241:31:1;;1231:42;;1221:70;;1287:1;1284;1277:12;1302:366;1369:6;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1548:2;1537:9;1533:18;1520:32;-1:-1:-1;;;;;1585:5:1;1581:38;1574:5;1571:49;1561:77;;1634:1;1631;1624:12;1561:77;1657:5;1647:15;;;1302:366;;;;;:::o;1673:367::-;1736:8;1746:6;1800:3;1793:4;1785:6;1781:17;1777:27;1767:55;;1818:1;1815;1808:12;1767:55;-1:-1:-1;1841:20:1;;-1:-1:-1;;;;;1873:30:1;;1870:50;;;1916:1;1913;1906:12;1870:50;1953:4;1945:6;1941:17;1929:29;;2013:3;2006:4;1996:6;1993:1;1989:14;1981:6;1977:27;1973:38;1970:47;1967:67;;;2030:1;2027;2020:12;2045:505;2140:6;2148;2156;2209:2;2197:9;2188:7;2184:23;2180:32;2177:52;;;2225:1;2222;2215:12;2177:52;2261:9;2248:23;2238:33;;2322:2;2311:9;2307:18;2294:32;-1:-1:-1;;;;;2341:6:1;2338:30;2335:50;;;2381:1;2378;2371:12;2335:50;2420:70;2482:7;2473:6;2462:9;2458:22;2420:70;:::i;:::-;2045:505;;2509:8;;-1:-1:-1;2394:96:1;;-1:-1:-1;;;;2045:505:1:o;2555:250::-;2640:1;2650:113;2664:6;2661:1;2658:13;2650:113;;;2740:11;;;2734:18;2721:11;;;2714:39;2686:2;2679:10;2650:113;;;-1:-1:-1;;2797:1:1;2779:16;;2772:27;2555:250::o;2810:271::-;2852:3;2890:5;2884:12;2917:6;2912:3;2905:19;2933:76;3002:6;2995:4;2990:3;2986:14;2979:4;2972:5;2968:16;2933:76;:::i;:::-;3063:2;3042:15;-1:-1:-1;;3038:29:1;3029:39;;;;3070:4;3025:50;;2810:271;-1:-1:-1;;2810:271:1:o;3086:220::-;3235:2;3224:9;3217:21;3198:4;3255:45;3296:2;3285:9;3281:18;3273:6;3255:45;:::i;3311:180::-;3370:6;3423:2;3411:9;3402:7;3398:23;3394:32;3391:52;;;3439:1;3436;3429:12;3391:52;-1:-1:-1;3462:23:1;;3311:180;-1:-1:-1;3311:180:1:o;3704:254::-;3772:6;3780;3833:2;3821:9;3812:7;3808:23;3804:32;3801:52;;;3849:1;3846;3839:12;3801:52;3872:29;3891:9;3872:29;:::i;:::-;3862:39;3948:2;3933:18;;;;3920:32;;-1:-1:-1;;;3704:254:1:o;3963:328::-;4040:6;4048;4056;4109:2;4097:9;4088:7;4084:23;4080:32;4077:52;;;4125:1;4122;4115:12;4077:52;4148:29;4167:9;4148:29;:::i;:::-;4138:39;;4196:38;4230:2;4219:9;4215:18;4196:38;:::i;:::-;4186:48;;4281:2;4270:9;4266:18;4253:32;4243:42;;3963:328;;;;;:::o;4296:248::-;4364:6;4372;4425:2;4413:9;4404:7;4400:23;4396:32;4393:52;;;4441:1;4438;4431:12;4393:52;-1:-1:-1;;4464:23:1;;;4534:2;4519:18;;;4506:32;;-1:-1:-1;4296:248:1:o;5010:186::-;5069:6;5122:2;5110:9;5101:7;5097:23;5093:32;5090:52;;;5138:1;5135;5128:12;5090:52;5161:29;5180:9;5161:29;:::i;5201:127::-;5262:10;5257:3;5253:20;5250:1;5243:31;5293:4;5290:1;5283:15;5317:4;5314:1;5307:15;5333:632;5398:5;-1:-1:-1;;;;;5469:2:1;5461:6;5458:14;5455:40;;;5475:18;;:::i;:::-;5550:2;5544:9;5518:2;5604:15;;-1:-1:-1;;5600:24:1;;;5626:2;5596:33;5592:42;5580:55;;;5650:18;;;5670:22;;;5647:46;5644:72;;;5696:18;;:::i;:::-;5736:10;5732:2;5725:22;5765:6;5756:15;;5795:6;5787;5780:22;5835:3;5826:6;5821:3;5817:16;5814:25;5811:45;;;5852:1;5849;5842:12;5811:45;5902:6;5897:3;5890:4;5882:6;5878:17;5865:44;5957:1;5950:4;5941:6;5933;5929:19;5925:30;5918:41;;;;5333:632;;;;;:::o;5970:451::-;6039:6;6092:2;6080:9;6071:7;6067:23;6063:32;6060:52;;;6108:1;6105;6098:12;6060:52;6148:9;6135:23;-1:-1:-1;;;;;6173:6:1;6170:30;6167:50;;;6213:1;6210;6203:12;6167:50;6236:22;;6289:4;6281:13;;6277:27;-1:-1:-1;6267:55:1;;6318:1;6315;6308:12;6267:55;6341:74;6407:7;6402:2;6389:16;6384:2;6380;6376:11;6341:74;:::i;6611:632::-;6782:2;6834:21;;;6904:13;;6807:18;;;6926:22;;;6753:4;;6782:2;7005:15;;;;6979:2;6964:18;;;6753:4;7048:169;7062:6;7059:1;7056:13;7048:169;;;7123:13;;7111:26;;7192:15;;;;7157:12;;;;7084:1;7077:9;7048:169;;7248:254;7313:6;7321;7374:2;7362:9;7353:7;7349:23;7345:32;7342:52;;;7390:1;7387;7380:12;7342:52;7413:29;7432:9;7413:29;:::i;:::-;7403:39;;7461:35;7492:2;7481:9;7477:18;7461:35;:::i;:::-;7451:45;;7248:254;;;;;:::o;7507:667::-;7602:6;7610;7618;7626;7679:3;7667:9;7658:7;7654:23;7650:33;7647:53;;;7696:1;7693;7686:12;7647:53;7719:29;7738:9;7719:29;:::i;:::-;7709:39;;7767:38;7801:2;7790:9;7786:18;7767:38;:::i;:::-;7757:48;;7852:2;7841:9;7837:18;7824:32;7814:42;;7907:2;7896:9;7892:18;7879:32;-1:-1:-1;;;;;7926:6:1;7923:30;7920:50;;;7966:1;7963;7956:12;7920:50;7989:22;;8042:4;8034:13;;8030:27;-1:-1:-1;8020:55:1;;8071:1;8068;8061:12;8020:55;8094:74;8160:7;8155:2;8142:16;8137:2;8133;8129:11;8094:74;:::i;:::-;8084:84;;;7507:667;;;;;;;:::o;8689:348::-;8741:8;8751:6;8805:3;8798:4;8790:6;8786:17;8782:27;8772:55;;8823:1;8820;8813:12;8772:55;-1:-1:-1;8846:20:1;;-1:-1:-1;;;;;8878:30:1;;8875:50;;;8921:1;8918;8911:12;8875:50;8958:4;8950:6;8946:17;8934:29;;9010:3;9003:4;8994:6;8986;8982:19;8978:30;8975:39;8972:59;;;9027:1;9024;9017:12;9042:1105;9179:6;9187;9195;9203;9211;9219;9227;9280:3;9268:9;9259:7;9255:23;9251:33;9248:53;;;9297:1;9294;9287:12;9248:53;9333:9;9320:23;9310:33;;9394:2;9383:9;9379:18;9366:32;-1:-1:-1;;;;;9458:2:1;9450:6;9447:14;9444:34;;;9474:1;9471;9464:12;9444:34;9513:59;9564:7;9555:6;9544:9;9540:22;9513:59;:::i;:::-;9591:8;;-1:-1:-1;9487:85:1;-1:-1:-1;9679:2:1;9664:18;;9651:32;;-1:-1:-1;9695:16:1;;;9692:36;;;9724:1;9721;9714:12;9692:36;9763:61;9816:7;9805:8;9794:9;9790:24;9763:61;:::i;:::-;9843:8;;-1:-1:-1;9737:87:1;-1:-1:-1;9931:2:1;9916:18;;9903:32;;-1:-1:-1;9947:16:1;;;9944:36;;;9976:1;9973;9966:12;9944:36;;10015:72;10079:7;10068:8;10057:9;10053:24;10015:72;:::i;:::-;9042:1105;;;;-1:-1:-1;9042:1105:1;;-1:-1:-1;9042:1105:1;;;;9989:98;;-1:-1:-1;;;9042:1105:1:o;10152:260::-;10220:6;10228;10281:2;10269:9;10260:7;10256:23;10252:32;10249:52;;;10297:1;10294;10287:12;10249:52;10320:29;10339:9;10320:29;:::i;:::-;10310:39;;10368:38;10402:2;10391:9;10387:18;10368:38;:::i;10417:479::-;10497:6;10505;10513;10566:2;10554:9;10545:7;10541:23;10537:32;10534:52;;;10582:1;10579;10572:12;10534:52;10618:9;10605:23;10595:33;;10679:2;10668:9;10664:18;10651:32;-1:-1:-1;;;;;10698:6:1;10695:30;10692:50;;;10738:1;10735;10728:12;10692:50;10777:59;10828:7;10819:6;10808:9;10804:22;10777:59;:::i;10901:338::-;11103:2;11085:21;;;11142:2;11122:18;;;11115:30;-1:-1:-1;;;11176:2:1;11161:18;;11154:44;11230:2;11215:18;;10901:338::o;12185:127::-;12246:10;12241:3;12237:20;12234:1;12227:31;12277:4;12274:1;12267:15;12301:4;12298:1;12291:15;12317:125;12382:9;;;12403:10;;;12400:36;;;12416:18;;:::i;13513:128::-;13580:9;;;13601:11;;;13598:37;;;13615:18;;:::i;13646:168::-;13719:9;;;13750;;13767:15;;;13761:22;;13747:37;13737:71;;13788:18;;:::i;13819:342::-;14021:2;14003:21;;;14060:2;14040:18;;;14033:30;-1:-1:-1;;;14094:2:1;14079:18;;14072:48;14152:2;14137:18;;13819:342::o;14166:380::-;14245:1;14241:12;;;;14288;;;14309:61;;14363:4;14355:6;14351:17;14341:27;;14309:61;14416:2;14408:6;14405:14;14385:18;14382:38;14379:161;;14462:10;14457:3;14453:20;14450:1;14443:31;14497:4;14494:1;14487:15;14525:4;14522:1;14515:15;14379:161;;14166:380;;;:::o;14551:217::-;14591:1;14617;14607:132;;14661:10;14656:3;14652:20;14649:1;14642:31;14696:4;14693:1;14686:15;14724:4;14721:1;14714:15;14607:132;-1:-1:-1;14753:9:1;;14551:217::o;14899:545::-;15001:2;14996:3;14993:11;14990:448;;;15037:1;15062:5;15058:2;15051:17;15107:4;15103:2;15093:19;15177:2;15165:10;15161:19;15158:1;15154:27;15148:4;15144:38;15213:4;15201:10;15198:20;15195:47;;;-1:-1:-1;15236:4:1;15195:47;15291:2;15286:3;15282:12;15279:1;15275:20;15269:4;15265:31;15255:41;;15346:82;15364:2;15357:5;15354:13;15346:82;;;15409:17;;;15390:1;15379:13;15346:82;;15620:1352;15746:3;15740:10;-1:-1:-1;;;;;15765:6:1;15762:30;15759:56;;;15795:18;;:::i;:::-;15824:97;15914:6;15874:38;15906:4;15900:11;15874:38;:::i;:::-;15868:4;15824:97;:::i;:::-;15976:4;;16040:2;16029:14;;16057:1;16052:663;;;;16759:1;16776:6;16773:89;;;-1:-1:-1;16828:19:1;;;16822:26;16773:89;-1:-1:-1;;15577:1:1;15573:11;;;15569:24;15565:29;15555:40;15601:1;15597:11;;;15552:57;16875:81;;16022:944;;16052:663;14846:1;14839:14;;;14883:4;14870:18;;-1:-1:-1;;16088:20:1;;;16206:236;16220:7;16217:1;16214:14;16206:236;;;16309:19;;;16303:26;16288:42;;16401:27;;;;16369:1;16357:14;;;;16236:19;;16206:236;;;16210:3;16470:6;16461:7;16458:19;16455:201;;;16531:19;;;16525:26;-1:-1:-1;;16614:1:1;16610:14;;;16626:3;16606:24;16602:37;16598:42;16583:58;16568:74;;16455:201;-1:-1:-1;;;;;16702:1:1;16686:14;;;16682:22;16669:36;;-1:-1:-1;15620:1352:1:o;16977:127::-;17038:10;17033:3;17029:20;17026:1;17019:31;17069:4;17066:1;17059:15;17093:4;17090:1;17083:15;18514:135;18553:3;18574:17;;;18571:43;;18594:18;;:::i;:::-;-1:-1:-1;18641:1:1;18630:13;;18514:135::o;19071:437::-;-1:-1:-1;;;19328:3:1;19321:22;19303:3;19372:6;19366:13;19388:74;19455:6;19451:1;19446:3;19442:11;19435:4;19427:6;19423:17;19388:74;:::i;:::-;19482:16;;;;19500:1;19478:24;;19071:437;-1:-1:-1;;19071:437:1:o;19513:663::-;19793:3;19831:6;19825:13;19847:66;19906:6;19901:3;19894:4;19886:6;19882:17;19847:66;:::i;:::-;19976:13;;19935:16;;;;19998:70;19976:13;19935:16;20045:4;20033:17;;19998:70;:::i;:::-;-1:-1:-1;;;20090:20:1;;20119:22;;;20168:1;20157:13;;19513:663;-1:-1:-1;;;;19513:663:1:o;20884:273::-;21069:6;21061;21056:3;21043:33;21025:3;21095:16;;21120:13;;;21095:16;20884:273;-1:-1:-1;20884:273:1:o;21513:1206::-;-1:-1:-1;;;;;21632:3:1;21629:27;21626:53;;;21659:18;;:::i;:::-;21688:94;21778:3;21738:38;21770:4;21764:11;21738:38;:::i;:::-;21732:4;21688:94;:::i;:::-;21808:1;21833:2;21828:3;21825:11;21850:1;21845:616;;;;22505:1;22522:3;22519:93;;;-1:-1:-1;22578:19:1;;;22565:33;22519:93;-1:-1:-1;;15577:1:1;15573:11;;;15569:24;15565:29;15555:40;15601:1;15597:11;;;15552:57;22625:78;;21818:895;;21845:616;14846:1;14839:14;;;14883:4;14870:18;;-1:-1:-1;;21881:17:1;;;21982:9;22004:229;22018:7;22015:1;22012:14;22004:229;;;22107:19;;;22094:33;22079:49;;22214:4;22199:20;;;;22167:1;22155:14;;;;22034:12;22004:229;;;22008:3;22261;22252:7;22249:16;22246:159;;;22385:1;22381:6;22375:3;22369;22366:1;22362:11;22358:21;22354:34;22350:39;22337:9;22332:3;22328:19;22315:33;22311:79;22303:6;22296:95;22246:159;;;22448:1;22442:3;22439:1;22435:11;22431:19;22425:4;22418:33;21818:895;;21513:1206;;;:::o;23369:489::-;-1:-1:-1;;;;;23638:15:1;;;23620:34;;23690:15;;23685:2;23670:18;;23663:43;23737:2;23722:18;;23715:34;;;23785:3;23780:2;23765:18;;23758:31;;;23563:4;;23806:46;;23832:19;;23824:6;23806:46;:::i;:::-;23798:54;23369:489;-1:-1:-1;;;;;;23369:489:1:o;23863:249::-;23932:6;23985:2;23973:9;23964:7;23960:23;23956:32;23953:52;;;24001:1;23998;23991:12;23953:52;24033:9;24027:16;24052:30;24076:5;24052:30;:::i

Swarm Source

ipfs://ecd74cf5c8c61d1f94d85ae9839a23a93a62682729fd253f03640644f6fc963c
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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