ETH Price: $3,421.81 (+3.05%)

Token

ENS Maxis (ENSMAXIS)
 

Overview

Max Total Supply

10,000 ENSMAXIS

Holders

1,595

Market

Volume (24H)

0.0045 ETH

Min Price (24H)

$15.40 @ 0.004500 ETH

Max Price (24H)

$15.40 @ 0.004500 ETH

Other Info

Filtered by Token Holder
hern.eth
Balance
2 ENSMAXIS
0xef51c8be528fa9ad489fe06ab9f87bcb927bb4d2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

ENS Maxis is the first NFT collection that gives the diverse communities of ENS Domain holders a way to represent their love through their PFP and be a part of history.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ENSMaxis

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-09
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.15;

/* LookAtThisAwesomeContract.eth */
/* ENS Maxis Team */

// File erc721a/contracts/[email protected]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](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 erc721a/contracts/[email protected]

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

pragma solidity ^0.8.4;

/**
 * @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 {
    // Reference type for token approval.
    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();
        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();

        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 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an 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, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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.
     * 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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

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

        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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @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]`.
        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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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();
            } else {
                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();

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // 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`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

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

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

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

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

    /**
     * @dev 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();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

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

        _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();
        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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

// File @divergencetech/ethier/contracts/erc721/[email protected]

// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;

/**
@notice ERC721 extension that overrides the OpenZeppelin _baseURI() function to
return a prefix that can be set by the contract owner.
 */
contract BaseTokenURI is Ownable {
    /// @notice Base token URI used as a prefix by tokenURI().
    string public baseTokenURI;

    constructor(string memory _baseTokenURI) {
        setBaseTokenURI(_baseTokenURI);
    }

    /// @notice Sets the base token URI prefix.
    function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    /**
    @notice Concatenates and returns the base token URI and the token ID without
    any additional characters (e.g. a slash).
    @dev This requires that an inheriting contract that also inherits from OZ's
    ERC721 will have to override both contracts; although we could simply
    require that users implement their own _baseURI() as here, this can easily
    be forgotten and the current approach guides them with compiler errors. This
    favours the latter half of "APIs should be easy to use and hard to misuse"
    from https://www.infoq.com/articles/API-Design-Joshua-Bloch/.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return baseTokenURI;
    }
}

// File @divergencetech/ethier/contracts/utils/[email protected]

// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;

/**
@notice Provides monotonic increasing and decreasing values, similar to
OpenZeppelin's Counter but (a) limited in direction, and (b) allowing for steps
> 1.
 */
library Monotonic {
    /**
    @notice Holds a value that can only increase.
    @dev The internal value MUST NOT be accessed directly. Instead use current()
    and add().
     */
    struct Increaser {
        uint256 value;
    }

    /// @notice Returns the current value of the Increaser.
    function current(Increaser storage incr) internal view returns (uint256) {
        return incr.value;
    }

    /// @notice Adds x to the Increaser's value.
    function add(Increaser storage incr, uint256 x) internal {
        incr.value += x;
    }

    /**
    @notice Holds a value that can only decrease.
    @dev The internal value MUST NOT be accessed directly. Instead use current()
    and subtract().
     */
    struct Decreaser {
        uint256 value;
    }

    /// @notice Returns the current value of the Decreaser.
    function current(Decreaser storage decr) internal view returns (uint256) {
        return decr.value;
    }

    /// @notice Subtracts x from the Decreaser's value.
    function subtract(Decreaser storage decr, uint256 x) internal {
        decr.value -= x;
    }
}

// File @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File @divergencetech/ethier/contracts/utils/[email protected]

// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;

/// @notice A Pausable contract that can only be toggled by the Owner.
contract OwnerPausable is Ownable, Pausable {
    /// @notice Pauses the contract.
    function pause() public onlyOwner {
        Pausable._pause();
    }

    /// @notice Unpauses the contract.
    function unpause() public onlyOwner {
        Pausable._unpause();
    }
}

// File @openzeppelin/contracts/security/[email protected]

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/utils/math/[email protected]

// OpenZeppelin Contracts (last updated v4.7.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. It 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)`.
        // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
        // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
        // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
        // good first aproximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1;
        uint256 x = a;
        if (x >> 128 > 0) {
            x >>= 128;
            result <<= 64;
        }
        if (x >> 64 > 0) {
            x >>= 64;
            result <<= 32;
        }
        if (x >> 32 > 0) {
            x >>= 32;
            result <<= 16;
        }
        if (x >> 16 > 0) {
            x >>= 16;
            result <<= 8;
        }
        if (x >> 8 > 0) {
            x >>= 8;
            result <<= 4;
        }
        if (x >> 4 > 0) {
            x >>= 4;
            result <<= 2;
        }
        if (x >> 2 > 0) {
            result <<= 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) {
        uint256 result = sqrt(a);
        if (rounding == Rounding.Up && result * result < a) {
            result += 1;
        }
        return result;
    }
}

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

// File @divergencetech/ethier/contracts/sales/[email protected]

// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;



/**
@notice An abstract contract providing the _purchase() function to:
 - Enforce per-wallet / per-transaction limits
 - Calculate required cost, forwarding to a beneficiary, and refunding extra
 */
abstract contract Seller is OwnerPausable, ReentrancyGuard {
    using Address for address payable;
    using Monotonic for Monotonic.Increaser;
    using Strings for uint256;

    /**
    @dev Note that the address limits are vulnerable to wallet farming.
    @param maxPerAddress Unlimited if zero.
    @param maxPerTex Unlimited if zero.
    @param freeQuota Maximum number that can be purchased free of charge by
    the contract owner.
    @param reserveFreeQuota Whether to excplitly reserve the freeQuota amount
    and not let it be eroded by regular purchases.
    @param lockFreeQuota If true, calls to setSellerConfig() will ignore changes
    to freeQuota. Can be locked after initial setting, but not unlocked. This
    allows a contract owner to commit to a maximum number of reserved items.
    @param lockTotalInventory Similar to lockFreeQuota but applied to
    totalInventory.
    */
    struct SellerConfig {
        uint256 totalInventory;
        uint256 maxPerAddress;
        uint256 maxPerTx;
        uint248 freeQuota;
        bool reserveFreeQuota;
        bool lockFreeQuota;
        bool lockTotalInventory;
    }

    constructor(SellerConfig memory config, address payable _beneficiary) {
        setSellerConfig(config);
        setBeneficiary(_beneficiary);
    }

    /// @notice Configuration of purchase limits.
    SellerConfig public sellerConfig;

    /// @notice Sets the seller config.
    function setSellerConfig(SellerConfig memory config) public onlyOwner {
        require(
            config.totalInventory >= config.freeQuota,
            "Seller: excessive free quota"
        );
        require(
            config.totalInventory >= _totalSold.current(),
            "Seller: inventory < already sold"
        );
        require(
            config.freeQuota >= purchasedFreeOfCharge.current(),
            "Seller: free quota < already used"
        );

        // Overriding the in-memory fields before copying the whole struct, as
        // against writing individual fields, gives a greater guarantee of
        // correctness as the code is simpler to read.
        if (sellerConfig.lockTotalInventory) {
            config.lockTotalInventory = true;
            config.totalInventory = sellerConfig.totalInventory;
        }
        if (sellerConfig.lockFreeQuota) {
            config.lockFreeQuota = true;
            config.freeQuota = sellerConfig.freeQuota;
        }
        sellerConfig = config;
    }

    /// @notice Recipient of revenues.
    address payable public beneficiary;

    /// @notice Sets the recipient of revenues.
    function setBeneficiary(address payable _beneficiary) public onlyOwner {
        beneficiary = _beneficiary;
    }

    /**
    @dev Must return the current cost of a batch of items. This may be constant
    or, for example, decreasing for a Dutch auction or increasing for a bonding
    curve.
    @param n The number of items being purchased.
    @param metadata Arbitrary data, propagated by the call to _purchase() that
    can be used to charge different prices. This value is a uint256 instead of
    bytes as this allows simple passing of a set cost (see
    ArbitraryPriceSeller).
     */
    function cost(uint256 n, uint256 metadata)
        public
        view
        virtual
        returns (uint256);

    /**
    @dev Called by both _purchase() and purchaseFreeOfCharge() after all limits
    have been put in place; must perform all contract-specific sale logic, e.g.
    ERC721 minting. When _handlePurchase() is called, the value returned by
    Seller.totalSold() will be the POST-purchase amount to allow for the
    checks-effects-interactions (ECI) pattern as _handlePurchase() may include
    an interaction. _handlePurchase() MUST itself implement the CEI pattern.
    @param to The recipient of the item(s).
    @param n The number of items allowed to be purchased, which MAY be less than
    to the number passed to _purchase() but SHALL be greater than zero.
    @param freeOfCharge Indicates that the call originated from
    purchaseFreeOfCharge() and not _purchase().
    */
    function _handlePurchase(
        address to,
        uint256 n,
        bool freeOfCharge
    ) internal virtual;

    /**
    @notice Tracks total number of items sold by this contract, including those
    purchased free of charge by the contract owner.
     */
    Monotonic.Increaser private _totalSold;

    /// @notice Returns the total number of items sold by this contract.
    function totalSold() public view returns (uint256) {
        return _totalSold.current();
    }

    /**
    @notice Tracks the number of items already bought by an address, regardless
    of transferring out (in the case of ERC721).
    @dev This isn't public as it may be skewed due to differences in msg.sender
    and tx.origin, which it treats in the same way such that
    sum(_bought)>=totalSold().
     */
    mapping(address => uint256) private _bought;

    /**
    @notice Returns min(n, max(extra items addr can purchase)) and reverts if 0.
    @param zeroMsg The message with which to revert on 0 extra.
     */
    function _capExtra(
        uint256 n,
        address addr,
        string memory zeroMsg
    ) internal view returns (uint256) {
        uint256 extra = sellerConfig.maxPerAddress - _bought[addr];
        if (extra == 0) {
            revert(string(abi.encodePacked("Seller: ", zeroMsg)));
        }
        return Math.min(n, extra);
    }

    /// @notice Emitted when a buyer is refunded.
    event Refund(address indexed buyer, uint256 amount);

    /// @notice Emitted on all purchases of non-zero amount.
    event Revenue(
        address indexed beneficiary,
        uint256 numPurchased,
        uint256 amount
    );

    /// @notice Tracks number of items purchased free of charge.
    Monotonic.Increaser private purchasedFreeOfCharge;

    /**
    @notice Allows the contract owner to purchase without payment, within the
    quota enforced by the SellerConfig.
     */
    function purchaseFreeOfCharge(address to, uint256 n)
        public
        onlyOwner
        whenNotPaused
    {
        /**
         * ##### CHECKS
         */

        uint256 freeQuota = sellerConfig.freeQuota;
        n = Math.min(n, freeQuota - purchasedFreeOfCharge.current());
        require(n > 0, "Seller: Free quota exceeded");

        uint256 totalInventory = sellerConfig.totalInventory;
        n = Math.min(n, totalInventory - _totalSold.current());
        require(n > 0, "Seller: Sold out");

        /**
         * ##### EFFECTS
         */
        _totalSold.add(n);
        purchasedFreeOfCharge.add(n);

        /**
         * ##### INTERACTIONS
         */
        _handlePurchase(to, n, true);
        assert(_totalSold.current() <= totalInventory);
        assert(purchasedFreeOfCharge.current() <= freeQuota);
    }

    /**
    @notice Convenience function for calling _purchase() with empty costMetadata
    when unneeded.
     */
    function _purchase(address to, uint256 requested) internal virtual {
        _purchase(to, requested, 0);
    }

    /**
    @notice Enforces all purchase limits (counts and costs) before calling
    _handlePurchase(), after which the received funds are disbursed to the
    beneficiary, less any required refunds.
    @param to The final recipient of the item(s).
    @param requested The number of items requested for purchase, which MAY be
    reduced when passed to _handlePurchase().
    @param costMetadata Arbitrary data, propagated in the call to cost(), to be
    optionally used in determining the price.
     */
    function _purchase(
        address to,
        uint256 requested,
        uint256 costMetadata
    ) internal nonReentrant whenNotPaused {
        /**
         * ##### CHECKS
         */
        SellerConfig memory config = sellerConfig;

        uint256 n = config.maxPerTx == 0
            ? requested
            : Math.min(requested, config.maxPerTx);

        uint256 maxAvailable;
        uint256 sold;

        if (config.reserveFreeQuota) {
            maxAvailable = config.totalInventory - config.freeQuota;
            sold = _totalSold.current() - purchasedFreeOfCharge.current();
        } else {
            maxAvailable = config.totalInventory;
            sold = _totalSold.current();
        }

        n = Math.min(n, maxAvailable - sold);
        require(n > 0, "Seller: Sold out");

        if (config.maxPerAddress > 0) {
            bool alsoLimitSender = _msgSender() != to;
            // solhint-disable-next-line avoid-tx-origin
            bool alsoLimitOrigin = tx.origin != _msgSender() && tx.origin != to;

            n = _capExtra(n, to, "Buyer limit");
            if (alsoLimitSender) {
                n = _capExtra(n, _msgSender(), "Sender limit");
            }
            if (alsoLimitOrigin) {
                // solhint-disable-next-line avoid-tx-origin
                n = _capExtra(n, tx.origin, "Origin limit");
            }

            _bought[to] += n;
            if (alsoLimitSender) {
                _bought[_msgSender()] += n;
            }
            if (alsoLimitOrigin) {
                // solhint-disable-next-line avoid-tx-origin
                _bought[tx.origin] += n;
            }
        }

        uint256 _cost = cost(n, costMetadata);
        if (msg.value < _cost) {
            revert(
                string(
                    abi.encodePacked(
                        "Seller: Costs ",
                        (_cost / 1e9).toString(),
                        " GWei"
                    )
                )
            );
        }

        /**
         * ##### EFFECTS
         */
        _totalSold.add(n);
        assert(_totalSold.current() <= config.totalInventory);

        /**
         * ##### INTERACTIONS
         */

        // As _handlePurchase() is often an ERC721 safeMint(), it constitutes an
        // interaction.
        _handlePurchase(to, n, false);

        // Ideally we'd be using a PullPayment here, but the user experience is
        // poor when there's a variable cost or the number of items purchased
        // has been capped. We've addressed reentrancy with both a nonReentrant
        // modifier and the checks, effects, interactions pattern.

        if (_cost > 0) {
            beneficiary.sendValue(_cost);
            emit Revenue(beneficiary, n, _cost);
        }

        if (msg.value > _cost) {
            address payable reimburse = payable(_msgSender());
            uint256 refund = msg.value - _cost;

            // Using Address.sendValue() here would mask the revertMsg upon
            // reentrancy, but we want to expose it to allow for more precise
            // testing. This otherwise uses the exact same pattern as
            // Address.sendValue().
            // solhint-disable-next-line avoid-low-level-calls
            (bool success, bytes memory returnData) = reimburse.call{
                value: refund
            }("");
            // Although `returnData` will have a spurious prefix, all we really
            // care about is that it contains the ReentrancyGuard reversion
            // message so we can check in the tests.
            require(success, string(returnData));

            emit Refund(reimburse, refund);
        }
    }
}

