ETH Price: $3,409.38 (-0.19%)
Gas: 7 Gwei

Token

0xKaijuKingz (0xKK)
 

Overview

Max Total Supply

587 0xKK

Holders

197

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 0xKK
0xb0a2605167939103fe02b57daab90e491dc20ab5
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:
OxKK

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 1 : OxKK_flat.sol
// SPDX-License-Identifier: MIT
//
//   __          _  __         _     _          _  __  _                    
//  /  \  __ __ | |/ /  __ _  (_)   (_)  _  _  | |/ / (_)  _ _    __ _   ___
// | () | \ \ / | ' <  / _` | | |   | | | || | | ' <  | | | ' \  / _` | |_ /
//  \__/  /_\_\ |_|\_\ \__,_| |_|  _/ |  \_,_| |_|\_\ |_| |_||_| \__, | /__|
//                                |__/                           |___/      
//
//
//                                           Roar !
//                        ██████████████  
//                      ████░░████████████
//                      ██████████████████
//                      ██████████████████
//                      ██████████████████
//                      ████████          
//                      ██████████████░░  
//                      ██████            
//  ██              ██████████            
//  ██▒▒        ▒▒▒▒██████████▒▒▒▒        
//  ████▓▓      ██████████████  ▒▒        
//  ██████▒▒▒▒████████████████            
//  ██████████████████████████            
//    ██████████████████████              
//        ██████████████████              
//        ▒▒██████████████                
//          ▒▒██████▒▒██▓▓                
//            ████      ▓▓                
//            ██▒▒      ▓▓                
//            ██        ██                
//
// Thanks to Chiru Labs for open-sourcing ERC721A
// 0xKaijuKingz is an homage not affiliated nor endorsed by the original KaijuKingz

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol
pragma solidity ^0.8.0;
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }
    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }
        return (signer, RecoverError.NoError);
    }
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.8.0;
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    function toString(uint256 value) internal pure returns (string memory) {
        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);
    }
    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);
    }
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity ^0.8.0;
abstract contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor() {
        _transferOwnership(_msgSender());
    }
    function owner() public view virtual returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity ^0.8.1;
library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }
    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");
    }
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }
    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");
    }
    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);
    }
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }
    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);
    }
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }
    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);
    }
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
pragma solidity ^0.8.0;
interface IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
pragma solidity ^0.8.0;
interface IERC165 {
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
pragma solidity ^0.8.0;
abstract contract ERC165 is IERC165 {
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
pragma solidity ^0.8.0;
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;
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


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

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

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

// File: ERC721A.sol
pragma solidity ^0.8.11;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.11;
contract OxKK is ERC721A, Ownable{
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 4444;
    uint256 public constant MAX_OG_MINT = 2;
    uint256 public PUBLIC_SALE_PRICE = .01 ether;
    string private  baseTokenUri = "ipfs://bafybeiduyismz6enqehprowpwg3x2b4on3wqte6d6jsem2kayucs4ypage/";
    bool public publicSale = false;
    bool public OGSale = false;
    address public checksum = address(0x12284317eF8558DDaaf702d8492d8FbCcBf62f50);

    mapping(address => uint256) public totalOGMint;
    mapping(bytes => bool) private signatureUsed;

    constructor() ERC721A("0xKaijuKingz", "0xKK"){

    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "0xKaijuKingz :: Cannot be called by a contract");
        _;
    }

    function recoverSigner(bytes32 hash, bytes memory signature) public pure returns (address) {
        bytes32 messageDigest = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
        return ECDSA.recover(messageDigest, signature);
    }

    function total_minted() external view virtual returns (uint256){
        return (_totalMinted());
    }

    function Mint(uint256 _quantity) external payable callerIsUser{
        require(publicSale, "0xKaijuKingz :: Not Yet Active.");
        require(_quantity < 11, "0xKaijuKingz :: Max 10/tx.");
        require((_totalMinted() + _quantity) <= MAX_SUPPLY, "0xKaijuKingz :: Beyond Max Supply");
        require(msg.value >= (PUBLIC_SALE_PRICE * _quantity), "0xKaijuKingz :: Below ");
        _safeMint(msg.sender, _quantity);
    }

    function OgMint(bytes32 hash, bytes memory signature) external callerIsUser{
        require(OGSale, "0xKaijuKingz :: OG sale Not Yet Active.");
        require((_totalMinted() + 2) <= MAX_SUPPLY, "0xKaijuKingz :: Cannot mint beyond max supply");
        require(totalOGMint[msg.sender] <= MAX_OG_MINT, "0xKaijuKingz :: You already claimed your 2 free mints");
        require(recoverSigner(hash, signature) == checksum, "0xKaijuKingz :: Address is not allowlisted");
        require(!signatureUsed[signature], "0xKaijuKingz :: Signature has already been used.");
        signatureUsed[signature] = true;
        totalOGMint[msg.sender] += 2;
        _safeMint(msg.sender, 2);
    }

    function Airdrop(address _to, uint256 _quantity) external onlyOwner{
        require((totalSupply() + _quantity) <= MAX_SUPPLY, "0xKaijuKingz :: Cannot mint beyond max supply");
        _safeMint(_to, _quantity);
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, tokenId.toString(),".json")) : "";
    }

    function walletOf() external view returns(uint256[] memory){
        address _owner = msg.sender;
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;
        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);
            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
            currentTokenId++;
        }
        return ownedTokenIds;
    }

    function setTokenUri(string memory _baseTokenUri) external onlyOwner{
        baseTokenUri = _baseTokenUri;
    }

    function getPrice() external view returns (uint256){
        return PUBLIC_SALE_PRICE;
    }

    function toggleOGSale() external onlyOwner{
        OGSale = !OGSale;
    }

    function togglePublicSale() external onlyOwner{
        publicSale = !publicSale;
    }

    function withdraw() external onlyOwner{
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }
}

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

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":"OwnerIndexOutOfBounds","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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MAX_OG_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"OGSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"OgMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checksum","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleOGSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalOGMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"total_minted","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":"walletOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

