ETH Price: $3,394.32 (+1.64%)
Gas: 3 Gwei

Token

city (cy)
 

Overview

Max Total Supply

753 cy

Holders

387

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 cy
0xbf50794fb9fca90f11399e2af82515f780a48c7a
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:
city

Compiler Version
v0.8.4+commit.c7e474f2

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

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Strings.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// 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/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address.
    mapping(uint256 => 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();
    }

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

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

    /**
     * @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, _toString(tokenId))) : '';
    }

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

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

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

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

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

    /**
     * @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 virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        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` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

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

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

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

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

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

    /**
     * @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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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

// File: contracts/Tem.sol




pragma solidity ^0.8.4;



contract city is ERC721A, Ownable, ReentrancyGuard {
    using Address for address;
    using Strings for uint;
    string  public baseTokenURI = "ipfs://QmYXJ9YyYhLfGURKYDSUwQiNA9XF8WT9dSak9MGbcJiG1J/";
    uint256 public MAX_SUPPLY = 1111;
    uint256 public MAX_FREE_SUPPLY = 111;
    uint256 public MAX_PER_TX = 3;
    uint256 public PRICE = 0.0036 ether;
    uint256 public MAX_FREE_PER_WALLET = 10;
    bool public status = true;
    bool public revealed = false;

    mapping(address => uint256) public perWalletFreeMinted;

    constructor() ERC721A("city", "cy") {}


    function devMint(address to, uint amount) external onlyOwner {
		require(
			_totalMinted() + amount <= MAX_SUPPLY,
			'Exceeds max supply'
		);
		_safeMint(to, amount);
	}

    function OwnerBatchMint(uint256 amount) external onlyOwner
    {
        require(
			_totalMinted() + amount <= MAX_SUPPLY,
			'Exceeds max supply'
		);
        _safeMint(msg.sender, amount);
    }

    function mint(uint256 amount) external payable
    {
        
		require(amount <= MAX_PER_TX,"Exceeds NFT per transaction limit");
		require(_totalMinted() + amount <= MAX_SUPPLY,"Exceeds max supply");
        require(status, "Minting is not live yet.");
        uint payForCount = amount;
        uint minted = perWalletFreeMinted[msg.sender];
        if(minted < MAX_FREE_PER_WALLET && _totalMinted()<MAX_FREE_SUPPLY) {
            uint remainingFreeMints = MAX_FREE_PER_WALLET - minted;
            if(amount > remainingFreeMints) {
                payForCount = amount - remainingFreeMints;
            }
            else {
                payForCount = 0;
            }
        }

		require(
			msg.value >= payForCount * PRICE,
			'Ether value sent is not sufficient'
		);
    	perWalletFreeMinted[msg.sender] += amount;

        _safeMint(msg.sender, amount);
    }

    function setBaseURI(string memory baseURI) public onlyOwner
    {
        baseTokenURI = baseURI;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
    function withdraw() public onlyOwner nonReentrant {
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }

    
    function tokenURI(uint tokenId)
		public
		view
		override
		returns (string memory)
	{
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        return bytes(_baseURI()).length > 0 
            ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json"))
            : baseTokenURI;
	}

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

    function reveal(bool _revealed) external onlyOwner
    {
        revealed = _revealed;
    }

    function setStatus(bool _status) external onlyOwner
    {
        status = _status;
    }

    function setPrice(uint256 _price) external onlyOwner
    {
        PRICE = _price;
    }

    function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner
    {
        MAX_PER_TX = _limit;
    }

    function setLimitFreeMintPerWallet(uint256 _limit) external onlyOwner
    {
        MAX_FREE_PER_WALLET = _limit;
    }

    function setMaxFreeAmount(uint256 _amount) external onlyOwner
    {
        MAX_FREE_SUPPLY = _amount;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"perWalletFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setLimitFreeMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603660808181529062001e7260a03980516200002991600a916020909101906200013c565b50610457600b55606f600c556003600d55660cca2e51310000600e55600a600f556010805461ffff191660011790553480156200006557600080fd5b50604051806040016040528060048152602001636369747960e01b81525060405180604001604052806002815260200161637960f01b8152508160029080519060200190620000b69291906200013c565b508051620000cc9060039060208401906200013c565b5050600160005550620000df33620000ea565b60016009556200021f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600181811c90821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b611c43806200022f6000396000f3fe60806040526004361061021a5760003560e01c8063715018a611610123578063a0712d68116100ab578063d547cfb71161006f578063d547cfb714610609578063e19979f51461061e578063e985e9c51461063e578063f2fde38b14610687578063f43a22dc146106a757600080fd5b8063a0712d6814610569578063a22cb4651461057c578063b88d4fde1461059c578063c87b56dd146105bc578063d0fc579d146105dc57600080fd5b806391b7f5ed116100f257806391b7f5ed146104de578063940cd05b146104fe57806395d89b411461051e57806398710d1e146105335780639e9fcffc1461054957600080fd5b8063715018a6146104755780638171609b1461048a5780638d859f3e146104aa5780638da5cb5b146104c057600080fd5b806332cb6b0c116101a657806355f804b31161017557806355f804b3146103d55780635c40f6f4146103f5578063627804af146104155780636352211e1461043557806370a082311461045557600080fd5b806332cb6b0c1461036b5780633ccfd60b1461038157806342842e0e1461039657806351830227146103b657600080fd5b8063095ea7b3116101ed578063095ea7b3146102d25780630c23bb3f146102f457806318160ddd14610314578063200d2ed21461033157806323b872dd1461034b57600080fd5b806301ffc9a71461021f57806302ddb65b1461025457806306fdde0314610278578063081812fc1461029a575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611940565b6106bd565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061026a600c5481565b60405190815260200161024b565b34801561028457600080fd5b5061028d61070f565b60405161024b9190611a7e565b3480156102a657600080fd5b506102ba6102b53660046119be565b6107a1565b6040516001600160a01b03909116815260200161024b565b3480156102de57600080fd5b506102f26102ed3660046118fd565b6107e5565b005b34801561030057600080fd5b506102f261030f3660046119be565b610885565b34801561032057600080fd5b50600154600054036000190161026a565b34801561033d57600080fd5b5060105461023f9060ff1681565b34801561035757600080fd5b506102f2610366366004611820565b610892565b34801561037757600080fd5b5061026a600b5481565b34801561038d57600080fd5b506102f2610a23565b3480156103a257600080fd5b506102f26103b1366004611820565b610b01565b3480156103c257600080fd5b5060105461023f90610100900460ff1681565b3480156103e157600080fd5b506102f26103f0366004611978565b610b21565b34801561040157600080fd5b506102f2610410366004611926565b610b40565b34801561042157600080fd5b506102f26104303660046118fd565b610b5b565b34801561044157600080fd5b506102ba6104503660046119be565b610ba6565b34801561046157600080fd5b5061026a6104703660046117d4565b610bb1565b34801561048157600080fd5b506102f2610c00565b34801561049657600080fd5b506102f26104a53660046119be565b610c14565b3480156104b657600080fd5b5061026a600e5481565b3480156104cc57600080fd5b506008546001600160a01b03166102ba565b3480156104ea57600080fd5b506102f26104f93660046119be565b610c62565b34801561050a57600080fd5b506102f2610519366004611926565b610c6f565b34801561052a57600080fd5b5061028d610c91565b34801561053f57600080fd5b5061026a600f5481565b34801561055557600080fd5b506102f26105643660046119be565b610ca0565b6102f26105773660046119be565b610cad565b34801561058857600080fd5b506102f26105973660046118d4565b610e8c565b3480156105a857600080fd5b506102f26105b736600461185b565b610f22565b3480156105c857600080fd5b5061028d6105d73660046119be565b610f6c565b3480156105e857600080fd5b5061026a6105f73660046117d4565b60116020526000908152604090205481565b34801561061557600080fd5b5061028d6110b2565b34801561062a57600080fd5b506102f26106393660046119be565b611140565b34801561064a57600080fd5b5061023f6106593660046117ee565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069357600080fd5b506102f26106a23660046117d4565b61114d565b3480156106b357600080fd5b5061026a600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806106ee57506380ac58cd60e01b6001600160e01b03198316145b806107095750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071e90611b4b565b80601f016020809104026020016040519081016040528092919081815260200182805461074a90611b4b565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac826111c3565b6107c9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f082610ba6565b9050336001600160a01b038216146108295761080c8133610659565b610829576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088d6111f8565b600c55565b600061089d82611252565b9050836001600160a01b0316816001600160a01b0316146108d05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761091d576109008633610659565b61091d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661094457604051633a954ecd60e21b815260040160405180910390fd5b801561094f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109da57600184016000818152600460205260409020546109d85760005481146109d85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a2b6111f8565b60026009541415610a835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610a9c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae6576040519150601f19603f3d011682016040523d82523d6000602084013e610aeb565b606091505b5050905080610af957600080fd5b506001600955565b610b1c83838360405180602001604052806000815250610f22565b505050565b610b296111f8565b8051610b3c90600a906020840190611699565b5050565b610b486111f8565b6010805460ff1916911515919091179055565b610b636111f8565b600b5481610b746000546000190190565b610b7e9190611abd565b1115610b9c5760405162461bcd60e51b8152600401610a7a90611a91565b610b3c82826112c2565b600061070982611252565b60006001600160a01b038216610bda576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c086111f8565b610c1260006112dc565b565b610c1c6111f8565b600b5481610c2d6000546000190190565b610c379190611abd565b1115610c555760405162461bcd60e51b8152600401610a7a90611a91565b610c5f33826112c2565b50565b610c6a6111f8565b600e55565b610c776111f8565b601080549115156101000261ff0019909216919091179055565b60606003805461071e90611b4b565b610ca86111f8565b600d55565b600d54811115610d095760405162461bcd60e51b815260206004820152602160248201527f45786365656473204e465420706572207472616e73616374696f6e206c696d696044820152601d60fa1b6064820152608401610a7a565b600b5481610d1a6000546000190190565b610d249190611abd565b1115610d425760405162461bcd60e51b8152600401610a7a90611a91565b60105460ff16610d945760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e00000000000000006044820152606401610a7a565b33600090815260116020526040902054600f5482919081108015610dbf5750600c5460005460001901105b15610df657600081600f54610dd49190611b08565b905080841115610def57610de88185611b08565b9250610df4565b600092505b505b600e54610e039083611ae9565b341015610e5d5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b6064820152608401610a7a565b3360009081526011602052604081208054859290610e7c908490611abd565b90915550610b1c905033846112c2565b6001600160a01b038216331415610eb65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f2d848484610892565b6001600160a01b0383163b15610f6657610f498484848461132e565b610f66576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f77826111c3565b610fdb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a7a565b6000610fe5611426565b511161107b57600a8054610ff890611b4b565b80601f016020809104026020016040519081016040528092919081815260200182805461102490611b4b565b80156110715780601f1061104657610100808354040283529160200191611071565b820191906000526020600020905b81548152906001019060200180831161105457829003601f168201915b5050505050610709565b611083611426565b61108c83611435565b60405160200161109d929190611a02565b60405160208183030381529060405292915050565b600a80546110bf90611b4b565b80601f01602080910402602001604051908101604052809291908181526020018280546110eb90611b4b565b80156111385780601f1061110d57610100808354040283529160200191611138565b820191906000526020600020905b81548152906001019060200180831161111b57829003601f168201915b505050505081565b6111486111f8565b600f55565b6111556111f8565b6001600160a01b0381166111ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7a565b610c5f816112dc565b6000816001111580156111d7575060005482105b8015610709575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a7a565b600081806001116112a9576000548110156112a957600081815260046020526040902054600160e01b81166112a7575b806112a0575060001901600081815260046020526040902054611282565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610b3c82826040518060200160405280600081525061154f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611363903390899088908890600401611a41565b602060405180830381600087803b15801561137d57600080fd5b505af19250505080156113ad575060408051601f3d908101601f191682019092526113aa9181019061195c565b60015b611408573d8080156113db576040519150601f19603f3d011682016040523d82523d6000602084013e6113e0565b606091505b508051611400576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461071e90611b4b565b6060816114595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611483578061146d81611b86565b915061147c9050600a83611ad5565b915061145d565b60008167ffffffffffffffff8111156114ac57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114d6576020820181803683370190505b5090505b841561141e576114eb600183611b08565b91506114f8600a86611ba1565b611503906030611abd565b60f81b81838151811061152657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611548600a86611ad5565b94506114da565b61155983836115bc565b6001600160a01b0383163b15610b1c576000548281035b611583600086838060010194508661132e565b6115a0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115705781600054146115b557600080fd5b5050505050565b6000546001600160a01b0383166115e557604051622e076360e81b815260040160405180910390fd5b816116035760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061164d5760005550505050565b8280546116a590611b4b565b90600052602060002090601f0160209004810192826116c7576000855561170d565b82601f106116e057805160ff191683800117855561170d565b8280016001018555821561170d579182015b8281111561170d5782518255916020019190600101906116f2565b5061171992915061171d565b5090565b5b80821115611719576000815560010161171e565b600067ffffffffffffffff8084111561174d5761174d611be1565b604051601f8501601f19908116603f0116810190828211818310171561177557611775611be1565b8160405280935085815286868601111561178e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146117bf57600080fd5b919050565b803580151581146117bf57600080fd5b6000602082840312156117e5578081fd5b6112a0826117a8565b60008060408385031215611800578081fd5b611809836117a8565b9150611817602084016117a8565b90509250929050565b600080600060608486031215611834578081fd5b61183d846117a8565b925061184b602085016117a8565b9150604084013590509250925092565b60008060008060808587031215611870578081fd5b611879856117a8565b9350611887602086016117a8565b925060408501359150606085013567ffffffffffffffff8111156118a9578182fd5b8501601f810187136118b9578182fd5b6118c887823560208401611732565b91505092959194509250565b600080604083850312156118e6578182fd5b6118ef836117a8565b9150611817602084016117c4565b6000806040838503121561190f578182fd5b611918836117a8565b946020939093013593505050565b600060208284031215611937578081fd5b6112a0826117c4565b600060208284031215611951578081fd5b81356112a081611bf7565b60006020828403121561196d578081fd5b81516112a081611bf7565b600060208284031215611989578081fd5b813567ffffffffffffffff81111561199f578182fd5b8201601f810184136119af578182fd5b61141e84823560208401611732565b6000602082840312156119cf578081fd5b5035919050565b600081518084526119ee816020860160208601611b1f565b601f01601f19169290920160200192915050565b60008351611a14818460208801611b1f565b835190830190611a28818360208801611b1f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a74908301846119d6565b9695505050505050565b6020815260006112a060208301846119d6565b60208082526012908201527145786365656473206d617820737570706c7960701b604082015260600190565b60008219821115611ad057611ad0611bb5565b500190565b600082611ae457611ae4611bcb565b500490565b6000816000190483118215151615611b0357611b03611bb5565b500290565b600082821015611b1a57611b1a611bb5565b500390565b60005b83811015611b3a578181015183820152602001611b22565b83811115610f665750506000910152565b600181811c90821680611b5f57607f821691505b60208210811415611b8057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b9a57611b9a611bb5565b5060010190565b600082611bb057611bb0611bcb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c5f57600080fdfea26469706673582212206d970a90460ba51c7b5f04be2719456d5d6cb2cf86ae17086563b91dc11ba94d64736f6c63430008040033697066733a2f2f516d59584a39597959684c664755524b594453557751694e41395846385754396453616b394d4762634a6947314a2f

Deployed Bytecode

0x60806040526004361061021a5760003560e01c8063715018a611610123578063a0712d68116100ab578063d547cfb71161006f578063d547cfb714610609578063e19979f51461061e578063e985e9c51461063e578063f2fde38b14610687578063f43a22dc146106a757600080fd5b8063a0712d6814610569578063a22cb4651461057c578063b88d4fde1461059c578063c87b56dd146105bc578063d0fc579d146105dc57600080fd5b806391b7f5ed116100f257806391b7f5ed146104de578063940cd05b146104fe57806395d89b411461051e57806398710d1e146105335780639e9fcffc1461054957600080fd5b8063715018a6146104755780638171609b1461048a5780638d859f3e146104aa5780638da5cb5b146104c057600080fd5b806332cb6b0c116101a657806355f804b31161017557806355f804b3146103d55780635c40f6f4146103f5578063627804af146104155780636352211e1461043557806370a082311461045557600080fd5b806332cb6b0c1461036b5780633ccfd60b1461038157806342842e0e1461039657806351830227146103b657600080fd5b8063095ea7b3116101ed578063095ea7b3146102d25780630c23bb3f146102f457806318160ddd14610314578063200d2ed21461033157806323b872dd1461034b57600080fd5b806301ffc9a71461021f57806302ddb65b1461025457806306fdde0314610278578063081812fc1461029a575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611940565b6106bd565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b5061026a600c5481565b60405190815260200161024b565b34801561028457600080fd5b5061028d61070f565b60405161024b9190611a7e565b3480156102a657600080fd5b506102ba6102b53660046119be565b6107a1565b6040516001600160a01b03909116815260200161024b565b3480156102de57600080fd5b506102f26102ed3660046118fd565b6107e5565b005b34801561030057600080fd5b506102f261030f3660046119be565b610885565b34801561032057600080fd5b50600154600054036000190161026a565b34801561033d57600080fd5b5060105461023f9060ff1681565b34801561035757600080fd5b506102f2610366366004611820565b610892565b34801561037757600080fd5b5061026a600b5481565b34801561038d57600080fd5b506102f2610a23565b3480156103a257600080fd5b506102f26103b1366004611820565b610b01565b3480156103c257600080fd5b5060105461023f90610100900460ff1681565b3480156103e157600080fd5b506102f26103f0366004611978565b610b21565b34801561040157600080fd5b506102f2610410366004611926565b610b40565b34801561042157600080fd5b506102f26104303660046118fd565b610b5b565b34801561044157600080fd5b506102ba6104503660046119be565b610ba6565b34801561046157600080fd5b5061026a6104703660046117d4565b610bb1565b34801561048157600080fd5b506102f2610c00565b34801561049657600080fd5b506102f26104a53660046119be565b610c14565b3480156104b657600080fd5b5061026a600e5481565b3480156104cc57600080fd5b506008546001600160a01b03166102ba565b3480156104ea57600080fd5b506102f26104f93660046119be565b610c62565b34801561050a57600080fd5b506102f2610519366004611926565b610c6f565b34801561052a57600080fd5b5061028d610c91565b34801561053f57600080fd5b5061026a600f5481565b34801561055557600080fd5b506102f26105643660046119be565b610ca0565b6102f26105773660046119be565b610cad565b34801561058857600080fd5b506102f26105973660046118d4565b610e8c565b3480156105a857600080fd5b506102f26105b736600461185b565b610f22565b3480156105c857600080fd5b5061028d6105d73660046119be565b610f6c565b3480156105e857600080fd5b5061026a6105f73660046117d4565b60116020526000908152604090205481565b34801561061557600080fd5b5061028d6110b2565b34801561062a57600080fd5b506102f26106393660046119be565b611140565b34801561064a57600080fd5b5061023f6106593660046117ee565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069357600080fd5b506102f26106a23660046117d4565b61114d565b3480156106b357600080fd5b5061026a600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806106ee57506380ac58cd60e01b6001600160e01b03198316145b806107095750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071e90611b4b565b80601f016020809104026020016040519081016040528092919081815260200182805461074a90611b4b565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b5050505050905090565b60006107ac826111c3565b6107c9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f082610ba6565b9050336001600160a01b038216146108295761080c8133610659565b610829576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088d6111f8565b600c55565b600061089d82611252565b9050836001600160a01b0316816001600160a01b0316146108d05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761091d576109008633610659565b61091d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661094457604051633a954ecd60e21b815260040160405180910390fd5b801561094f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166109da57600184016000818152600460205260409020546109d85760005481146109d85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a2b6111f8565b60026009541415610a835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556000610a9c6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ae6576040519150601f19603f3d011682016040523d82523d6000602084013e610aeb565b606091505b5050905080610af957600080fd5b506001600955565b610b1c83838360405180602001604052806000815250610f22565b505050565b610b296111f8565b8051610b3c90600a906020840190611699565b5050565b610b486111f8565b6010805460ff1916911515919091179055565b610b636111f8565b600b5481610b746000546000190190565b610b7e9190611abd565b1115610b9c5760405162461bcd60e51b8152600401610a7a90611a91565b610b3c82826112c2565b600061070982611252565b60006001600160a01b038216610bda576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c086111f8565b610c1260006112dc565b565b610c1c6111f8565b600b5481610c2d6000546000190190565b610c379190611abd565b1115610c555760405162461bcd60e51b8152600401610a7a90611a91565b610c5f33826112c2565b50565b610c6a6111f8565b600e55565b610c776111f8565b601080549115156101000261ff0019909216919091179055565b60606003805461071e90611b4b565b610ca86111f8565b600d55565b600d54811115610d095760405162461bcd60e51b815260206004820152602160248201527f45786365656473204e465420706572207472616e73616374696f6e206c696d696044820152601d60fa1b6064820152608401610a7a565b600b5481610d1a6000546000190190565b610d249190611abd565b1115610d425760405162461bcd60e51b8152600401610a7a90611a91565b60105460ff16610d945760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e00000000000000006044820152606401610a7a565b33600090815260116020526040902054600f5482919081108015610dbf5750600c5460005460001901105b15610df657600081600f54610dd49190611b08565b905080841115610def57610de88185611b08565b9250610df4565b600092505b505b600e54610e039083611ae9565b341015610e5d5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b6064820152608401610a7a565b3360009081526011602052604081208054859290610e7c908490611abd565b90915550610b1c905033846112c2565b6001600160a01b038216331415610eb65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f2d848484610892565b6001600160a01b0383163b15610f6657610f498484848461132e565b610f66576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f77826111c3565b610fdb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a7a565b6000610fe5611426565b511161107b57600a8054610ff890611b4b565b80601f016020809104026020016040519081016040528092919081815260200182805461102490611b4b565b80156110715780601f1061104657610100808354040283529160200191611071565b820191906000526020600020905b81548152906001019060200180831161105457829003601f168201915b5050505050610709565b611083611426565b61108c83611435565b60405160200161109d929190611a02565b60405160208183030381529060405292915050565b600a80546110bf90611b4b565b80601f01602080910402602001604051908101604052809291908181526020018280546110eb90611b4b565b80156111385780601f1061110d57610100808354040283529160200191611138565b820191906000526020600020905b81548152906001019060200180831161111b57829003601f168201915b505050505081565b6111486111f8565b600f55565b6111556111f8565b6001600160a01b0381166111ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7a565b610c5f816112dc565b6000816001111580156111d7575060005482105b8015610709575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a7a565b600081806001116112a9576000548110156112a957600081815260046020526040902054600160e01b81166112a7575b806112a0575060001901600081815260046020526040902054611282565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b610b3c82826040518060200160405280600081525061154f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611363903390899088908890600401611a41565b602060405180830381600087803b15801561137d57600080fd5b505af19250505080156113ad575060408051601f3d908101601f191682019092526113aa9181019061195c565b60015b611408573d8080156113db576040519150601f19603f3d011682016040523d82523d6000602084013e6113e0565b606091505b508051611400576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461071e90611b4b565b6060816114595750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611483578061146d81611b86565b915061147c9050600a83611ad5565b915061145d565b60008167ffffffffffffffff8111156114ac57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114d6576020820181803683370190505b5090505b841561141e576114eb600183611b08565b91506114f8600a86611ba1565b611503906030611abd565b60f81b81838151811061152657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611548600a86611ad5565b94506114da565b61155983836115bc565b6001600160a01b0383163b15610b1c576000548281035b611583600086838060010194508661132e565b6115a0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106115705781600054146115b557600080fd5b5050505050565b6000546001600160a01b0383166115e557604051622e076360e81b815260040160405180910390fd5b816116035760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061164d5760005550505050565b8280546116a590611b4b565b90600052602060002090601f0160209004810192826116c7576000855561170d565b82601f106116e057805160ff191683800117855561170d565b8280016001018555821561170d579182015b8281111561170d5782518255916020019190600101906116f2565b5061171992915061171d565b5090565b5b80821115611719576000815560010161171e565b600067ffffffffffffffff8084111561174d5761174d611be1565b604051601f8501601f19908116603f0116810190828211818310171561177557611775611be1565b8160405280935085815286868601111561178e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146117bf57600080fd5b919050565b803580151581146117bf57600080fd5b6000602082840312156117e5578081fd5b6112a0826117a8565b60008060408385031215611800578081fd5b611809836117a8565b9150611817602084016117a8565b90509250929050565b600080600060608486031215611834578081fd5b61183d846117a8565b925061184b602085016117a8565b9150604084013590509250925092565b60008060008060808587031215611870578081fd5b611879856117a8565b9350611887602086016117a8565b925060408501359150606085013567ffffffffffffffff8111156118a9578182fd5b8501601f810187136118b9578182fd5b6118c887823560208401611732565b91505092959194509250565b600080604083850312156118e6578182fd5b6118ef836117a8565b9150611817602084016117c4565b6000806040838503121561190f578182fd5b611918836117a8565b946020939093013593505050565b600060208284031215611937578081fd5b6112a0826117c4565b600060208284031215611951578081fd5b81356112a081611bf7565b60006020828403121561196d578081fd5b81516112a081611bf7565b600060208284031215611989578081fd5b813567ffffffffffffffff81111561199f578182fd5b8201601f810184136119af578182fd5b61141e84823560208401611732565b6000602082840312156119cf578081fd5b5035919050565b600081518084526119ee816020860160208601611b1f565b601f01601f19169290920160200192915050565b60008351611a14818460208801611b1f565b835190830190611a28818360208801611b1f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a74908301846119d6565b9695505050505050565b6020815260006112a060208301846119d6565b60208082526012908201527145786365656473206d617820737570706c7960701b604082015260600190565b60008219821115611ad057611ad0611bb5565b500190565b600082611ae457611ae4611bcb565b500490565b6000816000190483118215151615611b0357611b03611bb5565b500290565b600082821015611b1a57611b1a611bb5565b500390565b60005b83811015611b3a578181015183820152602001611b22565b83811115610f665750506000910152565b600181811c90821680611b5f57607f821691505b60208210811415611b8057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b9a57611b9a611bb5565b5060010190565b600082611bb057611bb0611bcb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c5f57600080fdfea26469706673582212206d970a90460ba51c7b5f04be2719456d5d6cb2cf86ae17086563b91dc11ba94d64736f6c63430008040033

Deployed Bytecode Sourcemap

62295:3440:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32096:615;;;;;;;;;;-1:-1:-1;32096:615:0;;;;;:::i;:::-;;:::i;:::-;;;6430:14:1;;6423:22;6405:41;;6393:2;6378:18;32096:615:0;;;;;;;;62546:36;;;;;;;;;;;;;;;;;;;9876:25:1;;;9864:2;9849:18;62546:36:0;9831:76:1;37743:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39689:204::-;;;;;;;;;;-1:-1:-1;39689:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5728:32:1;;;5710:51;;5698:2;5683:18;39689:204:0;5665:102:1;39237:386:0;;;;;;;;;;-1:-1:-1;39237:386:0;;;;;:::i;:::-;;:::i;:::-;;65619:111;;;;;;;;;;-1:-1:-1;65619:111:0;;;;;:::i;:::-;;:::i;31150:315::-;;;;;;;;;;-1:-1:-1;64402:1:0;31416:12;31203:7;31400:13;:28;-1:-1:-1;;31400:46:0;31150:315;;62713:25;;;;;;;;;;-1:-1:-1;62713:25:0;;;;;;;;48954:2800;;;;;;;;;;-1:-1:-1;48954:2800:0;;;;;:::i;:::-;;:::i;62507:32::-;;;;;;;;;;;;;;;;64417:160;;;;;;;;;;;;;:::i;40579:185::-;;;;;;;;;;-1:-1:-1;40579:185:0;;;;;:::i;:::-;;:::i;62745:28::-;;;;;;;;;;-1:-1:-1;62745:28:0;;;;;;;;;;;64196:106;;;;;;;;;;-1:-1:-1;64196:106:0;;;;;:::i;:::-;;:::i;65169:92::-;;;;;;;;;;-1:-1:-1;65169:92:0;;;;;:::i;:::-;;:::i;62893:178::-;;;;;;;;;;-1:-1:-1;62893:178:0;;;;;:::i;:::-;;:::i;37532:144::-;;;;;;;;;;-1:-1:-1;37532:144:0;;;;;:::i;:::-;;:::i;32775:224::-;;;;;;;;;;-1:-1:-1;32775:224:0;;;;;:::i;:::-;;:::i;16687:103::-;;;;;;;;;;;;;:::i;63079:204::-;;;;;;;;;;-1:-1:-1;63079:204:0;;;;;:::i;:::-;;:::i;62625:35::-;;;;;;;;;;;;;;;;16039:87;;;;;;;;;;-1:-1:-1;16112:6:0;;-1:-1:-1;;;;;16112:6:0;16039:87;;65269:91;;;;;;;;;;-1:-1:-1;65269:91:0;;;;;:::i;:::-;;:::i;65066:95::-;;;;;;;;;;-1:-1:-1;65066:95:0;;;;;:::i;:::-;;:::i;37912:104::-;;;;;;;;;;;;;:::i;62667:39::-;;;;;;;;;;;;;;;;65368:113;;;;;;;;;;-1:-1:-1;65368:113:0;;;;;:::i;:::-;;:::i;63291:897::-;;;;;;:::i;:::-;;:::i;39965:308::-;;;;;;;;;;-1:-1:-1;39965:308:0;;;;;:::i;:::-;;:::i;40835:399::-;;;;;;;;;;-1:-1:-1;40835:399:0;;;;;:::i;:::-;;:::i;64591:341::-;;;;;;;;;;-1:-1:-1;64591:341:0;;;;;:::i;:::-;;:::i;62782:54::-;;;;;;;;;;-1:-1:-1;62782:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;62414:86;;;;;;;;;;;;;:::i;65489:122::-;;;;;;;;;;-1:-1:-1;65489:122:0;;;;;:::i;:::-;;:::i;40344:164::-;;;;;;;;;;-1:-1:-1;40344:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;40465:25:0;;;40441:4;40465:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40344:164;16945:201;;;;;;;;;;-1:-1:-1;16945:201:0;;;;;:::i;:::-;;:::i;62589:29::-;;;;;;;;;;;;;;;;32096:615;32181:4;-1:-1:-1;;;;;;;;;32481:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;32558:25:0;;;32481:102;:179;;;-1:-1:-1;;;;;;;;;;32635:25:0;;;32481:179;32461:199;32096:615;-1:-1:-1;;32096:615:0:o;37743:100::-;37797:13;37830:5;37823:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37743:100;:::o;39689:204::-;39757:7;39782:16;39790:7;39782;:16::i;:::-;39777:64;;39807:34;;-1:-1:-1;;;39807:34:0;;;;;;;;;;;39777:64;-1:-1:-1;39861:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39861:24:0;;39689:204::o;39237:386::-;39310:13;39326:16;39334:7;39326;:16::i;:::-;39310:32;-1:-1:-1;60137:10:0;-1:-1:-1;;;;;39359:28:0;;;39355:175;;39407:44;39424:5;60137:10;40344:164;:::i;39407:44::-;39402:128;;39479:35;;-1:-1:-1;;;39479:35:0;;;;;;;;;;;39402:128;39542:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39542:29:0;-1:-1:-1;;;;;39542:29:0;;;;;;;;;39587:28;;39542:24;;39587:28;;;;;;;39237:386;;;:::o;65619:111::-;15925:13;:11;:13::i;:::-;65697:15:::1;:25:::0;65619:111::o;48954:2800::-;49088:27;49118;49137:7;49118:18;:27::i;:::-;49088:57;;49203:4;-1:-1:-1;;;;;49162:45:0;49178:19;-1:-1:-1;;;;;49162:45:0;;49158:86;;49216:28;;-1:-1:-1;;;49216:28:0;;;;;;;;;;;49158:86;49258:27;47684:21;;;47511:15;47726:4;47719:36;47808:4;47792:21;;47898:26;;60137:10;48651:30;;;-1:-1:-1;;;;;48349:26:0;;48630:19;;;48627:55;49437:174;;49524:43;49541:4;60137:10;40344:164;:::i;49524:43::-;49519:92;;49576:35;;-1:-1:-1;;;49576:35:0;;;;;;;;;;;49519:92;-1:-1:-1;;;;;49628:16:0;;49624:52;;49653:23;;-1:-1:-1;;;49653:23:0;;;;;;;;;;;49624:52;49825:15;49822:2;;;49965:1;49944:19;49937:30;49822:2;-1:-1:-1;;;;;50360:24:0;;;;;;;:18;:24;;;;;;50358:26;;-1:-1:-1;;50358:26:0;;;50429:22;;;;;;;;;50427:24;;-1:-1:-1;50427:24:0;;;37431:11;37407:22;37403:40;37390:62;-1:-1:-1;;;37390:62:0;50722:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;51016:46:0;;51012:626;;51120:1;51110:11;;51088:19;51243:30;;;:17;:30;;;;;;51239:384;;51381:13;;51366:11;:28;51362:242;;51528:30;;;;:17;:30;;;;;:52;;;51362:242;51012:626;;51685:7;51681:2;-1:-1:-1;;;;;51666:27:0;51675:4;-1:-1:-1;;;;;51666:27:0;;;;;;;;;;;48954:2800;;;;;;:::o;64417:160::-;15925:13;:11;:13::i;:::-;12964:1:::1;13562:7;;:19;;13554:63;;;::::0;-1:-1:-1;;;13554:63:0;;9572:2:1;13554:63:0::1;::::0;::::1;9554:21:1::0;9611:2;9591:18;;;9584:30;9650:33;9630:18;;;9623:61;9701:18;;13554:63:0::1;;;;;;;;;12964:1;13695:7;:18:::0;64479:7:::2;64500;16112:6:::0;;-1:-1:-1;;;;;16112:6:0;;16039:87;64500:7:::2;-1:-1:-1::0;;;;;64492:21:0::2;64521;64492:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64478:69;;;64566:2;64558:11;;;::::0;::::2;;-1:-1:-1::0;12920:1:0::1;13874:7;:22:::0;64417:160::o;40579:185::-;40717:39;40734:4;40740:2;40744:7;40717:39;;;;;;;;;;;;:16;:39::i;:::-;40579:185;;;:::o;64196:106::-;15925:13;:11;:13::i;:::-;64272:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64196:106:::0;:::o;65169:92::-;15925:13;:11;:13::i;:::-;65237:6:::1;:16:::0;;-1:-1:-1;;65237:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65169:92::o;62893:178::-;15925:13;:11;:13::i;:::-;62999:10:::1;;62989:6;62972:14;31610:7:::0;31798:13;-1:-1:-1;;31798:31:0;;31563:285;62972:14:::1;:23;;;;:::i;:::-;:37;;62959:81;;;;-1:-1:-1::0;;;62959:81:0::1;;;;;;;:::i;:::-;63045:21;63055:2;63059:6;63045:9;:21::i;37532:144::-:0;37596:7;37639:27;37658:7;37639:18;:27::i;32775:224::-;32839:7;-1:-1:-1;;;;;32863:19:0;;32859:60;;32891:28;;-1:-1:-1;;;32891:28:0;;;;;;;;;;;32859:60;-1:-1:-1;;;;;;32937:25:0;;;;;:18;:25;;;;;;27330:13;32937:54;;32775:224::o;16687:103::-;15925:13;:11;:13::i;:::-;16752:30:::1;16779:1;16752:18;:30::i;:::-;16687:103::o:0;63079:204::-;15925:13;:11;:13::i;:::-;63194:10:::1;;63184:6;63167:14;31610:7:::0;31798:13;-1:-1:-1;;31798:31:0;;31563:285;63167:14:::1;:23;;;;:::i;:::-;:37;;63154:81;;;;-1:-1:-1::0;;;63154:81:0::1;;;;;;;:::i;:::-;63246:29;63256:10;63268:6;63246:9;:29::i;:::-;63079:204:::0;:::o;65269:91::-;15925:13;:11;:13::i;:::-;65338:5:::1;:14:::0;65269:91::o;65066:95::-;15925:13;:11;:13::i;:::-;65133:8:::1;:20:::0;;;::::1;;;;-1:-1:-1::0;;65133:20:0;;::::1;::::0;;;::::1;::::0;;65066:95::o;37912:104::-;37968:13;38001:7;37994:14;;;;;:::i;65368:113::-;15925:13;:11;:13::i;:::-;65454:10:::1;:19:::0;65368:113::o;63291:897::-;63376:10;;63366:6;:20;;63358:65;;;;-1:-1:-1;;;63358:65:0;;7290:2:1;63358:65:0;;;7272:21:1;7329:2;7309:18;;;7302:30;7368:34;7348:18;;;7341:62;-1:-1:-1;;;7419:18:1;;;7412:31;7460:19;;63358:65:0;7262:223:1;63358:65:0;63463:10;;63453:6;63436:14;31610:7;31798:13;-1:-1:-1;;31798:31:0;;31563:285;63436:14;:23;;;;:::i;:::-;:37;;63428:67;;;;-1:-1:-1;;;63428:67:0;;;;;;;:::i;:::-;63514:6;;;;63506:43;;;;-1:-1:-1;;;63506:43:0;;8803:2:1;63506:43:0;;;8785:21:1;8842:2;8822:18;;;8815:30;8881:26;8861:18;;;8854:54;8925:18;;63506:43:0;8775:174:1;63506:43:0;63630:10;63560:16;63610:31;;;:19;:31;;;;;;63664:19;;63579:6;;63610:31;63655:28;;:62;;;;-1:-1:-1;63702:15:0;;31610:7;31798:13;-1:-1:-1;;31798:31:0;63687:30;63655:62;63652:339;;;63734:23;63782:6;63760:19;;:28;;;;:::i;:::-;63734:54;;63815:18;63806:6;:27;63803:177;;;63868:27;63877:18;63868:6;:27;:::i;:::-;63854:41;;63803:177;;;63963:1;63949:15;;63803:177;63652:339;;64037:5;;64023:19;;:11;:19;:::i;:::-;64010:9;:32;;63997:92;;;;-1:-1:-1;;;63997:92:0;;8039:2:1;63997:92:0;;;8021:21:1;8078:2;8058:18;;;8051:30;8117:34;8097:18;;;8090:62;-1:-1:-1;;;8168:18:1;;;8161:32;8210:19;;63997:92:0;8011:224:1;63997:92:0;64117:10;64097:31;;;;:19;:31;;;;;:41;;64132:6;;64097:31;:41;;64132:6;;64097:41;:::i;:::-;;;;-1:-1:-1;64151:29:0;;-1:-1:-1;64161:10:0;64173:6;64151:9;:29::i;39965:308::-;-1:-1:-1;;;;;40064:31:0;;60137:10;40064:31;40060:61;;;40104:17;;-1:-1:-1;;;40104:17:0;;;;;;;;;;;40060:61;60137:10;40134:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;40134:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;40134:60:0;;;;;;;;;;40210:55;;6405:41:1;;;40134:49:0;;60137:10;40210:55;;6378:18:1;40210:55:0;;;;;;;39965:308;;:::o;40835:399::-;41002:31;41015:4;41021:2;41025:7;41002:12;:31::i;:::-;-1:-1:-1;;;;;41048:14:0;;;:19;41044:183;;41087:56;41118:4;41124:2;41128:7;41137:5;41087:30;:56::i;:::-;41082:145;;41171:40;;-1:-1:-1;;;41171:40:0;;;;;;;;;;;41082:145;40835:399;;;;:::o;64591:341::-;64665:13;64701:16;64709:7;64701;:16::i;:::-;64693:76;;;;-1:-1:-1;;;64693:76:0;;9156:2:1;64693:76:0;;;9138:21:1;9195:2;9175:18;;;9168:30;9234:34;9214:18;;;9207:62;-1:-1:-1;;;9285:18:1;;;9278:45;9340:19;;64693:76:0;9128:237:1;64693:76:0;64816:1;64795:10;:8;:10::i;:::-;64789:24;:28;:138;;64915:12;64789:138;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64858:10;:8;:10::i;:::-;64870:18;:7;:16;:18::i;:::-;64841:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64782:145;64591:341;-1:-1:-1;;64591:341:0:o;62414:86::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65489:122::-;15925:13;:11;:13::i;:::-;65575:19:::1;:28:::0;65489:122::o;16945:201::-;15925:13;:11;:13::i;:::-;-1:-1:-1;;;;;17034:22:0;::::1;17026:73;;;::::0;-1:-1:-1;;;17026:73:0;;6883:2:1;17026:73:0::1;::::0;::::1;6865:21:1::0;6922:2;6902:18;;;6895:30;6961:34;6941:18;;;6934:62;-1:-1:-1;;;7012:18:1;;;7005:36;7058:19;;17026:73:0::1;6855:228:1::0;17026:73:0::1;17110:28;17129:8;17110:18;:28::i;41489:273::-:0;41546:4;41602:7;64402:1;41583:26;;:66;;;;;41636:13;;41626:7;:23;41583:66;:152;;;;-1:-1:-1;;41687:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;41687:43:0;:48;;41489:273::o;16204:132::-;16112:6;;-1:-1:-1;;;;;16112:6:0;60137:10;16268:23;16260:68;;;;-1:-1:-1;;;16260:68:0;;8442:2:1;16260:68:0;;;8424:21:1;;;8461:18;;;8454:30;8520:34;8500:18;;;8493:62;8572:18;;16260:68:0;8414:182:1;34449:1129:0;34516:7;34551;;64402:1;34600:23;34596:915;;34653:13;;34646:4;:20;34642:869;;;34691:14;34708:23;;;:17;:23;;;;;;-1:-1:-1;;;34797:23:0;;34793:699;;35316:113;35323:11;35316:113;;-1:-1:-1;;;35394:6:0;35376:25;;;;:17;:25;;;;;;35316:113;;;35462:6;34449:1129;-1:-1:-1;;;34449:1129:0:o;34793:699::-;34642:869;;35539:31;;-1:-1:-1;;;35539:31:0;;;;;;;;;;;41846:104;41915:27;41925:2;41929:8;41915:27;;;;;;;;;;;;:9;:27::i;17306:191::-;17399:6;;;-1:-1:-1;;;;;17416:17:0;;;-1:-1:-1;;;;;;17416:17:0;;;;;;;17449:40;;17399:6;;;17416:17;17399:6;;17449:40;;17380:16;;17449:40;17306:191;;:::o;55705:716::-;55889:88;;-1:-1:-1;;;55889:88:0;;55868:4;;-1:-1:-1;;;;;55889:45:0;;;;;:88;;60137:10;;55956:4;;55962:7;;55971:5;;55889:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55889:88:0;;;;;;;;-1:-1:-1;;55889:88:0;;;;;;;;;;;;:::i;:::-;;;55885:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56172:13:0;;56168:235;;56218:40;;-1:-1:-1;;;56218:40:0;;;;;;;;;;;56168:235;56361:6;56355:13;56346:6;56342:2;56338:15;56331:38;55885:529;-1:-1:-1;;;;;;56048:64:0;-1:-1:-1;;;56048:64:0;;-1:-1:-1;55885:529:0;55705:716;;;;;;:::o;64940:118::-;65000:13;65038:12;65031:19;;;;;:::i;532:723::-;588:13;809:10;805:53;;-1:-1:-1;;836:10:0;;;;;;;;;;;;-1:-1:-1;;;836:10:0;;;;;532:723::o;805:53::-;883:5;868:12;924:78;931:9;;924:78;;957:8;;;;:::i;:::-;;-1:-1:-1;980:10:0;;-1:-1:-1;988:2:0;980:10;;:::i;:::-;;;924:78;;;1012:19;1044:6;1034:17;;;;;;-1:-1:-1;;;1034:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1034:17:0;;1012:39;;1062:154;1069:10;;1062:154;;1096:11;1106:1;1096:11;;:::i;:::-;;-1:-1:-1;1165:10:0;1173:2;1165:5;:10;:::i;:::-;1152:24;;:2;:24;:::i;:::-;1139:39;;1122:6;1129;1122:14;;;;;;-1:-1:-1;;;1122:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;1122:56:0;;;;;;;;-1:-1:-1;1193:11:0;1202:2;1193:11;;:::i;:::-;;;1062:154;;42366:681;42489:19;42495:2;42499:8;42489:5;:19::i;:::-;-1:-1:-1;;;;;42550:14:0;;;:19;42546:483;;42590:11;42604:13;42652:14;;;42685:233;42716:62;42755:1;42759:2;42763:7;;;;;;42772:5;42716:30;:62::i;:::-;42711:167;;42814:40;;-1:-1:-1;;;42814:40:0;;;;;;;;;;;42711:167;42913:3;42905:5;:11;42685:233;;43000:3;42983:13;;:20;42979:34;;43005:8;;;42979:34;42546:483;;42366:681;;;:::o;43320:1529::-;43385:20;43408:13;-1:-1:-1;;;;;43436:16:0;;43432:48;;43461:19;;-1:-1:-1;;;43461:19:0;;;;;;;;;;;43432:48;43495:13;43491:44;;43517:18;;-1:-1:-1;;;43517:18:0;;;;;;;;;;;43491:44;-1:-1:-1;;;;;44023:22:0;;;;;;:18;:22;;27467:2;44023:22;;:70;;44061:31;44049:44;;44023:70;;;37431:11;37407:22;37403:40;-1:-1:-1;39141:15:0;;39116:23;39112:45;37400:51;37390:62;44336:31;;;;:17;:31;;;;;:173;44354:12;44585:23;;;44623:101;44650:35;;44675:9;;;;;-1:-1:-1;;;;;44650:35:0;;;44667:1;;44650:35;;44667:1;;44650:35;44719:3;44709:7;:13;44623:101;;44740:13;:19;-1:-1:-1;40579:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:2;;978:1;975;968:12;993:196;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:2;;;1126:6;1118;1111:22;1073:2;1154:29;1173:9;1154:29;:::i;1194:270::-;1262:6;1270;1323:2;1311:9;1302:7;1298:23;1294:32;1291:2;;;1344:6;1336;1329:22;1291:2;1372:29;1391:9;1372:29;:::i;:::-;1362:39;;1420:38;1454:2;1443:9;1439:18;1420:38;:::i;:::-;1410:48;;1281:183;;;;;:::o;1469:338::-;1546:6;1554;1562;1615:2;1603:9;1594:7;1590:23;1586:32;1583:2;;;1636:6;1628;1621:22;1583:2;1664:29;1683:9;1664:29;:::i;:::-;1654:39;;1712:38;1746:2;1735:9;1731:18;1712:38;:::i;:::-;1702:48;;1797:2;1786:9;1782:18;1769:32;1759:42;;1573:234;;;;;:::o;1812:696::-;1907:6;1915;1923;1931;1984:3;1972:9;1963:7;1959:23;1955:33;1952:2;;;2006:6;1998;1991:22;1952:2;2034:29;2053:9;2034:29;:::i;:::-;2024:39;;2082:38;2116:2;2105:9;2101:18;2082:38;:::i;:::-;2072:48;;2167:2;2156:9;2152:18;2139:32;2129:42;;2222:2;2211:9;2207:18;2194:32;2249:18;2241:6;2238:30;2235:2;;;2286:6;2278;2271:22;2235:2;2314:22;;2367:4;2359:13;;2355:27;-1:-1:-1;2345:2:1;;2401:6;2393;2386:22;2345:2;2429:73;2494:7;2489:2;2476:16;2471:2;2467;2463:11;2429:73;:::i;:::-;2419:83;;;1942:566;;;;;;;:::o;2513:264::-;2578:6;2586;2639:2;2627:9;2618:7;2614:23;2610:32;2607:2;;;2660:6;2652;2645:22;2607:2;2688:29;2707:9;2688:29;:::i;:::-;2678:39;;2736:35;2767:2;2756:9;2752:18;2736:35;:::i;2782:264::-;2850:6;2858;2911:2;2899:9;2890:7;2886:23;2882:32;2879:2;;;2932:6;2924;2917:22;2879:2;2960:29;2979:9;2960:29;:::i;:::-;2950:39;3036:2;3021:18;;;;3008:32;;-1:-1:-1;;;2869:177:1:o;3051:190::-;3107:6;3160:2;3148:9;3139:7;3135:23;3131:32;3128:2;;;3181:6;3173;3166:22;3128:2;3209:26;3225:9;3209:26;:::i;3246:255::-;3304:6;3357:2;3345:9;3336:7;3332:23;3328:32;3325:2;;;3378:6;3370;3363:22;3325:2;3422:9;3409:23;3441:30;3465:5;3441:30;:::i;3506:259::-;3575:6;3628:2;3616:9;3607:7;3603:23;3599:32;3596:2;;;3649:6;3641;3634:22;3596:2;3686:9;3680:16;3705:30;3729:5;3705:30;:::i;3770:480::-;3839:6;3892:2;3880:9;3871:7;3867:23;3863:32;3860:2;;;3913:6;3905;3898:22;3860:2;3958:9;3945:23;3991:18;3983:6;3980:30;3977:2;;;4028:6;4020;4013:22;3977:2;4056:22;;4109:4;4101:13;;4097:27;-1:-1:-1;4087:2:1;;4143:6;4135;4128:22;4087:2;4171:73;4236:7;4231:2;4218:16;4213:2;4209;4205:11;4171:73;:::i;4255:190::-;4314:6;4367:2;4355:9;4346:7;4342:23;4338:32;4335:2;;;4388:6;4380;4373:22;4335:2;-1:-1:-1;4416:23:1;;4325:120;-1:-1:-1;4325:120:1:o;4450:257::-;4491:3;4529:5;4523:12;4556:6;4551:3;4544:19;4572:63;4628:6;4621:4;4616:3;4612:14;4605:4;4598:5;4594:16;4572:63;:::i;:::-;4689:2;4668:15;-1:-1:-1;;4664:29:1;4655:39;;;;4696:4;4651:50;;4499:208;-1:-1:-1;;4499:208:1:o;4712:637::-;4992:3;5030:6;5024:13;5046:53;5092:6;5087:3;5080:4;5072:6;5068:17;5046:53;:::i;:::-;5162:13;;5121:16;;;;5184:57;5162:13;5121:16;5218:4;5206:17;;5184:57;:::i;:::-;-1:-1:-1;;;5263:20:1;;5292:22;;;5341:1;5330:13;;5000:349;-1:-1:-1;;;;5000:349:1:o;5772:488::-;-1:-1:-1;;;;;6041:15:1;;;6023:34;;6093:15;;6088:2;6073:18;;6066:43;6140:2;6125:18;;6118:34;;;6188:3;6183:2;6168:18;;6161:31;;;5966:4;;6209:45;;6234:19;;6226:6;6209:45;:::i;:::-;6201:53;5975:285;-1:-1:-1;;;;;;5975:285:1:o;6457:219::-;6606:2;6595:9;6588:21;6569:4;6626:44;6666:2;6655:9;6651:18;6643:6;6626:44;:::i;7490:342::-;7692:2;7674:21;;;7731:2;7711:18;;;7704:30;-1:-1:-1;;;7765:2:1;7750:18;;7743:48;7823:2;7808:18;;7664:168::o;9912:128::-;9952:3;9983:1;9979:6;9976:1;9973:13;9970:2;;;9989:18;;:::i;:::-;-1:-1:-1;10025:9:1;;9960:80::o;10045:120::-;10085:1;10111;10101:2;;10116:18;;:::i;:::-;-1:-1:-1;10150:9:1;;10091:74::o;10170:168::-;10210:7;10276:1;10272;10268:6;10264:14;10261:1;10258:21;10253:1;10246:9;10239:17;10235:45;10232:2;;;10283:18;;:::i;:::-;-1:-1:-1;10323:9:1;;10222:116::o;10343:125::-;10383:4;10411:1;10408;10405:8;10402:2;;;10416:18;;:::i;:::-;-1:-1:-1;10453:9:1;;10392:76::o;10473:258::-;10545:1;10555:113;10569:6;10566:1;10563:13;10555:113;;;10645:11;;;10639:18;10626:11;;;10619:39;10591:2;10584:10;10555:113;;;10686:6;10683:1;10680:13;10677:2;;;-1:-1:-1;;10721:1:1;10703:16;;10696:27;10526:205::o;10736:380::-;10815:1;10811:12;;;;10858;;;10879:2;;10933:4;10925:6;10921:17;10911:27;;10879:2;10986;10978:6;10975:14;10955:18;10952:38;10949:2;;;11032:10;11027:3;11023:20;11020:1;11013:31;11067:4;11064:1;11057:15;11095:4;11092:1;11085:15;10949:2;;10791:325;;;:::o;11121:135::-;11160:3;-1:-1:-1;;11181:17:1;;11178:2;;;11201:18;;:::i;:::-;-1:-1:-1;11248:1:1;11237:13;;11168:88::o;11261:112::-;11293:1;11319;11309:2;;11324:18;;:::i;:::-;-1:-1:-1;11358:9:1;;11299:74::o;11378:127::-;11439:10;11434:3;11430:20;11427:1;11420:31;11470:4;11467:1;11460:15;11494:4;11491:1;11484:15;11510:127;11571:10;11566:3;11562:20;11559:1;11552:31;11602:4;11599:1;11592:15;11626:4;11623:1;11616:15;11642:127;11703:10;11698:3;11694:20;11691:1;11684:31;11734:4;11731:1;11724:15;11758:4;11755:1;11748:15;11774:131;-1:-1:-1;;;;;;11848:32:1;;11838:43;;11828:2;;11895:1;11892;11885:12

Swarm Source

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