// File @divergencetech/ethier/contracts/sales/[email protected]

// Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier)
pragma solidity >=0.8.0 <0.9.0;

/// @notice A Seller with fixed per-item price.
abstract contract FixedPriceSeller is Seller {
    constructor(
        uint256 _price,
        Seller.SellerConfig memory sellerConfig,
        address payable _beneficiary
    ) Seller(sellerConfig, _beneficiary) {
        setPrice(_price);
    }

    /**
    @notice The fixed per-item price.
    @dev Fixed as in not changing with time nor number of items, but not a
    constant.
     */
    uint256 public price;

    /// @notice Sets the per-item price.
    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    /**
    @notice Override of Seller.cost() with fixed price.
    @dev The second parameter, metadata propagated from the call to _purchase(),
    is ignored.
     */
    function cost(uint256 n, uint256) public view override returns (uint256) {
        return n * price;
    }
}

// File @openzeppelin/contracts/access/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File @openzeppelin/contracts/access/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

// File @openzeppelin/contracts/utils/introspection/[email protected]

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

// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File @openzeppelin/contracts/utils/structs/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

// File contracts/ITokenURIGenerator.sol

pragma solidity 0.8.15;

interface ITokenURIGenerator {
  function tokenURI(uint256 tokenId) external pure returns(string memory);
}

// File contracts/ENSMaxis.sol

pragma solidity 0.8.15;

