ETH Price: $3,162.05 (-4.14%)
Gas: 4 Gwei

Token

The Straws (STRAWS)
 

Overview

Max Total Supply

4,096 STRAWS

Holders

1,088

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kasens.eth
Balance
4 STRAWS
0x35ba887a6dc798323567e5e4c4534ebc65074bdb
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:
TheStraws

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-22
*/

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

//  ___       ___     __  ___  __             __  
//   |  |__| |__     /__`  |  |__)  /\  |  | /__` 
//   |  |  | |___    .__/  |  |  \ /~~\ |/\| .__/ 
//    by  dakky.eth              SEPTEMBER 2023                                                    

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

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

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

    /**
     * @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);
    }
}
pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
pragma solidity ^0.8.0;

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

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}
pragma solidity ^0.8.0;


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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
pragma solidity ^0.8.0;


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


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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
    ) external;

    /**
     * @dev Transfers `tokenId` token 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    /**
     * @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 calldata data
    ) external;
}
pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used). 
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex = 1;

    // The number of tokens burned.
    uint256 internal _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 ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return (_currentIndex - _burnCounter) - 1;    
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary 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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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, tokenId.toString())) : '';
    }

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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 (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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.
            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.
            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));
    }
}
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

contract TheStraws is Ownable, ERC721A {

    uint256 public walletMax = 4;
    using Strings for uint256;

    mapping(uint256 => string) private _tokenURIs;
    bool public publicSaleOpen = false;
    bool public isBaseURIFrozen;
    string public baseURI = "ipfs://bafybeify3z5ruekenlw4leyusrsherghy3b2wg3k3p6ywvuvx4ilfeb3xu/";
    string public _extension = ".json";
    uint256 public price = 0 ether;
    uint256 public maxSupply = 4096;
 
    constructor() ERC721A("The Straws", "STRAWS"){
        isBaseURIFrozen = false;
    }
    
    modifier baseURINotFrozen() {
        require(!isBaseURIFrozen, "BaseURI is frozen and cannot be changed");
        _;
    }

    function freezeBaseURI() onlyOwner public onlyOwner() {
        // This function can be called by the owner to freeze baseURI
        isBaseURIFrozen = true;
    }

    function mintNFT(uint256 _quantity) public payable {
        require(_quantity > 0 && _quantity <= walletMax, "Wallet full, check max per wallet!");
        require(totalSupply() + _quantity <= maxSupply, "Reached max supply!");
        require(msg.value == price * _quantity, "Needs to send more ETH!");
        require(getMintedCount(msg.sender) + _quantity <= walletMax, "Exceeded max minting amount!");
        require(publicSaleOpen, "Public sale not yet started!");

        _safeMint(msg.sender, _quantity);

    }

    function sendGifts(address[] memory _wallets) external onlyOwner{
        require(totalSupply() + _wallets.length <= maxSupply, "Max Supply Reached.");
        for(uint i = 0; i < _wallets.length; i++)
            _safeMint(_wallets[i], 1);

    }
   function sendGiftsToWallet(address _wallet, uint256 _num) external onlyOwner{
               require(totalSupply() + _num <= maxSupply, "Max Supply Reached.");
            _safeMint(_wallet, _num);
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI set of nonexistent token"
        );

        return string(abi.encodePacked(baseURI, _tokenId.toString(), _extension));
    }

    function updateBaseURI(string memory _newBaseURI) onlyOwner baseURINotFrozen public {
        baseURI = _newBaseURI;
    }
    function updateExtension(string memory _temp) onlyOwner public {
        _extension = _temp;
    }

    function getBaseURI() external view returns(string memory) {
        return baseURI;
    }

    function setPrice(uint256 _price) public onlyOwner() {
        price = _price;
    }
    function setWalletMaxs(uint256 _walletMax) public onlyOwner() {
        walletMax = _walletMax;
    }

    function setmaxSupply(uint256 _supply) public onlyOwner() {
        require(_supply <= 4096, "Error: New max can not be higher than original max.");
        maxSupply = _supply;
    }

    function toggleSale() public onlyOwner() {
        publicSaleOpen = !publicSaleOpen;
    }

    function getBalance() public view returns(uint) {
        return address(this).balance;
    }

    function getMintedCount(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }

    function withdraw() external onlyOwner {
        uint _balance = address(this).balance;
        payable(owner()).transfer(_balance); //Owner
    }

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
  {
    return ownershipOf(tokenId);
  }
    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"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":"_extension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[],"name":"freezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseURIFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"sendGifts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"sendGiftsToWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletMax","type":"uint256"}],"name":"setWalletMaxs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_temp","type":"string"}],"name":"updateExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600180556004600955600b805460ff1916905561010060405260436080818152906200240e60a039600c90620000369082620001fa565b50604080518082019091526005815264173539b7b760d91b6020820152600d90620000629082620001fa565b505f600e55611000600f5534801562000079575f80fd5b506040518060400160405280600a8152602001695468652053747261777360b01b8152506040518060400160405280600681526020016553545241575360d01b815250620000d6620000d06200010760201b60201c565b6200010b565b6003620000e48382620001fa565b506004620000f38282620001fa565b5050600b805461ff001916905550620002c2565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200018357607f821691505b602082108103620001a257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001f5575f81815260208120601f850160051c81016020861015620001d05750805b601f850160051c820191505b81811015620001f157828155600101620001dc565b5050505b505050565b81516001600160401b038111156200021657620002166200015a565b6200022e816200022784546200016e565b84620001a8565b602080601f83116001811462000264575f84156200024c5750858301515b5f19600386901b1c1916600185901b178555620001f1565b5f85815260208120601f198616915b82811015620002945788860151825594840194600190910190840162000273565b5085821015620002b257878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b61213e80620002d05f395ff3fe60806040526004361061022b575f3560e01c80637e6182d911610129578063a22cb465116100a8578063e7bc82081161006d578063e7bc820814610644578063e985e9c514610658578063f2fde38b14610677578063f9e2379914610696578063fe314524146106af575f80fd5b8063a22cb465146105b3578063b88d4fde146105d2578063c87b56dd146105f1578063d1f919ed14610610578063d5abeb011461062f575f80fd5b8063931688cb116100ee578063931688cb1461052e57806395d89b411461054d57806397d6696b146105615780639ca89fad14610580578063a035b1fe1461059e575f80fd5b80637e6182d91461046c5780638da5cb5b1461048b57806391b7f5ed146104a75780639231ab2a146104c6578063926427441461051b575f80fd5b80633ccfd60b116101b557806370a082311161017a57806370a08231146103f2578063714c539814610411578063715018a6146104255780637c8255db146104395780637d8966e414610458575f80fd5b80633ccfd60b1461036d57806342842e0e146103815780635c0017c2146103a05780636352211e146103bf5780636c0360eb146103de575f80fd5b806312065fe0116101fb57806312065fe0146102e357806318160ddd146102ff578063228025e81461031b57806323b872dd1461033a5780633ae1dd9d14610359575f80fd5b806301ffc9a71461023657806306fdde031461026a578063081812fc1461028b578063095ea7b3146102c2575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b50610255610250366004611a54565b6106c4565b60405190151581526020015b60405180910390f35b348015610275575f80fd5b5061027e610715565b6040516102619190611ac3565b348015610296575f80fd5b506102aa6102a5366004611ad5565b6107a5565b6040516001600160a01b039091168152602001610261565b3480156102cd575f80fd5b506102e16102dc366004611b07565b6107e7565b005b3480156102ee575f80fd5b50475b604051908152602001610261565b34801561030a575f80fd5b506102f1600254600154035f190190565b348015610326575f80fd5b506102e1610335366004611ad5565b610873565b348015610345575f80fd5b506102e1610354366004611b2f565b610918565b348015610364575f80fd5b5061027e610923565b348015610378575f80fd5b506102e16109af565b34801561038c575f80fd5b506102e161039b366004611b2f565b610a23565b3480156103ab575f80fd5b506102e16103ba366004611ad5565b610a3d565b3480156103ca575f80fd5b506102aa6103d9366004611ad5565b610a6b565b3480156103e9575f80fd5b5061027e610a7c565b3480156103fd575f80fd5b506102f161040c366004611b68565b610a89565b34801561041c575f80fd5b5061027e610ad5565b348015610430575f80fd5b506102e1610ae4565b348015610444575f80fd5b506102e1610453366004611bc5565b610b18565b348015610463575f80fd5b506102e1610be5565b348015610477575f80fd5b506102e1610486366004611cc0565b610c22565b348015610496575f80fd5b505f546001600160a01b03166102aa565b3480156104b2575f80fd5b506102e16104c1366004611ad5565b610c57565b3480156104d1575f80fd5b506104e56104e0366004611ad5565b610c85565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610261565b6102e1610529366004611ad5565b610caa565b348015610539575f80fd5b506102e1610548366004611cc0565b610e94565b348015610558575f80fd5b5061027e610f31565b34801561056c575f80fd5b506102f161057b366004611b68565b610f40565b34801561058b575f80fd5b50600b5461025590610100900460ff1681565b3480156105a9575f80fd5b506102f1600e5481565b3480156105be575f80fd5b506102e16105cd366004611d04565b610f4a565b3480156105dd575f80fd5b506102e16105ec366004611d3d565b610fde565b3480156105fc575f80fd5b5061027e61060b366004611ad5565b611018565b34801561061b575f80fd5b506102e161062a366004611b07565b6110b9565b34801561063a575f80fd5b506102f1600f5481565b34801561064f575f80fd5b506102e161114e565b348015610663575f80fd5b50610255610672366004611db3565b6111b1565b348015610682575f80fd5b506102e1610691366004611b68565b6111de565b3480156106a1575f80fd5b50600b546102559060ff1681565b3480156106ba575f80fd5b506102f160095481565b5f6001600160e01b031982166380ac58cd60e01b14806106f457506001600160e01b03198216635b5e139f60e01b145b8061070f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461072490611de4565b80601f016020809104026020016040519081016040528092919081815260200182805461075090611de4565b801561079b5780601f106107725761010080835404028352916020019161079b565b820191905f5260205f20905b81548152906001019060200180831161077e57829003601f168201915b5050505050905090565b5f6107af82611275565b6107cc576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6107f182610a6b565b9050806001600160a01b0316836001600160a01b0316036108255760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610845575061084381336111b1565b155b15610863576040516367d9dca160e11b815260040160405180910390fd5b61086e83838361129f565b505050565b5f546001600160a01b031633146108a55760405162461bcd60e51b815260040161089c90611e1c565b60405180910390fd5b6110008111156109135760405162461bcd60e51b815260206004820152603360248201527f4572726f723a204e6577206d61782063616e206e6f7420626520686967686572604482015272103a3430b71037b934b3b4b730b61036b0bc1760691b606482015260840161089c565b600f55565b61086e8383836112fa565b600d805461093090611de4565b80601f016020809104026020016040519081016040528092919081815260200182805461095c90611de4565b80156109a75780601f1061097e576101008083540402835291602001916109a7565b820191905f5260205f20905b81548152906001019060200180831161098a57829003601f168201915b505050505081565b5f546001600160a01b031633146109d85760405162461bcd60e51b815260040161089c90611e1c565b476109ea5f546001600160a01b031690565b6001600160a01b03166108fc8290811502906040515f60405180830381858888f19350505050158015610a1f573d5f803e3d5ffd5b5050565b61086e83838360405180602001604052805f815250610fde565b5f546001600160a01b03163314610a665760405162461bcd60e51b815260040161089c90611e1c565b600955565b5f610a7582611506565b5192915050565b600c805461093090611de4565b5f6001600160a01b038216610ab1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600660205260409020546001600160401b031690565b6060600c805461072490611de4565b5f546001600160a01b03163314610b0d5760405162461bcd60e51b815260040161089c90611e1c565b610b165f61161d565b565b5f546001600160a01b03163314610b415760405162461bcd60e51b815260040161089c90611e1c565b600f548151610b56600254600154035f190190565b610b609190611e65565b1115610ba45760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b604482015260640161089c565b5f5b8151811015610a1f57610bd3828281518110610bc457610bc4611e78565b6020026020010151600161166c565b80610bdd81611e8c565b915050610ba6565b5f546001600160a01b03163314610c0e5760405162461bcd60e51b815260040161089c90611e1c565b600b805460ff19811660ff90911615179055565b5f546001600160a01b03163314610c4b5760405162461bcd60e51b815260040161089c90611e1c565b600d610a1f8282611ef1565b5f546001600160a01b03163314610c805760405162461bcd60e51b815260040161089c90611e1c565b600e55565b604080516060810182525f808252602082018190529181019190915261070f82611506565b5f81118015610cbb57506009548111155b610d125760405162461bcd60e51b815260206004820152602260248201527f57616c6c65742066756c6c2c20636865636b206d6178207065722077616c6c65604482015261742160f01b606482015260840161089c565b600f5481610d26600254600154035f190190565b610d309190611e65565b1115610d745760405162461bcd60e51b815260206004820152601360248201527252656163686564206d617820737570706c792160681b604482015260640161089c565b80600e54610d829190611fac565b3414610dd05760405162461bcd60e51b815260206004820152601760248201527f4e6565647320746f2073656e64206d6f72652045544821000000000000000000604482015260640161089c565b60095481610ddd33610f40565b610de79190611e65565b1115610e355760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e742100000000604482015260640161089c565b600b5460ff16610e875760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206e6f742079657420737461727465642100000000604482015260640161089c565b610e91338261166c565b50565b5f546001600160a01b03163314610ebd5760405162461bcd60e51b815260040161089c90611e1c565b600b54610100900460ff1615610f255760405162461bcd60e51b815260206004820152602760248201527f426173655552492069732066726f7a656e20616e642063616e6e6f742062652060448201526618da185b99d95960ca1b606482015260840161089c565b600c610a1f8282611ef1565b60606004805461072490611de4565b5f61070f82611685565b336001600160a01b03831603610f735760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fe98484846112fa565b610ff5848484846116d8565b611012576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061102382611275565b6110845760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089c565b600c61108f836117d7565b600d6040516020016110a393929190612032565b6040516020818303038152906040529050919050565b5f546001600160a01b031633146110e25760405162461bcd60e51b815260040161089c90611e1c565b600f54816110f6600254600154035f190190565b6111009190611e65565b11156111445760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b604482015260640161089c565b610a1f828261166c565b5f546001600160a01b031633146111775760405162461bcd60e51b815260040161089c90611e1c565b5f546001600160a01b031633146111a05760405162461bcd60e51b815260040161089c90611e1c565b600b805461ff001916610100179055565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b5f546001600160a01b031633146112075760405162461bcd60e51b815260040161089c90611e1c565b6001600160a01b03811661126c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089c565b610e918161161d565b5f6001548210801561070f5750505f90815260056020526040902054600160e01b900460ff161590565b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61130482611506565b80519091505f906001600160a01b0316336001600160a01b031614806113315750815161133190336111b1565b8061134c575033611341846107a5565b6001600160a01b0316145b90508061136c57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b0316825f01516001600160a01b0316146113a05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166113c757604051633a954ecd60e21b815260040160405180910390fd5b6113d55f84845f015161129f565b6001600160a01b038581165f908152600660209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166114bc576001548110156114bc5782515f8281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182525f80825260208201819052918101919091526001548290811015611604575f81815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116025780516001600160a01b03161561159b579392505050565b505f19015f81815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156115fd579392505050565b61159b565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a1f828260405180602001604052805f8152506118d3565b5f6001600160a01b0382166116ad576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b03165f90815260066020526040902054600160401b90046001600160401b031690565b5f6001600160a01b0384163b156117cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061171b903390899088908890600401612064565b6020604051808303815f875af1925050508015611755575060408051601f3d908101601f19168201909252611752918101906120a0565b60015b6117b1573d808015611782576040519150601f19603f3d011682016040523d82523d5f602084013e611787565b606091505b5080515f036117a9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cf565b5060015b949350505050565b6060815f036117fd5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611826578061181081611e8c565b915061181f9050600a836120cf565b9150611800565b5f816001600160401b0381111561183f5761183f611b81565b6040519080825280601f01601f191660200182016040528015611869576020820181803683370190505b5090505b84156117cf5761187e6001836120e2565b915061188b600a866120f5565b611896906030611e65565b60f81b8183815181106118ab576118ab611e78565b60200101906001600160f81b03191690815f1a9053506118cc600a866120cf565b945061186d565b61086e838383600180546001600160a01b03851661190357604051622e076360e81b815260040160405180910390fd5b835f036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611a365760405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611a0c5750611a0a5f8884886116d8565b155b15611a2a576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016119b7565b506001556114ff565b6001600160e01b031981168114610e91575f80fd5b5f60208284031215611a64575f80fd5b8135611a6f81611a3f565b9392505050565b5f5b83811015611a90578181015183820152602001611a78565b50505f910152565b5f8151808452611aaf816020860160208601611a76565b601f01601f19169290920160200192915050565b602081525f611a6f6020830184611a98565b5f60208284031215611ae5575f80fd5b5035919050565b80356001600160a01b0381168114611b02575f80fd5b919050565b5f8060408385031215611b18575f80fd5b611b2183611aec565b946020939093013593505050565b5f805f60608486031215611b41575f80fd5b611b4a84611aec565b9250611b5860208501611aec565b9150604084013590509250925092565b5f60208284031215611b78575f80fd5b611a6f82611aec565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611bbd57611bbd611b81565b604052919050565b5f6020808385031215611bd6575f80fd5b82356001600160401b0380821115611bec575f80fd5b818501915085601f830112611bff575f80fd5b813581811115611c1157611c11611b81565b8060051b9150611c22848301611b95565b8181529183018401918481019088841115611c3b575f80fd5b938501935b83851015611c6057611c5185611aec565b82529385019390850190611c40565b98975050505050505050565b5f6001600160401b03831115611c8457611c84611b81565b611c97601f8401601f1916602001611b95565b9050828152838383011115611caa575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215611cd0575f80fd5b81356001600160401b03811115611ce5575f80fd5b8201601f81018413611cf5575f80fd5b6117cf84823560208401611c6c565b5f8060408385031215611d15575f80fd5b611d1e83611aec565b915060208301358015158114611d32575f80fd5b809150509250929050565b5f805f8060808587031215611d50575f80fd5b611d5985611aec565b9350611d6760208601611aec565b92506040850135915060608501356001600160401b03811115611d88575f80fd5b8501601f81018713611d98575f80fd5b611da787823560208401611c6c565b91505092959194509250565b5f8060408385031215611dc4575f80fd5b611dcd83611aec565b9150611ddb60208401611aec565b90509250929050565b600181811c90821680611df857607f821691505b602082108103611e1657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561070f5761070f611e51565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611e9d57611e9d611e51565b5060010190565b601f82111561086e575f81815260208120601f850160051c81016020861015611eca5750805b601f850160051c820191505b81811015611ee957828155600101611ed6565b505050505050565b81516001600160401b03811115611f0a57611f0a611b81565b611f1e81611f188454611de4565b84611ea4565b602080601f831160018114611f51575f8415611f3a5750858301515b5f19600386901b1c1916600185901b178555611ee9565b5f85815260208120601f198616915b82811015611f7f57888601518255948401946001909101908401611f60565b5085821015611f9c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808202811582820484141761070f5761070f611e51565b5f8154611fcf81611de4565b60018281168015611fe75760018114611ffc57612028565b60ff1984168752821515830287019450612028565b855f526020805f205f5b8581101561201f5781548a820152908401908201612006565b50505082870194505b5050505092915050565b5f61203d8286611fc3565b845161204d818360208901611a76565b61205981830186611fc3565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061209690830184611a98565b9695505050505050565b5f602082840312156120b0575f80fd5b8151611a6f81611a3f565b634e487b7160e01b5f52601260045260245ffd5b5f826120dd576120dd6120bb565b500490565b8181038181111561070f5761070f611e51565b5f82612103576121036120bb565b50069056fea264697066735822122065f60fbea2039887bfe99281801be42017f922fbdc6a980f7fb2e49a3a078db564736f6c63430008150033697066733a2f2f626166796265696679337a357275656b656e6c77346c6579757372736865726768793362327767336b33703679777675767834696c6665623378752f

Deployed Bytecode

0x60806040526004361061022b575f3560e01c80637e6182d911610129578063a22cb465116100a8578063e7bc82081161006d578063e7bc820814610644578063e985e9c514610658578063f2fde38b14610677578063f9e2379914610696578063fe314524146106af575f80fd5b8063a22cb465146105b3578063b88d4fde146105d2578063c87b56dd146105f1578063d1f919ed14610610578063d5abeb011461062f575f80fd5b8063931688cb116100ee578063931688cb1461052e57806395d89b411461054d57806397d6696b146105615780639ca89fad14610580578063a035b1fe1461059e575f80fd5b80637e6182d91461046c5780638da5cb5b1461048b57806391b7f5ed146104a75780639231ab2a146104c6578063926427441461051b575f80fd5b80633ccfd60b116101b557806370a082311161017a57806370a08231146103f2578063714c539814610411578063715018a6146104255780637c8255db146104395780637d8966e414610458575f80fd5b80633ccfd60b1461036d57806342842e0e146103815780635c0017c2146103a05780636352211e146103bf5780636c0360eb146103de575f80fd5b806312065fe0116101fb57806312065fe0146102e357806318160ddd146102ff578063228025e81461031b57806323b872dd1461033a5780633ae1dd9d14610359575f80fd5b806301ffc9a71461023657806306fdde031461026a578063081812fc1461028b578063095ea7b3146102c2575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b50610255610250366004611a54565b6106c4565b60405190151581526020015b60405180910390f35b348015610275575f80fd5b5061027e610715565b6040516102619190611ac3565b348015610296575f80fd5b506102aa6102a5366004611ad5565b6107a5565b6040516001600160a01b039091168152602001610261565b3480156102cd575f80fd5b506102e16102dc366004611b07565b6107e7565b005b3480156102ee575f80fd5b50475b604051908152602001610261565b34801561030a575f80fd5b506102f1600254600154035f190190565b348015610326575f80fd5b506102e1610335366004611ad5565b610873565b348015610345575f80fd5b506102e1610354366004611b2f565b610918565b348015610364575f80fd5b5061027e610923565b348015610378575f80fd5b506102e16109af565b34801561038c575f80fd5b506102e161039b366004611b2f565b610a23565b3480156103ab575f80fd5b506102e16103ba366004611ad5565b610a3d565b3480156103ca575f80fd5b506102aa6103d9366004611ad5565b610a6b565b3480156103e9575f80fd5b5061027e610a7c565b3480156103fd575f80fd5b506102f161040c366004611b68565b610a89565b34801561041c575f80fd5b5061027e610ad5565b348015610430575f80fd5b506102e1610ae4565b348015610444575f80fd5b506102e1610453366004611bc5565b610b18565b348015610463575f80fd5b506102e1610be5565b348015610477575f80fd5b506102e1610486366004611cc0565b610c22565b348015610496575f80fd5b505f546001600160a01b03166102aa565b3480156104b2575f80fd5b506102e16104c1366004611ad5565b610c57565b3480156104d1575f80fd5b506104e56104e0366004611ad5565b610c85565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610261565b6102e1610529366004611ad5565b610caa565b348015610539575f80fd5b506102e1610548366004611cc0565b610e94565b348015610558575f80fd5b5061027e610f31565b34801561056c575f80fd5b506102f161057b366004611b68565b610f40565b34801561058b575f80fd5b50600b5461025590610100900460ff1681565b3480156105a9575f80fd5b506102f1600e5481565b3480156105be575f80fd5b506102e16105cd366004611d04565b610f4a565b3480156105dd575f80fd5b506102e16105ec366004611d3d565b610fde565b3480156105fc575f80fd5b5061027e61060b366004611ad5565b611018565b34801561061b575f80fd5b506102e161062a366004611b07565b6110b9565b34801561063a575f80fd5b506102f1600f5481565b34801561064f575f80fd5b506102e161114e565b348015610663575f80fd5b50610255610672366004611db3565b6111b1565b348015610682575f80fd5b506102e1610691366004611b68565b6111de565b3480156106a1575f80fd5b50600b546102559060ff1681565b3480156106ba575f80fd5b506102f160095481565b5f6001600160e01b031982166380ac58cd60e01b14806106f457506001600160e01b03198216635b5e139f60e01b145b8061070f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461072490611de4565b80601f016020809104026020016040519081016040528092919081815260200182805461075090611de4565b801561079b5780601f106107725761010080835404028352916020019161079b565b820191905f5260205f20905b81548152906001019060200180831161077e57829003601f168201915b5050505050905090565b5f6107af82611275565b6107cc576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6107f182610a6b565b9050806001600160a01b0316836001600160a01b0316036108255760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610845575061084381336111b1565b155b15610863576040516367d9dca160e11b815260040160405180910390fd5b61086e83838361129f565b505050565b5f546001600160a01b031633146108a55760405162461bcd60e51b815260040161089c90611e1c565b60405180910390fd5b6110008111156109135760405162461bcd60e51b815260206004820152603360248201527f4572726f723a204e6577206d61782063616e206e6f7420626520686967686572604482015272103a3430b71037b934b3b4b730b61036b0bc1760691b606482015260840161089c565b600f55565b61086e8383836112fa565b600d805461093090611de4565b80601f016020809104026020016040519081016040528092919081815260200182805461095c90611de4565b80156109a75780601f1061097e576101008083540402835291602001916109a7565b820191905f5260205f20905b81548152906001019060200180831161098a57829003601f168201915b505050505081565b5f546001600160a01b031633146109d85760405162461bcd60e51b815260040161089c90611e1c565b476109ea5f546001600160a01b031690565b6001600160a01b03166108fc8290811502906040515f60405180830381858888f19350505050158015610a1f573d5f803e3d5ffd5b5050565b61086e83838360405180602001604052805f815250610fde565b5f546001600160a01b03163314610a665760405162461bcd60e51b815260040161089c90611e1c565b600955565b5f610a7582611506565b5192915050565b600c805461093090611de4565b5f6001600160a01b038216610ab1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600660205260409020546001600160401b031690565b6060600c805461072490611de4565b5f546001600160a01b03163314610b0d5760405162461bcd60e51b815260040161089c90611e1c565b610b165f61161d565b565b5f546001600160a01b03163314610b415760405162461bcd60e51b815260040161089c90611e1c565b600f548151610b56600254600154035f190190565b610b609190611e65565b1115610ba45760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b604482015260640161089c565b5f5b8151811015610a1f57610bd3828281518110610bc457610bc4611e78565b6020026020010151600161166c565b80610bdd81611e8c565b915050610ba6565b5f546001600160a01b03163314610c0e5760405162461bcd60e51b815260040161089c90611e1c565b600b805460ff19811660ff90911615179055565b5f546001600160a01b03163314610c4b5760405162461bcd60e51b815260040161089c90611e1c565b600d610a1f8282611ef1565b5f546001600160a01b03163314610c805760405162461bcd60e51b815260040161089c90611e1c565b600e55565b604080516060810182525f808252602082018190529181019190915261070f82611506565b5f81118015610cbb57506009548111155b610d125760405162461bcd60e51b815260206004820152602260248201527f57616c6c65742066756c6c2c20636865636b206d6178207065722077616c6c65604482015261742160f01b606482015260840161089c565b600f5481610d26600254600154035f190190565b610d309190611e65565b1115610d745760405162461bcd60e51b815260206004820152601360248201527252656163686564206d617820737570706c792160681b604482015260640161089c565b80600e54610d829190611fac565b3414610dd05760405162461bcd60e51b815260206004820152601760248201527f4e6565647320746f2073656e64206d6f72652045544821000000000000000000604482015260640161089c565b60095481610ddd33610f40565b610de79190611e65565b1115610e355760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e742100000000604482015260640161089c565b600b5460ff16610e875760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c65206e6f742079657420737461727465642100000000604482015260640161089c565b610e91338261166c565b50565b5f546001600160a01b03163314610ebd5760405162461bcd60e51b815260040161089c90611e1c565b600b54610100900460ff1615610f255760405162461bcd60e51b815260206004820152602760248201527f426173655552492069732066726f7a656e20616e642063616e6e6f742062652060448201526618da185b99d95960ca1b606482015260840161089c565b600c610a1f8282611ef1565b60606004805461072490611de4565b5f61070f82611685565b336001600160a01b03831603610f735760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fe98484846112fa565b610ff5848484846116d8565b611012576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061102382611275565b6110845760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089c565b600c61108f836117d7565b600d6040516020016110a393929190612032565b6040516020818303038152906040529050919050565b5f546001600160a01b031633146110e25760405162461bcd60e51b815260040161089c90611e1c565b600f54816110f6600254600154035f190190565b6111009190611e65565b11156111445760405162461bcd60e51b815260206004820152601360248201527226b0bc1029bab838363c902932b0b1b432b21760691b604482015260640161089c565b610a1f828261166c565b5f546001600160a01b031633146111775760405162461bcd60e51b815260040161089c90611e1c565b5f546001600160a01b031633146111a05760405162461bcd60e51b815260040161089c90611e1c565b600b805461ff001916610100179055565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b5f546001600160a01b031633146112075760405162461bcd60e51b815260040161089c90611e1c565b6001600160a01b03811661126c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089c565b610e918161161d565b5f6001548210801561070f5750505f90815260056020526040902054600160e01b900460ff161590565b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61130482611506565b80519091505f906001600160a01b0316336001600160a01b031614806113315750815161133190336111b1565b8061134c575033611341846107a5565b6001600160a01b0316145b90508061136c57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b0316825f01516001600160a01b0316146113a05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166113c757604051633a954ecd60e21b815260040160405180910390fd5b6113d55f84845f015161129f565b6001600160a01b038581165f908152600660209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166114bc576001548110156114bc5782515f8281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182525f80825260208201819052918101919091526001548290811015611604575f81815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116025780516001600160a01b03161561159b579392505050565b505f19015f81815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156115fd579392505050565b61159b565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a1f828260405180602001604052805f8152506118d3565b5f6001600160a01b0382166116ad576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b03165f90815260066020526040902054600160401b90046001600160401b031690565b5f6001600160a01b0384163b156117cb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061171b903390899088908890600401612064565b6020604051808303815f875af1925050508015611755575060408051601f3d908101601f19168201909252611752918101906120a0565b60015b6117b1573d808015611782576040519150601f19603f3d011682016040523d82523d5f602084013e611787565b606091505b5080515f036117a9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cf565b5060015b949350505050565b6060815f036117fd5750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611826578061181081611e8c565b915061181f9050600a836120cf565b9150611800565b5f816001600160401b0381111561183f5761183f611b81565b6040519080825280601f01601f191660200182016040528015611869576020820181803683370190505b5090505b84156117cf5761187e6001836120e2565b915061188b600a866120f5565b611896906030611e65565b60f81b8183815181106118ab576118ab611e78565b60200101906001600160f81b03191690815f1a9053506118cc600a866120cf565b945061186d565b61086e838383600180546001600160a01b03851661190357604051622e076360e81b815260040160405180910390fd5b835f036119235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611a365760405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611a0c5750611a0a5f8884886116d8565b155b15611a2a576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016119b7565b506001556114ff565b6001600160e01b031981168114610e91575f80fd5b5f60208284031215611a64575f80fd5b8135611a6f81611a3f565b9392505050565b5f5b83811015611a90578181015183820152602001611a78565b50505f910152565b5f8151808452611aaf816020860160208601611a76565b601f01601f19169290920160200192915050565b602081525f611a6f6020830184611a98565b5f60208284031215611ae5575f80fd5b5035919050565b80356001600160a01b0381168114611b02575f80fd5b919050565b5f8060408385031215611b18575f80fd5b611b2183611aec565b946020939093013593505050565b5f805f60608486031215611b41575f80fd5b611b4a84611aec565b9250611b5860208501611aec565b9150604084013590509250925092565b5f60208284031215611b78575f80fd5b611a6f82611aec565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715611bbd57611bbd611b81565b604052919050565b5f6020808385031215611bd6575f80fd5b82356001600160401b0380821115611bec575f80fd5b818501915085601f830112611bff575f80fd5b813581811115611c1157611c11611b81565b8060051b9150611c22848301611b95565b8181529183018401918481019088841115611c3b575f80fd5b938501935b83851015611c6057611c5185611aec565b82529385019390850190611c40565b98975050505050505050565b5f6001600160401b03831115611c8457611c84611b81565b611c97601f8401601f1916602001611b95565b9050828152838383011115611caa575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215611cd0575f80fd5b81356001600160401b03811115611ce5575f80fd5b8201601f81018413611cf5575f80fd5b6117cf84823560208401611c6c565b5f8060408385031215611d15575f80fd5b611d1e83611aec565b915060208301358015158114611d32575f80fd5b809150509250929050565b5f805f8060808587031215611d50575f80fd5b611d5985611aec565b9350611d6760208601611aec565b92506040850135915060608501356001600160401b03811115611d88575f80fd5b8501601f81018713611d98575f80fd5b611da787823560208401611c6c565b91505092959194509250565b5f8060408385031215611dc4575f80fd5b611dcd83611aec565b9150611ddb60208401611aec565b90509250929050565b600181811c90821680611df857607f821691505b602082108103611e1657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561070f5761070f611e51565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611e9d57611e9d611e51565b5060010190565b601f82111561086e575f81815260208120601f850160051c81016020861015611eca5750805b601f850160051c820191505b81811015611ee957828155600101611ed6565b505050505050565b81516001600160401b03811115611f0a57611f0a611b81565b611f1e81611f188454611de4565b84611ea4565b602080601f831160018114611f51575f8415611f3a5750858301515b5f19600386901b1c1916600185901b178555611ee9565b5f85815260208120601f198616915b82811015611f7f57888601518255948401946001909101908401611f60565b5085821015611f9c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808202811582820484141761070f5761070f611e51565b5f8154611fcf81611de4565b60018281168015611fe75760018114611ffc57612028565b60ff1984168752821515830287019450612028565b855f526020805f205f5b8581101561201f5781548a820152908401908201612006565b50505082870194505b5050505092915050565b5f61203d8286611fc3565b845161204d818360208901611a76565b61205981830186611fc3565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061209690830184611a98565b9695505050505050565b5f602082840312156120b0575f80fd5b8151611a6f81611a3f565b634e487b7160e01b5f52601260045260245ffd5b5f826120dd576120dd6120bb565b500490565b8181038181111561070f5761070f611e51565b5f82612103576121036120bb565b50069056fea264697066735822122065f60fbea2039887bfe99281801be42017f922fbdc6a980f7fb2e49a3a078db564736f6c63430008150033

Deployed Bytecode Sourcemap

55240:3590:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25605:305;;;;;;;;;;-1:-1:-1;25605:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;25605:305:0;;;;;;;;28965:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30468:204::-;;;;;;;;;;-1:-1:-1;30468:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;30468:204:0;1533:203:1;30031:371:0;;;;;;;;;;-1:-1:-1;30031:371:0;;;;;:::i;:::-;;:::i;:::-;;58268:95;;;;;;;;;;-1:-1:-1;58334:21:0;58268:95;;;2324:25:1;;;2312:2;2297:18;58268:95:0;2178:177:1;25256:277:0;;;;;;;;;;;;25493:12;;25509:1;25477:13;:28;-1:-1:-1;;25476:34:0;;25256:277;57974:186;;;;;;;;;;-1:-1:-1;57974:186:0;;;;;:::i;:::-;;:::i;31325:170::-;;;;;;;;;;-1:-1:-1;31325:170:0;;;;;:::i;:::-;;:::i;55584:34::-;;;;;;;;;;;;;:::i;58488:149::-;;;;;;;;;;;;;:::i;31566:185::-;;;;;;;;;;-1:-1:-1;31566:185:0;;;;;:::i;:::-;;:::i;57863:103::-;;;;;;;;;;-1:-1:-1;57863:103:0;;;;;:::i;:::-;;:::i;28774:124::-;;;;;;;;;;-1:-1:-1;28774:124:0;;;;;:::i;:::-;;:::i;55484:93::-;;;;;;;;;;;;;:::i;25974:206::-;;;;;;;;;;-1:-1:-1;25974:206:0;;;;;:::i;:::-;;:::i;57671:92::-;;;;;;;;;;;;;:::i;14371:94::-;;;;;;;;;;;;;:::i;56649:252::-;;;;;;;;;;-1:-1:-1;56649:252:0;;;;;:::i;:::-;;:::i;58168:92::-;;;;;;;;;;;;;:::i;57563:100::-;;;;;;;;;;-1:-1:-1;57563:100:0;;;;;:::i;:::-;;:::i;13720:87::-;;;;;;;;;;-1:-1:-1;13766:7:0;13793:6;-1:-1:-1;;;;;13793:6:0;13720:87;;57771:86;;;;;;;;;;-1:-1:-1;57771:86:0;;;;;:::i;:::-;;:::i;58645:147::-;;;;;;;;;;-1:-1:-1;58645:147:0;;;;;:::i;:::-;;:::i;:::-;;;;5351:13:1;;-1:-1:-1;;;;;5347:39:1;5329:58;;5447:4;5435:17;;;5429:24;-1:-1:-1;;;;;5425:49:1;5403:20;;;5396:79;5533:17;;;5527:24;5520:32;5513:40;5491:20;;;5484:70;5317:2;5302:18;58645:147:0;5121:439:1;56111:530:0;;;;;;:::i;:::-;;:::i;57433:124::-;;;;;;;;;;-1:-1:-1;57433:124:0;;;;;:::i;:::-;;:::i;29134:104::-;;;;;;;;;;;;;:::i;58371:109::-;;;;;;;;;;-1:-1:-1;58371:109:0;;;;;:::i;:::-;;:::i;55450:27::-;;;;;;;;;;-1:-1:-1;55450:27:0;;;;;;;;;;;55625:30;;;;;;;;;;;;;;;;30744:279;;;;;;;;;;-1:-1:-1;30744:279:0;;;;;:::i;:::-;;:::i;31822:342::-;;;;;;;;;;-1:-1:-1;31822:342:0;;;;;:::i;:::-;;:::i;57120:305::-;;;;;;;;;;-1:-1:-1;57120:305:0;;;;;:::i;:::-;;:::i;56906:206::-;;;;;;;;;;-1:-1:-1;56906:206:0;;;;;:::i;:::-;;:::i;55662:31::-;;;;;;;;;;;;;;;;55937:166;;;;;;;;;;;;;:::i;31094:164::-;;;;;;;;;;-1:-1:-1;31094:164:0;;;;;:::i;:::-;;:::i;14620:192::-;;;;;;;;;;-1:-1:-1;14620:192:0;;;;;:::i;:::-;;:::i;55409:34::-;;;;;;;;;;-1:-1:-1;55409:34:0;;;;;;;;55288:28;;;;;;;;;;;;;;;;25605:305;25707:4;-1:-1:-1;;;;;;25744:40:0;;-1:-1:-1;;;25744:40:0;;:105;;-1:-1:-1;;;;;;;25801:48:0;;-1:-1:-1;;;25801:48:0;25744:105;:158;;;-1:-1:-1;;;;;;;;;;15834:40:0;;;25866:36;25724:178;25605:305;-1:-1:-1;;25605:305:0:o;28965:100::-;29019:13;29052:5;29045:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28965:100;:::o;30468:204::-;30536:7;30561:16;30569:7;30561;:16::i;:::-;30556:64;;30586:34;;-1:-1:-1;;;30586:34:0;;;;;;;;;;;30556:64;-1:-1:-1;30640:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30640:24:0;;30468:204::o;30031:371::-;30104:13;30120:24;30136:7;30120:15;:24::i;:::-;30104:40;;30165:5;-1:-1:-1;;;;;30159:11:0;:2;-1:-1:-1;;;;;30159:11:0;;30155:48;;30179:24;;-1:-1:-1;;;30179:24:0;;;;;;;;;;;30155:48;940:10;-1:-1:-1;;;;;30220:21:0;;;;;;:63;;-1:-1:-1;30246:37:0;30263:5;940:10;31094:164;:::i;30246:37::-;30245:38;30220:63;30216:138;;;30307:35;;-1:-1:-1;;;30307:35:0;;;;;;;;;;;30216:138;30366:28;30375:2;30379:7;30388:5;30366:8;:28::i;:::-;30093:309;30031:371;;:::o;57974:186::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;;;;;;;;;58062:4:::1;58051:7;:15;;58043:79;;;::::0;-1:-1:-1;;;58043:79:0;;7802:2:1;58043:79:0::1;::::0;::::1;7784:21:1::0;7841:2;7821:18;;;7814:30;7880:34;7860:18;;;7853:62;-1:-1:-1;;;7931:18:1;;;7924:49;7990:19;;58043:79:0::1;7600:415:1::0;58043:79:0::1;58133:9;:19:::0;57974:186::o;31325:170::-;31459:28;31469:4;31475:2;31479:7;31459:9;:28::i;55584:34::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58488:149::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;58554:21:::1;58594:7;13766::::0;13793:6;-1:-1:-1;;;;;13793:6:0;;13720:87;58594:7:::1;-1:-1:-1::0;;;;;58586:25:0::1;:35;58612:8;58586:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;58527:110;58488:149::o:0;31566:185::-;31704:39;31721:4;31727:2;31731:7;31704:39;;;;;;;;;;;;:16;:39::i;57863:103::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;57936:9:::1;:22:::0;57863:103::o;28774:124::-;28838:7;28865:20;28877:7;28865:11;:20::i;:::-;:25;;28774:124;-1:-1:-1;;28774:124:0:o;55484:93::-;;;;;;;:::i;25974:206::-;26038:7;-1:-1:-1;;;;;26062:19:0;;26058:60;;26090:28;;-1:-1:-1;;;26090:28:0;;;;;;;;;;;26058:60;-1:-1:-1;;;;;;26144:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;26144:27:0;;25974:206::o;57671:92::-;57715:13;57748:7;57741:14;;;;;:::i;14371:94::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;14436:21:::1;14454:1;14436:9;:21::i;:::-;14371:94::o:0;56649:252::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;56767:9:::1;;56748:8;:15;56732:13;25493:12:::0;;25509:1;25477:13;:28;-1:-1:-1;;25476:34:0;;25256:277;56732:13:::1;:31;;;;:::i;:::-;:44;;56724:76;;;::::0;-1:-1:-1;;;56724:76:0;;8484:2:1;56724:76:0::1;::::0;::::1;8466:21:1::0;8523:2;8503:18;;;8496:30;-1:-1:-1;;;8542:18:1;;;8535:49;8601:18;;56724:76:0::1;8282:343:1::0;56724:76:0::1;56815:6;56811:80;56831:8;:15;56827:1;:19;56811:80;;;56866:25;56876:8;56885:1;56876:11;;;;;;;;:::i;:::-;;;;;;;56889:1;56866:9;:25::i;:::-;56848:3:::0;::::1;::::0;::::1;:::i;:::-;;;;56811:80;;58168:92:::0;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;58238:14:::1;::::0;;-1:-1:-1;;58220:32:0;::::1;58238:14;::::0;;::::1;58237:15;58220:32;::::0;;58168:92::o;57563:100::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;57637:10:::1;:18;57650:5:::0;57637:10;:18:::1;:::i;57771:86::-:0;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;57835:5:::1;:14:::0;57771:86::o;58645:147::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;58766:20:0;58778:7;58766:11;:20::i;56111:530::-;56193:1;56181:9;:13;:39;;;;;56211:9;;56198;:22;;56181:39;56173:86;;;;-1:-1:-1;;;56173:86:0;;11308:2:1;56173:86:0;;;11290:21:1;11347:2;11327:18;;;11320:30;11386:34;11366:18;;;11359:62;-1:-1:-1;;;11437:18:1;;;11430:32;11479:19;;56173:86:0;11106:398:1;56173:86:0;56307:9;;56294;56278:13;25493:12;;25509:1;25477:13;:28;-1:-1:-1;;25476:34:0;;25256:277;56278:13;:25;;;;:::i;:::-;:38;;56270:70;;;;-1:-1:-1;;;56270:70:0;;11711:2:1;56270:70:0;;;11693:21:1;11750:2;11730:18;;;11723:30;-1:-1:-1;;;11769:18:1;;;11762:49;11828:18;;56270:70:0;11509:343:1;56270:70:0;56380:9;56372:5;;:17;;;;:::i;:::-;56359:9;:30;56351:66;;;;-1:-1:-1;;;56351:66:0;;12232:2:1;56351:66:0;;;12214:21:1;12271:2;12251:18;;;12244:30;12310:25;12290:18;;;12283:53;12353:18;;56351:66:0;12030:347:1;56351:66:0;56478:9;;56465;56436:26;56451:10;56436:14;:26::i;:::-;:38;;;;:::i;:::-;:51;;56428:92;;;;-1:-1:-1;;;56428:92:0;;12584:2:1;56428:92:0;;;12566:21:1;12623:2;12603:18;;;12596:30;12662;12642:18;;;12635:58;12710:18;;56428:92:0;12382:352:1;56428:92:0;56539:14;;;;56531:55;;;;-1:-1:-1;;;56531:55:0;;12941:2:1;56531:55:0;;;12923:21:1;12980:2;12960:18;;;12953:30;13019;12999:18;;;12992:58;13067:18;;56531:55:0;12739:352:1;56531:55:0;56599:32;56609:10;56621:9;56599;:32::i;:::-;56111:530;:::o;57433:124::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;55850:15:::1;::::0;::::1;::::0;::::1;;;55849:16;55841:68;;;::::0;-1:-1:-1;;;55841:68:0;;13298:2:1;55841:68:0::1;::::0;::::1;13280:21:1::0;13337:2;13317:18;;;13310:30;13376:34;13356:18;;;13349:62;-1:-1:-1;;;13427:18:1;;;13420:37;13474:19;;55841:68:0::1;13096:403:1::0;55841:68:0::1;57528:7:::2;:21;57538:11:::0;57528:7;:21:::2;:::i;29134:104::-:0;29190:13;29223:7;29216:14;;;;;:::i;58371:109::-;58431:7;58454:20;58468:5;58454:13;:20::i;30744:279::-;940:10;-1:-1:-1;;;;;30835:24:0;;;30831:54;;30868:17;;-1:-1:-1;;;30868:17:0;;;;;;;;;;;30831:54;940:10;30898:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;30898:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;30898:53:0;;;;;;;;;;30967:48;;540:41:1;;;30898:42:0;;940:10;30967:48;;513:18:1;30967:48:0;;;;;;;30744:279;;:::o;31822:342::-;31989:28;31999:4;32005:2;32009:7;31989:9;:28::i;:::-;32033:48;32056:4;32062:2;32066:7;32075:5;32033:22;:48::i;:::-;32028:129;;32105:40;;-1:-1:-1;;;32105:40:0;;;;;;;;;;;32028:129;31822:342;;;;:::o;57120:305::-;57194:13;57242:17;57250:8;57242:7;:17::i;:::-;57220:111;;;;-1:-1:-1;;;57220:111:0;;13706:2:1;57220:111:0;;;13688:21:1;13745:2;13725:18;;;13718:30;13784:34;13764:18;;;13757:62;-1:-1:-1;;;13835:18:1;;;13828:42;13887:19;;57220:111:0;13504:408:1;57220:111:0;57375:7;57384:19;:8;:17;:19::i;:::-;57405:10;57358:58;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57344:73;;57120:305;;;:::o;56906:206::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;57032:9:::1;;57024:4;57008:13;25493:12:::0;;25509:1;25477:13;:28;-1:-1:-1;;25476:34:0;;25256:277;57008:13:::1;:20;;;;:::i;:::-;:33;;57000:65;;;::::0;-1:-1:-1;;;57000:65:0;;8484:2:1;57000:65:0::1;::::0;::::1;8466:21:1::0;8523:2;8503:18;;;8496:30;-1:-1:-1;;;8542:18:1;;;8535:49;8601:18;;57000:65:0::1;8282:343:1::0;57000:65:0::1;57080:24;57090:7;57099:4;57080:9;:24::i;55937:166::-:0;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23:::1;13932:68;;;;-1:-1:-1::0;;;13932:68:0::1;;;;;;;:::i;:::-;56073:15:::2;:22:::0;;-1:-1:-1;;56073:22:0::2;;;::::0;;55937:166::o;31094:164::-;-1:-1:-1;;;;;31215:25:0;;;31191:4;31215:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31094:164::o;14620:192::-;13766:7;13793:6;-1:-1:-1;;;;;13793:6:0;940:10;13940:23;13932:68;;;;-1:-1:-1;;;13932:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14709:22:0;::::1;14701:73;;;::::0;-1:-1:-1;;;14701:73:0;;15320:2:1;14701:73:0::1;::::0;::::1;15302:21:1::0;15359:2;15339:18;;;15332:30;15398:34;15378:18;;;15371:62;-1:-1:-1;;;15449:18:1;;;15442:36;15495:19;;14701:73:0::1;15118:402:1::0;14701:73:0::1;14785:19;14795:8;14785:9;:19::i;32419:144::-:0;32476:4;32510:13;;32500:7;:23;:55;;;;-1:-1:-1;;32528:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;32528:27:0;;;;32527:28;;32419:144::o;39625:196::-;39740:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39740:29:0;-1:-1:-1;;;;;39740:29:0;;;;;;;;;39785:28;;39740:24;;39785:28;;;;;;;39625:196;;;:::o;35126:2112::-;35241:35;35279:20;35291:7;35279:11;:20::i;:::-;35354:18;;35241:58;;-1:-1:-1;35312:22:0;;-1:-1:-1;;;;;35338:34:0;940:10;-1:-1:-1;;;;;35338:34:0;;:101;;;-1:-1:-1;35406:18:0;;35389:50;;940:10;31094:164;:::i;35389:50::-;35338:154;;;-1:-1:-1;940:10:0;35456:20;35468:7;35456:11;:20::i;:::-;-1:-1:-1;;;;;35456:36:0;;35338:154;35312:181;;35511:17;35506:66;;35537:35;;-1:-1:-1;;;35537:35:0;;;;;;;;;;;35506:66;35609:4;-1:-1:-1;;;;;35587:26:0;:13;:18;;;-1:-1:-1;;;;;35587:26:0;;35583:67;;35622:28;;-1:-1:-1;;;35622:28:0;;;;;;;;;;;35583:67;-1:-1:-1;;;;;35665:16:0;;35661:52;;35690:23;;-1:-1:-1;;;35690:23:0;;;;;;;;;;;35661:52;35834:49;35851:1;35855:7;35864:13;:18;;;35834:8;:49::i;:::-;-1:-1:-1;;;;;36179:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;36179:31:0;;;-1:-1:-1;;;;;36179:31:0;;;-1:-1:-1;;36179:31:0;;;;;;;36225:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;36225:29:0;;;;;;;;;;;36271:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;36316:61:0;;;;-1:-1:-1;;;36361:15:0;36316:61;;;;;;;;;;;36651:11;;;36681:24;;;;;:29;36651:11;;36681:29;36677:445;;36906:13;;36892:11;:27;36888:219;;;36976:18;;;36944:24;;;:11;:24;;;;;;;;:50;;37059:28;;;;-1:-1:-1;;;;;37017:70:0;-1:-1:-1;;;37017:70:0;-1:-1:-1;;;;;;37017:70:0;;;-1:-1:-1;;;;;36944:50:0;;;37017:70;;;;;;;36888:219;36154:979;37169:7;37165:2;-1:-1:-1;;;;;37150:27:0;37159:4;-1:-1:-1;;;;;37150:27:0;;;;;;;;;;;37188:42;35230:2008;;35126:2112;;;:::o;27629:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;27795:13:0;;27739:7;;27788:20;;27784:861;;;27829:31;27863:17;;;:11;:17;;;;;;;;;27829:51;;;;;;;;;-1:-1:-1;;;;;27829:51:0;;;;-1:-1:-1;;;27829:51:0;;-1:-1:-1;;;;;27829:51:0;;;;;;;;-1:-1:-1;;;27829:51:0;;;;;;;;;;;;;;27899:731;;27949:14;;-1:-1:-1;;;;;27949:28:0;;27945:101;;28013:9;27629:1083;-1:-1:-1;;;27629:1083:0:o;27945:101::-;-1:-1:-1;;;28390:6:0;28435:17;;;;:11;:17;;;;;;;;;28423:29;;;;;;;;;-1:-1:-1;;;;;28423:29:0;;;;;-1:-1:-1;;;28423:29:0;;-1:-1:-1;;;;;28423:29:0;;;;;;;;-1:-1:-1;;;28423:29:0;;;;;;;;;;;;;28483:28;28479:109;;28551:9;27629:1083;-1:-1:-1;;;27629:1083:0:o;28479:109::-;28350:261;;;27810:835;27784:861;28673:31;;-1:-1:-1;;;28673:31:0;;;;;;;;;;;14820:173;14876:16;14895:6;;-1:-1:-1;;;;;14912:17:0;;;-1:-1:-1;;;;;;14912:17:0;;;;;;14945:40;;14895:6;;;;;;;14945:40;;14876:16;14945:40;14865:128;14820:173;:::o;32571:104::-;32640:27;32650:2;32654:8;32640:27;;;;;;;;;;;;:9;:27::i;26262:207::-;26323:7;-1:-1:-1;;;;;26347:19:0;;26343:59;;26375:27;;-1:-1:-1;;;26375:27:0;;;;;;;;;;;26343:59;-1:-1:-1;;;;;;26428:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;26428:32:0;;-1:-1:-1;;;;;26428:32:0;;26262:207::o;40386:790::-;40541:4;-1:-1:-1;;;;;40562:13:0;;4113:20;4161:8;40558:611;;40598:72;;-1:-1:-1;;;40598:72:0;;-1:-1:-1;;;;;40598:36:0;;;;;:72;;940:10;;40649:4;;40655:7;;40664:5;;40598:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40598:72:0;;;;;;;;-1:-1:-1;;40598:72:0;;;;;;;;;;;;:::i;:::-;;;40594:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40844:6;:13;40861:1;40844:18;40840:259;;40894:40;;-1:-1:-1;;;40894:40:0;;;;;;;;;;;40840:259;41049:6;41043:13;41034:6;41030:2;41026:15;41019:38;40594:520;-1:-1:-1;;;;;;40721:55:0;-1:-1:-1;;;40721:55:0;;-1:-1:-1;40714:62:0;;40558:611;-1:-1:-1;41153:4:0;40558:611;40386:790;;;;;;:::o;1325:723::-;1381:13;1602:5;1611:1;1602:10;1598:53;;-1:-1:-1;;1629:10:0;;;;;;;;;;;;-1:-1:-1;;;1629:10:0;;;;;1325:723::o;1598:53::-;1676:5;1661:12;1717:78;1724:9;;1717:78;;1750:8;;;;:::i;:::-;;-1:-1:-1;1773:10:0;;-1:-1:-1;1781:2:0;1773:10;;:::i;:::-;;;1717:78;;;1805:19;1837:6;-1:-1:-1;;;;;1827:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1827:17:0;;1805:39;;1855:154;1862:10;;1855:154;;1889:11;1899:1;1889:11;;:::i;:::-;;-1:-1:-1;1958:10:0;1966:2;1958:5;:10;:::i;:::-;1945:24;;:2;:24;:::i;:::-;1932:39;;1915:6;1922;1915:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1915:56:0;;;;;;;;-1:-1:-1;1986:11:0;1995:2;1986:11;;:::i;:::-;;;1855:154;;33038:163;33161:32;33167:2;33171:8;33181:5;33188:4;33622:13;;-1:-1:-1;;;;;33650:16:0;;33646:48;;33675:19;;-1:-1:-1;;;33675:19:0;;;;;;;;;;;33646:48;33709:8;33721:1;33709:13;33705:44;;33731:18;;-1:-1:-1;;;33731:18:0;;;;;;;;;;;33705:44;-1:-1:-1;;;;;34100:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;34159:49:0;;-1:-1:-1;;;;;34100:44:0;;;;;;;34159:49;;;-1:-1:-1;;;;;34100:44:0;;;;;;34159:49;;;;;;;;;;;;;;;;34225:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;34275:66:0;;;;-1:-1:-1;;;34325:15:0;34275:66;;;;;;;;;;;34225:25;;34410:328;34430:8;34426:1;:12;34410:328;;;34469:38;;34494:12;;-1:-1:-1;;;;;34469:38:0;;;34486:1;;34469:38;;34486:1;;34469:38;34530:4;:68;;;;;34539:59;34570:1;34574:2;34578:12;34592:5;34539:22;:59::i;:::-;34538:60;34530:68;34526:164;;;34630:40;;-1:-1:-1;;;34630:40:0;;;;;;;;;;;34526:164;34708:14;;;;;34440:3;34410:328;;;-1:-1:-1;34754:13:0;:28;34804:60;31822:342;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741: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;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:275;3087:2;3081:9;3152:2;3133:13;;-1:-1:-1;;3129:27:1;3117:40;;-1:-1:-1;;;;;3172:34:1;;3208:22;;;3169:62;3166:88;;;3234:18;;:::i;:::-;3270:2;3263:22;3016:275;;-1:-1:-1;3016:275:1:o;3296:952::-;3380:6;3411:2;3454;3442:9;3433:7;3429:23;3425:32;3422:52;;;3470:1;3467;3460:12;3422:52;3510:9;3497:23;-1:-1:-1;;;;;3580:2:1;3572:6;3569:14;3566:34;;;3596:1;3593;3586:12;3566:34;3634:6;3623:9;3619:22;3609:32;;3679:7;3672:4;3668:2;3664:13;3660:27;3650:55;;3701:1;3698;3691:12;3650:55;3737:2;3724:16;3759:2;3755;3752:10;3749:36;;;3765:18;;:::i;:::-;3811:2;3808:1;3804:10;3794:20;;3834:28;3858:2;3854;3850:11;3834:28;:::i;:::-;3896:15;;;3966:11;;;3962:20;;;3927:12;;;;3994:19;;;3991:39;;;4026:1;4023;4016:12;3991:39;4050:11;;;;4070:148;4086:6;4081:3;4078:15;4070:148;;;4152:23;4171:3;4152:23;:::i;:::-;4140:36;;4103:12;;;;4196;;;;4070:148;;;4237:5;3296:952;-1:-1:-1;;;;;;;;3296:952:1:o;4253:407::-;4318:5;-1:-1:-1;;;;;4344:6:1;4341:30;4338:56;;;4374:18;;:::i;:::-;4412:57;4457:2;4436:15;;-1:-1:-1;;4432:29:1;4463:4;4428:40;4412:57;:::i;:::-;4403:66;;4492:6;4485:5;4478:21;4532:3;4523:6;4518:3;4514:16;4511:25;4508:45;;;4549:1;4546;4539:12;4508:45;4598:6;4593:3;4586:4;4579:5;4575:16;4562:43;4652:1;4645:4;4636:6;4629:5;4625:18;4621:29;4614:40;4253:407;;;;;:::o;4665:451::-;4734:6;4787:2;4775:9;4766:7;4762:23;4758:32;4755:52;;;4803:1;4800;4793:12;4755:52;4843:9;4830:23;-1:-1:-1;;;;;4868:6:1;4865:30;4862:50;;;4908:1;4905;4898:12;4862:50;4931:22;;4984:4;4976:13;;4972:27;-1:-1:-1;4962:55:1;;5013:1;5010;5003:12;4962:55;5036:74;5102:7;5097:2;5084:16;5079:2;5075;5071:11;5036:74;:::i;5565:347::-;5630:6;5638;5691:2;5679:9;5670:7;5666:23;5662:32;5659:52;;;5707:1;5704;5697:12;5659:52;5730:29;5749:9;5730:29;:::i;:::-;5720:39;;5809:2;5798:9;5794:18;5781:32;5856:5;5849:13;5842:21;5835:5;5832:32;5822:60;;5878:1;5875;5868:12;5822:60;5901:5;5891:15;;;5565:347;;;;;:::o;5917:667::-;6012:6;6020;6028;6036;6089:3;6077:9;6068:7;6064:23;6060:33;6057:53;;;6106:1;6103;6096:12;6057:53;6129:29;6148:9;6129:29;:::i;:::-;6119:39;;6177:38;6211:2;6200:9;6196:18;6177:38;:::i;:::-;6167:48;;6262:2;6251:9;6247:18;6234:32;6224:42;;6317:2;6306:9;6302:18;6289:32;-1:-1:-1;;;;;6336:6:1;6333:30;6330:50;;;6376:1;6373;6366:12;6330:50;6399:22;;6452:4;6444:13;;6440:27;-1:-1:-1;6430:55:1;;6481:1;6478;6471:12;6430:55;6504:74;6570:7;6565:2;6552:16;6547:2;6543;6539:11;6504:74;:::i;:::-;6494:84;;;5917:667;;;;;;;:::o;6589:260::-;6657:6;6665;6718:2;6706:9;6697:7;6693:23;6689:32;6686:52;;;6734:1;6731;6724:12;6686:52;6757:29;6776:9;6757:29;:::i;:::-;6747:39;;6805:38;6839:2;6828:9;6824:18;6805:38;:::i;:::-;6795:48;;6589:260;;;;;:::o;6854:380::-;6933:1;6929:12;;;;6976;;;6997:61;;7051:4;7043:6;7039:17;7029:27;;6997:61;7104:2;7096:6;7093:14;7073:18;7070:38;7067:161;;7150:10;7145:3;7141:20;7138:1;7131:31;7185:4;7182:1;7175:15;7213:4;7210:1;7203:15;7067:161;;6854:380;;;:::o;7239:356::-;7441:2;7423:21;;;7460:18;;;7453:30;7519:34;7514:2;7499:18;;7492:62;7586:2;7571:18;;7239:356::o;8020:127::-;8081:10;8076:3;8072:20;8069:1;8062:31;8112:4;8109:1;8102:15;8136:4;8133:1;8126:15;8152:125;8217:9;;;8238:10;;;8235:36;;;8251:18;;:::i;8630:127::-;8691:10;8686:3;8682:20;8679:1;8672:31;8722:4;8719:1;8712:15;8746:4;8743:1;8736:15;8762:135;8801:3;8822:17;;;8819:43;;8842:18;;:::i;:::-;-1:-1:-1;8889:1:1;8878:13;;8762:135::o;9028:545::-;9130:2;9125:3;9122:11;9119:448;;;9166:1;9191:5;9187:2;9180:17;9236:4;9232:2;9222:19;9306:2;9294:10;9290:19;9287:1;9283:27;9277:4;9273:38;9342:4;9330:10;9327:20;9324:47;;;-1:-1:-1;9365:4:1;9324:47;9420:2;9415:3;9411:12;9408:1;9404:20;9398:4;9394:31;9384:41;;9475:82;9493:2;9486:5;9483:13;9475:82;;;9538:17;;;9519:1;9508:13;9475:82;;;9479:3;;;9028:545;;;:::o;9749:1352::-;9875:3;9869:10;-1:-1:-1;;;;;9894:6:1;9891:30;9888:56;;;9924:18;;:::i;:::-;9953:97;10043:6;10003:38;10035:4;10029:11;10003:38;:::i;:::-;9997:4;9953:97;:::i;:::-;10105:4;;10169:2;10158:14;;10186:1;10181:663;;;;10888:1;10905:6;10902:89;;;-1:-1:-1;10957:19:1;;;10951:26;10902:89;-1:-1:-1;;9706:1:1;9702:11;;;9698:24;9694:29;9684:40;9730:1;9726:11;;;9681:57;11004:81;;10151:944;;10181:663;8975:1;8968:14;;;9012:4;8999:18;;-1:-1:-1;;10217:20:1;;;10335:236;10349:7;10346:1;10343:14;10335:236;;;10438:19;;;10432:26;10417:42;;10530:27;;;;10498:1;10486:14;;;;10365:19;;10335:236;;;10339:3;10599:6;10590:7;10587:19;10584:201;;;10660:19;;;10654:26;-1:-1:-1;;10743:1:1;10739:14;;;10755:3;10735:24;10731:37;10727:42;10712:58;10697:74;;10584:201;-1:-1:-1;;;;;10831:1:1;10815:14;;;10811:22;10798:36;;-1:-1:-1;9749:1352:1:o;11857:168::-;11930:9;;;11961;;11978:15;;;11972:22;;11958:37;11948:71;;11999:18;;:::i;13917:722::-;13967:3;14008:5;14002:12;14037:36;14063:9;14037:36;:::i;:::-;14092:1;14109:18;;;14136:133;;;;14283:1;14278:355;;;;14102:531;;14136:133;-1:-1:-1;;14169:24:1;;14157:37;;14242:14;;14235:22;14223:35;;14214:45;;;-1:-1:-1;14136:133:1;;14278:355;14309:5;14306:1;14299:16;14338:4;14383:2;14380:1;14370:16;14408:1;14422:165;14436:6;14433:1;14430:13;14422:165;;;14514:14;;14501:11;;;14494:35;14557:16;;;;14451:10;;14422:165;;;14426:3;;;14616:6;14611:3;14607:16;14600:23;;14102:531;;;;;13917:722;;;;:::o;14644:469::-;14865:3;14893:38;14927:3;14919:6;14893:38;:::i;:::-;14960:6;14954:13;14976:65;15034:6;15030:2;15023:4;15015:6;15011:17;14976:65;:::i;:::-;15057:50;15099:6;15095:2;15091:15;15083:6;15057:50;:::i;:::-;15050:57;14644:469;-1:-1:-1;;;;;;;14644:469:1:o;15525:489::-;-1:-1:-1;;;;;15794:15:1;;;15776:34;;15846:15;;15841:2;15826:18;;15819:43;15893:2;15878:18;;15871:34;;;15941:3;15936:2;15921:18;;15914:31;;;15719:4;;15962:46;;15988:19;;15980:6;15962:46;:::i;:::-;15954:54;15525:489;-1:-1:-1;;;;;;15525:489:1:o;16019:249::-;16088:6;16141:2;16129:9;16120:7;16116:23;16112:32;16109:52;;;16157:1;16154;16147:12;16109:52;16189:9;16183:16;16208:30;16232:5;16208:30;:::i;16273:127::-;16334:10;16329:3;16325:20;16322:1;16315:31;16365:4;16362:1;16355:15;16389:4;16386:1;16379:15;16405:120;16445:1;16471;16461:35;;16476:18;;:::i;:::-;-1:-1:-1;16510:9:1;;16405:120::o;16530:128::-;16597:9;;;16618:11;;;16615:37;;;16632:18;;:::i;16663:112::-;16695:1;16721;16711:35;;16726:18;;:::i;:::-;-1:-1:-1;16760:9:1;;16663:112::o

Swarm Source

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