662386f26fc10000600955610100604052604360808181529062002b9160a03980516200003591600a916020909101906200013c565b50600b80546001600160b01b0319167512284317ef8558ddaaf702d8492d8fbccbf62f5000001790553480156200006b57600080fd5b50604080518082018252600c81526b183c25b0b4b53aa5b4b733bd60a11b60208083019182528351808501909452600484526330784b4b60e01b908401528151919291620000bc916002916200013c565b508051620000d29060039060208401906200013c565b50506000805550620000e433620000ea565b6200021f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600181811c90821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b612962806200022f6000396000f3fe60806040526004361061024f5760003560e01c8063715018a611610138578063b88d4fde116100b0578063db43851a1161007f578063e985e9c511610064578063e985e9c51461064a578063f00de92814610693578063f2fde38b146106a857600080fd5b8063db43851a14610615578063e222c7f91461063557600080fd5b8063b88d4fde146105a1578063be17be5d146105c1578063c1bde404146105d6578063c87b56dd146105f557600080fd5b806395d89b411161010757806398d5fdca116100ec57806398d5fdca14610557578063998001851461056c578063a22cb4651461058157600080fd5b806395d89b411461052257806397aba7f91461053757600080fd5b8063715018a6146104ad57806383a974a2146104c25780638c32c568146104e45780638da5cb5b1461050457600080fd5b806323b872dd116101cb5780633ccfd60b1161019a578063487c20911161017f578063487c2091146104475780636352211e1461046d57806370a082311461048d57600080fd5b80633ccfd60b1461041257806342842e0e1461042757600080fd5b806323b872dd146103a25780632f745c59146103c257806332cb6b0c146103e257806333bc1c5c146103f857600080fd5b806307e89ec011610222578063095ea7b311610207578063095ea7b31461033c5780631305b59c1461035c57806318160ddd1461038957600080fd5b806307e89ec0146102e0578063081812fc1461030457600080fd5b806301ffc9a7146102545780630675b7c61461028957806306fdde03146102ab57806307883703146102cd575b600080fd5b34801561026057600080fd5b5061027461026f366004612308565b6106c8565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b506102a96102a43660046123b8565b61071a565b005b3480156102b757600080fd5b506102c0610790565b6040516102809190612459565b6102a96102db36600461246c565b610822565b3480156102ec57600080fd5b506102f660095481565b604051908152602001610280565b34801561031057600080fd5b5061032461031f36600461246c565b610a03565b6040516001600160a01b039091168152602001610280565b34801561034857600080fd5b506102a96103573660046124a1565b610a47565b34801561036857600080fd5b506102f66103773660046124cb565b600c6020526000908152604090205481565b34801561039557600080fd5b50600154600054036102f6565b3480156103ae57600080fd5b506102a96103bd3660046124e6565b610ad5565b3480156103ce57600080fd5b506102f66103dd3660046124a1565b610ae0565b3480156103ee57600080fd5b506102f661115c81565b34801561040457600080fd5b50600b546102749060ff1681565b34801561041e57600080fd5b506102a9610bd4565b34801561043357600080fd5b506102a96104423660046124e6565b610c9f565b34801561045357600080fd5b50600b54610324906201000090046001600160a01b031681565b34801561047957600080fd5b5061032461048836600461246c565b610cba565b34801561049957600080fd5b506102f66104a83660046124cb565b610ccc565b3480156104b957600080fd5b506102a9610d1b565b3480156104ce57600080fd5b506104d7610d81565b6040516102809190612522565b3480156104f057600080fd5b506102a96104ff3660046124a1565b610e63565b34801561051057600080fd5b506008546001600160a01b0316610324565b34801561052e57600080fd5b506102c0610f46565b34801561054357600080fd5b50610324610552366004612586565b610f55565b34801561056357600080fd5b506009546102f6565b34801561057857600080fd5b506102a9610fb7565b34801561058d57600080fd5b506102a961059c3660046125cd565b61102e565b3480156105ad57600080fd5b506102a96105bc366004612609565b6110c4565b3480156105cd57600080fd5b506000546102f6565b3480156105e257600080fd5b50600b5461027490610100900460ff1681565b34801561060157600080fd5b506102c061061036600461246c565b611115565b34801561062157600080fd5b506102a9610630366004612586565b6111ee565b34801561064157600080fd5b506102a9611563565b34801561065657600080fd5b50610274610665366004612671565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069f57600080fd5b506102f6600281565b3480156106b457600080fd5b506102a96106c33660046124cb565b6115d1565b60006001600160e01b031982166380ac58cd60e01b14806106f957506001600160e01b03198216635b5e139f60e01b145b8061071457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146107795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b805161078c90600a906020840190612259565b5050565b60606002805461079f906126a4565b80601f01602080910402602001604051908101604052809291908181526020018280546107cb906126a4565b80156108185780601f106107ed57610100808354040283529160200191610818565b820191906000526020600020905b8154815290600101906020018083116107fb57829003601f168201915b5050505050905090565b3233146108885760405162461bcd60e51b815260206004820152602e60248201527f30784b61696a754b696e677a203a3a2043616e6e6f742062652063616c6c656460448201526d08189e48184818dbdb9d1c9858dd60921b6064820152608401610770565b600b5460ff166108da5760405162461bcd60e51b815260206004820152601f60248201527f30784b61696a754b696e677a203a3a204e6f7420596574204163746976652e006044820152606401610770565b600b811061092a5760405162461bcd60e51b815260206004820152601a60248201527f30784b61696a754b696e677a203a3a204d61782031302f74782e0000000000006044820152606401610770565b61115c8161093760005490565b61094191906126f5565b11156109995760405162461bcd60e51b815260206004820152602160248201527f30784b61696a754b696e677a203a3a204265796f6e64204d617820537570706c6044820152607960f81b6064820152608401610770565b806009546109a7919061270d565b3410156109f65760405162461bcd60e51b815260206004820152601660248201527f30784b61696a754b696e677a203a3a2042656c6f7720000000000000000000006044820152606401610770565b610a0033826116b0565b50565b6000610a0e826116ca565b610a2b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a5282610cba565b9050806001600160a01b0316836001600160a01b03161415610a875760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610aa75750610aa58133610665565b155b15610ac5576040516367d9dca160e11b815260040160405180910390fd5b610ad08383836116f5565b505050565b610ad083838361175e565b6000610aeb83610ccc565b8210610b0a576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610bce57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282019290925290610b7a5750610bc6565b80516001600160a01b031615610b8f57805192505b876001600160a01b0316836001600160a01b03161415610bc45786841415610bbd5750935061071492505050565b6001909301925b505b600101610b12565b50600080fd5b6008546001600160a01b03163314610c2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b6000610c426008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c8c576040519150601f19603f3d011682016040523d82523d6000602084013e610c91565b606091505b5050905080610a0057600080fd5b610ad0838383604051806020016040528060008152506110c4565b6000610cc582611974565b5192915050565b60006001600160a01b038216610cf5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b610d7f6000611a90565b565b6060336000610d8f82610ccc565b905060008167ffffffffffffffff811115610dac57610dac61232c565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b509050600160005b8381108015610dee575061115c8211155b15610e59576000610dfe83610cba565b9050856001600160a01b0316816001600160a01b03161415610e465782848381518110610e2d57610e2d61272c565b602090810291909101015281610e4281612742565b9250505b82610e5081612742565b93505050610ddd565b5090949350505050565b6008546001600160a01b03163314610ebd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b61115c81610ece6001546000540390565b610ed891906126f5565b1115610f3c5760405162461bcd60e51b815260206004820152602d60248201527f30784b61696a754b696e677a203a3a2043616e6e6f74206d696e74206265796f60448201526c6e64206d617820737570706c7960981b6064820152608401610770565b61078c82826116b0565b60606003805461079f906126a4565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018390526000908190605c01604051602081830303815290604052805190602001209050610faf8184611aef565b949350505050565b6008546001600160a01b031633146110115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600b805461ff001981166101009182900460ff1615909102179055565b6001600160a01b0382163314156110585760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110cf84848461175e565b6001600160a01b0383163b151580156110f157506110ef84848484611b13565b155b1561110f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611120826116ca565b6111925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610770565b6000600a80546111a1906126a4565b9050116111bd5760405180602001604052806000815250610714565b600a6111c883611bfb565b6040516020016111d9929190612779565b60405160208183030381529060405292915050565b3233146112545760405162461bcd60e51b815260206004820152602e60248201527f30784b61696a754b696e677a203a3a2043616e6e6f742062652063616c6c656460448201526d08189e48184818dbdb9d1c9858dd60921b6064820152608401610770565b600b54610100900460ff166112d15760405162461bcd60e51b815260206004820152602760248201527f30784b61696a754b696e677a203a3a204f472073616c65204e6f74205965742060448201527f4163746976652e000000000000000000000000000000000000000000000000006064820152608401610770565b61115c6112dd60005490565b6112e89060026126f5565b111561134c5760405162461bcd60e51b815260206004820152602d60248201527f30784b61696a754b696e677a203a3a2043616e6e6f74206d696e74206265796f60448201526c6e64206d617820737570706c7960981b6064820152608401610770565b336000908152600c6020526040902054600210156113d25760405162461bcd60e51b815260206004820152603560248201527f30784b61696a754b696e677a203a3a20596f7520616c726561647920636c616960448201527f6d656420796f757220322066726565206d696e747300000000000000000000006064820152608401610770565b600b546201000090046001600160a01b03166113ee8383610f55565b6001600160a01b03161461146a5760405162461bcd60e51b815260206004820152602a60248201527f30784b61696a754b696e677a203a3a2041646472657373206973206e6f74206160448201527f6c6c6f776c6973746564000000000000000000000000000000000000000000006064820152608401610770565b600d8160405161147a919061284c565b9081526040519081900360200190205460ff16156115005760405162461bcd60e51b815260206004820152603060248201527f30784b61696a754b696e677a203a3a205369676e61747572652068617320616c60448201527f7265616479206265656e20757365642e000000000000000000000000000000006064820152608401610770565b6001600d82604051611512919061284c565b9081526040805160209281900383019020805460ff191693151593909317909255336000908152600c9091529081208054600292906115529084906126f5565b9091555061078c90503360026116b0565b6008546001600160a01b031633146115bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600b805460ff19811660ff90911615179055565b6008546001600160a01b0316331461162b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b6001600160a01b0381166116a75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610770565b610a0081611a90565b61078c828260405180602001604052806000815250611d11565b6000805482108015610714575050600090815260046020526040902054600160e01b900460ff161590565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061176982611974565b80519091506000906001600160a01b0316336001600160a01b03161480611797575081516117979033610665565b806117b25750336117a784610a03565b6001600160a01b0316145b9050806117d257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146118075760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661182e57604051633a954ecd60e21b815260040160405180910390fd5b61183e60008484600001516116f5565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661192a5760005481101561192a578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611a7757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611a755780516001600160a01b031615611a0b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611a70579392505050565b611a0b565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806000611afe8585611d1e565b91509150611b0b81611d8e565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b48903390899088908890600401612868565b6020604051808303816000875af1925050508015611b83575060408051601f3d908101601f19168201909252611b80918101906128a4565b60015b611bde573d808015611bb1576040519150601f19603f3d011682016040523d82523d6000602084013e611bb6565b606091505b508051611bd6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611c1f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c495780611c3381612742565b9150611c429050600a836128d7565b9150611c23565b60008167ffffffffffffffff811115611c6457611c6461232c565b6040519080825280601f01601f191660200182016040528015611c8e576020820181803683370190505b5090505b8415610faf57611ca36001836128eb565b9150611cb0600a86612902565b611cbb9060306126f5565b60f81b818381518110611cd057611cd061272c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d0a600a866128d7565b9450611c92565b610ad08383836001611f49565b600080825160411415611d555760208301516040840151606085015160001a611d498782858561211a565b94509450505050611d87565b825160401415611d7f5760208301516040840151611d74868383612207565b935093505050611d87565b506000905060025b9250929050565b6000816004811115611da257611da2612916565b1415611dab5750565b6001816004811115611dbf57611dbf612916565b1415611e0d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610770565b6002816004811115611e2157611e21612916565b1415611e6f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610770565b6003816004811115611e8357611e83612916565b1415611edc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610770565b6004816004811115611ef057611ef0612916565b1415610a005760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610770565b6000546001600160a01b038516611f7257604051622e076360e81b815260040160405180910390fd5b83611f905760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561204257506001600160a01b0387163b15155b156120cb575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120936000888480600101955088611b13565b6120b0576040516368d2bf6b60e11b815260040160405180910390fd5b808214156120485782600054146120c657600080fd5b612111565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156120cc575b5060005561196d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561215157506000905060036121fe565b8460ff16601b1415801561216957508460ff16601c14155b1561217a57506000905060046121fe565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156121ce573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121f7576000600192509250506121fe565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161223d60ff86901c601b6126f5565b905061224b8782888561211a565b935093505050935093915050565b828054612265906126a4565b90600052602060002090601f01602090048101928261228757600085556122cd565b82601f106122a057805160ff19168380011785556122cd565b828001600101855582156122cd579182015b828111156122cd5782518255916020019190600101906122b2565b506122d99291506122dd565b5090565b5b808211156122d957600081556001016122de565b6001600160e01b031981168114610a0057600080fd5b60006020828403121561231a57600080fd5b8135612325816122f2565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561235d5761235d61232c565b604051601f8501601f19908116603f011681019082821181831017156123855761238561232c565b8160405280935085815286868601111561239e57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123ca57600080fd5b813567ffffffffffffffff8111156123e157600080fd5b8201601f810184136123f257600080fd5b610faf84823560208401612342565b60005b8381101561241c578181015183820152602001612404565b8381111561110f5750506000910152565b60008151808452612445816020860160208601612401565b601f01601f19169290920160200192915050565b602081526000612325602083018461242d565b60006020828403121561247e57600080fd5b5035919050565b80356001600160a01b038116811461249c57600080fd5b919050565b600080604083850312156124b457600080fd5b6124bd83612485565b946020939093013593505050565b6000602082840312156124dd57600080fd5b61232582612485565b6000806000606084860312156124fb57600080fd5b61250484612485565b925061251260208501612485565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561255a5783518352928401929184019160010161253e565b50909695505050505050565b600082601f83011261257757600080fd5b61232583833560208501612342565b6000806040838503121561259957600080fd5b82359150602083013567ffffffffffffffff8111156125b757600080fd5b6125c385828601612566565b9150509250929050565b600080604083850312156125e057600080fd5b6125e983612485565b9150602083013580151581146125fe57600080fd5b809150509250929050565b6000806000806080858703121561261f57600080fd5b61262885612485565b935061263660208601612485565b925060408501359150606085013567ffffffffffffffff81111561265957600080fd5b61266587828801612566565b91505092959194509250565b6000806040838503121561268457600080fd5b61268d83612485565b915061269b60208401612485565b90509250929050565b600181811c908216806126b857607f821691505b602082108114156126d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612708576127086126df565b500190565b6000816000190483118215151615612727576127276126df565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612756576127566126df565b5060010190565b6000815161276f818560208601612401565b9290920192915050565b600080845481600182811c91508083168061279557607f831692505b60208084108214156127b557634e487b7160e01b86526022600452602486fd5b8180156127c957600181146127da57612807565b60ff19861689528489019650612807565b60008b81526020902060005b868110156127ff5781548b8201529085019083016127e6565b505084890196505b50505050505061284361281a828661275d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b6000825161285e818460208701612401565b9190910192915050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261289a608083018461242d565b9695505050505050565b6000602082840312156128b657600080fd5b8151612325816122f2565b634e487b7160e01b600052601260045260246000fd5b6000826128e6576128e66128c1565b500490565b6000828210156128fd576128fd6126df565b500390565b600082612911576129116128c1565b500690565b634e487b7160e01b600052602160045260246000fdfea264697066735822122028dd3e56b1e7dcd02342b2b40e3431e5505abb2f175fe356531279644caa9fa864736f6c634300080b0033697066733a2f2f6261667962656964757969736d7a36656e71656870726f7770776733783262346f6e33777174653664366a73656d326b61797563733479706167652f