contract ENSMaxis is
  AccessControlEnumerable,
  ERC721A,
  BaseTokenURI,
  FixedPriceSeller
{
  ITokenURIGenerator public renderingContract;
  bool public isSaleOpen = false;

  constructor()
    ERC721A('ENS Maxis', 'ENSMAXIS')
    BaseTokenURI('')

    FixedPriceSeller(
      0 ether,

      Seller.SellerConfig({
        totalInventory: 10_000,
        lockTotalInventory: true,
        maxPerAddress: 1,
        maxPerTx: 1,
        freeQuota: 1_000,
        lockFreeQuota: true,
        reserveFreeQuota: true
      }),

      beneficiary
    )
  {
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
  }

  function _handlePurchase(
    address to,
    uint256 n,
    bool
  ) internal override {
    require(isSaleOpen, 'SALE_NOT_OPEN');
    _safeMint(to, n);
  }

  function AlexaRegisterTheGameIsOnDotETH() external onlyOwner {
    isSaleOpen = true;
  }

  function AlexaRegisterIAmAnOGMaxisDotETH(address to) external payable {
    require(isSaleOpen, 'SALE_NOT_OPEN');
    _purchase(to, 1);
  }

  function _baseURI()
    internal
    view
    override(BaseTokenURI, ERC721A)
    returns (string memory)
  {
    return BaseTokenURI._baseURI();
  }

  function setRenderingContract(ITokenURIGenerator _contract)
    external
    onlyOwner
  {
    renderingContract = _contract;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns(string memory)
  {
    if(address(renderingContract) != address(0)) {
      return renderingContract.tokenURI(tokenId);
    }

    return super.tokenURI(tokenId);
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"numPurchased","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Revenue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"AlexaRegisterIAmAnOGMaxisDotETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"AlexaRegisterTheGameIsOnDotETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"n","type":"uint256"}],"name":"purchaseFreeOfCharge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renderingContract","outputs":[{"internalType":"contract ITokenURIGenerator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellerConfig","outputs":[{"internalType":"uint256","name":"totalInventory","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint248","name":"freeQuota","type":"uint248"},{"internalType":"bool","name":"reserveFreeQuota","type":"bool"},{"internalType":"bool","name":"lockFreeQuota","type":"bool"},{"internalType":"bool","name":"lockTotalInventory","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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenURIGenerator","name":"_contract","type":"address"}],"name":"setRenderingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"totalInventory","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint248","name":"freeQuota","type":"uint248"},{"internalType":"bool","name":"reserveFreeQuota","type":"bool"},{"internalType":"bool","name":"lockFreeQuota","type":"bool"},{"internalType":"bool","name":"lockTotalInventory","type":"bool"}],"internalType":"struct Seller.SellerConfig","name":"config","type":"tuple"}],"name":"setSellerConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526018805460ff60a01b191690553480156200001e57600080fd5b506040805160e0810182526127108152600160208083018290528284018290526103e860608401526080830182905260a0830182905260c0830191909152601354835180830185526000808252855180870187526009815268454e53204d6178697360b81b8186015286518088019097526008875267454e534d4158495360c01b94870194909452946001600160a01b03909216928492849291906004620000c7838262000646565b506005620000d6828262000646565b5050600060025550620000e93362000140565b620000f48162000192565b50600c805460ff191690556001600d556200010f82620001ae565b6200011a81620003b0565b5062000128905083620003dc565b506200013a91506000905033620003eb565b62000712565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200019c6200042e565b600b620001aa828262000646565b5050565b620001b86200042e565b80606001516001600160f81b0316816000015110156200021f5760405162461bcd60e51b815260206004820152601c60248201527f53656c6c65723a2065786365737369766520667265652071756f74610000000060448201526064015b60405180910390fd5b6200023660146200048c60201b620017691760201c565b81511015620002885760405162461bcd60e51b815260206004820181905260248201527f53656c6c65723a20696e76656e746f7279203c20616c726561647920736f6c64604482015260640162000216565b6200029f60166200048c60201b620017691760201c565b81606001516001600160f81b03161015620003075760405162461bcd60e51b815260206004820152602160248201527f53656c6c65723a20667265652071756f7461203c20616c7265616479207573656044820152601960fa1b606482015260840162000216565b601254610100900460ff16156200032557600160c0820152600e5481525b60125460ff16156200034a57600160a08201526011546001600160f81b031660608201525b8051600e556020810151600f556040810151601055606081015160808201511515600160f81b026001600160f81b039091161760115560a08101516012805460c09093015115156101000261ff00199215159290921661ffff1990931692909217179055565b620003ba6200042e565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b620003e66200042e565b601755565b6200040282826200049060201b6200176d1760201c565b6000828152600160209081526040909120620004299183906200180b62000530821b17901c565b505050565b600a546001600160a01b031633146200048a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000216565b565b5490565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001aa576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620004ec3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000547836001600160a01b03841662000550565b90505b92915050565b600081815260018301602052604081205462000599575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200054a565b5060006200054a565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005cd57607f821691505b602082108103620005ee57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042957600081815260208120601f850160051c810160208610156200061d5750805b601f850160051c820191505b818110156200063e5782815560010162000629565b505050505050565b81516001600160401b03811115620006625762000662620005a2565b6200067a81620006738454620005b8565b84620005f4565b602080601f831160018114620006b25760008415620006995750858301515b600019600386901b1c1916600185901b1785556200063e565b600085815260208120601f198616915b82811015620006e357888601518255948401946001909101908401620006c2565b5085821015620007025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61373f80620007226000396000f3fe6080604052600436106102e75760003560e01c8063715018a611610184578063b7f1d072116100d6578063c87b56dd1161008a578063d547cfb711610064578063d547cfb7146108cf578063e985e9c5146108e4578063f2fde38b1461092d57600080fd5b8063c87b56dd1461086f578063ca15c8731461088f578063d547741f146108af57600080fd5b8063bb69b7ef116100bb578063bb69b7ef14610758578063bf62e21d1461082f578063c7fecbcc1461084f57600080fd5b8063b7f1d07214610718578063b88d4fde1461073857600080fd5b806391b7f5ed11610138578063a035b1fe11610112578063a035b1fe146106cd578063a217fddf146106e3578063a22cb465146106f857600080fd5b806391b7f5ed1461065457806391d148541461067457806395d89b41146106b857600080fd5b80638da5cb5b116101695780638da5cb5b146106015780639010d07c1461061f5780639106d7ba1461063f57600080fd5b8063715018a6146105d75780638456cb59146105ec57600080fd5b806330176e131161023d57806342842e0e116101f15780635c975abb116101cb5780635c975abb1461057f5780636352211e1461059757806370a08231146105b757600080fd5b806342842e0e146105375780634e2bf914146105575780634fea38be1461056a57600080fd5b806338af3eed1161022257806338af3eed146104e25780633ec02e14146105025780633f4ba83a1461052257600080fd5b806330176e13146104a257806336568abe146104c257600080fd5b80631a0813301161029f578063248a9ca311610279578063248a9ca3146104325780632f274bd4146104625780632f2ff15d1461048257600080fd5b80631a081330146103c05780631c31f710146103f257806323b872dd1461041257600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b31461037b57806318160ddd1461039d57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612d91565b61094d565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661095e565b6040516103189190612e06565b34801561034f57600080fd5b5061036361035e366004612e19565b6109f0565b6040516001600160a01b039091168152602001610318565b34801561038757600080fd5b5061039b610396366004612e47565b610a4d565b005b3480156103a957600080fd5b50600354600254035b604051908152602001610318565b3480156103cc57600080fd5b5060185461030c9074010000000000000000000000000000000000000000900460ff1681565b3480156103fe57600080fd5b5061039b61040d366004612e73565b610b1e565b34801561041e57600080fd5b5061039b61042d366004612e90565b610b60565b34801561043e57600080fd5b506103b261044d366004612e19565b60009081526020819052604090206001015490565b34801561046e57600080fd5b5061039b61047d366004612f6f565b610d77565b34801561048e57600080fd5b5061039b61049d366004613012565b61101a565b3480156104ae57600080fd5b5061039b6104bd3660046130a8565b611044565b3480156104ce57600080fd5b5061039b6104dd366004613012565b61105c565b3480156104ee57600080fd5b50601354610363906001600160a01b031681565b34801561050e57600080fd5b506103b261051d3660046130f1565b6110e4565b34801561052e57600080fd5b5061039b6110fb565b34801561054357600080fd5b5061039b610552366004612e90565b61110d565b61039b610565366004612e73565b611128565b34801561057657600080fd5b5061039b6111a0565b34801561058b57600080fd5b50600c5460ff1661030c565b3480156105a357600080fd5b506103636105b2366004612e19565b6111e9565b3480156105c357600080fd5b506103b26105d2366004612e73565b6111f4565b3480156105e357600080fd5b5061039b61125c565b3480156105f857600080fd5b5061039b61126e565b34801561060d57600080fd5b50600a546001600160a01b0316610363565b34801561062b57600080fd5b5061036361063a3660046130f1565b61127e565b34801561064b57600080fd5b506103b2611296565b34801561066057600080fd5b5061039b61066f366004612e19565b6112a6565b34801561068057600080fd5b5061030c61068f366004613012565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156106c457600080fd5b506103366112b3565b3480156106d957600080fd5b506103b260175481565b3480156106ef57600080fd5b506103b2600081565b34801561070457600080fd5b5061039b610713366004613113565b6112c2565b34801561072457600080fd5b5061039b610733366004612e73565b611370565b34801561074457600080fd5b5061039b610753366004613148565b6113b2565b34801561076457600080fd5b50600e54600f546010546011546012546107d4949392917effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169160ff7f01000000000000000000000000000000000000000000000000000000000000009092048216918181169161010090041687565b604080519788526020880196909652948601939093527effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909116606085015215156080840152151560a0830152151560c082015260e001610318565b34801561083b57600080fd5b5061039b61084a366004612e47565b611415565b34801561085b57600080fd5b50601854610363906001600160a01b031681565b34801561087b57600080fd5b5061033661088a366004612e19565b61156b565b34801561089b57600080fd5b506103b26108aa366004612e19565b611612565b3480156108bb57600080fd5b5061039b6108ca366004613012565b611629565b3480156108db57600080fd5b5061033661164e565b3480156108f057600080fd5b5061030c6108ff3660046131c8565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561093957600080fd5b5061039b610948366004612e73565b6116dc565b600061095882611820565b92915050565b60606004805461096d906131f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610999906131f6565b80156109e65780601f106109bb576101008083540402835291602001916109e6565b820191906000526020600020905b8154815290600101906020018083116109c957829003601f168201915b5050505050905090565b60006109fb82611901565b610a31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610a58826111e9565b9050336001600160a01b03821614610aaa57610a7481336108ff565b610aaa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526008602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b26611942565b601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610b6b8261199c565b9050836001600160a01b0316816001600160a01b031614610bb8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610c1e57610be886336108ff565b610c1e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610c5e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610c6957600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600660205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610d2d57600184016000818152600660205260408120549003610d2b576002548114610d2b5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d7f611942565b80606001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681600001511015610dfd5760405162461bcd60e51b815260206004820152601c60248201527f53656c6c65723a2065786365737369766520667265652071756f74610000000060448201526064015b60405180910390fd5b60145481511015610e505760405162461bcd60e51b815260206004820181905260248201527f53656c6c65723a20696e76656e746f7279203c20616c726561647920736f6c646044820152606401610df4565b60165481606001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff161015610eed5760405162461bcd60e51b815260206004820152602160248201527f53656c6c65723a20667265652071756f7461203c20616c72656164792075736560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610df4565b601254610100900460ff1615610f0a57600160c0820152600e5481525b60125460ff1615610f4657600160a08201526011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1660608201525b8051600e556020810151600f5560408101516010556060810151608082015115157f0100000000000000000000000000000000000000000000000000000000000000027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091161760115560a08101516012805460c0909301511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090931692909217179055565b60008281526020819052604090206001015461103581611a35565b61103f8383611a3f565b505050565b61104c611942565b600b611058828261328f565b5050565b6001600160a01b03811633146110da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610df4565b6110588282611a61565b6000601754836110f4919061337e565b9392505050565b611103611942565b61110b611a83565b565b61103f838383604051806020016040528060008152506113b2565b60185474010000000000000000000000000000000000000000900460ff166111925760405162461bcd60e51b815260206004820152600d60248201527f53414c455f4e4f545f4f50454e000000000000000000000000000000000000006044820152606401610df4565b61119d816001611ad5565b50565b6111a8611942565b601880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60006109588261199c565b60006001600160a01b038216611236576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b611264611942565b61110b6000611ae1565b611276611942565b61110b611b4b565b60008281526001602052604081206110f49083611b88565b60006112a160145490565b905090565b6112ae611942565b601755565b60606005805461096d906131f6565b336001600160a01b03831603611304576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611378611942565b601880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6113bd848484610b60565b6001600160a01b0383163b1561140f576113d984848484611b94565b61140f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61141d611942565b611425611ce3565b6011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff166114658261145660165490565b611460908461339d565b611d36565b9150600082116114b75760405162461bcd60e51b815260206004820152601b60248201527f53656c6c65723a20467265652071756f746120657863656564656400000000006044820152606401610df4565b600e546114c78361145660145490565b9250600083116115195760405162461bcd60e51b815260206004820152601060248201527f53656c6c65723a20536f6c64206f7574000000000000000000000000000000006044820152606401610df4565b611524601484611d4c565b61152f601684611d4c565b61153b84846001611d69565b8061154560145490565b1115611553576115536133b4565b8161155d60165490565b111561140f5761140f6133b4565b6018546060906001600160a01b031615611609576018546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b039091169063c87b56dd90602401600060405180830381865afa1580156115e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261095891908101906133e3565b61095882611ddd565b600081815260016020526040812061095890611e79565b60008281526020819052604090206001015461164481611a35565b61103f8383611a61565b600b805461165b906131f6565b80601f0160208091040260200160405190810160405280929190818152602001828054611687906131f6565b80156116d45780601f106116a9576101008083540402835291602001916116d4565b820191906000526020600020905b8154815290600101906020018083116116b757829003601f168201915b505050505081565b6116e4611942565b6001600160a01b0381166117605760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610df4565b61119d81611ae1565b5490565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16611058576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556117c73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006110f4836001600160a01b038416611e83565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806118b357507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806109585750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b6000600254821080156109585750506000908152600660205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600a546001600160a01b0316331461110b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610df4565b600081600254811015611a0357600081815260066020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611a01575b806000036110f45750600019016000818152600660205260409020546119e0565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61119d8133611ed2565b611a49828261176d565b600082815260016020526040902061103f908261180b565b611a6b8282611f50565b600082815260016020526040902061103f9082611fcf565b611a8b611fe4565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61105882826000612036565b600a80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611b53611ce3565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ab83390565b60006110f48383612558565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290611be2903390899088908890600401613451565b6020604051808303816000875af1925050508015611c1d575060408051601f3d908101601f19168201909252611c1a9181019061348d565b60015b611c94573d808015611c4b576040519150601f19603f3d011682016040523d82523d6000602084013e611c50565b606091505b508051600003611c8c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b600c5460ff161561110b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610df4565b6000818310611d4557816110f4565b5090919050565b80826000016000828254611d6091906134aa565b90915550505050565b60185474010000000000000000000000000000000000000000900460ff16611dd35760405162461bcd60e51b815260206004820152600d60248201527f53414c455f4e4f545f4f50454e000000000000000000000000000000000000006044820152606401610df4565b61103f8383612582565b6060611de882611901565b611e1e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e2861259c565b90508051600003611e4857604051806020016040528060008152506110f4565b80611e52846125a6565b604051602001611e639291906134c2565b6040516020818303038152906040529392505050565b6000610958825490565b6000818152600183016020526040812054611eca57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610958565b506000610958565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661105857611f0e816001600160a01b031660146125de565b611f198360206125de565b604051602001611f2a9291906134f1565b60408051601f198184030181529082905262461bcd60e51b8252610df491600401612e06565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615611058576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006110f4836001600160a01b038416612807565b600c5460ff1661110b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610df4565b6002600d54036120885760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610df4565b6002600d55612095611ce3565b6040805160e081018252600e548152600f5460208201526010549181018290526011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116606083015260ff7f0100000000000000000000000000000000000000000000000000000000000000909104811615156080830152601254808216151560a0840152610100900416151560c082015290600090156121445761213f848360400151611d36565b612146565b835b90506000808360800151156121a65760608401518451612187917effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff169061339d565b915061219260165490565b60145461219f919061339d565b90506121b6565b835191506121b360145490565b90505b6121c483611460838561339d565b9250600083116122165760405162461bcd60e51b815260206004820152601060248201527f53656c6c65723a20536f6c64206f7574000000000000000000000000000000006044820152606401610df4565b6020840151156123a657336001600160a01b03881681141590600090321480159061224a5750326001600160a01b038a1614155b905061228c858a6040518060400160405280600b81526020017f4275796572206c696d69740000000000000000000000000000000000000000008152506128fa565b945081156122d7576122d485336040518060400160405280600c81526020017f53656e646572206c696d697400000000000000000000000000000000000000008152506128fa565b94505b80156123205761231d85326040518060400160405280600c81526020017f4f726967696e206c696d697400000000000000000000000000000000000000008152506128fa565b94505b6001600160a01b038916600090815260156020526040812080548792906123489084906134aa565b909155505081156123785733600090815260156020526040812080548792906123729084906134aa565b90915550505b80156123a357326000908152601560205260408120805487929061239d9084906134aa565b90915550505b50505b60006123b284876110e4565b9050803410156123e2576123d26123cd633b9aca00836135a1565b61294f565b604051602001611f2a91906135b5565b6123ed601485611d4c565b84516014541115612400576124006133b4565b61240c88856000611d69565b801561247157601354612428906001600160a01b031682612a84565b60135460408051868152602081018490526001600160a01b03909216917f01f51b99bd1c3cca301836178e5dee13aadfe44eff06dc3ddcbf3c9d058454f8910160405180910390a25b8034111561254957336000612486833461339d565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d80600081146124d6576040519150601f19603f3d011682016040523d82523d6000602084013e6124db565b606091505b50915091508181906125005760405162461bcd60e51b8152600401610df49190612e06565b50836001600160a01b03167fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d8460405161253c91815260200190565b60405180910390a2505050505b50506001600d55505050505050565b600082600001828154811061256f5761256f613621565b9060005260206000200154905092915050565b611058828260405180602001604052806000815250612b9d565b60606112a1612c23565b604080516080019081905280825b600183039250600a81066030018353600a9004806125b45750819003601f19909101908152919050565b606060006125ed83600261337e565b6125f89060026134aa565b67ffffffffffffffff81111561261057612610612ed1565b6040519080825280601f01601f19166020018201604052801561263a576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061267157612671613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106126d4576126d4613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061271084600261337e565b61271b9060016134aa565b90505b60018111156127b8577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061275c5761275c613621565b1a60f81b82828151811061277257612772613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936127b181613650565b905061271e565b5083156110f45760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610df4565b600081815260018301602052604081205480156128f057600061282b60018361339d565b855490915060009061283f9060019061339d565b90508181146128a457600086600001828154811061285f5761285f613621565b906000526020600020015490508087600001848154811061288257612882613621565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806128b5576128b5613667565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610958565b6000915050610958565b6001600160a01b038216600090815260156020526040812054600f5482916129219161339d565b90508060000361293c5782604051602001611f2a9190613696565b6129468582611d36565b95945050505050565b60608160000361299257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156129bc57806129a6816136db565b91506129b59050600a836135a1565b9150612996565b60008167ffffffffffffffff8111156129d7576129d7612ed1565b6040519080825280601f01601f191660200182016040528015612a01576020820181803683370190505b5090505b8415611cdb57612a1660018361339d565b9150612a23600a866136f5565b612a2e9060306134aa565b60f81b818381518110612a4357612a43613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612a7d600a866135a1565b9450612a05565b80471015612ad45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610df4565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b21576040519150601f19603f3d011682016040523d82523d6000602084013e612b26565b606091505b505090508061103f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610df4565b612ba78383612c32565b6001600160a01b0383163b1561103f576002548281035b612bd16000868380600101945086611b94565b612c07576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612bbe578160025414612c1c57600080fd5b5050505050565b6060600b805461096d906131f6565b6002546000829003612c70576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526007602090815260408083208054680100000000000000018802019055848352600690915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612d1f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612ce7565b5081600003612d5a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025550505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119d57600080fd5b600060208284031215612da357600080fd5b81356110f481612d63565b60005b83811015612dc9578181015183820152602001612db1565b8381111561140f5750506000910152565b60008151808452612df2816020860160208601612dae565b601f01601f19169290920160200192915050565b6020815260006110f46020830184612dda565b600060208284031215612e2b57600080fd5b5035919050565b6001600160a01b038116811461119d57600080fd5b60008060408385031215612e5a57600080fd5b8235612e6581612e32565b946020939093013593505050565b600060208284031215612e8557600080fd5b81356110f481612e32565b600080600060608486031215612ea557600080fd5b8335612eb081612e32565b92506020840135612ec081612e32565b929592945050506040919091013590565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715612f2357612f23612ed1565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f5257612f52612ed1565b604052919050565b80358015158114612f6a57600080fd5b919050565b600060e08284031215612f8157600080fd5b612f89612f00565b82358152602083013560208201526040830135604082015260608301357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114612fd357600080fd5b6060820152612fe460808401612f5a565b6080820152612ff560a08401612f5a565b60a082015261300660c08401612f5a565b60c08201529392505050565b6000806040838503121561302557600080fd5b82359150602083013561303781612e32565b809150509250929050565b600067ffffffffffffffff82111561305c5761305c612ed1565b50601f01601f191660200190565b600061307d61307884613042565b612f29565b905082815283838301111561309157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156130ba57600080fd5b813567ffffffffffffffff8111156130d157600080fd5b8201601f810184136130e257600080fd5b611cdb8482356020840161306a565b6000806040838503121561310457600080fd5b50508035926020909101359150565b6000806040838503121561312657600080fd5b823561313181612e32565b915061313f60208401612f5a565b90509250929050565b6000806000806080858703121561315e57600080fd5b843561316981612e32565b9350602085013561317981612e32565b925060408501359150606085013567ffffffffffffffff81111561319c57600080fd5b8501601f810187136131ad57600080fd5b6131bc8782356020840161306a565b91505092959194509250565b600080604083850312156131db57600080fd5b82356131e681612e32565b9150602083013561303781612e32565b600181811c9082168061320a57607f821691505b602082108103613243577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561103f57600081815260208120601f850160051c810160208610156132705750805b601f850160051c820191505b81811015610d6f5782815560010161327c565b815167ffffffffffffffff8111156132a9576132a9612ed1565b6132bd816132b784546131f6565b84613249565b602080601f8311600181146132f257600084156132da5750858301515b600019600386901b1c1916600185901b178555610d6f565b600085815260208120601f198616915b8281101561332157888601518255948401946001909101908401613302565b508582101561333f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160001904831182151516156133985761339861334f565b500290565b6000828210156133af576133af61334f565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000602082840312156133f557600080fd5b815167ffffffffffffffff81111561340c57600080fd5b8201601f8101841361341d57600080fd5b805161342b61307882613042565b81815285602083850101111561344057600080fd5b612946826020830160208601612dae565b60006001600160a01b038087168352808616602084015250836040830152608060608301526134836080830184612dda565b9695505050505050565b60006020828403121561349f57600080fd5b81516110f481612d63565b600082198211156134bd576134bd61334f565b500190565b600083516134d4818460208801612dae565b8351908301906134e8818360208801612dae565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613529816017850160208801612dae565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613566816028840160208801612dae565b01602801949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826135b0576135b0613572565b500490565b7f53656c6c65723a20436f737473200000000000000000000000000000000000008152600082516135ed81600e850160208701612dae565b7f2047576569000000000000000000000000000000000000000000000000000000600e939091019283015250601301919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008161365f5761365f61334f565b506000190190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f53656c6c65723a200000000000000000000000000000000000000000000000008152600082516136ce816008850160208701612dae565b9190910160080192915050565b600060001982036136ee576136ee61334f565b5060010190565b60008261370457613704613572565b50069056fea264697066735822122060fa5a2635b4d8e53e3c64b60f423575b6d5d32cee70e8346c4aba100cb790f464736f6c634300080f0033

Deployed Bytecode

