ETH Price: $2,446.05 (+3.56%)

Token

Vinny and Frens (VAF)
 

Overview

Max Total Supply

201 VAF

Holders

114

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 VAF
0x94ea70cf4318e26d4b398f062637512387db76ef
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:
VinnyFinal

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-30
*/

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

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

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


// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
library MerkleProof {
    /**
     * @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}
     *
     * _Available since v4.7._
     */
    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.
     *
     * _Available since v4.4._
     */
    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}
     *
     * _Available since v4.7._
     */
    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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    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}
     *
     * _Available since v4.7._
     */
    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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // 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 for 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) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // 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 for 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) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.2
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

    /**
     * @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.2
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // 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: erc721a/contracts/extensions/IERC721AQueryable.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

// File: erc721a/contracts/extensions/ERC721AQueryable.sol


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

pragma solidity ^0.8.4;



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

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

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

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

// File: contracts/VinnyandFrens.sol



pragma solidity >=0.8.9 <0.9.0;

 /*  _     _      _     _      _     _      _     _      _     _     &     _     _      _     _      _     _      _     _      _     _   
  (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)         (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)    (c).-.(c)  
   / ._. \      / ._. \      / ._. \      / ._. \      / ._. \           / ._. \      / ._. \      / ._. \      / ._. \      / ._. \   
 __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__       __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__  __\( Y )/__ 
(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)     (_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)
   || V ||      || I ||      || N ||      || N ||      || Y ||           || F ||      || R ||      || E ||      || N ||      || S ||   
 _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '._       _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '._  _.' `-' '._ 
(.-./`-'\.-.)(.-./`-'\.-.)(.-./`-'\.-.)(.-./`-'\.-.)(.-./`-'\.-.)     (.-./`-'\.-.)(.-./`-`\.-.)(.-./`-'\.-.)(.-./`-'\.-.)(.-./`-`\.-.)
 `-'     `-'  `-'     `-'  `-'     `-'  `-'     `-'  `-'     `-'       `-'     `-'  `-'     `-'  `-'     `-'  `-'     `-'  `-'     `-' 
Lead Dev Jaz with help from devs 0xZoom, Doyler and Stinky */







