ETH Price: $3,265.06 (+2.26%)
Gas: 1 Gwei

Token

Dirty Bears (BEARS)
 

Overview

Max Total Supply

1,000 BEARS

Holders

434

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BEARS
0x0261af6365e07b1a4b072e92618b940e94425a4f
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:
DirtyBears

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-23
*/

/**
 *Submitted for verification at Etherscan.io on 2022-09-23
*/

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

// SPDX-License-Identifier: MIT and GPL-3.0

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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


// File @openzeppelin/contracts/token/ERC721/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
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);
}


// File @openzeppelin/contracts/utils/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File @openzeppelin/contracts/utils/introspection/[email protected]
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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


// File contracts/ERC721A.sol
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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 _startTokenId() (defaults to 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;

    // 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_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 1;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @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 (_startTokenId() <= curr && 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(), ".json")) : '';
    }

    /**
     * @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 (to.isContract() && !_checkContractOnERC721Received(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 _startTokenId() <= tokenId && 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;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _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 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        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))
                }
            }
        }
    }

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


// File contracts/mocks/StartTokenIdHelper.sol
// Creators: Chiru Labs

pragma solidity ^0.8.4;

/**
 * This Helper is used to return a dynmamic value in the overriden _startTokenId() function.
 * Extending this Helper before the ERC721A contract give us access to the herein set `startTokenId`
 * to be returned by the overriden `_startTokenId()` function of ERC721A in the ERC721AStartTokenId mocks.
 */
contract StartTokenIdHelper {
    uint256 public immutable startTokenId;

    constructor(uint256 startTokenId_) {
        startTokenId = startTokenId_;
    }
}


// File @openzeppelin/contracts/access/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

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

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

/**
DIRTY BEARS SMART CONTRACT BY @WUMBY
**/

pragma solidity >=0.8.0 <0.9.0;