Deployed Bytecode

0x60806040526004361061024f5760003560e01c8063715018a611610138578063b88d4fde116100b0578063db43851a1161007f578063e985e9c511610064578063e985e9c51461064a578063f00de92814610693578063f2fde38b146106a857600080fd5b8063db43851a14610615578063e222c7f91461063557600080fd5b8063b88d4fde146105a1578063be17be5d146105c1578063c1bde404146105d6578063c87b56dd146105f557600080fd5b806395d89b411161010757806398d5fdca116100ec57806398d5fdca14610557578063998001851461056c578063a22cb4651461058157600080fd5b806395d89b411461052257806397aba7f91461053757600080fd5b8063715018a6146104ad57806383a974a2146104c25780638c32c568146104e45780638da5cb5b1461050457600080fd5b806323b872dd116101cb5780633ccfd60b1161019a578063487c20911161017f578063487c2091146104475780636352211e1461046d57806370a082311461048d57600080fd5b80633ccfd60b1461041257806342842e0e1461042757600080fd5b806323b872dd146103a25780632f745c59146103c257806332cb6b0c146103e257806333bc1c5c146103f857600080fd5b806307e89ec011610222578063095ea7b311610207578063095ea7b31461033c5780631305b59c1461035c57806318160ddd1461038957600080fd5b806307e89ec0146102e0578063081812fc1461030457600080fd5b806301ffc9a7146102545780630675b7c61461028957806306fdde03146102ab57806307883703146102cd575b600080fd5b34801561026057600080fd5b5061027461026f366004612308565b6106c8565b60405190151581526020015b60405180910390f35b34801561029557600080fd5b506102a96102a43660046123b8565b61071a565b005b3480156102b757600080fd5b506102c0610790565b6040516102809190612459565b6102a96102db36600461246c565b610822565b3480156102ec57600080fd5b506102f660095481565b604051908152602001610280565b34801561031057600080fd5b5061032461031f36600461246c565b610a03565b6040516001600160a01b039091168152602001610280565b34801561034857600080fd5b506102a96103573660046124a1565b610a47565b34801561036857600080fd5b506102f66103773660046124cb565b600c6020526000908152604090205481565b34801561039557600080fd5b50600154600054036102f6565b3480156103ae57600080fd5b506102a96103bd3660046124e6565b610ad5565b3480156103ce57600080fd5b506102f66103dd3660046124a1565b610ae0565b3480156103ee57600080fd5b506102f661115c81565b34801561040457600080fd5b50600b546102749060ff1681565b34801561041e57600080fd5b506102a9610bd4565b34801561043357600080fd5b506102a96104423660046124e6565b610c9f565b34801561045357600080fd5b50600b54610324906201000090046001600160a01b031681565b34801561047957600080fd5b5061032461048836600461246c565b610cba565b34801561049957600080fd5b506102f66104a83660046124cb565b610ccc565b3480156104b957600080fd5b506102a9610d1b565b3480156104ce57600080fd5b506104d7610d81565b6040516102809190612522565b3480156104f057600080fd5b506102a96104ff3660046124a1565b610e63565b34801561051057600080fd5b506008546001600160a01b0316610324565b34801561052e57600080fd5b506102c0610f46565b34801561054357600080fd5b50610324610552366004612586565b610f55565b34801561056357600080fd5b506009546102f6565b34801561057857600080fd5b506102a9610fb7565b34801561058d57600080fd5b506102a961059c3660046125cd565b61102e565b3480156105ad57600080fd5b506102a96105bc366004612609565b6110c4565b3480156105cd57600080fd5b506000546102f6565b3480156105e257600080fd5b50600b5461027490610100900460ff1681565b34801561060157600080fd5b506102c061061036600461246c565b611115565b34801561062157600080fd5b506102a9610630366004612586565b6111ee565b34801561064157600080fd5b506102a9611563565b34801561065657600080fd5b50610274610665366004612671565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069f57600080fd5b506102f6600281565b3480156106b457600080fd5b506102a96106c33660046124cb565b6115d1565b60006001600160e01b031982166380ac58cd60e01b14806106f957506001600160e01b03198216635b5e139f60e01b145b8061071457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146107795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b805161078c90600a906020840190612259565b5050565b60606002805461079f906126a4565b80601f01602080910402602001604051908101604052809291908181526020018280546107cb906126a4565b80156108185780601f106107ed57610100808354040283529160200191610818565b820191906000526020600020905b8154815290600101906020018083116107fb57829003601f168201915b5050505050905090565b3233146108885760405162461bcd60e51b815260206004820152602e60248201527f30784b61696a754b696e677a203a3a2043616e6e6f742062652063616c6c656460448201526d08189e48184818dbdb9d1c9858dd60921b6064820152608401610770565b600b5460ff166108da5760405162461bcd60e51b815260206004820152601f60248201527f30784b61696a754b696e677a203a3a204e6f7420596574204163746976652e006044820152606401610770565b600b811061092a5760405162461bcd60e51b815260206004820152601a60248201527f30784b61696a754b696e677a203a3a204d61782031302f74782e0000000000006044820152606401610770565b61115c8161093760005490565b61094191906126f5565b11156109995760405162461bcd60e51b815260206004820152602160248201527f30784b61696a754b696e677a203a3a204265796f6e64204d617820537570706c6044820152607960f81b6064820152608401610770565b806009546109a7919061270d565b3410156109f65760405162461bcd60e51b815260206004820152601660248201527f30784b61696a754b696e677a203a3a2042656c6f7720000000000000000000006044820152606401610770565b610a0033826116b0565b50565b6000610a0e826116ca565b610a2b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a5282610cba565b9050806001600160a01b0316836001600160a01b03161415610a875760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610aa75750610aa58133610665565b155b15610ac5576040516367d9dca160e11b815260040160405180910390fd5b610ad08383836116f5565b505050565b610ad083838361175e565b6000610aeb83610ccc565b8210610b0a576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610bce57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161580159282019290925290610b7a5750610bc6565b80516001600160a01b031615610b8f57805192505b876001600160a01b0316836001600160a01b03161415610bc45786841415610bbd5750935061071492505050565b6001909301925b505b600101610b12565b50600080fd5b6008546001600160a01b03163314610c2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b6000610c426008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c8c576040519150601f19603f3d011682016040523d82523d6000602084013e610c91565b606091505b5050905080610a0057600080fd5b610ad0838383604051806020016040528060008152506110c4565b6000610cc582611974565b5192915050565b60006001600160a01b038216610cf5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b610d7f6000611a90565b565b6060336000610d8f82610ccc565b905060008167ffffffffffffffff811115610dac57610dac61232c565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b509050600160005b8381108015610dee575061115c8211155b15610e59576000610dfe83610cba565b9050856001600160a01b0316816001600160a01b03161415610e465782848381518110610e2d57610e2d61272c565b602090810291909101015281610e4281612742565b9250505b82610e5081612742565b93505050610ddd565b5090949350505050565b6008546001600160a01b03163314610ebd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b61115c81610ece6001546000540390565b610ed891906126f5565b1115610f3c5760405162461bcd60e51b815260206004820152602d60248201527f30784b61696a754b696e677a203a3a2043616e6e6f74206d696e74206265796f60448201526c6e64206d617820737570706c7960981b6064820152608401610770565b61078c82826116b0565b60606003805461079f906126a4565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018390526000908190605c01604051602081830303815290604052805190602001209050610faf8184611aef565b949350505050565b6008546001600160a01b031633146110115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600b805461ff001981166101009182900460ff1615909102179055565b6001600160a01b0382163314156110585760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110cf84848461175e565b6001600160a01b0383163b151580156110f157506110ef84848484611b13565b155b1561110f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611120826116ca565b6111925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610770565b6000600a80546111a1906126a4565b9050116111bd5760405180602001604052806000815250610714565b600a6111c883611bfb565b6040516020016111d9929190612779565b60405160208183030381529060405292915050565b3233146112545760405162461bcd60e51b815260206004820152602e60248201527f30784b61696a754b696e677a203a3a2043616e6e6f742062652063616c6c656460448201526d08189e48184818dbdb9d1c9858dd60921b6064820152608401610770565b600b54610100900460ff166112d15760405162461bcd60e51b815260206004820152602760248201527f30784b61696a754b696e677a203a3a204f472073616c65204e6f74205965742060448201527f4163746976652e000000000000000000000000000000000000000000000000006064820152608401610770565b61115c6112dd60005490565b6112e89060026126f5565b111561134c5760405162461bcd60e51b815260206004820152602d60248201527f30784b61696a754b696e677a203a3a2043616e6e6f74206d696e74206265796f60448201526c6e64206d617820737570706c7960981b6064820152608401610770565b336000908152600c6020526040902054600210156113d25760405162461bcd60e51b815260206004820152603560248201527f30784b61696a754b696e677a203a3a20596f7520616c726561647920636c616960448201527f6d656420796f757220322066726565206d696e747300000000000000000000006064820152608401610770565b600b546201000090046001600160a01b03166113ee8383610f55565b6001600160a01b03161461146a5760405162461bcd60e51b815260206004820152602a60248201527f30784b61696a754b696e677a203a3a2041646472657373206973206e6f74206160448201527f6c6c6f776c6973746564000000000000000000000000000000000000000000006064820152608401610770565b600d8160405161147a919061284c565b9081526040519081900360200190205460ff16156115005760405162461bcd60e51b815260206004820152603060248201527f30784b61696a754b696e677a203a3a205369676e61747572652068617320616c60448201527f7265616479206265656e20757365642e000000000000000000000000000000006064820152608401610770565b6001600d82604051611512919061284c565b9081526040805160209281900383019020805460ff191693151593909317909255336000908152600c9091529081208054600292906115529084906126f5565b9091555061078c90503360026116b0565b6008546001600160a01b031633146115bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b600b805460ff19811660ff90911615179055565b6008546001600160a01b0316331461162b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610770565b6001600160a01b0381166116a75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610770565b610a0081611a90565b61078c828260405180602001604052806000815250611d11565b6000805482108015610714575050600090815260046020526040902054600160e01b900460ff161590565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061176982611974565b80519091506000906001600160a01b0316336001600160a01b03161480611797575081516117979033610665565b806117b25750336117a784610a03565b6001600160a01b0316145b9050806117d257604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146118075760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661182e57604051633a954ecd60e21b815260040160405180910390fd5b61183e60008484600001516116f5565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661192a5760005481101561192a578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015611a7757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290611a755780516001600160a01b031615611a0b579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611a70579392505050565b611a0b565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806000611afe8585611d1e565b91509150611b0b81611d8e565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b48903390899088908890600401612868565b6020604051808303816000875af1925050508015611b83575060408051601f3d908101601f19168201909252611b80918101906128a4565b60015b611bde573d808015611bb1576040519150601f19603f3d011682016040523d82523d6000602084013e611bb6565b606091505b508051611bd6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611c1f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c495780611c3381612742565b9150611c429050600a836128d7565b9150611c23565b60008167ffffffffffffffff811115611c6457611c6461232c565b6040519080825280601f01601f191660200182016040528015611c8e576020820181803683370190505b5090505b8415610faf57611ca36001836128eb565b9150611cb0600a86612902565b611cbb9060306126f5565b60f81b818381518110611cd057611cd061272c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d0a600a866128d7565b9450611c92565b610ad08383836001611f49565b600080825160411415611d555760208301516040840151606085015160001a611d498782858561211a565b94509450505050611d87565b825160401415611d7f5760208301516040840151611d74868383612207565b935093505050611d87565b506000905060025b9250929050565b6000816004811115611da257611da2612916565b1415611dab5750565b6001816004811115611dbf57611dbf612916565b1415611e0d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610770565b6002816004811115611e2157611e21612916565b1415611e6f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610770565b6003816004811115611e8357611e83612916565b1415611edc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610770565b6004816004811115611ef057611ef0612916565b1415610a005760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610770565b6000546001600160a01b038516611f7257604051622e076360e81b815260040160405180910390fd5b83611f905760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561204257506001600160a01b0387163b15155b156120cb575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120936000888480600101955088611b13565b6120b0576040516368d2bf6b60e11b815260040160405180910390fd5b808214156120485782600054146120c657600080fd5b612111565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156120cc575b5060005561196d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561215157506000905060036121fe565b8460ff16601b1415801561216957508460ff16601c14155b1561217a57506000905060046121fe565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156121ce573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121f7576000600192509250506121fe565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83168161223d60ff86901c601b6126f5565b905061224b8782888561211a565b935093505050935093915050565b828054612265906126a4565b90600052602060002090601f01602090048101928261228757600085556122cd565b82601f106122a057805160ff19168380011785556122cd565b828001600101855582156122cd579182015b828111156122cd5782518255916020019190600101906122b2565b506122d99291506122dd565b5090565b5b808211156122d957600081556001016122de565b6001600160e01b031981168114610a0057600080fd5b60006020828403121561231a57600080fd5b8135612325816122f2565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561235d5761235d61232c565b604051601f8501601f19908116603f011681019082821181831017156123855761238561232c565b8160405280935085815286868601111561239e57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156123ca57600080fd5b813567ffffffffffffffff8111156123e157600080fd5b8201601f810184136123f257600080fd5b610faf84823560208401612342565b60005b8381101561241c578181015183820152602001612404565b8381111561110f5750506000910152565b60008151808452612445816020860160208601612401565b601f01601f19169290920160200192915050565b602081526000612325602083018461242d565b60006020828403121561247e57600080fd5b5035919050565b80356001600160a01b038116811461249c57600080fd5b919050565b600080604083850312156124b457600080fd5b6124bd83612485565b946020939093013593505050565b6000602082840312156124dd57600080fd5b61232582612485565b6000806000606084860312156124fb57600080fd5b61250484612485565b925061251260208501612485565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561255a5783518352928401929184019160010161253e565b50909695505050505050565b600082601f83011261257757600080fd5b61232583833560208501612342565b6000806040838503121561259957600080fd5b82359150602083013567ffffffffffffffff8111156125b757600080fd5b6125c385828601612566565b9150509250929050565b600080604083850312156125e057600080fd5b6125e983612485565b9150602083013580151581146125fe57600080fd5b809150509250929050565b6000806000806080858703121561261f57600080fd5b61262885612485565b935061263660208601612485565b925060408501359150606085013567ffffffffffffffff81111561265957600080fd5b61266587828801612566565b91505092959194509250565b6000806040838503121561268457600080fd5b61268d83612485565b915061269b60208401612485565b90509250929050565b600181811c908216806126b857607f821691505b602082108114156126d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612708576127086126df565b500190565b6000816000190483118215151615612727576127276126df565b500290565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612756576127566126df565b5060010190565b6000815161276f818560208601612401565b9290920192915050565b600080845481600182811c91508083168061279557607f831692505b60208084108214156127b557634e487b7160e01b86526022600452602486fd5b8180156127c957600181146127da57612807565b60ff19861689528489019650612807565b60008b81526020902060005b868110156127ff5781548b8201529085019083016127e6565b505084890196505b50505050505061284361281a828661275d565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b6000825161285e818460208701612401565b9190910192915050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261289a608083018461242d565b9695505050505050565b6000602082840312156128b657600080fd5b8151612325816122f2565b634e487b7160e01b600052601260045260246000fd5b6000826128e6576128e66128c1565b500490565b6000828210156128fd576128fd6126df565b500390565b600082612911576129116128c1565b500690565b634e487b7160e01b600052602160045260246000fdfea264697066735822122028dd3e56b1e7dcd02342b2b40e3431e5505abb2f175fe356531279644caa9fa864736f6c634300080b0033

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.