ETH Price: $3,891.83 (-0.74%)
Gas: 6.38 Gwei

Token

RektApeCopeClub (REKT)
 

Overview

Max Total Supply

10,000 REKT

Holders

3,091

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 REKT
0x15969be237de5e0c9a40d6c77fee53409186f1cf
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RektApeCopeClub

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : RektApeCopeClub.sol
// SPDX-License-Identifier: MIT

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.5.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

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




// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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


// Creator: Chiru Labs

pragma solidity ^0.8.4;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    /**
     * @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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

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

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

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

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

        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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

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

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

        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 Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

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

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


//  ███████████   ██████████ █████   ████ ███████████      █████████   ███████████  ██████████              
// ░░███░░░░░███ ░░███░░░░░█░░███   ███░ ░█░░░███░░░█     ███░░░░░███ ░░███░░░░░███░░███░░░░░█              
//  ░███    ░███  ░███  █ ░  ░███  ███   ░   ░███  ░     ░███    ░███  ░███    ░███ ░███  █ ░               
//  ░██████████   ░██████    ░███████        ░███        ░███████████  ░██████████  ░██████                 
//  ░███░░░░░███  ░███░░█    ░███░░███       ░███        ░███░░░░░███  ░███░░░░░░   ░███░░█                 
//  ░███    ░███  ░███ ░   █ ░███ ░░███      ░███        ░███    ░███  ░███         ░███ ░   █              
//  █████   █████ ██████████ █████ ░░████    █████       █████   █████ █████        ██████████              
// ░░░░░   ░░░░░ ░░░░░░░░░░ ░░░░░   ░░░░    ░░░░░       ░░░░░   ░░░░░ ░░░░░        ░░░░░░░░░░               
                                                                                                         
                                                                                                         
                                                                                                         
//    █████████     ███████    ███████████  ██████████      █████████  █████       █████  █████ ███████████ 
//   ███░░░░░███  ███░░░░░███ ░░███░░░░░███░░███░░░░░█     ███░░░░░███░░███       ░░███  ░░███ ░░███░░░░░███
//  ███     ░░░  ███     ░░███ ░███    ░███ ░███  █ ░     ███     ░░░  ░███        ░███   ░███  ░███    ░███
// ░███         ░███      ░███ ░██████████  ░██████      ░███          ░███        ░███   ░███  ░██████████ 
// ░███         ░███      ░███ ░███░░░░░░   ░███░░█      ░███          ░███        ░███   ░███  ░███░░░░░███
// ░░███     ███░░███     ███  ░███         ░███ ░   █   ░░███     ███ ░███      █ ░███   ░███  ░███    ░███
//  ░░█████████  ░░░███████░   █████        ██████████    ░░█████████  ███████████ ░░████████   ███████████ 
//   ░░░░░░░░░     ░░░░░░░    ░░░░░        ░░░░░░░░░░      ░░░░░░░░░  ░░░░░░░░░░░   ░░░░░░░░   ░░░░░░░░░░░  
                                                                                                      
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%@@@@%@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%/@/@@%%@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%%//@/////@///@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@////////@//////%%@////@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@////@/**@////////%%@/////@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@////@//%@///@%%%%//@/@////*/@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@////*@/#%@*///@%/////@@//////@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@////////@@@@@@@@%%///@%/////%@%%%//@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%%/%%%%//@@@@      @@%%///@///////@@@%%%%@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@        @@@@@@@@@@@@@@@@@@@     @@@@//(#/////@@@@////@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@*   @@@@@@                    @@@     @@//@/////@# @@#//@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@   @@  @@@@@      @@@ @@@@@@@    @@   @ *@//%/////@   %@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@    @, @@@@@@        @@@@@@@@@@    @@  #  @@%/@///@@      @@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@%//@@  &@ @@@@@@@@   @@ /@@@@@@@@@@@@   @@(    @@//@///@@      @@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@//@@@@  @@ @@@@@@@@    @  @@@@@@@@@@@@&   @@      @@/@///@@      @@/@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@/@@@@@   @@ @@@@@@@     @@ @@@@@@@@@@@/    @@       @@/@%%/@@    @@&/%%@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@                   .@@@@@@@@@@@ @     @@         @@(%&@    @@@@@*/@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@      @.                            (   @@          @@@@@ @  @@@@@@/@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@    @@@ @@@@@@@                    @      @          @ @@@    @@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@    @@ @@@@@@@@@@@/ @  (           @       @@@@@       @@@   @@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@  @@@#@@@@@@@@                     @             @@@@     @@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@ (@@ @@@@@@@@                     @ @@@@@@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@,    @@@@@@@@                        *@@@@@@@@@@     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@   @     #      @                    @@@@@@@@@@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@ @   ,  @     @     /     @         @@@@@@@@@@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@  @@ @@@@@@@@@ @  @   @   @  @         @@@@@@@@@@@     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@  @@  @@    @@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@ @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@  @@@@@  @@ ,@ @@@@@            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@     @@  %@@@@@@@@@@@@@@@@@@@@@@    @            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@&  @@     @@@@@   @@  @@  @@@@@    @      @     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@     @@@@@     @@@@@   @@@ @@@   @           @@     (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@          @@@  @ @@@@ ,                   @@     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@                                         @  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@                           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   
    

