ETH Price: $3,794.10 (+5.96%)

Token

LostChilds (LC)
 

Overview

Max Total Supply

154 LC

Holders

77

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 LC
0x61e05ac1f2c66f8061b31d653d6afb238020b9e7
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:
LostChilds

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-21
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

/*                                      
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

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

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

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

    /**
     * @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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 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: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}


contract LostChilds is Ownable, ERC721A, DefaultOperatorFilterer {

    using ECDSA for bytes32;
    using Strings for uint;

    address private signerAddressWL;

    enum Step {
        Before,
        WhitelistSale,
        PublicSale,
        SoldOut
    }

    string public baseURI;

    Step public sellingStep;

    uint public MAX_PUBLIC = 334;
    uint public MAX_WL = 777;

    uint public wlSalePrice = 0.003 ether;
    uint public publicSalePrice = 0.005 ether;

    mapping(address => uint) public mintedAmountNFTsperWalletWhitelistSale;
    mapping(address => uint) public mintedAmountNFTsperWalletPublicSale;

    uint public maxMintAmountPerWhitelist = 3; 
    uint public maxMintAmountPerPublic = 2; 

    constructor(address _signerAddressWL, string memory _baseURI) ERC721A("LostChilds", "LC"){
        signerAddressWL = _signerAddressWL;
        baseURI = _baseURI;
    }

    function mintForOwner(uint quantity) external onlyOwner{
        _mint(msg.sender, quantity);
    }

    function changeSupply(uint publicAmount, uint wlAmount) external onlyOwner{
        MAX_PUBLIC = publicAmount;
        MAX_WL = wlAmount;
    }

    error ArrayMismatch();
    error SupplyExceeded();
    error NotEnoughPrice();
    error StepNotLive();
    error MaxWalletExceeded();
    error NotWL();

    function publicSaleMint(uint _quantity) external payable {
        uint price = publicSalePrice;
        if(price <= 0) revert NotEnoughPrice();
        if(sellingStep != Step.PublicSale) revert StepNotLive();
        if(totalSupply() + _quantity > (MAX_PUBLIC + MAX_WL)) revert SupplyExceeded();
        if(msg.value < price * _quantity) revert NotEnoughPrice();
        if(mintedAmountNFTsperWalletPublicSale[msg.sender] + _quantity > maxMintAmountPerPublic) revert MaxWalletExceeded();

        mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity;

        _mint(msg.sender, _quantity);
    }

    function WLMint(uint _quantity, bytes calldata signature) external payable {
        uint price = wlSalePrice;
        if(price <= 0) revert NotEnoughPrice();
        if(sellingStep != Step.WhitelistSale) revert StepNotLive();
        if(totalSupply() + _quantity > (MAX_WL)) revert SupplyExceeded();
        if(msg.value < price * _quantity) revert NotEnoughPrice();     
        if(signerAddressWL != keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                bytes32(uint256(uint160(msg.sender)))
            )
        ).recover(signature)) revert NotWL();
        if(mintedAmountNFTsperWalletWhitelistSale[msg.sender] + _quantity > maxMintAmountPerWhitelist) revert MaxWalletExceeded(); 
            
        mintedAmountNFTsperWalletWhitelistSale[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function currentState() external view returns (Step, uint, uint, uint, uint) {
        return (sellingStep, publicSalePrice, wlSalePrice, maxMintAmountPerWhitelist, maxMintAmountPerPublic);
    }

    function changeWlSalePrice(uint256 new_price) external onlyOwner{
        wlSalePrice = new_price;
    }

    function changePublicSalePrice(uint256 new_price) external onlyOwner{
        publicSalePrice = new_price;
    }

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

    function setStep(uint _step) external onlyOwner {
        sellingStep = Step(_step);
    }

    function setMaxMintPerWhitelist(uint amount) external onlyOwner{
        maxMintAmountPerWhitelist = amount;
    }

    function setMaxMintPerPublic(uint amount) external onlyOwner{
        maxMintAmountPerPublic = amount;
    }

    function getNumberMinted(address account) external view returns (uint256) {
        return _numberMinted(account);
    }

    function getNumberWLMinted(address account) external view returns (uint256) {
        return mintedAmountNFTsperWalletWhitelistSale[account];
    }

    function getNumberPublicMinted(address account) external view returns (uint256) {
        return mintedAmountNFTsperWalletPublicSale[account];
    }

    function tokenURI(uint _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json"));
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signerAddressWL","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"ArrayMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughPrice","type":"error"},{"inputs":[],"name":"NotWL","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"StepNotLive","type":"error"},{"inputs":[],"name":"SupplyExceeded","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"WLMint","outputs":[],"stateMutability":"payable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicAmount","type":"uint256"},{"internalType":"uint256","name":"wlAmount","type":"uint256"}],"name":"changeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changeWlSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum LostChilds.Step","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberWLMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxMintAmountPerPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"sellingStep","outputs":[{"internalType":"enum LostChilds.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405261014e600c55610309600d55660aa87bee538000600e556611c37937e08000600f55600360125560026013553480156200003d57600080fd5b5060405162002567380380620025678339810160408190526200006091620002d6565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a8152602001694c6f73744368696c647360b01b815250604051806040016040528060028152602001614c4360f01b815250620000cf620000c96200026c60201b60201c565b62000270565b6003620000dd83826200045b565b506004620000ec82826200045b565b506001805550506daaeb6d7670e522a718067333cd4e3b15620002385780156200018657604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016757600080fd5b505af11580156200017c573d6000803e3d6000fd5b5050505062000238565b6001600160a01b03821615620001d75760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200014c565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021e57600080fd5b505af115801562000233573d6000803e3d6000fd5b505050505b5050600980546001600160a01b0319166001600160a01b038416179055600a6200026382826200045b565b50505062000527565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215620002ea57600080fd5b82516001600160a01b03811681146200030257600080fd5b602084810151919350906001600160401b03808211156200032257600080fd5b818601915086601f8301126200033757600080fd5b8151818111156200034c576200034c620002c0565b604051601f8201601f19908116603f01168101908382118183101715620003775762000377620002c0565b8160405282815289868487010111156200039057600080fd5b600093505b82841015620003b4578484018601518185018701529285019262000395565b60008684830101528096505050505050509250929050565b600181811c90821680620003e157607f821691505b6020821081036200040257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200045657600081815260208120601f850160051c81016020861015620004315750805b601f850160051c820191505b8181101562000452578281556001016200043d565b5050505b505050565b81516001600160401b03811115620004775762000477620002c0565b6200048f81620004888454620003cc565b8462000408565b602080601f831160018114620004c75760008415620004ae5750858301515b600019600386901b1c1916600185901b17855562000452565b600085815260208120601f198616915b82811015620004f857888601518255948401946001909101908401620004d7565b5085821015620005175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61203080620005376000396000f3fe6080604052600436106102505760003560e01c8063734c66bd11610139578063b3ab66b0116100b6578063cbccefb21161007a578063cbccefb2146106bc578063d0cd8e69146106e3578063e985e9c514610710578063ea90047514610730578063f2fde38b14610766578063f8dcbddb1461078657600080fd5b8063b3ab66b014610626578063b88d4fde14610639578063b9bbe00a14610659578063c87b56dd14610686578063c91d5f97146106a657600080fd5b80639753eac0116100fd5780639753eac01461059a5780639b6860c8146105b0578063a0bcfc7f146105c6578063a22cb465146105e6578063a6a53fe91461060657600080fd5b8063734c66bd146104fb5780637f16053a146105115780638a59a7fd146105475780638da5cb5b1461056757806395d89b411461058557600080fd5b806342842e0e116101d25780635b2fda67116101965780635b2fda671461045e5780636352211e1461047157806363bc312a146104915780636c0360eb146104b157806370a08231146104c6578063715018a6146104e657600080fd5b806342842e0e146103c857806349e949e7146103e85780634ef22ea9146104085780634fda72851461041e57806359d20e611461043e57600080fd5b80630c3f6acf116102195780630c3f6acf1461032657806318160ddd1461035657806323b872dd1461037d5780632cefffa71461039d5780633ccfd60b146103b357600080fd5b8062eb70131461025557806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b314610306575b600080fd5b34801561026157600080fd5b50610275610270366004611969565b6107a6565b005b34801561028357600080fd5b50610297610292366004611998565b6107b3565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610805565b6040516102a39190611a05565b3480156102da57600080fd5b506102ee6102e9366004611969565b610897565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610275610321366004611a34565b6108db565b34801561033257600080fd5b50600b54600f54600e546012546013546040516102a39560ff169493929190611a96565b34801561036257600080fd5b5060025460015403600019015b6040519081526020016102a3565b34801561038957600080fd5b50610275610398366004611ac6565b61097b565b3480156103a957600080fd5b5061036f60125481565b3480156103bf57600080fd5b50610275610b14565b3480156103d457600080fd5b506102756103e3366004611ac6565b610b42565b3480156103f457600080fd5b50610275610403366004611969565b610b62565b34801561041457600080fd5b5061036f60135481565b34801561042a57600080fd5b50610275610439366004611969565b610b6f565b34801561044a57600080fd5b50610275610459366004611969565b610b7c565b61027561046c366004611b02565b610b89565b34801561047d57600080fd5b506102ee61048c366004611969565b610d7b565b34801561049d57600080fd5b506102756104ac366004611969565b610d86565b3480156104bd57600080fd5b506102c1610d9b565b3480156104d257600080fd5b5061036f6104e1366004611b7e565b610e29565b3480156104f257600080fd5b50610275610e78565b34801561050757600080fd5b5061036f600e5481565b34801561051d57600080fd5b5061036f61052c366004611b7e565b6001600160a01b031660009081526011602052604090205490565b34801561055357600080fd5b5061036f610562366004611b7e565b610e8a565b34801561057357600080fd5b506000546001600160a01b03166102ee565b34801561059157600080fd5b506102c1610eb5565b3480156105a657600080fd5b5061036f600c5481565b3480156105bc57600080fd5b5061036f600f5481565b3480156105d257600080fd5b506102756105e1366004611c25565b610ec4565b3480156105f257600080fd5b50610275610601366004611c6e565b610edc565b34801561061257600080fd5b50610275610621366004611caa565b610f71565b610275610634366004611969565b610f84565b34801561064557600080fd5b50610275610654366004611ccc565b6110b9565b34801561066557600080fd5b5061036f610674366004611b7e565b60116020526000908152604090205481565b34801561069257600080fd5b506102c16106a1366004611969565b6110fd565b3480156106b257600080fd5b5061036f600d5481565b3480156106c857600080fd5b50600b546106d69060ff1681565b6040516102a39190611d48565b3480156106ef57600080fd5b5061036f6106fe366004611b7e565b60106020526000908152604090205481565b34801561071c57600080fd5b5061029761072b366004611d56565b61118b565b34801561073c57600080fd5b5061036f61074b366004611b7e565b6001600160a01b031660009081526010602052604090205490565b34801561077257600080fd5b50610275610781366004611b7e565b6111b9565b34801561079257600080fd5b506102756107a1366004611969565b61122f565b6107ae61126d565b601255565b60006301ffc9a760e01b6001600160e01b0319831614806107e457506380ac58cd60e01b6001600160e01b03198316145b806107ff5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461081490611d89565b80601f016020809104026020016040519081016040528092919081815260200182805461084090611d89565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b5050505050905090565b60006108a2826112c7565b6108bf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006108e682610d7b565b9050336001600160a01b0382161461091f57610902813361118b565b61091f576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610986826112fc565b9050836001600160a01b0316816001600160a01b0316146109b95760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a06576109e9863361118b565b610a0657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2d57604051633a954ecd60e21b815260040160405180910390fd5b8015610a3857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610aca57600184016000818152600560205260408120549003610ac8576001548114610ac85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b1c61126d565b60405133904780156108fc02916000818181858888f19350505050610b4057600080fd5b565b610b5d838383604051806020016040528060008152506110b9565b505050565b610b6a61126d565b601355565b610b7761126d565b600f55565b610b8461126d565b600e55565b600e5480610baa57604051632bd2383b60e11b815260040160405180910390fd5b6001600b5460ff166003811115610bc357610bc3611a5e565b14610be157604051638da664f160e01b815260040160405180910390fd5b600d546002546001548691900360001901610bfc9190611dd9565b1115610c1b57604051637d3d824960e01b815260040160405180910390fd5b610c258482611dec565b341015610c4557604051632bd2383b60e11b815260040160405180910390fd5b610cdb83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610cb79050565b6040516020818303038152906040528051906020012061137290919063ffffffff16565b6009546001600160a01b03908116911614610d0957604051633511ad7960e11b815260040160405180910390fd5b60125433600090815260106020526040902054610d27908690611dd9565b1115610d4657604051632ce93b5960e01b815260040160405180910390fd5b3360009081526010602052604081208054869290610d65908490611dd9565b90915550610d7590503385611396565b50505050565b60006107ff826112fc565b610d8e61126d565b610d983382611396565b50565b600a8054610da890611d89565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490611d89565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b505050505081565b60006001600160a01b038216610e52576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e8061126d565b610b406000611494565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c166107ff565b60606004805461081490611d89565b610ecc61126d565b600a610ed88282611e49565b5050565b336001600160a01b03831603610f055760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7961126d565b600c91909155600d55565b600f5480610fa557604051632bd2383b60e11b815260040160405180910390fd5b6002600b5460ff166003811115610fbe57610fbe611a5e565b14610fdc57604051638da664f160e01b815260040160405180910390fd5b600d54600c54610fec9190611dd9565b60025460015484919003600019016110049190611dd9565b111561102357604051637d3d824960e01b815260040160405180910390fd5b61102d8282611dec565b34101561104d57604051632bd2383b60e11b815260040160405180910390fd5b6013543360009081526011602052604090205461106b908490611dd9565b111561108a57604051632ce93b5960e01b815260040160405180910390fd5b33600090815260116020526040812080548492906110a9908490611dd9565b90915550610ed890503383611396565b6110c484848461097b565b6001600160a01b0383163b15610d75576110e0848484846114e4565b610d75576040516368d2bf6b60e11b815260040160405180910390fd5b6060611108826112c7565b6111595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064015b60405180910390fd5b600a611164836115d0565b604051602001611175929190611f09565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6111c161126d565b6001600160a01b0381166112265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611150565b610d9881611494565b61123761126d565b80600381111561124957611249611a5e565b600b805460ff1916600183600381111561126557611265611a5e565b021790555050565b6000546001600160a01b03163314610b405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611150565b6000816001111580156112db575060015482105b80156107ff575050600090815260056020526040902054600160e01b161590565b60008180600111611359576001548110156113595760008181526005602052604081205490600160e01b82169003611357575b8060000361135057506000190160008181526005602052604090205461132f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611381858561161f565b9150915061138e8161168d565b509392505050565b60015460008290036113bb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461146a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611432565b508160000361148b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611519903390899088908890600401611fa0565b6020604051808303816000875af1925050508015611554575060408051601f3d908101601f1916820190925261155191810190611fdd565b60015b6115b2573d808015611582576040519150601f19603f3d011682016040523d82523d6000602084013e611587565b606091505b5080516000036115aa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561160d57600183039250600a81066030018353600a90046115ef565b50819003601f19909101908152919050565b60008082516041036116555760208301516040840151606085015160001a61164987828585611843565b94509450505050611686565b825160400361167e5760208301516040840151611673868383611930565b935093505050611686565b506000905060025b9250929050565b60008160048111156116a1576116a1611a5e565b036116a95750565b60018160048111156116bd576116bd611a5e565b0361170a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611150565b600281600481111561171e5761171e611a5e565b0361176b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611150565b600381600481111561177f5761177f611a5e565b036117d75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401611150565b60048160048111156117eb576117eb611a5e565b03610d985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401611150565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561187a5750600090506003611927565b8460ff16601b1415801561189257508460ff16601c14155b156118a35750600090506004611927565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156118f7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661192057600060019250925050611927565b9150600090505b94509492505050565b6000806001600160ff1b0383168161194d60ff86901c601b611dd9565b905061195b87828885611843565b935093505050935093915050565b60006020828403121561197b57600080fd5b5035919050565b6001600160e01b031981168114610d9857600080fd5b6000602082840312156119aa57600080fd5b813561135081611982565b60005b838110156119d05781810151838201526020016119b8565b50506000910152565b600081518084526119f18160208601602086016119b5565b601f01601f19169290920160200192915050565b60208152600061135060208301846119d9565b80356001600160a01b0381168114611a2f57600080fd5b919050565b60008060408385031215611a4757600080fd5b611a5083611a18565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60048110611a9257634e487b7160e01b600052602160045260246000fd5b9052565b60a08101611aa48288611a74565b8560208301528460408301528360608301528260808301529695505050505050565b600080600060608486031215611adb57600080fd5b611ae484611a18565b9250611af260208501611a18565b9150604084013590509250925092565b600080600060408486031215611b1757600080fd5b83359250602084013567ffffffffffffffff80821115611b3657600080fd5b818601915086601f830112611b4a57600080fd5b813581811115611b5957600080fd5b876020828501011115611b6b57600080fd5b6020830194508093505050509250925092565b600060208284031215611b9057600080fd5b61135082611a18565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bca57611bca611b99565b604051601f8501601f19908116603f01168101908282118183101715611bf257611bf2611b99565b81604052809350858152868686011115611c0b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c3757600080fd5b813567ffffffffffffffff811115611c4e57600080fd5b8201601f81018413611c5f57600080fd5b6115c884823560208401611baf565b60008060408385031215611c8157600080fd5b611c8a83611a18565b915060208301358015158114611c9f57600080fd5b809150509250929050565b60008060408385031215611cbd57600080fd5b50508035926020909101359150565b60008060008060808587031215611ce257600080fd5b611ceb85611a18565b9350611cf960208601611a18565b925060408501359150606085013567ffffffffffffffff811115611d1c57600080fd5b8501601f81018713611d2d57600080fd5b611d3c87823560208401611baf565b91505092959194509250565b602081016107ff8284611a74565b60008060408385031215611d6957600080fd5b611d7283611a18565b9150611d8060208401611a18565b90509250929050565b600181811c90821680611d9d57607f821691505b602082108103611dbd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107ff576107ff611dc3565b80820281158282048414176107ff576107ff611dc3565b601f821115610b5d57600081815260208120601f850160051c81016020861015611e2a5750805b601f850160051c820191505b81811015610b0c57828155600101611e36565b815167ffffffffffffffff811115611e6357611e63611b99565b611e7781611e718454611d89565b84611e03565b602080601f831160018114611eac5760008415611e945750858301515b600019600386901b1c1916600185901b178555610b0c565b600085815260208120601f198616915b82811015611edb57888601518255948401946001909101908401611ebc565b5085821015611ef95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611f1781611d89565b60018281168015611f2f5760018114611f4457611f73565b60ff1984168752821515830287019450611f73565b8860005260208060002060005b85811015611f6a5781548a820152908401908201611f51565b50505082870194505b505050508351611f878183602088016119b5565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd3908301846119d9565b9695505050505050565b600060208284031215611fef57600080fd5b81516113508161198256fea26469706673582212204b2c086482c911f8c0a16cb72b65c150dff08132475b0890436d53254a60b4c264736f6c63430008130033000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102505760003560e01c8063734c66bd11610139578063b3ab66b0116100b6578063cbccefb21161007a578063cbccefb2146106bc578063d0cd8e69146106e3578063e985e9c514610710578063ea90047514610730578063f2fde38b14610766578063f8dcbddb1461078657600080fd5b8063b3ab66b014610626578063b88d4fde14610639578063b9bbe00a14610659578063c87b56dd14610686578063c91d5f97146106a657600080fd5b80639753eac0116100fd5780639753eac01461059a5780639b6860c8146105b0578063a0bcfc7f146105c6578063a22cb465146105e6578063a6a53fe91461060657600080fd5b8063734c66bd146104fb5780637f16053a146105115780638a59a7fd146105475780638da5cb5b1461056757806395d89b411461058557600080fd5b806342842e0e116101d25780635b2fda67116101965780635b2fda671461045e5780636352211e1461047157806363bc312a146104915780636c0360eb146104b157806370a08231146104c6578063715018a6146104e657600080fd5b806342842e0e146103c857806349e949e7146103e85780634ef22ea9146104085780634fda72851461041e57806359d20e611461043e57600080fd5b80630c3f6acf116102195780630c3f6acf1461032657806318160ddd1461035657806323b872dd1461037d5780632cefffa71461039d5780633ccfd60b146103b357600080fd5b8062eb70131461025557806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b314610306575b600080fd5b34801561026157600080fd5b50610275610270366004611969565b6107a6565b005b34801561028357600080fd5b50610297610292366004611998565b6107b3565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610805565b6040516102a39190611a05565b3480156102da57600080fd5b506102ee6102e9366004611969565b610897565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610275610321366004611a34565b6108db565b34801561033257600080fd5b50600b54600f54600e546012546013546040516102a39560ff169493929190611a96565b34801561036257600080fd5b5060025460015403600019015b6040519081526020016102a3565b34801561038957600080fd5b50610275610398366004611ac6565b61097b565b3480156103a957600080fd5b5061036f60125481565b3480156103bf57600080fd5b50610275610b14565b3480156103d457600080fd5b506102756103e3366004611ac6565b610b42565b3480156103f457600080fd5b50610275610403366004611969565b610b62565b34801561041457600080fd5b5061036f60135481565b34801561042a57600080fd5b50610275610439366004611969565b610b6f565b34801561044a57600080fd5b50610275610459366004611969565b610b7c565b61027561046c366004611b02565b610b89565b34801561047d57600080fd5b506102ee61048c366004611969565b610d7b565b34801561049d57600080fd5b506102756104ac366004611969565b610d86565b3480156104bd57600080fd5b506102c1610d9b565b3480156104d257600080fd5b5061036f6104e1366004611b7e565b610e29565b3480156104f257600080fd5b50610275610e78565b34801561050757600080fd5b5061036f600e5481565b34801561051d57600080fd5b5061036f61052c366004611b7e565b6001600160a01b031660009081526011602052604090205490565b34801561055357600080fd5b5061036f610562366004611b7e565b610e8a565b34801561057357600080fd5b506000546001600160a01b03166102ee565b34801561059157600080fd5b506102c1610eb5565b3480156105a657600080fd5b5061036f600c5481565b3480156105bc57600080fd5b5061036f600f5481565b3480156105d257600080fd5b506102756105e1366004611c25565b610ec4565b3480156105f257600080fd5b50610275610601366004611c6e565b610edc565b34801561061257600080fd5b50610275610621366004611caa565b610f71565b610275610634366004611969565b610f84565b34801561064557600080fd5b50610275610654366004611ccc565b6110b9565b34801561066557600080fd5b5061036f610674366004611b7e565b60116020526000908152604090205481565b34801561069257600080fd5b506102c16106a1366004611969565b6110fd565b3480156106b257600080fd5b5061036f600d5481565b3480156106c857600080fd5b50600b546106d69060ff1681565b6040516102a39190611d48565b3480156106ef57600080fd5b5061036f6106fe366004611b7e565b60106020526000908152604090205481565b34801561071c57600080fd5b5061029761072b366004611d56565b61118b565b34801561073c57600080fd5b5061036f61074b366004611b7e565b6001600160a01b031660009081526010602052604090205490565b34801561077257600080fd5b50610275610781366004611b7e565b6111b9565b34801561079257600080fd5b506102756107a1366004611969565b61122f565b6107ae61126d565b601255565b60006301ffc9a760e01b6001600160e01b0319831614806107e457506380ac58cd60e01b6001600160e01b03198316145b806107ff5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461081490611d89565b80601f016020809104026020016040519081016040528092919081815260200182805461084090611d89565b801561088d5780601f106108625761010080835404028352916020019161088d565b820191906000526020600020905b81548152906001019060200180831161087057829003601f168201915b5050505050905090565b60006108a2826112c7565b6108bf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006108e682610d7b565b9050336001600160a01b0382161461091f57610902813361118b565b61091f576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610986826112fc565b9050836001600160a01b0316816001600160a01b0316146109b95760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610a06576109e9863361118b565b610a0657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2d57604051633a954ecd60e21b815260040160405180910390fd5b8015610a3857600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610aca57600184016000818152600560205260408120549003610ac8576001548114610ac85760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b1c61126d565b60405133904780156108fc02916000818181858888f19350505050610b4057600080fd5b565b610b5d838383604051806020016040528060008152506110b9565b505050565b610b6a61126d565b601355565b610b7761126d565b600f55565b610b8461126d565b600e55565b600e5480610baa57604051632bd2383b60e11b815260040160405180910390fd5b6001600b5460ff166003811115610bc357610bc3611a5e565b14610be157604051638da664f160e01b815260040160405180910390fd5b600d546002546001548691900360001901610bfc9190611dd9565b1115610c1b57604051637d3d824960e01b815260040160405180910390fd5b610c258482611dec565b341015610c4557604051632bd2383b60e11b815260040160405180910390fd5b610cdb83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610cb79050565b6040516020818303038152906040528051906020012061137290919063ffffffff16565b6009546001600160a01b03908116911614610d0957604051633511ad7960e11b815260040160405180910390fd5b60125433600090815260106020526040902054610d27908690611dd9565b1115610d4657604051632ce93b5960e01b815260040160405180910390fd5b3360009081526010602052604081208054869290610d65908490611dd9565b90915550610d7590503385611396565b50505050565b60006107ff826112fc565b610d8e61126d565b610d983382611396565b50565b600a8054610da890611d89565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490611d89565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b505050505081565b60006001600160a01b038216610e52576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e8061126d565b610b406000611494565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c166107ff565b60606004805461081490611d89565b610ecc61126d565b600a610ed88282611e49565b5050565b336001600160a01b03831603610f055760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f7961126d565b600c91909155600d55565b600f5480610fa557604051632bd2383b60e11b815260040160405180910390fd5b6002600b5460ff166003811115610fbe57610fbe611a5e565b14610fdc57604051638da664f160e01b815260040160405180910390fd5b600d54600c54610fec9190611dd9565b60025460015484919003600019016110049190611dd9565b111561102357604051637d3d824960e01b815260040160405180910390fd5b61102d8282611dec565b34101561104d57604051632bd2383b60e11b815260040160405180910390fd5b6013543360009081526011602052604090205461106b908490611dd9565b111561108a57604051632ce93b5960e01b815260040160405180910390fd5b33600090815260116020526040812080548492906110a9908490611dd9565b90915550610ed890503383611396565b6110c484848461097b565b6001600160a01b0383163b15610d75576110e0848484846114e4565b610d75576040516368d2bf6b60e11b815260040160405180910390fd5b6060611108826112c7565b6111595760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064015b60405180910390fd5b600a611164836115d0565b604051602001611175929190611f09565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6111c161126d565b6001600160a01b0381166112265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611150565b610d9881611494565b61123761126d565b80600381111561124957611249611a5e565b600b805460ff1916600183600381111561126557611265611a5e565b021790555050565b6000546001600160a01b03163314610b405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611150565b6000816001111580156112db575060015482105b80156107ff575050600090815260056020526040902054600160e01b161590565b60008180600111611359576001548110156113595760008181526005602052604081205490600160e01b82169003611357575b8060000361135057506000190160008181526005602052604090205461132f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000806000611381858561161f565b9150915061138e8161168d565b509392505050565b60015460008290036113bb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461146a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611432565b508160000361148b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611519903390899088908890600401611fa0565b6020604051808303816000875af1925050508015611554575060408051601f3d908101601f1916820190925261155191810190611fdd565b60015b6115b2573d808015611582576040519150601f19603f3d011682016040523d82523d6000602084013e611587565b606091505b5080516000036115aa576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561160d57600183039250600a81066030018353600a90046115ef565b50819003601f19909101908152919050565b60008082516041036116555760208301516040840151606085015160001a61164987828585611843565b94509450505050611686565b825160400361167e5760208301516040840151611673868383611930565b935093505050611686565b506000905060025b9250929050565b60008160048111156116a1576116a1611a5e565b036116a95750565b60018160048111156116bd576116bd611a5e565b0361170a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611150565b600281600481111561171e5761171e611a5e565b0361176b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611150565b600381600481111561177f5761177f611a5e565b036117d75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401611150565b60048160048111156117eb576117eb611a5e565b03610d985760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401611150565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561187a5750600090506003611927565b8460ff16601b1415801561189257508460ff16601c14155b156118a35750600090506004611927565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156118f7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661192057600060019250925050611927565b9150600090505b94509492505050565b6000806001600160ff1b0383168161194d60ff86901c601b611dd9565b905061195b87828885611843565b935093505050935093915050565b60006020828403121561197b57600080fd5b5035919050565b6001600160e01b031981168114610d9857600080fd5b6000602082840312156119aa57600080fd5b813561135081611982565b60005b838110156119d05781810151838201526020016119b8565b50506000910152565b600081518084526119f18160208601602086016119b5565b601f01601f19169290920160200192915050565b60208152600061135060208301846119d9565b80356001600160a01b0381168114611a2f57600080fd5b919050565b60008060408385031215611a4757600080fd5b611a5083611a18565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60048110611a9257634e487b7160e01b600052602160045260246000fd5b9052565b60a08101611aa48288611a74565b8560208301528460408301528360608301528260808301529695505050505050565b600080600060608486031215611adb57600080fd5b611ae484611a18565b9250611af260208501611a18565b9150604084013590509250925092565b600080600060408486031215611b1757600080fd5b83359250602084013567ffffffffffffffff80821115611b3657600080fd5b818601915086601f830112611b4a57600080fd5b813581811115611b5957600080fd5b876020828501011115611b6b57600080fd5b6020830194508093505050509250925092565b600060208284031215611b9057600080fd5b61135082611a18565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611bca57611bca611b99565b604051601f8501601f19908116603f01168101908282118183101715611bf257611bf2611b99565b81604052809350858152868686011115611c0b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611c3757600080fd5b813567ffffffffffffffff811115611c4e57600080fd5b8201601f81018413611c5f57600080fd5b6115c884823560208401611baf565b60008060408385031215611c8157600080fd5b611c8a83611a18565b915060208301358015158114611c9f57600080fd5b809150509250929050565b60008060408385031215611cbd57600080fd5b50508035926020909101359150565b60008060008060808587031215611ce257600080fd5b611ceb85611a18565b9350611cf960208601611a18565b925060408501359150606085013567ffffffffffffffff811115611d1c57600080fd5b8501601f81018713611d2d57600080fd5b611d3c87823560208401611baf565b91505092959194509250565b602081016107ff8284611a74565b60008060408385031215611d6957600080fd5b611d7283611a18565b9150611d8060208401611a18565b90509250929050565b600181811c90821680611d9d57607f821691505b602082108103611dbd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107ff576107ff611dc3565b80820281158282048414176107ff576107ff611dc3565b601f821115610b5d57600081815260208120601f850160051c81016020861015611e2a5750805b601f850160051c820191505b81811015610b0c57828155600101611e36565b815167ffffffffffffffff811115611e6357611e63611b99565b611e7781611e718454611d89565b84611e03565b602080601f831160018114611eac5760008415611e945750858301515b600019600386901b1c1916600185901b178555610b0c565b600085815260208120601f198616915b82811015611edb57888601518255948401946001909101908401611ebc565b5085821015611ef95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611f1781611d89565b60018281168015611f2f5760018114611f4457611f73565b60ff1984168752821515830287019450611f73565b8860005260208060002060005b85811015611f6a5781548a820152908401908201611f51565b50505082870194505b505050508351611f878183602088016119b5565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd3908301846119d9565b9695505050505050565b600060208284031215611fef57600080fd5b81516113508161198256fea26469706673582212204b2c086482c911f8c0a16cb72b65c150dff08132475b0890436d53254a60b4c264736f6c63430008130033

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

000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _signerAddressWL (address): 0xA5c0c8E29645Dac017aCE5b7E3E6322086E77cdc
Arg [1] : _baseURI (string): ipfs

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5c0c8e29645dac017ace5b7e3e6322086e77cdc
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 6970667300000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

89088:4590:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92617:116;;;;;;;;;;-1:-1:-1;92617:116:0;;;;;:::i;:::-;;:::i;:::-;;47034:639;;;;;;;;;;-1:-1:-1;47034:639:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;47034:639:0;;;;;;;;47936:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54419:218::-;;;;;;;;;;-1:-1:-1;54419:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;54419:218:0;1533:203:1;53860:400:0;;;;;;;;;;-1:-1:-1;53860:400:0;;;;;:::i;:::-;;:::i;91968:197::-;;;;;;;;;;-1:-1:-1;92064:11:0;;92077:15;;92094:11;;92107:25;;92134:22;;91968:197;;;;92064:11;;;92077:15;92094:11;92107:25;92134:22;91968:197;:::i;43687:323::-;;;;;;;;;;-1:-1:-1;43961:12:0;;43286:1;43945:13;:28;-1:-1:-1;;43945:46:0;43687:323;;;3182:25:1;;;3170:2;3155:18;43687:323:0;3036:177:1;58126:2817:0;;;;;;;;;;-1:-1:-1;58126:2817:0;;;;;:::i;:::-;;:::i;89745:41::-;;;;;;;;;;;;;;;;93559:114;;;;;;;;;;;;;:::i;61039:185::-;;;;;;;;;;-1:-1:-1;61039:185:0;;;;;:::i;:::-;;:::i;92741:110::-;;;;;;;;;;-1:-1:-1;92741:110:0;;;;;:::i;:::-;;:::i;89794:38::-;;;;;;;;;;;;;;;;92287:114;;;;;;;;;;-1:-1:-1;92287:114:0;;;;;:::i;:::-;;:::i;92173:106::-;;;;;;;;;;-1:-1:-1;92173:106:0;;;;;:::i;:::-;;:::i;91073:887::-;;;;;;:::i;:::-;;:::i;49329:152::-;;;;;;;;;;-1:-1:-1;49329:152:0;;;;;:::i;:::-;;:::i;90021:101::-;;;;;;;;;;-1:-1:-1;90021:101:0;;;;;:::i;:::-;;:::i;89368:21::-;;;;;;;;;;;;;:::i;44871:233::-;;;;;;;;;;-1:-1:-1;44871:233:0;;;;;:::i;:::-;;:::i;36993:103::-;;;;;;;;;;;;;:::i;89498:37::-;;;;;;;;;;;;;;;;93146:150;;;;;;;;;;-1:-1:-1;93146:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;93244:44:0;93217:7;93244:44;;;:35;:44;;;;;;;93146:150;92859:122;;;;;;;;;;-1:-1:-1;92859:122:0;;;;;:::i;:::-;;:::i;36345:87::-;;;;;;;;;;-1:-1:-1;36391:7:0;36418:6;-1:-1:-1;;;;;36418:6:0;36345:87;;48112:104;;;;;;;;;;;;;:::i;89430:28::-;;;;;;;;;;;;;;;;89542:41;;;;;;;;;;;;;;;;92409:100;;;;;;;;;;-1:-1:-1;92409:100:0;;;;;:::i;:::-;;:::i;54977:308::-;;;;;;;;;;-1:-1:-1;54977:308:0;;;;;:::i;:::-;;:::i;90130:146::-;;;;;;;;;;-1:-1:-1;90130:146:0;;;;;:::i;:::-;;:::i;90450:615::-;;;;;;:::i;:::-;;:::i;61822:399::-;;;;;;;;;;-1:-1:-1;61822:399:0;;;;;:::i;:::-;;:::i;89669:67::-;;;;;;;;;;-1:-1:-1;89669:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;93304:247;;;;;;;;;;-1:-1:-1;93304:247:0;;;;;:::i;:::-;;:::i;89465:24::-;;;;;;;;;;;;;;;;89398:23;;;;;;;;;;-1:-1:-1;89398:23:0;;;;;;;;;;;;;;;:::i;89592:70::-;;;;;;;;;;-1:-1:-1;89592:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;55442:164;;;;;;;;;;-1:-1:-1;55442:164:0;;;;;:::i;:::-;;:::i;92989:149::-;;;;;;;;;;-1:-1:-1;92989:149:0;;;;;:::i;:::-;-1:-1:-1;;;;;93083:47:0;93056:7;93083:47;;;:38;:47;;;;;;;92989:149;37251:201;;;;;;;;;;-1:-1:-1;37251:201:0;;;;;:::i;:::-;;:::i;92517:92::-;;;;;;;;;;-1:-1:-1;92517:92:0;;;;;:::i;:::-;;:::i;92617:116::-;36231:13;:11;:13::i;:::-;92691:25:::1;:34:::0;92617:116::o;47034:639::-;47119:4;-1:-1:-1;;;;;;;;;47443:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47520:25:0;;;47443:102;:179;;;-1:-1:-1;;;;;;;;;;47597:25:0;;;47443:179;47423:199;47034:639;-1:-1:-1;;47034:639:0:o;47936:100::-;47990:13;48023:5;48016:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47936:100;:::o;54419:218::-;54495:7;54520:16;54528:7;54520;:16::i;:::-;54515:64;;54545:34;;-1:-1:-1;;;54545:34:0;;;;;;;;;;;54515:64;-1:-1:-1;54599:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;54599:30:0;;54419:218::o;53860:400::-;53941:13;53957:16;53965:7;53957;:16::i;:::-;53941:32;-1:-1:-1;77717:10:0;-1:-1:-1;;;;;53990:28:0;;;53986:175;;54038:44;54055:5;77717:10;55442:164;:::i;54038:44::-;54033:128;;54110:35;;-1:-1:-1;;;54110:35:0;;;;;;;;;;;54033:128;54173:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;54173:35:0;-1:-1:-1;;;;;54173:35:0;;;;;;;;;54224:28;;54173:24;;54224:28;;;;;;;53930:330;53860:400;;:::o;58126:2817::-;58260:27;58290;58309:7;58290:18;:27::i;:::-;58260:57;;58375:4;-1:-1:-1;;;;;58334:45:0;58350:19;-1:-1:-1;;;;;58334:45:0;;58330:86;;58388:28;;-1:-1:-1;;;58388:28:0;;;;;;;;;;;58330:86;58430:27;57240:24;;;:15;:24;;;;;57462:26;;77717:10;56865:30;;;-1:-1:-1;;;;;56558:28:0;;56843:20;;;56840:56;58616:180;;58709:43;58726:4;77717:10;55442:164;:::i;58709:43::-;58704:92;;58761:35;;-1:-1:-1;;;58761:35:0;;;;;;;;;;;58704:92;-1:-1:-1;;;;;58813:16:0;;58809:52;;58838:23;;-1:-1:-1;;;58838:23:0;;;;;;;;;;;58809:52;59010:15;59007:160;;;59150:1;59129:19;59122:30;59007:160;-1:-1:-1;;;;;59547:24:0;;;;;;;:18;:24;;;;;;59545:26;;-1:-1:-1;;59545:26:0;;;59616:22;;;;;;;;;59614:24;;-1:-1:-1;59614:24:0;;;52718:11;52693:23;52689:41;52676:63;-1:-1:-1;;;52676:63:0;59909:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60204:47:0;;:52;;60200:627;;60309:1;60299:11;;60277:19;60432:30;;;:17;:30;;;;;;:35;;60428:384;;60570:13;;60555:11;:28;60551:242;;60717:30;;;;:17;:30;;;;;:52;;;60551:242;60258:569;60200:627;60874:7;60870:2;-1:-1:-1;;;;;60855:27:0;60864:4;-1:-1:-1;;;;;60855:27:0;;;;;;;;;;;60893:42;58249:2694;;;58126:2817;;;:::o;93559:114::-;36231:13;:11;:13::i;:::-;93617:47:::1;::::0;93625:10:::1;::::0;93642:21:::1;93617:47:::0;::::1;;;::::0;::::1;::::0;;;93642:21;93625:10;93617:47;::::1;;;;;;93609:56;;;::::0;::::1;;93559:114::o:0;61039:185::-;61177:39;61194:4;61200:2;61204:7;61177:39;;;;;;;;;;;;:16;:39::i;:::-;61039:185;;;:::o;92741:110::-;36231:13;:11;:13::i;:::-;92812:22:::1;:31:::0;92741:110::o;92287:114::-;36231:13;:11;:13::i;:::-;92366:15:::1;:27:::0;92287:114::o;92173:106::-;36231:13;:11;:13::i;:::-;92248:11:::1;:23:::0;92173:106::o;91073:887::-;91172:11;;91197:10;91194:38;;91216:16;;-1:-1:-1;;;91216:16:0;;;;;;;;;;;91194:38;91261:18;91246:11;;;;:33;;;;;;;;:::i;:::-;;91243:58;;91288:13;;-1:-1:-1;;;91288:13:0;;;;;;;;;;;91243:58;91344:6;;43961:12;;43286:1;43945:13;91331:9;;43945:28;;-1:-1:-1;;43945:46:0;91315:25;;;;:::i;:::-;:36;91312:64;;;91360:16;;-1:-1:-1;;;91360:16:0;;;;;;;;;;;91312:64;91402:17;91410:9;91402:5;:17;:::i;:::-;91390:9;:29;91387:57;;;91428:16;;-1:-1:-1;;;91428:16:0;;;;;;;;;;;91387:57;91482:194;91666:9;;91482:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;91506:140:0;;8438:66:1;91506:140:0;;;8426:79:1;91618:10:0;8521:12:1;;;8514:28;8558:12;;;-1:-1:-1;91506:140:0;;-1:-1:-1;8196:380:1;91506:140:0;;;;;;;;;;;;;91482:175;;;;;;:183;;:194;;;;:::i;:::-;91463:15;;-1:-1:-1;;;;;91463:15:0;;;:213;;;91460:232;;91685:7;;-1:-1:-1;;;91685:7:0;;;;;;;;;;;91460:232;91771:25;;91745:10;91706:50;;;;:38;:50;;;;;;:62;;91759:9;;91706:62;:::i;:::-;:90;91703:121;;;91805:19;;-1:-1:-1;;;91805:19:0;;;;;;;;;;;91703:121;91889:10;91850:50;;;;:38;:50;;;;;:63;;91904:9;;91850:50;:63;;91904:9;;91850:63;:::i;:::-;;;;-1:-1:-1;91924:28:0;;-1:-1:-1;91930:10:0;91942:9;91924:5;:28::i;:::-;91148:812;91073:887;;;:::o;49329:152::-;49401:7;49444:27;49463:7;49444:18;:27::i;90021:101::-;36231:13;:11;:13::i;:::-;90087:27:::1;90093:10;90105:8;90087:5;:27::i;:::-;90021:101:::0;:::o;89368:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44871:233::-;44943:7;-1:-1:-1;;;;;44967:19:0;;44963:60;;44995:28;;-1:-1:-1;;;44995:28:0;;;;;;;;;;;44963:60;-1:-1:-1;;;;;;45041:25:0;;;;;:18;:25;;;;;;39030:13;45041:55;;44871:233::o;36993:103::-;36231:13;:11;:13::i;:::-;37058:30:::1;37085:1;37058:18;:30::i;92859:122::-:0;-1:-1:-1;;;;;45275:25:0;;92924:7;45275:25;;;:18;:25;;39168:2;45275:25;;;;39030:13;45275:50;;45274:82;92951:22;45186:178;48112:104;48168:13;48201:7;48194:14;;;;;:::i;92409:100::-;36231:13;:11;:13::i;:::-;92483:7:::1;:18;92493:8:::0;92483:7;:18:::1;:::i;:::-;;92409:100:::0;:::o;54977:308::-;77717:10;-1:-1:-1;;;;;55076:31:0;;;55072:61;;55116:17;;-1:-1:-1;;;55116:17:0;;;;;;;;;;;55072:61;77717:10;55146:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55146:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55146:60:0;;;;;;;;;;55222:55;;725:41:1;;;55146:49:0;;77717:10;55222:55;;698:18:1;55222:55:0;;;;;;;54977:308;;:::o;90130:146::-;36231:13;:11;:13::i;:::-;90215:10:::1;:25:::0;;;;90251:6:::1;:17:::0;90130:146::o;90450:615::-;90531:15;;90560:10;90557:38;;90579:16;;-1:-1:-1;;;90579:16:0;;;;;;;;;;;90557:38;90624:15;90609:11;;;;:30;;;;;;;;:::i;:::-;;90606:55;;90648:13;;-1:-1:-1;;;90648:13:0;;;;;;;;;;;90606:55;90717:6;;90704:10;;:19;;;;:::i;:::-;43961:12;;43286:1;43945:13;90691:9;;43945:28;;-1:-1:-1;;43945:46:0;90675:25;;;;:::i;:::-;:49;90672:77;;;90733:16;;-1:-1:-1;;;90733:16:0;;;;;;;;;;;90672:77;90775:17;90783:9;90775:5;:17;:::i;:::-;90763:9;:29;90760:57;;;90801:16;;-1:-1:-1;;;90801:16:0;;;;;;;;;;;90760:57;90893:22;;90867:10;90831:47;;;;:35;:47;;;;;;:59;;90881:9;;90831:59;:::i;:::-;:84;90828:115;;;90924:19;;-1:-1:-1;;;90924:19:0;;;;;;;;;;;90828:115;90992:10;90956:47;;;;:35;:47;;;;;:60;;91007:9;;90956:47;:60;;91007:9;;90956:60;:::i;:::-;;;;-1:-1:-1;91029:28:0;;-1:-1:-1;91035:10:0;91047:9;91029:5;:28::i;61822:399::-;61989:31;62002:4;62008:2;62012:7;61989:12;:31::i;:::-;-1:-1:-1;;;;;62035:14:0;;;:19;62031:183;;62074:56;62105:4;62111:2;62115:7;62124:5;62074:30;:56::i;:::-;62069:145;;62158:40;;-1:-1:-1;;;62158:40:0;;;;;;;;;;;93304:247;93375:13;93409:17;93417:8;93409:7;:17::i;:::-;93401:61;;;;-1:-1:-1;;;93401:61:0;;10987:2:1;93401:61:0;;;10969:21:1;11026:2;11006:18;;;10999:30;11065:33;11045:18;;;11038:61;11116:18;;93401:61:0;;;;;;;;;93504:7;93513:19;93523:8;93513:9;:19::i;:::-;93487:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;93473:70;;93304:247;;;:::o;55442:164::-;-1:-1:-1;;;;;55563:25:0;;;55539:4;55563:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55442:164::o;37251:201::-;36231:13;:11;:13::i;:::-;-1:-1:-1;;;;;37340:22:0;::::1;37332:73;;;::::0;-1:-1:-1;;;37332:73:0;;12539:2:1;37332:73:0::1;::::0;::::1;12521:21:1::0;12578:2;12558:18;;;12551:30;12617:34;12597:18;;;12590:62;-1:-1:-1;;;12668:18:1;;;12661:36;12714:19;;37332:73:0::1;12337:402:1::0;37332:73:0::1;37416:28;37435:8;37416:18;:28::i;92517:92::-:0;36231:13;:11;:13::i;:::-;92595:5:::1;92590:11;;;;;;;;:::i;:::-;92576;:25:::0;;-1:-1:-1;;92576:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;92517:92:::0;:::o;36510:132::-;36391:7;36418:6;-1:-1:-1;;;;;36418:6:0;77717:10;36574:23;36566:68;;;;-1:-1:-1;;;36566:68:0;;12946:2:1;36566:68:0;;;12928:21:1;;;12965:18;;;12958:30;13024:34;13004:18;;;12997:62;13076:18;;36566:68:0;12744:356:1;55864:282:0;55929:4;55985:7;43286:1;55966:26;;:66;;;;;56019:13;;56009:7;:23;55966:66;:153;;;;-1:-1:-1;;56070:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;56070:44:0;:49;;55864:282::o;50484:1275::-;50551:7;50586;;43286:1;50635:23;50631:1061;;50688:13;;50681:4;:20;50677:1015;;;50726:14;50743:23;;;:17;:23;;;;;;;-1:-1:-1;;;50832:24:0;;:29;;50828:845;;51497:113;51504:6;51514:1;51504:11;51497:113;;-1:-1:-1;;;51575:6:0;51557:25;;;;:17;:25;;;;;;51497:113;;;51643:6;50484:1275;-1:-1:-1;;;50484:1275:0:o;50828:845::-;50703:989;50677:1015;51720:31;;-1:-1:-1;;;51720:31:0;;;;;;;;;;;83969:231;84047:7;84068:17;84087:18;84109:27;84120:4;84126:9;84109:10;:27::i;:::-;84067:69;;;;84147:18;84159:5;84147:11;:18::i;:::-;-1:-1:-1;84183:9:0;83969:231;-1:-1:-1;;;83969:231:0:o;65483:2454::-;65579:13;;65556:20;65607:13;;;65603:44;;65629:18;;-1:-1:-1;;;65629:18:0;;;;;;;;;;;65603:44;-1:-1:-1;;;;;66135:22:0;;;;;;:18;:22;;;;39168:2;66135:22;;;:71;;66173:32;66161:45;;66135:71;;;66449:31;;;:17;:31;;;;;-1:-1:-1;53149:15:0;;53123:24;53119:46;52718:11;52693:23;52689:41;52686:52;52676:63;;66449:173;;66684:23;;;;66449:31;;66135:22;;67183:25;66135:22;;67036:335;67451:1;67437:12;67433:20;67391:346;67492:3;67483:7;67480:16;67391:346;;67710:7;67700:8;67697:1;67670:25;67667:1;67664;67659:59;67545:1;67532:15;67391:346;;;67395:77;67770:8;67782:1;67770:13;67766:45;;67792:19;;-1:-1:-1;;;67792:19:0;;;;;;;;;;;67766:45;67828:13;:19;-1:-1:-1;61039:185:0;;;:::o;37612:191::-;37686:16;37705:6;;-1:-1:-1;;;;;37722:17:0;;;-1:-1:-1;;;;;;37722:17:0;;;;;;37755:40;;37705:6;;;;;;;37755:40;;37686:16;37755:40;37675:128;37612:191;:::o;64305:716::-;64489:88;;-1:-1:-1;;;64489:88:0;;64468:4;;-1:-1:-1;;;;;64489:45:0;;;;;:88;;77717:10;;64556:4;;64562:7;;64571:5;;64489:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64489:88:0;;;;;;;;-1:-1:-1;;64489:88:0;;;;;;;;;;;;:::i;:::-;;;64485:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64772:6;:13;64789:1;64772:18;64768:235;;64818:40;;-1:-1:-1;;;64818:40:0;;;;;;;;;;;64768:235;64961:6;64955:13;64946:6;64942:2;64938:15;64931:38;64485:529;-1:-1:-1;;;;;;64648:64:0;-1:-1:-1;;;64648:64:0;;-1:-1:-1;64485:529:0;64305:716;;;;;;:::o;77837:2002::-;78314:4;78308:11;;78321:3;78304:21;;78399:17;;;;79095:11;;;78974:5;79261:2;79275;79265:13;;79257:22;79095:11;79244:36;79316:2;79306:13;;78866:731;79335:4;78866:731;;;79526:1;79521:3;79517:11;79510:18;;79577:2;79571:4;79567:13;79563:2;79559:22;79554:3;79546:36;79430:2;79420:13;;78866:731;;;-1:-1:-1;79627:13:0;;;-1:-1:-1;;79742:12:0;;;79802:19;;;79742:12;77837:2002;-1:-1:-1;77837:2002:0:o;81763:1404::-;81844:7;81853:12;82078:9;:16;82098:2;82078:22;82074:1086;;82422:4;82407:20;;82401:27;82472:4;82457:20;;82451:27;82530:4;82515:20;;82509:27;82117:9;82501:36;82573:25;82584:4;82501:36;82401:27;82451;82573:10;:25::i;:::-;82566:32;;;;;;;;;82074:1086;82620:9;:16;82640:2;82620:22;82616:544;;82943:4;82928:20;;82922:27;82994:4;82979:20;;82973:27;83036:23;83047:4;82922:27;82973;83036:10;:23::i;:::-;83029:30;;;;;;;;82616:544;-1:-1:-1;83108:1:0;;-1:-1:-1;83112:35:0;82616:544;81763:1404;;;;;:::o;80034:643::-;80112:20;80103:5;:29;;;;;;;;:::i;:::-;;80099:571;;80034:643;:::o;80099:571::-;80210:29;80201:5;:38;;;;;;;;:::i;:::-;;80197:473;;80256:34;;-1:-1:-1;;;80256:34:0;;14055:2:1;80256:34:0;;;14037:21:1;14094:2;14074:18;;;14067:30;14133:26;14113:18;;;14106:54;14177:18;;80256:34:0;13853:348:1;80197:473:0;80321:35;80312:5;:44;;;;;;;;:::i;:::-;;80308:362;;80373:41;;-1:-1:-1;;;80373:41:0;;14408:2:1;80373:41:0;;;14390:21:1;14447:2;14427:18;;;14420:30;14486:33;14466:18;;;14459:61;14537:18;;80373:41:0;14206:355:1;80308:362:0;80445:30;80436:5;:39;;;;;;;;:::i;:::-;;80432:238;;80492:44;;-1:-1:-1;;;80492:44:0;;14768:2:1;80492:44:0;;;14750:21:1;14807:2;14787:18;;;14780:30;14846:34;14826:18;;;14819:62;-1:-1:-1;;;14897:18:1;;;14890:32;14939:19;;80492:44:0;14566:398:1;80432:238:0;80567:30;80558:5;:39;;;;;;;;:::i;:::-;;80554:116;;80614:44;;-1:-1:-1;;;80614:44:0;;15171:2:1;80614:44:0;;;15153:21:1;15210:2;15190:18;;;15183:30;15249:34;15229:18;;;15222:62;-1:-1:-1;;;15300:18:1;;;15293:32;15342:19;;80614:44:0;14969:398:1;85421:1632:0;85552:7;;86486:66;86473:79;;86469:163;;;-1:-1:-1;86585:1:0;;-1:-1:-1;86589:30:0;86569:51;;86469:163;86646:1;:7;;86651:2;86646:7;;:18;;;;;86657:1;:7;;86662:2;86657:7;;86646:18;86642:102;;;-1:-1:-1;86697:1:0;;-1:-1:-1;86701:30:0;86681:51;;86642:102;86858:24;;;86841:14;86858:24;;;;;;;;;15599:25:1;;;15672:4;15660:17;;15640:18;;;15633:45;;;;15694:18;;;15687:34;;;15737:18;;;15730:34;;;86858:24:0;;15571:19:1;;86858:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86858:24:0;;-1:-1:-1;;86858:24:0;;;-1:-1:-1;;;;;;;86897:20:0;;86893:103;;86950:1;86954:29;86934:50;;;;;;;86893:103;87016:6;-1:-1:-1;87024:20:0;;-1:-1:-1;85421:1632:0;;;;;;;;:::o;84463:344::-;84577:7;;-1:-1:-1;;;;;84623:80:0;;84577:7;84730:25;84746:3;84731:18;;;84753:2;84730:25;:::i;:::-;84714:42;;84774:25;84785:4;84791:1;84794;84797;84774:10;:25::i;:::-;84767:32;;;;;;84463:344;;;;;;:::o;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:250::-;862:1;872:113;886:6;883:1;880:13;872:113;;;962:11;;;956:18;943:11;;;936:39;908:2;901:10;872:113;;;-1:-1:-1;;1019:1:1;1001:16;;994:27;777:250::o;1032:271::-;1074:3;1112:5;1106:12;1139:6;1134:3;1127:19;1155:76;1224:6;1217:4;1212:3;1208:14;1201:4;1194:5;1190:16;1155:76;:::i;:::-;1285:2;1264:15;-1:-1:-1;;1260:29:1;1251:39;;;;1292:4;1247:50;;1032:271;-1:-1:-1;;1032:271:1:o;1308:220::-;1457:2;1446:9;1439:21;1420:4;1477:45;1518:2;1507:9;1503:18;1495:6;1477:45;:::i;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:127::-;2239:10;2234:3;2230:20;2227:1;2220:31;2270:4;2267:1;2260:15;2294:4;2291:1;2284:15;2310:232;2386:1;2379:5;2376:12;2366:143;;2431:10;2426:3;2422:20;2419:1;2412:31;2466:4;2463:1;2456:15;2494:4;2491:1;2484:15;2366:143;2518:18;;2310:232::o;2547:484::-;2800:3;2785:19;;2813:39;2789:9;2834:6;2813:39;:::i;:::-;2888:6;2883:2;2872:9;2868:18;2861:34;2931:6;2926:2;2915:9;2911:18;2904:34;2974:6;2969:2;2958:9;2954:18;2947:34;3018:6;3012:3;3001:9;2997:19;2990:35;2547:484;;;;;;;;:::o;3218:328::-;3295:6;3303;3311;3364:2;3352:9;3343:7;3339:23;3335:32;3332:52;;;3380:1;3377;3370:12;3332:52;3403:29;3422:9;3403:29;:::i;:::-;3393:39;;3451:38;3485:2;3474:9;3470:18;3451:38;:::i;:::-;3441:48;;3536:2;3525:9;3521:18;3508:32;3498:42;;3218:328;;;;;:::o;3551:659::-;3630:6;3638;3646;3699:2;3687:9;3678:7;3674:23;3670:32;3667:52;;;3715:1;3712;3705:12;3667:52;3751:9;3738:23;3728:33;;3812:2;3801:9;3797:18;3784:32;3835:18;3876:2;3868:6;3865:14;3862:34;;;3892:1;3889;3882:12;3862:34;3930:6;3919:9;3915:22;3905:32;;3975:7;3968:4;3964:2;3960:13;3956:27;3946:55;;3997:1;3994;3987:12;3946:55;4037:2;4024:16;4063:2;4055:6;4052:14;4049:34;;;4079:1;4076;4069:12;4049:34;4124:7;4119:2;4110:6;4106:2;4102:15;4098:24;4095:37;4092:57;;;4145:1;4142;4135:12;4092:57;4176:2;4172;4168:11;4158:21;;4198:6;4188:16;;;;;3551:659;;;;;:::o;4215:186::-;4274:6;4327:2;4315:9;4306:7;4302:23;4298:32;4295:52;;;4343:1;4340;4333:12;4295:52;4366:29;4385:9;4366:29;:::i;4406:127::-;4467:10;4462:3;4458:20;4455:1;4448:31;4498:4;4495:1;4488:15;4522:4;4519:1;4512:15;4538:632;4603:5;4633:18;4674:2;4666:6;4663:14;4660:40;;;4680:18;;:::i;:::-;4755:2;4749:9;4723:2;4809:15;;-1:-1:-1;;4805:24:1;;;4831:2;4801:33;4797:42;4785:55;;;4855:18;;;4875:22;;;4852:46;4849:72;;;4901:18;;:::i;:::-;4941:10;4937:2;4930:22;4970:6;4961:15;;5000:6;4992;4985:22;5040:3;5031:6;5026:3;5022:16;5019:25;5016:45;;;5057:1;5054;5047:12;5016:45;5107:6;5102:3;5095:4;5087:6;5083:17;5070:44;5162:1;5155:4;5146:6;5138;5134:19;5130:30;5123:41;;;;4538:632;;;;;:::o;5175:451::-;5244:6;5297:2;5285:9;5276:7;5272:23;5268:32;5265:52;;;5313:1;5310;5303:12;5265:52;5353:9;5340:23;5386:18;5378:6;5375:30;5372:50;;;5418:1;5415;5408:12;5372:50;5441:22;;5494:4;5486:13;;5482:27;-1:-1:-1;5472:55:1;;5523:1;5520;5513:12;5472:55;5546:74;5612:7;5607:2;5594:16;5589:2;5585;5581:11;5546:74;:::i;5631:347::-;5696:6;5704;5757:2;5745:9;5736:7;5732:23;5728:32;5725:52;;;5773:1;5770;5763:12;5725:52;5796:29;5815:9;5796:29;:::i;:::-;5786:39;;5875:2;5864:9;5860:18;5847:32;5922:5;5915:13;5908:21;5901:5;5898:32;5888:60;;5944:1;5941;5934:12;5888:60;5967:5;5957:15;;;5631:347;;;;;:::o;5983:248::-;6051:6;6059;6112:2;6100:9;6091:7;6087:23;6083:32;6080:52;;;6128:1;6125;6118:12;6080:52;-1:-1:-1;;6151:23:1;;;6221:2;6206:18;;;6193:32;;-1:-1:-1;5983:248:1:o;6236:667::-;6331:6;6339;6347;6355;6408:3;6396:9;6387:7;6383:23;6379:33;6376:53;;;6425:1;6422;6415:12;6376:53;6448:29;6467:9;6448:29;:::i;:::-;6438:39;;6496:38;6530:2;6519:9;6515:18;6496:38;:::i;:::-;6486:48;;6581:2;6570:9;6566:18;6553:32;6543:42;;6636:2;6625:9;6621:18;6608:32;6663:18;6655:6;6652:30;6649:50;;;6695:1;6692;6685:12;6649:50;6718:22;;6771:4;6763:13;;6759:27;-1:-1:-1;6749:55:1;;6800:1;6797;6790:12;6749:55;6823:74;6889:7;6884:2;6871:16;6866:2;6862;6858:11;6823:74;:::i;:::-;6813:84;;;6236:667;;;;;;;:::o;6908:198::-;7049:2;7034:18;;7061:39;7038:9;7082:6;7061:39;:::i;7111:260::-;7179:6;7187;7240:2;7228:9;7219:7;7215:23;7211:32;7208:52;;;7256:1;7253;7246:12;7208:52;7279:29;7298:9;7279:29;:::i;:::-;7269:39;;7327:38;7361:2;7350:9;7346:18;7327:38;:::i;:::-;7317:48;;7111:260;;;;;:::o;7376:380::-;7455:1;7451:12;;;;7498;;;7519:61;;7573:4;7565:6;7561:17;7551:27;;7519:61;7626:2;7618:6;7615:14;7595:18;7592:38;7589:161;;7672:10;7667:3;7663:20;7660:1;7653:31;7707:4;7704:1;7697:15;7735:4;7732:1;7725:15;7589:161;;7376:380;;;:::o;7761:127::-;7822:10;7817:3;7813:20;7810:1;7803:31;7853:4;7850:1;7843:15;7877:4;7874:1;7867:15;7893:125;7958:9;;;7979:10;;;7976:36;;;7992:18;;:::i;8023:168::-;8096:9;;;8127;;8144:15;;;8138:22;;8124:37;8114:71;;8165:18;;:::i;8707:545::-;8809:2;8804:3;8801:11;8798:448;;;8845:1;8870:5;8866:2;8859:17;8915:4;8911:2;8901:19;8985:2;8973:10;8969:19;8966:1;8962:27;8956:4;8952:38;9021:4;9009:10;9006:20;9003:47;;;-1:-1:-1;9044:4:1;9003:47;9099:2;9094:3;9090:12;9087:1;9083:20;9077:4;9073:31;9063:41;;9154:82;9172:2;9165:5;9162:13;9154:82;;;9217:17;;;9198:1;9187:13;9154:82;;9428:1352;9554:3;9548:10;9581:18;9573:6;9570:30;9567:56;;;9603:18;;:::i;:::-;9632:97;9722:6;9682:38;9714:4;9708:11;9682:38;:::i;:::-;9676:4;9632:97;:::i;:::-;9784:4;;9848:2;9837:14;;9865:1;9860:663;;;;10567:1;10584:6;10581:89;;;-1:-1:-1;10636:19:1;;;10630:26;10581:89;-1:-1:-1;;9385:1:1;9381:11;;;9377:24;9373:29;9363:40;9409:1;9405:11;;;9360:57;10683:81;;9830:944;;9860:663;8654:1;8647:14;;;8691:4;8678:18;;-1:-1:-1;;9896:20:1;;;10014:236;10028:7;10025:1;10022:14;10014:236;;;10117:19;;;10111:26;10096:42;;10209:27;;;;10177:1;10165:14;;;;10044:19;;10014:236;;;10018:3;10278:6;10269:7;10266:19;10263:201;;;10339:19;;;10333:26;-1:-1:-1;;10422:1:1;10418:14;;;10434:3;10414:24;10410:37;10406:42;10391:58;10376:74;;10263:201;-1:-1:-1;;;;;10510:1:1;10494:14;;;10490:22;10477:36;;-1:-1:-1;9428:1352:1:o;11145:1187::-;11422:3;11451:1;11484:6;11478:13;11514:36;11540:9;11514:36;:::i;:::-;11569:1;11586:18;;;11613:133;;;;11760:1;11755:356;;;;11579:532;;11613:133;-1:-1:-1;;11646:24:1;;11634:37;;11719:14;;11712:22;11700:35;;11691:45;;;-1:-1:-1;11613:133:1;;11755:356;11786:6;11783:1;11776:17;11816:4;11861:2;11858:1;11848:16;11886:1;11900:165;11914:6;11911:1;11908:13;11900:165;;;11992:14;;11979:11;;;11972:35;12035:16;;;;11929:10;;11900:165;;;11904:3;;;12094:6;12089:3;12085:16;12078:23;;11579:532;;;;;12142:6;12136:13;12158:68;12217:8;12212:3;12205:4;12197:6;12193:17;12158:68;:::i;:::-;-1:-1:-1;;;12248:18:1;;12275:22;;;12324:1;12313:13;;11145:1187;-1:-1:-1;;;;11145:1187:1:o;13105:489::-;-1:-1:-1;;;;;13374:15:1;;;13356:34;;13426:15;;13421:2;13406:18;;13399:43;13473:2;13458:18;;13451:34;;;13521:3;13516:2;13501:18;;13494:31;;;13299:4;;13542:46;;13568:19;;13560:6;13542:46;:::i;:::-;13534:54;13105:489;-1:-1:-1;;;;;;13105:489:1:o;13599:249::-;13668:6;13721:2;13709:9;13700:7;13696:23;13692:32;13689:52;;;13737:1;13734;13727:12;13689:52;13769:9;13763:16;13788:30;13812:5;13788:30;:::i

Swarm Source

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