contract VinnyFinal is ERC721AQueryable, Ownable, ReentrancyGuard {

  using Strings for uint256;

  bytes32 public merkleRoot;
  mapping(address => bool) public whitelistClaimed;

  string public uriPrefix = '';
  string public uriSuffix = '.json';
  string public hiddenMetadataUri = '';
  
  uint256 public cost = 0.07799 ether;
  uint256 public maxSupply = 7799;
  uint256 public maxMintAmountPerTx = 42;
  uint256 public maxWalletSize = 70;

  bool public paused = true;
  bool public whitelistMintEnabled = false;
  bool public revealed = false;

  constructor(
    string memory _tokenName,
    string memory _tokenSymbol,
    uint256 _cost,
    uint256 _maxSupply,
    uint256 _maxMintAmountPerTx,
    uint256 _maxWalletSize,
    string memory _hiddenMetadataUri
  ) ERC721A(_tokenName, _tokenSymbol) {
    setCost(_cost);
    maxSupply = _maxSupply;
    setMaxMintAmountPerTx(_maxMintAmountPerTx);
    setMaxWalletSize(_maxWalletSize);
    setHiddenMetadataUri(_hiddenMetadataUri);
    //to mint at contract deployment. Enter address and qty to mint (replace 1)
    _mint(address (0xd40ebdb64C6A4445ab6a3361cbeF77Eb9d32b78c), 100);
        
   
  }

  //Checks for correct mint data being passed through
  modifier mintCheck(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(balanceOf(msg.sender) + _mintAmount <= maxWalletSize, 'Too many NFTs in this wallet!');
    _;
  }
  //Checks for correct mint pricing data being passed through
  modifier mintPriceCheck(uint256 _mintAmount) {
    require(msg.value >= cost * _mintAmount, 'Insufficient funds!');
    _;
  }
  //Whitelist minting
  function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCheck(_mintAmount) mintPriceCheck(_mintAmount) {
    // Checks whether the mint is open, whether an address has already claimed, and that they are on the WL
    require(whitelistMintEnabled, 'The whitelist sale is not enabled!');
    require(!whitelistClaimed[_msgSender()], 'Address already claimed!');
    bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');

    whitelistClaimed[_msgSender()] = true;
    _mint(_msgSender(), _mintAmount);
  }
  
  //Public minting
  function mint(uint256 _mintAmount) public payable mintCheck(_mintAmount) mintPriceCheck(_mintAmount) {
    require(!paused, 'The contract is paused!');

    _mint(_msgSender(), _mintAmount);
  }
  
  //Airdrop function - sends enetered number of NFTs to an address for free. Can only be called by Owner
  function airdrop(uint256 _mintAmount, address _receiver) public mintCheck(_mintAmount) onlyOwner {
    _mint(_receiver, _mintAmount);
  }

  //Starts token numbers from 1 rather than 0
  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  //return URI for a token based on whether collection is revealed or not
  function tokenURI(uint256 _tokenId) public view virtual override(ERC721A) returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : '';
  }

  //Reveal Collection  -true or false
  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  //Change token cost
  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  //Change max amount of tokens por txn
  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  //Change max amount of tokens per wallet
  function setMaxWalletSize(uint256 _maxWalletSize) public onlyOwner {
    maxWalletSize = _maxWalletSize;
  }

  //set hidden metadata URI
  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  //set revealed URI prefix eg. ipfs://QmYW4a3Y--Yrs1JvhKzWzpTG2oF/
  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  //set revealed URI suffix eg. .json
  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  //function to pause the contract
  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  //function to set the merkle root
  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }

  //function to enable the white list mint
  function setWhitelistMintEnabled(bool _state) public onlyOwner {
    whitelistMintEnabled = _state;
  }
  
 function withdraw() public onlyOwner nonReentrant {

    (bool hs, ) = payable(0xd40ebdb64C6A4445ab6a3361cbeF77Eb9d32b78c).call{value: address(this).balance * 60/ 100}('');
    require(hs);

    (bool os, ) = payable(0xDf911FaA8a87700111b64F2ad5B9dBE25CEf47F9).call{value: address(this).balance}('');
    require(os);
  }

  //for emergency withdrawl if there is a problem with the payment splitter. You can remove this.
  function justInCase() public onlyOwner nonReentrant {
    
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
    
  }

  //update maxsupply to decrease colecton size if needed
  function updateMaxSupply(uint256 _newSupply) external onlyOwner {
        require(_newSupply < maxSupply, "You tried to increase the suppply. Decrease only.");
        maxSupply = _newSupply;
  }


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

  
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"justInCase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600c9162000349565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600d9162000349565b506040805160208101918290526000908190526200006b91600e9162000349565b50670115137de6086000600f55611e77601055602a60115560466012556013805462ffffff19166001179055348015620000a457600080fd5b506040516200304e3803806200304e833981016040819052620000c791620004bc565b865187908790620000e090600290602085019062000349565b508051620000f690600390602084019062000349565b505060016000555062000109336200016d565b60016009556200011985620001bf565b60108490556200012983620001ce565b6200013482620001dd565b6200013f81620001ec565b6200016073d40ebdb64c6a4445ab6a3361cbef77eb9d32b78c60646200020f565b50505050505050620005b1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001c9620002e8565b600f55565b620001d8620002e8565b601155565b620001e7620002e8565b601255565b620001f6620002e8565b80516200020b90600e90602084019062000349565b5050565b60005481620002315760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206200302e8339815191528180a4600183015b818114620002c057808360006000805160206200302e833981519152600080a460010162000297565b5081620002df57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6008546001600160a01b03163314620003475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003579062000574565b90600052602060002090601f0160209004810192826200037b5760008555620003c6565b82601f106200039657805160ff1916838001178555620003c6565b82800160010185558215620003c6579182015b82811115620003c6578251825591602001919060010190620003a9565b50620003d4929150620003d8565b5090565b5b80821115620003d45760008155600101620003d9565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200041757600080fd5b81516001600160401b0380821115620004345762000434620003ef565b604051601f8301601f19908116603f011681019082821181831017156200045f576200045f620003ef565b816040528381526020925086838588010111156200047c57600080fd5b600091505b83821015620004a0578582018301518183018401529082019062000481565b83821115620004b25760008385830101525b9695505050505050565b600080600080600080600060e0888a031215620004d857600080fd5b87516001600160401b0380821115620004f057600080fd5b620004fe8b838c0162000405565b985060208a01519150808211156200051557600080fd5b620005238b838c0162000405565b975060408a0151965060608a0151955060808a0151945060a08a0151935060c08a01519150808211156200055657600080fd5b50620005658a828b0162000405565b91505092959891949750929550565b600181811c908216806200058957607f821691505b60208210811415620005ab57634e487b7160e01b600052602260045260246000fd5b50919050565b612a6d80620005c16000396000f3fe6080604052600436106102ae5760003560e01c80637ec4a65911610175578063b88d4fde116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610825578063ea1644d51461086e578063f103b4331461088e578063f2fde38b146108ae57600080fd5b8063d5abeb01146107bf578063db4bec44146107d5578063e0a808531461080557600080fd5b8063b88d4fde1461070a578063bc63f02e1461072a578063bf389a301461074a578063c23dc68f1461075f578063c87b56dd1461078c578063d2cab056146107ac57600080fd5b806399a2557a1161012e57806399a2557a14610662578063a0712d6814610682578063a22cb46514610695578063a45ba8e7146106b5578063b071401b146106ca578063b767a098146106ea57600080fd5b80637ec4a659146105b65780638462151c146105d65780638da5cb5b146106035780638f3fa8601461062157806394354fd01461063757806395d89b411461064d57600080fd5b806344a0d68a1161021957806362b99ad4116101d257806362b99ad41461050d5780636352211e146105225780636caede3d1461054257806370a0823114610561578063715018a6146105815780637cb647591461059657600080fd5b806344a0d68a146104515780634fdd43cb1461047157806351830227146104915780635503a0e8146104b15780635bbb2177146104c65780635c975abb146104f357600080fd5b806316c38b3c1161026b57806316c38b3c146103a857806318160ddd146103c857806323b872dd146103e65780632eb4a7ab146104065780633ccfd60b1461041c57806342842e0e1461043157600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b31461034257806313faede61461036457806316ba10e014610388575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612273565b6108ce565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd610920565b6040516102df91906122e8565b34801561031657600080fd5b5061032a6103253660046122fb565b6109b2565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004612330565b6109f6565b005b34801561037057600080fd5b5061037a600f5481565b6040519081526020016102df565b34801561039457600080fd5b506103626103a33660046123e5565b610a96565b3480156103b457600080fd5b506103626103c336600461243d565b610ab5565b3480156103d457600080fd5b5061037a600154600054036000190190565b3480156103f257600080fd5b50610362610401366004612458565b610ad0565b34801561041257600080fd5b5061037a600a5481565b34801561042857600080fd5b50610362610c62565b34801561043d57600080fd5b5061036261044c366004612458565b610db6565b34801561045d57600080fd5b5061036261046c3660046122fb565b610dd6565b34801561047d57600080fd5b5061036261048c3660046123e5565b610de3565b34801561049d57600080fd5b506013546102d39062010000900460ff1681565b3480156104bd57600080fd5b506102fd610dfe565b3480156104d257600080fd5b506104e66104e13660046124df565b610e8c565b6040516102df919061255c565b3480156104ff57600080fd5b506013546102d39060ff1681565b34801561051957600080fd5b506102fd610f57565b34801561052e57600080fd5b5061032a61053d3660046122fb565b610f64565b34801561054e57600080fd5b506013546102d390610100900460ff1681565b34801561056d57600080fd5b5061037a61057c36600461259e565b610f6f565b34801561058d57600080fd5b50610362610fbd565b3480156105a257600080fd5b506103626105b13660046122fb565b610fd1565b3480156105c257600080fd5b506103626105d13660046123e5565b610fde565b3480156105e257600080fd5b506105f66105f136600461259e565b610ff9565b6040516102df91906125b9565b34801561060f57600080fd5b506008546001600160a01b031661032a565b34801561062d57600080fd5b5061037a60125481565b34801561064357600080fd5b5061037a60115481565b34801561065957600080fd5b506102fd611108565b34801561066e57600080fd5b506105f661067d3660046125f1565b611117565b6103626106903660046122fb565b6112a2565b3480156106a157600080fd5b506103626106b0366004612624565b6113f4565b3480156106c157600080fd5b506102fd61148a565b3480156106d657600080fd5b506103626106e53660046122fb565b611497565b3480156106f657600080fd5b5061036261070536600461243d565b6114a4565b34801561071657600080fd5b50610362610725366004612657565b6114c6565b34801561073657600080fd5b506103626107453660046126d2565b611510565b34801561075657600080fd5b506103626115c3565b34801561076b57600080fd5b5061077f61077a3660046122fb565b61169c565b6040516102df91906126f5565b34801561079857600080fd5b506102fd6107a73660046122fb565b611724565b6103626107ba366004612703565b611893565b3480156107cb57600080fd5b5061037a60105481565b3480156107e157600080fd5b506102d36107f036600461259e565b600b6020526000908152604090205460ff1681565b34801561081157600080fd5b5061036261082036600461243d565b611b25565b34801561083157600080fd5b506102d361084036600461274e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087a57600080fd5b506103626108893660046122fb565b611b49565b34801561089a57600080fd5b506103626108a93660046122fb565b611b56565b3480156108ba57600080fd5b506103626108c936600461259e565b611bce565b60006301ffc9a760e01b6001600160e01b0319831614806108ff57506380ac58cd60e01b6001600160e01b03198316145b8061091a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461092f90612778565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90612778565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b60006109bd82611c47565b6109da576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a0182610f64565b9050336001600160a01b03821614610a3a57610a1d8133610840565b610a3a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a9e611c7c565b8051610ab190600d9060208401906121c4565b5050565b610abd611c7c565b6013805460ff1916911515919091179055565b6000610adb82611cd6565b9050836001600160a01b0316816001600160a01b031614610b0e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b5b57610b3e8633610840565b610b5b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b8257604051633a954ecd60e21b815260040160405180910390fd5b8015610b8d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c185760018401600081815260046020526040902054610c16576000548114610c165760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c6a611c7c565b60026009541415610cc25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600073d40ebdb64c6a4445ab6a3361cbef77eb9d32b78c6064610ceb47603c6127c9565b610cf591906127fe565b604051600081818185875af1925050503d8060008114610d31576040519150601f19603f3d011682016040523d82523d6000602084013e610d36565b606091505b5050905080610d4457600080fd5b60405160009073df911faa8a87700111b64f2ad5b9dbe25cef47f99047908381818185875af1925050503d8060008114610d9a576040519150601f19603f3d011682016040523d82523d6000602084013e610d9f565b606091505b5050905080610dad57600080fd5b50506001600955565b610dd1838383604051806020016040528060008152506114c6565b505050565b610dde611c7c565b600f55565b610deb611c7c565b8051610ab190600e9060208401906121c4565b600d8054610e0b90612778565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3790612778565b8015610e845780601f10610e5957610100808354040283529160200191610e84565b820191906000526020600020905b815481529060010190602001808311610e6757829003601f168201915b505050505081565b6060816000816001600160401b03811115610ea957610ea961235a565b604051908082528060200260200182016040528015610efb57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ec75790505b50905060005b828114610f4e57610f29868683818110610f1d57610f1d612812565b9050602002013561169c565b828281518110610f3b57610f3b612812565b6020908102919091010152600101610f01565b50949350505050565b600c8054610e0b90612778565b600061091a82611cd6565b60006001600160a01b038216610f98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610fc5611c7c565b610fcf6000611d3f565b565b610fd9611c7c565b600a55565b610fe6611c7c565b8051610ab190600c9060208401906121c4565b6060600080600061100985610f6f565b90506000816001600160401b038111156110255761102561235a565b60405190808252806020026020018201604052801561104e578160200160208202803683370190505b50905061107b60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146110fc5761108e81611d91565b915081604001511561109f576110f4565b81516001600160a01b0316156110b457815194505b876001600160a01b0316856001600160a01b031614156110f457808387806001019850815181106110e7576110e7612812565b6020026020010181815250505b60010161107e565b50909695505050505050565b60606003805461092f90612778565b606081831061113957604051631960ccad60e11b815260040160405180910390fd5b60008061114560005490565b9050600185101561115557600194505b80841115611161578093505b600061116c87610f6f565b90508486101561118b5785850381811015611185578091505b5061118f565b5060005b6000816001600160401b038111156111a9576111a961235a565b6040519080825280602002602001820160405280156111d2578160200160208202803683370190505b509050816111e557935061129b92505050565b60006111f08861169c565b905060008160400151611201575080515b885b8881141580156112135750848714155b1561128f5761122181611d91565b925082604001511561123257611287565b82516001600160a01b03161561124757825191505b8a6001600160a01b0316826001600160a01b03161415611287578084888060010199508151811061127a5761127a612812565b6020026020010181815250505b600101611203565b50505092835250909150505b9392505050565b806000811180156112b557506011548111155b6112d15760405162461bcd60e51b8152600401610cb990612828565b601054816112e6600154600054036000190190565b6112f09190612856565b111561130e5760405162461bcd60e51b8152600401610cb99061286e565b6012548161131b33610f6f565b6113259190612856565b11156113435760405162461bcd60e51b8152600401610cb99061289c565b8180600f5461135291906127c9565b3410156113975760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cb9565b60135460ff16156113ea5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610cb9565b610dd13384611dcd565b6001600160a01b03821633141561141e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610e0b90612778565b61149f611c7c565b601155565b6114ac611c7c565b601380549115156101000261ff0019909216919091179055565b6114d1848484610ad0565b6001600160a01b0383163b1561150a576114ed84848484611ec4565b61150a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b8160008111801561152357506011548111155b61153f5760405162461bcd60e51b8152600401610cb990612828565b60105481611554600154600054036000190190565b61155e9190612856565b111561157c5760405162461bcd60e51b8152600401610cb99061286e565b6012548161158933610f6f565b6115939190612856565b11156115b15760405162461bcd60e51b8152600401610cb99061289c565b6115b9611c7c565b610dd18284611dcd565b6115cb611c7c565b6002600954141561161e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cb9565b600260095560006116376008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611681576040519150601f19603f3d011682016040523d82523d6000602084013e611686565b606091505b505090508061169457600080fd5b506001600955565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806116f557506000548310155b156117005792915050565b61170983611d91565b905080604001511561171b5792915050565b61129b83611fad565b606061172f82611c47565b6117935760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cb9565b60135462010000900460ff1661183557600e80546117b090612778565b80601f01602080910402602001604051908101604052809291908181526020018280546117dc90612778565b80156118295780601f106117fe57610100808354040283529160200191611829565b820191906000526020600020905b81548152906001019060200180831161180c57829003601f168201915b50505050509050919050565b600061183f611fe2565b9050600081511161185f576040518060200160405280600081525061129b565b8061186984611ff1565b600d60405160200161187d939291906128d3565b6040516020818303038152906040529392505050565b826000811180156118a657506011548111155b6118c25760405162461bcd60e51b8152600401610cb990612828565b601054816118d7600154600054036000190190565b6118e19190612856565b11156118ff5760405162461bcd60e51b8152600401610cb99061286e565b6012548161190c33610f6f565b6119169190612856565b11156119345760405162461bcd60e51b8152600401610cb99061289c565b8380600f5461194391906127c9565b3410156119885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cb9565b601354610100900460ff166119ea5760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610cb9565b336000908152600b602052604090205460ff1615611a4a5760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610cb9565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611ac485858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506120ee565b611b015760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610cb9565b336000818152600b60205260409020805460ff19166001179055610c5a9087611dcd565b611b2d611c7c565b60138054911515620100000262ff000019909216919091179055565b611b51611c7c565b601255565b611b5e611c7c565b6010548110611bc95760405162461bcd60e51b815260206004820152603160248201527f596f7520747269656420746f20696e637265617365207468652073757070706c6044820152703c97102232b1b932b0b9b29037b7363c9760791b6064820152608401610cb9565b601055565b611bd6611c7c565b6001600160a01b038116611c3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb9565b611c4481611d3f565b50565b600081600111158015611c5b575060005482105b801561091a575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb9565b60008180600111611d2657600054811015611d2657600081815260046020526040902054600160e01b8116611d24575b8061129b575060001901600081815260046020526040902054611d06565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461091a90612104565b60005481611dee5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e9d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e65565b5081611ebb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ef9903390899088908890600401612997565b6020604051808303816000875af1925050508015611f34575060408051601f3d908101601f19168201909252611f31918101906129d4565b60015b611f8f573d808015611f62576040519150601f19603f3d011682016040523d82523d6000602084013e611f67565b606091505b508051611f87576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091a611fdd83611cd6565b612104565b6060600c805461092f90612778565b6060816120155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561203f5780612029816129f1565b91506120389050600a836127fe565b9150612019565b6000816001600160401b038111156120595761205961235a565b6040519080825280601f01601f191660200182016040528015612083576020820181803683370190505b5090505b8415611fa557612098600183612a0c565b91506120a5600a86612a23565b6120b0906030612856565b60f81b8183815181106120c5576120c5612812565b60200101906001600160f81b031916908160001a9053506120e7600a866127fe565b9450612087565b6000826120fb858461214b565b14949350505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b84518110156121905761217c8286838151811061216f5761216f612812565b6020026020010151612198565b915080612188816129f1565b915050612150565b509392505050565b60008183106121b457600082815260208490526040902061129b565b5060009182526020526040902090565b8280546121d090612778565b90600052602060002090601f0160209004810192826121f25760008555612238565b82601f1061220b57805160ff1916838001178555612238565b82800160010185558215612238579182015b8281111561223857825182559160200191906001019061221d565b50612244929150612248565b5090565b5b808211156122445760008155600101612249565b6001600160e01b031981168114611c4457600080fd5b60006020828403121561228557600080fd5b813561129b8161225d565b60005b838110156122ab578181015183820152602001612293565b8381111561150a5750506000910152565b600081518084526122d4816020860160208601612290565b601f01601f19169290920160200192915050565b60208152600061129b60208301846122bc565b60006020828403121561230d57600080fd5b5035919050565b80356001600160a01b038116811461232b57600080fd5b919050565b6000806040838503121561234357600080fd5b61234c83612314565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561238a5761238a61235a565b604051601f8501601f19908116603f011681019082821181831017156123b2576123b261235a565b816040528093508581528686860111156123cb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123f757600080fd5b81356001600160401b0381111561240d57600080fd5b8201601f8101841361241e57600080fd5b611fa584823560208401612370565b8035801515811461232b57600080fd5b60006020828403121561244f57600080fd5b61129b8261242d565b60008060006060848603121561246d57600080fd5b61247684612314565b925061248460208501612314565b9150604084013590509250925092565b60008083601f8401126124a657600080fd5b5081356001600160401b038111156124bd57600080fd5b6020830191508360208260051b85010111156124d857600080fd5b9250929050565b600080602083850312156124f257600080fd5b82356001600160401b0381111561250857600080fd5b61251485828601612494565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156110fc5761258b838551612520565b9284019260809290920191600101612578565b6000602082840312156125b057600080fd5b61129b82612314565b6020808252825182820181905260009190848201906040850190845b818110156110fc578351835292840192918401916001016125d5565b60008060006060848603121561260657600080fd5b61260f84612314565b95602085013595506040909401359392505050565b6000806040838503121561263757600080fd5b61264083612314565b915061264e6020840161242d565b90509250929050565b6000806000806080858703121561266d57600080fd5b61267685612314565b935061268460208601612314565b92506040850135915060608501356001600160401b038111156126a657600080fd5b8501601f810187136126b757600080fd5b6126c687823560208401612370565b91505092959194509250565b600080604083850312156126e557600080fd5b8235915061264e60208401612314565b6080810161091a8284612520565b60008060006040848603121561271857600080fd5b8335925060208401356001600160401b0381111561273557600080fd5b61274186828701612494565b9497909650939450505050565b6000806040838503121561276157600080fd5b61276a83612314565b915061264e60208401612314565b600181811c9082168061278c57607f821691505b602082108114156127ad57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e3576127e36127b3565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261280d5761280d6127e8565b500490565b634e487b7160e01b600052603260045260246000fd5b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b60008219821115612869576128696127b3565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6020808252601d908201527f546f6f206d616e79204e46547320696e20746869732077616c6c657421000000604082015260600190565b6000845160206128e68285838a01612290565b8551918401916128f98184848a01612290565b8554920191600090600181811c908083168061291657607f831692505b85831081141561293457634e487b7160e01b85526022600452602485fd5b808015612948576001811461295957612986565b60ff19851688528388019550612986565b60008b81526020902060005b8581101561297e5781548a820152908401908801612965565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ca908301846122bc565b9695505050505050565b6000602082840312156129e657600080fd5b815161129b8161225d565b6000600019821415612a0557612a056127b3565b5060010190565b600082821015612a1e57612a1e6127b3565b500390565b600082612a3257612a326127e8565b50069056fea2646970667358221220a0d67c0ae6fb08909b766d2093745c5a8a6ef9f87155923404a8ae394457b52864736f6c634300080b0033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000115137de60860000000000000000000000000000000000000000000000000000000000000001e77000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000460000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000f56696e6e7920616e64204672656e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000356414600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c80637ec4a65911610175578063b88d4fde116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610825578063ea1644d51461086e578063f103b4331461088e578063f2fde38b146108ae57600080fd5b8063d5abeb01146107bf578063db4bec44146107d5578063e0a808531461080557600080fd5b8063b88d4fde1461070a578063bc63f02e1461072a578063bf389a301461074a578063c23dc68f1461075f578063c87b56dd1461078c578063d2cab056146107ac57600080fd5b806399a2557a1161012e57806399a2557a14610662578063a0712d6814610682578063a22cb46514610695578063a45ba8e7146106b5578063b071401b146106ca578063b767a098146106ea57600080fd5b80637ec4a659146105b65780638462151c146105d65780638da5cb5b146106035780638f3fa8601461062157806394354fd01461063757806395d89b411461064d57600080fd5b806344a0d68a1161021957806362b99ad4116101d257806362b99ad41461050d5780636352211e146105225780636caede3d1461054257806370a0823114610561578063715018a6146105815780637cb647591461059657600080fd5b806344a0d68a146104515780634fdd43cb1461047157806351830227146104915780635503a0e8146104b15780635bbb2177146104c65780635c975abb146104f357600080fd5b806316c38b3c1161026b57806316c38b3c146103a857806318160ddd146103c857806323b872dd146103e65780632eb4a7ab146104065780633ccfd60b1461041c57806342842e0e1461043157600080fd5b806301ffc9a7146102b357806306fdde03146102e8578063081812fc1461030a578063095ea7b31461034257806313faede61461036457806316ba10e014610388575b600080fd5b3480156102bf57600080fd5b506102d36102ce366004612273565b6108ce565b60405190151581526020015b60405180910390f35b3480156102f457600080fd5b506102fd610920565b6040516102df91906122e8565b34801561031657600080fd5b5061032a6103253660046122fb565b6109b2565b6040516001600160a01b0390911681526020016102df565b34801561034e57600080fd5b5061036261035d366004612330565b6109f6565b005b34801561037057600080fd5b5061037a600f5481565b6040519081526020016102df565b34801561039457600080fd5b506103626103a33660046123e5565b610a96565b3480156103b457600080fd5b506103626103c336600461243d565b610ab5565b3480156103d457600080fd5b5061037a600154600054036000190190565b3480156103f257600080fd5b50610362610401366004612458565b610ad0565b34801561041257600080fd5b5061037a600a5481565b34801561042857600080fd5b50610362610c62565b34801561043d57600080fd5b5061036261044c366004612458565b610db6565b34801561045d57600080fd5b5061036261046c3660046122fb565b610dd6565b34801561047d57600080fd5b5061036261048c3660046123e5565b610de3565b34801561049d57600080fd5b506013546102d39062010000900460ff1681565b3480156104bd57600080fd5b506102fd610dfe565b3480156104d257600080fd5b506104e66104e13660046124df565b610e8c565b6040516102df919061255c565b3480156104ff57600080fd5b506013546102d39060ff1681565b34801561051957600080fd5b506102fd610f57565b34801561052e57600080fd5b5061032a61053d3660046122fb565b610f64565b34801561054e57600080fd5b506013546102d390610100900460ff1681565b34801561056d57600080fd5b5061037a61057c36600461259e565b610f6f565b34801561058d57600080fd5b50610362610fbd565b3480156105a257600080fd5b506103626105b13660046122fb565b610fd1565b3480156105c257600080fd5b506103626105d13660046123e5565b610fde565b3480156105e257600080fd5b506105f66105f136600461259e565b610ff9565b6040516102df91906125b9565b34801561060f57600080fd5b506008546001600160a01b031661032a565b34801561062d57600080fd5b5061037a60125481565b34801561064357600080fd5b5061037a60115481565b34801561065957600080fd5b506102fd611108565b34801561066e57600080fd5b506105f661067d3660046125f1565b611117565b6103626106903660046122fb565b6112a2565b3480156106a157600080fd5b506103626106b0366004612624565b6113f4565b3480156106c157600080fd5b506102fd61148a565b3480156106d657600080fd5b506103626106e53660046122fb565b611497565b3480156106f657600080fd5b5061036261070536600461243d565b6114a4565b34801561071657600080fd5b50610362610725366004612657565b6114c6565b34801561073657600080fd5b506103626107453660046126d2565b611510565b34801561075657600080fd5b506103626115c3565b34801561076b57600080fd5b5061077f61077a3660046122fb565b61169c565b6040516102df91906126f5565b34801561079857600080fd5b506102fd6107a73660046122fb565b611724565b6103626107ba366004612703565b611893565b3480156107cb57600080fd5b5061037a60105481565b3480156107e157600080fd5b506102d36107f036600461259e565b600b6020526000908152604090205460ff1681565b34801561081157600080fd5b5061036261082036600461243d565b611b25565b34801561083157600080fd5b506102d361084036600461274e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561087a57600080fd5b506103626108893660046122fb565b611b49565b34801561089a57600080fd5b506103626108a93660046122fb565b611b56565b3480156108ba57600080fd5b506103626108c936600461259e565b611bce565b60006301ffc9a760e01b6001600160e01b0319831614806108ff57506380ac58cd60e01b6001600160e01b03198316145b8061091a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461092f90612778565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90612778565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b60006109bd82611c47565b6109da576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a0182610f64565b9050336001600160a01b03821614610a3a57610a1d8133610840565b610a3a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a9e611c7c565b8051610ab190600d9060208401906121c4565b5050565b610abd611c7c565b6013805460ff1916911515919091179055565b6000610adb82611cd6565b9050836001600160a01b0316816001600160a01b031614610b0e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b5b57610b3e8633610840565b610b5b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b8257604051633a954ecd60e21b815260040160405180910390fd5b8015610b8d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c185760018401600081815260046020526040902054610c16576000548114610c165760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c6a611c7c565b60026009541415610cc25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955600073d40ebdb64c6a4445ab6a3361cbef77eb9d32b78c6064610ceb47603c6127c9565b610cf591906127fe565b604051600081818185875af1925050503d8060008114610d31576040519150601f19603f3d011682016040523d82523d6000602084013e610d36565b606091505b5050905080610d4457600080fd5b60405160009073df911faa8a87700111b64f2ad5b9dbe25cef47f99047908381818185875af1925050503d8060008114610d9a576040519150601f19603f3d011682016040523d82523d6000602084013e610d9f565b606091505b5050905080610dad57600080fd5b50506001600955565b610dd1838383604051806020016040528060008152506114c6565b505050565b610dde611c7c565b600f55565b610deb611c7c565b8051610ab190600e9060208401906121c4565b600d8054610e0b90612778565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3790612778565b8015610e845780601f10610e5957610100808354040283529160200191610e84565b820191906000526020600020905b815481529060010190602001808311610e6757829003601f168201915b505050505081565b6060816000816001600160401b03811115610ea957610ea961235a565b604051908082528060200260200182016040528015610efb57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ec75790505b50905060005b828114610f4e57610f29868683818110610f1d57610f1d612812565b9050602002013561169c565b828281518110610f3b57610f3b612812565b6020908102919091010152600101610f01565b50949350505050565b600c8054610e0b90612778565b600061091a82611cd6565b60006001600160a01b038216610f98576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610fc5611c7c565b610fcf6000611d3f565b565b610fd9611c7c565b600a55565b610fe6611c7c565b8051610ab190600c9060208401906121c4565b6060600080600061100985610f6f565b90506000816001600160401b038111156110255761102561235a565b60405190808252806020026020018201604052801561104e578160200160208202803683370190505b50905061107b60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146110fc5761108e81611d91565b915081604001511561109f576110f4565b81516001600160a01b0316156110b457815194505b876001600160a01b0316856001600160a01b031614156110f457808387806001019850815181106110e7576110e7612812565b6020026020010181815250505b60010161107e565b50909695505050505050565b60606003805461092f90612778565b606081831061113957604051631960ccad60e11b815260040160405180910390fd5b60008061114560005490565b9050600185101561115557600194505b80841115611161578093505b600061116c87610f6f565b90508486101561118b5785850381811015611185578091505b5061118f565b5060005b6000816001600160401b038111156111a9576111a961235a565b6040519080825280602002602001820160405280156111d2578160200160208202803683370190505b509050816111e557935061129b92505050565b60006111f08861169c565b905060008160400151611201575080515b885b8881141580156112135750848714155b1561128f5761122181611d91565b925082604001511561123257611287565b82516001600160a01b03161561124757825191505b8a6001600160a01b0316826001600160a01b03161415611287578084888060010199508151811061127a5761127a612812565b6020026020010181815250505b600101611203565b50505092835250909150505b9392505050565b806000811180156112b557506011548111155b6112d15760405162461bcd60e51b8152600401610cb990612828565b601054816112e6600154600054036000190190565b6112f09190612856565b111561130e5760405162461bcd60e51b8152600401610cb99061286e565b6012548161131b33610f6f565b6113259190612856565b11156113435760405162461bcd60e51b8152600401610cb99061289c565b8180600f5461135291906127c9565b3410156113975760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cb9565b60135460ff16156113ea5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610cb9565b610dd13384611dcd565b6001600160a01b03821633141561141e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e8054610e0b90612778565b61149f611c7c565b601155565b6114ac611c7c565b601380549115156101000261ff0019909216919091179055565b6114d1848484610ad0565b6001600160a01b0383163b1561150a576114ed84848484611ec4565b61150a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b8160008111801561152357506011548111155b61153f5760405162461bcd60e51b8152600401610cb990612828565b60105481611554600154600054036000190190565b61155e9190612856565b111561157c5760405162461bcd60e51b8152600401610cb99061286e565b6012548161158933610f6f565b6115939190612856565b11156115b15760405162461bcd60e51b8152600401610cb99061289c565b6115b9611c7c565b610dd18284611dcd565b6115cb611c7c565b6002600954141561161e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cb9565b600260095560006116376008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611681576040519150601f19603f3d011682016040523d82523d6000602084013e611686565b606091505b505090508061169457600080fd5b506001600955565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806116f557506000548310155b156117005792915050565b61170983611d91565b905080604001511561171b5792915050565b61129b83611fad565b606061172f82611c47565b6117935760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cb9565b60135462010000900460ff1661183557600e80546117b090612778565b80601f01602080910402602001604051908101604052809291908181526020018280546117dc90612778565b80156118295780601f106117fe57610100808354040283529160200191611829565b820191906000526020600020905b81548152906001019060200180831161180c57829003601f168201915b50505050509050919050565b600061183f611fe2565b9050600081511161185f576040518060200160405280600081525061129b565b8061186984611ff1565b600d60405160200161187d939291906128d3565b6040516020818303038152906040529392505050565b826000811180156118a657506011548111155b6118c25760405162461bcd60e51b8152600401610cb990612828565b601054816118d7600154600054036000190190565b6118e19190612856565b11156118ff5760405162461bcd60e51b8152600401610cb99061286e565b6012548161190c33610f6f565b6119169190612856565b11156119345760405162461bcd60e51b8152600401610cb99061289c565b8380600f5461194391906127c9565b3410156119885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cb9565b601354610100900460ff166119ea5760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610cb9565b336000908152600b602052604090205460ff1615611a4a5760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610cb9565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611ac485858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506120ee565b611b015760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610cb9565b336000818152600b60205260409020805460ff19166001179055610c5a9087611dcd565b611b2d611c7c565b60138054911515620100000262ff000019909216919091179055565b611b51611c7c565b601255565b611b5e611c7c565b6010548110611bc95760405162461bcd60e51b815260206004820152603160248201527f596f7520747269656420746f20696e637265617365207468652073757070706c6044820152703c97102232b1b932b0b9b29037b7363c9760791b6064820152608401610cb9565b601055565b611bd6611c7c565b6001600160a01b038116611c3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb9565b611c4481611d3f565b50565b600081600111158015611c5b575060005482105b801561091a575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb9565b60008180600111611d2657600054811015611d2657600081815260046020526040902054600160e01b8116611d24575b8061129b575060001901600081815260046020526040902054611d06565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461091a90612104565b60005481611dee5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e9d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e65565b5081611ebb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ef9903390899088908890600401612997565b6020604051808303816000875af1925050508015611f34575060408051601f3d908101601f19168201909252611f31918101906129d4565b60015b611f8f573d808015611f62576040519150601f19603f3d011682016040523d82523d6000602084013e611f67565b606091505b508051611f87576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091a611fdd83611cd6565b612104565b6060600c805461092f90612778565b6060816120155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561203f5780612029816129f1565b91506120389050600a836127fe565b9150612019565b6000816001600160401b038111156120595761205961235a565b6040519080825280601f01601f191660200182016040528015612083576020820181803683370190505b5090505b8415611fa557612098600183612a0c565b91506120a5600a86612a23565b6120b0906030612856565b60f81b8183815181106120c5576120c5612812565b60200101906001600160f81b031916908160001a9053506120e7600a866127fe565b9450612087565b6000826120fb858461214b565b14949350505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b84518110156121905761217c8286838151811061216f5761216f612812565b6020026020010151612198565b915080612188816129f1565b915050612150565b509392505050565b60008183106121b457600082815260208490526040902061129b565b5060009182526020526040902090565b8280546121d090612778565b90600052602060002090601f0160209004810192826121f25760008555612238565b82601f1061220b57805160ff1916838001178555612238565b82800160010185558215612238579182015b8281111561223857825182559160200191906001019061221d565b50612244929150612248565b5090565b5b808211156122445760008155600101612249565b6001600160e01b031981168114611c4457600080fd5b60006020828403121561228557600080fd5b813561129b8161225d565b60005b838110156122ab578181015183820152602001612293565b8381111561150a5750506000910152565b600081518084526122d4816020860160208601612290565b601f01601f19169290920160200192915050565b60208152600061129b60208301846122bc565b60006020828403121561230d57600080fd5b5035919050565b80356001600160a01b038116811461232b57600080fd5b919050565b6000806040838503121561234357600080fd5b61234c83612314565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561238a5761238a61235a565b604051601f8501601f19908116603f011681019082821181831017156123b2576123b261235a565b816040528093508581528686860111156123cb57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123f757600080fd5b81356001600160401b0381111561240d57600080fd5b8201601f8101841361241e57600080fd5b611fa584823560208401612370565b8035801515811461232b57600080fd5b60006020828403121561244f57600080fd5b61129b8261242d565b60008060006060848603121561246d57600080fd5b61247684612314565b925061248460208501612314565b9150604084013590509250925092565b60008083601f8401126124a657600080fd5b5081356001600160401b038111156124bd57600080fd5b6020830191508360208260051b85010111156124d857600080fd5b9250929050565b600080602083850312156124f257600080fd5b82356001600160401b0381111561250857600080fd5b61251485828601612494565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b818110156110fc5761258b838551612520565b9284019260809290920191600101612578565b6000602082840312156125b057600080fd5b61129b82612314565b6020808252825182820181905260009190848201906040850190845b818110156110fc578351835292840192918401916001016125d5565b60008060006060848603121561260657600080fd5b61260f84612314565b95602085013595506040909401359392505050565b6000806040838503121561263757600080fd5b61264083612314565b915061264e6020840161242d565b90509250929050565b6000806000806080858703121561266d57600080fd5b61267685612314565b935061268460208601612314565b92506040850135915060608501356001600160401b038111156126a657600080fd5b8501601f810187136126b757600080fd5b6126c687823560208401612370565b91505092959194509250565b600080604083850312156126e557600080fd5b8235915061264e60208401612314565b6080810161091a8284612520565b60008060006040848603121561271857600080fd5b8335925060208401356001600160401b0381111561273557600080fd5b61274186828701612494565b9497909650939450505050565b6000806040838503121561276157600080fd5b61276a83612314565b915061264e60208401612314565b600181811c9082168061278c57607f821691505b602082108114156127ad57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e3576127e36127b3565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261280d5761280d6127e8565b500490565b634e487b7160e01b600052603260045260246000fd5b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b60008219821115612869576128696127b3565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6020808252601d908201527f546f6f206d616e79204e46547320696e20746869732077616c6c657421000000604082015260600190565b6000845160206128e68285838a01612290565b8551918401916128f98184848a01612290565b8554920191600090600181811c908083168061291657607f831692505b85831081141561293457634e487b7160e01b85526022600452602485fd5b808015612948576001811461295957612986565b60ff19851688528388019550612986565b60008b81526020902060005b8581101561297e5781548a820152908401908801612965565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ca908301846122bc565b9695505050505050565b6000602082840312156129e657600080fd5b815161129b8161225d565b6000600019821415612a0557612a056127b3565b5060010190565b600082821015612a1e57612a1e6127b3565b500390565b600082612a3257612a326127e8565b50069056fea2646970667358221220a0d67c0ae6fb08909b766d2093745c5a8a6ef9f87155923404a8ae394457b52864736f6c634300080b0033

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

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000115137de60860000000000000000000000000000000000000000000000000000000000000001e77000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000460000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000f56696e6e7920616e64204672656e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000356414600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _tokenName (string): Vinny and Frens
Arg [1] : _tokenSymbol (string): VAF
Arg [2] : _cost (uint256): 77990000000000000
Arg [3] : _maxSupply (uint256): 7799
Arg [4] : _maxMintAmountPerTx (uint256): 42
Arg [5] : _maxWalletSize (uint256): 70
Arg [6] : _hiddenMetadataUri (string):

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000115137de6086000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001e77
Arg [4] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000046
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [8] : 56696e6e7920616e64204672656e730000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 5641460000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

