ETH Price: $3,238.74 (-0.49%)
Gas: 1 Gwei

PEPEGSNFT (PEPEGS)
 

Overview

TokenID

2081

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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:
Pepegs

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 15 : pepegs.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import {IERC2981, ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol";
import {IERC721A, ERC721A} from "ERC721A/ERC721A.sol";
import {ERC721AQueryable} from "ERC721A/extensions/ERC721AQueryable.sol";
import {OperatorFilterer} from "OperatorFilter/OperatorFilterer.sol";

error ExceedingMaxSupply();
error ExceedingMaxMint();
error SaleNotActive();
error Unauthorized();
error InvalidETHSent();

contract Pepegs is ERC721AQueryable, ERC2981, OperatorFilterer, Ownable, ReentrancyGuard {   
    uint256 public MAX_NFT_WALLET = 5;    
    uint256 public NFT_PRICE = 6900000000000000;  
    uint256 public MAX_SUPPLY = 6969;  
    uint256 public FREE_SUPPLY = 969;    
    uint256 public RESERVED_AMOUNT = 100;  
    uint256 public totalFreeMinted = 0; 
    
    bool public operatorFilteringEnabled;
    bool public collectionRevealed = false;    
    bool public saleEnabled = false;  
    string private _baseTokenURI;     

    mapping(address => uint256) private walletMinted;   
    mapping(address => bool) private freeMinted;     
    
    constructor() ERC721A("PEPEGSNFT","PEPEGS") {   
        _registerForOperatorFiltering();  
        operatorFilteringEnabled = true;

        // Set royalty receiver to the contract creator,
        // at 5% (default denominator is 10000).
        _setDefaultRoyalty(msg.sender, 500);
        _safeMint(msg.sender, RESERVED_AMOUNT);        
    }    

    //===============================================================
    //                        Mint
    //===============================================================    

    function mint(uint256 quantity) public payable nonReentrant { 
        if (!saleEnabled) 
            revert SaleNotActive();  

        if((totalSupply() + quantity) > MAX_SUPPLY) 
            revert ExceedingMaxSupply(); 

        if((walletMinted[msg.sender] + quantity) > MAX_NFT_WALLET) 
            revert ExceedingMaxMint(); 

        if(freeMinted[msg.sender] == false && totalFreeMinted < FREE_SUPPLY) {
            if (msg.value != (NFT_PRICE * (quantity - 1))) 
                revert InvalidETHSent();
            
            freeMinted[msg.sender] = true;  
            totalFreeMinted++;
        }
        else {
            if (msg.value != (NFT_PRICE * quantity)) 
                revert InvalidETHSent();
        }    

        walletMinted[msg.sender] += quantity;        
        _mint(msg.sender, quantity);  
    }    
    
    //===============================================================
    //                      Setters
    //===============================================================
    
    function setPublicSale(bool isEnabled) public onlyOwner {
        saleEnabled = isEnabled;
    }

    function setReveal(bool isRevealed) public onlyOwner {
        collectionRevealed = isRevealed;
    }
    
    function setSalePrice(uint256 price) external onlyOwner {
        NFT_PRICE = price;
    }

    function setMaxPerWallet(uint256 max) public onlyOwner {
        MAX_NFT_WALLET = max;
    }     

    function setMaxSupply(uint256 max) public onlyOwner {
        MAX_SUPPLY = max;
    } 

    function setFreeSupply(uint256 free) public onlyOwner {
        FREE_SUPPLY = free;
    } 
	
    function setBaseURI(string memory baseURI_) public onlyOwner {
        _baseTokenURI = baseURI_;        
    }   

    //===============================================================
    //                      Getters
    //===============================================================

    function tokenURI(uint256 tokenId) public view virtual override(IERC721A, ERC721A) returns (string memory) {  
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );      
        if(!collectionRevealed)
            return _baseTokenURI;
            
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId), ".json"));
    }

    function totalInfo() public view returns (uint256[2] memory) {        
        return [totalSupply(), totalFreeMinted];
    }

    //===============================================================
    //                      Withdraw
    //===============================================================
    
    function withdraw() public onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }       

    //===============================================================
    //                  OperatorFilter Overrides
    //===============================================================

    function setApprovalForAll(address operator, bool approved) public override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC721A, ERC721A, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }    

    //===============================================================
    //                  OperatorFilter Implementation
    //===============================================================

    function setOperatorFilteringEnabled(bool value) public onlyOwner {
        operatorFilteringEnabled = value;
    }

    function _operatorFilteringEnabled() internal view override returns (bool) {
        return operatorFilteringEnabled;
    }

    function _isPriorityOperator(address operator) internal pure override returns (bool) {
        // OpenSea Seaport Conduit:
        // https://etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        // https://goerli.etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        return operator == address(0x1E0049783F008A0085193E00003D00cd54003c71);
    }

    //===============================================================
    //                  ERC2981 Royalty Implementation
    //===============================================================

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
}

File 2 of 15 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Optimized and flexible operator filterer to abide to OpenSea's
/// mandatory on-chain royalty enforcement in order for new collections to
/// receive royalties.
/// For more information, see:
/// See: https://github.com/ProjectOpenSea/operator-filter-registry
abstract contract OperatorFilterer {
    /// @dev The default OpenSea operator blocklist subscription.
    address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

    /// @dev The OpenSea operator filter registry.
    address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E;

    /// @dev Registers the current contract to OpenSea's operator filter,
    /// and subscribe to the default OpenSea operator blocklist.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering() internal virtual {
        _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);
    }

    /// @dev Registers the current contract to OpenSea's operator filter.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe)
        internal
        virtual
    {
        /// @solidity memory-safe-assembly
        assembly {
            let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`.

            // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty.
            subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy))

            for {} iszero(subscribe) {} {
                if iszero(subscriptionOrRegistrantToCopy) {
                    functionSelector := 0x4420e486 // `register(address)`.
                    break
                }
                functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`.
                break
            }
            // Store the function selector.
            mstore(0x00, shl(224, functionSelector))
            // Store the `address(this)`.
            mstore(0x04, address())
            // Store the `subscriptionOrRegistrantToCopy`.
            mstore(0x24, subscriptionOrRegistrantToCopy)
            // Register into the registry.
            if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) {
                // If the function selector has not been overwritten,
                // it is an out-of-gas error.
                if eq(shr(224, mload(0x00)), functionSelector) {
                    // To prevent gas under-estimation.
                    revert(0, 0)
                }
            }
            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, because of Solidity's memory size limits.
            mstore(0x24, 0)
        }
    }

    /// @dev Modifier to guard a function and revert if the caller is a blocked operator.
    modifier onlyAllowedOperator(address from) virtual {
        if (from != msg.sender) {
            if (!_isPriorityOperator(msg.sender)) {
                if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender);
            }
        }
        _;
    }

    /// @dev Modifier to guard a function from approving a blocked operator..
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        if (!_isPriorityOperator(operator)) {
            if (_operatorFilteringEnabled()) _revertIfBlocked(operator);
        }
        _;
    }

    /// @dev Helper function that reverts if the `operator` is blocked by the registry.
    function _revertIfBlocked(address operator) private view {
        /// @solidity memory-safe-assembly
        assembly {
            // Store the function selector of `isOperatorAllowed(address,address)`,
            // shifted left by 6 bytes, which is enough for 8tb of memory.
            // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL).
            mstore(0x00, 0xc6171134001122334455)
            // Store the `address(this)`.
            mstore(0x1a, address())
            // Store the `operator`.
            mstore(0x3a, operator)

            // `isOperatorAllowed` always returns true if it does not revert.
            if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) {
                // Bubble up the revert if the staticcall reverts.
                returndatacopy(0x00, 0x00, returndatasize())
                revert(0x00, returndatasize())
            }

            // We'll skip checking if `from` is inside the blacklist.
            // Even though that can block transferring out of wrapper contracts,
            // we don't want tokens to be stuck.

            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, if less than 8tb of memory is used.
            mstore(0x3a, 0)
        }
    }

    /// @dev For deriving contracts to override, so that operator filtering
    /// can be turned on / off.
    /// Returns true by default.
    function _operatorFilteringEnabled() internal view virtual returns (bool) {
        return true;
    }

    /// @dev For deriving contracts to override, so that preferred marketplaces can
    /// skip operator filtering, helping users save gas.
    /// Returns false for all inputs by default.
    function _isPriorityOperator(address) internal view virtual returns (bool) {
        return false;
    }
}

