APE Price: $1.09 (-1.72%)

Elon Punk Yacht Club (EPYC)

Overview

TokenID

0

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ELON

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2025-01-05
*/

// 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: contract.sol


pragma solidity ^0.8.7;

contract ELON is ERC721A, Ownable, ReentrancyGuard {
  using Address for address;
  using Strings for uint;

  string  public  baseTokenURI = "ipfs://bafybeib4uljexx6sbnv7umne27bgbfimue42pkaz7sw7gle55bkfniwlsm";
  bool public isPublicSaleActive = true;

  uint256 public  maxSupply = 6666;
  uint256 public  MAX_MINTS_PER_TX = 100;
  uint256 public  PUBLIC_SALE_PRICE = 0.5 ether;
  uint256 public  NUM_FREE_MINTS = 10;
  uint256 public  MAX_FREE_PER_WALLET = 1;
  uint256 public  freeNFTAlreadyMinted = 0;

  constructor() ERC721A("Elon Punk Yacht Club", "EPYC") {}

  function mint(uint256 numberOfTokens) external payable
  {
    require(isPublicSaleActive, "Public sale is paused.");
    require(totalSupply() + numberOfTokens < maxSupply + 1, "Maximum supply exceeded.");

    require(numberOfTokens <= MAX_MINTS_PER_TX, "Maximum mints per transaction exceeded.");

    if(freeNFTAlreadyMinted + numberOfTokens > NUM_FREE_MINTS)
    {
        require(PUBLIC_SALE_PRICE * numberOfTokens <= msg.value, "Invalid ETH value sent. Error Code: 1");
    } 
    else 
    {
        uint sender_balance = balanceOf(msg.sender);
        
        if (sender_balance + numberOfTokens > MAX_FREE_PER_WALLET) 
        { 
            if (sender_balance < MAX_FREE_PER_WALLET)
            {
                uint free_available = MAX_FREE_PER_WALLET - sender_balance;
                uint to_be_paid = numberOfTokens - free_available;
                require(PUBLIC_SALE_PRICE * to_be_paid <= msg.value, "Invalid ETH value sent. Error Code: 2");

                freeNFTAlreadyMinted += free_available;
            }
            else
            {
                require(PUBLIC_SALE_PRICE * numberOfTokens <= msg.value, "Invalid ETH value sent. Error Code: 3");
            }
        }  
        else 
        {
            require(numberOfTokens <= MAX_FREE_PER_WALLET, "Maximum mints per transaction exceeded");
            freeNFTAlreadyMinted += numberOfTokens;
        }
    }

    _safeMint(msg.sender, numberOfTokens);
  }

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

  function treasuryMint(uint quantity)
    public
    onlyOwner
  {
    require(quantity > 0, "Invalid mint amount");
    require(totalSupply() + quantity <= maxSupply, "Maximum supply exceeded");

    _safeMint(msg.sender, quantity);
  }

  function withdraw()
    public
    onlyOwner
    nonReentrant
  {
    Address.sendValue(payable(msg.sender), address(this).balance);
  }

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

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

  function getIsPublicSaleActive() 
    public
    view 
    returns (bool) {
      return isPublicSaleActive;
  }

  function getFreeNftAlreadyMinted() 
    public
    view 
    returns (uint256) {
      return freeNFTAlreadyMinted;
  }

  function setIsPublicSaleActive(bool _isPublicSaleActive)
      external
      onlyOwner
  {
      isPublicSaleActive = _isPublicSaleActive;
  }

  function setNumFreeMints(uint256 _numfreemints)
      external
      onlyOwner
  {
      NUM_FREE_MINTS = _numfreemints;
  }

  function getSalePrice()
  public
  view
  returns (uint256)
  {
    return PUBLIC_SALE_PRICE;
  }

  function setSalePrice(uint256 _price)
      external
      onlyOwner
  {
      PUBLIC_SALE_PRICE = _price;
  }

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

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

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_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_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":[],"name":"freeNFTAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFreeNftAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIsPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"setFreeLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040526042608081815290611fe360a039600a9061002090826101d1565b50600b805460ff19166001908117909155611a0a600c556064600d556706f05b59d3b20000600e55600a600f556010555f60115534801561005f575f80fd5b506040518060400160405280601481526020017f456c6f6e2050756e6b20596163687420436c7562000000000000000000000000815250604051806040016040528060048152602001634550594360e01b81525081600290816100c291906101d1565b5060036100cf82826101d1565b50505f8055506100de336100e8565b600160095561028b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061016157607f821691505b60208210810361017f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101cc57805f5260205f20601f840160051c810160208510156101aa5750805b601f840160051c820191505b818110156101c9575f81556001016101b6565b50505b505050565b81516001600160401b038111156101ea576101ea610139565b6101fe816101f8845461014d565b84610185565b6020601f821160018114610230575f83156102195750848201515b5f19600385901b1c1916600184901b1784556101c9565b5f84815260208120601f198516915b8281101561025f578785015182556020948501946001909201910161023f565b508482101561027c57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611d4b806102985f395ff3fe608060405260043610610212575f3560e01c806370a082311161011e578063a0712d68116100a8578063d547cfb71161006d578063d547cfb7146105a8578063d5abeb01146105bc578063e985e9c5146105d1578063efdc7788146105f0578063f2fde38b1461060f575f80fd5b8063a0712d6814610523578063a22cb46514610536578063b88d4fde14610555578063c6a91b4214610574578063c87b56dd14610589575f80fd5b80638da5cb5b116100ee5780638da5cb5b146104a957806395d89b41146104c6578063982d669e146104da57806398710d1e146104ef5780639e9fcffc14610504575f80fd5b806370a082311461044b578063715018a61461046a5780638bc9a4c61461047e5780638d87caff14610495575f80fd5b80631e84c4131161019f5780632fbc0bf11161016f5780632fbc0bf1146103c65780633ccfd60b146103da57806342842e0e146103ee57806355f804b31461040d5780636352211e1461042c575f80fd5b80631e84c41314610350578063202f298a1461036957806323b872dd1461038857806328cad13d146103a7575f80fd5b8063095ea7b3116101e5578063095ea7b3146102c55780630a00ae83146102e657806318160ddd146103055780631919fed71461031c578063193ad7b41461033b575f80fd5b806301ffc9a71461021657806306fdde031461024a57806307e89ec01461026b578063081812fc1461028e575b5f80fd5b348015610221575f80fd5b50610235610230366004611766565b61062e565b60405190151581526020015b60405180910390f35b348015610255575f80fd5b5061025e61067f565b60405161024191906117af565b348015610276575f80fd5b50610280600e5481565b604051908152602001610241565b348015610299575f80fd5b506102ad6102a83660046117c1565b61070f565b6040516001600160a01b039091168152602001610241565b3480156102d0575f80fd5b506102e46102df3660046117f3565b610751565b005b3480156102f1575f80fd5b506102e46103003660046117c1565b6107ef565b348015610310575f80fd5b506001545f5403610280565b348015610327575f80fd5b506102e46103363660046117c1565b6107fc565b348015610346575f80fd5b5061028060115481565b34801561035b575f80fd5b50600b546102359060ff1681565b348015610374575f80fd5b506102e46103833660046117c1565b610809565b348015610393575f80fd5b506102e46103a236600461181b565b610816565b3480156103b2575f80fd5b506102e46103c1366004611864565b6109a5565b3480156103d1575f80fd5b50600e54610280565b3480156103e5575f80fd5b506102e46109c0565b3480156103f9575f80fd5b506102e461040836600461181b565b610a35565b348015610418575f80fd5b506102e4610427366004611908565b610a54565b348015610437575f80fd5b506102ad6104463660046117c1565b610a6c565b348015610456575f80fd5b5061028061046536600461194d565b610a76565b348015610475575f80fd5b506102e4610ac3565b348015610489575f80fd5b50600b5460ff16610235565b3480156104a0575f80fd5b50601154610280565b3480156104b4575f80fd5b506008546001600160a01b03166102ad565b3480156104d1575f80fd5b5061025e610ad6565b3480156104e5575f80fd5b50610280600f5481565b3480156104fa575f80fd5b5061028060105481565b34801561050f575f80fd5b506102e461051e3660046117c1565b610ae5565b6102e46105313660046117c1565b610af2565b348015610541575f80fd5b506102e4610550366004611966565b610e60565b348015610560575f80fd5b506102e461056f366004611997565b610ef4565b34801561057f575f80fd5b50610280600d5481565b348015610594575f80fd5b5061025e6105a33660046117c1565b610f3e565b3480156105b3575f80fd5b5061025e610fdf565b3480156105c7575f80fd5b50610280600c5481565b3480156105dc575f80fd5b506102356105eb366004611a0e565b61106b565b3480156105fb575f80fd5b506102e461060a3660046117c1565b611098565b34801561061a575f80fd5b506102e461062936600461194d565b61114d565b5f6301ffc9a760e01b6001600160e01b03198316148061065e57506380ac58cd60e01b6001600160e01b03198316145b806106795750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461068e90611a36565b80601f01602080910402602001604051908101604052809291908181526020018280546106ba90611a36565b80156107055780601f106106dc57610100808354040283529160200191610705565b820191905f5260205f20905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b5f610719826111c3565b610736576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61075b82610a6c565b9050336001600160a01b0382161461079457610777813361106b565b610794576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107f76111e8565b600f55565b6108046111e8565b600e55565b6108116111e8565b601055565b5f61082082611242565b9050836001600160a01b0316816001600160a01b0316146108535760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b0388169091141761089f57610882863361106b565b61089f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108c657604051633a954ecd60e21b815260040160405180910390fd5b80156108d0575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361095c57600184015f81815260046020526040812054900361095a575f54811461095a575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109ad6111e8565b600b805460ff1916911515919091179055565b6109c86111e8565b600260095403610a1f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610a2e33476112aa565b6001600955565b610a4f83838360405180602001604052805f815250610ef4565b505050565b610a5c6111e8565b600a610a688282611ab2565b5050565b5f61067982611242565b5f6001600160a01b038216610a9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610acb6111e8565b610ad45f6113bf565b565b60606003805461068e90611a36565b610aed6111e8565b600d55565b600b5460ff16610b3d5760405162461bcd60e51b8152602060048201526016602482015275283ab13634b19039b0b6329034b9903830bab9b2b21760511b6044820152606401610a16565b600c54610b4b906001611b81565b81610b586001545f540390565b610b629190611b81565b10610baf5760405162461bcd60e51b815260206004820152601860248201527f4d6178696d756d20737570706c792065786365656465642e00000000000000006044820152606401610a16565b600d54811115610c115760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d206d696e747320706572207472616e73616374696f6e20657860448201526631b2b2b232b21760c91b6064820152608401610a16565b600f5481601154610c229190611b81565b1115610c98573481600e54610c379190611b94565b1115610c935760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526464653a203160d81b6064820152608401610a16565b610e53565b5f610ca233610a76565b601054909150610cb28383611b81565b1115610dd957601054811015610d69575f81601054610cd19190611bab565b90505f610cde8285611bab565b90503481600e54610cef9190611b94565b1115610d4b5760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526432329d101960d91b6064820152608401610a16565b8160115f828254610d5c9190611b81565b90915550610e5192505050565b3482600e54610d789190611b94565b1115610dd45760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526464653a203360d81b6064820152608401610a16565b610e51565b601054821115610e3a5760405162461bcd60e51b815260206004820152602660248201527f4d6178696d756d206d696e747320706572207472616e73616374696f6e20657860448201526518d95959195960d21b6064820152608401610a16565b8160115f828254610e4b9190611b81565b90915550505b505b610e5d3382611410565b50565b336001600160a01b03831603610e895760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eff848484610816565b6001600160a01b0383163b15610f3857610f1b84848484611429565b610f38576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f49826111c3565b610fad5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a16565b600a610fb883611511565b604051602001610fc9929190611bbe565b6040516020818303038152906040529050919050565b600a8054610fec90611a36565b80601f016020809104026020016040519081016040528092919081815260200182805461101890611a36565b80156110635780601f1061103a57610100808354040283529160200191611063565b820191905f5260205f20905b81548152906001019060200180831161104657829003601f168201915b505050505081565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6110a06111e8565b5f81116110e55760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a16565b600c54816110f56001545f540390565b6110ff9190611b81565b1115610e535760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610a16565b6111556111e8565b6001600160a01b0381166111ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a16565b610e5d816113bf565b5f8054821080156106795750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ad45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a16565b5f815f54811015611291575f8181526004602052604081205490600160e01b8216900361128f575b805f0361128857505f19015f8181526004602052604090205461126a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156112fa5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a16565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611343576040519150601f19603f3d011682016040523d82523d5f602084013e611348565b606091505b5050905080610a4f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a16565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610a68828260405180602001604052805f81525061160e565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061145d903390899088908890600401611c58565b6020604051808303815f875af1925050508015611497575060408051601f3d908101601f1916820190925261149491810190611c94565b60015b6114f3573d8080156114c4576040519150601f19603f3d011682016040523d82523d5f602084013e6114c9565b606091505b5080515f036114eb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f036115375750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611560578061154a81611caf565b91506115599050600a83611cdb565b915061153a565b5f8167ffffffffffffffff81111561157a5761157a61187d565b6040519080825280601f01601f1916602001820160405280156115a4576020820181803683370190505b5090505b8415611509576115b9600183611bab565b91506115c6600a86611cee565b6115d1906030611b81565b60f81b8183815181106115e6576115e6611d01565b60200101906001600160f81b03191690815f1a905350611607600a86611cdb565b94506115a8565b6116188383611677565b6001600160a01b0383163b15610a4f575f548281035b6116405f868380600101945086611429565b61165d576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162e57815f5414611670575f80fd5b5050505050565b5f546001600160a01b03831661169f57604051622e076360e81b815260040160405180910390fd5b815f036116bf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260046020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611707575f5550505050565b6001600160e01b031981168114610e5d575f80fd5b5f60208284031215611776575f80fd5b813561128881611751565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112886020830184611781565b5f602082840312156117d1575f80fd5b5035919050565b80356001600160a01b03811681146117ee575f80fd5b919050565b5f8060408385031215611804575f80fd5b61180d836117d8565b946020939093013593505050565b5f805f6060848603121561182d575f80fd5b611836846117d8565b9250611844602085016117d8565b929592945050506040919091013590565b803580151581146117ee575f80fd5b5f60208284031215611874575f80fd5b61128882611855565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156118ab576118ab61187d565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156118da576118da61187d565b6040528381529050808284018510156118f1575f80fd5b838360208301375f60208583010152509392505050565b5f60208284031215611918575f80fd5b813567ffffffffffffffff81111561192e575f80fd5b8201601f8101841361193e575f80fd5b61150984823560208401611891565b5f6020828403121561195d575f80fd5b611288826117d8565b5f8060408385031215611977575f80fd5b611980836117d8565b915061198e60208401611855565b90509250929050565b5f805f80608085870312156119aa575f80fd5b6119b3856117d8565b93506119c1602086016117d8565b925060408501359150606085013567ffffffffffffffff8111156119e3575f80fd5b8501601f810187136119f3575f80fd5b611a0287823560208401611891565b91505092959194509250565b5f8060408385031215611a1f575f80fd5b611a28836117d8565b915061198e602084016117d8565b600181811c90821680611a4a57607f821691505b602082108103611a6857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a4f57805f5260205f20601f840160051c81016020851015611a935750805b601f840160051c820191505b81811015611670575f8155600101611a9f565b815167ffffffffffffffff811115611acc57611acc61187d565b611ae081611ada8454611a36565b84611a6e565b6020601f821160018114611b12575f8315611afb5750848201515b5f19600385901b1c1916600184901b178455611670565b5f84815260208120601f198516915b82811015611b415787850151825560209485019460019092019101611b21565b5084821015611b5e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561067957610679611b6d565b808202811582820484141761067957610679611b6d565b8181038181111561067957610679611b6d565b5f808454611bcb81611a36565b600182168015611be25760018114611bf757611c24565b60ff1983168652811515820286019350611c24565b875f5260205f205f5b83811015611c1c57815488820152600190910190602001611c00565b505081860193505b505050602f60f81b815283518060208601600184015e64173539b7b760d91b91016001810191825260060195945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c8a90830184611781565b9695505050505050565b5f60208284031215611ca4575f80fd5b815161128881611751565b5f60018201611cc057611cc0611b6d565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f82611ce957611ce9611cc7565b500490565b5f82611cfc57611cfc611cc7565b500690565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220567426cfc809cca1276d1852a1bac625226ede08a99b4c382c230ea42eb668a064736f6c634300081a0033697066733a2f2f626166796265696234756c6a6578783673626e7637756d6e65323762676266696d75653432706b617a37737737676c653535626b666e69776c736d

Deployed Bytecode

0x608060405260043610610212575f3560e01c806370a082311161011e578063a0712d68116100a8578063d547cfb71161006d578063d547cfb7146105a8578063d5abeb01146105bc578063e985e9c5146105d1578063efdc7788146105f0578063f2fde38b1461060f575f80fd5b8063a0712d6814610523578063a22cb46514610536578063b88d4fde14610555578063c6a91b4214610574578063c87b56dd14610589575f80fd5b80638da5cb5b116100ee5780638da5cb5b146104a957806395d89b41146104c6578063982d669e146104da57806398710d1e146104ef5780639e9fcffc14610504575f80fd5b806370a082311461044b578063715018a61461046a5780638bc9a4c61461047e5780638d87caff14610495575f80fd5b80631e84c4131161019f5780632fbc0bf11161016f5780632fbc0bf1146103c65780633ccfd60b146103da57806342842e0e146103ee57806355f804b31461040d5780636352211e1461042c575f80fd5b80631e84c41314610350578063202f298a1461036957806323b872dd1461038857806328cad13d146103a7575f80fd5b8063095ea7b3116101e5578063095ea7b3146102c55780630a00ae83146102e657806318160ddd146103055780631919fed71461031c578063193ad7b41461033b575f80fd5b806301ffc9a71461021657806306fdde031461024a57806307e89ec01461026b578063081812fc1461028e575b5f80fd5b348015610221575f80fd5b50610235610230366004611766565b61062e565b60405190151581526020015b60405180910390f35b348015610255575f80fd5b5061025e61067f565b60405161024191906117af565b348015610276575f80fd5b50610280600e5481565b604051908152602001610241565b348015610299575f80fd5b506102ad6102a83660046117c1565b61070f565b6040516001600160a01b039091168152602001610241565b3480156102d0575f80fd5b506102e46102df3660046117f3565b610751565b005b3480156102f1575f80fd5b506102e46103003660046117c1565b6107ef565b348015610310575f80fd5b506001545f5403610280565b348015610327575f80fd5b506102e46103363660046117c1565b6107fc565b348015610346575f80fd5b5061028060115481565b34801561035b575f80fd5b50600b546102359060ff1681565b348015610374575f80fd5b506102e46103833660046117c1565b610809565b348015610393575f80fd5b506102e46103a236600461181b565b610816565b3480156103b2575f80fd5b506102e46103c1366004611864565b6109a5565b3480156103d1575f80fd5b50600e54610280565b3480156103e5575f80fd5b506102e46109c0565b3480156103f9575f80fd5b506102e461040836600461181b565b610a35565b348015610418575f80fd5b506102e4610427366004611908565b610a54565b348015610437575f80fd5b506102ad6104463660046117c1565b610a6c565b348015610456575f80fd5b5061028061046536600461194d565b610a76565b348015610475575f80fd5b506102e4610ac3565b348015610489575f80fd5b50600b5460ff16610235565b3480156104a0575f80fd5b50601154610280565b3480156104b4575f80fd5b506008546001600160a01b03166102ad565b3480156104d1575f80fd5b5061025e610ad6565b3480156104e5575f80fd5b50610280600f5481565b3480156104fa575f80fd5b5061028060105481565b34801561050f575f80fd5b506102e461051e3660046117c1565b610ae5565b6102e46105313660046117c1565b610af2565b348015610541575f80fd5b506102e4610550366004611966565b610e60565b348015610560575f80fd5b506102e461056f366004611997565b610ef4565b34801561057f575f80fd5b50610280600d5481565b348015610594575f80fd5b5061025e6105a33660046117c1565b610f3e565b3480156105b3575f80fd5b5061025e610fdf565b3480156105c7575f80fd5b50610280600c5481565b3480156105dc575f80fd5b506102356105eb366004611a0e565b61106b565b3480156105fb575f80fd5b506102e461060a3660046117c1565b611098565b34801561061a575f80fd5b506102e461062936600461194d565b61114d565b5f6301ffc9a760e01b6001600160e01b03198316148061065e57506380ac58cd60e01b6001600160e01b03198316145b806106795750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461068e90611a36565b80601f01602080910402602001604051908101604052809291908181526020018280546106ba90611a36565b80156107055780601f106106dc57610100808354040283529160200191610705565b820191905f5260205f20905b8154815290600101906020018083116106e857829003601f168201915b5050505050905090565b5f610719826111c3565b610736576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61075b82610a6c565b9050336001600160a01b0382161461079457610777813361106b565b610794576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6107f76111e8565b600f55565b6108046111e8565b600e55565b6108116111e8565b601055565b5f61082082611242565b9050836001600160a01b0316816001600160a01b0316146108535760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b0388169091141761089f57610882863361106b565b61089f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108c657604051633a954ecd60e21b815260040160405180910390fd5b80156108d0575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361095c57600184015f81815260046020526040812054900361095a575f54811461095a575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109ad6111e8565b600b805460ff1916911515919091179055565b6109c86111e8565b600260095403610a1f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955610a2e33476112aa565b6001600955565b610a4f83838360405180602001604052805f815250610ef4565b505050565b610a5c6111e8565b600a610a688282611ab2565b5050565b5f61067982611242565b5f6001600160a01b038216610a9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610acb6111e8565b610ad45f6113bf565b565b60606003805461068e90611a36565b610aed6111e8565b600d55565b600b5460ff16610b3d5760405162461bcd60e51b8152602060048201526016602482015275283ab13634b19039b0b6329034b9903830bab9b2b21760511b6044820152606401610a16565b600c54610b4b906001611b81565b81610b586001545f540390565b610b629190611b81565b10610baf5760405162461bcd60e51b815260206004820152601860248201527f4d6178696d756d20737570706c792065786365656465642e00000000000000006044820152606401610a16565b600d54811115610c115760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d206d696e747320706572207472616e73616374696f6e20657860448201526631b2b2b232b21760c91b6064820152608401610a16565b600f5481601154610c229190611b81565b1115610c98573481600e54610c379190611b94565b1115610c935760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526464653a203160d81b6064820152608401610a16565b610e53565b5f610ca233610a76565b601054909150610cb28383611b81565b1115610dd957601054811015610d69575f81601054610cd19190611bab565b90505f610cde8285611bab565b90503481600e54610cef9190611b94565b1115610d4b5760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526432329d101960d91b6064820152608401610a16565b8160115f828254610d5c9190611b81565b90915550610e5192505050565b3482600e54610d789190611b94565b1115610dd45760405162461bcd60e51b815260206004820152602560248201527f496e76616c6964204554482076616c75652073656e742e204572726f7220436f60448201526464653a203360d81b6064820152608401610a16565b610e51565b601054821115610e3a5760405162461bcd60e51b815260206004820152602660248201527f4d6178696d756d206d696e747320706572207472616e73616374696f6e20657860448201526518d95959195960d21b6064820152608401610a16565b8160115f828254610e4b9190611b81565b90915550505b505b610e5d3382611410565b50565b336001600160a01b03831603610e895760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eff848484610816565b6001600160a01b0383163b15610f3857610f1b84848484611429565b610f38576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f49826111c3565b610fad5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a16565b600a610fb883611511565b604051602001610fc9929190611bbe565b6040516020818303038152906040529050919050565b600a8054610fec90611a36565b80601f016020809104026020016040519081016040528092919081815260200182805461101890611a36565b80156110635780601f1061103a57610100808354040283529160200191611063565b820191905f5260205f20905b81548152906001019060200180831161104657829003601f168201915b505050505081565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6110a06111e8565b5f81116110e55760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610a16565b600c54816110f56001545f540390565b6110ff9190611b81565b1115610e535760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610a16565b6111556111e8565b6001600160a01b0381166111ba5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a16565b610e5d816113bf565b5f8054821080156106795750505f90815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610ad45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a16565b5f815f54811015611291575f8181526004602052604081205490600160e01b8216900361128f575b805f0361128857505f19015f8181526004602052604090205461126a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156112fa5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a16565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611343576040519150601f19603f3d011682016040523d82523d5f602084013e611348565b606091505b5050905080610a4f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a16565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610a68828260405180602001604052805f81525061160e565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061145d903390899088908890600401611c58565b6020604051808303815f875af1925050508015611497575060408051601f3d908101601f1916820190925261149491810190611c94565b60015b6114f3573d8080156114c4576040519150601f19603f3d011682016040523d82523d5f602084013e6114c9565b606091505b5080515f036114eb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060815f036115375750506040805180820190915260018152600360fc1b602082015290565b815f5b8115611560578061154a81611caf565b91506115599050600a83611cdb565b915061153a565b5f8167ffffffffffffffff81111561157a5761157a61187d565b6040519080825280601f01601f1916602001820160405280156115a4576020820181803683370190505b5090505b8415611509576115b9600183611bab565b91506115c6600a86611cee565b6115d1906030611b81565b60f81b8183815181106115e6576115e6611d01565b60200101906001600160f81b03191690815f1a905350611607600a86611cdb565b94506115a8565b6116188383611677565b6001600160a01b0383163b15610a4f575f548281035b6116405f868380600101945086611429565b61165d576040516368d2bf6b60e11b815260040160405180910390fd5b81811061162e57815f5414611670575f80fd5b5050505050565b5f546001600160a01b03831661169f57604051622e076360e81b815260040160405180910390fd5b815f036116bf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260046020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611707575f5550505050565b6001600160e01b031981168114610e5d575f80fd5b5f60208284031215611776575f80fd5b813561128881611751565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6112886020830184611781565b5f602082840312156117d1575f80fd5b5035919050565b80356001600160a01b03811681146117ee575f80fd5b919050565b5f8060408385031215611804575f80fd5b61180d836117d8565b946020939093013593505050565b5f805f6060848603121561182d575f80fd5b611836846117d8565b9250611844602085016117d8565b929592945050506040919091013590565b803580151581146117ee575f80fd5b5f60208284031215611874575f80fd5b61128882611855565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156118ab576118ab61187d565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156118da576118da61187d565b6040528381529050808284018510156118f1575f80fd5b838360208301375f60208583010152509392505050565b5f60208284031215611918575f80fd5b813567ffffffffffffffff81111561192e575f80fd5b8201601f8101841361193e575f80fd5b61150984823560208401611891565b5f6020828403121561195d575f80fd5b611288826117d8565b5f8060408385031215611977575f80fd5b611980836117d8565b915061198e60208401611855565b90509250929050565b5f805f80608085870312156119aa575f80fd5b6119b3856117d8565b93506119c1602086016117d8565b925060408501359150606085013567ffffffffffffffff8111156119e3575f80fd5b8501601f810187136119f3575f80fd5b611a0287823560208401611891565b91505092959194509250565b5f8060408385031215611a1f575f80fd5b611a28836117d8565b915061198e602084016117d8565b600181811c90821680611a4a57607f821691505b602082108103611a6857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a4f57805f5260205f20601f840160051c81016020851015611a935750805b601f840160051c820191505b81811015611670575f8155600101611a9f565b815167ffffffffffffffff811115611acc57611acc61187d565b611ae081611ada8454611a36565b84611a6e565b6020601f821160018114611b12575f8315611afb5750848201515b5f19600385901b1c1916600184901b178455611670565b5f84815260208120601f198516915b82811015611b415787850151825560209485019460019092019101611b21565b5084821015611b5e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561067957610679611b6d565b808202811582820484141761067957610679611b6d565b8181038181111561067957610679611b6d565b5f808454611bcb81611a36565b600182168015611be25760018114611bf757611c24565b60ff1983168652811515820286019350611c24565b875f5260205f205f5b83811015611c1c57815488820152600190910190602001611c00565b505081860193505b505050602f60f81b815283518060208601600184015e64173539b7b760d91b91016001810191825260060195945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611c8a90830184611781565b9695505050505050565b5f60208284031215611ca4575f80fd5b815161128881611751565b5f60018201611cc057611cc0611b6d565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f82611ce957611ce9611cc7565b500490565b5f82611cfc57611cfc611cc7565b500690565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220567426cfc809cca1276d1852a1bac625226ede08a99b4c382c230ea42eb668a064736f6c634300081a0033

Deployed Bytecode Sourcemap

62217:4067:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32031:615;;;;;;;;;;-1:-1:-1;32031:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;32031:615:0;;;;;;;;37678:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;62560:45::-;;;;;;;;;;;;;;;;;;;1257:25:1;;;1245:2;1230:18;62560:45:0;1111:177:1;39624:204:0;;;;;;;;;;-1:-1:-1;39624:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1688:32:1;;;1670:51;;1658:2;1643:18;39624:204:0;1524:203:1;39172:386:0;;;;;;;;;;-1:-1:-1;39172:386:0;;;;;:::i;:::-;;:::i;:::-;;65657:129;;;;;;;;;;-1:-1:-1;65657:129:0;;;;;:::i;:::-;;:::i;31085:315::-;;;;;;;;;;-1:-1:-1;31351:12:0;;31138:7;31335:13;:28;31085:315;;65901:115;;;;;;;;;;-1:-1:-1;65901:115:0;;;;;:::i;:::-;;:::i;62694:40::-;;;;;;;;;;;;;;;;62436:37;;;;;;;;;;-1:-1:-1;62436:37:0;;;;;;;;66155:126;;;;;;;;;;-1:-1:-1;66155:126:0;;;;;:::i;:::-;;:::i;48889:2800::-;;;;;;;;;;-1:-1:-1;48889:2800:0;;;;;:::i;:::-;;:::i;65503:148::-;;;;;;;;;;-1:-1:-1;65503:148:0;;;;;:::i;:::-;;:::i;65792:103::-;;;;;;;;;;-1:-1:-1;65872:17:0;;65792:103;;64658:142;;;;;;;;;;;;;:::i;40514:185::-;;;;;;;;;;-1:-1:-1;40514:185:0;;;;;:::i;:::-;;:::i;64294:108::-;;;;;;;;;;-1:-1:-1;64294:108:0;;;;;:::i;:::-;;:::i;37467:144::-;;;;;;;;;;-1:-1:-1;37467:144:0;;;;;:::i;:::-;;:::i;32710:224::-;;;;;;;;;;-1:-1:-1;32710:224:0;;;;;:::i;:::-;;:::i;16622:103::-;;;;;;;;;;;;;:::i;65250:117::-;;;;;;;;;;-1:-1:-1;65343:18:0;;;;65250:117;;65373:124;;;;;;;;;;-1:-1:-1;65471:20:0;;65373:124;;15974:87;;;;;;;;;;-1:-1:-1;16047:6:0;;-1:-1:-1;;;;;16047:6:0;15974:87;;37847:104;;;;;;;;;;;;;:::i;62610:35::-;;;;;;;;;;;;;;;;62650:39;;;;;;;;;;;;;;;;66022:127;;;;;;;;;;-1:-1:-1;66022:127:0;;;;;:::i;:::-;;:::i;62803:1485::-;;;;;;:::i;:::-;;:::i;39900:308::-;;;;;;;;;;-1:-1:-1;39900:308:0;;;;;:::i;:::-;;:::i;40770:399::-;;;;;;;;;;-1:-1:-1;40770:399:0;;;;;:::i;:::-;;:::i;62517:38::-;;;;;;;;;;;;;;;;64806:297;;;;;;;;;;-1:-1:-1;64806:297:0;;;;;:::i;:::-;;:::i;62332:99::-;;;;;;;;;;;;;:::i;62480:32::-;;;;;;;;;;;;;;;;40279:164;;;;;;;;;;-1:-1:-1;40279:164:0;;;;;:::i;:::-;;:::i;64408:244::-;;;;;;;;;;-1:-1:-1;64408:244:0;;;;;:::i;:::-;;:::i;16880:201::-;;;;;;;;;;-1:-1:-1;16880:201:0;;;;;:::i;:::-;;:::i;32031:615::-;32116:4;-1:-1:-1;;;;;;;;;32416:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;32493:25:0;;;32416:102;:179;;;-1:-1:-1;;;;;;;;;;32570:25:0;;;32416:179;32396:199;32031:615;-1:-1:-1;;32031:615:0:o;37678:100::-;37732:13;37765:5;37758:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37678:100;:::o;39624:204::-;39692:7;39717:16;39725:7;39717;:16::i;:::-;39712:64;;39742:34;;-1:-1:-1;;;39742:34:0;;;;;;;;;;;39712:64;-1:-1:-1;39796:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39796:24:0;;39624:204::o;39172:386::-;39245:13;39261:16;39269:7;39261;:16::i;:::-;39245:32;-1:-1:-1;60072:10:0;-1:-1:-1;;;;;39294:28:0;;;39290:175;;39342:44;39359:5;60072:10;40279:164;:::i;39342:44::-;39337:128;;39414:35;;-1:-1:-1;;;39414:35:0;;;;;;;;;;;39337:128;39477:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39477:29:0;-1:-1:-1;;;;;39477:29:0;;;;;;;;;39522:28;;39477:24;;39522:28;;;;;;;39234:324;39172:386;;:::o;65657:129::-;15860:13;:11;:13::i;:::-;65750:14:::1;:30:::0;65657:129::o;65901:115::-;15860:13;:11;:13::i;:::-;65984:17:::1;:26:::0;65901:115::o;66155:126::-;15860:13;:11;:13::i;:::-;66247:19:::1;:28:::0;66155:126::o;48889:2800::-;49023:27;49053;49072:7;49053:18;:27::i;:::-;49023:57;;49138:4;-1:-1:-1;;;;;49097:45:0;49113:19;-1:-1:-1;;;;;49097:45:0;;49093:86;;49151:28;;-1:-1:-1;;;49151:28:0;;;;;;;;;;;49093:86;49193:27;47619:21;;;47446:15;47661:4;47654:36;47743:4;47727:21;;47833:26;;60072:10;48586:30;;;-1:-1:-1;;;;;48284:26:0;;48565:19;;;48562:55;49372:174;;49459:43;49476:4;60072:10;40279:164;:::i;49459:43::-;49454:92;;49511:35;;-1:-1:-1;;;49511:35:0;;;;;;;;;;;49454:92;-1:-1:-1;;;;;49563:16:0;;49559:52;;49588:23;;-1:-1:-1;;;49588:23:0;;;;;;;;;;;49559:52;49760:15;49757:160;;;49900:1;49879:19;49872:30;49757:160;-1:-1:-1;;;;;50295:24:0;;;;;;;:18;:24;;;;;;50293:26;;-1:-1:-1;;50293:26:0;;;50364:22;;;;;;;;;50362:24;;-1:-1:-1;50362:24:0;;;37366:11;37342:22;37338:40;37325:62;-1:-1:-1;;;37325:62:0;50657:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;50951:46:0;;:51;;50947:626;;51055:1;51045:11;;51023:19;51178:30;;;:17;:30;;;;;;:35;;51174:384;;51316:13;;51301:11;:28;51297:242;;51463:30;;;;:17;:30;;;;;:52;;;51297:242;51004:569;50947:626;51620:7;51616:2;-1:-1:-1;;;;;51601:27:0;51610:4;-1:-1:-1;;;;;51601:27:0;;;;;;;;;;;49012:2677;;;48889:2800;;;:::o;65503:148::-;15860:13;:11;:13::i;:::-;65605:18:::1;:40:::0;;-1:-1:-1;;65605:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65503:148::o;64658:142::-;15860:13;:11;:13::i;:::-;12899:1:::1;13497:7;;:19:::0;13489:63:::1;;;::::0;-1:-1:-1;;;13489:63:0;;6273:2:1;13489:63:0::1;::::0;::::1;6255:21:1::0;6312:2;6292:18;;;6285:30;6351:33;6331:18;;;6324:61;6402:18;;13489:63:0::1;;;;;;;;;12899:1;13630:7;:18:::0;64733:61:::2;64759:10;64772:21;64733:17;:61::i;:::-;12855:1:::1;13809:7;:22:::0;64658:142::o;40514:185::-;40652:39;40669:4;40675:2;40679:7;40652:39;;;;;;;;;;;;:16;:39::i;:::-;40514:185;;;:::o;64294:108::-;15860:13;:11;:13::i;:::-;64374:12:::1;:22;64389:7:::0;64374:12;:22:::1;:::i;:::-;;64294:108:::0;:::o;37467:144::-;37531:7;37574:27;37593:7;37574:18;:27::i;32710:224::-;32774:7;-1:-1:-1;;;;;32798:19:0;;32794:60;;32826:28;;-1:-1:-1;;;32826:28:0;;;;;;;;;;;32794:60;-1:-1:-1;;;;;;32872:25:0;;;;;:18;:25;;;;;;27265:13;32872:54;;32710:224::o;16622:103::-;15860:13;:11;:13::i;:::-;16687:30:::1;16714:1;16687:18;:30::i;:::-;16622:103::o:0;37847:104::-;37903:13;37936:7;37929:14;;;;;:::i;66022:127::-;15860:13;:11;:13::i;:::-;66118:16:::1;:25:::0;66022:127::o;62803:1485::-;62876:18;;;;62868:53;;;;-1:-1:-1;;;62868:53:0;;8757:2:1;62868:53:0;;;8739:21:1;8796:2;8776:18;;;8769:30;-1:-1:-1;;;8815:18:1;;;8808:52;8877:18;;62868:53:0;8555:346:1;62868:53:0;62969:9;;:13;;62981:1;62969:13;:::i;:::-;62952:14;62936:13;31351:12;;31138:7;31335:13;:28;;31085:315;62936:13;:30;;;;:::i;:::-;:46;62928:83;;;;-1:-1:-1;;;62928:83:0;;9370:2:1;62928:83:0;;;9352:21:1;9409:2;9389:18;;;9382:30;9448:26;9428:18;;;9421:54;9492:18;;62928:83:0;9168:348:1;62928:83:0;63046:16;;63028:14;:34;;63020:86;;;;-1:-1:-1;;;63020:86:0;;9723:2:1;63020:86:0;;;9705:21:1;9762:2;9742:18;;;9735:30;9801:34;9781:18;;;9774:62;-1:-1:-1;;;9852:18:1;;;9845:37;9899:19;;63020:86:0;9521:403:1;63020:86:0;63158:14;;63141;63118:20;;:37;;;;:::i;:::-;:54;63115:1122;;;63236:9;63218:14;63198:17;;:34;;;;:::i;:::-;:47;;63190:97;;;;-1:-1:-1;;;63190:97:0;;10304:2:1;63190:97:0;;;10286:21:1;10343:2;10323:18;;;10316:30;10382:34;10362:18;;;10355:62;-1:-1:-1;;;10433:18:1;;;10426:35;10478:19;;63190:97:0;10102:401:1;63190:97:0;63115:1122;;;63324:19;63346:21;63356:10;63346:9;:21::i;:::-;63426:19;;63324:43;;-1:-1:-1;63392:31:0;63409:14;63324:43;63392:31;:::i;:::-;:53;63388:842;;;63494:19;;63477:14;:36;63473:551;;;63547:19;63591:14;63569:19;;:36;;;;:::i;:::-;63547:58;-1:-1:-1;63624:15:0;63642:31;63547:58;63642:14;:31;:::i;:::-;63624:49;;63734:9;63720:10;63700:17;;:30;;;;:::i;:::-;:43;;63692:93;;;;-1:-1:-1;;;63692:93:0;;10843:2:1;63692:93:0;;;10825:21:1;10882:2;10862:18;;;10855:30;10921:34;10901:18;;;10894:62;-1:-1:-1;;;10972:18:1;;;10965:35;11017:19;;63692:93:0;10641:401:1;63692:93:0;63830:14;63806:20;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;63388:842:0;;-1:-1:-1;;;63388:842:0;63473:551;63957:9;63939:14;63919:17;;:34;;;;:::i;:::-;:47;;63911:97;;;;-1:-1:-1;;;63911:97:0;;11249:2:1;63911:97:0;;;11231:21:1;11288:2;11268:18;;;11261:30;11327:34;11307:18;;;11300:62;-1:-1:-1;;;11378:18:1;;;11371:35;11423:19;;63911:97:0;11047:401:1;63911:97:0;63388:842;;;64103:19;;64085:14;:37;;64077:88;;;;-1:-1:-1;;;64077:88:0;;11655:2:1;64077:88:0;;;11637:21:1;11694:2;11674:18;;;11667:30;11733:34;11713:18;;;11706:62;-1:-1:-1;;;11784:18:1;;;11777:36;11830:19;;64077:88:0;11453:402:1;64077:88:0;64204:14;64180:20;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;63388:842:0;63313:924;63115:1122;64245:37;64255:10;64267:14;64245:9;:37::i;:::-;62803:1485;:::o;39900:308::-;60072:10;-1:-1:-1;;;;;39999:31:0;;;39995:61;;40039:17;;-1:-1:-1;;;40039:17:0;;;;;;;;;;;39995:61;60072:10;40069:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;40069:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;40069:60:0;;;;;;;;;;40145:55;;540:41:1;;;40069:49:0;;60072:10;40145:55;;513:18:1;40145:55:0;;;;;;;39900:308;;:::o;40770:399::-;40937:31;40950:4;40956:2;40960:7;40937:12;:31::i;:::-;-1:-1:-1;;;;;40983:14:0;;;:19;40979:183;;41022:56;41053:4;41059:2;41063:7;41072:5;41022:30;:56::i;:::-;41017:145;;41106:40;;-1:-1:-1;;;41106:40:0;;;;;;;;;;;41017:145;40770:399;;;;:::o;64806:297::-;64902:13;64935:17;64943:8;64935:7;:17::i;:::-;64927:77;;;;-1:-1:-1;;;64927:77:0;;12062:2:1;64927:77:0;;;12044:21:1;12101:2;12081:18;;;12074:30;12140:34;12120:18;;;12113:62;-1:-1:-1;;;12191:18:1;;;12184:45;12246:19;;64927:77:0;11860:411:1;64927:77:0;65048:12;65067:19;:8;:17;:19::i;:::-;65031:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65017:80;;64806:297;;;:::o;62332:99::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;40279:164::-;-1:-1:-1;;;;;40400:25:0;;;40376:4;40400:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40279:164::o;64408:244::-;15860:13;:11;:13::i;:::-;64501:1:::1;64490:8;:12;64482:44;;;::::0;-1:-1:-1;;;64482:44:0;;13859:2:1;64482:44:0::1;::::0;::::1;13841:21:1::0;13898:2;13878:18;;;13871:30;-1:-1:-1;;;13917:18:1;;;13910:49;13976:18;;64482:44:0::1;13657:343:1::0;64482:44:0::1;64569:9;;64557:8;64541:13;31351:12:::0;;31138:7;31335:13;:28;;31085:315;64541:13:::1;:24;;;;:::i;:::-;:37;;64533:73;;;::::0;-1:-1:-1;;;64533:73:0;;14207:2:1;64533:73:0::1;::::0;::::1;14189:21:1::0;14246:2;14226:18;;;14219:30;14285:25;14265:18;;;14258:53;14328:18;;64533:73:0::1;14005:347:1::0;16880:201:0;15860:13;:11;:13::i;:::-;-1:-1:-1;;;;;16969:22:0;::::1;16961:73;;;::::0;-1:-1:-1;;;16961:73:0;;14559:2:1;16961:73:0::1;::::0;::::1;14541:21:1::0;14598:2;14578:18;;;14571:30;14637:34;14617:18;;;14610:62;-1:-1:-1;;;14688:18:1;;;14681:36;14734:19;;16961:73:0::1;14357:402:1::0;16961:73:0::1;17045:28;17064:8;17045:18;:28::i;41424:273::-:0;41481:4;41571:13;;41561:7;:23;41518:152;;;;-1:-1:-1;;41622:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;41622:43:0;:48;;41424:273::o;16139:132::-;16047:6;;-1:-1:-1;;;;;16047:6:0;60072:10;16203:23;16195:68;;;;-1:-1:-1;;;16195:68:0;;14966:2:1;16195:68:0;;;14948:21:1;;;14985:18;;;14978:30;15044:34;15024:18;;;15017:62;15096:18;;16195:68:0;14764:356:1;34384:1129:0;34451:7;34486;34588:13;;34581:4;:20;34577:869;;;34626:14;34643:23;;;:17;:23;;;;;;;-1:-1:-1;;;34732:23:0;;:28;;34728:699;;35251:113;35258:6;35268:1;35258:11;35251:113;;-1:-1:-1;;;35329:6:0;35311:25;;;;:17;:25;;;;;;35251:113;;;35397:6;34384:1129;-1:-1:-1;;;34384:1129:0:o;34728:699::-;34603:843;34577:869;35474:31;;-1:-1:-1;;;35474:31:0;;;;;;;;;;;5028:317;5143:6;5118:21;:31;;5110:73;;;;-1:-1:-1;;;5110:73:0;;15327:2:1;5110:73:0;;;15309:21:1;15366:2;15346:18;;;15339:30;15405:31;15385:18;;;15378:59;15454:18;;5110:73:0;15125:353:1;5110:73:0;5197:12;5215:9;-1:-1:-1;;;;;5215:14:0;5237:6;5215:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5196:52;;;5267:7;5259:78;;;;-1:-1:-1;;;5259:78:0;;15895:2:1;5259:78:0;;;15877:21:1;15934:2;15914:18;;;15907:30;15973:34;15953:18;;;15946:62;16044:28;16024:18;;;16017:56;16090:19;;5259:78:0;15693:422:1;17241:191:0;17334:6;;;-1:-1:-1;;;;;17351:17:0;;;-1:-1:-1;;;;;;17351:17:0;;;;;;;17384:40;;17334:6;;;17351:17;17334:6;;17384:40;;17315:16;;17384:40;17304:128;17241:191;:::o;41781:104::-;41850:27;41860:2;41864:8;41850:27;;;;;;;;;;;;:9;:27::i;55640:716::-;55824:88;;-1:-1:-1;;;55824:88:0;;55803:4;;-1:-1:-1;;;;;55824:45:0;;;;;:88;;60072:10;;55891:4;;55897:7;;55906:5;;55824:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55824:88:0;;;;;;;;-1:-1:-1;;55824:88:0;;;;;;;;;;;;:::i;:::-;;;55820:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56107:6;:13;56124:1;56107:18;56103:235;;56153:40;;-1:-1:-1;;;56153:40:0;;;;;;;;;;;56103:235;56296:6;56290:13;56281:6;56277:2;56273:15;56266:38;55820:529;-1:-1:-1;;;;;;55983:64:0;-1:-1:-1;;;55983:64:0;;-1:-1:-1;55820:529:0;55640:716;;;;;;:::o;467:723::-;523:13;744:5;753:1;744:10;740:53;;-1:-1:-1;;771:10:0;;;;;;;;;;;;-1:-1:-1;;;771:10:0;;;;;467:723::o;740:53::-;818:5;803:12;859:78;866:9;;859:78;;892:8;;;;:::i;:::-;;-1:-1:-1;915:10:0;;-1:-1:-1;923:2:0;915:10;;:::i;:::-;;;859:78;;;947:19;979:6;969:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;969:17:0;;947:39;;997:154;1004:10;;997:154;;1031:11;1041:1;1031:11;;:::i;:::-;;-1:-1:-1;1100:10:0;1108:2;1100:5;:10;:::i;:::-;1087:24;;:2;:24;:::i;:::-;1074:39;;1057:6;1064;1057:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1057:56:0;;;;;;;;-1:-1:-1;1128:11:0;1137:2;1128:11;;:::i;:::-;;;997:154;;42301:681;42424:19;42430:2;42434:8;42424:5;:19::i;:::-;-1:-1:-1;;;;;42485:14:0;;;:19;42481:483;;42525:11;42539:13;42587:14;;;42620:233;42651:62;42690:1;42694:2;42698:7;;;;;;42707:5;42651:30;:62::i;:::-;42646:167;;42749:40;;-1:-1:-1;;;42749:40:0;;;;;;;;;;;42646:167;42848:3;42840:5;:11;42620:233;;42935:3;42918:13;;:20;42914:34;;42940:8;;;42914:34;42506:458;;42301:681;;;:::o;43255:1529::-;43320:20;43343:13;-1:-1:-1;;;;;43371:16:0;;43367:48;;43396:19;;-1:-1:-1;;;43396:19:0;;;;;;;;;;;43367:48;43430:8;43442:1;43430:13;43426:44;;43452:18;;-1:-1:-1;;;43452:18:0;;;;;;;;;;;43426:44;-1:-1:-1;;;;;43958:22:0;;;;;;:18;:22;;27402:2;43958:22;;:70;;43996:31;43984:44;;43958:70;;;37366:11;37342:22;37338:40;-1:-1:-1;39076:15:0;;39051:23;39047:45;37335:51;37325:62;44271:31;;;;:17;:31;;;;;:173;44289:12;44520:23;;;44558:101;44585:35;;44610:9;;;;;-1:-1:-1;;;;;44585:35:0;;;44602:1;;44585:35;;44602:1;;44585:35;44654:3;44644:7;:13;44558:101;;44675:13;:19;-1:-1:-1;40514:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1293:226::-;1352:6;1405:2;1393:9;1384:7;1380:23;1376:32;1373:52;;;1421:1;1418;1411:12;1373:52;-1:-1:-1;1466:23:1;;1293:226;-1:-1:-1;1293:226:1:o;1732:173::-;1800:20;;-1:-1:-1;;;;;1849:31:1;;1839:42;;1829:70;;1895:1;1892;1885:12;1829:70;1732:173;;;:::o;1910:300::-;1978:6;1986;2039:2;2027:9;2018:7;2014:23;2010:32;2007:52;;;2055:1;2052;2045:12;2007:52;2078:29;2097:9;2078:29;:::i;:::-;2068:39;2176:2;2161:18;;;;2148:32;;-1:-1:-1;;;1910:300:1:o;2215:374::-;2292:6;2300;2308;2361:2;2349:9;2340:7;2336:23;2332:32;2329:52;;;2377:1;2374;2367:12;2329:52;2400:29;2419:9;2400:29;:::i;:::-;2390:39;;2448:38;2482:2;2471:9;2467:18;2448:38;:::i;:::-;2215:374;;2438:48;;-1:-1:-1;;;2555:2:1;2540:18;;;;2527:32;;2215:374::o;2594:160::-;2659:20;;2715:13;;2708:21;2698:32;;2688:60;;2744:1;2741;2734:12;2759:180;2815:6;2868:2;2856:9;2847:7;2843:23;2839:32;2836:52;;;2884:1;2881;2874:12;2836:52;2907:26;2923:9;2907:26;:::i;2944:127::-;3005:10;3000:3;2996:20;2993:1;2986:31;3036:4;3033:1;3026:15;3060:4;3057:1;3050:15;3076:716;3141:5;3173:1;3197:18;3189:6;3186:30;3183:56;;;3219:18;;:::i;:::-;-1:-1:-1;3374:2:1;3368:9;-1:-1:-1;;3287:2:1;3266:15;;3262:29;;3432:2;3420:15;3416:29;3404:42;;3497:22;;;3476:18;3461:34;;3458:62;3455:88;;;3523:18;;:::i;:::-;3559:2;3552:22;3607;;;3592:6;-1:-1:-1;3592:6:1;3644:16;;;3641:25;-1:-1:-1;3638:45:1;;;3679:1;3676;3669:12;3638:45;3729:6;3724:3;3717:4;3709:6;3705:17;3692:44;3784:1;3777:4;3768:6;3760;3756:19;3752:30;3745:41;;3076:716;;;;;:::o;3797:451::-;3866:6;3919:2;3907:9;3898:7;3894:23;3890:32;3887:52;;;3935:1;3932;3925:12;3887:52;3975:9;3962:23;4008:18;4000:6;3997:30;3994:50;;;4040:1;4037;4030:12;3994:50;4063:22;;4116:4;4108:13;;4104:27;-1:-1:-1;4094:55:1;;4145:1;4142;4135:12;4094:55;4168:74;4234:7;4229:2;4216:16;4211:2;4207;4203:11;4168:74;:::i;4253:186::-;4312:6;4365:2;4353:9;4344:7;4340:23;4336:32;4333:52;;;4381:1;4378;4371:12;4333:52;4404:29;4423:9;4404:29;:::i;4444:254::-;4509:6;4517;4570:2;4558:9;4549:7;4545:23;4541:32;4538:52;;;4586:1;4583;4576:12;4538:52;4609:29;4628:9;4609:29;:::i;:::-;4599:39;;4657:35;4688:2;4677:9;4673:18;4657:35;:::i;:::-;4647:45;;4444:254;;;;;:::o;4703:713::-;4798:6;4806;4814;4822;4875:3;4863:9;4854:7;4850:23;4846:33;4843:53;;;4892:1;4889;4882:12;4843:53;4915:29;4934:9;4915:29;:::i;:::-;4905:39;;4963:38;4997:2;4986:9;4982:18;4963:38;:::i;:::-;4953:48;-1:-1:-1;5070:2:1;5055:18;;5042:32;;-1:-1:-1;5149:2:1;5134:18;;5121:32;5176:18;5165:30;;5162:50;;;5208:1;5205;5198:12;5162:50;5231:22;;5284:4;5276:13;;5272:27;-1:-1:-1;5262:55:1;;5313:1;5310;5303:12;5262:55;5336:74;5402:7;5397:2;5384:16;5379:2;5375;5371:11;5336:74;:::i;:::-;5326:84;;;4703:713;;;;;;;:::o;5421:260::-;5489:6;5497;5550:2;5538:9;5529:7;5525:23;5521:32;5518:52;;;5566:1;5563;5556:12;5518:52;5589:29;5608:9;5589:29;:::i;:::-;5579:39;;5637:38;5671:2;5660:9;5656:18;5637:38;:::i;5686:380::-;5765:1;5761:12;;;;5808;;;5829:61;;5883:4;5875:6;5871:17;5861:27;;5829:61;5936:2;5928:6;5925:14;5905:18;5902:38;5899:161;;5982:10;5977:3;5973:20;5970:1;5963:31;6017:4;6014:1;6007:15;6045:4;6042:1;6035:15;5899:161;;5686:380;;;:::o;6557:518::-;6659:2;6654:3;6651:11;6648:421;;;6695:5;6692:1;6685:16;6739:4;6736:1;6726:18;6809:2;6797:10;6793:19;6790:1;6786:27;6780:4;6776:38;6845:4;6833:10;6830:20;6827:47;;;-1:-1:-1;6868:4:1;6827:47;6923:2;6918:3;6914:12;6911:1;6907:20;6901:4;6897:31;6887:41;;6978:81;6996:2;6989:5;6986:13;6978:81;;;7055:1;7041:16;;7022:1;7011:13;6978:81;;7251:1299;7377:3;7371:10;7404:18;7396:6;7393:30;7390:56;;;7426:18;;:::i;:::-;7455:97;7545:6;7505:38;7537:4;7531:11;7505:38;:::i;:::-;7499:4;7455:97;:::i;:::-;7601:4;7632:2;7621:14;;7649:1;7644:649;;;;8337:1;8354:6;8351:89;;;-1:-1:-1;8406:19:1;;;8400:26;8351:89;-1:-1:-1;;7208:1:1;7204:11;;;7200:24;7196:29;7186:40;7232:1;7228:11;;;7183:57;8453:81;;7614:930;;7644:649;6504:1;6497:14;;;6541:4;6528:18;;-1:-1:-1;;7680:20:1;;;7798:222;7812:7;7809:1;7806:14;7798:222;;;7894:19;;;7888:26;7873:42;;8001:4;7986:20;;;;7954:1;7942:14;;;;7828:12;7798:222;;;7802:3;8048:6;8039:7;8036:19;8033:201;;;8109:19;;;8103:26;-1:-1:-1;;8192:1:1;8188:14;;;8204:3;8184:24;8180:37;8176:42;8161:58;8146:74;;8033:201;-1:-1:-1;;;;8280:1:1;8264:14;;;8260:22;8247:36;;-1:-1:-1;7251:1299:1:o;8906:127::-;8967:10;8962:3;8958:20;8955:1;8948:31;8998:4;8995:1;8988:15;9022:4;9019:1;9012:15;9038:125;9103:9;;;9124:10;;;9121:36;;;9137:18;;:::i;9929:168::-;10002:9;;;10033;;10050:15;;;10044:22;;10030:37;10020:71;;10071:18;;:::i;10508:128::-;10575:9;;;10596:11;;;10593:37;;;10610:18;;:::i;12394:1258::-;12772:3;12801:1;12834:6;12828:13;12864:36;12890:9;12864:36;:::i;:::-;12931:1;12916:17;;12942:133;;;;13089:1;13084:332;;;;12909:507;;12942:133;-1:-1:-1;;12975:24:1;;12963:37;;13048:14;;13041:22;13029:35;;13020:45;;;-1:-1:-1;12942:133:1;;13084:332;13115:6;13112:1;13105:17;13163:4;13160:1;13150:18;13190:1;13204:166;13218:6;13215:1;13212:13;13204:166;;;13298:14;;13285:11;;;13278:35;13354:1;13341:15;;;;13240:4;13233:12;13204:166;;;13208:3;;13399:6;13394:3;13390:16;13383:23;;12909:507;;;;-1:-1:-1;;;13432:3:1;13425:16;13472:6;13466:13;13526:8;13519:4;13511:6;13507:17;13503:1;13498:3;13494:11;13488:47;-1:-1:-1;;;13558:18:1;;13578:1;13554:26;;12336:20;;;12372:11;;13611:35;12394:1258;-1:-1:-1;;;;;12394:1258:1:o;16120:485::-;-1:-1:-1;;;;;16351:32:1;;;16333:51;;16420:32;;16415:2;16400:18;;16393:60;16484:2;16469:18;;16462:34;;;16532:3;16527:2;16512:18;;16505:31;;;-1:-1:-1;;16553:46:1;;16579:19;;16571:6;16553:46;:::i;:::-;16545:54;16120:485;-1:-1:-1;;;;;;16120:485:1:o;16610:249::-;16679:6;16732:2;16720:9;16711:7;16707:23;16703:32;16700:52;;;16748:1;16745;16738:12;16700:52;16780:9;16774:16;16799:30;16823:5;16799:30;:::i;16864:135::-;16903:3;16924:17;;;16921:43;;16944:18;;:::i;:::-;-1:-1:-1;16991:1:1;16980:13;;16864:135::o;17004:127::-;17065:10;17060:3;17056:20;17053:1;17046:31;17096:4;17093:1;17086:15;17120:4;17117:1;17110:15;17136:120;17176:1;17202;17192:35;;17207:18;;:::i;:::-;-1:-1:-1;17241:9:1;;17136:120::o;17261:112::-;17293:1;17319;17309:35;;17324:18;;:::i;:::-;-1:-1:-1;17358:9:1;;17261:112::o;17378:127::-;17439:10;17434:3;17430:20;17427:1;17420:31;17470:4;17467:1;17460:15;17494:4;17491:1;17484:15

Swarm Source

ipfs://567426cfc809cca1276d1852a1bac625226ede08a99b4c382c230ea42eb668a0
[ 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.