ETH Price: $3,499.08 (+3.80%)
Gas: 4 Gwei

Token

Sato-san (SATOSAN)
 

Overview

Max Total Supply

10,000 SATOSAN

Holders

6,021

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 SATOSAN
0xe18113fd595d7a4ccd037d8c6e85028ac32ac2cd
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:
Satosan

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/*
              ███████╗ █████╗ ████████╗ ██████╗       ███████╗ █████╗ ███╗   ██╗
              ██╔════╝██╔══██╗╚══██╔══╝██╔═══██╗      ██╔════╝██╔══██╗████╗  ██║
              ███████╗███████║   ██║   ██║   ██║█████╗███████╗███████║██╔██╗ ██║
              ╚════██║██╔══██║   ██║   ██║   ██║╚════╝╚════██║██╔══██║██║╚██╗██║
              ███████║██║  ██║   ██║   ╚██████╔╝      ███████║██║  ██║██║ ╚████║
              ╚══════╝╚═╝  ╚═╝   ╚═╝    ╚═════╝       ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%      %%%%%%%   #%%%%%%%%%.   %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%      %%%%%%%   #%%%%%%%%%.   %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%                       #%%%   %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%                              %%%%%%.   %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%                                           #%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%                                           #%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%   %%%          ....                              %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%       .......   .......   ...                 %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%       @@@@@@..........&@@@@@@@@@.                %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%       @@@@@@,.........@@@@@@@@@@.                %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%..................................   ...    %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%**********(((@@@@@@@@@@/*********((((@@@@@@@@@@%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%**********.............**********.......@@@@@@@%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%**********.............**********.......@@@@@@@%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%..............@@@.................@@@@@@%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%..............@@@.................@@@%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%..............................@@@%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%..............................@@@%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%..............................@@@%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%............(´-ι_-`).....&@@@@@@%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%@@@....................@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%@@@....................@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%@@@##########@@@@@@@@@@@@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%@@@@@@@@@@@@@@@@@......&@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%................&@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%................&@@@%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%@@@@@@@@@@@@@@................&@@@@@@@@@@@@@@@@%%%%%%%%%%%%%
%%%%%%%%%%%%%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%%%%%%%%%                                                            
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC165
    // ==============================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/satosan.sol

pragma solidity ^0.8.4;




contract Satosan is Ownable, ERC721A, ReentrancyGuard {
    mapping(address => uint256) public minted;

    constructor() ERC721A("Sato-san", "SATOSAN") {
        satosanConfig.pause = false;
        satosanConfig.price = 10000000000000000;
        satosanConfig.maxMint = 2;
        satosanConfig.maxSupply = 10000;
    }

    struct SatosanConfig {
        bool pause;
        uint256 price;
        uint256 maxMint;
        uint256 maxSupply;
    }
    SatosanConfig public satosanConfig;

    function getSatosan(uint256 quantity) external payable {
        SatosanConfig memory config = satosanConfig;
        bool pause = bool(config.pause);
        uint256 price = uint256(config.price);
        uint256 maxMint = uint256(config.maxMint);

        require(
            !pause,
            "Mint paused."
        );

        require(
            totalSupply() + quantity <= getMaxSupply(),
            "No more satosan."
        );
    
        require(
            getAddressBuyed(msg.sender) + quantity <= maxMint,
            "Exceed maxmium mint."
        );

        bool requirePay = (quantity > 1 || getAddressBuyed(msg.sender) >= 1) ? true : false;
        if (requirePay) {
            require(
                price <= msg.value,
                "No enough eth."
            );
        }

        _safeMint(msg.sender, quantity);
        minted[msg.sender] += quantity;
    }

    function makeSatosan(uint256 quantity) external onlyOwner {
        require(
            totalSupply() + quantity <= getMaxSupply(),
            "No more satosan."
        );

        _safeMint(msg.sender, quantity);
    }

    function getAddressBuyed(address owner) public view returns (uint256) {
        return minted[owner];
    }
    
    function getMaxSupply() private view returns (uint256) {
        SatosanConfig memory config = satosanConfig;
        uint256 max = uint256(config.maxSupply);
        return max;
    }

    string private _baseTokenURI;

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

    function setSatosanURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setSatosanPrice(uint256 _price) external onlyOwner {
        satosanConfig.price = _price;
    }

    function setPause(bool _pause) external onlyOwner {
        satosanConfig.pause = _pause;
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"getAddressBuyed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"getSatosan","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"makeSatosan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"satosanConfig","outputs":[{"internalType":"bool","name":"pause","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSatosanPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setSatosanURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600881526020016729b0ba3796b9b0b760c11b8152506040518060400160405280600781526020016629a0aa27a9a0a760c91b8152506200006d62000067620000c960201b60201c565b620000cd565b8151620000829060039060208501906200011d565b508051620000989060049060208401906200011d565b5060018081556009555050600b805460ff19169055662386f26fc10000600c556002600d55612710600e5562000200565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200012b90620001c3565b90600052602060002090601f0160209004810192826200014f57600085556200019a565b82601f106200016a57805160ff19168380011785556200019a565b828001600101855582156200019a579182015b828111156200019a5782518255916020019190600101906200017d565b50620001a8929150620001ac565b5090565b5b80821115620001a85760008155600101620001ad565b600181811c90821680620001d857607f821691505b60208210811415620001fa57634e487b7160e01b600052602260045260246000fd5b50919050565b6118af80620002106000396000f3fe6080604052600436106101815760003560e01c806372bed879116100d1578063bedb86fb1161008a578063db8df7d311610064578063db8df7d3146104a6578063e985e9c5146104c6578063f2fde38b1461050f578063fe1456be1461052f57600080fd5b8063bedb86fb1461041e578063c87b56dd1461043e578063d506821c1461045e57600080fd5b806372bed8791461036b5780638da5cb5b1461038b57806391a4ba72146103a957806395d89b41146103c9578063a22cb465146103de578063b88d4fde146103fe57600080fd5b80631fc895db1161013e57806342842e0e1161011857806342842e0e146102f65780636352211e1461031657806370a0823114610336578063715018a61461035657600080fd5b80631fc895db1461028b57806323b872dd146102c15780633ccfd60b146102e157600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd146102375780631e7269c51461025e575b600080fd5b34801561019257600080fd5b506101a66101a136600461161b565b610542565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610594565b6040516101b29190611778565b3480156101e957600080fd5b506101fd6101f83660046116c7565b610626565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046115d6565b61066a565b005b34801561024357600080fd5b5060025460015403600019015b6040519081526020016101b2565b34801561026a57600080fd5b50610250610279366004611446565b600a6020526000908152604090205481565b34801561029757600080fd5b506102506102a6366004611446565b6001600160a01b03166000908152600a602052604090205490565b3480156102cd57600080fd5b506102356102dc366004611494565b61070a565b3480156102ed57600080fd5b5061023561089b565b34801561030257600080fd5b50610235610311366004611494565b6109ac565b34801561032257600080fd5b506101fd6103313660046116c7565b6109cc565b34801561034257600080fd5b50610250610351366004611446565b6109d7565b34801561036257600080fd5b50610235610a26565b34801561037757600080fd5b506102356103863660046116c7565b610a5c565b34801561039757600080fd5b506000546001600160a01b03166101fd565b3480156103b557600080fd5b506102356103c4366004611655565b610a8b565b3480156103d557600080fd5b506101d0610ac1565b3480156103ea57600080fd5b506102356103f93660046115ac565b610ad0565b34801561040a57600080fd5b506102356104193660046114d0565b610b66565b34801561042a57600080fd5b50610235610439366004611600565b610bb0565b34801561044a57600080fd5b506101d06104593660046116c7565b610bed565b34801561046a57600080fd5b50600b54600c54600d54600e546104849360ff1692919084565b60408051941515855260208501939093529183015260608201526080016101b2565b3480156104b257600080fd5b506102356104c13660046116c7565b610c72565b3480156104d257600080fd5b506101a66104e1366004611461565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561051b57600080fd5b5061023561052a366004611446565b610d33565b61023561053d3660046116c7565b610dcb565b60006301ffc9a760e01b6001600160e01b03198316148061057357506380ac58cd60e01b6001600160e01b03198316145b8061058e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105a390611812565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf90611812565b801561061c5780601f106105f15761010080835404028352916020019161061c565b820191906000526020600020905b8154815290600101906020018083116105ff57829003601f168201915b5050505050905090565b600061063182610fd6565b61064e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610675826109cc565b9050336001600160a01b038216146106ae5761069181336104e1565b6106ae576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107158261100b565b9050836001600160a01b0316816001600160a01b0316146107485760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107955761077886336104e1565b61079557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107bc57604051633a954ecd60e21b815260040160405180910390fd5b80156107c757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661085257600184016000818152600560205260409020546108505760015481146108505760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b031633146108ce5760405162461bcd60e51b81526004016108c59061178b565b60405180910390fd5b600260095414156109215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600955604051600090339047908381818185875af1925050503d8060008114610968576040519150601f19603f3d011682016040523d82523d6000602084013e61096d565b606091505b50509050806109a45760405162461bcd60e51b815260206004820152600360248201526217171760e91b60448201526064016108c5565b506001600955565b6109c783838360405180602001604052806000815250610b66565b505050565b600061058e8261100b565b60006001600160a01b038216610a00576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610a505760405162461bcd60e51b81526004016108c59061178b565b610a5a6000611074565b565b6000546001600160a01b03163314610a865760405162461bcd60e51b81526004016108c59061178b565b600c55565b6000546001600160a01b03163314610ab55760405162461bcd60e51b81526004016108c59061178b565b6109c7600f8383611381565b6060600480546105a390611812565b6001600160a01b038216331415610afa5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b7184848461070a565b6001600160a01b0383163b15610baa57610b8d848484846110c4565b610baa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610bda5760405162461bcd60e51b81526004016108c59061178b565b600b805460ff1916911515919091179055565b6060610bf882610fd6565b610c1557604051630a14c4b560e41b815260040160405180910390fd5b6000610c1f6111bb565b9050805160001415610c405760405180602001604052806000815250610c6b565b80610c4a846111ca565b604051602001610c5b92919061170c565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b81526004016108c59061178b565b60408051608081018252600b5460ff1615158152600c546020820152600d5491810191909152600e5460609091018190526002546001548391900360001901610ce591906117c0565b1115610d265760405162461bcd60e51b815260206004820152601060248201526f27379036b7b9329039b0ba37b9b0b71760811b60448201526064016108c5565b610d303382611219565b50565b6000546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016108c59061178b565b6001600160a01b038116610dc25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c5565b610d3081611074565b60408051608081018252600b5460ff16158015808352600c5460208401819052600d54948401859052600e5460608501529293909291610e3c5760405162461bcd60e51b815260206004820152600c60248201526b26b4b73a103830bab9b2b21760a11b60448201526064016108c5565b60408051608081018252600b5460ff1615158152600c546020820152600d5491810191909152600e5460609091018190526002546001548791900360001901610e8591906117c0565b1115610ec65760405162461bcd60e51b815260206004820152601060248201526f27379036b7b9329039b0ba37b9b0b71760811b60448201526064016108c5565b336000908152600a60205260409020548190610ee39087906117c0565b1115610f285760405162461bcd60e51b815260206004820152601460248201527322bc31b2b2b21036b0bc36b4bab69036b4b73a1760611b60448201526064016108c5565b60006001861180610f495750336000908152600a6020526040902054600111155b610f54576000610f57565b60015b90508015610fa05734831115610fa05760405162461bcd60e51b815260206004820152600e60248201526d27379032b737bab3b41032ba341760911b60448201526064016108c5565b610faa3387611219565b336000908152600a602052604081208054889290610fc99084906117c0565b9091555050505050505050565b600081600111158015610fea575060015482105b801561058e575050600090815260056020526040902054600160e01b161590565b6000818060011161105b5760015481101561105b57600081815260056020526040902054600160e01b8116611059575b80610c6b57506000190160008181526005602052604090205461103b565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110f990339089908890889060040161173b565b602060405180830381600087803b15801561111357600080fd5b505af1925050508015611143575060408051601f3d908101601f1916820190925261114091810190611638565b60015b61119e573d808015611171576040519150601f19603f3d011682016040523d82523d6000602084013e611176565b606091505b508051611196576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f80546105a390611812565b604080516080810191829052607f0190826030600a8206018353600a90045b801561120757600183039250600a81066030018353600a90046111e9565b50819003601f19909101908152919050565b611233828260405180602001604052806000815250611237565b5050565b61124183836112a4565b6001600160a01b0383163b156109c7576001548281035b61126b60008683806001019450866110c4565b611288576040516368d2bf6b60e11b815260040160405180910390fd5b81811061125857816001541461129d57600080fd5b5050505050565b6001546001600160a01b0383166112cd57604051622e076360e81b815260040160405180910390fd5b816112eb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113355760015550505050565b82805461138d90611812565b90600052602060002090601f0160209004810192826113af57600085556113f5565b82601f106113c85782800160ff198235161785556113f5565b828001600101855582156113f5579182015b828111156113f55782358255916020019190600101906113da565b50611401929150611405565b5090565b5b808211156114015760008155600101611406565b80356001600160a01b038116811461143157600080fd5b919050565b8035801515811461143157600080fd5b60006020828403121561145857600080fd5b610c6b8261141a565b6000806040838503121561147457600080fd5b61147d8361141a565b915061148b6020840161141a565b90509250929050565b6000806000606084860312156114a957600080fd5b6114b28461141a565b92506114c06020850161141a565b9150604084013590509250925092565b600080600080608085870312156114e657600080fd5b6114ef8561141a565b93506114fd6020860161141a565b925060408501359150606085013567ffffffffffffffff8082111561152157600080fd5b818701915087601f83011261153557600080fd5b8135818111156115475761154761184d565b604051601f8201601f19908116603f0116810190838211818310171561156f5761156f61184d565b816040528281528a602084870101111561158857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115bf57600080fd5b6115c88361141a565b915061148b60208401611436565b600080604083850312156115e957600080fd5b6115f28361141a565b946020939093013593505050565b60006020828403121561161257600080fd5b610c6b82611436565b60006020828403121561162d57600080fd5b8135610c6b81611863565b60006020828403121561164a57600080fd5b8151610c6b81611863565b6000806020838503121561166857600080fd5b823567ffffffffffffffff8082111561168057600080fd5b818501915085601f83011261169457600080fd5b8135818111156116a357600080fd5b8660208285010111156116b557600080fd5b60209290920196919550909350505050565b6000602082840312156116d957600080fd5b5035919050565b600081518084526116f88160208601602086016117e6565b601f01601f19169290920160200192915050565b6000835161171e8184602088016117e6565b8351908301906117328183602088016117e6565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061176e908301846116e0565b9695505050505050565b602081526000610c6b60208301846116e0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156117e157634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156118015781810151838201526020016117e9565b83811115610baa5750506000910152565b600181811c9082168061182657607f821691505b6020821081141561184757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d3057600080fdfea26469706673582212200f6b210c7562dcc8afff13ccac5bdc9a84002ff38121e9bd8c0d0073da2ef3b864736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101815760003560e01c806372bed879116100d1578063bedb86fb1161008a578063db8df7d311610064578063db8df7d3146104a6578063e985e9c5146104c6578063f2fde38b1461050f578063fe1456be1461052f57600080fd5b8063bedb86fb1461041e578063c87b56dd1461043e578063d506821c1461045e57600080fd5b806372bed8791461036b5780638da5cb5b1461038b57806391a4ba72146103a957806395d89b41146103c9578063a22cb465146103de578063b88d4fde146103fe57600080fd5b80631fc895db1161013e57806342842e0e1161011857806342842e0e146102f65780636352211e1461031657806370a0823114610336578063715018a61461035657600080fd5b80631fc895db1461028b57806323b872dd146102c15780633ccfd60b146102e157600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd146102375780631e7269c51461025e575b600080fd5b34801561019257600080fd5b506101a66101a136600461161b565b610542565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610594565b6040516101b29190611778565b3480156101e957600080fd5b506101fd6101f83660046116c7565b610626565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046115d6565b61066a565b005b34801561024357600080fd5b5060025460015403600019015b6040519081526020016101b2565b34801561026a57600080fd5b50610250610279366004611446565b600a6020526000908152604090205481565b34801561029757600080fd5b506102506102a6366004611446565b6001600160a01b03166000908152600a602052604090205490565b3480156102cd57600080fd5b506102356102dc366004611494565b61070a565b3480156102ed57600080fd5b5061023561089b565b34801561030257600080fd5b50610235610311366004611494565b6109ac565b34801561032257600080fd5b506101fd6103313660046116c7565b6109cc565b34801561034257600080fd5b50610250610351366004611446565b6109d7565b34801561036257600080fd5b50610235610a26565b34801561037757600080fd5b506102356103863660046116c7565b610a5c565b34801561039757600080fd5b506000546001600160a01b03166101fd565b3480156103b557600080fd5b506102356103c4366004611655565b610a8b565b3480156103d557600080fd5b506101d0610ac1565b3480156103ea57600080fd5b506102356103f93660046115ac565b610ad0565b34801561040a57600080fd5b506102356104193660046114d0565b610b66565b34801561042a57600080fd5b50610235610439366004611600565b610bb0565b34801561044a57600080fd5b506101d06104593660046116c7565b610bed565b34801561046a57600080fd5b50600b54600c54600d54600e546104849360ff1692919084565b60408051941515855260208501939093529183015260608201526080016101b2565b3480156104b257600080fd5b506102356104c13660046116c7565b610c72565b3480156104d257600080fd5b506101a66104e1366004611461565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561051b57600080fd5b5061023561052a366004611446565b610d33565b61023561053d3660046116c7565b610dcb565b60006301ffc9a760e01b6001600160e01b03198316148061057357506380ac58cd60e01b6001600160e01b03198316145b8061058e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546105a390611812565b80601f01602080910402602001604051908101604052809291908181526020018280546105cf90611812565b801561061c5780601f106105f15761010080835404028352916020019161061c565b820191906000526020600020905b8154815290600101906020018083116105ff57829003601f168201915b5050505050905090565b600061063182610fd6565b61064e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610675826109cc565b9050336001600160a01b038216146106ae5761069181336104e1565b6106ae576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107158261100b565b9050836001600160a01b0316816001600160a01b0316146107485760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176107955761077886336104e1565b61079557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107bc57604051633a954ecd60e21b815260040160405180910390fd5b80156107c757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b831661085257600184016000818152600560205260409020546108505760015481146108505760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b031633146108ce5760405162461bcd60e51b81526004016108c59061178b565b60405180910390fd5b600260095414156109215760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108c5565b6002600955604051600090339047908381818185875af1925050503d8060008114610968576040519150601f19603f3d011682016040523d82523d6000602084013e61096d565b606091505b50509050806109a45760405162461bcd60e51b815260206004820152600360248201526217171760e91b60448201526064016108c5565b506001600955565b6109c783838360405180602001604052806000815250610b66565b505050565b600061058e8261100b565b60006001600160a01b038216610a00576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314610a505760405162461bcd60e51b81526004016108c59061178b565b610a5a6000611074565b565b6000546001600160a01b03163314610a865760405162461bcd60e51b81526004016108c59061178b565b600c55565b6000546001600160a01b03163314610ab55760405162461bcd60e51b81526004016108c59061178b565b6109c7600f8383611381565b6060600480546105a390611812565b6001600160a01b038216331415610afa5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b7184848461070a565b6001600160a01b0383163b15610baa57610b8d848484846110c4565b610baa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610bda5760405162461bcd60e51b81526004016108c59061178b565b600b805460ff1916911515919091179055565b6060610bf882610fd6565b610c1557604051630a14c4b560e41b815260040160405180910390fd5b6000610c1f6111bb565b9050805160001415610c405760405180602001604052806000815250610c6b565b80610c4a846111ca565b604051602001610c5b92919061170c565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314610c9c5760405162461bcd60e51b81526004016108c59061178b565b60408051608081018252600b5460ff1615158152600c546020820152600d5491810191909152600e5460609091018190526002546001548391900360001901610ce591906117c0565b1115610d265760405162461bcd60e51b815260206004820152601060248201526f27379036b7b9329039b0ba37b9b0b71760811b60448201526064016108c5565b610d303382611219565b50565b6000546001600160a01b03163314610d5d5760405162461bcd60e51b81526004016108c59061178b565b6001600160a01b038116610dc25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c5565b610d3081611074565b60408051608081018252600b5460ff16158015808352600c5460208401819052600d54948401859052600e5460608501529293909291610e3c5760405162461bcd60e51b815260206004820152600c60248201526b26b4b73a103830bab9b2b21760a11b60448201526064016108c5565b60408051608081018252600b5460ff1615158152600c546020820152600d5491810191909152600e5460609091018190526002546001548791900360001901610e8591906117c0565b1115610ec65760405162461bcd60e51b815260206004820152601060248201526f27379036b7b9329039b0ba37b9b0b71760811b60448201526064016108c5565b336000908152600a60205260409020548190610ee39087906117c0565b1115610f285760405162461bcd60e51b815260206004820152601460248201527322bc31b2b2b21036b0bc36b4bab69036b4b73a1760611b60448201526064016108c5565b60006001861180610f495750336000908152600a6020526040902054600111155b610f54576000610f57565b60015b90508015610fa05734831115610fa05760405162461bcd60e51b815260206004820152600e60248201526d27379032b737bab3b41032ba341760911b60448201526064016108c5565b610faa3387611219565b336000908152600a602052604081208054889290610fc99084906117c0565b9091555050505050505050565b600081600111158015610fea575060015482105b801561058e575050600090815260056020526040902054600160e01b161590565b6000818060011161105b5760015481101561105b57600081815260056020526040902054600160e01b8116611059575b80610c6b57506000190160008181526005602052604090205461103b565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110f990339089908890889060040161173b565b602060405180830381600087803b15801561111357600080fd5b505af1925050508015611143575060408051601f3d908101601f1916820190925261114091810190611638565b60015b61119e573d808015611171576040519150601f19603f3d011682016040523d82523d6000602084013e611176565b606091505b508051611196576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f80546105a390611812565b604080516080810191829052607f0190826030600a8206018353600a90045b801561120757600183039250600a81066030018353600a90046111e9565b50819003601f19909101908152919050565b611233828260405180602001604052806000815250611237565b5050565b61124183836112a4565b6001600160a01b0383163b156109c7576001548281035b61126b60008683806001019450866110c4565b611288576040516368d2bf6b60e11b815260040160405180910390fd5b81811061125857816001541461129d57600080fd5b5050505050565b6001546001600160a01b0383166112cd57604051622e076360e81b815260040160405180910390fd5b816112eb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113355760015550505050565b82805461138d90611812565b90600052602060002090601f0160209004810192826113af57600085556113f5565b82601f106113c85782800160ff198235161785556113f5565b828001600101855582156113f5579182015b828111156113f55782358255916020019190600101906113da565b50611401929150611405565b5090565b5b808211156114015760008155600101611406565b80356001600160a01b038116811461143157600080fd5b919050565b8035801515811461143157600080fd5b60006020828403121561145857600080fd5b610c6b8261141a565b6000806040838503121561147457600080fd5b61147d8361141a565b915061148b6020840161141a565b90509250929050565b6000806000606084860312156114a957600080fd5b6114b28461141a565b92506114c06020850161141a565b9150604084013590509250925092565b600080600080608085870312156114e657600080fd5b6114ef8561141a565b93506114fd6020860161141a565b925060408501359150606085013567ffffffffffffffff8082111561152157600080fd5b818701915087601f83011261153557600080fd5b8135818111156115475761154761184d565b604051601f8201601f19908116603f0116810190838211818310171561156f5761156f61184d565b816040528281528a602084870101111561158857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156115bf57600080fd5b6115c88361141a565b915061148b60208401611436565b600080604083850312156115e957600080fd5b6115f28361141a565b946020939093013593505050565b60006020828403121561161257600080fd5b610c6b82611436565b60006020828403121561162d57600080fd5b8135610c6b81611863565b60006020828403121561164a57600080fd5b8151610c6b81611863565b6000806020838503121561166857600080fd5b823567ffffffffffffffff8082111561168057600080fd5b818501915085601f83011261169457600080fd5b8135818111156116a357600080fd5b8660208285010111156116b557600080fd5b60209290920196919550909350505050565b6000602082840312156116d957600080fd5b5035919050565b600081518084526116f88160208601602086016117e6565b601f01601f19169290920160200192915050565b6000835161171e8184602088016117e6565b8351908301906117328183602088016117e6565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061176e908301846116e0565b9695505050505050565b602081526000610c6b60208301846116e0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156117e157634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156118015781810151838201526020016117e9565b83811115610baa5750506000910152565b600181811c9082168061182657607f821691505b6020821081141561184757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d3057600080fdfea26469706673582212200f6b210c7562dcc8afff13ccac5bdc9a84002ff38121e9bd8c0d0073da2ef3b864736f6c63430008070033

Deployed Bytecode Sourcemap

54827:2674:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24628:615;;;;;;;;;;-1:-1:-1;24628:615:0;;;;;:::i;:::-;;:::i;:::-;;;6091:14:1;;6084:22;6066:41;;6054:2;6039:18;24628:615:0;;;;;;;;30275:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32221:204::-;;;;;;;;;;-1:-1:-1;32221:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5389:32:1;;;5371:51;;5359:2;5344:18;32221:204:0;5225:203:1;31769:386:0;;;;;;;;;;-1:-1:-1;31769:386:0;;;;;:::i;:::-;;:::i;:::-;;23682:315;;;;;;;;;;-1:-1:-1;23948:12:0;;23289:1;23932:13;:28;-1:-1:-1;;23932:46:0;23682:315;;;9731:25:1;;;9719:2;9704:18;23682:315:0;9585:177:1;54888:41:0;;;;;;;;;;-1:-1:-1;54888:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;56512:109;;;;;;;;;;-1:-1:-1;56512:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;56600:13:0;56573:7;56600:13;;;:6;:13;;;;;;;56512:109;41486:2800;;;;;;;;;;-1:-1:-1;41486:2800:0;;;;;:::i;:::-;;:::i;57325:173::-;;;;;;;;;;;;;:::i;33111:185::-;;;;;;;;;;-1:-1:-1;33111:185:0;;;;;:::i;:::-;;:::i;30064:144::-;;;;;;;;;;-1:-1:-1;30064:144:0;;;;;:::i;:::-;;:::i;25307:224::-;;;;;;;;;;-1:-1:-1;25307:224:0;;;;;:::i;:::-;;:::i;6460:103::-;;;;;;;;;;;;;:::i;57105:107::-;;;;;;;;;;-1:-1:-1;57105:107:0;;;;;:::i;:::-;;:::i;5809:87::-;;;;;;;;;;-1:-1:-1;5855:7:0;5882:6;-1:-1:-1;;;;;5882:6:0;5809:87;;56988:109;;;;;;;;;;-1:-1:-1;56988:109:0;;;;;:::i;:::-;;:::i;30444:104::-;;;;;;;;;;;;;:::i;32497:308::-;;;;;;;;;;-1:-1:-1;32497:308:0;;;;;:::i;:::-;;:::i;33367:399::-;;;;;;;;;;-1:-1:-1;33367:399:0;;;;;:::i;:::-;;:::i;57220:97::-;;;;;;;;;;-1:-1:-1;57220:97:0;;;;;:::i;:::-;;:::i;30619:318::-;;;;;;;;;;-1:-1:-1;30619:318:0;;;;;:::i;:::-;;:::i;55299:34::-;;;;;;;;;;-1:-1:-1;55299:34:0;;;;;;;;;;;;;;;;;;;;;6368:14:1;;6361:22;6343:41;;6415:2;6400:18;;6393:34;;;;6443:18;;;6436:34;6501:2;6486:18;;6479:34;6330:3;6315:19;55299:34:0;6118:401:1;56275:229:0;;;;;;;;;;-1:-1:-1;56275:229:0;;;;;:::i;:::-;;:::i;32876:164::-;;;;;;;;;;-1:-1:-1;32876:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32997:25:0;;;32973:4;32997:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32876:164;6718:201;;;;;;;;;;-1:-1:-1;6718:201:0;;;;;:::i;:::-;;:::i;55342:925::-;;;;;;:::i;:::-;;:::i;24628:615::-;24713:4;-1:-1:-1;;;;;;;;;25013:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25090:25:0;;;25013:102;:179;;;-1:-1:-1;;;;;;;;;;25167:25:0;;;25013:179;24993:199;24628:615;-1:-1:-1;;24628:615:0:o;30275:100::-;30329:13;30362:5;30355:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30275:100;:::o;32221:204::-;32289:7;32314:16;32322:7;32314;:16::i;:::-;32309:64;;32339:34;;-1:-1:-1;;;32339:34:0;;;;;;;;;;;32309:64;-1:-1:-1;32393:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32393:24:0;;32221:204::o;31769:386::-;31842:13;31858:16;31866:7;31858;:16::i;:::-;31842:32;-1:-1:-1;52669:10:0;-1:-1:-1;;;;;31891:28:0;;;31887:175;;31939:44;31956:5;52669:10;32876:164;:::i;31939:44::-;31934:128;;32011:35;;-1:-1:-1;;;32011:35:0;;;;;;;;;;;31934:128;32074:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;32074:29:0;-1:-1:-1;;;;;32074:29:0;;;;;;;;;32119:28;;32074:24;;32119:28;;;;;;;31831:324;31769:386;;:::o;41486:2800::-;41620:27;41650;41669:7;41650:18;:27::i;:::-;41620:57;;41735:4;-1:-1:-1;;;;;41694:45:0;41710:19;-1:-1:-1;;;;;41694:45:0;;41690:86;;41748:28;;-1:-1:-1;;;41748:28:0;;;;;;;;;;;41690:86;41790:27;40216:21;;;40043:15;40258:4;40251:36;40340:4;40324:21;;40430:26;;52669:10;41183:30;;;-1:-1:-1;;;;;40881:26:0;;41162:19;;;41159:55;41969:174;;42056:43;42073:4;52669:10;32876:164;:::i;42056:43::-;42051:92;;42108:35;;-1:-1:-1;;;42108:35:0;;;;;;;;;;;42051:92;-1:-1:-1;;;;;42160:16:0;;42156:52;;42185:23;;-1:-1:-1;;;42185:23:0;;;;;;;;;;;42156:52;42357:15;42354:160;;;42497:1;42476:19;42469:30;42354:160;-1:-1:-1;;;;;42892:24:0;;;;;;;:18;:24;;;;;;42890:26;;-1:-1:-1;;42890:26:0;;;42961:22;;;;;;;;;42959:24;;-1:-1:-1;42959:24:0;;;29963:11;29939:22;29935:40;29922:62;-1:-1:-1;;;29922:62:0;43254:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;43548:46:0;;43544:626;;43652:1;43642:11;;43620:19;43775:30;;;:17;:30;;;;;;43771:384;;43913:13;;43898:11;:28;43894:242;;44060:30;;;;:17;:30;;;;;:52;;;43894:242;43601:569;43544:626;44217:7;44213:2;-1:-1:-1;;;;;44198:27:0;44207:4;-1:-1:-1;;;;;44198:27:0;;;;;;;;;;;41609:2677;;;41486:2800;;;:::o;57325:173::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;;;;;;;;;9089:1:::1;9687:7;;:19;;9679:63;;;::::0;-1:-1:-1;;;9679:63:0;;9427:2:1;9679:63:0::1;::::0;::::1;9409:21:1::0;9466:2;9446:18;;;9439:30;9505:33;9485:18;;;9478:61;9556:18;;9679:63:0::1;9225:355:1::0;9679:63:0::1;9089:1;9820:7;:18:::0;57407:49:::2;::::0;57389:12:::2;::::0;57407:10:::2;::::0;57430:21:::2;::::0;57389:12;57407:49;57389:12;57407:49;57430:21;57407:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57388:68;;;57475:7;57467:23;;;::::0;-1:-1:-1;;;57467:23:0;;8753:2:1;57467:23:0::2;::::0;::::2;8735:21:1::0;8792:1;8772:18;;;8765:29;-1:-1:-1;;;8810:18:1;;;8803:33;8853:18;;57467:23:0::2;8551:326:1::0;57467:23:0::2;-1:-1:-1::0;9045:1:0::1;9999:7;:22:::0;57325:173::o;33111:185::-;33249:39;33266:4;33272:2;33276:7;33249:39;;;;;;;;;;;;:16;:39::i;:::-;33111:185;;;:::o;30064:144::-;30128:7;30171:27;30190:7;30171:18;:27::i;25307:224::-;25371:7;-1:-1:-1;;;;;25395:19:0;;25391:60;;25423:28;;-1:-1:-1;;;25423:28:0;;;;;;;;;;;25391:60;-1:-1:-1;;;;;;25469:25:0;;;;;:18;:25;;;;;;19862:13;25469:54;;25307:224::o;6460:103::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;6525:30:::1;6552:1;6525:18;:30::i;:::-;6460:103::o:0;57105:107::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;57176:19;:28;57105:107::o;56988:109::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;57066:23:::1;:13;57082:7:::0;;57066:23:::1;:::i;30444:104::-:0;30500:13;30533:7;30526:14;;;;;:::i;32497:308::-;-1:-1:-1;;;;;32596:31:0;;52669:10;32596:31;32592:61;;;32636:17;;-1:-1:-1;;;32636:17:0;;;;;;;;;;;32592:61;52669:10;32666:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32666:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32666:60:0;;;;;;;;;;32742:55;;6066:41:1;;;32666:49:0;;52669:10;32742:55;;6039:18:1;32742:55:0;;;;;;;32497:308;;:::o;33367:399::-;33534:31;33547:4;33553:2;33557:7;33534:12;:31::i;:::-;-1:-1:-1;;;;;33580:14:0;;;:19;33576:183;;33619:56;33650:4;33656:2;33660:7;33669:5;33619:30;:56::i;:::-;33614:145;;33703:40;;-1:-1:-1;;;33703:40:0;;;;;;;;;;;33614:145;33367:399;;;;:::o;57220:97::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;57281:13:::1;:28:::0;;-1:-1:-1;;57281:28:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57220:97::o;30619:318::-;30692:13;30723:16;30731:7;30723;:16::i;:::-;30718:59;;30748:29;;-1:-1:-1;;;30748:29:0;;;;;;;;;;;30718:59;30790:21;30814:10;:8;:10::i;:::-;30790:34;;30848:7;30842:21;30867:1;30842:26;;:87;;;;;;;;;;;;;;;;;30895:7;30904:18;30914:7;30904:9;:18::i;:::-;30878:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;30842:87;30835:94;30619:318;-1:-1:-1;;;30619:318:0:o;56275:229::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;56699:43;;;;;;;;56729:13;56699:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23948:12;;23289:1;23932:13;56382:8;;23932:28;;-1:-1:-1;;23932:46:0;56366:24:::1;;;;:::i;:::-;:42;;56344:108;;;::::0;-1:-1:-1;;;56344:108:0;;6950:2:1;56344:108:0::1;::::0;::::1;6932:21:1::0;6989:2;6969:18;;;6962:30;-1:-1:-1;;;7008:18:1;;;7001:46;7064:18;;56344:108:0::1;6748:340:1::0;56344:108:0::1;56465:31;56475:10;56487:8;56465:9;:31::i;:::-;56275:229:::0;:::o;6718:201::-;5855:7;5882:6;-1:-1:-1;;;;;5882:6:0;52669:10;6029:23;6021:68;;;;-1:-1:-1;;;6021:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6807:22:0;::::1;6799:73;;;::::0;-1:-1:-1;;;6799:73:0;;7295:2:1;6799:73:0::1;::::0;::::1;7277:21:1::0;7334:2;7314:18;;;7307:30;7373:34;7353:18;;;7346:62;-1:-1:-1;;;7424:18:1;;;7417:36;7470:19;;6799:73:0::1;7093:402:1::0;6799:73:0::1;6883:28;6902:8;6883:18;:28::i;55342:925::-:0;55408:43;;;;;;;;55438:13;55408:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55606:68;;;;-1:-1:-1;;;55606:68:0;;7702:2:1;55606:68:0;;;7684:21:1;7741:2;7721:18;;;7714:30;-1:-1:-1;;;7760:18:1;;;7753:42;7812:18;;55606:68:0;7500:336:1;55606:68:0;56699:43;;;;;;;;56729:13;56699:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23948:12;;23289:1;23932:13;55725:8;;23932:28;;-1:-1:-1;;23932:46:0;55709:24;;;;:::i;:::-;:42;;55687:108;;;;-1:-1:-1;;;55687:108:0;;6950:2:1;55687:108:0;;;6932:21:1;6989:2;6969:18;;;6962:30;-1:-1:-1;;;7008:18:1;;;7001:46;7064:18;;55687:108:0;6748:340:1;55687:108:0;55850:10;56573:7;56600:13;;;:6;:13;;;;;;55876:7;;55834:38;;55864:8;;55834:38;:::i;:::-;:49;;55812:119;;;;-1:-1:-1;;;55812:119:0;;8043:2:1;55812:119:0;;;8025:21:1;8082:2;8062:18;;;8055:30;-1:-1:-1;;;8101:18:1;;;8094:50;8161:18;;55812:119:0;7841:344:1;55812:119:0;55944:15;55974:1;55963:8;:12;:48;;;-1:-1:-1;55995:10:0;56573:7;56600:13;;;:6;:13;;;;;;56010:1;-1:-1:-1;55979:32:0;55963:48;55962:65;;56022:5;55962:65;;;56015:4;55962:65;55944:83;;56042:10;56038:137;;;56104:9;56095:5;:18;;56069:94;;;;-1:-1:-1;;;56069:94:0;;9084:2:1;56069:94:0;;;9066:21:1;9123:2;9103:18;;;9096:30;-1:-1:-1;;;9142:18:1;;;9135:44;9196:18;;56069:94:0;8882:338:1;56069:94:0;56187:31;56197:10;56209:8;56187:9;:31::i;:::-;56236:10;56229:18;;;;:6;:18;;;;;:30;;56251:8;;56229:18;:30;;56251:8;;56229:30;:::i;:::-;;;;-1:-1:-1;;;;;;;;55342:925:0:o;34021:273::-;34078:4;34134:7;23289:1;34115:26;;:66;;;;;34168:13;;34158:7;:23;34115:66;:152;;;;-1:-1:-1;;34219:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;34219:43:0;:48;;34021:273::o;26981:1129::-;27048:7;27083;;23289:1;27132:23;27128:915;;27185:13;;27178:4;:20;27174:869;;;27223:14;27240:23;;;:17;:23;;;;;;-1:-1:-1;;;27329:23:0;;27325:699;;27848:113;27855:11;27848:113;;-1:-1:-1;;;27926:6:0;27908:25;;;;:17;:25;;;;;;27848:113;;27325:699;27200:843;27174:869;28071:31;;-1:-1:-1;;;28071:31:0;;;;;;;;;;;7079:191;7153:16;7172:6;;-1:-1:-1;;;;;7189:17:0;;;-1:-1:-1;;;;;;7189:17:0;;;;;;7222:40;;7172:6;;;;;;;7222:40;;7153:16;7222:40;7142:128;7079:191;:::o;48237:716::-;48421:88;;-1:-1:-1;;;48421:88:0;;48400:4;;-1:-1:-1;;;;;48421:45:0;;;;;:88;;52669:10;;48488:4;;48494:7;;48503:5;;48421:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48421:88:0;;;;;;;;-1:-1:-1;;48421:88:0;;;;;;;;;;;;:::i;:::-;;;48417:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48704:13:0;;48700:235;;48750:40;;-1:-1:-1;;;48750:40:0;;;;;;;;;;;48700:235;48893:6;48887:13;48878:6;48874:2;48870:15;48863:38;48417:529;-1:-1:-1;;;;;;48580:64:0;-1:-1:-1;;;48580:64:0;;-1:-1:-1;48237:716:0;;;;;;:::o;56866:114::-;56926:13;56959;56952:20;;;;;:::i;52793:1960::-;53262:4;53256:11;;53269:3;53252:21;;53347:17;;;;54043:11;;;53922:5;54175:2;54189;54179:13;;54171:22;54043:11;54158:36;54230:2;54220:13;;53814:697;54249:4;53814:697;;;54440:1;54435:3;54431:11;54424:18;;54491:2;54485:4;54481:13;54477:2;54473:22;54468:3;54460:36;54344:2;54334:13;;53814:697;;;-1:-1:-1;54541:13:0;;;-1:-1:-1;;54656:12:0;;;54716:19;;;54656:12;52793:1960;-1:-1:-1;52793:1960:0:o;34378:104::-;34447:27;34457:2;34461:8;34447:27;;;;;;;;;;;;:9;:27::i;:::-;34378:104;;:::o;34898:681::-;35021:19;35027:2;35031:8;35021:5;:19::i;:::-;-1:-1:-1;;;;;35082:14:0;;;:19;35078:483;;35136:13;;35184:14;;;35217:233;35248:62;35287:1;35291:2;35295:7;;;;;;35304:5;35248:30;:62::i;:::-;35243:167;;35346:40;;-1:-1:-1;;;35346:40:0;;;;;;;;;;;35243:167;35445:3;35437:5;:11;35217:233;;35532:3;35515:13;;:20;35511:34;;35537:8;;;35511:34;35103:458;;34898:681;;;:::o;35852:1529::-;35940:13;;-1:-1:-1;;;;;35968:16:0;;35964:48;;35993:19;;-1:-1:-1;;;35993:19:0;;;;;;;;;;;35964:48;36027:13;36023:44;;36049:18;;-1:-1:-1;;;36049:18:0;;;;;;;;;;;36023:44;-1:-1:-1;;;;;36555:22:0;;;;;;:18;:22;;19999:2;36555:22;;:70;;36593:31;36581:44;;36555:70;;;29963:11;29939:22;29935:40;-1:-1:-1;31673:15:0;;31648:23;31644:45;29932:51;29922:62;36868:31;;;;:17;:31;;;;;:173;36886:12;37117:23;;;37155:101;37182:35;;37207:9;;;;;-1:-1:-1;;;;;37182:35:0;;;37199:1;;37182:35;;37199:1;;37182:35;37251:3;37241:7;:13;37155:101;;37272:13;:19;-1:-1:-1;33111:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:186;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;508:29;527:9;508:29;:::i;548:260::-;616:6;624;677:2;665:9;656:7;652:23;648:32;645:52;;;693:1;690;683:12;645:52;716:29;735:9;716:29;:::i;:::-;706:39;;764:38;798:2;787:9;783:18;764:38;:::i;:::-;754:48;;548:260;;;;;:::o;813:328::-;890:6;898;906;959:2;947:9;938:7;934:23;930:32;927:52;;;975:1;972;965:12;927:52;998:29;1017:9;998:29;:::i;:::-;988:39;;1046:38;1080:2;1069:9;1065:18;1046:38;:::i;:::-;1036:48;;1131:2;1120:9;1116:18;1103:32;1093:42;;813:328;;;;;:::o;1146:1138::-;1241:6;1249;1257;1265;1318:3;1306:9;1297:7;1293:23;1289:33;1286:53;;;1335:1;1332;1325:12;1286:53;1358:29;1377:9;1358:29;:::i;:::-;1348:39;;1406:38;1440:2;1429:9;1425:18;1406:38;:::i;:::-;1396:48;;1491:2;1480:9;1476:18;1463:32;1453:42;;1546:2;1535:9;1531:18;1518:32;1569:18;1610:2;1602:6;1599:14;1596:34;;;1626:1;1623;1616:12;1596:34;1664:6;1653:9;1649:22;1639:32;;1709:7;1702:4;1698:2;1694:13;1690:27;1680:55;;1731:1;1728;1721:12;1680:55;1767:2;1754:16;1789:2;1785;1782:10;1779:36;;;1795:18;;:::i;:::-;1870:2;1864:9;1838:2;1924:13;;-1:-1:-1;;1920:22:1;;;1944:2;1916:31;1912:40;1900:53;;;1968:18;;;1988:22;;;1965:46;1962:72;;;2014:18;;:::i;:::-;2054:10;2050:2;2043:22;2089:2;2081:6;2074:18;2129:7;2124:2;2119;2115;2111:11;2107:20;2104:33;2101:53;;;2150:1;2147;2140:12;2101:53;2206:2;2201;2197;2193:11;2188:2;2180:6;2176:15;2163:46;2251:1;2246:2;2241;2233:6;2229:15;2225:24;2218:35;2272:6;2262:16;;;;;;;1146:1138;;;;;;;:::o;2289:254::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2502:35;2533:2;2522:9;2518:18;2502:35;:::i;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:180::-;2863:6;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2955:26;2971:9;2955:26;:::i;2992:245::-;3050:6;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3158:9;3145:23;3177:30;3201:5;3177:30;:::i;3242:249::-;3311:6;3364:2;3352:9;3343:7;3339:23;3335:32;3332:52;;;3380:1;3377;3370:12;3332:52;3412:9;3406:16;3431:30;3455:5;3431:30;:::i;3496:592::-;3567:6;3575;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3684:9;3671:23;3713:18;3754:2;3746:6;3743:14;3740:34;;;3770:1;3767;3760:12;3740:34;3808:6;3797:9;3793:22;3783:32;;3853:7;3846:4;3842:2;3838:13;3834:27;3824:55;;3875:1;3872;3865:12;3824:55;3915:2;3902:16;3941:2;3933:6;3930:14;3927:34;;;3957:1;3954;3947:12;3927:34;4002:7;3997:2;3988:6;3984:2;3980:15;3976:24;3973:37;3970:57;;;4023:1;4020;4013:12;3970:57;4054:2;4046:11;;;;;4076:6;;-1:-1:-1;3496:592:1;;-1:-1:-1;;;;3496:592:1:o;4093:180::-;4152:6;4205:2;4193:9;4184:7;4180:23;4176:32;4173:52;;;4221:1;4218;4211:12;4173:52;-1:-1:-1;4244:23:1;;4093:180;-1:-1:-1;4093:180:1:o;4278:257::-;4319:3;4357:5;4351:12;4384:6;4379:3;4372:19;4400:63;4456:6;4449:4;4444:3;4440:14;4433:4;4426:5;4422:16;4400:63;:::i;:::-;4517:2;4496:15;-1:-1:-1;;4492:29:1;4483:39;;;;4524:4;4479:50;;4278:257;-1:-1:-1;;4278:257:1:o;4540:470::-;4719:3;4757:6;4751:13;4773:53;4819:6;4814:3;4807:4;4799:6;4795:17;4773:53;:::i;:::-;4889:13;;4848:16;;;;4911:57;4889:13;4848:16;4945:4;4933:17;;4911:57;:::i;:::-;4984:20;;4540:470;-1:-1:-1;;;;4540:470:1:o;5433:488::-;-1:-1:-1;;;;;5702:15:1;;;5684:34;;5754:15;;5749:2;5734:18;;5727:43;5801:2;5786:18;;5779:34;;;5849:3;5844:2;5829:18;;5822:31;;;5627:4;;5870:45;;5895:19;;5887:6;5870:45;:::i;:::-;5862:53;5433:488;-1:-1:-1;;;;;;5433:488:1:o;6524:219::-;6673:2;6662:9;6655:21;6636:4;6693:44;6733:2;6722:9;6718:18;6710:6;6693:44;:::i;8190:356::-;8392:2;8374:21;;;8411:18;;;8404:30;8470:34;8465:2;8450:18;;8443:62;8537:2;8522:18;;8190:356::o;9767:225::-;9807:3;9838:1;9834:6;9831:1;9828:13;9825:136;;;9883:10;9878:3;9874:20;9871:1;9864:31;9918:4;9915:1;9908:15;9946:4;9943:1;9936:15;9825:136;-1:-1:-1;9977:9:1;;9767:225::o;9997:258::-;10069:1;10079:113;10093:6;10090:1;10087:13;10079:113;;;10169:11;;;10163:18;10150:11;;;10143:39;10115:2;10108:10;10079:113;;;10210:6;10207:1;10204:13;10201:48;;;-1:-1:-1;;10245:1:1;10227:16;;10220:27;9997:258::o;10260:380::-;10339:1;10335:12;;;;10382;;;10403:61;;10457:4;10449:6;10445:17;10435:27;;10403:61;10510:2;10502:6;10499:14;10479:18;10476:38;10473:161;;;10556:10;10551:3;10547:20;10544:1;10537:31;10591:4;10588:1;10581:15;10619:4;10616:1;10609:15;10473:161;;10260:380;;;:::o;10645:127::-;10706:10;10701:3;10697:20;10694:1;10687:31;10737:4;10734:1;10727:15;10761:4;10758:1;10751:15;10777:131;-1:-1:-1;;;;;;10851:32:1;;10841:43;;10831:71;;10898:1;10895;10888:12

Swarm Source

ipfs://0f6b210c7562dcc8afff13ccac5bdc9a84002ff38121e9bd8c0d0073da2ef3b8
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.