File 3 of 15 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (TokenOwnership memory ownership)
    {
        unchecked {
            if (tokenId >= _startTokenId()) {
                if (tokenId < _nextTokenId()) {
                    // If the `tokenId` is within bounds,
                    // scan backwards for the initialized ownership slot.
                    while (!_ownershipIsInitialized(tokenId)) --tokenId;
                    return _ownershipAt(tokenId);
                }
            }
        }
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        TokenOwnership[] memory ownerships;
        uint256 i = tokenIds.length;
        assembly {
            // Grab the free memory pointer.
            ownerships := mload(0x40)
            // Store the length.
            mstore(ownerships, i)
            // Allocate one word for the length,
            // `tokenIds.length` words for the pointers.
            i := shl(5, i) // Multiply `i` by 32.
            mstore(0x40, add(add(ownerships, 0x20), i))
        }
        while (i != 0) {
            uint256 tokenId;
            assembly {
                i := sub(i, 0x20)
                tokenId := calldataload(add(tokenIds.offset, i))
            }
            TokenOwnership memory ownership = explicitOwnershipOf(tokenId);
            assembly {
                // Store the pointer of `ownership` in the `ownerships` array.
                mstore(add(add(ownerships, 0x20), i), ownership)
            }
        }
        return ownerships;
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        return _tokensOfOwnerIn(owner, start, stop);
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        uint256 start = _startTokenId();
        uint256 stop = _nextTokenId();
        uint256[] memory tokenIds;
        if (start != stop) tokenIds = _tokensOfOwnerIn(owner, start, stop);
        return tokenIds;
    }

    /**
     * @dev Helper function for returning an array of token IDs owned by `owner`.
     *
     * Note that this function is optimized for smaller bytecode size over runtime gas,
     * since it is meant to be called off-chain.
     */
    function _tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) private view returns (uint256[] memory) {
        unchecked {
            if (start >= stop) _revert(InvalidQueryRange.selector);
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            uint256 stopLimit = _nextTokenId();
            // Set `stop = min(stop, stopLimit)`.
            if (stop >= stopLimit) {
                stop = stopLimit;
            }
            uint256[] memory tokenIds;
            uint256 tokenIdsMaxLength = balanceOf(owner);
            bool startLtStop = start < stop;
            assembly {
                // Set `tokenIdsMaxLength` to zero if `start` is less than `stop`.
                tokenIdsMaxLength := mul(tokenIdsMaxLength, startLtStop)
            }
            if (tokenIdsMaxLength != 0) {
                // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
                // to cater for cases where `balanceOf(owner)` is too big.
                if (stop - start <= tokenIdsMaxLength) {
                    tokenIdsMaxLength = stop - start;
                }
                assembly {
                    // Grab the free memory pointer.
                    tokenIds := mload(0x40)
                    // Allocate one word for the length, and `tokenIdsMaxLength` words
                    // for the data. `shl(5, x)` is equivalent to `mul(32, x)`.
                    mstore(0x40, add(tokenIds, shl(5, add(tokenIdsMaxLength, 1))))
                }
                // We need to call `explicitOwnershipOf(start)`,
                // because the slot at `start` may not be initialized.
                TokenOwnership memory ownership = explicitOwnershipOf(start);
                address currOwnershipAddr;
                // If the starting slot exists (i.e. not burned),
                // initialize `currOwnershipAddr`.
                // `ownership.address` will not be zero,
                // as `start` is clamped to the valid token ID range.
                if (!ownership.burned) {
                    currOwnershipAddr = ownership.addr;
                }
                uint256 tokenIdsIdx;
                // Use a do-while, which is slightly more efficient for this case,
                // as the array will at least contain one element.
                do {
                    ownership = _ownershipAt(start);
                    assembly {
                        switch mload(add(ownership, 0x40))
                        // if `ownership.burned == false`.
                        case 0 {
                            // if `ownership.addr != address(0)`.
                            // The `addr` already has it's upper 96 bits clearned,
                            // since it is written to memory with regular Solidity.
                            if mload(ownership) {
                                currOwnershipAddr := mload(ownership)
                            }
                            // if `currOwnershipAddr == owner`.
                            // The `shl(96, x)` is to make the comparison agnostic to any
                            // dirty upper 96 bits in `owner`.
                            if iszero(shl(96, xor(currOwnershipAddr, owner))) {
                                tokenIdsIdx := add(tokenIdsIdx, 1)
                                mstore(add(tokenIds, shl(5, tokenIdsIdx)), start)
                            }
                        }
                        // Otherwise, reset `currOwnershipAddr`.
                        // This handles the case of batch burned tokens
                        // (burned bit of first slot set, remaining slots left uninitialized).
                        default {
                            currOwnershipAddr := 0
                        }
                        start := add(start, 1)
                    }
                } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength));
                // Store the length of the array.
                assembly {
                    mstore(tokenIds, tokenIdsIdx)
                }
            }
            return tokenIds;
        }
    }
}