0x6080604052600436106102e75760003560e01c8063715018a611610184578063b7f1d072116100d6578063c87b56dd1161008a578063d547cfb711610064578063d547cfb7146108cf578063e985e9c5146108e4578063f2fde38b1461092d57600080fd5b8063c87b56dd1461086f578063ca15c8731461088f578063d547741f146108af57600080fd5b8063bb69b7ef116100bb578063bb69b7ef14610758578063bf62e21d1461082f578063c7fecbcc1461084f57600080fd5b8063b7f1d07214610718578063b88d4fde1461073857600080fd5b806391b7f5ed11610138578063a035b1fe11610112578063a035b1fe146106cd578063a217fddf146106e3578063a22cb465146106f857600080fd5b806391b7f5ed1461065457806391d148541461067457806395d89b41146106b857600080fd5b80638da5cb5b116101695780638da5cb5b146106015780639010d07c1461061f5780639106d7ba1461063f57600080fd5b8063715018a6146105d75780638456cb59146105ec57600080fd5b806330176e131161023d57806342842e0e116101f15780635c975abb116101cb5780635c975abb1461057f5780636352211e1461059757806370a08231146105b757600080fd5b806342842e0e146105375780634e2bf914146105575780634fea38be1461056a57600080fd5b806338af3eed1161022257806338af3eed146104e25780633ec02e14146105025780633f4ba83a1461052257600080fd5b806330176e13146104a257806336568abe146104c257600080fd5b80631a0813301161029f578063248a9ca311610279578063248a9ca3146104325780632f274bd4146104625780632f2ff15d1461048257600080fd5b80631a081330146103c05780631c31f710146103f257806323b872dd1461041257600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b31461037b57806318160ddd1461039d57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612d91565b61094d565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661095e565b6040516103189190612e06565b34801561034f57600080fd5b5061036361035e366004612e19565b6109f0565b6040516001600160a01b039091168152602001610318565b34801561038757600080fd5b5061039b610396366004612e47565b610a4d565b005b3480156103a957600080fd5b50600354600254035b604051908152602001610318565b3480156103cc57600080fd5b5060185461030c9074010000000000000000000000000000000000000000900460ff1681565b3480156103fe57600080fd5b5061039b61040d366004612e73565b610b1e565b34801561041e57600080fd5b5061039b61042d366004612e90565b610b60565b34801561043e57600080fd5b506103b261044d366004612e19565b60009081526020819052604090206001015490565b34801561046e57600080fd5b5061039b61047d366004612f6f565b610d77565b34801561048e57600080fd5b5061039b61049d366004613012565b61101a565b3480156104ae57600080fd5b5061039b6104bd3660046130a8565b611044565b3480156104ce57600080fd5b5061039b6104dd366004613012565b61105c565b3480156104ee57600080fd5b50601354610363906001600160a01b031681565b34801561050e57600080fd5b506103b261051d3660046130f1565b6110e4565b34801561052e57600080fd5b5061039b6110fb565b34801561054357600080fd5b5061039b610552366004612e90565b61110d565b61039b610565366004612e73565b611128565b34801561057657600080fd5b5061039b6111a0565b34801561058b57600080fd5b50600c5460ff1661030c565b3480156105a357600080fd5b506103636105b2366004612e19565b6111e9565b3480156105c357600080fd5b506103b26105d2366004612e73565b6111f4565b3480156105e357600080fd5b5061039b61125c565b3480156105f857600080fd5b5061039b61126e565b34801561060d57600080fd5b50600a546001600160a01b0316610363565b34801561062b57600080fd5b5061036361063a3660046130f1565b61127e565b34801561064b57600080fd5b506103b2611296565b34801561066057600080fd5b5061039b61066f366004612e19565b6112a6565b34801561068057600080fd5b5061030c61068f366004613012565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156106c457600080fd5b506103366112b3565b3480156106d957600080fd5b506103b260175481565b3480156106ef57600080fd5b506103b2600081565b34801561070457600080fd5b5061039b610713366004613113565b6112c2565b34801561072457600080fd5b5061039b610733366004612e73565b611370565b34801561074457600080fd5b5061039b610753366004613148565b6113b2565b34801561076457600080fd5b50600e54600f546010546011546012546107d4949392917effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169160ff7f01000000000000000000000000000000000000000000000000000000000000009092048216918181169161010090041687565b604080519788526020880196909652948601939093527effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909116606085015215156080840152151560a0830152151560c082015260e001610318565b34801561083b57600080fd5b5061039b61084a366004612e47565b611415565b34801561085b57600080fd5b50601854610363906001600160a01b031681565b34801561087b57600080fd5b5061033661088a366004612e19565b61156b565b34801561089b57600080fd5b506103b26108aa366004612e19565b611612565b3480156108bb57600080fd5b5061039b6108ca366004613012565b611629565b3480156108db57600080fd5b5061033661164e565b3480156108f057600080fd5b5061030c6108ff3660046131c8565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b34801561093957600080fd5b5061039b610948366004612e73565b6116dc565b600061095882611820565b92915050565b60606004805461096d906131f6565b80601f0160208091040260200160405190810160405280929190818152602001828054610999906131f6565b80156109e65780601f106109bb576101008083540402835291602001916109e6565b820191906000526020600020905b8154815290600101906020018083116109c957829003601f168201915b5050505050905090565b60006109fb82611901565b610a31576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b6000610a58826111e9565b9050336001600160a01b03821614610aaa57610a7481336108ff565b610aaa576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526008602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b26611942565b601380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610b6b8261199c565b9050836001600160a01b0316816001600160a01b031614610bb8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610c1e57610be886336108ff565b610c1e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610c5e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610c6957600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600660205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610d2d57600184016000818152600660205260408120549003610d2b576002548114610d2b5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d7f611942565b80606001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1681600001511015610dfd5760405162461bcd60e51b815260206004820152601c60248201527f53656c6c65723a2065786365737369766520667265652071756f74610000000060448201526064015b60405180910390fd5b60145481511015610e505760405162461bcd60e51b815260206004820181905260248201527f53656c6c65723a20696e76656e746f7279203c20616c726561647920736f6c646044820152606401610df4565b60165481606001517effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff161015610eed5760405162461bcd60e51b815260206004820152602160248201527f53656c6c65723a20667265652071756f7461203c20616c72656164792075736560448201527f64000000000000000000000000000000000000000000000000000000000000006064820152608401610df4565b601254610100900460ff1615610f0a57600160c0820152600e5481525b60125460ff1615610f4657600160a08201526011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1660608201525b8051600e556020810151600f5560408101516010556060810151608082015115157f0100000000000000000000000000000000000000000000000000000000000000027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9091161760115560a08101516012805460c0909301511515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff921515929092167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000090931692909217179055565b60008281526020819052604090206001015461103581611a35565b61103f8383611a3f565b505050565b61104c611942565b600b611058828261328f565b5050565b6001600160a01b03811633146110da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610df4565b6110588282611a61565b6000601754836110f4919061337e565b9392505050565b611103611942565b61110b611a83565b565b61103f838383604051806020016040528060008152506113b2565b60185474010000000000000000000000000000000000000000900460ff166111925760405162461bcd60e51b815260206004820152600d60248201527f53414c455f4e4f545f4f50454e000000000000000000000000000000000000006044820152606401610df4565b61119d816001611ad5565b50565b6111a8611942565b601880547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60006109588261199c565b60006001600160a01b038216611236576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b611264611942565b61110b6000611ae1565b611276611942565b61110b611b4b565b60008281526001602052604081206110f49083611b88565b60006112a160145490565b905090565b6112ae611942565b601755565b60606005805461096d906131f6565b336001600160a01b03831603611304576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611378611942565b601880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6113bd848484610b60565b6001600160a01b0383163b1561140f576113d984848484611b94565b61140f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b61141d611942565b611425611ce3565b6011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff166114658261145660165490565b611460908461339d565b611d36565b9150600082116114b75760405162461bcd60e51b815260206004820152601b60248201527f53656c6c65723a20467265652071756f746120657863656564656400000000006044820152606401610df4565b600e546114c78361145660145490565b9250600083116115195760405162461bcd60e51b815260206004820152601060248201527f53656c6c65723a20536f6c64206f7574000000000000000000000000000000006044820152606401610df4565b611524601484611d4c565b61152f601684611d4c565b61153b84846001611d69565b8061154560145490565b1115611553576115536133b4565b8161155d60165490565b111561140f5761140f6133b4565b6018546060906001600160a01b031615611609576018546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b039091169063c87b56dd90602401600060405180830381865afa1580156115e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261095891908101906133e3565b61095882611ddd565b600081815260016020526040812061095890611e79565b60008281526020819052604090206001015461164481611a35565b61103f8383611a61565b600b805461165b906131f6565b80601f0160208091040260200160405190810160405280929190818152602001828054611687906131f6565b80156116d45780601f106116a9576101008083540402835291602001916116d4565b820191906000526020600020905b8154815290600101906020018083116116b757829003601f168201915b505050505081565b6116e4611942565b6001600160a01b0381166117605760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610df4565b61119d81611ae1565b5490565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16611058576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556117c73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006110f4836001600160a01b038416611e83565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806118b357507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b806109585750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b6000600254821080156109585750506000908152600660205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600a546001600160a01b0316331461110b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610df4565b600081600254811015611a0357600081815260066020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611a01575b806000036110f45750600019016000818152600660205260409020546119e0565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61119d8133611ed2565b611a49828261176d565b600082815260016020526040902061103f908261180b565b611a6b8282611f50565b600082815260016020526040902061103f9082611fcf565b611a8b611fe4565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61105882826000612036565b600a80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611b53611ce3565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ab83390565b60006110f48383612558565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290611be2903390899088908890600401613451565b6020604051808303816000875af1925050508015611c1d575060408051601f3d908101601f19168201909252611c1a9181019061348d565b60015b611c94573d808015611c4b576040519150601f19603f3d011682016040523d82523d6000602084013e611c50565b606091505b508051600003611c8c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b600c5460ff161561110b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610df4565b6000818310611d4557816110f4565b5090919050565b80826000016000828254611d6091906134aa565b90915550505050565b60185474010000000000000000000000000000000000000000900460ff16611dd35760405162461bcd60e51b815260206004820152600d60248201527f53414c455f4e4f545f4f50454e000000000000000000000000000000000000006044820152606401610df4565b61103f8383612582565b6060611de882611901565b611e1e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e2861259c565b90508051600003611e4857604051806020016040528060008152506110f4565b80611e52846125a6565b604051602001611e639291906134c2565b6040516020818303038152906040529392505050565b6000610958825490565b6000818152600183016020526040812054611eca57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610958565b506000610958565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661105857611f0e816001600160a01b031660146125de565b611f198360206125de565b604051602001611f2a9291906134f1565b60408051601f198184030181529082905262461bcd60e51b8252610df491600401612e06565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615611058576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006110f4836001600160a01b038416612807565b600c5460ff1661110b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610df4565b6002600d54036120885760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610df4565b6002600d55612095611ce3565b6040805160e081018252600e548152600f5460208201526010549181018290526011547effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8116606083015260ff7f0100000000000000000000000000000000000000000000000000000000000000909104811615156080830152601254808216151560a0840152610100900416151560c082015290600090156121445761213f848360400151611d36565b612146565b835b90506000808360800151156121a65760608401518451612187917effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff169061339d565b915061219260165490565b60145461219f919061339d565b90506121b6565b835191506121b360145490565b90505b6121c483611460838561339d565b9250600083116122165760405162461bcd60e51b815260206004820152601060248201527f53656c6c65723a20536f6c64206f7574000000000000000000000000000000006044820152606401610df4565b6020840151156123a657336001600160a01b03881681141590600090321480159061224a5750326001600160a01b038a1614155b905061228c858a6040518060400160405280600b81526020017f4275796572206c696d69740000000000000000000000000000000000000000008152506128fa565b945081156122d7576122d485336040518060400160405280600c81526020017f53656e646572206c696d697400000000000000000000000000000000000000008152506128fa565b94505b80156123205761231d85326040518060400160405280600c81526020017f4f726967696e206c696d697400000000000000000000000000000000000000008152506128fa565b94505b6001600160a01b038916600090815260156020526040812080548792906123489084906134aa565b909155505081156123785733600090815260156020526040812080548792906123729084906134aa565b90915550505b80156123a357326000908152601560205260408120805487929061239d9084906134aa565b90915550505b50505b60006123b284876110e4565b9050803410156123e2576123d26123cd633b9aca00836135a1565b61294f565b604051602001611f2a91906135b5565b6123ed601485611d4c565b84516014541115612400576124006133b4565b61240c88856000611d69565b801561247157601354612428906001600160a01b031682612a84565b60135460408051868152602081018490526001600160a01b03909216917f01f51b99bd1c3cca301836178e5dee13aadfe44eff06dc3ddcbf3c9d058454f8910160405180910390a25b8034111561254957336000612486833461339d565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d80600081146124d6576040519150601f19603f3d011682016040523d82523d6000602084013e6124db565b606091505b50915091508181906125005760405162461bcd60e51b8152600401610df49190612e06565b50836001600160a01b03167fbb28353e4598c3b9199101a66e0989549b659a59a54d2c27fbb183f1932c8e6d8460405161253c91815260200190565b60405180910390a2505050505b50506001600d55505050505050565b600082600001828154811061256f5761256f613621565b9060005260206000200154905092915050565b611058828260405180602001604052806000815250612b9d565b60606112a1612c23565b604080516080019081905280825b600183039250600a81066030018353600a9004806125b45750819003601f19909101908152919050565b606060006125ed83600261337e565b6125f89060026134aa565b67ffffffffffffffff81111561261057612610612ed1565b6040519080825280601f01601f19166020018201604052801561263a576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061267157612671613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106126d4576126d4613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061271084600261337e565b61271b9060016134aa565b90505b60018111156127b8577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061275c5761275c613621565b1a60f81b82828151811061277257612772613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936127b181613650565b905061271e565b5083156110f45760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610df4565b600081815260018301602052604081205480156128f057600061282b60018361339d565b855490915060009061283f9060019061339d565b90508181146128a457600086600001828154811061285f5761285f613621565b906000526020600020015490508087600001848154811061288257612882613621565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806128b5576128b5613667565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610958565b6000915050610958565b6001600160a01b038216600090815260156020526040812054600f5482916129219161339d565b90508060000361293c5782604051602001611f2a9190613696565b6129468582611d36565b95945050505050565b60608160000361299257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156129bc57806129a6816136db565b91506129b59050600a836135a1565b9150612996565b60008167ffffffffffffffff8111156129d7576129d7612ed1565b6040519080825280601f01601f191660200182016040528015612a01576020820181803683370190505b5090505b8415611cdb57612a1660018361339d565b9150612a23600a866136f5565b612a2e9060306134aa565b60f81b818381518110612a4357612a43613621565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612a7d600a866135a1565b9450612a05565b80471015612ad45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610df4565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b21576040519150601f19603f3d011682016040523d82523d6000602084013e612b26565b606091505b505090508061103f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610df4565b612ba78383612c32565b6001600160a01b0383163b1561103f576002548281035b612bd16000868380600101945086611b94565b612c07576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612bbe578160025414612c1c57600080fd5b5050505050565b6060600b805461096d906131f6565b6002546000829003612c70576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526007602090815260408083208054680100000000000000018802019055848352600690915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612d1f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612ce7565b5081600003612d5a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60025550505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119d57600080fd5b600060208284031215612da357600080fd5b81356110f481612d63565b60005b83811015612dc9578181015183820152602001612db1565b8381111561140f5750506000910152565b60008151808452612df2816020860160208601612dae565b601f01601f19169290920160200192915050565b6020815260006110f46020830184612dda565b600060208284031215612e2b57600080fd5b5035919050565b6001600160a01b038116811461119d57600080fd5b60008060408385031215612e5a57600080fd5b8235612e6581612e32565b946020939093013593505050565b600060208284031215612e8557600080fd5b81356110f481612e32565b600080600060608486031215612ea557600080fd5b8335612eb081612e32565b92506020840135612ec081612e32565b929592945050506040919091013590565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715612f2357612f23612ed1565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f5257612f52612ed1565b604052919050565b80358015158114612f6a57600080fd5b919050565b600060e08284031215612f8157600080fd5b612f89612f00565b82358152602083013560208201526040830135604082015260608301357effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81168114612fd357600080fd5b6060820152612fe460808401612f5a565b6080820152612ff560a08401612f5a565b60a082015261300660c08401612f5a565b60c08201529392505050565b6000806040838503121561302557600080fd5b82359150602083013561303781612e32565b809150509250929050565b600067ffffffffffffffff82111561305c5761305c612ed1565b50601f01601f191660200190565b600061307d61307884613042565b612f29565b905082815283838301111561309157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156130ba57600080fd5b813567ffffffffffffffff8111156130d157600080fd5b8201601f810184136130e257600080fd5b611cdb8482356020840161306a565b6000806040838503121561310457600080fd5b50508035926020909101359150565b6000806040838503121561312657600080fd5b823561313181612e32565b915061313f60208401612f5a565b90509250929050565b6000806000806080858703121561315e57600080fd5b843561316981612e32565b9350602085013561317981612e32565b925060408501359150606085013567ffffffffffffffff81111561319c57600080fd5b8501601f810187136131ad57600080fd5b6131bc8782356020840161306a565b91505092959194509250565b600080604083850312156131db57600080fd5b82356131e681612e32565b9150602083013561303781612e32565b600181811c9082168061320a57607f821691505b602082108103613243577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561103f57600081815260208120601f850160051c810160208610156132705750805b601f850160051c820191505b81811015610d6f5782815560010161327c565b815167ffffffffffffffff8111156132a9576132a9612ed1565b6132bd816132b784546131f6565b84613249565b602080601f8311600181146132f257600084156132da5750858301515b600019600386901b1c1916600185901b178555610d6f565b600085815260208120601f198616915b8281101561332157888601518255948401946001909101908401613302565b508582101561333f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160001904831182151516156133985761339861334f565b500290565b6000828210156133af576133af61334f565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000602082840312156133f557600080fd5b815167ffffffffffffffff81111561340c57600080fd5b8201601f8101841361341d57600080fd5b805161342b61307882613042565b81815285602083850101111561344057600080fd5b612946826020830160208601612dae565b60006001600160a01b038087168352808616602084015250836040830152608060608301526134836080830184612dda565b9695505050505050565b60006020828403121561349f57600080fd5b81516110f481612d63565b600082198211156134bd576134bd61334f565b500190565b600083516134d4818460208801612dae565b8351908301906134e8818360208801612dae565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613529816017850160208801612dae565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351613566816028840160208801612dae565b01602801949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826135b0576135b0613572565b500490565b7f53656c6c65723a20436f737473200000000000000000000000000000000000008152600082516135ed81600e850160208701612dae565b7f2047576569000000000000000000000000000000000000000000000000000000600e939091019283015250601301919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008161365f5761365f61334f565b506000190190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f53656c6c65723a200000000000000000000000000000000000000000000000008152600082516136ce816008850160208701612dae565b9190910160080192915050565b600060001982036136ee576136ee61334f565b5060010190565b60008261370457613704613572565b50069056fea264697066735822122060fa5a2635b4d8e53e3c64b60f423575b6d5d32cee70e8346c4aba100cb790f464736f6c634300080f0033