78766:6062:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36009:639;;;;;;;;;;-1:-1:-1;36009:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36009:639:0;;;;;;;;36911:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43394:218::-;;;;;;;;;;-1:-1:-1;43394:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;43394:218:0;1528:203:1;42835:400:0;;;;;;;;;;-1:-1:-1;42835:400:0;;;;;:::i;:::-;;:::i;:::-;;79072:35;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;79072:35:0;2173:177:1;83326:100:0;;;;;;;;;;-1:-1:-1;83326:100:0;;;;;:::i;:::-;;:::i;83468:77::-;;;;;;;;;;-1:-1:-1;83468:77:0;;;;;:::i;:::-;;:::i;32662:323::-;;;;;;;;;;;;81831:1;32936:12;32723:7;32920:13;:28;-1:-1:-1;;32920:46:0;;32662:323;47101:2817;;;;;;;;;;-1:-1:-1;47101:2817:0;;;;;:::i;:::-;;:::i;78871:25::-;;;;;;;;;;;;;;;;83848:328;;;;;;;;;;;;;:::i;50014:185::-;;;;;;;;;;-1:-1:-1;50014:185:0;;;;;:::i;:::-;;:::i;82528:74::-;;;;;;;;;;-1:-1:-1;82528:74:0;;;;;:::i;:::-;;:::i;82974:132::-;;;;;;;;;;-1:-1:-1;82974:132:0;;;;;:::i;:::-;;:::i;79306:28::-;;;;;;;;;;-1:-1:-1;79306:28:0;;;;;;;;;;;78989:33;;;;;;;;;;;;;:::i;72592:528::-;;;;;;;;;;-1:-1:-1;72592:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;79231:25::-;;;;;;;;;;-1:-1:-1;79231:25:0;;;;;;;;78956:28;;;;;;;;;;;;;:::i;38304:152::-;;;;;;;;;;-1:-1:-1;38304:152:0;;;;;:::i;:::-;;:::i;79261:40::-;;;;;;;;;;-1:-1:-1;79261:40:0;;;;;;;;;;;33846:233;;;;;;;;;;-1:-1:-1;33846:233:0;;;;;:::i;:::-;;:::i;16757:103::-;;;;;;;;;;;;;:::i;83588:98::-;;;;;;;;;;-1:-1:-1;83588:98:0;;;;;:::i;:::-;;:::i;83181:100::-;;;;;;;;;;-1:-1:-1;83181:100:0;;;;;:::i;:::-;;:::i;76468:900::-;;;;;;;;;;-1:-1:-1;76468:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;16109:87::-;;;;;;;;;;-1:-1:-1;16182:6:0;;-1:-1:-1;;;;;16182:6:0;16109:87;;79191:33;;;;;;;;;;;;;;;;79148:38;;;;;;;;;;;;;;;;37087:104;;;;;;;;;;;;;:::i;73508:2513::-;;;;;;;;;;-1:-1:-1;73508:2513:0;;;;;:::i;:::-;;:::i;81239:198::-;;;;;;:::i;:::-;;:::i;43952:308::-;;;;;;;;;;-1:-1:-1;43952:308:0;;;;;:::i;:::-;;:::i;79027:36::-;;;;;;;;;;;;;:::i;82649:130::-;;;;;;;;;;-1:-1:-1;82649:130:0;;;;;:::i;:::-;;:::i;83736:105::-;;;;;;;;;;-1:-1:-1;83736:105:0;;;;;:::i;:::-;;:::i;50797:399::-;;;;;;;;;;-1:-1:-1;50797:399:0;;;;;:::i;:::-;;:::i;81551:139::-;;;;;;;;;;-1:-1:-1;81551:139:0;;;;;:::i;:::-;;:::i;84281:164::-;;;;;;;;;;;;;:::i;72005:428::-;;;;;;;;;;-1:-1:-1;72005:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;81919:454::-;;;;;;;;;;-1:-1:-1;81919:454:0;;;;;:::i;:::-;;:::i;80572:639::-;;;;;;:::i;:::-;;:::i;79112:31::-;;;;;;;;;;;;;;;;78901:48;;;;;;;;;;-1:-1:-1;78901:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;82418:81;;;;;;;;;;-1:-1:-1;82418:81:0;;;;;:::i;:::-;;:::i;44417:164::-;;;;;;;;;;-1:-1:-1;44417:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44538:25:0;;;44514:4;44538:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44417:164;82829:110;;;;;;;;;;-1:-1:-1;82829:110:0;;;;;:::i;:::-;;:::i;84509:198::-;;;;;;;;;;-1:-1:-1;84509:198:0;;;;;:::i;:::-;;:::i;17015:201::-;;;;;;;;;;-1:-1:-1;17015:201:0;;;;;:::i;:::-;;:::i;36009:639::-;36094:4;-1:-1:-1;;;;;;;;;36418:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36495:25:0;;;36418:102;:179;;;-1:-1:-1;;;;;;;;;;36572:25:0;;;36418:179;36398:199;36009:639;-1:-1:-1;;36009:639:0:o;36911:100::-;36965:13;36998:5;36991:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36911:100;:::o;43394:218::-;43470:7;43495:16;43503:7;43495;:16::i;:::-;43490:64;;43520:34;;-1:-1:-1;;;43520:34:0;;;;;;;;;;;43490:64;-1:-1:-1;43574:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43574:30:0;;43394:218::o;42835:400::-;42916:13;42932:16;42940:7;42932;:16::i;:::-;42916:32;-1:-1:-1;66692:10:0;-1:-1:-1;;;;;42965:28:0;;;42961:175;;43013:44;43030:5;66692:10;44417:164;:::i;43013:44::-;43008:128;;43085:35;;-1:-1:-1;;;43085:35:0;;;;;;;;;;;43008:128;43148:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43148:35:0;-1:-1:-1;;;;;43148:35:0;;;;;;;;;43199:28;;43148:24;;43199:28;;;;;;;42905:330;42835:400;;:::o;83326:100::-;15995:13;:11;:13::i;:::-;83398:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;83326:100:::0;:::o;83468:77::-;15995:13;:11;:13::i;:::-;83524:6:::1;:15:::0;;-1:-1:-1;;83524:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;83468:77::o;47101:2817::-;47235:27;47265;47284:7;47265:18;:27::i;:::-;47235:57;;47350:4;-1:-1:-1;;;;;47309:45:0;47325:19;-1:-1:-1;;;;;47309:45:0;;47305:86;;47363:28;;-1:-1:-1;;;47363:28:0;;;;;;;;;;;47305:86;47405:27;46215:24;;;:15;:24;;;;;46437:26;;66692:10;45840:30;;;-1:-1:-1;;;;;45533:28:0;;45818:20;;;45815:56;47591:180;;47684:43;47701:4;66692:10;44417:164;:::i;47684:43::-;47679:92;;47736:35;;-1:-1:-1;;;47736:35:0;;;;;;;;;;;47679:92;-1:-1:-1;;;;;47788:16:0;;47784:52;;47813:23;;-1:-1:-1;;;47813:23:0;;;;;;;;;;;47784:52;47985:15;47982:160;;;48125:1;48104:19;48097:30;47982:160;-1:-1:-1;;;;;48522:24:0;;;;;;;:18;:24;;;;;;48520:26;;-1:-1:-1;;48520:26:0;;;48591:22;;;;;;;;;48589:24;;-1:-1:-1;48589:24:0;;;41693:11;41668:23;41664:41;41651:63;-1:-1:-1;;;41651:63:0;48884:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49179:47:0;;49175:627;;49284:1;49274:11;;49252:19;49407:30;;;:17;:30;;;;;;49403:384;;49545:13;;49530:11;:28;49526:242;;49692:30;;;;:17;:30;;;;;:52;;;49526:242;49233:569;49175:627;49849:7;49845:2;-1:-1:-1;;;;;49830:27:0;49839:4;-1:-1:-1;;;;;49830:27:0;;;;;;;;;;;49868:42;47224:2694;;;47101:2817;;;:::o;83848:328::-;15995:13;:11;:13::i;:::-;4309:1:::1;4907:7;;:19;;4899:63;;;::::0;-1:-1:-1;;;4899:63:0;;10503:2:1;4899:63:0::1;::::0;::::1;10485:21:1::0;10542:2;10522:18;;;10515:30;10581:33;10561:18;;;10554:61;10632:18;;4899:63:0::1;;;;;;;;;4309:1;5040:7;:18:::0;83908:7:::2;83929:42;84013:3;83985:26;:21;84009:2;83985:26;:::i;:::-;:31;;;;:::i;:::-;83921:100;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83907:114;;;84036:2;84028:11;;;::::0;::::2;;84062:90;::::0;84049:7:::2;::::0;84070:42:::2;::::0;84126:21:::2;::::0;84049:7;84062:90;84049:7;84062:90;84126:21;84070:42;84062:90:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84048:104;;;84167:2;84159:11;;;::::0;::::2;;-1:-1:-1::0;;4265:1:0::1;5219:7;:22:::0;83848:328::o;50014:185::-;50152:39;50169:4;50175:2;50179:7;50152:39;;;;;;;;;;;;:16;:39::i;:::-;50014:185;;;:::o;82528:74::-;15995:13;:11;:13::i;:::-;82584:4:::1;:12:::0;82528:74::o;82974:132::-;15995:13;:11;:13::i;:::-;83062:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;78989:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;72592:528::-;72736:23;72827:8;72802:22;72827:8;-1:-1:-1;;;;;72894:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72894:36:0;;-1:-1:-1;;72894:36:0;;;;;;;;;;;;72857:73;;72950:9;72945:125;72966:14;72961:1;:19;72945:125;;73022:32;73042:8;;73051:1;73042:11;;;;;;;:::i;:::-;;;;;;;73022:19;:32::i;:::-;73006:10;73017:1;73006:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;72982:3;;72945:125;;;-1:-1:-1;73091:10:0;72592:528;-1:-1:-1;;;;72592:528:0:o;78956:28::-;;;;;;;:::i;38304:152::-;38376:7;38419:27;38438:7;38419:18;:27::i;33846:233::-;33918:7;-1:-1:-1;;;;;33942:19:0;;33938:60;;33970:28;;-1:-1:-1;;;33970:28:0;;;;;;;;;;;33938:60;-1:-1:-1;;;;;;34016:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;34016:55:0;;33846:233::o;16757:103::-;15995:13;:11;:13::i;:::-;16822:30:::1;16849:1;16822:18;:30::i;:::-;16757:103::o:0;83588:98::-;15995:13;:11;:13::i;:::-;83656:10:::1;:24:::0;83588:98::o;83181:100::-;15995:13;:11;:13::i;:::-;83253:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;76468:900::-:0;76546:16;76600:19;76634:25;76674:22;76699:16;76709:5;76699:9;:16::i;:::-;76674:41;;76730:25;76772:14;-1:-1:-1;;;;;76758:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76758:29:0;;76730:57;;76802:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76802:31:0;81831:1;76848:472;76897:14;76882:11;:29;76848:472;;76949:15;76962:1;76949:12;:15::i;:::-;76937:27;;76987:9;:16;;;76983:73;;;77028:8;;76983:73;77078:14;;-1:-1:-1;;;;;77078:28:0;;77074:111;;77151:14;;;-1:-1:-1;77074:111:0;77228:5;-1:-1:-1;;;;;77207:26:0;:17;-1:-1:-1;;;;;77207:26:0;;77203:102;;;77284:1;77258:8;77267:13;;;;;;77258:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;77203:102;76913:3;;76848:472;;;-1:-1:-1;77341:8:0;;76468:900;-1:-1:-1;;;;;;76468:900:0:o;37087:104::-;37143:13;37176:7;37169:14;;;;;:::i;73508:2513::-;73651:16;73718:4;73709:5;:13;73705:45;;73731:19;;-1:-1:-1;;;73731:19:0;;;;;;;;;;;73705:45;73765:19;73799:17;73819:14;32404:7;32431:13;;32349:103;73819:14;73799:34;-1:-1:-1;81831:1:0;73911:5;:23;73907:87;;;81831:1;73955:23;;73907:87;74070:9;74063:4;:16;74059:73;;;74107:9;74100:16;;74059:73;74146:25;74174:16;74184:5;74174:9;:16::i;:::-;74146:44;;74368:4;74360:5;:12;74356:278;;;74415:12;;;74450:31;;;74446:111;;;74526:11;74506:31;;74446:111;74374:198;74356:278;;;-1:-1:-1;74617:1:0;74356:278;74648:25;74690:17;-1:-1:-1;;;;;74676:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74676:32:0;-1:-1:-1;74648:60:0;-1:-1:-1;74727:22:0;74723:78;;74777:8;-1:-1:-1;74770:15:0;;-1:-1:-1;;;74770:15:0;74723:78;74945:31;74979:26;74999:5;74979:19;:26::i;:::-;74945:60;;75020:25;75265:9;:16;;;75260:92;;-1:-1:-1;75322:14:0;;75260:92;75383:5;75366:478;75395:4;75390:1;:9;;:45;;;;;75418:17;75403:11;:32;;75390:45;75366:478;;;75473:15;75486:1;75473:12;:15::i;:::-;75461:27;;75511:9;:16;;;75507:73;;;75552:8;;75507:73;75602:14;;-1:-1:-1;;;;;75602:28:0;;75598:111;;75675:14;;;-1:-1:-1;75598:111:0;75752:5;-1:-1:-1;;;;;75731:26:0;:17;-1:-1:-1;;;;;75731:26:0;;75727:102;;;75808:1;75782:8;75791:13;;;;;;75782:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;75727:102;75437:3;;75366:478;;;-1:-1:-1;;;75929:29:0;;;-1:-1:-1;75936:8:0;;-1:-1:-1;;73508:2513:0;;;;;;:::o;81239:198::-;81299:11;80091:1;80077:11;:15;:52;;;;;80111:18;;80096:11;:33;;80077:52;80069:85;;;;-1:-1:-1;;;80069:85:0;;;;;;;:::i;:::-;80200:9;;80185:11;80169:13;81831:1;32936:12;32723:7;32920:13;:28;-1:-1:-1;;32920:46:0;;32662:323;80169:13;:27;;;;:::i;:::-;:40;;80161:73;;;;-1:-1:-1;;;80161:73:0;;;;;;;:::i;:::-;80288:13;;80273:11;80249:21;80259:10;80249:9;:21::i;:::-;:35;;;;:::i;:::-;:52;;80241:94;;;;-1:-1:-1;;;80241:94:0;;;;;;;:::i;:::-;81327:11:::1;80496;80489:4;;:18;;;;:::i;:::-;80476:9;:31;;80468:63;;;::::0;-1:-1:-1;;;80468:63:0;;12956:2:1;80468:63:0::1;::::0;::::1;12938:21:1::0;12995:2;12975:18;;;12968:30;-1:-1:-1;;;13014:18:1;;;13007:49;13073:18;;80468:63:0::1;12754:343:1::0;80468:63:0::1;81356:6:::2;::::0;::::2;;81355:7;81347:43;;;::::0;-1:-1:-1;;;81347:43:0;;13304:2:1;81347:43:0::2;::::0;::::2;13286:21:1::0;13343:2;13323:18;;;13316:30;13382:25;13362:18;;;13355:53;13425:18;;81347:43:0::2;13102:347:1::0;81347:43:0::2;81399:32;66692:10:::0;81419:11:::2;81399:5;:32::i;43952:308::-:0;-1:-1:-1;;;;;44051:31:0;;66692:10;44051:31;44047:61;;;44091:17;;-1:-1:-1;;;44091:17:0;;;;;;;;;;;44047:61;66692:10;44121:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44121:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44121:60:0;;;;;;;;;;44197:55;;540:41:1;;;44121:49:0;;66692:10;44197:55;;513:18:1;44197:55:0;;;;;;;43952:308;;:::o;79027:36::-;;;;;;;:::i;82649:130::-;15995:13;:11;:13::i;:::-;82733:18:::1;:40:::0;82649:130::o;83736:105::-;15995:13;:11;:13::i;:::-;83806:20:::1;:29:::0;;;::::1;;;;-1:-1:-1::0;;83806:29:0;;::::1;::::0;;;::::1;::::0;;83736:105::o;50797:399::-;50964:31;50977:4;50983:2;50987:7;50964:12;:31::i;:::-;-1:-1:-1;;;;;51010:14:0;;;:19;51006:183;;51049:56;51080:4;51086:2;51090:7;51099:5;51049:30;:56::i;:::-;51044:145;;51133:40;;-1:-1:-1;;;51133:40:0;;;;;;;;;;;51044:145;50797:399;;;;:::o;81551:139::-;81625:11;80091:1;80077:11;:15;:52;;;;;80111:18;;80096:11;:33;;80077:52;80069:85;;;;-1:-1:-1;;;80069:85:0;;;;;;;:::i;:::-;80200:9;;80185:11;80169:13;81831:1;32936:12;32723:7;32920:13;:28;-1:-1:-1;;32920:46:0;;32662:323;80169:13;:27;;;;:::i;:::-;:40;;80161:73;;;;-1:-1:-1;;;80161:73:0;;;;;;;:::i;:::-;80288:13;;80273:11;80249:21;80259:10;80249:9;:21::i;:::-;:35;;;;:::i;:::-;:52;;80241:94;;;;-1:-1:-1;;;80241:94:0;;;;;;;:::i;:::-;15995:13:::1;:11;:13::i;:::-;81655:29:::2;81661:9;81672:11;81655:5;:29::i;84281:164::-:0;15995:13;:11;:13::i;:::-;4309:1:::1;4907:7;;:19;;4899:63;;;::::0;-1:-1:-1;;;4899:63:0;;10503:2:1;4899:63:0::1;::::0;::::1;10485:21:1::0;10542:2;10522:18;;;10515:30;10581:33;10561:18;;;10554:61;10632:18;;4899:63:0::1;10301:355:1::0;4899:63:0::1;4309:1;5040:7;:18:::0;84347:7:::2;84368;16182:6:::0;;-1:-1:-1;;;;;16182:6:0;;16109:87;84368:7:::2;-1:-1:-1::0;;;;;84360:21:0::2;84389;84360:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84346:69;;;84430:2;84422:11;;;::::0;::::2;;-1:-1:-1::0;4265:1:0::1;5219:7;:22:::0;84281:164::o;72005:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81831:1:0;72169:7;:25;:54;;;-1:-1:-1;32404:7:0;32431:13;72198:7;:25;;72169:54;72165:103;;;72247:9;72005:428;-1:-1:-1;;72005:428:0:o;72165:103::-;72290:21;72303:7;72290:12;:21::i;:::-;72278:33;;72326:9;:16;;;72322:65;;;72366:9;72005:428;-1:-1:-1;;72005:428:0:o;72322:65::-;72404:21;72417:7;72404:12;:21::i;81919:454::-;82002:13;82032:17;82040:8;82032:7;:17::i;:::-;82024:77;;;;-1:-1:-1;;;82024:77:0;;13656:2:1;82024:77:0;;;13638:21:1;13695:2;13675:18;;;13668:30;13734:34;13714:18;;;13707:62;-1:-1:-1;;;13785:18:1;;;13778:45;13840:19;;82024:77:0;13454:411:1;82024:77:0;82114:8;;;;;;;82110:64;;82149:17;82142:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81919:454;;;:::o;82110:64::-;82182:28;82213:10;:8;:10::i;:::-;82182:41;;82268:1;82243:14;82237:28;:32;:130;;;;;;;;;;;;;;;;;82305:14;82321:19;:8;:17;:19::i;:::-;82342:9;82288:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82230:137;81919:454;-1:-1:-1;;;81919:454:0:o;80572:639::-;80674:11;80091:1;80077:11;:15;:52;;;;;80111:18;;80096:11;:33;;80077:52;80069:85;;;;-1:-1:-1;;;80069:85:0;;;;;;;:::i;:::-;80200:9;;80185:11;80169:13;81831:1;32936:12;32723:7;32920:13;:28;-1:-1:-1;;32920:46:0;;32662:323;80169:13;:27;;;;:::i;:::-;:40;;80161:73;;;;-1:-1:-1;;;80161:73:0;;;;;;;:::i;:::-;80288:13;;80273:11;80249:21;80259:10;80249:9;:21::i;:::-;:35;;;;:::i;:::-;:52;;80241:94;;;;-1:-1:-1;;;80241:94:0;;;;;;;:::i;:::-;80702:11:::1;80496;80489:4;;:18;;;;:::i;:::-;80476:9;:31;;80468:63;;;::::0;-1:-1:-1;;;80468:63:0;;12956:2:1;80468:63:0::1;::::0;::::1;12938:21:1::0;12995:2;12975:18;;;12968:30;-1:-1:-1;;;13014:18:1;;;13007:49;13073:18;;80468:63:0::1;12754:343:1::0;80468:63:0::1;80839:20:::2;::::0;::::2;::::0;::::2;;;80831:67;;;::::0;-1:-1:-1;;;80831:67:0;;15730:2:1;80831:67:0::2;::::0;::::2;15712:21:1::0;15769:2;15749:18;;;15742:30;15808:34;15788:18;;;15781:62;-1:-1:-1;;;15859:18:1;;;15852:32;15901:19;;80831:67:0::2;15528:398:1::0;80831:67:0::2;66692:10:::0;80914:30:::2;::::0;;;:16:::2;:30;::::0;;;;;::::2;;80913:31;80905:68;;;::::0;-1:-1:-1;;;80905:68:0;;16133:2:1;80905:68:0::2;::::0;::::2;16115:21:1::0;16172:2;16152:18;;;16145:30;16211:26;16191:18;;;16184:54;16255:18;;80905:68:0::2;15931:348:1::0;80905:68:0::2;81005:30;::::0;-1:-1:-1;;66692:10:0;16433:2:1;16429:15;16425:53;81005:30:0::2;::::0;::::2;16413:66:1::0;80980:12:0::2;::::0;16495::1;;81005:30:0::2;;;;;;;;;;;;80995:41;;;;;;80980:56;;81051:50;81070:12;;81051:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;81084:10:0::2;::::0;;-1:-1:-1;81096:4:0;;-1:-1:-1;81051:18:0::2;:50::i;:::-;81043:77;;;::::0;-1:-1:-1;;;81043:77:0;;16720:2:1;81043:77:0::2;::::0;::::2;16702:21:1::0;16759:2;16739:18;;;16732:30;-1:-1:-1;;;16778:18:1;;;16771:44;16832:18;;81043:77:0::2;16518:338:1::0;81043:77:0::2;66692:10:::0;81129:30:::2;::::0;;;:16:::2;:30;::::0;;;;:37;;-1:-1:-1;;81129:37:0::2;81162:4;81129:37;::::0;;81173:32:::2;::::0;81193:11;81173:5:::2;:32::i;82418:81::-:0;15995:13;:11;:13::i;:::-;82476:8:::1;:17:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;82476:17:0;;::::1;::::0;;;::::1;::::0;;82418:81::o;82829:110::-;15995:13;:11;:13::i;:::-;82903::::1;:30:::0;82829:110::o;84509:198::-;15995:13;:11;:13::i;:::-;84605:9:::1;;84592:10;:22;84584:84;;;::::0;-1:-1:-1;;;84584:84:0;;17063:2:1;84584:84:0::1;::::0;::::1;17045:21:1::0;17102:2;17082:18;;;17075:30;17141:34;17121:18;;;17114:62;-1:-1:-1;;;17192:18:1;;;17185:47;17249:19;;84584:84:0::1;16861:413:1::0;84584:84:0::1;84679:9;:22:::0;84509:198::o;17015:201::-;15995:13;:11;:13::i;:::-;-1:-1:-1;;;;;17104:22:0;::::1;17096:73;;;::::0;-1:-1:-1;;;17096:73:0;;17481:2:1;17096:73:0::1;::::0;::::1;17463:21:1::0;17520:2;17500:18;;;17493:30;17559:34;17539:18;;;17532:62;-1:-1:-1;;;17610:18:1;;;17603:36;17656:19;;17096:73:0::1;17279:402:1::0;17096:73:0::1;17180:28;17199:8;17180:18;:28::i;:::-;17015:201:::0;:::o;44839:282::-;44904:4;44960:7;81831:1;44941:26;;:66;;;;;44994:13;;44984:7;:23;44941:66;:153;;;;-1:-1:-1;;45045:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;45045:44:0;:49;;44839:282::o;16274:132::-;16182:6;;-1:-1:-1;;;;;16182:6:0;66692:10;16338:23;16330:68;;;;-1:-1:-1;;;16330:68:0;;17888:2:1;16330:68:0;;;17870:21:1;;;17907:18;;;17900:30;17966:34;17946:18;;;17939:62;18018:18;;16330:68:0;17686:356:1;39459:1275:0;39526:7;39561;;81831:1;39610:23;39606:1061;;39663:13;;39656:4;:20;39652:1015;;;39701:14;39718:23;;;:17;:23;;;;;;-1:-1:-1;;;39807:24:0;;39803:845;;40472:113;40479:11;40472:113;;-1:-1:-1;;;40550:6:0;40532:25;;;;:17;:25;;;;;;40472:113;;39803:845;39678:989;39652:1015;40695:31;;-1:-1:-1;;;40695:31:0;;;;;;;;;;;17376:191;17469:6;;;-1:-1:-1;;;;;17486:17:0;;;-1:-1:-1;;;;;;17486:17:0;;;;;;;17519:40;;17469:6;;;17486:17;17469:6;;17519:40;;17450:16;;17519:40;17439:128;17376:191;:::o;38907:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39035:24:0;;;;:17;:24;;;;;;39016:44;;:18;:44::i;54458:2454::-;54531:20;54554:13;54582;54578:44;;54604:18;;-1:-1:-1;;;54604:18:0;;;;;;;;;;;54578:44;-1:-1:-1;;;;;55110:22:0;;;;;;:18;:22;;;;28143:2;55110:22;;;:71;;55148:32;55136:45;;55110:71;;;55424:31;;;:17;:31;;;;;-1:-1:-1;42124:15:0;;42098:24;42094:46;41693:11;41668:23;41664:41;41661:52;41651:63;;55424:173;;55659:23;;;;55424:31;;55110:22;;56158:25;55110:22;;56011:335;56426:1;56412:12;56408:20;56366:346;56467:3;56458:7;56455:16;56366:346;;56685:7;56675:8;56672:1;56645:25;56642:1;56639;56634:59;56520:1;56507:15;56366:346;;;-1:-1:-1;56745:13:0;56741:45;;56767:19;;-1:-1:-1;;;56767:19:0;;;;;;;;;;;56741:45;56803:13;:19;-1:-1:-1;50014:185:0;;;:::o;53280:716::-;53464:88;;-1:-1:-1;;;53464:88:0;;53443:4;;-1:-1:-1;;;;;53464:45:0;;;;;:88;;66692:10;;53531:4;;53537:7;;53546:5;;53464:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53464:88:0;;;;;;;;-1:-1:-1;;53464:88:0;;;;;;;;;;;;:::i;:::-;;;53460:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53747:13:0;;53743:235;;53793:40;;-1:-1:-1;;;53793:40:0;;;;;;;;;;;53743:235;53936:6;53930:13;53921:6;53917:2;53913:15;53906:38;53460:529;-1:-1:-1;;;;;;53623:64:0;-1:-1:-1;;;53623:64:0;;-1:-1:-1;53460:529:0;53280:716;;;;;;:::o;38645:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38756:47:0;38775:27;38794:7;38775:18;:27::i;:::-;38756:18;:47::i;84715:104::-;84775:13;84804:9;84797:16;;;;;:::i;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;-1:-1:-1;;;;;932:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;6475:190;6600:4;6653;6624:25;6637:5;6644:4;6624:12;:25::i;:::-;:33;;6475:190;-1:-1:-1;;;;6475:190:0:o;40833:366::-;-1:-1:-1;;;;;;;;;;;;;40943:41:0;;;;28664:3;41029:33;;;-1:-1:-1;;;;;40995:68:0;-1:-1:-1;;;40995:68:0;-1:-1:-1;;;41093:24:0;;:29;;-1:-1:-1;;;41074:48:0;;;;29185:3;41162:28;;;;-1:-1:-1;;;41133:58:0;-1:-1:-1;40833:366:0:o;7342:296::-;7425:7;7468:4;7425:7;7483:118;7507:5;:12;7503:1;:16;7483:118;;;7556:33;7566:12;7580:5;7586:1;7580:8;;;;;;;;:::i;:::-;;;;;;;7556:9;:33::i;:::-;7541:48;-1:-1:-1;7521:3:0;;;;:::i;:::-;;;;7483:118;;;-1:-1:-1;7618:12:0;7342:296;-1:-1:-1;;;7342:296:0:o;13549:149::-;13612:7;13643:1;13639;:5;:51;;13774:13;13868:15;;;13904:4;13897:15;;;13951:4;13935:21;;13639:51;;;-1:-1:-1;13774:13:0;13868:15;;;13904:4;13897:15;13951:4;13935:21;;;13549:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:632;2552:5;-1:-1:-1;;;;;2623:2:1;2615:6;2612:14;2609:40;;;2629:18;;:::i;:::-;2704:2;2698:9;2672:2;2758:15;;-1:-1:-1;;2754:24:1;;;2780:2;2750:33;2746:42;2734:55;;;2804:18;;;2824:22;;;2801:46;2798:72;;;2850:18;;:::i;:::-;2890:10;2886:2;2879:22;2919:6;2910:15;;2949:6;2941;2934:22;2989:3;2980:6;2975:3;2971:16;2968:25;2965:45;;;3006:1;3003;2996:12;2965:45;3056:6;3051:3;3044:4;3036:6;3032:17;3019:44;3111:1;3104:4;3095:6;3087;3083:19;3079:30;3072:41;;;;2487:632;;;;;:::o;3124:451::-;3193:6;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3302:9;3289:23;-1:-1:-1;;;;;3327:6:1;3324:30;3321:50;;;3367:1;3364;3357:12;3321:50;3390:22;;3443:4;3435:13;;3431:27;-1:-1:-1;3421:55:1;;3472:1;3469;3462:12;3421:55;3495:74;3561:7;3556:2;3543:16;3538:2;3534;3530:11;3495:74;:::i;3580:160::-;3645:20;;3701:13;;3694:21;3684:32;;3674:60;;3730:1;3727;3720:12;3745:180;3801:6;3854:2;3842:9;3833:7;3829:23;3825:32;3822:52;;;3870:1;3867;3860:12;3822:52;3893:26;3909:9;3893:26;:::i;3930:328::-;4007:6;4015;4023;4076:2;4064:9;4055:7;4051:23;4047:32;4044:52;;;4092:1;4089;4082:12;4044:52;4115:29;4134:9;4115:29;:::i;:::-;4105:39;;4163:38;4197:2;4186:9;4182:18;4163:38;:::i;:::-;4153:48;;4248:2;4237:9;4233:18;4220:32;4210:42;;3930:328;;;;;:::o;4445:367::-;4508:8;4518:6;4572:3;4565:4;4557:6;4553:17;4549:27;4539:55;;4590:1;4587;4580:12;4539:55;-1:-1:-1;4613:20:1;;-1:-1:-1;;;;;4645:30:1;;4642:50;;;4688:1;4685;4678:12;4642:50;4725:4;4717:6;4713:17;4701:29;;4785:3;4778:4;4768:6;4765:1;4761:14;4753:6;4749:27;4745:38;4742:47;4739:67;;;4802:1;4799;4792:12;4739:67;4445:367;;;;;:::o;4817:437::-;4903:6;4911;4964:2;4952:9;4943:7;4939:23;4935:32;4932:52;;;4980:1;4977;4970:12;4932:52;5020:9;5007:23;-1:-1:-1;;;;;5045:6:1;5042:30;5039:50;;;5085:1;5082;5075:12;5039:50;5124:70;5186:7;5177:6;5166:9;5162:22;5124:70;:::i;:::-;5213:8;;5098:96;;-1:-1:-1;4817:437:1;-1:-1:-1;;;;4817:437:1:o;5259:349::-;5343:12;;-1:-1:-1;;;;;5339:38:1;5327:51;;5431:4;5420:16;;;5414:23;-1:-1:-1;;;;;5410:48:1;5394:14;;;5387:72;5522:4;5511:16;;;5505:23;5498:31;5491:39;5475:14;;;5468:63;5584:4;5573:16;;;5567:23;5592:8;5563:38;5547:14;;5540:62;5259:349::o;5613:722::-;5846:2;5898:21;;;5968:13;;5871:18;;;5990:22;;;5817:4;;5846:2;6069:15;;;;6043:2;6028:18;;;5817:4;6112:197;6126:6;6123:1;6120:13;6112:197;;;6175:52;6223:3;6214:6;6208:13;6175:52;:::i;:::-;6284:15;;;;6256:4;6247:14;;;;;6148:1;6141:9;6112:197;;6340:186;6399:6;6452:2;6440:9;6431:7;6427:23;6423:32;6420:52;;;6468:1;6465;6458:12;6420:52;6491:29;6510:9;6491:29;:::i;6716:632::-;6887:2;6939:21;;;7009:13;;6912:18;;;7031:22;;;6858:4;;6887:2;7110:15;;;;7084:2;7069:18;;;6858:4;7153:169;7167:6;7164:1;7161:13;7153:169;;;7228:13;;7216:26;;7297:15;;;;7262:12;;;;7189:1;7182:9;7153:169;;7353:322;7430:6;7438;7446;7499:2;7487:9;7478:7;7474:23;7470:32;7467:52;;;7515:1;7512;7505:12;7467:52;7538:29;7557:9;7538:29;:::i;:::-;7528:39;7614:2;7599:18;;7586:32;;-1:-1:-1;7665:2:1;7650:18;;;7637:32;;7353:322;-1:-1:-1;;;7353:322:1:o;7680:254::-;7745:6;7753;7806:2;7794:9;7785:7;7781:23;7777:32;7774:52;;;7822:1;7819;7812:12;7774:52;7845:29;7864:9;7845:29;:::i;:::-;7835:39;;7893:35;7924:2;7913:9;7909:18;7893:35;:::i;:::-;7883:45;;7680:254;;;;;:::o;7939:667::-;8034:6;8042;8050;8058;8111:3;8099:9;8090:7;8086:23;8082:33;8079:53;;;8128:1;8125;8118:12;8079:53;8151:29;8170:9;8151:29;:::i;:::-;8141:39;;8199:38;8233:2;8222:9;8218:18;8199:38;:::i;:::-;8189:48;;8284:2;8273:9;8269:18;8256:32;8246:42;;8339:2;8328:9;8324:18;8311:32;-1:-1:-1;;;;;8358:6:1;8355:30;8352:50;;;8398:1;8395;8388:12;8352:50;8421:22;;8474:4;8466:13;;8462:27;-1:-1:-1;8452:55:1;;8503:1;8500;8493:12;8452:55;8526:74;8592:7;8587:2;8574:16;8569:2;8565;8561:11;8526:74;:::i;:::-;8516:84;;;7939:667;;;;;;;:::o;8611:254::-;8679:6;8687;8740:2;8728:9;8719:7;8715:23;8711:32;8708:52;;;8756:1;8753;8746:12;8708:52;8792:9;8779:23;8769:33;;8821:38;8855:2;8844:9;8840:18;8821:38;:::i;8870:266::-;9066:3;9051:19;;9079:51;9055:9;9112:6;9079:51;:::i;9141:505::-;9236:6;9244;9252;9305:2;9293:9;9284:7;9280:23;9276:32;9273:52;;;9321:1;9318;9311:12;9273:52;9357:9;9344:23;9334:33;;9418:2;9407:9;9403:18;9390:32;-1:-1:-1;;;;;9437:6:1;9434:30;9431:50;;;9477:1;9474;9467:12;9431:50;9516:70;9578:7;9569:6;9558:9;9554:22;9516:70;:::i;:::-;9141:505;;9605:8;;-1:-1:-1;9490:96:1;;-1:-1:-1;;;;9141:505:1:o;9651:260::-;9719:6;9727;9780:2;9768:9;9759:7;9755:23;9751:32;9748:52;;;9796:1;9793;9786:12;9748:52;9819:29;9838:9;9819:29;:::i;:::-;9809:39;;9867:38;9901:2;9890:9;9886:18;9867:38;:::i;9916:380::-;9995:1;9991:12;;;;10038;;;10059:61;;10113:4;10105:6;10101:17;10091:27;;10059:61;10166:2;10158:6;10155:14;10135:18;10132:38;10129:161;;;10212:10;10207:3;10203:20;10200:1;10193:31;10247:4;10244:1;10237:15;10275:4;10272:1;10265:15;10129:161;;9916:380;;;:::o;10661:127::-;10722:10;10717:3;10713:20;10710:1;10703:31;10753:4;10750:1;10743:15;10777:4;10774:1;10767:15;10793:168;10833:7;10899:1;10895;10891:6;10887:14;10884:1;10881:21;10876:1;10869:9;10862:17;10858:45;10855:71;;;10906:18;;:::i;:::-;-1:-1:-1;10946:9:1;;10793:168::o;10966:127::-;11027:10;11022:3;11018:20;11015:1;11008:31;11058:4;11055:1;11048:15;11082:4;11079:1;11072:15;11098:120;11138:1;11164;11154:35;;11169:18;;:::i;:::-;-1:-1:-1;11203:9:1;;11098:120::o;11433:127::-;11494:10;11489:3;11485:20;11482:1;11475:31;11525:4;11522:1;11515:15;11549:4;11546:1;11539:15;11565:344;11767:2;11749:21;;;11806:2;11786:18;;;11779:30;-1:-1:-1;;;11840:2:1;11825:18;;11818:50;11900:2;11885:18;;11565:344::o;11914:128::-;11954:3;11985:1;11981:6;11978:1;11975:13;11972:39;;;11991:18;;:::i;:::-;-1:-1:-1;12027:9:1;;11914:128::o;12047:344::-;12249:2;12231:21;;;12288:2;12268:18;;;12261:30;-1:-1:-1;;;12322:2:1;12307:18;;12300:50;12382:2;12367:18;;12047:344::o;12396:353::-;12598:2;12580:21;;;12637:2;12617:18;;;12610:30;12676:31;12671:2;12656:18;;12649:59;12740:2;12725:18;;12396:353::o;13996:1527::-;14220:3;14258:6;14252:13;14284:4;14297:51;14341:6;14336:3;14331:2;14323:6;14319:15;14297:51;:::i;:::-;14411:13;;14370:16;;;;14433:55;14411:13;14370:16;14455:15;;;14433:55;:::i;:::-;14577:13;;14510:20;;;14550:1;;14637;14659:18;;;;14712;;;;14739:93;;14817:4;14807:8;14803:19;14791:31;;14739:93;14880:2;14870:8;14867:16;14847:18;14844:40;14841:167;;;-1:-1:-1;;;14907:33:1;;14963:4;14960:1;14953:15;14993:4;14914:3;14981:17;14841:167;15024:18;15051:110;;;;15175:1;15170:328;;;;15017:481;;15051:110;-1:-1:-1;;15086:24:1;;15072:39;;15131:20;;;;-1:-1:-1;15051:110:1;;15170:328;13943:1;13936:14;;;13980:4;13967:18;;15265:1;15279:169;15293:8;15290:1;15287:15;15279:169;;;15375:14;;15360:13;;;15353:37;15418:16;;;;15310:10;;15279:169;;;15283:3;;15479:8;15472:5;15468:20;15461:27;;15017:481;-1:-1:-1;15514:3:1;;13996:1527;-1:-1:-1;;;;;;;;;;;13996:1527:1:o;18047:489::-;-1:-1:-1;;;;;18316:15:1;;;18298:34;;18368:15;;18363:2;18348:18;;18341:43;18415:2;18400:18;;18393:34;;;18463:3;18458:2;18443:18;;18436:31;;;18241:4;;18484:46;;18510:19;;18502:6;18484:46;:::i;:::-;18476:54;18047:489;-1:-1:-1;;;;;;18047:489:1:o;18541:249::-;18610:6;18663:2;18651:9;18642:7;18638:23;18634:32;18631:52;;;18679:1;18676;18669:12;18631:52;18711:9;18705:16;18730:30;18754:5;18730:30;:::i;18795:135::-;18834:3;-1:-1:-1;;18855:17:1;;18852:43;;;18875:18;;:::i;:::-;-1:-1:-1;18922:1:1;18911:13;;18795:135::o;18935:125::-;18975:4;19003:1;19000;18997:8;18994:34;;;19008:18;;:::i;:::-;-1:-1:-1;19045:9:1;;18935:125::o;19065:112::-;19097:1;19123;19113:35;;19128:18;;:::i;:::-;-1:-1:-1;19162:9:1;;19065:112::o

Swarm Source

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