File 4 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector);
        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 virtual {
        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;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector);

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

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // Invariant:
                // There will always be an initialized ownership slot
                // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                // before an unintialized ownership slot
                // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                // Hence, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @dev 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);
    }

    /**
     * @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 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))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector);

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

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

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

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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.selector);
            }
            assembly {
                revert(add(32, reason), mload(reason))
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) _revert(MintZeroQuantity.selector);

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } 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 virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) _revert(MintToZeroAddress.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _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 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 virtual {
        _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.selector);
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) _revert(bytes4(0));
            }
        }
    }

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

    // =============================================================
    //                       APPROVAL OPERATIONS
    // =============================================================

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

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

        _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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector);
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

File 5 of 15 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

File 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

File 8 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 10 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

    /**
     * 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();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

    /**
     * @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 payable;

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 11 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 12 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 14 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// 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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedingMaxMint","type":"error"},{"inputs":[],"name":"ExceedingMaxSupply","type":"error"},{"inputs":[],"name":"InvalidETHSent","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":"SaleNotActive","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"ownership","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"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":"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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"free","type":"uint256"}],"name":"setFreeSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isRevealed","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFreeMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalInfo","outputs":[{"internalType":"uint256[2]","name":"","type":"uint256[2]"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526005600c556618838370f34000600d55611b39600e556103c9600f55606460105560006011556012805462ffff00191690553480156200004357600080fd5b50604051806040016040528060098152602001681411541151d4d3919560ba1b8152506040518060400160405280600681526020016550455045475360d01b8152508160029081620000969190620005ed565b506003620000a58282620005ed565b50506000805550620000b733620000fb565b6001600b55620000c66200014d565b6012805460ff19166001179055620000e1336101f462000170565b620000f5336010546200027560201b60201c565b6200075f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016e733cc6cdda760b79bafa08df41ecfa224f810dceb660016200029b565b565b6127106001600160601b0382161115620001e45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200023c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001db565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b620002978282604051806020016040528060008152506200031560201b60201c565b5050565b6001600160a01b0390911690637d3e3dbe81620002cb5782620002c45750634420e486620002cb565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af16200030b578060005160e01c036200030b57600080fd5b5060006024525050565b6200032183836200038c565b6001600160a01b0383163b1562000387576000548281035b60018101906200034f9060009087908662000452565b6200036657620003666368d2bf6b60e11b6200053f565b8181106200033957816000541462000384576200038460006200053f565b50505b505050565b6000805490829003620003ab57620003ab63b562e8dd60e01b6200053f565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036200040c576200040c622e076360e81b6200053f565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810362000411575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000489903390899088908890600401620006b9565b6020604051808303816000875af1925050508015620004c7575060408051601f3d908101601f19168201909252620004c4918101906200072c565b60015b62000522573d808015620004f8576040519150601f19603f3d011682016040523d82523d6000602084013e620004fd565b606091505b5080516000036200051a576200051a6368d2bf6b60e11b6200053f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8060005260046000fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200057457607f821691505b6020821081036200059557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200038757600081815260208120601f850160051c81016020861015620005c45750805b601f850160051c820191505b81811015620005e557828155600101620005d0565b505050505050565b81516001600160401b0381111562000609576200060962000549565b62000621816200061a84546200055f565b846200059b565b602080601f831160018114620006595760008415620006405750858301515b600019600386901b1c1916600185901b178555620005e5565b600085815260208120601f198616915b828110156200068a5788860151825594840194600190910190840162000669565b5085821015620006a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620007085785810182015185820160a001528101620006ea565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b6000602082840312156200073f57600080fd5b81516001600160e01b0319811681146200075857600080fd5b9392505050565b612388806200076f6000396000f3fe60806040526004361061025c5760003560e01c806371b9b64611610144578063b88d4fde116100b6578063dad7b5c91161007a578063dad7b5c9146106e6578063e268e4d3146106fc578063e985e9c51461071c578063f2fde38b14610765578063f676308a14610785578063fb796e6c146107a557600080fd5b8063b88d4fde1461065a578063c23dc68f1461066d578063c87b56dd1461069a578063d08b11e3146106ba578063d85f2740146106d057600080fd5b806395d89b411161010857806395d89b41146105bc5780639858cf19146105d157806399a2557a146105e7578063a0712d6814610607578063a22cb4651461061a578063b7c0b8e81461063a57600080fd5b806371b9b6461461051057806377ce52f8146105305780637c234fb5146105525780638462151c146105715780638da5cb5b1461059e57600080fd5b806332cb6b0c116101dd5780635bbb2177116101a15780635bbb2177146104585780636352211e14610485578063676dd563146104a55780636f8b44b0146104bb57806370a08231146104db578063715018a6146104fb57600080fd5b806332cb6b0c146103da5780633ccfd60b146103f057806342842e0e1461040557806355f804b3146104185780635aca1bb61461043857600080fd5b806318160ddd1161022457806318160ddd146103255780631919fed71461034857806323b872dd146103685780632a3f300c1461037b5780632a55205a1461039b57600080fd5b806301ffc9a71461026157806304634d8d1461029657806306fdde03146102b8578063081812fc146102da578063095ea7b314610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004611b60565b6107bf565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611b9b565b6107d0565b005b3480156102c457600080fd5b506102cd6107e6565b60405161028d9190611c2e565b3480156102e657600080fd5b506102fa6102f5366004611c41565b610878565b6040516001600160a01b03909116815260200161028d565b6102b6610320366004611c5a565b6108b3565b34801561033157600080fd5b50600154600054035b60405190815260200161028d565b34801561035457600080fd5b506102b6610363366004611c41565b6108e4565b6102b6610376366004611c84565b6108f1565b34801561038757600080fd5b506102b6610396366004611cd0565b610934565b3480156103a757600080fd5b506103bb6103b6366004611ceb565b610956565b604080516001600160a01b03909316835260208301919091520161028d565b3480156103e657600080fd5b5061033a600e5481565b3480156103fc57600080fd5b506102b6610a02565b6102b6610413366004611c84565b610a4f565b34801561042457600080fd5b506102b6610433366004611d99565b610a8c565b34801561044457600080fd5b506102b6610453366004611cd0565b610aa0565b34801561046457600080fd5b50610478610473366004611de2565b610ac4565b60405161028d9190611e94565b34801561049157600080fd5b506102fa6104a0366004611c41565b610b10565b3480156104b157600080fd5b5061033a600d5481565b3480156104c757600080fd5b506102b66104d6366004611c41565b610b1b565b3480156104e757600080fd5b5061033a6104f6366004611ed6565b610b28565b34801561050757600080fd5b506102b6610b6e565b34801561051c57600080fd5b506012546102819062010000900460ff1681565b34801561053c57600080fd5b50610545610b80565b60405161028d9190611ef1565b34801561055e57600080fd5b5060125461028190610100900460ff1681565b34801561057d57600080fd5b5061059161058c366004611ed6565b610bb0565b60405161028d9190611f22565b3480156105aa57600080fd5b50600a546001600160a01b03166102fa565b3480156105c857600080fd5b506102cd610bdf565b3480156105dd57600080fd5b5061033a600f5481565b3480156105f357600080fd5b50610591610602366004611f5a565b610bee565b6102b6610615366004611c41565b610bfb565b34801561062657600080fd5b506102b6610635366004611f8d565b610d9d565b34801561064657600080fd5b506102b6610655366004611cd0565b610dc9565b6102b6610668366004611fc0565b610de4565b34801561067957600080fd5b5061068d610688366004611c41565b610e29565b60405161028d919061203c565b3480156106a657600080fd5b506102cd6106b5366004611c41565b610e83565b3480156106c657600080fd5b5061033a600c5481565b3480156106dc57600080fd5b5061033a60105481565b3480156106f257600080fd5b5061033a60115481565b34801561070857600080fd5b506102b6610717366004611c41565b610fca565b34801561072857600080fd5b5061028161073736600461204a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077157600080fd5b506102b6610780366004611ed6565b610fd7565b34801561079157600080fd5b506102b66107a0366004611c41565b61104d565b3480156107b157600080fd5b506012546102819060ff1681565b60006107ca8261105a565b92915050565b6107d861108f565b6107e282826110e9565b5050565b6060600280546107f590612074565b80601f016020809104026020016040519081016040528092919081815260200182805461082190612074565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b6000610883826111e6565b610897576108976333d1c03960e21b611229565b506000908152600660205260409020546001600160a01b031690565b816108bd81611233565b6108d55760125460ff16156108d5576108d581611255565b6108df8383611299565b505050565b6108ec61108f565b600d55565b826001600160a01b03811633146109235761090b33611233565b6109235760125460ff16156109235761092333611255565b61092e8484846112a5565b50505050565b61093c61108f565b601280549115156101000261ff0019909216919091179055565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109cb5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109ea906001600160601b0316876120c4565b6109f491906120db565b915196919550909350505050565b610a0a61108f565b610a1261140a565b6040514790339082156108fc029083906000818181858888f19350505050158015610a41573d6000803e3d6000fd5b5050610a4d6001600b55565b565b826001600160a01b0381163314610a8157610a6933611233565b610a815760125460ff1615610a8157610a8133611255565b61092e848484611463565b610a9461108f565b60136107e2828261214b565b610aa861108f565b60128054911515620100000262ff000019909216919091179055565b60408051828152600583901b8082016020019092526060915b8015610b0857601f1980820191860101356000610af982610e29565b8484016020015250610add9050565b509392505050565b60006107ca8261147e565b610b2361108f565b600e55565b60006001600160a01b038216610b4857610b486323d3ad8160e21b611229565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b7661108f565b610a4d6000611514565b610b88611b2c565b6040518060400160405280610ba06001546000540390565b8152602001601154815250905090565b6060600080610bbe60005490565b90506060818314610bd757610bd4858484611566565b90505b949350505050565b6060600380546107f590612074565b6060610bd7848484611566565b610c0361140a565b60125462010000900460ff16610c2c5760405163b7b2409760e01b815260040160405180910390fd5b600e5481610c3d6001546000540390565b610c47919061220b565b1115610c6657604051634c0116c960e11b815260040160405180910390fd5b600c5433600090815260146020526040902054610c8490839061220b565b1115610ca35760405163de5486bf60e01b815260040160405180910390fd5b3360009081526015602052604090205460ff16158015610cc65750600f54601154105b15610d3457610cd660018261221e565b600d54610ce391906120c4565b3414610d025760405163218bcc2960e21b815260040160405180910390fd5b336000908152601560205260408120805460ff191660011790556011805491610d2a83612231565b9190505550610d61565b80600d54610d4291906120c4565b3414610d615760405163218bcc2960e21b815260040160405180910390fd5b3360009081526014602052604081208054839290610d8090849061220b565b90915550610d9090503382611657565b610d9a6001600b55565b50565b81610da781611233565b610dbf5760125460ff1615610dbf57610dbf81611255565b6108df8383611716565b610dd161108f565b6012805460ff1916911515919091179055565b836001600160a01b0381163314610e1657610dfe33611233565b610e165760125460ff1615610e1657610e1633611255565b610e2285858585611782565b5050505050565b60408051608081018252600080825260208201819052918101829052606081018290529054821015610e7e575b600082815260046020526040902054610e755760001990910190610e56565b6107ca826117bd565b919050565b6060610e8e826111e6565b610ef75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b601254610100900460ff16610f985760138054610f1390612074565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3f90612074565b8015610f8c5780601f10610f6157610100808354040283529160200191610f8c565b820191906000526020600020905b815481529060010190602001808311610f6f57829003601f168201915b50505050509050919050565b6013610fa38361183c565b604051602001610fb492919061224a565b6040516020818303038152906040529050919050565b610fd261108f565b600c55565b610fdf61108f565b6001600160a01b0381166110445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eee565b610d9a81611514565b61105561108f565b600f55565b60006001600160e01b0319821663152a902d60e11b14806107ca57506301ffc9a760e01b6001600160e01b03198316146107ca565b600a546001600160a01b03163314610a4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eee565b6127106001600160601b03821611156111575760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610eee565b6001600160a01b0382166111ad5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610eee565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b60008054821015610e7e5760005b506000828152600460205260408120549081900361121c57611215836122e1565b92506111f4565b600160e01b161592915050565b8060005260046000fd5b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611291573d6000803e3d6000fd5b6000603a5250565b6107e2828260016118cf565b60006112b08261147e565b6001600160a01b0394851694909150811684146112d6576112d662a1148160e81b611229565b60008281526006602052604090208054338082146001600160a01b0388169091141761131a576113068633610737565b61131a5761131a632ce44b5f60e11b611229565b801561132557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113b7576001840160008181526004602052604081205490036113b55760005481146113b55760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361140157611401633a954ecd60e21b611229565b50505050505050565b6002600b540361145c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eee565b6002600b55565b6108df83838360405180602001604052806000815250610de4565b600081815260046020526040812054908190036114f15760005482106114ae576114ae636f96cda160e11b611229565b5b506000190160008181526004602052604090205480156114af57600160e01b81166000036114dc57919050565b6114ec636f96cda160e11b611229565b6114af565b600160e01b811660000361150457919050565b610e7e636f96cda160e11b611229565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081831061157f5761157f631960ccad60e11b611229565b60005480831061158d578092505b6060600061159a87610b28565b8587109081029150811561164b5781878703116115b75786860391505b60405192506001820160051b830160405260006115d388610e29565b9050600081604001516115e4575080515b60005b6115f08a6117bd565b9250604083015160008114611608576000925061162d565b83511561161457835192505b8b831860601b61162d576001820191508a8260051b8801525b5060018a019950888a148061164157508481145b156115e757855250505b50909695505050505050565b60008054908290036116735761167363b562e8dd60e01b611229565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036116d1576116d1622e076360e81b611229565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036116d6575060005550505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61178d8484846108f1565b6001600160a01b0383163b1561092e576117a984848484611972565b61092e5761092e6368d2bf6b60e11b611229565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107ca90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600061184983611a54565b600101905060008167ffffffffffffffff81111561186957611869611d0d565b6040519080825280601f01601f191660200182016040528015611893576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461189d57509392505050565b60006118da83610b10565b90508180156118f25750336001600160a01b03821614155b15611915576119018133610737565b611915576119156367d9dca160e11b611229565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119a79033908990889088906004016122f8565b6020604051808303816000875af19250505080156119e2575060408051601f3d908101601f191682019092526119df91810190612335565b60015b611a37573d808015611a10576040519150601f19603f3d011682016040523d82523d6000602084013e611a15565b606091505b508051600003611a2f57611a2f6368d2bf6b60e11b611229565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a935772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611abf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611add57662386f26fc10000830492506010015b6305f5e1008310611af5576305f5e100830492506008015b6127108310611b0957612710830492506004015b60648310611b1b576064830492506002015b600a83106107ca5760010192915050565b60405180604001604052806002906020820280368337509192915050565b6001600160e01b031981168114610d9a57600080fd5b600060208284031215611b7257600080fd5b8135611b7d81611b4a565b9392505050565b80356001600160a01b0381168114610e7e57600080fd5b60008060408385031215611bae57600080fd5b611bb783611b84565b915060208301356001600160601b0381168114611bd357600080fd5b809150509250929050565b60005b83811015611bf9578181015183820152602001611be1565b50506000910152565b60008151808452611c1a816020860160208601611bde565b601f01601f19169290920160200192915050565b602081526000611b7d6020830184611c02565b600060208284031215611c5357600080fd5b5035919050565b60008060408385031215611c6d57600080fd5b611c7683611b84565b946020939093013593505050565b600080600060608486031215611c9957600080fd5b611ca284611b84565b9250611cb060208501611b84565b9150604084013590509250925092565b80358015158114610e7e57600080fd5b600060208284031215611ce257600080fd5b611b7d82611cc0565b60008060408385031215611cfe57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3e57611d3e611d0d565b604051601f8501601f19908116603f01168101908282118183101715611d6657611d66611d0d565b81604052809350858152868686011115611d7f57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611dab57600080fd5b813567ffffffffffffffff811115611dc257600080fd5b8201601f81018413611dd357600080fd5b610bd784823560208401611d23565b60008060208385031215611df557600080fd5b823567ffffffffffffffff80821115611e0d57600080fd5b818501915085601f830112611e2157600080fd5b813581811115611e3057600080fd5b8660208260051b8501011115611e4557600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561164b57611ec3838551611e57565b9284019260809290920191600101611eb0565b600060208284031215611ee857600080fd5b611b7d82611b84565b60408101818360005b6002811015611f19578151835260209283019290910190600101611efa565b50505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561164b57835183529284019291840191600101611f3e565b600080600060608486031215611f6f57600080fd5b611f7884611b84565b95602085013595506040909401359392505050565b60008060408385031215611fa057600080fd5b611fa983611b84565b9150611fb760208401611cc0565b90509250929050565b60008060008060808587031215611fd657600080fd5b611fdf85611b84565b9350611fed60208601611b84565b925060408501359150606085013567ffffffffffffffff81111561201057600080fd5b8501601f8101871361202157600080fd5b61203087823560208401611d23565b91505092959194509250565b608081016107ca8284611e57565b6000806040838503121561205d57600080fd5b61206683611b84565b9150611fb760208401611b84565b600181811c9082168061208857607f821691505b6020821081036120a857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107ca576107ca6120ae565b6000826120f857634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156108df57600081815260208120601f850160051c810160208610156121245750805b601f850160051c820191505b8181101561214357828155600101612130565b505050505050565b815167ffffffffffffffff81111561216557612165611d0d565b612179816121738454612074565b846120fd565b602080601f8311600181146121ae57600084156121965750858301515b600019600386901b1c1916600185901b178555612143565b600085815260208120601f198616915b828110156121dd578886015182559484019460019091019084016121be565b50858210156121fb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107ca576107ca6120ae565b818103818111156107ca576107ca6120ae565b600060018201612243576122436120ae565b5060010190565b600080845461225881612074565b600182811680156122705760018114612285576122b4565b60ff19841687528215158302870194506122b4565b8860005260208060002060005b858110156122ab5781548a820152908401908201612292565b50505082870194505b5050505083516122c8818360208801611bde565b64173539b7b760d91b9101908152600501949350505050565b6000816122f0576122f06120ae565b506000190190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061232b90830184611c02565b9695505050505050565b60006020828403121561234757600080fd5b8151611b7d81611b4a56fea26469706673582212200385f04779f50f8c42f55e5a25e4896721dccf14b2e0ac5ce10fe84976fcf47064736f6c63430008130033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806371b9b64611610144578063b88d4fde116100b6578063dad7b5c91161007a578063dad7b5c9146106e6578063e268e4d3146106fc578063e985e9c51461071c578063f2fde38b14610765578063f676308a14610785578063fb796e6c146107a557600080fd5b8063b88d4fde1461065a578063c23dc68f1461066d578063c87b56dd1461069a578063d08b11e3146106ba578063d85f2740146106d057600080fd5b806395d89b411161010857806395d89b41146105bc5780639858cf19146105d157806399a2557a146105e7578063a0712d6814610607578063a22cb4651461061a578063b7c0b8e81461063a57600080fd5b806371b9b6461461051057806377ce52f8146105305780637c234fb5146105525780638462151c146105715780638da5cb5b1461059e57600080fd5b806332cb6b0c116101dd5780635bbb2177116101a15780635bbb2177146104585780636352211e14610485578063676dd563146104a55780636f8b44b0146104bb57806370a08231146104db578063715018a6146104fb57600080fd5b806332cb6b0c146103da5780633ccfd60b146103f057806342842e0e1461040557806355f804b3146104185780635aca1bb61461043857600080fd5b806318160ddd1161022457806318160ddd146103255780631919fed71461034857806323b872dd146103685780632a3f300c1461037b5780632a55205a1461039b57600080fd5b806301ffc9a71461026157806304634d8d1461029657806306fdde03146102b8578063081812fc146102da578063095ea7b314610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004611b60565b6107bf565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b1366004611b9b565b6107d0565b005b3480156102c457600080fd5b506102cd6107e6565b60405161028d9190611c2e565b3480156102e657600080fd5b506102fa6102f5366004611c41565b610878565b6040516001600160a01b03909116815260200161028d565b6102b6610320366004611c5a565b6108b3565b34801561033157600080fd5b50600154600054035b60405190815260200161028d565b34801561035457600080fd5b506102b6610363366004611c41565b6108e4565b6102b6610376366004611c84565b6108f1565b34801561038757600080fd5b506102b6610396366004611cd0565b610934565b3480156103a757600080fd5b506103bb6103b6366004611ceb565b610956565b604080516001600160a01b03909316835260208301919091520161028d565b3480156103e657600080fd5b5061033a600e5481565b3480156103fc57600080fd5b506102b6610a02565b6102b6610413366004611c84565b610a4f565b34801561042457600080fd5b506102b6610433366004611d99565b610a8c565b34801561044457600080fd5b506102b6610453366004611cd0565b610aa0565b34801561046457600080fd5b50610478610473366004611de2565b610ac4565b60405161028d9190611e94565b34801561049157600080fd5b506102fa6104a0366004611c41565b610b10565b3480156104b157600080fd5b5061033a600d5481565b3480156104c757600080fd5b506102b66104d6366004611c41565b610b1b565b3480156104e757600080fd5b5061033a6104f6366004611ed6565b610b28565b34801561050757600080fd5b506102b6610b6e565b34801561051c57600080fd5b506012546102819062010000900460ff1681565b34801561053c57600080fd5b50610545610b80565b60405161028d9190611ef1565b34801561055e57600080fd5b5060125461028190610100900460ff1681565b34801561057d57600080fd5b5061059161058c366004611ed6565b610bb0565b60405161028d9190611f22565b3480156105aa57600080fd5b50600a546001600160a01b03166102fa565b3480156105c857600080fd5b506102cd610bdf565b3480156105dd57600080fd5b5061033a600f5481565b3480156105f357600080fd5b50610591610602366004611f5a565b610bee565b6102b6610615366004611c41565b610bfb565b34801561062657600080fd5b506102b6610635366004611f8d565b610d9d565b34801561064657600080fd5b506102b6610655366004611cd0565b610dc9565b6102b6610668366004611fc0565b610de4565b34801561067957600080fd5b5061068d610688366004611c41565b610e29565b60405161028d919061203c565b3480156106a657600080fd5b506102cd6106b5366004611c41565b610e83565b3480156106c657600080fd5b5061033a600c5481565b3480156106dc57600080fd5b5061033a60105481565b3480156106f257600080fd5b5061033a60115481565b34801561070857600080fd5b506102b6610717366004611c41565b610fca565b34801561072857600080fd5b5061028161073736600461204a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561077157600080fd5b506102b6610780366004611ed6565b610fd7565b34801561079157600080fd5b506102b66107a0366004611c41565b61104d565b3480156107b157600080fd5b506012546102819060ff1681565b60006107ca8261105a565b92915050565b6107d861108f565b6107e282826110e9565b5050565b6060600280546107f590612074565b80601f016020809104026020016040519081016040528092919081815260200182805461082190612074565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b6000610883826111e6565b610897576108976333d1c03960e21b611229565b506000908152600660205260409020546001600160a01b031690565b816108bd81611233565b6108d55760125460ff16156108d5576108d581611255565b6108df8383611299565b505050565b6108ec61108f565b600d55565b826001600160a01b03811633146109235761090b33611233565b6109235760125460ff16156109235761092333611255565b61092e8484846112a5565b50505050565b61093c61108f565b601280549115156101000261ff0019909216919091179055565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109cb5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109ea906001600160601b0316876120c4565b6109f491906120db565b915196919550909350505050565b610a0a61108f565b610a1261140a565b6040514790339082156108fc029083906000818181858888f19350505050158015610a41573d6000803e3d6000fd5b5050610a4d6001600b55565b565b826001600160a01b0381163314610a8157610a6933611233565b610a815760125460ff1615610a8157610a8133611255565b61092e848484611463565b610a9461108f565b60136107e2828261214b565b610aa861108f565b60128054911515620100000262ff000019909216919091179055565b60408051828152600583901b8082016020019092526060915b8015610b0857601f1980820191860101356000610af982610e29565b8484016020015250610add9050565b509392505050565b60006107ca8261147e565b610b2361108f565b600e55565b60006001600160a01b038216610b4857610b486323d3ad8160e21b611229565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b7661108f565b610a4d6000611514565b610b88611b2c565b6040518060400160405280610ba06001546000540390565b8152602001601154815250905090565b6060600080610bbe60005490565b90506060818314610bd757610bd4858484611566565b90505b949350505050565b6060600380546107f590612074565b6060610bd7848484611566565b610c0361140a565b60125462010000900460ff16610c2c5760405163b7b2409760e01b815260040160405180910390fd5b600e5481610c3d6001546000540390565b610c47919061220b565b1115610c6657604051634c0116c960e11b815260040160405180910390fd5b600c5433600090815260146020526040902054610c8490839061220b565b1115610ca35760405163de5486bf60e01b815260040160405180910390fd5b3360009081526015602052604090205460ff16158015610cc65750600f54601154105b15610d3457610cd660018261221e565b600d54610ce391906120c4565b3414610d025760405163218bcc2960e21b815260040160405180910390fd5b336000908152601560205260408120805460ff191660011790556011805491610d2a83612231565b9190505550610d61565b80600d54610d4291906120c4565b3414610d615760405163218bcc2960e21b815260040160405180910390fd5b3360009081526014602052604081208054839290610d8090849061220b565b90915550610d9090503382611657565b610d9a6001600b55565b50565b81610da781611233565b610dbf5760125460ff1615610dbf57610dbf81611255565b6108df8383611716565b610dd161108f565b6012805460ff1916911515919091179055565b836001600160a01b0381163314610e1657610dfe33611233565b610e165760125460ff1615610e1657610e1633611255565b610e2285858585611782565b5050505050565b60408051608081018252600080825260208201819052918101829052606081018290529054821015610e7e575b600082815260046020526040902054610e755760001990910190610e56565b6107ca826117bd565b919050565b6060610e8e826111e6565b610ef75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b601254610100900460ff16610f985760138054610f1390612074565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3f90612074565b8015610f8c5780601f10610f6157610100808354040283529160200191610f8c565b820191906000526020600020905b815481529060010190602001808311610f6f57829003601f168201915b50505050509050919050565b6013610fa38361183c565b604051602001610fb492919061224a565b6040516020818303038152906040529050919050565b610fd261108f565b600c55565b610fdf61108f565b6001600160a01b0381166110445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eee565b610d9a81611514565b61105561108f565b600f55565b60006001600160e01b0319821663152a902d60e11b14806107ca57506301ffc9a760e01b6001600160e01b03198316146107ca565b600a546001600160a01b03163314610a4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eee565b6127106001600160601b03821611156111575760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610eee565b6001600160a01b0382166111ad5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610eee565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b60008054821015610e7e5760005b506000828152600460205260408120549081900361121c57611215836122e1565b92506111f4565b600160e01b161592915050565b8060005260046000fd5b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611291573d6000803e3d6000fd5b6000603a5250565b6107e2828260016118cf565b60006112b08261147e565b6001600160a01b0394851694909150811684146112d6576112d662a1148160e81b611229565b60008281526006602052604090208054338082146001600160a01b0388169091141761131a576113068633610737565b61131a5761131a632ce44b5f60e11b611229565b801561132557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113b7576001840160008181526004602052604081205490036113b55760005481146113b55760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361140157611401633a954ecd60e21b611229565b50505050505050565b6002600b540361145c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eee565b6002600b55565b6108df83838360405180602001604052806000815250610de4565b600081815260046020526040812054908190036114f15760005482106114ae576114ae636f96cda160e11b611229565b5b506000190160008181526004602052604090205480156114af57600160e01b81166000036114dc57919050565b6114ec636f96cda160e11b611229565b6114af565b600160e01b811660000361150457919050565b610e7e636f96cda160e11b611229565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081831061157f5761157f631960ccad60e11b611229565b60005480831061158d578092505b6060600061159a87610b28565b8587109081029150811561164b5781878703116115b75786860391505b60405192506001820160051b830160405260006115d388610e29565b9050600081604001516115e4575080515b60005b6115f08a6117bd565b9250604083015160008114611608576000925061162d565b83511561161457835192505b8b831860601b61162d576001820191508a8260051b8801525b5060018a019950888a148061164157508481145b156115e757855250505b50909695505050505050565b60008054908290036116735761167363b562e8dd60e01b611229565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036116d1576116d1622e076360e81b611229565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036116d6575060005550505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61178d8484846108f1565b6001600160a01b0383163b1561092e576117a984848484611972565b61092e5761092e6368d2bf6b60e11b611229565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546107ca90604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600061184983611a54565b600101905060008167ffffffffffffffff81111561186957611869611d0d565b6040519080825280601f01601f191660200182016040528015611893576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461189d57509392505050565b60006118da83610b10565b90508180156118f25750336001600160a01b03821614155b15611915576119018133610737565b611915576119156367d9dca160e11b611229565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119a79033908990889088906004016122f8565b6020604051808303816000875af19250505080156119e2575060408051601f3d908101601f191682019092526119df91810190612335565b60015b611a37573d808015611a10576040519150601f19603f3d011682016040523d82523d6000602084013e611a15565b606091505b508051600003611a2f57611a2f6368d2bf6b60e11b611229565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a935772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611abf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611add57662386f26fc10000830492506010015b6305f5e1008310611af5576305f5e100830492506008015b6127108310611b0957612710830492506004015b60648310611b1b576064830492506002015b600a83106107ca5760010192915050565b60405180604001604052806002906020820280368337509192915050565b6001600160e01b031981168114610d9a57600080fd5b600060208284031215611b7257600080fd5b8135611b7d81611b4a565b9392505050565b80356001600160a01b0381168114610e7e57600080fd5b60008060408385031215611bae57600080fd5b611bb783611b84565b915060208301356001600160601b0381168114611bd357600080fd5b809150509250929050565b60005b83811015611bf9578181015183820152602001611be1565b50506000910152565b60008151808452611c1a816020860160208601611bde565b601f01601f19169290920160200192915050565b602081526000611b7d6020830184611c02565b600060208284031215611c5357600080fd5b5035919050565b60008060408385031215611c6d57600080fd5b611c7683611b84565b946020939093013593505050565b600080600060608486031215611c9957600080fd5b611ca284611b84565b9250611cb060208501611b84565b9150604084013590509250925092565b80358015158114610e7e57600080fd5b600060208284031215611ce257600080fd5b611b7d82611cc0565b60008060408385031215611cfe57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d3e57611d3e611d0d565b604051601f8501601f19908116603f01168101908282118183101715611d6657611d66611d0d565b81604052809350858152868686011115611d7f57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611dab57600080fd5b813567ffffffffffffffff811115611dc257600080fd5b8201601f81018413611dd357600080fd5b610bd784823560208401611d23565b60008060208385031215611df557600080fd5b823567ffffffffffffffff80821115611e0d57600080fd5b818501915085601f830112611e2157600080fd5b813581811115611e3057600080fd5b8660208260051b8501011115611e4557600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561164b57611ec3838551611e57565b9284019260809290920191600101611eb0565b600060208284031215611ee857600080fd5b611b7d82611b84565b60408101818360005b6002811015611f19578151835260209283019290910190600101611efa565b50505092915050565b6020808252825182820181905260009190848201906040850190845b8181101561164b57835183529284019291840191600101611f3e565b600080600060608486031215611f6f57600080fd5b611f7884611b84565b95602085013595506040909401359392505050565b60008060408385031215611fa057600080fd5b611fa983611b84565b9150611fb760208401611cc0565b90509250929050565b60008060008060808587031215611fd657600080fd5b611fdf85611b84565b9350611fed60208601611b84565b925060408501359150606085013567ffffffffffffffff81111561201057600080fd5b8501601f8101871361202157600080fd5b61203087823560208401611d23565b91505092959194509250565b608081016107ca8284611e57565b6000806040838503121561205d57600080fd5b61206683611b84565b9150611fb760208401611b84565b600181811c9082168061208857607f821691505b6020821081036120a857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176107ca576107ca6120ae565b6000826120f857634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156108df57600081815260208120601f850160051c810160208610156121245750805b601f850160051c820191505b8181101561214357828155600101612130565b505050505050565b815167ffffffffffffffff81111561216557612165611d0d565b612179816121738454612074565b846120fd565b602080601f8311600181146121ae57600084156121965750858301515b600019600386901b1c1916600185901b178555612143565b600085815260208120601f198616915b828110156121dd578886015182559484019460019091019084016121be565b50858210156121fb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156107ca576107ca6120ae565b818103818111156107ca576107ca6120ae565b600060018201612243576122436120ae565b5060010190565b600080845461225881612074565b600182811680156122705760018114612285576122b4565b60ff19841687528215158302870194506122b4565b8860005260208060002060005b858110156122ab5781548a820152908401908201612292565b50505082870194505b5050505083516122c8818360208801611bde565b64173539b7b760d91b9101908152600501949350505050565b6000816122f0576122f06120ae565b506000190190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061232b90830184611c02565b9695505050505050565b60006020828403121561234757600080fd5b8151611b7d81611b4a56fea26469706673582212200385f04779f50f8c42f55e5a25e4896721dccf14b2e0ac5ce10fe84976fcf47064736f6c63430008130033

Deployed Bytecode Sourcemap

703:6742:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6054:181;;;;;;;;;;-1:-1:-1;6054:181:14;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;6054:181:14;;;;;;;;7298:144;;;;;;;;;;-1:-1:-1;7298:144:14;;;;;:::i;:::-;;:::i;:::-;;10321:100:9;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;17355:227::-;;;;;;;;;;-1:-1:-1;17355:227:9;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:15;;;2228:51;;2216:2;2201:18;17355:227:9;2082:203:15;5227:184:14;;;;;;:::i;:::-;;:::i;6063:323:9:-;;;;;;;;;;-1:-1:-1;6337:12:9;;6124:7;6321:13;:28;6063:323;;;2695:25:15;;;2683:2;2668:18;6063:323:9;2549:177:15;3200:92:14;;;;;;;;;;-1:-1:-1;3200:92:14;;;;;:::i;:::-;;:::i;5419:190::-;;;;;;:::i;:::-;;:::i;3085:103::-;;;;;;;;;;-1:-1:-1;3085:103:14;;;;;:::i;:::-;;:::i;1671:432:3:-;;;;;;;;;;-1:-1:-1;1671:432:3;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3859:32:15;;;3841:51;;3923:2;3908:18;;3901:34;;;;3814:18;1671:432:3;3667:274:15;898:32:14;;;;;;;;;;;;;;;;4659:156;;;;;;;;;;;;;:::i;5617:198::-;;;;;;:::i;:::-;;:::i;3604:112::-;;;;;;;;;;-1:-1:-1;3604:112:14;;;;;:::i;:::-;;:::i;2979:98::-;;;;;;;;;;-1:-1:-1;2979:98:14;;;;;:::i;:::-;;:::i;1864:1163:11:-;;;;;;;;;;-1:-1:-1;1864:1163:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11723:152:9:-;;;;;;;;;;-1:-1:-1;11723:152:9;;;;;:::i;:::-;;:::i;846:43:14:-;;;;;;;;;;;;;;;;3407:87;;;;;;;;;;-1:-1:-1;3407:87:14;;;;;:::i;:::-;;:::i;7247:242:9:-;;;;;;;;;;-1:-1:-1;7247:242:9;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;1167:31:14:-;;;;;;;;;;-1:-1:-1;1167:31:14;;;;;;;;;;;4338:127;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1118:38::-;;;;;;;;;;-1:-1:-1;1118:38:14;;;;;;;;;;;4085:325:11;;;;;;;;;;-1:-1:-1;4085:325:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;10497:104:9;;;;;;;;;;;;;:::i;939:32:14:-;;;;;;;;;;;;;;;;3415:223:11;;;;;;;;;;-1:-1:-1;3415:223:11;;;;;:::i;:::-;;:::i;1918:860:14:-;;;;;;:::i;:::-;;:::i;5024:195::-;;;;;;;;;;-1:-1:-1;5024:195:14;;;;;:::i;:::-;;:::i;6446:117::-;;;;;;;;;;-1:-1:-1;6446:117:14;;;;;:::i;:::-;;:::i;5823:223::-;;;;;;:::i;:::-;;:::i;1109:596:11:-;;;;;;;;;;-1:-1:-1;1109:596:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3908:422:14:-;;;;;;;;;;-1:-1:-1;3908:422:14;;;;;:::i;:::-;;:::i;802:33::-;;;;;;;;;;;;;;;;982:36;;;;;;;;;;;;;;;;1027:34;;;;;;;;;;;;;;;;3300:94;;;;;;;;;;-1:-1:-1;3300:94:14;;;;;:::i;:::-;;:::i;18313:164:9:-;;;;;;;;;;-1:-1:-1;18313:164:9;;;;;:::i;:::-;-1:-1:-1;;;;;18434:25:9;;;18410:4;18434:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;18313:164;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;3503:91:14:-;;;;;;;;;;-1:-1:-1;3503:91:14;;;;;:::i;:::-;;:::i;1075:36::-;;;;;;;;;;-1:-1:-1;1075:36:14;;;;;;;;6054:181;6167:4;6191:36;6215:11;6191:23;:36::i;:::-;6184:43;6054:181;-1:-1:-1;;6054:181:14:o;7298:144::-;1094:13:0;:11;:13::i;:::-;7392:42:14::1;7411:8;7421:12;7392:18;:42::i;:::-;7298:144:::0;;:::o;10321:100:9:-;10375:13;10408:5;10401:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10321:100;:::o;17355:227::-;17431:7;17456:16;17464:7;17456;:16::i;:::-;17451:73;;17474:50;-1:-1:-1;;;17474:7:9;:50::i;:::-;-1:-1:-1;17544:24:9;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;17544:30:9;;17355:227::o;5227:184:14:-;5350:8;3578:29:13;3598:8;3578:19;:29::i;:::-;3573:122;;6664:24:14;;;;3624:59:13;;;3657:26;3674:8;3657:16;:26::i;:::-;5371:32:14::1;5385:8;5395:7;5371:13;:32::i;:::-;5227:184:::0;;;:::o;3200:92::-;1094:13:0;:11;:13::i;:::-;3267:9:14::1;:17:::0;3200:92::o;5419:190::-;5547:4;-1:-1:-1;;;;;3213:18:13;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6664:24:14;;;;3305:61:13;;;3338:28;3355:10;3338:16;:28::i;:::-;5564:37:14::1;5583:4;5589:2;5593:7;5564:18;:37::i;:::-;5419:190:::0;;;;:::o;3085:103::-;1094:13:0;:11;:13::i;:::-;3149:18:14::1;:31:::0;;;::::1;;;;-1:-1:-1::0;;3149:31:14;;::::1;::::0;;;::::1;::::0;;3085:103::o;1671:432:3:-;1768:7;1825:27;;;:17;:27;;;;;;;;1796:56;;;;;;;;;-1:-1:-1;;;;;1796:56:3;;;;;-1:-1:-1;;;1796:56:3;;;-1:-1:-1;;;;;1796:56:3;;;;;;;;1768:7;;1863:90;;-1:-1:-1;1913:29:3;;;;;;;;;1923:19;1913:29;-1:-1:-1;;;;;1913:29:3;;;;-1:-1:-1;;;1913:29:3;;-1:-1:-1;;;;;1913:29:3;;;;;1863:90;2001:23;;;;1963:21;;2461:5;;1988:36;;-1:-1:-1;;;;;1988:36:3;:10;:36;:::i;:::-;1987:58;;;;:::i;:::-;2064:16;;;;;-1:-1:-1;1671:432:3;;-1:-1:-1;;;;1671:432:3:o;4659:156:14:-;1094:13:0;:11;:13::i;:::-;2261:21:2::1;:19;:21::i;:::-;4770:37:14::2;::::0;4738:21:::2;::::0;4778:10:::2;::::0;4770:37;::::2;;;::::0;4738:21;;4720:15:::2;4770:37:::0;4720:15;4770:37;4738:21;4778:10;4770:37;::::2;;;;;;;;;;;;;::::0;::::2;;;;;;4709:106;2303:20:2::1;1716:1:::0;2809:7;:22;2629:209;2303:20:::1;4659:156:14:o:0;5617:198::-;5749:4;-1:-1:-1;;;;;3213:18:13;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6664:24:14;;;;3305:61:13;;;3338:28;3355:10;3338:16;:28::i;:::-;5766:41:14::1;5789:4;5795:2;5799:7;5766:22;:41::i;3604:112::-:0;1094:13:0;:11;:13::i;:::-;3676::14::1;:24;3692:8:::0;3676:13;:24:::1;:::i;2979:98::-:0;1094:13:0;:11;:13::i;:::-;3046:11:14::1;:23:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;3046:23:14;;::::1;::::0;;;::::1;::::0;;2979:98::o;1864:1163:11:-;2222:4;2216:11;;2275:21;;;2427:1;2423:9;;;2482:29;;;2502:4;2482:29;2469:43;;;2008:23;;2533:459;2540:6;;2533:459;;-1:-1:-1;;2626:12:11;;;;2680:23;;;2667:37;2563:15;2767:28;2667:37;2767:19;:28::i;:::-;2925:29;;;2945:4;2925:29;2918:48;-1:-1:-1;2533:459:11;;-1:-1:-1;2533:459:11;;-1:-1:-1;3009:10:11;1864:1163;-1:-1:-1;;;1864:1163:11:o;11723:152:9:-;11795:7;11838:27;11857:7;11838:18;:27::i;3407:87:14:-;1094:13:0;:11;:13::i;:::-;3470:10:14::1;:16:::0;3407:87::o;7247:242:9:-;7319:7;-1:-1:-1;;;;;7343:19:9;;7339:69;;7364:44;-1:-1:-1;;;7364:7:9;:44::i;:::-;-1:-1:-1;;;;;;7426:25:9;;;;;:18;:25;;;;;;1406:13;7426:55;;7247:242::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;4338:127:14:-:0;4380:17;;:::i;:::-;4418:39;;;;;;;;4426:13;6337:12:9;;6124:7;6321:13;:28;;6063:323;4426:13:14;4418:39;;;;4441:15;;4418:39;;;;;4338:127;:::o;4085:325:11:-;4163:16;4192:13;4234:12;4249:14;5805:7:9;5832:13;;5750:103;4249:14:11;4234:29;;4274:25;4323:4;4314:5;:13;4310:66;;4340:36;4357:5;4364;4371:4;4340:16;:36::i;:::-;4329:47;;4310:66;4394:8;4085:325;-1:-1:-1;;;;4085:325:11:o;10497:104:9:-;10553:13;10586:7;10579:14;;;;;:::i;3415:223:11:-;3558:16;3594:36;3611:5;3618;3625:4;3594:16;:36::i;1918:860:14:-;2261:21:2;:19;:21::i;:::-;1995:11:14::1;::::0;;;::::1;;;1990:54;;2029:15;;-1:-1:-1::0;;;2029:15:14::1;;;;;;;;;;;1990:54;2091:10;;2079:8;2063:13;6337:12:9::0;;6124:7;6321:13;:28;;6063:323;2063:13:14::1;:24;;;;:::i;:::-;2062:39;2059:85;;;2124:20;;-1:-1:-1::0;;;2124:20:14::1;;;;;;;;;;;2059:85;2201:14;::::0;2175:10:::1;2162:24;::::0;;;:12:::1;:24;::::0;;;;;:35:::1;::::0;2189:8;;2162:35:::1;:::i;:::-;2161:54;2158:98;;;2238:18;;-1:-1:-1::0;;;2238:18:14::1;;;;;;;;;;;2158:98;2284:10;2273:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;:31;::::0;::::1;:64;;;2326:11;;2308:15;;:29;2273:64;2270:400;;;2385:12;2396:1;2385:8:::0;:12:::1;:::i;:::-;2372:9;;:26;;;;:::i;:::-;2358:9;:41;2354:88;;2426:16;;-1:-1:-1::0;;;2426:16:14::1;;;;;;;;;;;2354:88;2482:10;2471:22;::::0;;;:10:::1;:22;::::0;;;;:29;;-1:-1:-1;;2471:29:14::1;2496:4;2471:29;::::0;;2517:15:::1;:17:::0;;;::::1;::::0;::::1;:::i;:::-;;;;;;2270:400;;;2606:8;2594:9;;:20;;;;:::i;:::-;2580:9;:35;2576:82;;2642:16;;-1:-1:-1::0;;;2642:16:14::1;;;;;;;;;;;2576:82;2699:10;2686:24;::::0;;;:12:::1;:24;::::0;;;;:36;;2714:8;;2686:24;:36:::1;::::0;2714:8;;2686:36:::1;:::i;:::-;::::0;;;-1:-1:-1;2741:27:14::1;::::0;-1:-1:-1;2747:10:14::1;2759:8:::0;2741:5:::1;:27::i;:::-;2303:20:2::0;1716:1;2809:7;:22;2629:209;2303:20;1918:860:14;:::o;5024:195::-;5147:8;3578:29:13;3598:8;3578:19;:29::i;:::-;3573:122;;6664:24:14;;;;3624:59:13;;;3657:26;3674:8;3657:16;:26::i;:::-;5168:43:14::1;5192:8;5202;5168:23;:43::i;6446:117::-:0;1094:13:0;:11;:13::i;:::-;6523:24:14::1;:32:::0;;-1:-1:-1;;6523:32:14::1;::::0;::::1;;::::0;;;::::1;::::0;;6446:117::o;5823:223::-;5974:4;-1:-1:-1;;;;;3213:18:13;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6664:24:14;;;;3305:61:13;;;3338:28;3355:10;3338:16;:28::i;:::-;5991:47:14::1;6014:4;6020:2;6024:7;6033:4;5991:22;:47::i;:::-;5823:223:::0;;;;;:::o;1109:596:11:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5832:13:9;;1367:24:11;;1363:309;;;1550:51;12751:4:9;12775:24;;;:17;:24;;;;;;1550:51:11;;-1:-1:-1;;1592:9:11;;;;1550:51;;;1631:21;1644:7;1631:12;:21::i;1363:309::-;1109:596;;;:::o;3908:422:14:-;4000:13;4050:16;4058:7;4050;:16::i;:::-;4028:113;;;;-1:-1:-1;;;4028:113:14;;13850:2:15;4028:113:14;;;13832:21:15;13889:2;13869:18;;;13862:30;13928:34;13908:18;;;13901:62;-1:-1:-1;;;13979:18:15;;;13972:45;14034:19;;4028:113:14;;;;;;;;;4162:18;;;;;;;4158:57;;4202:13;4195:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3908:422;;;:::o;4158:57::-;4271:13;4286:25;4303:7;4286:16;:25::i;:::-;4254:67;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4240:82;;3908:422;;;:::o;3300:94::-;1094:13:0;:11;:13::i;:::-;3366:14:14::1;:20:::0;3300:94::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;15458:2:15;2161:73:0::1;::::0;::::1;15440:21:15::0;15497:2;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;-1:-1:-1;;;15587:18:15;;;15580:36;15633:19;;2161:73:0::1;15256:402:15::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;3503:91:14:-:0;1094:13:0;:11;:13::i;:::-;3568:11:14::1;:18:::0;3503:91::o;1408:213:3:-;1510:4;-1:-1:-1;;;;;;1533:41:3;;-1:-1:-1;;;1533:41:3;;:81;;-1:-1:-1;;;;;;;;;;937:40:6;;;1578:36:3;829:155:6;1359:130:0;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:4;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;15865:2:15;1414:68:0;;;15847:21:15;;;15884:18;;;15877:30;15943:34;15923:18;;;15916:62;15995:18;;1414:68:0;15663:356:15;2734:327:3;2461:5;-1:-1:-1;;;;;2836:33:3;;;;2828:88;;;;-1:-1:-1;;;2828:88:3;;16226:2:15;2828:88:3;;;16208:21:15;16265:2;16245:18;;;16238:30;16304:34;16284:18;;;16277:62;-1:-1:-1;;;16355:18:15;;;16348:40;16405:19;;2828:88:3;16024:406:15;2828:88:3;-1:-1:-1;;;;;2934:22:3;;2926:60;;;;-1:-1:-1;;;2926:60:3;;16637:2:15;2926:60:3;;;16619:21:15;16676:2;16656:18;;;16649:30;16715:27;16695:18;;;16688:55;16760:18;;2926:60:3;16435:349:15;2926:60:3;3019:35;;;;;;;;;-1:-1:-1;;;;;3019:35:3;;;;;;-1:-1:-1;;;;;3019:35:3;;;;;;;;;;-1:-1:-1;;;2997:57:3;;;;:19;:57;2734:327::o;18735:368:9:-;18800:11;18885:13;;18875:7;:23;18871:214;;;18919:14;18952:60;-1:-1:-1;18969:26:9;;;;:17;:26;;;;;;;18959:42;;;18952:60;;19003:9;;;:::i;:::-;;;18952:60;;;-1:-1:-1;;;19040:24:9;:29;;18735:368;-1:-1:-1;;18735:368:9:o;44513:165::-;44614:13;44608:4;44601:27;44655:4;44649;44642:18;6704:386:14;-1:-1:-1;;;;;7019:63:14;7039:42;7019:63;;6704:386::o;3811:1359:13:-;4204:22;4198:4;4191:36;4297:9;4291:4;4284:23;4372:8;4366:4;4359:22;4549:4;4543;4537;4531;4504:25;4497:5;4486:68;4476:274;;4670:16;4664:4;4658;4643:44;4718:16;4712:4;4705:30;4476:274;5150:1;5144:4;5137:15;3811:1359;:::o;17072:124:9:-;17161:27;17170:2;17174:7;17183:4;17161:8;:27::i;21089:3523::-;21231:27;21261;21280:7;21261:18;:27::i;:::-;-1:-1:-1;;;;;21416:22:9;;;;21231:57;;-1:-1:-1;21476:45:9;;;;21472:95;;21523:44;-1:-1:-1;;;21523:7:9;:44::i;:::-;21581:27;20197:24;;;:15;:24;;;;;20425:26;;719:10:4;19822:30:9;;;-1:-1:-1;;;;;19515:28:9;;19800:20;;;19797:56;21767:189;;21860:43;21877:4;719:10:4;18313:164:9;:::i;21860:43::-;21855:101;;21905:51;-1:-1:-1;;;21905:7:9;:51::i;:::-;22105:15;22102:160;;;22245:1;22224:19;22217:30;22102:160;-1:-1:-1;;;;;22642:24:9;;;;;;;:18;:24;;;;;;22640:26;;-1:-1:-1;;22640:26:9;;;22711:22;;;;;;;;;22709:24;;-1:-1:-1;22709:24:9;;;16174:11;16149:23;16145:41;16132:63;-1:-1:-1;;;16132:63:9;23004:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;23299:47:9;;:52;;23295:627;;23404:1;23394:11;;23372:19;23527:30;;;:17;:30;;;;;;:35;;23523:384;;23665:13;;23650:11;:28;23646:242;;23812:30;;;;:17;:30;;;;;:52;;;23646:242;23353:569;23295:627;-1:-1:-1;;;;;24054:20:9;;24434:7;24054:20;24364:4;24306:25;24035:16;;24171:299;24495:8;24507:1;24495:13;24491:58;;24510:39;-1:-1:-1;;;24510:7:9;:39::i;:::-;21220:3392;;;;21089:3523;;;:::o;2336:287:2:-;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:2;;17132:2:15;2460:63:2;;;17114:21:15;17171:2;17151:18;;;17144:30;17210:33;17190:18;;;17183:61;17261:18;;2460:63:2;16930:355:15;2460:63:2;1759:1;2598:7;:18;2336:287::o;24708:193:9:-;24854:39;24871:4;24877:2;24881:7;24854:39;;;;;;;;;;;;:16;:39::i;13203:2012::-;13353:26;;;;:17;:26;;;;;;;13479:11;;;13475:1292;;13526:13;;13515:7;:24;13511:77;;13541:47;-1:-1:-1;;;13541:7:9;:47::i;:::-;14145:607;-1:-1:-1;;;14241:9:9;14223:28;;;;:17;:28;;;;;;14297:25;;14145:607;14297:25;-1:-1:-1;;;14349:6:9;:24;14377:1;14349:29;14345:48;;13203:2012;;;:::o;14345:48::-;14685:47;-1:-1:-1;;;14685:7:9;:47::i;:::-;14145:607;;13475:1292;-1:-1:-1;;;15094:6:9;:24;15122:1;15094:29;15090:48;;13203:2012;;;:::o;15090:48::-;15160:47;-1:-1:-1;;;15160:7:9;:47::i;2433:187:0:-;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;4666:4349:11:-;4792:16;4859:4;4850:5;:13;4846:54;;4865:35;-1:-1:-1;;;4865:7:11;:35::i;:::-;5075:17;5832:13:9;5179:17:11;;;5175:74;;5224:9;5217:16;;5175:74;5263:25;5303;5331:16;5341:5;5331:9;:16::i;:::-;5381:12;;;5541:35;;;;-1:-1:-1;5609:22:11;;5605:3362;;5831:17;5822:5;5815:4;:12;:33;5811:114;;5900:5;5893:4;:12;5873:32;;5811:114;6047:4;6041:11;6029:23;;6300:1;6281:17;6277:25;6274:1;6270:33;6260:8;6256:48;6250:4;6243:62;6480:31;6514:26;6534:5;6514:19;:26::i;:::-;6480:60;;6559:25;6856:9;:16;;;6851:100;;-1:-1:-1;6917:14:11;;6851:100;6969:19;7159:1644;7197:19;7210:5;7197:12;:19::i;:::-;7185:31;;7303:4;7292:9;7288:20;7282:27;7400:1;7395:907;;;;8623:1;8602:22;;7275:1376;;7395:907;7678:9;7672:16;7669:123;;;7751:9;7745:16;7724:37;;7669:123;8083:5;8064:17;8060:29;8056:2;8052:38;8042:233;;8159:1;8146:11;8142:19;8127:34;;8238:5;8223:11;8220:1;8216:19;8206:8;8202:34;8195:49;8042:233;7275:1376;8697:1;8690:5;8686:13;8677:22;;8760:4;8751:5;:13;:49;;;;8783:17;8768:11;:32;8751:49;8749:52;7159:1644;;8904:29;;-1:-1:-1;;5605:3362:11;-1:-1:-1;8988:8:11;;4666:4349;-1:-1:-1;;;;;;4666:4349:11:o;29152:2305:9:-;29225:20;29248:13;;;29276;;;29272:53;;29291:34;-1:-1:-1;;;29291:7:9;:34::i;:::-;29838:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;16000:28:9;;16174:11;16149:23;16145:41;16618:1;16605:15;;16579:24;16575:46;16142:52;16132:63;;29838:173;;;30229:22;;;:18;:22;;;;;:71;;30267:32;30255:45;;30229:71;;;16000:28;30490:13;;;30486:54;;30505:35;-1:-1:-1;;;30505:7:9;:35::i;:::-;30571:23;;;:12;30656:676;31075:7;31031:8;30986:1;30920:25;30857:1;30792;30761:358;31327:3;31314:9;;;;;;:16;30656:676;;-1:-1:-1;31348:13:9;:19;-1:-1:-1;5227:184:14;;;:::o;17922:234:9:-;719:10:4;18017:39:9;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;18017:49:9;;;;;;;;;;;;:60;;-1:-1:-1;;18017:60:9;;;;;;;;;;18093:55;;540:41:15;;;18017:49:9;;719:10:4;18093:55:9;;513:18:15;18093:55:9;;;;;;;17922:234;;:::o;25499:416::-;25674:31;25687:4;25693:2;25697:7;25674:12;:31::i;:::-;-1:-1:-1;;;;;25720:14:9;;;:19;25716:192;;25759:56;25790:4;25796:2;25800:7;25809:5;25759:30;:56::i;:::-;25754:154;;25836:56;-1:-1:-1;;;25836:7:9;:56::i;12326:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12454:24:9;;;;:17;:24;;;;;;12435:44;;-1:-1:-1;;;;;;;;;;;;;15424:41:9;;;;2065:3;15510:33;;;15476:68;;-1:-1:-1;;;15476:68:9;-1:-1:-1;;;15574:24:9;;:29;;-1:-1:-1;;;15555:48:9;;;;2586:3;15643:28;;;;-1:-1:-1;;;15614:58:9;-1:-1:-1;15314:366:9;415:696:5;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:5;-1:-1:-1;572:41:5;-1:-1:-1;733:28:5;;;749:2;733:28;788:280;-1:-1:-1;;819:5:5;-1:-1:-1;;;953:2:5;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:5;788:280;1032:21;-1:-1:-1;1088:6:5;415:696;-1:-1:-1;;;415:696:5:o;35946:474:9:-;36075:13;36091:16;36099:7;36091;:16::i;:::-;36075:32;;36124:13;:45;;;;-1:-1:-1;719:10:4;-1:-1:-1;;;;;36141:28:9;;;;36124:45;36120:201;;;36189:44;36206:5;719:10:4;18313:164:9;:::i;36189:44::-;36184:137;;36254:51;-1:-1:-1;;;36254:7:9;:51::i;:::-;36333:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;36333:35:9;-1:-1:-1;;;;;36333:35:9;;;;;;;;;36384:28;;36333:24;;36384:28;;;;;;;36064:356;35946:474;;;:::o;27999:691::-;28183:88;;-1:-1:-1;;;28183:88:9;;28162:4;;-1:-1:-1;;;;;28183:45:9;;;;;:88;;719:10:4;;28250:4:9;;28256:7;;28265:5;;28183:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28183:88:9;;;;;;;;-1:-1:-1;;28183:88:9;;;;;;;;;;;;:::i;:::-;;;28179:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28466:6;:13;28483:1;28466:18;28462:115;;28505:56;-1:-1:-1;;;28505:7:9;:56::i;:::-;28649:6;28643:13;28634:6;28630:2;28626:15;28619:38;28179:504;-1:-1:-1;;;;;;28342:64:9;-1:-1:-1;;;28342:64:9;;-1:-1:-1;27999:691:9;;;;;;:::o;9889:890:8:-;9942:7;;-1:-1:-1;;;10017:15:8;;10013:99;;-1:-1:-1;;;10052:15:8;;;-1:-1:-1;10095:2:8;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:8;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:8;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:8;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:8;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:8;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:8:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:15:-;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:15:o;592:173::-;660:20;;-1:-1:-1;;;;;709:31:15;;699:42;;689:70;;755:1;752;745:12;770:366;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:15;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:15;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:15;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:15:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:15;;1897:180;-1:-1:-1;1897:180:15:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:15:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:160::-;3129:20;;3185:13;;3178:21;3168:32;;3158:60;;3214:1;3211;3204:12;3229:180;3285:6;3338:2;3326:9;3317:7;3313:23;3309:32;3306:52;;;3354:1;3351;3344:12;3306:52;3377:26;3393:9;3377:26;:::i;3414:248::-;3482:6;3490;3543:2;3531:9;3522:7;3518:23;3514:32;3511:52;;;3559:1;3556;3549:12;3511:52;-1:-1:-1;;3582:23:15;;;3652:2;3637:18;;;3624:32;;-1:-1:-1;3414:248:15:o;3946:127::-;4007:10;4002:3;3998:20;3995:1;3988:31;4038:4;4035:1;4028:15;4062:4;4059:1;4052:15;4078:632;4143:5;4173:18;4214:2;4206:6;4203:14;4200:40;;;4220:18;;:::i;:::-;4295:2;4289:9;4263:2;4349:15;;-1:-1:-1;;4345:24:15;;;4371:2;4341:33;4337:42;4325:55;;;4395:18;;;4415:22;;;4392:46;4389:72;;;4441:18;;:::i;:::-;4481:10;4477:2;4470:22;4510:6;4501:15;;4540:6;4532;4525:22;4580:3;4571:6;4566:3;4562:16;4559:25;4556:45;;;4597:1;4594;4587:12;4556:45;4647:6;4642:3;4635:4;4627:6;4623:17;4610:44;4702:1;4695:4;4686:6;4678;4674:19;4670:30;4663:41;;;;4078:632;;;;;:::o;4715:451::-;4784:6;4837:2;4825:9;4816:7;4812:23;4808:32;4805:52;;;4853:1;4850;4843:12;4805:52;4893:9;4880:23;4926:18;4918:6;4915:30;4912:50;;;4958:1;4955;4948:12;4912:50;4981:22;;5034:4;5026:13;;5022:27;-1:-1:-1;5012:55:15;;5063:1;5060;5053:12;5012:55;5086:74;5152:7;5147:2;5134:16;5129:2;5125;5121:11;5086:74;:::i;5171:615::-;5257:6;5265;5318:2;5306:9;5297:7;5293:23;5289:32;5286:52;;;5334:1;5331;5324:12;5286:52;5374:9;5361:23;5403:18;5444:2;5436:6;5433:14;5430:34;;;5460:1;5457;5450:12;5430:34;5498:6;5487:9;5483:22;5473:32;;5543:7;5536:4;5532:2;5528:13;5524:27;5514:55;;5565:1;5562;5555:12;5514:55;5605:2;5592:16;5631:2;5623:6;5620:14;5617:34;;;5647:1;5644;5637:12;5617:34;5700:7;5695:2;5685:6;5682:1;5678:14;5674:2;5670:23;5666:32;5663:45;5660:65;;;5721:1;5718;5711:12;5660:65;5752:2;5744:11;;;;;5774:6;;-1:-1:-1;5171:615:15;;-1:-1:-1;;;;5171:615:15:o;5791:349::-;5875:12;;-1:-1:-1;;;;;5871:38:15;5859:51;;5963:4;5952:16;;;5946:23;5971:18;5942:48;5926:14;;;5919:72;6054:4;6043:16;;;6037:23;6030:31;6023:39;6007:14;;;6000:63;6116:4;6105:16;;;6099:23;6124:8;6095:38;6079:14;;6072:62;5791:349::o;6145:724::-;6380:2;6432:21;;;6502:13;;6405:18;;;6524:22;;;6351:4;;6380:2;6603:15;;;;6577:2;6562:18;;;6351:4;6646:197;6660:6;6657:1;6654:13;6646:197;;;6709:52;6757:3;6748:6;6742:13;6709:52;:::i;:::-;6818:15;;;;6790:4;6781:14;;;;;6682:1;6675:9;6646:197;;6874:186;6933:6;6986:2;6974:9;6965:7;6961:23;6957:32;6954:52;;;7002:1;6999;6992:12;6954:52;7025:29;7044:9;7025:29;:::i;7065:494::-;7245:2;7230:18;;7234:9;7325:6;7203:4;7359:194;7373:4;7370:1;7367:11;7359:194;;;7432:13;;7420:26;;7469:4;7493:12;;;;7528:15;;;;7393:1;7386:9;7359:194;;;7363:3;;;7065:494;;;;:::o;7564:632::-;7735:2;7787:21;;;7857:13;;7760:18;;;7879:22;;;7706:4;;7735:2;7958:15;;;;7932:2;7917:18;;;7706:4;8001:169;8015:6;8012:1;8009:13;8001:169;;;8076:13;;8064:26;;8145:15;;;;8110:12;;;;8037:1;8030:9;8001:169;;8201:322;8278:6;8286;8294;8347:2;8335:9;8326:7;8322:23;8318:32;8315:52;;;8363:1;8360;8353:12;8315:52;8386:29;8405:9;8386:29;:::i;:::-;8376:39;8462:2;8447:18;;8434:32;;-1:-1:-1;8513:2:15;8498:18;;;8485:32;;8201:322;-1:-1:-1;;;8201:322:15:o;8528:254::-;8593:6;8601;8654:2;8642:9;8633:7;8629:23;8625:32;8622:52;;;8670:1;8667;8660:12;8622:52;8693:29;8712:9;8693:29;:::i;:::-;8683:39;;8741:35;8772:2;8761:9;8757:18;8741:35;:::i;:::-;8731:45;;8528:254;;;;;:::o;8787:667::-;8882:6;8890;8898;8906;8959:3;8947:9;8938:7;8934:23;8930:33;8927:53;;;8976:1;8973;8966:12;8927:53;8999:29;9018:9;8999:29;:::i;:::-;8989:39;;9047:38;9081:2;9070:9;9066:18;9047:38;:::i;:::-;9037:48;;9132:2;9121:9;9117:18;9104:32;9094:42;;9187:2;9176:9;9172:18;9159:32;9214:18;9206:6;9203:30;9200:50;;;9246:1;9243;9236:12;9200:50;9269:22;;9322:4;9314:13;;9310:27;-1:-1:-1;9300:55:15;;9351:1;9348;9341:12;9300:55;9374:74;9440:7;9435:2;9422:16;9417:2;9413;9409:11;9374:74;:::i;:::-;9364:84;;;8787:667;;;;;;;:::o;9459:268::-;9657:3;9642:19;;9670:51;9646:9;9703:6;9670:51;:::i;9732:260::-;9800:6;9808;9861:2;9849:9;9840:7;9836:23;9832:32;9829:52;;;9877:1;9874;9867:12;9829:52;9900:29;9919:9;9900:29;:::i;:::-;9890:39;;9948:38;9982:2;9971:9;9967:18;9948:38;:::i;9997:380::-;10076:1;10072:12;;;;10119;;;10140:61;;10194:4;10186:6;10182:17;10172:27;;10140:61;10247:2;10239:6;10236:14;10216:18;10213:38;10210:161;;10293:10;10288:3;10284:20;10281:1;10274:31;10328:4;10325:1;10318:15;10356:4;10353:1;10346:15;10210:161;;9997:380;;;:::o;10382:127::-;10443:10;10438:3;10434:20;10431:1;10424:31;10474:4;10471:1;10464:15;10498:4;10495:1;10488:15;10514:168;10587:9;;;10618;;10635:15;;;10629:22;;10615:37;10605:71;;10656:18;;:::i;10819:217::-;10859:1;10885;10875:132;;10929:10;10924:3;10920:20;10917:1;10910:31;10964:4;10961:1;10954:15;10992:4;10989:1;10982:15;10875:132;-1:-1:-1;11021:9:15;;10819:217::o;11167:545::-;11269:2;11264:3;11261:11;11258:448;;;11305:1;11330:5;11326:2;11319:17;11375:4;11371:2;11361:19;11445:2;11433:10;11429:19;11426:1;11422:27;11416:4;11412:38;11481:4;11469:10;11466:20;11463:47;;;-1:-1:-1;11504:4:15;11463:47;11559:2;11554:3;11550:12;11547:1;11543:20;11537:4;11533:31;11523:41;;11614:82;11632:2;11625:5;11622:13;11614:82;;;11677:17;;;11658:1;11647:13;11614:82;;;11618:3;;;11167:545;;;:::o;11888:1352::-;12014:3;12008:10;12041:18;12033:6;12030:30;12027:56;;;12063:18;;:::i;:::-;12092:97;12182:6;12142:38;12174:4;12168:11;12142:38;:::i;:::-;12136:4;12092:97;:::i;:::-;12244:4;;12308:2;12297:14;;12325:1;12320:663;;;;13027:1;13044:6;13041:89;;;-1:-1:-1;13096:19:15;;;13090:26;13041:89;-1:-1:-1;;11845:1:15;11841:11;;;11837:24;11833:29;11823:40;11869:1;11865:11;;;11820:57;13143:81;;12290:944;;12320:663;11114:1;11107:14;;;11151:4;11138:18;;-1:-1:-1;;12356:20:15;;;12474:236;12488:7;12485:1;12482:14;12474:236;;;12577:19;;;12571:26;12556:42;;12669:27;;;;12637:1;12625:14;;;;12504:19;;12474:236;;;12478:3;12738:6;12729:7;12726:19;12723:201;;;12799:19;;;12793:26;-1:-1:-1;;12882:1:15;12878:14;;;12894:3;12874:24;12870:37;12866:42;12851:58;12836:74;;12723:201;-1:-1:-1;;;;;12970:1:15;12954:14;;;12950:22;12937:36;;-1:-1:-1;11888:1352:15:o;13245:125::-;13310:9;;;13331:10;;;13328:36;;;13344:18;;:::i;13375:128::-;13442:9;;;13463:11;;;13460:37;;;13477:18;;:::i;13508:135::-;13547:3;13568:17;;;13565:43;;13588:18;;:::i;:::-;-1:-1:-1;13635:1:15;13624:13;;13508:135::o;14064:1187::-;14341:3;14370:1;14403:6;14397:13;14433:36;14459:9;14433:36;:::i;:::-;14488:1;14505:18;;;14532:133;;;;14679:1;14674:356;;;;14498:532;;14532:133;-1:-1:-1;;14565:24:15;;14553:37;;14638:14;;14631:22;14619:35;;14610:45;;;-1:-1:-1;14532:133:15;;14674:356;14705:6;14702:1;14695:17;14735:4;14780:2;14777:1;14767:16;14805:1;14819:165;14833:6;14830:1;14827:13;14819:165;;;14911:14;;14898:11;;;14891:35;14954:16;;;;14848:10;;14819:165;;;14823:3;;;15013:6;15008:3;15004:16;14997:23;;14498:532;;;;;15061:6;15055:13;15077:68;15136:8;15131:3;15124:4;15116:6;15112:17;15077:68;:::i;:::-;-1:-1:-1;;;15167:18:15;;15194:22;;;15243:1;15232:13;;14064:1187;-1:-1:-1;;;;14064:1187:15:o;16789:136::-;16828:3;16856:5;16846:39;;16865:18;;:::i;:::-;-1:-1:-1;;;16901:18:15;;16789:136::o;17290:489::-;-1:-1:-1;;;;;17559:15:15;;;17541:34;;17611:15;;17606:2;17591:18;;17584:43;17658:2;17643:18;;17636:34;;;17706:3;17701:2;17686:18;;17679:31;;;17484:4;;17727:46;;17753:19;;17745:6;17727:46;:::i;:::-;17719:54;17290:489;-1:-1:-1;;;;;;17290:489:15:o;17784:249::-;17853:6;17906:2;17894:9;17885:7;17881:23;17877:32;17874:52;;;17922:1;17919;17912:12;17874:52;17954:9;17948:16;17973:30;17997:5;17973:30;:::i

Swarm Source

ipfs://0385f04779f50f8c42f55e5a25e4896721dccf14b2e0ac5ce10fe84976fcf470
Loading...
Loading
Loading...
Loading
[ 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.