contract DirtyBears is ERC721A, Ownable {
    using Strings for uint256;

    uint256 constant MAX_SUPPLY = 1000;
    uint256 constant publicMintPrice = 0 ether;
    uint256 public MAX_PER_ADDRESS = 2;

    mapping(address => bool) public whitelist;

    enum Status {
        NOT_LIVE,
        ALLOWLIST,
        PUBLIC,
        ENDED,
        REVEALED
    }

    /// Minting Variables
    string public _preRevealURI = "ipfs://QmaodFgs1GFaMK5VzjpDuv6kz9tZGdTDvVuW8ziscgJk5e/";
    string public baseURI;
    Status public state;

    constructor() ERC721A("Dirty Bears", "BEARS") {
    }

    function setAllowList(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = true;
        }
    }

    function resetAllowList(address[] calldata addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            whitelist[addresses[i]] = false;
        }
    }
    
    function addWhitelist(address _newEntry) external onlyOwner {
        require(!whitelist[_newEntry], "Already in whitelist");
        whitelist[_newEntry] = true;
    }
  
    function removeWhitelist(address _newEntry) external onlyOwner {
        require(whitelist[_newEntry], "Previous not in whitelist");
        whitelist[_newEntry] = false;
    }

    function isAllowlist(address _address) external view returns (bool _allowlisted) {
        return whitelist[_address];
    }

    function getPrice() external pure returns (uint256 _price) {
        return publicMintPrice;
    }

    function maxSupply() external pure returns (uint256 _supply) {
        return MAX_SUPPLY;
    }

    function setMaxMint(uint256 mintAmount) external onlyOwner {
        MAX_PER_ADDRESS = mintAmount;
    }

    function publicMint(uint256 _quantity) external payable {
        require(state == Status.PUBLIC || state == Status.ALLOWLIST, "Dirty Bears: Mint Not Active");
        if(state == Status.ALLOWLIST){
            require(whitelist[msg.sender], "Not in whitelist");
        }
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Dirty Bears: Mint Supply Exceeded");
        require(_numberMinted(msg.sender) + _quantity <= MAX_PER_ADDRESS, "Dirty Bears: Exceeds Max Per Wallet");
        _safeMint(msg.sender, _quantity);
    }

    function airdrop(address _address, uint256 _quantity) external onlyOwner {
        require(state == Status.ENDED, "Dirty Bears: Must Not Be Live");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Dirty Bears: Mint Supply Exceeded");

        _safeMint(_address, _quantity);
    }

    function setState(Status _state) external onlyOwner {
        state = _state;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (state != Status.REVEALED) {
            return _preRevealURI;
        }

        return super.tokenURI(tokenId);
    }
    
    function setURI(string calldata _newURI) external onlyOwner {
        baseURI = _newURI;
    }

    function setPrerevealURI(string calldata _newURI) external onlyOwner {
        _preRevealURI = _newURI;
    }

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

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

}

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"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newEntry","type":"address"}],"name":"addWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAllowlist","outputs":[{"internalType":"bool","name":"_allowlisted","type":"bool"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_newEntry","type":"address"}],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"resetAllowList","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":"addresses","type":"address[]"}],"name":"setAllowList","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":"mintAmount","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setPrerevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum DirtyBears.Status","name":"_state","type":"uint8"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"enum DirtyBears.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600260095560e060405260366080818152906200231b60a03980516200002e91600b916020909101906200010e565b503480156200003c57600080fd5b50604080518082018252600b81526a446972747920426561727360a81b602080830191825283518085019094526005845264424541525360d81b9084015281519192916200008d916002916200010e565b508051620000a39060039060208401906200010e565b5050600160005550620000b633620000bc565b620001f1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011c90620001b4565b90600052602060002090601f0160209004810192826200014057600085556200018b565b82601f106200015b57805160ff19168380011785556200018b565b828001600101855582156200018b579182015b828111156200018b5782518255916020019190600101906200016e565b50620001999291506200019d565b5090565b5b808211156200019957600081556001016200019e565b600181811c90821680620001c957607f821691505b60208210811415620001eb57634e487b7160e01b600052602260045260246000fd5b50919050565b61211a80620002016000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610604578063d5abeb0114610624578063e985e9c514610639578063f2fde38b14610682578063f80f5dd5146106a257600080fd5b8063a22cb46514610588578063ac446002146105a8578063b88d4fde146105bd578063c19d93fb146105dd57600080fd5b80638ba4cc3c116100e75780638ba4cc3c146104f15780638da5cb5b1461051157806395d89b411461052f57806398d5fdca146105445780639b19251a1461055857600080fd5b806370a082311461047c578063715018a61461049c57806378c8cda7146104b15780637f41bf43146104d157600080fd5b806323b872dd1161019b57806356de96db1161016a57806356de96db146103ce5780636352211e146103ee5780636447c35d1461040e5780636c0360eb1461042e5780636c350ba61461044357600080fd5b806323b872dd1461035b5780632db115441461037b57806342842e0e1461038e578063547520fe146103ae57600080fd5b8063078eef28116101e2578063078eef28146102a2578063081812fc146102c2578063095ea7b3146102fa5780630aaef2851461031a57806318160ddd1461033e57600080fd5b806301ffc9a7146102145780630293741b1461024957806302fe53051461026b57806306fdde031461028d575b600080fd5b34801561022057600080fd5b5061023461022f366004611d8f565b6106c2565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e610714565b6040516102409190611f33565b34801561027757600080fd5b5061028b610286366004611dea565b6107a2565b005b34801561029957600080fd5b5061025e6107bb565b3480156102ae57600080fd5b5061028b6102bd366004611dea565b61084d565b3480156102ce57600080fd5b506102e26102dd366004611e4a565b610861565b6040516001600160a01b039091168152602001610240565b34801561030657600080fd5b5061028b610315366004611cf0565b6108a5565b34801561032657600080fd5b5061033060095481565b604051908152602001610240565b34801561034a57600080fd5b506001546000540360001901610330565b34801561036757600080fd5b5061028b610376366004611b9c565b61092e565b61028b610389366004611e4a565b610939565b34801561039a57600080fd5b5061028b6103a9366004611b9c565b610aed565b3480156103ba57600080fd5b5061028b6103c9366004611e4a565b610b08565b3480156103da57600080fd5b5061028b6103e9366004611dc9565b610b15565b3480156103fa57600080fd5b506102e2610409366004611e4a565b610b44565b34801561041a57600080fd5b5061028b610429366004611d1a565b610b56565b34801561043a57600080fd5b5061025e610bd0565b34801561044f57600080fd5b5061023461045e366004611b4e565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561048857600080fd5b50610330610497366004611b4e565b610bdd565b3480156104a857600080fd5b5061028b610c2c565b3480156104bd57600080fd5b5061028b6104cc366004611b4e565b610c40565b3480156104dd57600080fd5b5061028b6104ec366004611d1a565b610cd1565b3480156104fd57600080fd5b5061028b61050c366004611cf0565b610d4b565b34801561051d57600080fd5b506008546001600160a01b03166102e2565b34801561053b57600080fd5b5061025e610e00565b34801561055057600080fd5b506000610330565b34801561056457600080fd5b50610234610573366004611b4e565b600a6020526000908152604090205460ff1681565b34801561059457600080fd5b5061028b6105a3366004611cb4565b610e0f565b3480156105b457600080fd5b5061028b610ea5565b3480156105c957600080fd5b5061028b6105d8366004611bd8565b610f38565b3480156105e957600080fd5b50600d546105f79060ff1681565b6040516102409190611f0b565b34801561061057600080fd5b5061025e61061f366004611e4a565b610f89565b34801561063057600080fd5b506103e8610330565b34801561064557600080fd5b50610234610654366004611b69565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068e57600080fd5b5061028b61069d366004611b4e565b611044565b3480156106ae57600080fd5b5061028b6106bd366004611b4e565b6110ba565b60006001600160e01b031982166380ac58cd60e01b14806106f357506001600160e01b03198216635b5e139f60e01b145b8061070e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600b805461072190611ff6565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90611ff6565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b505050505081565b6107aa611146565b6107b6600c8383611a99565b505050565b6060600280546107ca90611ff6565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690611ff6565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b610855611146565b6107b6600b8383611a99565b600061086c826111a0565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108b082610b44565b9050806001600160a01b0316836001600160a01b031614156108e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061090557506109038133610654565b155b15610923576040516367d9dca160e11b815260040160405180910390fd5b6107b68383836111d9565b6107b6838383611235565b6002600d5460ff1660048111156109525761095261208c565b148061097457506001600d5460ff1660048111156109725761097261208c565b145b6109c55760405162461bcd60e51b815260206004820152601c60248201527f44697274792042656172733a204d696e74204e6f74204163746976650000000060448201526064015b60405180910390fd5b6001600d5460ff1660048111156109de576109de61208c565b1415610a3657336000908152600a602052604090205460ff16610a365760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b60448201526064016109bc565b6001546000546103e89183910360001901610a519190611f87565b1115610a6f5760405162461bcd60e51b81526004016109bc90611f46565b60095481610a7c3361144b565b610a869190611f87565b1115610ae05760405162461bcd60e51b815260206004820152602360248201527f44697274792042656172733a2045786365656473204d6178205065722057616c6044820152621b195d60ea1b60648201526084016109bc565b610aea33826114a1565b50565b6107b683838360405180602001604052806000815250610f38565b610b10611146565b600955565b610b1d611146565b600d805482919060ff19166001836004811115610b3c57610b3c61208c565b021790555050565b6000610b4f826114bb565b5192915050565b610b5e611146565b60005b818110156107b6576001600a6000858585818110610b8157610b816120a2565b9050602002016020810190610b969190611b4e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bc881612031565b915050610b61565b600c805461072190611ff6565b60006001600160a01b038216610c06576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c34611146565b610c3e60006115e4565b565b610c48611146565b6001600160a01b0381166000908152600a602052604090205460ff16610cb05760405162461bcd60e51b815260206004820152601960248201527f50726576696f7573206e6f7420696e2077686974656c6973740000000000000060448201526064016109bc565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610cd9611146565b60005b818110156107b6576000600a6000858585818110610cfc57610cfc6120a2565b9050602002016020810190610d119190611b4e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d4381612031565b915050610cdc565b610d53611146565b6003600d5460ff166004811115610d6c57610d6c61208c565b14610db95760405162461bcd60e51b815260206004820152601d60248201527f44697274792042656172733a204d757374204e6f74204265204c69766500000060448201526064016109bc565b6001546000546103e89183910360001901610dd49190611f87565b1115610df25760405162461bcd60e51b81526004016109bc90611f46565b610dfc82826114a1565b5050565b6060600380546107ca90611ff6565b6001600160a01b038216331415610e395760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ead611146565b604051600090339047908381818185875af1925050503d8060008114610eef576040519150601f19603f3d011682016040523d82523d6000602084013e610ef4565b606091505b5050905080610aea5760405162461bcd60e51b815260206004820152601060248201526f2bb4ba34323930bb903330b4b632b21760811b60448201526064016109bc565b610f43848484611235565b6001600160a01b0383163b15158015610f655750610f6384848484611636565b155b15610f83576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606004600d5460ff166004811115610fa457610fa461208c565b1461103b57600b8054610fb690611ff6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe290611ff6565b801561102f5780601f106110045761010080835404028352916020019161102f565b820191906000526020600020905b81548152906001019060200180831161101257829003601f168201915b50505050509050919050565b61070e8261172e565b61104c611146565b6001600160a01b0381166110b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109bc565b610aea816115e4565b6110c2611146565b6001600160a01b0381166000908152600a602052604090205460ff16156111225760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481a5b881dda1a5d195b1a5cdd60621b60448201526064016109bc565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6008546001600160a01b03163314610c3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bc565b6000816001111580156111b4575060005482105b801561070e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611240826114bb565b80519091506000906001600160a01b0316336001600160a01b0316148061126e5750815161126e9033610654565b8061128957503361127e84610861565b6001600160a01b0316145b9050806112a957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112de5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661130557604051633a954ecd60e21b815260040160405180910390fd5b61131560008484600001516111d9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661140157600054811015611401578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006001600160a01b038216611474576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b610dfc8282604051806020016040528060008152506117b3565b604080516060810182526000808252602082018190529181019190915281806001111580156114eb575060005481105b156115cb57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115c95780516001600160a01b03161561155f579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156115c4579392505050565b61155f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061166b903390899088908890600401611ece565b602060405180830381600087803b15801561168557600080fd5b505af19250505080156116b5575060408051601f3d908101601f191682019092526116b291810190611dac565b60015b611710573d8080156116e3576040519150601f19603f3d011682016040523d82523d6000602084013e6116e8565b606091505b508051611708576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060611739826111a0565b61175657604051630a14c4b560e41b815260040160405180910390fd5b60006117606117c0565b905080516000141561178157604051806020016040528060008152506117ac565b8061178b846117cf565b60405160200161179c929190611e8f565b6040516020818303038152906040525b9392505050565b6107b683838360016118cd565b6060600c80546107ca90611ff6565b6060816117f35750506040805180820190915260018152600360fc1b602082015290565b8160005b811561181d578061180781612031565b91506118169050600a83611f9f565b91506117f7565b60008167ffffffffffffffff811115611838576118386120b8565b6040519080825280601f01601f191660200182016040528015611862576020820181803683370190505b5090505b841561172657611877600183611fb3565b9150611884600a8661204c565b61188f906030611f87565b60f81b8183815181106118a4576118a46120a2565b60200101906001600160f81b031916908160001a9053506118c6600a86611f9f565b9450611866565b6000546001600160a01b0385166118f657604051622e076360e81b815260040160405180910390fd5b836119145760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156119c157506001600160a01b0387163b15155b15611a4a575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a126000888480600101955088611636565b611a2f576040516368d2bf6b60e11b815260040160405180910390fd5b808214156119c7578260005414611a4557600080fd5b611a90565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611a4b575b50600055611444565b828054611aa590611ff6565b90600052602060002090601f016020900481019282611ac75760008555611b0d565b82601f10611ae05782800160ff19823516178555611b0d565b82800160010185558215611b0d579182015b82811115611b0d578235825591602001919060010190611af2565b50611b19929150611b1d565b5090565b5b80821115611b195760008155600101611b1e565b80356001600160a01b0381168114611b4957600080fd5b919050565b600060208284031215611b6057600080fd5b6117ac82611b32565b60008060408385031215611b7c57600080fd5b611b8583611b32565b9150611b9360208401611b32565b90509250929050565b600080600060608486031215611bb157600080fd5b611bba84611b32565b9250611bc860208501611b32565b9150604084013590509250925092565b60008060008060808587031215611bee57600080fd5b611bf785611b32565b9350611c0560208601611b32565b925060408501359150606085013567ffffffffffffffff80821115611c2957600080fd5b818701915087601f830112611c3d57600080fd5b813581811115611c4f57611c4f6120b8565b604051601f8201601f19908116603f01168101908382118183101715611c7757611c776120b8565b816040528281528a6020848701011115611c9057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611cc757600080fd5b611cd083611b32565b915060208301358015158114611ce557600080fd5b809150509250929050565b60008060408385031215611d0357600080fd5b611d0c83611b32565b946020939093013593505050565b60008060208385031215611d2d57600080fd5b823567ffffffffffffffff80821115611d4557600080fd5b818501915085601f830112611d5957600080fd5b813581811115611d6857600080fd5b8660208260051b8501011115611d7d57600080fd5b60209290920196919550909350505050565b600060208284031215611da157600080fd5b81356117ac816120ce565b600060208284031215611dbe57600080fd5b81516117ac816120ce565b600060208284031215611ddb57600080fd5b8135600581106117ac57600080fd5b60008060208385031215611dfd57600080fd5b823567ffffffffffffffff80821115611e1557600080fd5b818501915085601f830112611e2957600080fd5b813581811115611e3857600080fd5b866020828501011115611d7d57600080fd5b600060208284031215611e5c57600080fd5b5035919050565b60008151808452611e7b816020860160208601611fca565b601f01601f19169290920160200192915050565b60008351611ea1818460208801611fca565b835190830190611eb5818360208801611fca565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f0190830184611e63565b9695505050505050565b6020810160058310611f2d57634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006117ac6020830184611e63565b60208082526021908201527f44697274792042656172733a204d696e7420537570706c7920457863656564656040820152601960fa1b606082015260800190565b60008219821115611f9a57611f9a612060565b500190565b600082611fae57611fae612076565b500490565b600082821015611fc557611fc5612060565b500390565b60005b83811015611fe5578181015183820152602001611fcd565b83811115610f835750506000910152565b600181811c9082168061200a57607f821691505b6020821081141561202b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561204557612045612060565b5060010190565b60008261205b5761205b612076565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610aea57600080fdfea26469706673582212201eae1475efc193036837c3dc97fa3d5bf0ed8fc2e861b80fa9d46504a944e5b664736f6c63430008070033697066733a2f2f516d616f64466773314746614d4b35567a6a70447576366b7a39745a4764544476567557387a697363674a6b35652f

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806370a0823111610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610604578063d5abeb0114610624578063e985e9c514610639578063f2fde38b14610682578063f80f5dd5146106a257600080fd5b8063a22cb46514610588578063ac446002146105a8578063b88d4fde146105bd578063c19d93fb146105dd57600080fd5b80638ba4cc3c116100e75780638ba4cc3c146104f15780638da5cb5b1461051157806395d89b411461052f57806398d5fdca146105445780639b19251a1461055857600080fd5b806370a082311461047c578063715018a61461049c57806378c8cda7146104b15780637f41bf43146104d157600080fd5b806323b872dd1161019b57806356de96db1161016a57806356de96db146103ce5780636352211e146103ee5780636447c35d1461040e5780636c0360eb1461042e5780636c350ba61461044357600080fd5b806323b872dd1461035b5780632db115441461037b57806342842e0e1461038e578063547520fe146103ae57600080fd5b8063078eef28116101e2578063078eef28146102a2578063081812fc146102c2578063095ea7b3146102fa5780630aaef2851461031a57806318160ddd1461033e57600080fd5b806301ffc9a7146102145780630293741b1461024957806302fe53051461026b57806306fdde031461028d575b600080fd5b34801561022057600080fd5b5061023461022f366004611d8f565b6106c2565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e610714565b6040516102409190611f33565b34801561027757600080fd5b5061028b610286366004611dea565b6107a2565b005b34801561029957600080fd5b5061025e6107bb565b3480156102ae57600080fd5b5061028b6102bd366004611dea565b61084d565b3480156102ce57600080fd5b506102e26102dd366004611e4a565b610861565b6040516001600160a01b039091168152602001610240565b34801561030657600080fd5b5061028b610315366004611cf0565b6108a5565b34801561032657600080fd5b5061033060095481565b604051908152602001610240565b34801561034a57600080fd5b506001546000540360001901610330565b34801561036757600080fd5b5061028b610376366004611b9c565b61092e565b61028b610389366004611e4a565b610939565b34801561039a57600080fd5b5061028b6103a9366004611b9c565b610aed565b3480156103ba57600080fd5b5061028b6103c9366004611e4a565b610b08565b3480156103da57600080fd5b5061028b6103e9366004611dc9565b610b15565b3480156103fa57600080fd5b506102e2610409366004611e4a565b610b44565b34801561041a57600080fd5b5061028b610429366004611d1a565b610b56565b34801561043a57600080fd5b5061025e610bd0565b34801561044f57600080fd5b5061023461045e366004611b4e565b6001600160a01b03166000908152600a602052604090205460ff1690565b34801561048857600080fd5b50610330610497366004611b4e565b610bdd565b3480156104a857600080fd5b5061028b610c2c565b3480156104bd57600080fd5b5061028b6104cc366004611b4e565b610c40565b3480156104dd57600080fd5b5061028b6104ec366004611d1a565b610cd1565b3480156104fd57600080fd5b5061028b61050c366004611cf0565b610d4b565b34801561051d57600080fd5b506008546001600160a01b03166102e2565b34801561053b57600080fd5b5061025e610e00565b34801561055057600080fd5b506000610330565b34801561056457600080fd5b50610234610573366004611b4e565b600a6020526000908152604090205460ff1681565b34801561059457600080fd5b5061028b6105a3366004611cb4565b610e0f565b3480156105b457600080fd5b5061028b610ea5565b3480156105c957600080fd5b5061028b6105d8366004611bd8565b610f38565b3480156105e957600080fd5b50600d546105f79060ff1681565b6040516102409190611f0b565b34801561061057600080fd5b5061025e61061f366004611e4a565b610f89565b34801561063057600080fd5b506103e8610330565b34801561064557600080fd5b50610234610654366004611b69565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068e57600080fd5b5061028b61069d366004611b4e565b611044565b3480156106ae57600080fd5b5061028b6106bd366004611b4e565b6110ba565b60006001600160e01b031982166380ac58cd60e01b14806106f357506001600160e01b03198216635b5e139f60e01b145b8061070e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600b805461072190611ff6565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90611ff6565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b505050505081565b6107aa611146565b6107b6600c8383611a99565b505050565b6060600280546107ca90611ff6565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690611ff6565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b610855611146565b6107b6600b8383611a99565b600061086c826111a0565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108b082610b44565b9050806001600160a01b0316836001600160a01b031614156108e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061090557506109038133610654565b155b15610923576040516367d9dca160e11b815260040160405180910390fd5b6107b68383836111d9565b6107b6838383611235565b6002600d5460ff1660048111156109525761095261208c565b148061097457506001600d5460ff1660048111156109725761097261208c565b145b6109c55760405162461bcd60e51b815260206004820152601c60248201527f44697274792042656172733a204d696e74204e6f74204163746976650000000060448201526064015b60405180910390fd5b6001600d5460ff1660048111156109de576109de61208c565b1415610a3657336000908152600a602052604090205460ff16610a365760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b60448201526064016109bc565b6001546000546103e89183910360001901610a519190611f87565b1115610a6f5760405162461bcd60e51b81526004016109bc90611f46565b60095481610a7c3361144b565b610a869190611f87565b1115610ae05760405162461bcd60e51b815260206004820152602360248201527f44697274792042656172733a2045786365656473204d6178205065722057616c6044820152621b195d60ea1b60648201526084016109bc565b610aea33826114a1565b50565b6107b683838360405180602001604052806000815250610f38565b610b10611146565b600955565b610b1d611146565b600d805482919060ff19166001836004811115610b3c57610b3c61208c565b021790555050565b6000610b4f826114bb565b5192915050565b610b5e611146565b60005b818110156107b6576001600a6000858585818110610b8157610b816120a2565b9050602002016020810190610b969190611b4e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bc881612031565b915050610b61565b600c805461072190611ff6565b60006001600160a01b038216610c06576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c34611146565b610c3e60006115e4565b565b610c48611146565b6001600160a01b0381166000908152600a602052604090205460ff16610cb05760405162461bcd60e51b815260206004820152601960248201527f50726576696f7573206e6f7420696e2077686974656c6973740000000000000060448201526064016109bc565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b610cd9611146565b60005b818110156107b6576000600a6000858585818110610cfc57610cfc6120a2565b9050602002016020810190610d119190611b4e565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d4381612031565b915050610cdc565b610d53611146565b6003600d5460ff166004811115610d6c57610d6c61208c565b14610db95760405162461bcd60e51b815260206004820152601d60248201527f44697274792042656172733a204d757374204e6f74204265204c69766500000060448201526064016109bc565b6001546000546103e89183910360001901610dd49190611f87565b1115610df25760405162461bcd60e51b81526004016109bc90611f46565b610dfc82826114a1565b5050565b6060600380546107ca90611ff6565b6001600160a01b038216331415610e395760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ead611146565b604051600090339047908381818185875af1925050503d8060008114610eef576040519150601f19603f3d011682016040523d82523d6000602084013e610ef4565b606091505b5050905080610aea5760405162461bcd60e51b815260206004820152601060248201526f2bb4ba34323930bb903330b4b632b21760811b60448201526064016109bc565b610f43848484611235565b6001600160a01b0383163b15158015610f655750610f6384848484611636565b155b15610f83576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606004600d5460ff166004811115610fa457610fa461208c565b1461103b57600b8054610fb690611ff6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fe290611ff6565b801561102f5780601f106110045761010080835404028352916020019161102f565b820191906000526020600020905b81548152906001019060200180831161101257829003601f168201915b50505050509050919050565b61070e8261172e565b61104c611146565b6001600160a01b0381166110b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109bc565b610aea816115e4565b6110c2611146565b6001600160a01b0381166000908152600a602052604090205460ff16156111225760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481a5b881dda1a5d195b1a5cdd60621b60448201526064016109bc565b6001600160a01b03166000908152600a60205260409020805460ff19166001179055565b6008546001600160a01b03163314610c3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bc565b6000816001111580156111b4575060005482105b801561070e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611240826114bb565b80519091506000906001600160a01b0316336001600160a01b0316148061126e5750815161126e9033610654565b8061128957503361127e84610861565b6001600160a01b0316145b9050806112a957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112de5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661130557604051633a954ecd60e21b815260040160405180910390fd5b61131560008484600001516111d9565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661140157600054811015611401578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60006001600160a01b038216611474576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b610dfc8282604051806020016040528060008152506117b3565b604080516060810182526000808252602082018190529181019190915281806001111580156114eb575060005481105b156115cb57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906115c95780516001600160a01b03161561155f579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156115c4579392505050565b61155f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061166b903390899088908890600401611ece565b602060405180830381600087803b15801561168557600080fd5b505af19250505080156116b5575060408051601f3d908101601f191682019092526116b291810190611dac565b60015b611710573d8080156116e3576040519150601f19603f3d011682016040523d82523d6000602084013e6116e8565b606091505b508051611708576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060611739826111a0565b61175657604051630a14c4b560e41b815260040160405180910390fd5b60006117606117c0565b905080516000141561178157604051806020016040528060008152506117ac565b8061178b846117cf565b60405160200161179c929190611e8f565b6040516020818303038152906040525b9392505050565b6107b683838360016118cd565b6060600c80546107ca90611ff6565b6060816117f35750506040805180820190915260018152600360fc1b602082015290565b8160005b811561181d578061180781612031565b91506118169050600a83611f9f565b91506117f7565b60008167ffffffffffffffff811115611838576118386120b8565b6040519080825280601f01601f191660200182016040528015611862576020820181803683370190505b5090505b841561172657611877600183611fb3565b9150611884600a8661204c565b61188f906030611f87565b60f81b8183815181106118a4576118a46120a2565b60200101906001600160f81b031916908160001a9053506118c6600a86611f9f565b9450611866565b6000546001600160a01b0385166118f657604051622e076360e81b815260040160405180910390fd5b836119145760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156119c157506001600160a01b0387163b15155b15611a4a575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a126000888480600101955088611636565b611a2f576040516368d2bf6b60e11b815260040160405180910390fd5b808214156119c7578260005414611a4557600080fd5b611a90565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611a4b575b50600055611444565b828054611aa590611ff6565b90600052602060002090601f016020900481019282611ac75760008555611b0d565b82601f10611ae05782800160ff19823516178555611b0d565b82800160010185558215611b0d579182015b82811115611b0d578235825591602001919060010190611af2565b50611b19929150611b1d565b5090565b5b80821115611b195760008155600101611b1e565b80356001600160a01b0381168114611b4957600080fd5b919050565b600060208284031215611b6057600080fd5b6117ac82611b32565b60008060408385031215611b7c57600080fd5b611b8583611b32565b9150611b9360208401611b32565b90509250929050565b600080600060608486031215611bb157600080fd5b611bba84611b32565b9250611bc860208501611b32565b9150604084013590509250925092565b60008060008060808587031215611bee57600080fd5b611bf785611b32565b9350611c0560208601611b32565b925060408501359150606085013567ffffffffffffffff80821115611c2957600080fd5b818701915087601f830112611c3d57600080fd5b813581811115611c4f57611c4f6120b8565b604051601f8201601f19908116603f01168101908382118183101715611c7757611c776120b8565b816040528281528a6020848701011115611c9057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611cc757600080fd5b611cd083611b32565b915060208301358015158114611ce557600080fd5b809150509250929050565b60008060408385031215611d0357600080fd5b611d0c83611b32565b946020939093013593505050565b60008060208385031215611d2d57600080fd5b823567ffffffffffffffff80821115611d4557600080fd5b818501915085601f830112611d5957600080fd5b813581811115611d6857600080fd5b8660208260051b8501011115611d7d57600080fd5b60209290920196919550909350505050565b600060208284031215611da157600080fd5b81356117ac816120ce565b600060208284031215611dbe57600080fd5b81516117ac816120ce565b600060208284031215611ddb57600080fd5b8135600581106117ac57600080fd5b60008060208385031215611dfd57600080fd5b823567ffffffffffffffff80821115611e1557600080fd5b818501915085601f830112611e2957600080fd5b813581811115611e3857600080fd5b866020828501011115611d7d57600080fd5b600060208284031215611e5c57600080fd5b5035919050565b60008151808452611e7b816020860160208601611fca565b601f01601f19169290920160200192915050565b60008351611ea1818460208801611fca565b835190830190611eb5818360208801611fca565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f0190830184611e63565b9695505050505050565b6020810160058310611f2d57634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006117ac6020830184611e63565b60208082526021908201527f44697274792042656172733a204d696e7420537570706c7920457863656564656040820152601960fa1b606082015260800190565b60008219821115611f9a57611f9a612060565b500190565b600082611fae57611fae612076565b500490565b600082821015611fc557611fc5612060565b500390565b60005b83811015611fe5578181015183820152602001611fcd565b83811115610f835750506000910152565b600181811c9082168061200a57607f821691505b6020821081141561202b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561204557612045612060565b5060010190565b60008261205b5761205b612076565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610aea57600080fdfea26469706673582212201eae1475efc193036837c3dc97fa3d5bf0ed8fc2e861b80fa9d46504a944e5b664736f6c63430008070033

Deployed Bytecode Sourcemap

55537:3542:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25957:305;;;;;;;;;;-1:-1:-1;25957:305:0;;;;;:::i;:::-;;:::i;:::-;;;6893:14:1;;6886:22;6868:41;;6856:2;6841:18;25957:305:0;;;;;;;;55946:86;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58565:96::-;;;;;;;;;;-1:-1:-1;58565:96:0;;;;;:::i;:::-;;:::i;:::-;;29344:100;;;;;;;;;;;;;:::i;58669:111::-;;;;;;;;;;-1:-1:-1;58669:111:0;;;;;:::i;:::-;;:::i;30856:204::-;;;;;;;;;;-1:-1:-1;30856:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6191:32:1;;;6173:51;;6161:2;6146:18;30856:204:0;6027:203:1;30419:371:0;;;;;;;;;;-1:-1:-1;30419:371:0;;;;;:::i;:::-;;:::i;55708:34::-;;;;;;;;;;;;;;;;;;;11316:25:1;;;11304:2;11289:18;55708:34:0;11170:177:1;25206:303:0;;;;;;;;;;-1:-1:-1;25013:1:0;25460:12;25250:7;25444:13;:28;-1:-1:-1;;25444:46:0;25206:303;;31713:170;;;;;;;;;;-1:-1:-1;31713:170:0;;;;;:::i;:::-;;:::i;57395:537::-;;;;;;:::i;:::-;;:::i;31954:185::-;;;;;;;;;;-1:-1:-1;31954:185:0;;;;;:::i;:::-;;:::i;57281:106::-;;;;;;;;;;-1:-1:-1;57281:106:0;;;;;:::i;:::-;;:::i;58242:85::-;;;;;;;;;;-1:-1:-1;58242:85:0;;;;;:::i;:::-;;:::i;29153:124::-;;;;;;;;;;-1:-1:-1;29153:124:0;;;;;:::i;:::-;;:::i;56157:193::-;;;;;;;;;;-1:-1:-1;56157:193:0;;;;;:::i;:::-;;:::i;56039:21::-;;;;;;;;;;;;;:::i;56934:126::-;;;;;;;;;;-1:-1:-1;56934:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;57033:19:0;56996:17;57033:19;;;:9;:19;;;;;;;;;56934:126;26326:206;;;;;;;;;;-1:-1:-1;26326:206:0;;;;;:::i;:::-;;:::i;45904:103::-;;;;;;;;;;;;;:::i;56747:179::-;;;;;;;;;;-1:-1:-1;56747:179:0;;;;;:::i;:::-;;:::i;56358:196::-;;;;;;;;;;-1:-1:-1;56358:196:0;;;;;:::i;:::-;;:::i;57940:294::-;;;;;;;;;;-1:-1:-1;57940:294:0;;;;;:::i;:::-;;:::i;45256:87::-;;;;;;;;;;-1:-1:-1;45329:6:0;;-1:-1:-1;;;;;45329:6:0;45256:87;;29513:104;;;;;;;;;;;;;:::i;57068:100::-;;;;;;;;;;-1:-1:-1;57111:14:0;57068:100;;55751:41;;;;;;;;;;-1:-1:-1;55751:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;31132:279;;;;;;;;;;-1:-1:-1;31132:279:0;;;;;:::i;:::-;;:::i;58896:178::-;;;;;;;;;;;;;:::i;32210:369::-;;;;;;;;;;-1:-1:-1;32210:369:0;;;;;:::i;:::-;;:::i;56067:19::-;;;;;;;;;;-1:-1:-1;56067:19:0;;;;;;;;;;;;;;;:::i;58335:218::-;;;;;;;;;;-1:-1:-1;58335:218:0;;;;;:::i;:::-;;:::i;57176:97::-;;;;;;;;;;-1:-1:-1;55648:4:0;57176:97;;31482:164;;;;;;;;;;-1:-1:-1;31482:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31603:25:0;;;31579:4;31603:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31482:164;46162:201;;;;;;;;;;-1:-1:-1;46162:201:0;;;;;:::i;:::-;;:::i;56566:171::-;;;;;;;;;;-1:-1:-1;56566:171:0;;;;;:::i;:::-;;:::i;25957:305::-;26059:4;-1:-1:-1;;;;;;26096:40:0;;-1:-1:-1;;;26096:40:0;;:105;;-1:-1:-1;;;;;;;26153:48:0;;-1:-1:-1;;;26153:48:0;26096:105;:158;;;-1:-1:-1;;;;;;;;;;21437:40:0;;;26218:36;26076:178;25957:305;-1:-1:-1;;25957:305:0:o;55946:86::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58565:96::-;45142:13;:11;:13::i;:::-;58636:17:::1;:7;58646::::0;;58636:17:::1;:::i;:::-;;58565:96:::0;;:::o;29344:100::-;29398:13;29431:5;29424:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29344:100;:::o;58669:111::-;45142:13;:11;:13::i;:::-;58749:23:::1;:13;58765:7:::0;;58749:23:::1;:::i;30856:204::-:0;30924:7;30949:16;30957:7;30949;:16::i;:::-;30944:64;;30974:34;;-1:-1:-1;;;30974:34:0;;;;;;;;;;;30944:64;-1:-1:-1;31028:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31028:24:0;;30856:204::o;30419:371::-;30492:13;30508:24;30524:7;30508:15;:24::i;:::-;30492:40;;30553:5;-1:-1:-1;;;;;30547:11:0;:2;-1:-1:-1;;;;;30547:11:0;;30543:48;;;30567:24;;-1:-1:-1;;;30567:24:0;;;;;;;;;;;30543:48;20329:10;-1:-1:-1;;;;;30608:21:0;;;;;;:63;;-1:-1:-1;30634:37:0;30651:5;20329:10;31482:164;:::i;30634:37::-;30633:38;30608:63;30604:138;;;30695:35;;-1:-1:-1;;;30695:35:0;;;;;;;;;;;30604:138;30754:28;30763:2;30767:7;30776:5;30754:8;:28::i;31713:170::-;31847:28;31857:4;31863:2;31867:7;31847:9;:28::i;57395:537::-;57479:13;57470:5;;;;:22;;;;;;;;:::i;:::-;;:51;;;-1:-1:-1;57505:16:0;57496:5;;;;:25;;;;;;;;:::i;:::-;;57470:51;57462:92;;;;-1:-1:-1;;;57462:92:0;;10613:2:1;57462:92:0;;;10595:21:1;10652:2;10632:18;;;10625:30;10691;10671:18;;;10664:58;10739:18;;57462:92:0;;;;;;;;;57577:16;57568:5;;;;:25;;;;;;;;:::i;:::-;;57565:106;;;57627:10;57617:21;;;;:9;:21;;;;;;;;57609:50;;;;-1:-1:-1;;;57609:50:0;;9145:2:1;57609:50:0;;;9127:21:1;9184:2;9164:18;;;9157:30;-1:-1:-1;;;9203:18:1;;;9196:46;9259:18;;57609:50:0;8943:340:1;57609:50:0;25013:1;25460:12;25250:7;25444:13;55648:4;;57705:9;;25444:28;-1:-1:-1;;25444:46:0;57689:25;;;;:::i;:::-;:39;;57681:85;;;;-1:-1:-1;;;57681:85:0;;;;;;;:::i;:::-;57826:15;;57813:9;57785:25;57799:10;57785:13;:25::i;:::-;:37;;;;:::i;:::-;:56;;57777:104;;;;-1:-1:-1;;;57777:104:0;;10209:2:1;57777:104:0;;;10191:21:1;10248:2;10228:18;;;10221:30;10287:34;10267:18;;;10260:62;-1:-1:-1;;;10338:18:1;;;10331:33;10381:19;;57777:104:0;10007:399:1;57777:104:0;57892:32;57902:10;57914:9;57892;:32::i;:::-;57395:537;:::o;31954:185::-;32092:39;32109:4;32115:2;32119:7;32092:39;;;;;;;;;;;;:16;:39::i;57281:106::-;45142:13;:11;:13::i;:::-;57351:15:::1;:28:::0;57281:106::o;58242:85::-;45142:13;:11;:13::i;:::-;58305:5:::1;:14:::0;;58313:6;;58305:5;-1:-1:-1;;58305:14:0::1;::::0;58313:6;58305:14:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;58242:85:::0;:::o;29153:124::-;29217:7;29244:20;29256:7;29244:11;:20::i;:::-;:25;;29153:124;-1:-1:-1;;29153:124:0:o;56157:193::-;45142:13;:11;:13::i;:::-;56244:9:::1;56239:104;56259:20:::0;;::::1;56239:104;;;56327:4;56301:9;:23;56311:9;;56321:1;56311:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;56301:23:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;56301:23:0;:30;;-1:-1:-1;;56301:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56281:3;::::1;::::0;::::1;:::i;:::-;;;;56239:104;;56039:21:::0;;;;;;;:::i;26326:206::-;26390:7;-1:-1:-1;;;;;26414:19:0;;26410:60;;26442:28;;-1:-1:-1;;;26442:28:0;;;;;;;;;;;26410:60;-1:-1:-1;;;;;;26496:19:0;;;;;:12;:19;;;;;:27;;;;26326:206::o;45904:103::-;45142:13;:11;:13::i;:::-;45969:30:::1;45996:1;45969:18;:30::i;:::-;45904:103::o:0;56747:179::-;45142:13;:11;:13::i;:::-;-1:-1:-1;;;;;56829:20:0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;::::1;;56821:58;;;::::0;-1:-1:-1;;;56821:58:0;;8097:2:1;56821:58:0::1;::::0;::::1;8079:21:1::0;8136:2;8116:18;;;8109:30;8175:27;8155:18;;;8148:55;8220:18;;56821:58:0::1;7895:349:1::0;56821:58:0::1;-1:-1:-1::0;;;;;56890:20:0::1;56913:5;56890:20:::0;;;:9:::1;:20;::::0;;;;:28;;-1:-1:-1;;56890:28:0::1;::::0;;56747:179::o;56358:196::-;45142:13;:11;:13::i;:::-;56447:9:::1;56442:105;56462:20:::0;;::::1;56442:105;;;56530:5;56504:9;:23;56514:9;;56524:1;56514:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;56504:23:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;56504:23:0;:31;;-1:-1:-1;;56504:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56484:3;::::1;::::0;::::1;:::i;:::-;;;;56442:105;;57940:294:::0;45142:13;:11;:13::i;:::-;58041:12:::1;58032:5;::::0;::::1;;:21;::::0;::::1;;;;;;:::i;:::-;;58024:63;;;::::0;-1:-1:-1;;;58024:63:0;;9490:2:1;58024:63:0::1;::::0;::::1;9472:21:1::0;9529:2;9509:18;;;9502:30;9568:31;9548:18;;;9541:59;9617:18;;58024:63:0::1;9288:353:1::0;58024:63:0::1;25013:1:::0;25460:12;25250:7;25444:13;55648:4:::1;::::0;58122:9;;25444:28;-1:-1:-1;;25444:46:0;58106:25:::1;;;;:::i;:::-;:39;;58098:85;;;;-1:-1:-1::0;;;58098:85:0::1;;;;;;;:::i;:::-;58196:30;58206:8;58216:9;58196;:30::i;:::-;57940:294:::0;;:::o;29513:104::-;29569:13;29602:7;29595:14;;;;;:::i;31132:279::-;-1:-1:-1;;;;;31223:24:0;;20329:10;31223:24;31219:54;;;31256:17;;-1:-1:-1;;;31256:17:0;;;;;;;;;;;31219:54;20329:10;31286:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;31286:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;31286:53:0;;;;;;;;;;31355:48;;6868:41:1;;;31286:42:0;;20329:10;31355:48;;6841:18:1;31355:48:0;;;;;;;31132:279;;:::o;58896:178::-;45142:13;:11;:13::i;:::-;58970:49:::1;::::0;58952:12:::1;::::0;58970:10:::1;::::0;58993:21:::1;::::0;58952:12;58970:49;58952:12;58970:49;58993:21;58970:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58951:68;;;59038:7;59030:36;;;::::0;-1:-1:-1;;;59030:36:0;;8800:2:1;59030:36:0::1;::::0;::::1;8782:21:1::0;8839:2;8819:18;;;8812:30;-1:-1:-1;;;8858:18:1;;;8851:46;8914:18;;59030:36:0::1;8598:340:1::0;32210:369:0;32377:28;32387:4;32393:2;32397:7;32377:9;:28::i;:::-;-1:-1:-1;;;;;32420:13:0;;12541:19;:23;;32420:76;;;;;32440:56;32471:4;32477:2;32481:7;32490:5;32440:30;:56::i;:::-;32439:57;32420:76;32416:156;;;32520:40;;-1:-1:-1;;;32520:40:0;;;;;;;;;;;32416:156;32210:369;;;;:::o;58335:218::-;58400:13;58439:15;58430:5;;;;:24;;;;;;;;:::i;:::-;;58426:77;;58478:13;58471:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58335:218;;;:::o;58426:77::-;58522:23;58537:7;58522:14;:23::i;46162:201::-;45142:13;:11;:13::i;:::-;-1:-1:-1;;;;;46251:22:0;::::1;46243:73;;;::::0;-1:-1:-1;;;46243:73:0;;7690:2:1;46243:73:0::1;::::0;::::1;7672:21:1::0;7729:2;7709:18;;;7702:30;7768:34;7748:18;;;7741:62;-1:-1:-1;;;7819:18:1;;;7812:36;7865:19;;46243:73:0::1;7488:402:1::0;46243:73:0::1;46327:28;46346:8;46327:18;:28::i;56566:171::-:0;45142:13;:11;:13::i;:::-;-1:-1:-1;;;;;56646:20:0;::::1;;::::0;;;:9:::1;:20;::::0;;;;;::::1;;56645:21;56637:54;;;::::0;-1:-1:-1;;;56637:54:0;;8451:2:1;56637:54:0::1;::::0;::::1;8433:21:1::0;8490:2;8470:18;;;8463:30;-1:-1:-1;;;8509:18:1;;;8502:50;8569:18;;56637:54:0::1;8249:344:1::0;56637:54:0::1;-1:-1:-1::0;;;;;56702:20:0::1;;::::0;;;:9:::1;:20;::::0;;;;:27;;-1:-1:-1;;56702:27:0::1;56725:4;56702:27;::::0;;56566:171::o;45421:132::-;45329:6;;-1:-1:-1;;;;;45329:6:0;20329:10;45485:23;45477:68;;;;-1:-1:-1;;;45477:68:0;;9848:2:1;45477:68:0;;;9830:21:1;;;9867:18;;;9860:30;9926:34;9906:18;;;9899:62;9978:18;;45477:68:0;9646:356:1;32834:187:0;32891:4;32934:7;25013:1;32915:26;;:53;;;;;32955:13;;32945:7;:23;32915:53;:98;;;;-1:-1:-1;;32986:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;32986:27:0;;;;32985:28;;32834:187::o;40445:196::-;40560:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40560:29:0;-1:-1:-1;;;;;40560:29:0;;;;;;;;;40605:28;;40560:24;;40605:28;;;;;;;40445:196;;;:::o;35947:2112::-;36062:35;36100:20;36112:7;36100:11;:20::i;:::-;36175:18;;36062:58;;-1:-1:-1;36133:22:0;;-1:-1:-1;;;;;36159:34:0;20329:10;-1:-1:-1;;;;;36159:34:0;;:101;;;-1:-1:-1;36227:18:0;;36210:50;;20329:10;31482:164;:::i;36210:50::-;36159:154;;;-1:-1:-1;20329:10:0;36277:20;36289:7;36277:11;:20::i;:::-;-1:-1:-1;;;;;36277:36:0;;36159:154;36133:181;;36332:17;36327:66;;36358:35;;-1:-1:-1;;;36358:35:0;;;;;;;;;;;36327:66;36430:4;-1:-1:-1;;;;;36408:26:0;:13;:18;;;-1:-1:-1;;;;;36408:26:0;;36404:67;;36443:28;;-1:-1:-1;;;36443:28:0;;;;;;;;;;;36404:67;-1:-1:-1;;;;;36486:16:0;;36482:52;;36511:23;;-1:-1:-1;;;36511:23:0;;;;;;;;;;;36482:52;36655:49;36672:1;36676:7;36685:13;:18;;;36655:8;:49::i;:::-;-1:-1:-1;;;;;37000:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;37000:31:0;;;;;;;-1:-1:-1;;37000:31:0;;;;;;;37046:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;37046:29:0;;;;;;;;;;;37092:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;37137:61:0;;;;-1:-1:-1;;;37182:15:0;37137:61;;;;;;;;;;;37472:11;;;37502:24;;;;;:29;37472:11;;37502:29;37498:445;;37727:13;;37713:11;:27;37709:219;;;37797:18;;;37765:24;;;:11;:24;;;;;;;;:50;;37880:28;;;;37838:70;;-1:-1:-1;;;37838:70:0;-1:-1:-1;;;;;;37838:70:0;;;-1:-1:-1;;;;;37765:50:0;;;37838:70;;;;;;;37709:219;36975:979;37990:7;37986:2;-1:-1:-1;;;;;37971:27:0;37980:4;-1:-1:-1;;;;;37971:27:0;;;;;;;;;;;38009:42;36051:2008;;35947:2112;;;:::o;26614:207::-;26675:7;-1:-1:-1;;;;;26699:19:0;;26695:59;;26727:27;;-1:-1:-1;;;26727:27:0;;;;;;;;;;;26695:59;-1:-1:-1;;;;;;26780:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;26780:32:0;;;;;26614:207::o;33029:104::-;33098:27;33108:2;33112:8;33098:27;;;;;;;;;;;;:9;:27::i;27983:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;28093:7:0;;25013:1;28142:23;;:47;;;;;28176:13;;28169:4;:20;28142:47;28138:886;;;28210:31;28244:17;;;:11;:17;;;;;;;;;28210:51;;;;;;;;;-1:-1:-1;;;;;28210:51:0;;;;-1:-1:-1;;;28210:51:0;;;;;;;;;;;-1:-1:-1;;;28210:51:0;;;;;;;;;;;;;;28280:729;;28330:14;;-1:-1:-1;;;;;28330:28:0;;28326:101;;28394:9;27983:1108;-1:-1:-1;;;27983:1108:0:o;28326:101::-;-1:-1:-1;;;28769:6:0;28814:17;;;;:11;:17;;;;;;;;;28802:29;;;;;;;;;-1:-1:-1;;;;;28802:29:0;;;;;-1:-1:-1;;;28802:29:0;;;;;;;;;;;-1:-1:-1;;;28802:29:0;;;;;;;;;;;;;28862:28;28858:109;;28930:9;27983:1108;-1:-1:-1;;;27983:1108:0:o;28858:109::-;28729:261;;;28191:833;28138:886;29052:31;;-1:-1:-1;;;29052:31:0;;;;;;;;;;;46523:191;46616:6;;;-1:-1:-1;;;;;46633:17:0;;;-1:-1:-1;;;;;;46633:17:0;;;;;;;46666:40;;46616:6;;;46633:17;46616:6;;46666:40;;46597:16;;46666:40;46586:128;46523:191;:::o;41133:667::-;41317:72;;-1:-1:-1;;;41317:72:0;;41296:4;;-1:-1:-1;;;;;41317:36:0;;;;;:72;;20329:10;;41368:4;;41374:7;;41383:5;;41317:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41317:72:0;;;;;;;;-1:-1:-1;;41317:72:0;;;;;;;;;;;;:::i;:::-;;;41313:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41551:13:0;;41547:235;;41597:40;;-1:-1:-1;;;41597:40:0;;;;;;;;;;;41547:235;41740:6;41734:13;41725:6;41721:2;41717:15;41710:38;41313:480;-1:-1:-1;;;;;;41436:55:0;-1:-1:-1;;;41436:55:0;;-1:-1:-1;41313:480:0;41133:667;;;;;;:::o;29688:327::-;29761:13;29792:16;29800:7;29792;:16::i;:::-;29787:59;;29817:29;;-1:-1:-1;;;29817:29:0;;;;;;;;;;;29787:59;29859:21;29883:10;:8;:10::i;:::-;29859:34;;29917:7;29911:21;29936:1;29911:26;;:96;;;;;;;;;;;;;;;;;29964:7;29973:18;:7;:16;:18::i;:::-;29947:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29911:96;29904:103;29688:327;-1:-1:-1;;;29688:327:0:o;33496:163::-;33619:32;33625:2;33629:8;33639:5;33646:4;33619:5;:32::i;58788:100::-;58840:13;58873:7;58866:14;;;;;:::i;498:723::-;554:13;775:10;771:53;;-1:-1:-1;;802:10:0;;;;;;;;;;;;-1:-1:-1;;;802:10:0;;;;;498:723::o;771:53::-;849:5;834:12;890:78;897:9;;890:78;;923:8;;;;:::i;:::-;;-1:-1:-1;946:10:0;;-1:-1:-1;954:2:0;946:10;;:::i;:::-;;;890:78;;;978:19;1010:6;1000:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1000:17:0;;978:39;;1028:154;1035:10;;1028:154;;1062:11;1072:1;1062:11;;:::i;:::-;;-1:-1:-1;1131:10:0;1139:2;1131:5;:10;:::i;:::-;1118:24;;:2;:24;:::i;:::-;1105:39;;1088:6;1095;1088:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1088:56:0;;;;;;;;-1:-1:-1;1159:11:0;1168:2;1159:11;;:::i;:::-;;;1028:154;;33918:1775;34057:20;34080:13;-1:-1:-1;;;;;34108:16:0;;34104:48;;34133:19;;-1:-1:-1;;;34133:19:0;;;;;;;;;;;34104:48;34167:13;34163:44;;34189:18;;-1:-1:-1;;;34189:18:0;;;;;;;;;;;34163:44;-1:-1:-1;;;;;34558:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;34617:49:0;;34558:44;;;;;;;;34617:49;;;-1:-1:-1;;;;;34558:44:0;;;;;;34617:49;;;;;;;;;;;;;;;;34683:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;34733:66:0;;;;-1:-1:-1;;;34783:15:0;34733:66;;;;;;;;;;34683:25;34880:23;;;34924:4;:23;;;;-1:-1:-1;;;;;;34932:13:0;;12541:19;:23;;34932:15;34920:641;;;34968:314;34999:38;;35024:12;;-1:-1:-1;;;;;34999:38:0;;;35016:1;;34999:38;;35016:1;;34999:38;35065:69;35104:1;35108:2;35112:14;;;;;;35128:5;35065:30;:69::i;:::-;35060:174;;35170:40;;-1:-1:-1;;;35170:40:0;;;;;;;;;;;35060:174;35277:3;35261:12;:19;;34968:314;;35363:12;35346:13;;:29;35342:43;;35377:8;;;35342:43;34920:641;;;35426:120;35457:40;;35482:14;;;;;-1:-1:-1;;;;;35457:40:0;;;35474:1;;35457:40;;35474:1;;35457:40;35541:3;35525:12;:19;;35426:120;;34920:641;-1:-1:-1;35575:13:0;:28;35625:60;32210:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:615::-;2821:6;2829;2882:2;2870:9;2861:7;2857:23;2853:32;2850:52;;;2898:1;2895;2888:12;2850:52;2938:9;2925:23;2967:18;3008:2;3000:6;2997:14;2994:34;;;3024:1;3021;3014:12;2994:34;3062:6;3051:9;3047:22;3037:32;;3107:7;3100:4;3096:2;3092:13;3088:27;3078:55;;3129:1;3126;3119:12;3078:55;3169:2;3156:16;3195:2;3187:6;3184:14;3181:34;;;3211:1;3208;3201:12;3181:34;3264:7;3259:2;3249:6;3246:1;3242:14;3238:2;3234:23;3230:32;3227:45;3224:65;;;3285:1;3282;3275:12;3224:65;3316:2;3308:11;;;;;3338:6;;-1:-1:-1;2735:615:1;;-1:-1:-1;;;;2735:615:1:o;3355:245::-;3413:6;3466:2;3454:9;3445:7;3441:23;3437:32;3434:52;;;3482:1;3479;3472:12;3434:52;3521:9;3508:23;3540:30;3564:5;3540:30;:::i;3605:249::-;3674:6;3727:2;3715:9;3706:7;3702:23;3698:32;3695:52;;;3743:1;3740;3733:12;3695:52;3775:9;3769:16;3794:30;3818:5;3794:30;:::i;3859:267::-;3929:6;3982:2;3970:9;3961:7;3957:23;3953:32;3950:52;;;3998:1;3995;3988:12;3950:52;4037:9;4024:23;4076:1;4069:5;4066:12;4056:40;;4092:1;4089;4082:12;4131:592;4202:6;4210;4263:2;4251:9;4242:7;4238:23;4234:32;4231:52;;;4279:1;4276;4269:12;4231:52;4319:9;4306:23;4348:18;4389:2;4381:6;4378:14;4375:34;;;4405:1;4402;4395:12;4375:34;4443:6;4432:9;4428:22;4418:32;;4488:7;4481:4;4477:2;4473:13;4469:27;4459:55;;4510:1;4507;4500:12;4459:55;4550:2;4537:16;4576:2;4568:6;4565:14;4562:34;;;4592:1;4589;4582:12;4562:34;4637:7;4632:2;4623:6;4619:2;4615:15;4611:24;4608:37;4605:57;;;4658:1;4655;4648:12;4728:180;4787:6;4840:2;4828:9;4819:7;4815:23;4811:32;4808:52;;;4856:1;4853;4846:12;4808:52;-1:-1:-1;4879:23:1;;4728:180;-1:-1:-1;4728:180:1:o;4913:257::-;4954:3;4992:5;4986:12;5019:6;5014:3;5007:19;5035:63;5091:6;5084:4;5079:3;5075:14;5068:4;5061:5;5057:16;5035:63;:::i;:::-;5152:2;5131:15;-1:-1:-1;;5127:29:1;5118:39;;;;5159:4;5114:50;;4913:257;-1:-1:-1;;4913:257:1:o;5175:637::-;5455:3;5493:6;5487:13;5509:53;5555:6;5550:3;5543:4;5535:6;5531:17;5509:53;:::i;:::-;5625:13;;5584:16;;;;5647:57;5625:13;5584:16;5681:4;5669:17;;5647:57;:::i;:::-;-1:-1:-1;;;5726:20:1;;5755:22;;;5804:1;5793:13;;5175:637;-1:-1:-1;;;;5175:637:1:o;6235:488::-;-1:-1:-1;;;;;6504:15:1;;;6486:34;;6556:15;;6551:2;6536:18;;6529:43;6603:2;6588:18;;6581:34;;;6651:3;6646:2;6631:18;;6624:31;;;6429:4;;6672:45;;6697:19;;6689:6;6672:45;:::i;:::-;6664:53;6235:488;-1:-1:-1;;;;;;6235:488:1:o;6920:339::-;7063:2;7048:18;;7096:1;7085:13;;7075:144;;7141:10;7136:3;7132:20;7129:1;7122:31;7176:4;7173:1;7166:15;7204:4;7201:1;7194:15;7075:144;7228:25;;;6920:339;:::o;7264:219::-;7413:2;7402:9;7395:21;7376:4;7433:44;7473:2;7462:9;7458:18;7450:6;7433:44;:::i;10768:397::-;10970:2;10952:21;;;11009:2;10989:18;;;10982:30;11048:34;11043:2;11028:18;;11021:62;-1:-1:-1;;;11114:2:1;11099:18;;11092:31;11155:3;11140:19;;10768:397::o;11352:128::-;11392:3;11423:1;11419:6;11416:1;11413:13;11410:39;;;11429:18;;:::i;:::-;-1:-1:-1;11465:9:1;;11352:128::o;11485:120::-;11525:1;11551;11541:35;;11556:18;;:::i;:::-;-1:-1:-1;11590:9:1;;11485:120::o;11610:125::-;11650:4;11678:1;11675;11672:8;11669:34;;;11683:18;;:::i;:::-;-1:-1:-1;11720:9:1;;11610:125::o;11740:258::-;11812:1;11822:113;11836:6;11833:1;11830:13;11822:113;;;11912:11;;;11906:18;11893:11;;;11886:39;11858:2;11851:10;11822:113;;;11953:6;11950:1;11947:13;11944:48;;;-1:-1:-1;;11988:1:1;11970:16;;11963:27;11740:258::o;12003:380::-;12082:1;12078:12;;;;12125;;;12146:61;;12200:4;12192:6;12188:17;12178:27;;12146:61;12253:2;12245:6;12242:14;12222:18;12219:38;12216:161;;;12299:10;12294:3;12290:20;12287:1;12280:31;12334:4;12331:1;12324:15;12362:4;12359:1;12352:15;12216:161;;12003:380;;;:::o;12388:135::-;12427:3;-1:-1:-1;;12448:17:1;;12445:43;;;12468:18;;:::i;:::-;-1:-1:-1;12515:1:1;12504:13;;12388:135::o;12528:112::-;12560:1;12586;12576:35;;12591:18;;:::i;:::-;-1:-1:-1;12625:9:1;;12528:112::o;12645:127::-;12706:10;12701:3;12697:20;12694:1;12687:31;12737:4;12734:1;12727:15;12761:4;12758:1;12751:15;12777:127;12838:10;12833:3;12829:20;12826:1;12819:31;12869:4;12866:1;12859:15;12893:4;12890:1;12883:15;12909:127;12970:10;12965:3;12961:20;12958:1;12951:31;13001:4;12998:1;12991:15;13025:4;13022:1;13015:15;13041:127;13102:10;13097:3;13093:20;13090:1;13083:31;13133:4;13130:1;13123:15;13157:4;13154:1;13147:15;13173:127;13234:10;13229:3;13225:20;13222:1;13215:31;13265:4;13262:1;13255:15;13289:4;13286:1;13279:15;13305:131;-1:-1:-1;;;;;;13379:32:1;;13369:43;;13359:71;;13426:1;13423;13416:12

Swarm Source

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