Deployed Bytecode Sourcemap

126925:1822:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;128549:195;;;;;;;;;;-1:-1:-1;128549:195:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;128549:195:0;;;;;;;;19389:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25872:218::-;;;;;;;;;;-1:-1:-1;25872:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:1;;;1779:74;;1767:2;1752:18;25872:218:0;1633:226:1;25313:400:0;;;;;;;;;;-1:-1:-1;25313:400:0;;;;;:::i;:::-;;:::i;:::-;;15140:323;;;;;;;;;;-1:-1:-1;15414:12:0;;15398:13;;:28;15140:323;;;2489:25:1;;;2477:2;2462:18;15140:323:0;2343:177:1;127077:30:0;;;;;;;;;;-1:-1:-1;127077:30:0;;;;;;;;;;;86614:116;;;;;;;;;;-1:-1:-1;86614:116:0;;;;;:::i;:::-;;:::i;29579:2817::-;;;;;;;;;;-1:-1:-1;29579:2817:0;;;;;:::i;:::-;;:::i;107345:131::-;;;;;;;;;;-1:-1:-1;107345:131:0;;;;;:::i;:::-;107419:7;107446:12;;;;;;;;;;:22;;;;107345:131;85413:1061;;;;;;;;;;-1:-1:-1;85413:1061:0;;;;;:::i;:::-;;:::i;107786:147::-;;;;;;;;;;-1:-1:-1;107786:147:0;;;;;:::i;:::-;;:::i;55098:118::-;;;;;;;;;;-1:-1:-1;55098:118:0;;;;;:::i;:::-;;:::i;108930:218::-;;;;;;;;;;-1:-1:-1;108930:218:0;;;;;:::i;:::-;;:::i;86522:34::-;;;;;;;;;;-1:-1:-1;86522:34:0;;;;-1:-1:-1;;;;;86522:34:0;;;96550:108;;;;;;;;;;-1:-1:-1;96550:108:0;;;;;:::i;:::-;;:::i;60568:74::-;;;;;;;;;;;;;:::i;32492:185::-;;;;;;;;;;-1:-1:-1;32492:185:0;;;;;:::i;:::-;;:::i;127836:142::-;;;;;;:::i;:::-;;:::i;127739:91::-;;;;;;;;;;;;;:::i;59119:86::-;;;;;;;;;;-1:-1:-1;59190:7:0;;;;59119:86;;20782:152;;;;;;;;;;-1:-1:-1;20782:152:0;;;;;:::i;:::-;;:::i;16324:233::-;;;;;;;;;;-1:-1:-1;16324:233:0;;;;;:::i;:::-;;:::i;53660:103::-;;;;;;;;;;;;;:::i;60450:70::-;;;;;;;;;;;;;:::i;53012:87::-;;;;;;;;;;-1:-1:-1;53085:6:0;;-1:-1:-1;;;;;53085:6:0;53012:87;;125674:153;;;;;;;;;;-1:-1:-1;125674:153:0;;;;;:::i;:::-;;:::i;88555:97::-;;;;;;;;;;;;;:::i;96284:84::-;;;;;;;;;;-1:-1:-1;96284:84:0;;;;;:::i;:::-;;:::i;105805:147::-;;;;;;;;;;-1:-1:-1;105805:147:0;;;;;:::i;:::-;105891:4;105915:12;;;;;;;;;;;-1:-1:-1;;;;;105915:29:0;;;;;;;;;;;;;;;105805:147;19565:104;;;;;;;;;;;;;:::i;96213:20::-;;;;;;;;;;;;;;;;104910:49;;;;;;;;;;-1:-1:-1;104910:49:0;104955:4;104910:49;;26430:308;;;;;;;;;;-1:-1:-1;26430:308:0;;;;;:::i;:::-;;:::i;128146:134::-;;;;;;;;;;-1:-1:-1;128146:134:0;;;;;:::i;:::-;;:::i;33275:399::-;;;;;;;;;;-1:-1:-1;33275:399:0;;;;;:::i;:::-;;:::i;85331:32::-;;;;;;;;;;-1:-1:-1;85331:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9487:25:1;;;9543:2;9528:18;;9521:34;;;;9571:18;;;9564:34;;;;9646:64;9634:77;;;9629:2;9614:18;;9607:105;9756:14;9749:22;9743:3;9728:19;;9721:51;9816:14;9809:22;9803:3;9788:19;;9781:51;9876:14;9869:22;9863:3;9848:19;;9841:51;9474:3;9459:19;85331:32:0;9190:708:1;90119:871:0;;;;;;;;;;-1:-1:-1;90119:871:0;;;;;:::i;:::-;;:::i;127029:43::-;;;;;;;;;;-1:-1:-1;127029:43:0;;;;-1:-1:-1;;;;;127029:43:0;;;128286:257;;;;;;;;;;-1:-1:-1;128286:257:0;;;;;:::i;:::-;;:::i;126001:142::-;;;;;;;;;;-1:-1:-1;126001:142:0;;;;;:::i;:::-;;:::i;108226:149::-;;;;;;;;;;-1:-1:-1;108226:149:0;;;;;:::i;:::-;;:::i;54916:26::-;;;;;;;;;;;;;:::i;26895:164::-;;;;;;;;;;-1:-1:-1;26895:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27016:25:0;;;26992:4;27016:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26895:164;53918:201;;;;;;;;;;-1:-1:-1;53918:201:0;;;;;:::i;:::-;;:::i;128549:195::-;128679:4;128702:36;128726:11;128702:23;:36::i;:::-;128695:43;128549:195;-1:-1:-1;;128549:195:0:o;19389:100::-;19443:13;19476:5;19469:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19389:100;:::o;25872:218::-;25948:7;25973:16;25981:7;25973;:16::i;:::-;25968:64;;25998:34;;;;;;;;;;;;;;25968:64;-1:-1:-1;26052:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26052:30:0;;25872:218::o;25313:400::-;25394:13;25410:16;25418:7;25410;:16::i;:::-;25394:32;-1:-1:-1;49170:10:0;-1:-1:-1;;;;;25443:28:0;;;25439:175;;25491:44;25508:5;49170:10;26895:164;:::i;25491:44::-;25486:128;;25563:35;;;;;;;;;;;;;;25486:128;25626:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;25626:35:0;;;;;;;;;25677:28;;25626:24;;25677:28;;;;;;;25383:330;25313:400;;:::o;86614:116::-;52898:13;:11;:13::i;:::-;86696:11:::1;:26:::0;;;::::1;-1:-1:-1::0;;;;;86696:26:0;;;::::1;::::0;;;::::1;::::0;;86614:116::o;29579:2817::-;29713:27;29743;29762:7;29743:18;:27::i;:::-;29713:57;;29828:4;-1:-1:-1;;;;;29787:45:0;29803:19;-1:-1:-1;;;;;29787:45:0;;29783:86;;29841:28;;;;;;;;;;;;;;29783:86;29883:27;28693:24;;;:15;:24;;;;;28915:26;;49170:10;28318:30;;;-1:-1:-1;;;;;28011:28:0;;28296:20;;;28293:56;30069:180;;30162:43;30179:4;49170:10;26895:164;:::i;30162:43::-;30157:92;;30214:35;;;;;;;;;;;;;;30157:92;-1:-1:-1;;;;;30266:16:0;;30262:52;;30291:23;;;;;;;;;;;;;;30262:52;30463:15;30460:160;;;30603:1;30582:19;30575:30;30460:160;-1:-1:-1;;;;;31000:24:0;;;;;;;:18;:24;;;;;;30998:26;;-1:-1:-1;;30998:26:0;;;31069:22;;;;;;;;;31067:24;;-1:-1:-1;31067:24:0;;;24171:11;24146:23;24142:41;24129:63;11539:8;24129:63;31362:26;;;;:17;:26;;;;;:175;;;;11539:8;31657:47;;:52;;31653:627;;31762:1;31752:11;;31730:19;31885:30;;;:17;:30;;;;;;:35;;31881:384;;32023:13;;32008:11;:28;32004:242;;32170:30;;;;:17;:30;;;;;:52;;;32004:242;31711:569;31653:627;32327:7;32323:2;-1:-1:-1;;;;;32308:27:0;32317:4;-1:-1:-1;;;;;32308:27:0;;;;;;;;;;;32346:42;29702:2694;;;29579:2817;;;:::o;85413:1061::-;52898:13;:11;:13::i;:::-;85541:6:::1;:16;;;85516:41;;:6;:21;;;:41;;85494:119;;;::::0;-1:-1:-1;;;85494:119:0;;11198:2:1;85494:119:0::1;::::0;::::1;11180:21:1::0;11237:2;11217:18;;;11210:30;11276;11256:18;;;11249:58;11324:18;;85494:119:0::1;;;;;;;;;85671:10;56702::::0;85646:21;;:45:::1;;85624:127;;;::::0;-1:-1:-1;;;85624:127:0;;11555:2:1;85624:127:0::1;::::0;::::1;11537:21:1::0;;;11574:18;;;11567:30;11633:34;11613:18;;;11606:62;11685:18;;85624:127:0::1;11353:356:1::0;85624:127:0::1;85804:21;56702:10:::0;85784:6:::1;:16;;;:51;;;;85762:134;;;::::0;-1:-1:-1;;;85762:134:0;;11916:2:1;85762:134:0::1;::::0;::::1;11898:21:1::0;11955:2;11935:18;;;11928:30;11994:34;11974:18;;;11967:62;12065:3;12045:18;;;12038:31;12086:19;;85762:134:0::1;11714:397:1::0;85762:134:0::1;86125:31:::0;;::::1;::::0;::::1;;;86121:162;;;86201:4;86173:25;::::0;::::1;:32:::0;86244:12:::1;:27:::0;86220:51;;86121:162:::1;86297:26:::0;;::::1;;86293:142;;;86363:4;86340:20;::::0;::::1;:27:::0;86401:22;;::::1;;86382:16;::::0;::::1;:41:::0;86293:142:::1;86445:21:::0;;:12:::1;:21:::0;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;;::::0;::::1;;::::0;;::::1;;::::0;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;;;;::::0;;::::1;;::::0;;;;;;;;;;;;::::1;::::0;;85413:1061::o;107786:147::-;107419:7;107446:12;;;;;;;;;;:22;;;105401:16;105412:4;105401:10;:16::i;:::-;107900:25:::1;107911:4;107917:7;107900:10;:25::i;:::-;107786:147:::0;;;:::o;55098:118::-;52898:13;:11;:13::i;:::-;55180:12:::1;:28;55195:13:::0;55180:12;:28:::1;:::i;:::-;;55098:118:::0;:::o;108930:218::-;-1:-1:-1;;;;;109026:23:0;;49170:10;109026:23;109018:83;;;;-1:-1:-1;;;109018:83:0;;14701:2:1;109018:83:0;;;14683:21:1;14740:2;14720:18;;;14713:30;14779:34;14759:18;;;14752:62;14850:17;14830:18;;;14823:45;14885:19;;109018:83:0;14499:411:1;109018:83:0;109114:26;109126:4;109132:7;109114:11;:26::i;96550:108::-;96614:7;96645:5;;96641:1;:9;;;;:::i;:::-;96634:16;96550:108;-1:-1:-1;;;96550:108:0:o;60568:74::-;52898:13;:11;:13::i;:::-;60615:19:::1;:17;:19::i;:::-;60568:74::o:0;32492:185::-;32630:39;32647:4;32653:2;32657:7;32630:39;;;;;;;;;;;;:16;:39::i;127836:142::-;127921:10;;;;;;;127913:36;;;;-1:-1:-1;;;127913:36:0;;15539:2:1;127913:36:0;;;15521:21:1;15578:2;15558:18;;;15551:30;15617:15;15597:18;;;15590:43;15650:18;;127913:36:0;15337:337:1;127913:36:0;127956:16;127966:2;127970:1;127956:9;:16::i;:::-;127836:142;:::o;127739:91::-;52898:13;:11;:13::i;:::-;127807:10:::1;:17:::0;;;::::1;::::0;::::1;::::0;;127739:91::o;20782:152::-;20854:7;20897:27;20916:7;20897:18;:27::i;16324:233::-;16396:7;-1:-1:-1;;;;;16420:19:0;;16416:60;;16448:28;;;;;;;;;;;;;;16416:60;-1:-1:-1;;;;;;16494:25:0;;;;;:18;:25;;;;;;10483:13;16494:55;;16324:233::o;53660:103::-;52898:13;:11;:13::i;:::-;53725:30:::1;53752:1;53725:18;:30::i;60450:70::-:0;52898:13;:11;:13::i;:::-;60495:17:::1;:15;:17::i;125674:153::-:0;125764:7;125791:18;;;:12;:18;;;;;:28;;125813:5;125791:21;:28::i;88555:97::-;88597:7;88624:20;:10;56702;;56611:109;88624:20;88617:27;;88555:97;:::o;96284:84::-;52898:13;:11;:13::i;:::-;96346:5:::1;:14:::0;96284:84::o;19565:104::-;19621:13;19654:7;19647:14;;;;;:::i;26430:308::-;49170:10;-1:-1:-1;;;;;26529:31:0;;;26525:61;;26569:17;;;;;;;;;;;;;;26525:61;49170:10;26599:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26599:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26599:60:0;;;;;;;;;;26675:55;;586:41:1;;;26599:49:0;;49170:10;26675:55;;559:18:1;26675:55:0;;;;;;;26430:308;;:::o;128146:134::-;52898:13;:11;:13::i;:::-;128245:17:::1;:29:::0;;;::::1;-1:-1:-1::0;;;;;128245:29:0;;;::::1;::::0;;;::::1;::::0;;128146:134::o;33275:399::-;33442:31;33455:4;33461:2;33465:7;33442:12;:31::i;:::-;-1:-1:-1;;;;;33488:14:0;;;:19;33484:183;;33527:56;33558:4;33564:2;33568:7;33577:5;33527:30;:56::i;:::-;33522:145;;33611:40;;;;;;;;;;;;;;33522:145;33275:399;;;;:::o;90119:871::-;52898:13;:11;:13::i;:::-;58724:19:::1;:17;:19::i;:::-;90319:22:::0;;::::2;;90356:56;90365:1:::0;90380:31:::2;:21;56702:10:::0;;56611:109;90380:31:::2;90368:43;::::0;:9;:43:::2;:::i;:::-;90356:8;:56::i;:::-;90352:60;;90435:1;90431;:5;90423:45;;;::::0;-1:-1:-1;;;90423:45:0;;16011:2:1;90423:45:0::2;::::0;::::2;15993:21:1::0;16050:2;16030:18;;;16023:30;16089:29;16069:18;;;16062:57;16136:18;;90423:45:0::2;15809:351:1::0;90423:45:0::2;90506:12;:27:::0;90548:50:::2;90557:1:::0;90577:20:::2;:10;56702::::0;;56611:109;90548:50:::2;90544:54;;90621:1;90617;:5;90609:34;;;::::0;-1:-1:-1;;;90609:34:0;;16367:2:1;90609:34:0::2;::::0;::::2;16349:21:1::0;16406:2;16386:18;;;16379:30;16445:18;16425;;;16418:46;16481:18;;90609:34:0::2;16165:340:1::0;90609:34:0::2;90708:17;:10;90723:1:::0;90708:14:::2;:17::i;:::-;90736:28;:21;90762:1:::0;90736:25:::2;:28::i;:::-;90834;90850:2;90854:1;90857:4;90834:15;:28::i;:::-;90904:14;90880:20;:10;56702::::0;;56611:109;90880:20:::2;:38;;90873:46;;;;:::i;:::-;90972:9;90937:31;:21;56702:10:::0;;56611:109;90937:31:::2;:44;;90930:52;;;;:::i;128286:257::-:0;128406:17;;128370:13;;-1:-1:-1;;;;;128406:17:0;128398:40;128395:104;;128456:17;;:35;;;;;;;;2489:25:1;;;-1:-1:-1;;;;;128456:17:0;;;;:26;;2462:18:1;;128456:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;128456:35:0;;;;;;;;;;;;:::i;128395:104::-;128514:23;128529:7;128514:14;:23::i;126001:142::-;126081:7;126108:18;;;:12;:18;;;;;:27;;:25;:27::i;108226:149::-;107419:7;107446:12;;;;;;;;;;:22;;;105401:16;105412:4;105401:10;:16::i;:::-;108341:26:::1;108353:4;108359:7;108341:11;:26::i;54916:::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53918:201::-;52898:13;:11;:13::i;:::-;-1:-1:-1;;;;;54007:22:0;::::1;53999:73;;;::::0;-1:-1:-1;;;53999:73:0;;17542:2:1;53999:73:0::1;::::0;::::1;17524:21:1::0;17581:2;17561:18;;;17554:30;17620:34;17600:18;;;17593:62;17691:8;17671:18;;;17664:36;17717:19;;53999:73:0::1;17340:402:1::0;53999:73:0::1;54083:28;54102:8;54083:18;:28::i;56611:109::-:0;56702:10;;56611:109::o;110527:238::-;105891:4;105915:12;;;;;;;;;;;-1:-1:-1;;;;;105915:29:0;;;;;;;;;;;;110606:152;;110650:6;:12;;;;;;;;;;;-1:-1:-1;;;;;110650:29:0;;;;;;;;;:36;;-1:-1:-1;;110650:36:0;110682:4;110650:36;;;110733:12;49170:10;;49083:105;110733:12;-1:-1:-1;;;;;110706:40:0;110724:7;-1:-1:-1;;;;;110706:40:0;110718:4;110706:40;;;;;;;;;;110527:238;;:::o;119491:152::-;119561:4;119585:50;119590:3;-1:-1:-1;;;;;119610:23:0;;119585:4;:50::i;18487:639::-;18572:4;18896:25;;;;;;:102;;-1:-1:-1;18973:25:0;;;;;18896:102;:179;;;-1:-1:-1;;19050:25:0;;;;;18487:639::o;27317:282::-;27382:4;27472:13;;27462:7;:23;27419:153;;;;-1:-1:-1;;27523:26:0;;;;:17;:26;;;;;;11259:8;27523:44;:49;;27317:282::o;53177:132::-;53085:6;;-1:-1:-1;;;;;53085:6:0;49170:10;53241:23;53233:68;;;;-1:-1:-1;;;53233:68:0;;17949:2:1;53233:68:0;;;17931:21:1;;;17968:18;;;17961:30;18027:34;18007:18;;;18000:62;18079:18;;53233:68:0;17747:356:1;21937:1275:0;22004:7;22039;22141:13;;22134:4;:20;22130:1015;;;22179:14;22196:23;;;:17;:23;;;;;;;11259:8;22285:24;;:29;;22281:845;;22950:113;22957:6;22967:1;22957:11;22950:113;;-1:-1:-1;;;23028:6:0;23010:25;;;;:17;:25;;;;;;22950:113;;22281:845;22156:989;22130:1015;23173:31;;;;;;;;;;;;;;106256:105;106323:30;106334:4;49170:10;106323;:30::i;126236:169::-;126324:31;126341:4;126347:7;126324:16;:31::i;:::-;126366:18;;;;:12;:18;;;;;:31;;126389:7;126366:22;:31::i;126499:174::-;126588:32;126606:4;126612:7;126588:17;:32::i;:::-;126631:18;;;;:12;:18;;;;;:34;;126657:7;126631:25;:34::i;59974:120::-;58983:16;:14;:16::i;:::-;60033:7:::1;:15:::0;;-1:-1:-1;;60033:15:0::1;::::0;;60064:22:::1;49170:10:::0;60073:12:::1;60064:22;::::0;-1:-1:-1;;;;;1797:55:1;;;1779:74;;1767:2;1752:18;60064:22:0::1;;;;;;;59974:120::o:0;91118:113::-;91196:27;91206:2;91210:9;91221:1;91196:9;:27::i;54279:191::-;54372:6;;;-1:-1:-1;;;;;54389:17:0;;;;;;;;;;;54422:40;;54372:6;;;54389:17;54372:6;;54422:40;;54353:16;;54422:40;54342:128;54279:191;:::o;59715:118::-;58724:19;:17;:19::i;:::-;59775:7:::1;:14:::0;;-1:-1:-1;;59775:14:0::1;59785:4;59775:14;::::0;;59805:20:::1;59812:12;49170:10:::0;;49083:105;120787:158;120861:7;120912:22;120916:3;120928:5;120912:3;:22::i;35758:716::-;35942:88;;;;;35921:4;;-1:-1:-1;;;;;35942:45:0;;;;;:88;;49170:10;;36009:4;;36015:7;;36024:5;;35942:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35942:88:0;;;;;;;;-1:-1:-1;;35942:88:0;;;;;;;;;;;;:::i;:::-;;;35938:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36225:6;:13;36242:1;36225:18;36221:235;;36271:40;;;;;;;;;;;;;;36221:235;36414:6;36408:13;36399:6;36395:2;36391:15;36384:38;35938:529;36101:64;;36111:54;36101:64;;-1:-1:-1;35938:529:0;35758:716;;;;;;:::o;59278:108::-;59190:7;;;;59348:9;59340:38;;;;-1:-1:-1;;;59340:38:0;;19081:2:1;59340:38:0;;;19063:21:1;19120:2;19100:18;;;19093:30;19159:18;19139;;;19132:46;19195:18;;59340:38:0;18879:340:1;72612:106:0;72670:7;72701:1;72697;:5;:13;;72709:1;72697:13;;;-1:-1:-1;72705:1:0;;72612:106;-1:-1:-1;72612:106:0:o;56778:91::-;56860:1;56846:4;:10;;;:15;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;56778:91:0:o;127569:164::-;127676:10;;;;;;;127668:36;;;;-1:-1:-1;;;127668:36:0;;15539:2:1;127668:36:0;;;15521:21:1;15578:2;15558:18;;;15551:30;15617:15;15597:18;;;15590:43;15650:18;;127668:36:0;15337:337:1;127668:36:0;127711:16;127721:2;127725:1;127711:9;:16::i;19775:318::-;19848:13;19879:16;19887:7;19879;:16::i;:::-;19874:59;;19904:29;;;;;;;;;;;;;;19874:59;19946:21;19970:10;:8;:10::i;:::-;19946:34;;20004:7;19998:21;20023:1;19998:26;:87;;;;;;;;;;;;;;;;;20051:7;20060:18;20070:7;20060:9;:18::i;:::-;20034:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19991:94;19775:318;-1:-1:-1;;;19775:318:0:o;120316:117::-;120379:7;120406:19;120414:3;115800:18;;115717:109;113406:414;113469:4;115599:19;;;:12;;;:19;;;;;;113486:327;;-1:-1:-1;113529:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;113712:18;;113690:19;;;:12;;;:19;;;;;;:40;;;;113745:11;;113486:327;-1:-1:-1;113796:5:0;113789:12;;106651:505;105891:4;105915:12;;;;;;;;;;;-1:-1:-1;;;;;105915:29:0;;;;;;;;;;;;106735:414;;106928:41;106956:7;-1:-1:-1;;;;;106928:41:0;106966:2;106928:19;:41::i;:::-;107042:38;107070:4;107077:2;107042:19;:38::i;:::-;106833:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;106833:270:0;;;;;;;;;;-1:-1:-1;;;106779:358:0;;;;;;;:::i;110945:239::-;105891:4;105915:12;;;;;;;;;;;-1:-1:-1;;;;;105915:29:0;;;;;;;;;;;;111025:152;;;111100:5;111068:12;;;;;;;;;;;-1:-1:-1;;;;;111068:29:0;;;;;;;;;;:37;;-1:-1:-1;;111068:37:0;;;111125:40;49170:10;;111068:12;;111125:40;;111100:5;111125:40;110945:239;;:::o;119819:158::-;119892:4;119916:53;119924:3;-1:-1:-1;;;;;119944:23:0;;119916:7;:53::i;59463:108::-;59190:7;;;;59522:41;;;;-1:-1:-1;;;59522:41:0;;20825:2:1;59522:41:0;;;20807:21:1;20864:2;20844:18;;;20837:30;20903:22;20883:18;;;20876:50;20943:18;;59522:41:0;20623:344:1;91759:3796:0;62465:1;63063:7;;:19;63055:63;;;;-1:-1:-1;;;63055:63:0;;21174:2:1;63055:63:0;;;21156:21:1;21213:2;21193:18;;;21186:30;21252:33;21232:18;;;21225:61;21303:18;;63055:63:0;20972:355:1;63055:63:0;62465:1;63196:7;:18;58724:19:::1;:17;:19::i;:::-;91963:41:::2;::::0;;::::2;::::0;::::2;::::0;;91992:12:::2;91963:41:::0;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;::::2;::::0;::::2;;;::::0;;;;;;;;::::2;;;::::0;;;;::::2;::::0;::::2;;;;::::0;;;;;:26:::2;::::0;92029:20;:97:::2;;92090:36;92099:9;92110:6;:15;;;92090:8;:36::i;:::-;92029:97;;;92065:9;92029:97;92017:109;;92139:20;92170:12:::0;92199:6:::2;:23;;;92195:298;;;92278:16;::::0;::::2;::::0;92254:21;;:40:::2;::::0;::::2;;::::0;::::2;:::i;:::-;92239:55;;92339:31;:21;56702:10:::0;;56611:109;92339:31:::2;92316:10;56702::::0;92316:54:::2;;;;:::i;:::-;92309:61;;92195:298;;;92418:21:::0;;;-1:-1:-1;92461:20:0::2;:10;56702::::0;;56611:109;92461:20:::2;92454:27;;92195:298;92509:32;92518:1:::0;92521:19:::2;92536:4:::0;92521:12;:19:::2;:::i;92509:32::-;92505:36;;92564:1;92560;:5;92552:34;;;::::0;-1:-1:-1;;;92552:34:0;;16367:2:1;92552:34:0::2;::::0;::::2;16349:21:1::0;16406:2;16386:18;;;16379:30;16445:18;16425;;;16418:46;16481:18;;92552:34:0::2;16165:340:1::0;92552:34:0::2;92603:20;::::0;::::2;::::0;:24;92599:865:::2;;49170:10:::0;-1:-1:-1;;;;;92667:18:0;::::2;::::0;::::2;;::::0;92644:20:::2;::::0;92781:9:::2;:25;::::0;::::2;::::0;:44:::2;;-1:-1:-1::0;92810:9:0::2;-1:-1:-1::0;;;;;92810:15:0;::::2;;;92781:44;92758:67;;92846:31;92856:1;92859:2;92846:31;;;;;;;;;;;;;;;;::::0;:9:::2;:31::i;:::-;92842:35;;92896:15;92892:102;;;92936:42;92946:1:::0;49170:10;92936:42:::2;;;;;;;;;;;;;;;;::::0;:9:::2;:42::i;:::-;92932:46;;92892:102;93012:15;93008:161;;;93114:39;93124:1;93127:9;93114:39;;;;;;;;;;;;;;;;::::0;:9:::2;:39::i;:::-;93110:43;;93008:161;-1:-1:-1::0;;;;;93185:11:0;::::2;;::::0;;;:7:::2;:11;::::0;;;;:16;;93200:1;;93185:11;:16:::2;::::0;93200:1;;93185:16:::2;:::i;:::-;::::0;;;-1:-1:-1;;93216:82:0;::::2;;;49170:10:::0;93256:21:::2;::::0;;;:7:::2;:21;::::0;;;;:26;;93281:1;;93256:21;:26:::2;::::0;93281:1;;93256:26:::2;:::i;:::-;::::0;;;-1:-1:-1;;93216:82:0::2;93316:15;93312:141;;;93422:9;93414:18;::::0;;;:7:::2;:18;::::0;;;;:23;;93436:1;;93414:18;:23:::2;::::0;93436:1;;93414:23:::2;:::i;:::-;::::0;;;-1:-1:-1;;93312:141:0::2;92629:835;;92599:865;93476:13;93492:21;93497:1;93500:12;93492:4;:21::i;:::-;93476:37;;93540:5;93528:9;:17;93524:305;;;93702:24;93703:11;93711:3;93703:5:::0;:11:::2;:::i;:::-;93702:22;:24::i;:::-;93616:167;;;;;;;;:::i;93524:305::-;93893:17;:10;93908:1:::0;93893:14:::2;:17::i;:::-;93952:21:::0;;93928:10:::2;56702::::0;93928:45:::2;;93921:53;;;;:::i;:::-;94153:29;94169:2;94173:1;94176:5;94153:15;:29::i;:::-;94510:9:::0;;94506:120:::2;;94536:11;::::0;:28:::2;::::0;-1:-1:-1;;;;;94536:11:0::2;94558:5:::0;94536:21:::2;:28::i;:::-;94592:11;::::0;94584:30:::2;::::0;;22417:25:1;;;22473:2;22458:18;;22451:34;;;-1:-1:-1;;;;;94592:11:0;;::::2;::::0;94584:30:::2;::::0;22390:18:1;94584:30:0::2;;;;;;;94506:120;94654:5;94642:9;:17;94638:910;;;49170:10:::0;94676:25:::2;94757:17;94769:5:::0;94757:9:::2;:17;:::i;:::-;94740:34;;95120:12;95134:23:::0;95161:9:::2;-1:-1:-1::0;;;;;95161:14:0::2;95201:6;95161:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95119:107;;;;95461:7;95477:10;95453:36;;;;;-1:-1:-1::0;;;95453:36:0::2;;;;;;;;:::i;:::-;;95518:9;-1:-1:-1::0;;;;;95511:25:0::2;;95529:6;95511:25;;;;2489::1::0;;2477:2;2462:18;;2343:177;95511:25:0::2;;;;;;;;94661:887;;;;94638:910;-1:-1:-1::0;;62421:1:0;63375:7;:22;-1:-1:-1;;;;;;91759:3796:0:o;116180:120::-;116247:7;116274:3;:11;;116286:5;116274:18;;;;;;;;:::i;:::-;;;;;;;;;116267:25;;116180:120;;;;:::o;42915:112::-;42992:27;43002:2;43006:8;42992:27;;;;;;;;;;;;:9;:27::i;127984:156::-;128079:13;128111:23;:21;:23::i;49290:1581::-;49773:4;49767:11;;49780:4;49763:22;49859:17;;;;49763:22;50217:5;50199:428;50265:1;50260:3;50256:11;50249:18;;50436:2;50430:4;50426:13;50422:2;50418:22;50413:3;50405:36;50530:2;50520:13;;50587:25;50199:428;50587:25;-1:-1:-1;50657:13:0;;;-1:-1:-1;;50772:14:0;;;50834:19;;;50772:14;49290:1581;-1:-1:-1;49290:1581:0:o;82788:451::-;82863:13;82889:19;82921:10;82925:6;82921:1;:10;:::i;:::-;:14;;82934:1;82921:14;:::i;:::-;82911:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82911:25:0;;82889:47;;82947:15;:6;82954:1;82947:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;;82973;:6;82980:1;82973:9;;;;;;;;:::i;:::-;;;;:15;;;;;;;;;;-1:-1:-1;83004:9:0;83016:10;83020:6;83016:1;:10;:::i;:::-;:14;;83029:1;83016:14;:::i;:::-;83004:26;;82999:135;83036:1;83032;:5;82999:135;;;83071:12;83084:5;83092:3;83084:11;83071:25;;;;;;;:::i;:::-;;;;83059:6;83066:1;83059:9;;;;;;;;:::i;:::-;;;;:37;;;;;;;;;;-1:-1:-1;83121:1:0;83111:11;;;;;83039:3;;;:::i;:::-;;;82999:135;;;-1:-1:-1;83152:10:0;;83144:55;;;;-1:-1:-1;;;83144:55:0;;23298:2:1;83144:55:0;;;23280:21:1;;;23317:18;;;23310:30;23376:34;23356:18;;;23349:62;23428:18;;83144:55:0;23096:356:1;113996:1420:0;114062:4;114201:19;;;:12;;;:19;;;;;;114237:15;;114233:1176;;114612:21;114636:14;114649:1;114636:10;:14;:::i;:::-;114685:18;;114612:38;;-1:-1:-1;114665:17:0;;114685:22;;114706:1;;114685:22;:::i;:::-;114665:42;;114741:13;114728:9;:26;114724:405;;114775:17;114795:3;:11;;114807:9;114795:22;;;;;;;;:::i;:::-;;;;;;;;;114775:42;;114949:9;114920:3;:11;;114932:13;114920:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;115034:23;;;:12;;;:23;;;;;:36;;;114724:405;115210:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;115305:3;:12;;:19;115318:5;115305:19;;;;;;;;;;;115298:26;;;115348:4;115341:11;;;;;;;114233:1176;115392:5;115385:12;;;;;89201:352;-1:-1:-1;;;;;89390:13:0;;89325:7;89390:13;;;:7;:13;;;;;;89361:26;;89325:7;;89361:42;;;:::i;:::-;89345:58;;89418:5;89427:1;89418:10;89414:96;;89488:7;89459:37;;;;;;;;:::i;89414:96::-;89527:18;89536:1;89539:5;89527:8;:18::i;:::-;89520:25;89201:352;-1:-1:-1;;;;;89201:352:0:o;81487:723::-;81543:13;81764:5;81773:1;81764:10;81760:53;;-1:-1:-1;;81791:10:0;;;;;;;;;;;;;;;;;;81487:723::o;81760:53::-;81838:5;81823:12;81879:78;81886:9;;81879:78;;81912:8;;;;:::i;:::-;;-1:-1:-1;81935:10:0;;-1:-1:-1;81943:2:0;81935:10;;:::i;:::-;;;81879:78;;;81967:19;81999:6;81989:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81989:17:0;;81967:39;;82017:154;82024:10;;82017:154;;82051:11;82061:1;82051:11;;:::i;:::-;;-1:-1:-1;82120:10:0;82128:2;82120:5;:10;:::i;:::-;82107:24;;:2;:24;:::i;:::-;82094:39;;82077:6;82084;82077:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;82148:11:0;82157:2;82148:11;;:::i;:::-;;;82017:154;;65910:317;66025:6;66000:21;:31;;65992:73;;;;-1:-1:-1;;;65992:73:0;;24595:2:1;65992:73:0;;;24577:21:1;24634:2;24614:18;;;24607:30;24673:31;24653:18;;;24646:59;24722:18;;65992:73:0;24393:353:1;65992:73:0;66079:12;66097:9;-1:-1:-1;;;;;66097:14:0;66119:6;66097:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66078:52;;;66149:7;66141:78;;;;-1:-1:-1;;;66141:78:0;;24953:2:1;66141:78:0;;;24935:21:1;24992:2;24972:18;;;24965:30;25031:34;25011:18;;;25004:62;25102:28;25082:18;;;25075:56;25148:19;;66141:78:0;24751:422:1;42142:689:0;42273:19;42279:2;42283:8;42273:5;:19::i;:::-;-1:-1:-1;;;;;42334:14:0;;;:19;42330:483;;42388:13;;42436:14;;;42469:233;42500:62;42539:1;42543:2;42547:7;;;;;;42556:5;42500:30;:62::i;:::-;42495:167;;42598:40;;;;;;;;;;;;;;42495:167;42697:3;42689:5;:11;42469:233;;42784:3;42767:13;;:20;42763:34;;42789:8;;;42763:34;42355:458;;42142:689;;;:::o;55836:104::-;55887:13;55920:12;55913:19;;;;;:::i;36936:2454::-;37032:13;;37009:20;37060:13;;;37056:44;;37082:18;;;;;;;;;;;;;;37056:44;-1:-1:-1;;;;;37588:22:0;;;;;;:18;:22;;;;10621:2;37588:22;;;:71;;37626:32;37614:45;;37588:71;;;37902:31;;;:17;:31;;;;;-1:-1:-1;24602:15:0;;24576:24;24572:46;24171:11;24146:23;24142:41;24139:52;24129:63;;37902:173;;38137:23;;;;37902:31;;37588:22;;38636:25;37588:22;;38489:335;38904:1;38890:12;38886:20;38844:346;38945:3;38936:7;38933:16;38844:346;;39163:7;39153:8;39150:1;39123:25;39120:1;39117;39112:59;38998:1;38985:15;38844:346;;;38848:77;39223:8;39235:1;39223:13;39219:45;;39245:19;;;;;;;;;;;;;;39219:45;39281:13;:19;-1:-1:-1;107786:147:0;;;:::o;14:177:1:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:1;868:16;;861:27;638:258::o;901:317::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1132:2;1120:15;-1:-1:-1;;1116:88:1;1107:98;;;;1207:4;1103:109;;901:317;-1:-1:-1;;901:317:1:o;1223:220::-;1372:2;1361:9;1354:21;1335:4;1392:45;1433:2;1422:9;1418:18;1410:6;1392:45;:::i;1448:180::-;1507:6;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;-1:-1:-1;1599:23:1;;1448:180;-1:-1:-1;1448:180:1:o;1864:154::-;-1:-1:-1;;;;;1943:5:1;1939:54;1932:5;1929:65;1919:93;;2008:1;2005;1998:12;2023:315;2091:6;2099;2152:2;2140:9;2131:7;2127:23;2123:32;2120:52;;;2168:1;2165;2158:12;2120:52;2207:9;2194:23;2226:31;2251:5;2226:31;:::i;:::-;2276:5;2328:2;2313:18;;;;2300:32;;-1:-1:-1;;;2023:315:1:o;2525:255::-;2592:6;2645:2;2633:9;2624:7;2620:23;2616:32;2613:52;;;2661:1;2658;2651:12;2613:52;2700:9;2687:23;2719:31;2744:5;2719:31;:::i;2785:456::-;2862:6;2870;2878;2931:2;2919:9;2910:7;2906:23;2902:32;2899:52;;;2947:1;2944;2937:12;2899:52;2986:9;2973:23;3005:31;3030:5;3005:31;:::i;:::-;3055:5;-1:-1:-1;3112:2:1;3097:18;;3084:32;3125:33;3084:32;3125:33;:::i;:::-;2785:456;;3177:7;;-1:-1:-1;;;3231:2:1;3216:18;;;;3203:32;;2785:456::o;3613:184::-;3665:77;3662:1;3655:88;3762:4;3759:1;3752:15;3786:4;3783:1;3776:15;3802:252;3874:2;3868:9;3916:3;3904:16;;3950:18;3935:34;;3971:22;;;3932:62;3929:88;;;3997:18;;:::i;:::-;4033:2;4026:22;3802:252;:::o;4059:334::-;4130:2;4124:9;4186:2;4176:13;;-1:-1:-1;;4172:86:1;4160:99;;4289:18;4274:34;;4310:22;;;4271:62;4268:88;;;4336:18;;:::i;:::-;4372:2;4365:22;4059:334;;-1:-1:-1;4059:334:1:o;4398:160::-;4463:20;;4519:13;;4512:21;4502:32;;4492:60;;4548:1;4545;4538:12;4492:60;4398:160;;;:::o;4563:848::-;4652:6;4705:3;4693:9;4684:7;4680:23;4676:33;4673:53;;;4722:1;4719;4712:12;4673:53;4748:22;;:::i;:::-;4806:9;4793:23;4786:5;4779:38;4877:2;4866:9;4862:18;4849:32;4844:2;4837:5;4833:14;4826:56;4942:2;4931:9;4927:18;4914:32;4909:2;4902:5;4898:14;4891:56;4999:2;4988:9;4984:18;4971:32;5047:64;5038:7;5034:78;5025:7;5022:91;5012:119;;5127:1;5124;5117:12;5012:119;5158:2;5147:14;;5140:31;5204:36;5235:3;5220:19;;5204:36;:::i;:::-;5198:3;5191:5;5187:15;5180:61;5274:36;5305:3;5294:9;5290:19;5274:36;:::i;:::-;5268:3;5261:5;5257:15;5250:61;5344:36;5375:3;5364:9;5360:19;5344:36;:::i;:::-;5338:3;5327:15;;5320:61;5331:5;4563:848;-1:-1:-1;;;4563:848:1:o;5416:315::-;5484:6;5492;5545:2;5533:9;5524:7;5520:23;5516:32;5513:52;;;5561:1;5558;5551:12;5513:52;5597:9;5584:23;5574:33;;5657:2;5646:9;5642:18;5629:32;5670:31;5695:5;5670:31;:::i;:::-;5720:5;5710:15;;;5416:315;;;;;:::o;5736:246::-;5785:4;5818:18;5810:6;5807:30;5804:56;;;5840:18;;:::i;:::-;-1:-1:-1;5897:2:1;5885:15;-1:-1:-1;;5881:88:1;5971:4;5877:99;;5736:246::o;5987:338::-;6052:5;6081:53;6097:36;6126:6;6097:36;:::i;:::-;6081:53;:::i;:::-;6072:62;;6157:6;6150:5;6143:21;6197:3;6188:6;6183:3;6179:16;6176:25;6173:45;;;6214:1;6211;6204:12;6173:45;6263:6;6258:3;6251:4;6244:5;6240:16;6227:43;6317:1;6310:4;6301:6;6294:5;6290:18;6286:29;6279:40;5987:338;;;;;:::o;6330:451::-;6399:6;6452:2;6440:9;6431:7;6427:23;6423:32;6420:52;;;6468:1;6465;6458:12;6420:52;6508:9;6495:23;6541:18;6533:6;6530:30;6527:50;;;6573:1;6570;6563:12;6527:50;6596:22;;6649:4;6641:13;;6637:27;-1:-1:-1;6627:55:1;;6678:1;6675;6668:12;6627:55;6701:74;6767:7;6762:2;6749:16;6744:2;6740;6736:11;6701:74;:::i;7033:248::-;7101:6;7109;7162:2;7150:9;7141:7;7137:23;7133:32;7130:52;;;7178:1;7175;7168:12;7130:52;-1:-1:-1;;7201:23:1;;;7271:2;7256:18;;;7243:32;;-1:-1:-1;7033:248:1:o;7791:315::-;7856:6;7864;7917:2;7905:9;7896:7;7892:23;7888:32;7885:52;;;7933:1;7930;7923:12;7885:52;7972:9;7959:23;7991:31;8016:5;7991:31;:::i;:::-;8041:5;-1:-1:-1;8065:35:1;8096:2;8081:18;;8065:35;:::i;:::-;8055:45;;7791:315;;;;;:::o;8390:795::-;8485:6;8493;8501;8509;8562:3;8550:9;8541:7;8537:23;8533:33;8530:53;;;8579:1;8576;8569:12;8530:53;8618:9;8605:23;8637:31;8662:5;8637:31;:::i;:::-;8687:5;-1:-1:-1;8744:2:1;8729:18;;8716:32;8757:33;8716:32;8757:33;:::i;:::-;8809:7;-1:-1:-1;8863:2:1;8848:18;;8835:32;;-1:-1:-1;8918:2:1;8903:18;;8890:32;8945:18;8934:30;;8931:50;;;8977:1;8974;8967:12;8931:50;9000:22;;9053:4;9045:13;;9041:27;-1:-1:-1;9031:55:1;;9082:1;9079;9072:12;9031:55;9105:74;9171:7;9166:2;9153:16;9148:2;9144;9140:11;9105:74;:::i;:::-;9095:84;;;8390:795;;;;;;;:::o;10161:388::-;10229:6;10237;10290:2;10278:9;10269:7;10265:23;10261:32;10258:52;;;10306:1;10303;10296:12;10258:52;10345:9;10332:23;10364:31;10389:5;10364:31;:::i;:::-;10414:5;-1:-1:-1;10471:2:1;10456:18;;10443:32;10484:33;10443:32;10484:33;:::i;10554:437::-;10633:1;10629:12;;;;10676;;;10697:61;;10751:4;10743:6;10739:17;10729:27;;10697:61;10804:2;10796:6;10793:14;10773:18;10770:38;10767:218;;10841:77;10838:1;10831:88;10942:4;10939:1;10932:15;10970:4;10967:1;10960:15;10767:218;;10554:437;;;:::o;12242:545::-;12344:2;12339:3;12336:11;12333:448;;;12380:1;12405:5;12401:2;12394:17;12450:4;12446:2;12436:19;12520:2;12508:10;12504:19;12501:1;12497:27;12491:4;12487:38;12556:4;12544:10;12541:20;12538:47;;;-1:-1:-1;12579:4:1;12538:47;12634:2;12629:3;12625:12;12622:1;12618:20;12612:4;12608:31;12598:41;;12689:82;12707:2;12700:5;12697:13;12689:82;;;12752:17;;;12733:1;12722:13;12689:82;;13023:1471;13149:3;13143:10;13176:18;13168:6;13165:30;13162:56;;;13198:18;;:::i;:::-;13227:97;13317:6;13277:38;13309:4;13303:11;13277:38;:::i;:::-;13271:4;13227:97;:::i;:::-;13379:4;;13443:2;13432:14;;13460:1;13455:782;;;;14281:1;14298:6;14295:89;;;-1:-1:-1;14350:19:1;;;14344:26;14295:89;-1:-1:-1;;12920:1:1;12916:11;;;12912:84;12908:89;12898:100;13004:1;13000:11;;;12895:117;14397:81;;13425:1063;;13455:782;12189:1;12182:14;;;12226:4;12213:18;;-1:-1:-1;;13491:79:1;;;13668:236;13682:7;13679:1;13676:14;13668:236;;;13771:19;;;13765:26;13750:42;;13863:27;;;;13831:1;13819:14;;;;13698:19;;13668:236;;;13672:3;13932:6;13923:7;13920:19;13917:261;;;13993:19;;;13987:26;-1:-1:-1;;14076:1:1;14072:14;;;14088:3;14068:24;14064:97;14060:102;14045:118;14030:134;;13917:261;-1:-1:-1;;;;;14224:1:1;14208:14;;;14204:22;14191:36;;-1:-1:-1;13023:1471:1:o;14915:184::-;14967:77;14964:1;14957:88;15064:4;15061:1;15054:15;15088:4;15085:1;15078:15;15104:228;15144:7;15270:1;-1:-1:-1;;15198:74:1;15195:1;15192:81;15187:1;15180:9;15173:17;15169:105;15166:131;;;15277:18;;:::i;:::-;-1:-1:-1;15317:9:1;;15104:228::o;15679:125::-;15719:4;15747:1;15744;15741:8;15738:34;;;15752:18;;:::i;:::-;-1:-1:-1;15789:9:1;;15679:125::o;16510:184::-;16562:77;16559:1;16552:88;16659:4;16656:1;16649:15;16683:4;16680:1;16673:15;16699:636;16779:6;16832:2;16820:9;16811:7;16807:23;16803:32;16800:52;;;16848:1;16845;16838:12;16800:52;16881:9;16875:16;16914:18;16906:6;16903:30;16900:50;;;16946:1;16943;16936:12;16900:50;16969:22;;17022:4;17014:13;;17010:27;-1:-1:-1;17000:55:1;;17051:1;17048;17041:12;17000:55;17080:2;17074:9;17105:49;17121:32;17150:2;17121:32;:::i;17105:49::-;17177:2;17170:5;17163:17;17217:7;17212:2;17207;17203;17199:11;17195:20;17192:33;17189:53;;;17238:1;17235;17228:12;17189:53;17251:54;17302:2;17297;17290:5;17286:14;17281:2;17277;17273:11;17251:54;:::i;18108:512::-;18302:4;-1:-1:-1;;;;;18412:2:1;18404:6;18400:15;18389:9;18382:34;18464:2;18456:6;18452:15;18447:2;18436:9;18432:18;18425:43;;18504:6;18499:2;18488:9;18484:18;18477:34;18547:3;18542:2;18531:9;18527:18;18520:31;18568:46;18609:3;18598:9;18594:19;18586:6;18568:46;:::i;:::-;18560:54;18108:512;-1:-1:-1;;;;;;18108:512:1:o;18625:249::-;18694:6;18747:2;18735:9;18726:7;18722:23;18718:32;18715:52;;;18763:1;18760;18753:12;18715:52;18795:9;18789:16;18814:30;18838:5;18814:30;:::i;19224:128::-;19264:3;19295:1;19291:6;19288:1;19285:13;19282:39;;;19301:18;;:::i;:::-;-1:-1:-1;19337:9:1;;19224:128::o;19357:470::-;19536:3;19574:6;19568:13;19590:53;19636:6;19631:3;19624:4;19616:6;19612:17;19590:53;:::i;:::-;19706:13;;19665:16;;;;19728:57;19706:13;19665:16;19762:4;19750:17;;19728:57;:::i;:::-;19801:20;;19357:470;-1:-1:-1;;;;19357:470:1:o;19832:786::-;20243:25;20238:3;20231:38;20213:3;20298:6;20292:13;20314:62;20369:6;20364:2;20359:3;20355:12;20348:4;20340:6;20336:17;20314:62;:::i;:::-;20440:19;20435:2;20395:16;;;20427:11;;;20420:40;20485:13;;20507:63;20485:13;20556:2;20548:11;;20541:4;20529:17;;20507:63;:::i;:::-;20590:17;20609:2;20586:26;;19832:786;-1:-1:-1;;;;19832:786:1:o;21332:184::-;21384:77;21381:1;21374:88;21481:4;21478:1;21471:15;21505:4;21502:1;21495:15;21521:120;21561:1;21587;21577:35;;21592:18;;:::i;:::-;-1:-1:-1;21626:9:1;;21521:120::o;21646:592::-;22009:16;22004:3;21997:29;21979:3;22055:6;22049:13;22071:62;22126:6;22121:2;22116:3;22112:12;22105:4;22097:6;22093:17;22071:62;:::i;:::-;22197:7;22192:2;22152:16;;;;22184:11;;;22177:28;-1:-1:-1;22229:2:1;22221:11;;21646:592;-1:-1:-1;21646:592:1:o;22706:184::-;22758:77;22755:1;22748:88;22855:4;22852:1;22845:15;22879:4;22876:1;22869:15;22895:196;22934:3;22962:5;22952:39;;22971:18;;:::i;:::-;-1:-1:-1;;;23007:78:1;;22895:196::o;23457:184::-;23509:77;23506:1;23499:88;23606:4;23603:1;23596:15;23630:4;23627:1;23620:15;23646:425;23908:10;23903:3;23896:23;23878:3;23948:6;23942:13;23964:61;24018:6;24014:1;24009:3;24005:11;23998:4;23990:6;23986:17;23964:61;:::i;:::-;24045:16;;;;24063:1;24041:24;;23646:425;-1:-1:-1;;23646:425:1:o;24076:195::-;24115:3;-1:-1:-1;;24139:5:1;24136:77;24133:103;;24216:18;;:::i;:::-;-1:-1:-1;24263:1:1;24252:13;;24076:195::o;24276:112::-;24308:1;24334;24324:35;;24339:18;;:::i;:::-;-1:-1:-1;24373:9:1;;24276:112::o

Swarm Source

ipfs://60fa5a2635b4d8e53e3c64b60f423575b6d5d32cee70e8346c4aba100cb790f4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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