pragma solidity ^0.8.14;

contract RektApeCopeClub is ERC721A, Ownable {
    using Strings for uint256;
    
    uint256 public MAX_SUPPLY = 10000;
    uint256 public FREE_PER_WALLET = 2;
    uint256 public MAX_PER_TX = 10;
    uint256 public price = 0.01 ether;

    
    bool public saleOpen = false;

    address address1 = 0xaF236432E9A1c9BCea0404837d897700f48D48bE;
    address address2 = 0x853eB2Cf7B4E32b5a2Fe7c08b981BC3d8BC5B808;
    
    string private baseTokenURI;

    constructor() ERC721A("RektApeCopeClub", "REKT") {}

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function mint(uint256 _count) external payable {
        uint256 supply = totalSupply();
        uint256 mintedByAddress = balanceOf(msg.sender);

        require(saleOpen,  "Sale is not open yet");
        require(supply + _count <= MAX_SUPPLY, "Exceeds maximum supply");
        require(_count <= MAX_PER_TX, "Exceeds max per transaction");

        if ( mintedByAddress < FREE_PER_WALLET && _count <= (FREE_PER_WALLET - mintedByAddress)  ) {
            require(msg.value == 0, "Ether sent is incorrect");
        }
        else if (mintedByAddress >= FREE_PER_WALLET) {
            require(msg.value == price * _count, "Ether sent is incorrect");
        }
        else {
            require(msg.value == price * ( _count + mintedByAddress - FREE_PER_WALLET), "Ether sent is incorrect");
        }
        _safeMint(msg.sender, _count);
     
    }

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

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

    function flipSale() external onlyOwner {
        saleOpen = !saleOpen;
    }

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

    function setMaxFree(uint256 _supply) public onlyOwner {
        FREE_PER_WALLET = _supply;
    }

    function setPrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function burnTokens() public onlyOwner {
        MAX_SUPPLY = totalSupply();
    }

    function withdrawAll() public payable onlyOwner {
        uint256 _share = address(this).balance / 100;
        require(payable(address1).send(_share * 50));
        require(payable(address2).send(_share * 50));
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526127106009556002600a55600a600b55662386f26fc10000600c556000600d60006101000a81548160ff02191690831515021790555073af236432e9a1c9bcea0404837d897700f48d48be600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073853eb2cf7b4e32b5a2fe7c08b981bc3d8bc5b808600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000f157600080fd5b506040518060400160405280600f81526020017f52656b74417065436f7065436c756200000000000000000000000000000000008152506040518060400160405280600481526020017f52454b5400000000000000000000000000000000000000000000000000000000815250816002908051906020019062000176929190620002a5565b5080600390805190602001906200018f929190620002a5565b50620001a0620001ce60201b60201c565b6000819055505050620001c8620001bc620001d760201b60201c565b620001df60201b60201c565b620003b9565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002b39062000384565b90600052602060002090601f016020900481019282620002d7576000855562000323565b82601f10620002f257805160ff191683800117855562000323565b8280016001018555821562000323579182015b828111156200032257825182559160200191906001019062000305565b5b50905062000332919062000336565b5090565b5b808211156200035157600081600090555060010162000337565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039d57607f821691505b602082108103620003b357620003b262000355565b5b50919050565b61369580620003c96000396000f3fe6080604052600436106101c25760003560e01c8063853828b6116100f7578063a22cb46511610095578063d755bf9911610064578063d755bf99146105da578063e985e9c514610603578063f2fde38b14610640578063f43a22dc14610669576101c2565b8063a22cb46514610520578063b88d4fde14610549578063c87b56dd14610572578063cd90e5af146105af576101c2565b806395d89b41116100d157806395d89b411461048357806399288dbb146104ae578063a035b1fe146104d9578063a0712d6814610504576101c2565b8063853828b6146104255780638da5cb5b1461042f57806391b7f5ed1461045a576101c2565b806332cb6b0c116101645780636352211e1161013e5780636352211e1461037d57806370a08231146103ba578063715018a6146103f75780637ba5e6211461040e576101c2565b806332cb6b0c1461030057806342842e0e1461032b57806355f804b314610354576101c2565b8063081812fc116101a0578063081812fc14610246578063095ea7b31461028357806318160ddd146102ac57806323b872dd146102d7576101c2565b806301ffc9a7146101c757806306fdde031461020457806308003f781461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906128c9565b610694565b6040516101fb9190612911565b60405180910390f35b34801561021057600080fd5b50610219610776565b60405161022691906129c5565b60405180910390f35b34801561023b57600080fd5b50610244610808565b005b34801561025257600080fd5b5061026d60048036038101906102689190612a1d565b610894565b60405161027a9190612a8b565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a59190612ad2565b610910565b005b3480156102b857600080fd5b506102c1610a1a565b6040516102ce9190612b21565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190612b3c565b610a31565b005b34801561030c57600080fd5b50610315610a41565b6040516103229190612b21565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190612b3c565b610a47565b005b34801561036057600080fd5b5061037b60048036038101906103769190612cc4565b610a67565b005b34801561038957600080fd5b506103a4600480360381019061039f9190612a1d565b610afd565b6040516103b19190612a8b565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190612d0d565b610b13565b6040516103ee9190612b21565b60405180910390f35b34801561040357600080fd5b5061040c610be2565b005b34801561041a57600080fd5b50610423610c6a565b005b61042d610d12565b005b34801561043b57600080fd5b50610444610e7a565b6040516104519190612a8b565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190612a1d565b610ea4565b005b34801561048f57600080fd5b50610498610f2a565b6040516104a591906129c5565b60405180910390f35b3480156104ba57600080fd5b506104c3610fbc565b6040516104d09190612911565b60405180910390f35b3480156104e557600080fd5b506104ee610fcf565b6040516104fb9190612b21565b60405180910390f35b61051e60048036038101906105199190612a1d565b610fd5565b005b34801561052c57600080fd5b5061054760048036038101906105429190612d66565b611212565b005b34801561055557600080fd5b50610570600480360381019061056b9190612e47565b611389565b005b34801561057e57600080fd5b5061059960048036038101906105949190612a1d565b611405565b6040516105a691906129c5565b60405180910390f35b3480156105bb57600080fd5b506105c4611487565b6040516105d19190612b21565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190612a1d565b61148d565b005b34801561060f57600080fd5b5061062a60048036038101906106259190612eca565b611513565b6040516106379190612911565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190612d0d565b6115a7565b005b34801561067557600080fd5b5061067e61169e565b60405161068b9190612b21565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061076f575061076e826116a4565b5b9050919050565b60606002805461078590612f39565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190612f39565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b61081061170e565b73ffffffffffffffffffffffffffffffffffffffff1661082e610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087b90612fb6565b60405180910390fd5b61088c610a1a565b600981905550565b600061089f82611716565b6108d5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091b82610afd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610982576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a161170e565b73ffffffffffffffffffffffffffffffffffffffff16141580156109d357506109d1816109cc61170e565b611513565b155b15610a0a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a15838383611764565b505050565b6000610a24611816565b6001546000540303905090565b610a3c83838361181f565b505050565b60095481565b610a6283838360405180602001604052806000815250611389565b505050565b610a6f61170e565b73ffffffffffffffffffffffffffffffffffffffff16610a8d610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada90612fb6565b60405180910390fd5b80600f9080519060200190610af9929190612777565b5050565b6000610b0882611cd3565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b7a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610bea61170e565b73ffffffffffffffffffffffffffffffffffffffff16610c08610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590612fb6565b60405180910390fd5b610c686000611f62565b565b610c7261170e565b73ffffffffffffffffffffffffffffffffffffffff16610c90610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd90612fb6565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610d1a61170e565b73ffffffffffffffffffffffffffffffffffffffff16610d38610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612fb6565b60405180910390fd5b6000606447610d9d9190613034565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610de89190613065565b9081150290604051600060405180830381858888f19350505050610e0b57600080fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610e549190613065565b9081150290604051600060405180830381858888f19350505050610e7757600080fd5b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610eac61170e565b73ffffffffffffffffffffffffffffffffffffffff16610eca610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790612fb6565b60405180910390fd5b80600c8190555050565b606060038054610f3990612f39565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6590612f39565b8015610fb25780601f10610f8757610100808354040283529160200191610fb2565b820191906000526020600020905b815481529060010190602001808311610f9557829003601f168201915b5050505050905090565b600d60009054906101000a900460ff1681565b600c5481565b6000610fdf610a1a565b90506000610fec33610b13565b9050600d60009054906101000a900460ff1661103d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110349061310b565b60405180910390fd5b600954838361104c919061312b565b111561108d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611084906131cd565b60405180910390fd5b600b548311156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613239565b60405180910390fd5b600a54811080156110f0575080600a546110ec9190613259565b8311155b1561113d5760003414611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f906132d9565b60405180910390fd5b611203565b600a54811061119a5782600c546111549190613065565b3414611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906132d9565b60405180910390fd5b611202565b600a5481846111a9919061312b565b6111b39190613259565b600c546111c09190613065565b3414611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906132d9565b60405180910390fd5b5b5b61120d3384612028565b505050565b61121a61170e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361127e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061128b61170e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661133861170e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161137d9190612911565b60405180910390a35050565b61139484848461181f565b6113b38373ffffffffffffffffffffffffffffffffffffffff16612046565b80156113c857506113c684848484612069565b155b156113ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061141082611716565b61144f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114469061336b565b60405180910390fd5b6114576121b9565b6114608361224b565b604051602001611471929190613413565b6040516020818303038152906040529050919050565b600a5481565b61149561170e565b73ffffffffffffffffffffffffffffffffffffffff166114b3610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090612fb6565b60405180910390fd5b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115af61170e565b73ffffffffffffffffffffffffffffffffffffffff166115cd610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90612fb6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906134b4565b60405180910390fd5b61169b81611f62565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611721611816565b11158015611730575060005482105b801561175d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061182a82611cd3565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611895576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166118b661170e565b73ffffffffffffffffffffffffffffffffffffffff1614806118e557506118e4856118df61170e565b611513565b5b8061192a57506118f361170e565b73ffffffffffffffffffffffffffffffffffffffff1661191284610894565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611963576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119c9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119d685858560016123ab565b6119e260008487611764565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611c61576000548214611c6057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ccc85858560016123b1565b5050505050565b611cdb6127fd565b600082905080611ce9611816565b11158015611cf8575060005481105b15611f2b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e0d578092505050611f5d565b5b600115611f2857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f23578092505050611f5d565b611e0e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120428282604051806020016040528060008152506123b7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261208f61170e565b8786866040518563ffffffff1660e01b81526004016120b19493929190613529565b6020604051808303816000875af19250505080156120ed57506040513d601f19601f820116820180604052508101906120ea919061358a565b60015b612166573d806000811461211d576040519150601f19603f3d011682016040523d82523d6000602084013e612122565b606091505b50600081510361215e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546121c890612f39565b80601f01602080910402602001604051908101604052809291908181526020018280546121f490612f39565b80156122415780601f1061221657610100808354040283529160200191612241565b820191906000526020600020905b81548152906001019060200180831161222457829003601f168201915b5050505050905090565b606060008203612292576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123a6565b600082905060005b600082146122c45780806122ad906135b7565b915050600a826122bd9190613034565b915061229a565b60008167ffffffffffffffff8111156122e0576122df612b99565b5b6040519080825280601f01601f1916602001820160405280156123125781602001600182028036833780820191505090505b5090505b6000851461239f5760018261232b9190613259565b9150600a8561233a91906135ff565b6030612346919061312b565b60f81b81838151811061235c5761235b613630565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123989190613034565b9450612316565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612423576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000830361245d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61246a60008583866123ab565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000848201905061262b8673ffffffffffffffffffffffffffffffffffffffff16612046565b156126f0575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126a06000878480600101955087612069565b6126d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036126315782600054146126eb57600080fd5b61275b565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036126f1575b81600081905550505061277160008583866123b1565b50505050565b82805461278390612f39565b90600052602060002090601f0160209004810192826127a557600085556127ec565b82601f106127be57805160ff19168380011785556127ec565b828001600101855582156127ec579182015b828111156127eb5782518255916020019190600101906127d0565b5b5090506127f99190612840565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612859576000816000905550600101612841565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128a681612871565b81146128b157600080fd5b50565b6000813590506128c38161289d565b92915050565b6000602082840312156128df576128de612867565b5b60006128ed848285016128b4565b91505092915050565b60008115159050919050565b61290b816128f6565b82525050565b60006020820190506129266000830184612902565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561296657808201518184015260208101905061294b565b83811115612975576000848401525b50505050565b6000601f19601f8301169050919050565b60006129978261292c565b6129a18185612937565b93506129b1818560208601612948565b6129ba8161297b565b840191505092915050565b600060208201905081810360008301526129df818461298c565b905092915050565b6000819050919050565b6129fa816129e7565b8114612a0557600080fd5b50565b600081359050612a17816129f1565b92915050565b600060208284031215612a3357612a32612867565b5b6000612a4184828501612a08565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7582612a4a565b9050919050565b612a8581612a6a565b82525050565b6000602082019050612aa06000830184612a7c565b92915050565b612aaf81612a6a565b8114612aba57600080fd5b50565b600081359050612acc81612aa6565b92915050565b60008060408385031215612ae957612ae8612867565b5b6000612af785828601612abd565b9250506020612b0885828601612a08565b9150509250929050565b612b1b816129e7565b82525050565b6000602082019050612b366000830184612b12565b92915050565b600080600060608486031215612b5557612b54612867565b5b6000612b6386828701612abd565b9350506020612b7486828701612abd565b9250506040612b8586828701612a08565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bd18261297b565b810181811067ffffffffffffffff82111715612bf057612bef612b99565b5b80604052505050565b6000612c0361285d565b9050612c0f8282612bc8565b919050565b600067ffffffffffffffff821115612c2f57612c2e612b99565b5b612c388261297b565b9050602081019050919050565b82818337600083830152505050565b6000612c67612c6284612c14565b612bf9565b905082815260208101848484011115612c8357612c82612b94565b5b612c8e848285612c45565b509392505050565b600082601f830112612cab57612caa612b8f565b5b8135612cbb848260208601612c54565b91505092915050565b600060208284031215612cda57612cd9612867565b5b600082013567ffffffffffffffff811115612cf857612cf761286c565b5b612d0484828501612c96565b91505092915050565b600060208284031215612d2357612d22612867565b5b6000612d3184828501612abd565b91505092915050565b612d43816128f6565b8114612d4e57600080fd5b50565b600081359050612d6081612d3a565b92915050565b60008060408385031215612d7d57612d7c612867565b5b6000612d8b85828601612abd565b9250506020612d9c85828601612d51565b9150509250929050565b600067ffffffffffffffff821115612dc157612dc0612b99565b5b612dca8261297b565b9050602081019050919050565b6000612dea612de584612da6565b612bf9565b905082815260208101848484011115612e0657612e05612b94565b5b612e11848285612c45565b509392505050565b600082601f830112612e2e57612e2d612b8f565b5b8135612e3e848260208601612dd7565b91505092915050565b60008060008060808587031215612e6157612e60612867565b5b6000612e6f87828801612abd565b9450506020612e8087828801612abd565b9350506040612e9187828801612a08565b925050606085013567ffffffffffffffff811115612eb257612eb161286c565b5b612ebe87828801612e19565b91505092959194509250565b60008060408385031215612ee157612ee0612867565b5b6000612eef85828601612abd565b9250506020612f0085828601612abd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f5157607f821691505b602082108103612f6457612f63612f0a565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fa0602083612937565b9150612fab82612f6a565b602082019050919050565b60006020820190508181036000830152612fcf81612f93565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061303f826129e7565b915061304a836129e7565b92508261305a57613059612fd6565b5b828204905092915050565b6000613070826129e7565b915061307b836129e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156130b4576130b3613005565b5b828202905092915050565b7f53616c65206973206e6f74206f70656e20796574000000000000000000000000600082015250565b60006130f5601483612937565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b6000613136826129e7565b9150613141836129e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561317657613175613005565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b60006131b7601683612937565b91506131c282613181565b602082019050919050565b600060208201905081810360008301526131e6816131aa565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b6000613223601b83612937565b915061322e826131ed565b602082019050919050565b6000602082019050818103600083015261325281613216565b9050919050565b6000613264826129e7565b915061326f836129e7565b92508282101561328257613281613005565b5b828203905092915050565b7f45746865722073656e7420697320696e636f7272656374000000000000000000600082015250565b60006132c3601783612937565b91506132ce8261328d565b602082019050919050565b600060208201905081810360008301526132f2816132b6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613355602f83612937565b9150613360826132f9565b604082019050919050565b6000602082019050818103600083015261338481613348565b9050919050565b600081905092915050565b60006133a18261292c565b6133ab818561338b565b93506133bb818560208601612948565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133fd60058361338b565b9150613408826133c7565b600582019050919050565b600061341f8285613396565b915061342b8284613396565b9150613436826133f0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061349e602683612937565b91506134a982613442565b604082019050919050565b600060208201905081810360008301526134cd81613491565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006134fb826134d4565b61350581856134df565b9350613515818560208601612948565b61351e8161297b565b840191505092915050565b600060808201905061353e6000830187612a7c565b61354b6020830186612a7c565b6135586040830185612b12565b818103606083015261356a81846134f0565b905095945050505050565b6000815190506135848161289d565b92915050565b6000602082840312156135a05761359f612867565b5b60006135ae84828501613575565b91505092915050565b60006135c2826129e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135f4576135f3613005565b5b600182019050919050565b600061360a826129e7565b9150613615836129e7565b92508261362557613624612fd6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220a6f9451a08656767240dcd0f772fa16f7f4ed6293a074a205cfcce09a800287964736f6c634300080e0033

Deployed Bytecode

0x6080604052600436106101c25760003560e01c8063853828b6116100f7578063a22cb46511610095578063d755bf9911610064578063d755bf99146105da578063e985e9c514610603578063f2fde38b14610640578063f43a22dc14610669576101c2565b8063a22cb46514610520578063b88d4fde14610549578063c87b56dd14610572578063cd90e5af146105af576101c2565b806395d89b41116100d157806395d89b411461048357806399288dbb146104ae578063a035b1fe146104d9578063a0712d6814610504576101c2565b8063853828b6146104255780638da5cb5b1461042f57806391b7f5ed1461045a576101c2565b806332cb6b0c116101645780636352211e1161013e5780636352211e1461037d57806370a08231146103ba578063715018a6146103f75780637ba5e6211461040e576101c2565b806332cb6b0c1461030057806342842e0e1461032b57806355f804b314610354576101c2565b8063081812fc116101a0578063081812fc14610246578063095ea7b31461028357806318160ddd146102ac57806323b872dd146102d7576101c2565b806301ffc9a7146101c757806306fdde031461020457806308003f781461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e991906128c9565b610694565b6040516101fb9190612911565b60405180910390f35b34801561021057600080fd5b50610219610776565b60405161022691906129c5565b60405180910390f35b34801561023b57600080fd5b50610244610808565b005b34801561025257600080fd5b5061026d60048036038101906102689190612a1d565b610894565b60405161027a9190612a8b565b60405180910390f35b34801561028f57600080fd5b506102aa60048036038101906102a59190612ad2565b610910565b005b3480156102b857600080fd5b506102c1610a1a565b6040516102ce9190612b21565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190612b3c565b610a31565b005b34801561030c57600080fd5b50610315610a41565b6040516103229190612b21565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d9190612b3c565b610a47565b005b34801561036057600080fd5b5061037b60048036038101906103769190612cc4565b610a67565b005b34801561038957600080fd5b506103a4600480360381019061039f9190612a1d565b610afd565b6040516103b19190612a8b565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190612d0d565b610b13565b6040516103ee9190612b21565b60405180910390f35b34801561040357600080fd5b5061040c610be2565b005b34801561041a57600080fd5b50610423610c6a565b005b61042d610d12565b005b34801561043b57600080fd5b50610444610e7a565b6040516104519190612a8b565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190612a1d565b610ea4565b005b34801561048f57600080fd5b50610498610f2a565b6040516104a591906129c5565b60405180910390f35b3480156104ba57600080fd5b506104c3610fbc565b6040516104d09190612911565b60405180910390f35b3480156104e557600080fd5b506104ee610fcf565b6040516104fb9190612b21565b60405180910390f35b61051e60048036038101906105199190612a1d565b610fd5565b005b34801561052c57600080fd5b5061054760048036038101906105429190612d66565b611212565b005b34801561055557600080fd5b50610570600480360381019061056b9190612e47565b611389565b005b34801561057e57600080fd5b5061059960048036038101906105949190612a1d565b611405565b6040516105a691906129c5565b60405180910390f35b3480156105bb57600080fd5b506105c4611487565b6040516105d19190612b21565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190612a1d565b61148d565b005b34801561060f57600080fd5b5061062a60048036038101906106259190612eca565b611513565b6040516106379190612911565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190612d0d565b6115a7565b005b34801561067557600080fd5b5061067e61169e565b60405161068b9190612b21565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061076f575061076e826116a4565b5b9050919050565b60606002805461078590612f39565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190612f39565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b61081061170e565b73ffffffffffffffffffffffffffffffffffffffff1661082e610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087b90612fb6565b60405180910390fd5b61088c610a1a565b600981905550565b600061089f82611716565b6108d5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091b82610afd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610982576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109a161170e565b73ffffffffffffffffffffffffffffffffffffffff16141580156109d357506109d1816109cc61170e565b611513565b155b15610a0a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a15838383611764565b505050565b6000610a24611816565b6001546000540303905090565b610a3c83838361181f565b505050565b60095481565b610a6283838360405180602001604052806000815250611389565b505050565b610a6f61170e565b73ffffffffffffffffffffffffffffffffffffffff16610a8d610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ada90612fb6565b60405180910390fd5b80600f9080519060200190610af9929190612777565b5050565b6000610b0882611cd3565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b7a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610bea61170e565b73ffffffffffffffffffffffffffffffffffffffff16610c08610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590612fb6565b60405180910390fd5b610c686000611f62565b565b610c7261170e565b73ffffffffffffffffffffffffffffffffffffffff16610c90610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdd90612fb6565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610d1a61170e565b73ffffffffffffffffffffffffffffffffffffffff16610d38610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612fb6565b60405180910390fd5b6000606447610d9d9190613034565b9050600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610de89190613065565b9081150290604051600060405180830381858888f19350505050610e0b57600080fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610e549190613065565b9081150290604051600060405180830381858888f19350505050610e7757600080fd5b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610eac61170e565b73ffffffffffffffffffffffffffffffffffffffff16610eca610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614610f20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1790612fb6565b60405180910390fd5b80600c8190555050565b606060038054610f3990612f39565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6590612f39565b8015610fb25780601f10610f8757610100808354040283529160200191610fb2565b820191906000526020600020905b815481529060010190602001808311610f9557829003601f168201915b5050505050905090565b600d60009054906101000a900460ff1681565b600c5481565b6000610fdf610a1a565b90506000610fec33610b13565b9050600d60009054906101000a900460ff1661103d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110349061310b565b60405180910390fd5b600954838361104c919061312b565b111561108d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611084906131cd565b60405180910390fd5b600b548311156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613239565b60405180910390fd5b600a54811080156110f0575080600a546110ec9190613259565b8311155b1561113d5760003414611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f906132d9565b60405180910390fd5b611203565b600a54811061119a5782600c546111549190613065565b3414611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c906132d9565b60405180910390fd5b611202565b600a5481846111a9919061312b565b6111b39190613259565b600c546111c09190613065565b3414611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f8906132d9565b60405180910390fd5b5b5b61120d3384612028565b505050565b61121a61170e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361127e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061128b61170e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661133861170e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161137d9190612911565b60405180910390a35050565b61139484848461181f565b6113b38373ffffffffffffffffffffffffffffffffffffffff16612046565b80156113c857506113c684848484612069565b155b156113ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061141082611716565b61144f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114469061336b565b60405180910390fd5b6114576121b9565b6114608361224b565b604051602001611471929190613413565b6040516020818303038152906040529050919050565b600a5481565b61149561170e565b73ffffffffffffffffffffffffffffffffffffffff166114b3610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614611509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150090612fb6565b60405180910390fd5b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115af61170e565b73ffffffffffffffffffffffffffffffffffffffff166115cd610e7a565b73ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90612fb6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906134b4565b60405180910390fd5b61169b81611f62565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611721611816565b11158015611730575060005482105b801561175d575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061182a82611cd3565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611895576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166118b661170e565b73ffffffffffffffffffffffffffffffffffffffff1614806118e557506118e4856118df61170e565b611513565b5b8061192a57506118f361170e565b73ffffffffffffffffffffffffffffffffffffffff1661191284610894565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611963576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036119c9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119d685858560016123ab565b6119e260008487611764565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611c61576000548214611c6057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ccc85858560016123b1565b5050505050565b611cdb6127fd565b600082905080611ce9611816565b11158015611cf8575060005481105b15611f2b576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2957600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e0d578092505050611f5d565b5b600115611f2857818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f23578092505050611f5d565b611e0e565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6120428282604051806020016040528060008152506123b7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261208f61170e565b8786866040518563ffffffff1660e01b81526004016120b19493929190613529565b6020604051808303816000875af19250505080156120ed57506040513d601f19601f820116820180604052508101906120ea919061358a565b60015b612166573d806000811461211d576040519150601f19603f3d011682016040523d82523d6000602084013e612122565b606091505b50600081510361215e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f80546121c890612f39565b80601f01602080910402602001604051908101604052809291908181526020018280546121f490612f39565b80156122415780601f1061221657610100808354040283529160200191612241565b820191906000526020600020905b81548152906001019060200180831161222457829003601f168201915b5050505050905090565b606060008203612292576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123a6565b600082905060005b600082146122c45780806122ad906135b7565b915050600a826122bd9190613034565b915061229a565b60008167ffffffffffffffff8111156122e0576122df612b99565b5b6040519080825280601f01601f1916602001820160405280156123125781602001600182028036833780820191505090505b5090505b6000851461239f5760018261232b9190613259565b9150600a8561233a91906135ff565b6030612346919061312b565b60f81b81838151811061235c5761235b613630565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123989190613034565b9450612316565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612423576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000830361245d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61246a60008583866123ab565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000848201905061262b8673ffffffffffffffffffffffffffffffffffffffff16612046565b156126f0575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126a06000878480600101955087612069565b6126d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082036126315782600054146126eb57600080fd5b61275b565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036126f1575b81600081905550505061277160008583866123b1565b50505050565b82805461278390612f39565b90600052602060002090601f0160209004810192826127a557600085556127ec565b82601f106127be57805160ff19168380011785556127ec565b828001600101855582156127ec579182015b828111156127eb5782518255916020019190600101906127d0565b5b5090506127f99190612840565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612859576000816000905550600101612841565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128a681612871565b81146128b157600080fd5b50565b6000813590506128c38161289d565b92915050565b6000602082840312156128df576128de612867565b5b60006128ed848285016128b4565b91505092915050565b60008115159050919050565b61290b816128f6565b82525050565b60006020820190506129266000830184612902565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561296657808201518184015260208101905061294b565b83811115612975576000848401525b50505050565b6000601f19601f8301169050919050565b60006129978261292c565b6129a18185612937565b93506129b1818560208601612948565b6129ba8161297b565b840191505092915050565b600060208201905081810360008301526129df818461298c565b905092915050565b6000819050919050565b6129fa816129e7565b8114612a0557600080fd5b50565b600081359050612a17816129f1565b92915050565b600060208284031215612a3357612a32612867565b5b6000612a4184828501612a08565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a7582612a4a565b9050919050565b612a8581612a6a565b82525050565b6000602082019050612aa06000830184612a7c565b92915050565b612aaf81612a6a565b8114612aba57600080fd5b50565b600081359050612acc81612aa6565b92915050565b60008060408385031215612ae957612ae8612867565b5b6000612af785828601612abd565b9250506020612b0885828601612a08565b9150509250929050565b612b1b816129e7565b82525050565b6000602082019050612b366000830184612b12565b92915050565b600080600060608486031215612b5557612b54612867565b5b6000612b6386828701612abd565b9350506020612b7486828701612abd565b9250506040612b8586828701612a08565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bd18261297b565b810181811067ffffffffffffffff82111715612bf057612bef612b99565b5b80604052505050565b6000612c0361285d565b9050612c0f8282612bc8565b919050565b600067ffffffffffffffff821115612c2f57612c2e612b99565b5b612c388261297b565b9050602081019050919050565b82818337600083830152505050565b6000612c67612c6284612c14565b612bf9565b905082815260208101848484011115612c8357612c82612b94565b5b612c8e848285612c45565b509392505050565b600082601f830112612cab57612caa612b8f565b5b8135612cbb848260208601612c54565b91505092915050565b600060208284031215612cda57612cd9612867565b5b600082013567ffffffffffffffff811115612cf857612cf761286c565b5b612d0484828501612c96565b91505092915050565b600060208284031215612d2357612d22612867565b5b6000612d3184828501612abd565b91505092915050565b612d43816128f6565b8114612d4e57600080fd5b50565b600081359050612d6081612d3a565b92915050565b60008060408385031215612d7d57612d7c612867565b5b6000612d8b85828601612abd565b9250506020612d9c85828601612d51565b9150509250929050565b600067ffffffffffffffff821115612dc157612dc0612b99565b5b612dca8261297b565b9050602081019050919050565b6000612dea612de584612da6565b612bf9565b905082815260208101848484011115612e0657612e05612b94565b5b612e11848285612c45565b509392505050565b600082601f830112612e2e57612e2d612b8f565b5b8135612e3e848260208601612dd7565b91505092915050565b60008060008060808587031215612e6157612e60612867565b5b6000612e6f87828801612abd565b9450506020612e8087828801612abd565b9350506040612e9187828801612a08565b925050606085013567ffffffffffffffff811115612eb257612eb161286c565b5b612ebe87828801612e19565b91505092959194509250565b60008060408385031215612ee157612ee0612867565b5b6000612eef85828601612abd565b9250506020612f0085828601612abd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f5157607f821691505b602082108103612f6457612f63612f0a565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fa0602083612937565b9150612fab82612f6a565b602082019050919050565b60006020820190508181036000830152612fcf81612f93565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061303f826129e7565b915061304a836129e7565b92508261305a57613059612fd6565b5b828204905092915050565b6000613070826129e7565b915061307b836129e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156130b4576130b3613005565b5b828202905092915050565b7f53616c65206973206e6f74206f70656e20796574000000000000000000000000600082015250565b60006130f5601483612937565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b6000613136826129e7565b9150613141836129e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561317657613175613005565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b60006131b7601683612937565b91506131c282613181565b602082019050919050565b600060208201905081810360008301526131e6816131aa565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b6000613223601b83612937565b915061322e826131ed565b602082019050919050565b6000602082019050818103600083015261325281613216565b9050919050565b6000613264826129e7565b915061326f836129e7565b92508282101561328257613281613005565b5b828203905092915050565b7f45746865722073656e7420697320696e636f7272656374000000000000000000600082015250565b60006132c3601783612937565b91506132ce8261328d565b602082019050919050565b600060208201905081810360008301526132f2816132b6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613355602f83612937565b9150613360826132f9565b604082019050919050565b6000602082019050818103600083015261338481613348565b9050919050565b600081905092915050565b60006133a18261292c565b6133ab818561338b565b93506133bb818560208601612948565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133fd60058361338b565b9150613408826133c7565b600582019050919050565b600061341f8285613396565b915061342b8284613396565b9150613436826133f0565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061349e602683612937565b91506134a982613442565b604082019050919050565b600060208201905081810360008301526134cd81613491565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006134fb826134d4565b61350581856134df565b9350613515818560208601612948565b61351e8161297b565b840191505092915050565b600060808201905061353e6000830187612a7c565b61354b6020830186612a7c565b6135586040830185612b12565b818103606083015261356a81846134f0565b905095945050505050565b6000815190506135848161289d565b92915050565b6000602082840312156135a05761359f612867565b5b60006135ae84828501613575565b91505092915050565b60006135c2826129e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135f4576135f3613005565b5b600182019050919050565b600061360a826129e7565b9150613615836129e7565b92508261362557613624612fd6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220a6f9451a08656767240dcd0f772fa16f7f4ed6293a074a205cfcce09a800287964736f6c634300080e0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.