ETH Price: $3,399.49 (+1.95%)
Gas: 3.68 Gwei

Token

MeteoriaNFT (MTO)
 

Overview

Max Total Supply

6,000 MTO

Holders

1,825

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
rayonft.eth
Balance
6 MTO
0x2a445941de26da53689c1b6a912c0bc09a6b3691
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Meteoria is a 6,000 legacy avatars that give you membership access to the Meteoverse: a parallel universe where creativity sprouts from all walks if life. Meteoria holders will get direct access to exclusive drops, unique experiences, and more.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MeteoriaNFT

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-27
*/

/**
 *Submitted for verification at Etherscan.io on 2023-03-18
*/

// SPDX-License-Identifier: MIT
// File: contracts/WithdrawFairly.sol


pragma solidity ^0.8.7;

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, uint256 amount) external returns (bool);
}

/**
 * @title WithdrawFairly
 * @author 0x0
 */
contract WithdrawFairly {
    error Unauthorized();
    error ZeroBalance();
    error TransferFailed();

    struct Part {
        address wallet;
        uint8 salesPart;
        uint8 royaltiesPart;
    }

    Part[] public parts;
    mapping(address => bool) public callers;

    constructor() payable {
        parts.push(Part(0x792AE50eA3358455177aeabE8F9a871338CB002e, 20, 15));
        callers[0x792AE50eA3358455177aeabE8F9a871338CB002e] = true;
        parts.push(Part(0xE1580cA711094CF2888716a54c5A892245653435, 49, 65));
        callers[0xE1580cA711094CF2888716a54c5A892245653435] = true;
        parts.push(Part(0x963363fc0BDf5D4b48Ef3dc5CA374e909f13e730, 5, 5));
        parts.push(Part(0x95B5b3c1Dc12c6124B077133aBc86e809382934E, 5, 5));
        parts.push(Part(0xef581EBE97F20a7EFF93Fe9149F07F34cD78CaE1, 10, 5));
        parts.push(Part(0x23a2f69Dbb116Ff3c878560f23B9BA3a3803020A, 1, 0));
        parts.push(Part(0x44d32341F2248937286aEEdd53eC9367bEFC30e8, 10, 5));
    }

    function shareETHSalesPart() external {
        if (!callers[msg.sender])
            revert Unauthorized();

        uint256 balance = address(this).balance;

        if (balance == 0) revert ZeroBalance();

        Part memory part;

        for (uint256 i; i < parts.length;) {
            part = parts[i];

            // Below will never realistically overflows
            unchecked {
                if (part.salesPart != 0) {
                    _withdraw(
                        part.wallet,
                        balance * part.salesPart / 100
                    );
                }

                ++i;
            }
        }
    }

    function shareETHRoyaltiesPart() external {
        if (!callers[msg.sender]) revert Unauthorized();

        uint256 balance = address(this).balance;

        if (balance == 0) revert ZeroBalance();

        Part memory part;

        for (uint256 i; i < parts.length;) {
            part = parts[i];

            unchecked {
                if (part.royaltiesPart != 0) {
                    _withdraw(
                        part.wallet,
                        balance * part.royaltiesPart / 100
                    );
                }

                ++i;
            }
        }
    }

     function shareTokenRoyaltiesPart(address token) external {
        if (!callers[msg.sender]) revert Unauthorized();

        IERC20 tokenContract = IERC20(token);

        uint256 balance = tokenContract.balanceOf(address(this));

        if (balance == 0) revert ZeroBalance();

        Part memory part;

        for (uint256 i; i < parts.length;) {
            part = parts[i];

            if (part.royaltiesPart != 0) {
                if (!tokenContract.transfer(
                    part.wallet,
                    balance * part.royaltiesPart / 100
                )) revert TransferFailed();
            }

            unchecked {
                ++i;
            }
        }
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");

        if (!success) revert TransferFailed();
    }

    receive() external payable {}

}

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

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

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

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

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        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 payable 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 {
        _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].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        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 payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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

// File: operator-filter-registry/src/lib/Constants.sol


pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

// File: operator-filter-registry/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

// File: operator-filter-registry/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: operator-filter-registry/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// 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/ERC165.sol


// 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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (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: @openzeppelin/contracts/utils/math/Math.sol

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: contracts/MeteoriaNFT.sol

pragma solidity ^0.8.7;


interface IMeteorium {
    function mint(address to, uint256 amount) external;
}

/**
 * @title MeteoriaNFT
 * @author 0x0
 *
 * Meteoria main NFT collection, used as access to our various events to come.
 * It will also be the only way of minting a genesis Meteorium token by
 * minting batches of 3 (3 MeteoriaNFT minted = 1 genesis Meteorium).
 *
 * The reveal system for this token will be fully offchain, our backend will
 * only display as revealed the one who will be explicitly unpacked by their
 * owners.
 * The final draw will directly be saved and a hash will computed and
 * shared to forge a proof and prove there has been no manupulations in the
 * process. Once the reveal event ends, all the metadata will be pushed
 * on IPFS and the URI should be frozen.
 */
contract MeteoriaNFT is
    ERC721A,
    ERC2981,
    DefaultOperatorFilterer,
    WithdrawFairly,
    Ownable
{
    using ECDSA for bytes32;

    error CannotUnfreezeURI();
    error CannotUpdateFrozenURI();
    error OnlyEOA();
    error CollectionSoldOut();
    error NotPresale();
    error MaxPresaleMints();
    error NotWhitelisted();
    error NotSale();
    error MintPaused();
    error MaxSaleTxMintsReached();
    error IncorrectETHValue();

    struct MeteoriaNFTConfig {
        uint64 presaleStart;
        uint64 presaleEnd;
        uint64 salePrice;
        uint8 maxMintsPerTx;
        uint8 maxMintsPresale;
        bool mintPaused;
    }

    address private constant _PRESALE_AUTHORITY =
        0x8734A7EA99895869a16d2c2fc5DBAD78a40F1C70;
    uint256 private constant _MINT_SUPPLY = 6000;
    uint256 private constant _METEORIUM_MINT_RATE = 3;

    IMeteorium private _meteorium;

    MeteoriaNFTConfig public config;

    // Metadata data
    string public baseURI;
    bool public frozenURI;

    event MeteoriaNFTConfigUpdated(MeteoriaNFTConfig newConfig);
    event MeteoriumUpdated(address meteorium);
    event FrozenURI();
    event BaseURIUpdated(string baseURI);

    constructor() payable ERC721A("MeteoriaNFT", "MTO") {
        // Setting royalties to 5.5%
        _setDefaultRoyalty(address(this), 550);

        // Define base conf below
        config = MeteoriaNFTConfig(
            1680138000,
            1680152400,
            0.055 ether,
            9,
            3,
            false
        );
    }

    function setDefaultRoyalty(
        address _receiver,
        uint96 _feeNumerator
    ) external onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function setConfig(MeteoriaNFTConfig calldata newConf) external onlyOwner {
        config = newConf;

        emit MeteoriaNFTConfigUpdated(newConf);
    }

    function freezeURI() external onlyOwner {
        if (!frozenURI) {
            frozenURI = true;

            emit FrozenURI();
        }
    }

    function setMeteorium(address meteorium) external onlyOwner {
        _meteorium = IMeteorium(meteorium);

        emit MeteoriumUpdated(meteorium);
    }

    function setBaseURI(string calldata baseURI_) external onlyOwner {
        if (frozenURI) revert CannotUpdateFrozenURI();

        baseURI = baseURI_;

        emit BaseURIUpdated(baseURI_);
    }

    function ownerMint(uint256 amount, address to) external onlyOwner {
        if (isSoldOut(amount)) revert CollectionSoldOut();

        _mint(to, amount);
    }

    function ownershipOf(
        uint256 tokenId
    ) external view returns (TokenOwnership memory) {
        return _ownershipOf(tokenId);
    }

    function isSoldOut(uint256 nftWanted) public view returns (bool) {
        return _totalMinted() + nftWanted > _MINT_SUPPLY;
    }

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

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

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

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

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

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

    function tokenURI(
        uint256 _nftId
    ) public view override returns (string memory) {
        if (!_exists(_nftId)) revert URIQueryForNonexistentToken();

        return string(abi.encodePacked(baseURI, _toString(_nftId), ".json"));
    }

    function burn(uint256 tokenId) public virtual {
        _burn(tokenId, true);
    }

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

    function numberMinted(address owner) external view returns (uint256) {
        return _numberMinted(owner);
    }

    function presaleMint(uint256 amount, bytes calldata signature)
        external
        payable
    {
        if (msg.sender != tx.origin) revert OnlyEOA();
        if (isSoldOut(amount)) revert CollectionSoldOut();
        if (
            _PRESALE_AUTHORITY != keccak256(
                abi.encodePacked(msg.sender)
            ).toEthSignedMessageHash().recover(signature)
        ) revert NotWhitelisted();

        MeteoriaNFTConfig memory conf = config;

        if (conf.mintPaused) revert MintPaused();
        if (
            block.timestamp < conf.presaleStart ||
            block.timestamp >= conf.presaleEnd
        ) revert NotPresale();

        uint256 meteoriumEarned;
        // Below cannot overflow as it would already have occured in isSoldOut
        // function which isn't using unchecked block, regarding the price,
        // this contract assume the price will not reach irrealistic price
        // for NFTs mints which would also require a huge collection size (
        // which would already cause trouble with ERC721A impl)
        unchecked {
            if (_numberMinted(msg.sender) + amount > conf.maxMintsPresale)
                revert MaxPresaleMints();

            if (msg.value != conf.salePrice * amount)
                revert IncorrectETHValue();

            meteoriumEarned = amount / _METEORIUM_MINT_RATE;
        }

        if (meteoriumEarned > 0) {
            _meteorium.mint(msg.sender, meteoriumEarned);
        }

        _mint(msg.sender, amount);
    }

    function saleMint(uint256 amount) external payable {
        if (msg.sender != tx.origin) revert OnlyEOA();
        if (isSoldOut(amount)) revert CollectionSoldOut();

        MeteoriaNFTConfig memory conf = config;

        if (conf.mintPaused) revert MintPaused();
        if (block.timestamp < conf.presaleEnd) revert NotSale();
        if (amount > conf.maxMintsPerTx) revert MaxSaleTxMintsReached();

        uint256 meteoriumEarned;

        unchecked {
            if (msg.value != conf.salePrice * amount)
                revert IncorrectETHValue();

            meteoriumEarned = amount / _METEORIUM_MINT_RATE;
        }

        if (meteoriumEarned > 0) {
            _meteorium.mint(msg.sender, meteoriumEarned);
        }

        _mint(msg.sender, amount);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CannotUnfreezeURI","type":"error"},{"inputs":[],"name":"CannotUpdateFrozenURI","type":"error"},{"inputs":[],"name":"CollectionSoldOut","type":"error"},{"inputs":[],"name":"IncorrectETHValue","type":"error"},{"inputs":[],"name":"MaxPresaleMints","type":"error"},{"inputs":[],"name":"MaxSaleTxMintsReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintPaused","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotPresale","type":"error"},{"inputs":[],"name":"NotSale","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OnlyEOA","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"ZeroBalance","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":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURIUpdated","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":[],"name":"FrozenURI","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint64","name":"presaleStart","type":"uint64"},{"internalType":"uint64","name":"presaleEnd","type":"uint64"},{"internalType":"uint64","name":"salePrice","type":"uint64"},{"internalType":"uint8","name":"maxMintsPerTx","type":"uint8"},{"internalType":"uint8","name":"maxMintsPresale","type":"uint8"},{"internalType":"bool","name":"mintPaused","type":"bool"}],"indexed":false,"internalType":"struct MeteoriaNFT.MeteoriaNFTConfig","name":"newConfig","type":"tuple"}],"name":"MeteoriaNFTConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"meteorium","type":"address"}],"name":"MeteoriumUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"callers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"config","outputs":[{"internalType":"uint64","name":"presaleStart","type":"uint64"},{"internalType":"uint64","name":"presaleEnd","type":"uint64"},{"internalType":"uint64","name":"salePrice","type":"uint64"},{"internalType":"uint8","name":"maxMintsPerTx","type":"uint8"},{"internalType":"uint8","name":"maxMintsPresale","type":"uint8"},{"internalType":"bool","name":"mintPaused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozenURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftWanted","type":"uint256"}],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"parts","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint8","name":"salesPart","type":"uint8"},{"internalType":"uint8","name":"royaltiesPart","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint64","name":"presaleStart","type":"uint64"},{"internalType":"uint64","name":"presaleEnd","type":"uint64"},{"internalType":"uint64","name":"salePrice","type":"uint64"},{"internalType":"uint8","name":"maxMintsPerTx","type":"uint8"},{"internalType":"uint8","name":"maxMintsPresale","type":"uint8"},{"internalType":"bool","name":"mintPaused","type":"bool"}],"internalType":"struct MeteoriaNFT.MeteoriaNFTConfig","name":"newConf","type":"tuple"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"meteorium","type":"address"}],"name":"setMeteorium","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareETHRoyaltiesPart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareETHSalesPart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"shareTokenRoyaltiesPart","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":"_nftId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600b60809081526a13595d195bdc9a5853919560aa1b60a052610100604052600360c0908152624d544f60e81b60e052733cc6cdda760b79bafa08df41ecfa224f810dceb691600191600262000056838262000ada565b50600362000065828262000ada565b50600160005550506daaeb6d7670e522a718067333cd4e3b15620001b25780156200010057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000e157600080fd5b505af1158015620000f6573d6000803e3d6000fd5b50505050620001b2565b6001600160a01b03821615620001515760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000c6565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200019857600080fd5b505af1158015620001ad573d6000803e3d6000fd5b505050505b5050600a604051806060016040528073792ae50ea3358455177aeabe8f9a871338cb002e6001600160a01b03168152602001601460ff168152602001600f60ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff16021790555050506001600b600073792ae50ea3358455177aeabe8f9a871338cb002e6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550600a604051806060016040528073e1580ca711094cf2888716a54c5a8922456534356001600160a01b03168152602001603160ff168152602001604160ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff16021790555050506001600b600073e1580ca711094cf2888716a54c5a8922456534356001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550600a604051806060016040528073963363fc0bdf5d4b48ef3dc5ca374e909f13e7306001600160a01b03168152602001600560ff168152602001600560ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff1602179055505050600a60405180606001604052807395b5b3c1dc12c6124b077133abc86e809382934e6001600160a01b03168152602001600560ff168152602001600560ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff1602179055505050600a604051806060016040528073ef581ebe97f20a7eff93fe9149f07f34cd78cae16001600160a01b03168152602001600a60ff168152602001600560ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff1602179055505050600a60405180606001604052807323a2f69dbb116ff3c878560f23b9ba3a3803020a6001600160a01b03168152602001600160ff168152602001600060ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff1602179055505050600a60405180606001604052807344d32341f2248937286aeedd53ec9367befc30e86001600160a01b03168152602001600a60ff168152602001600560ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160000160156101000a81548160ff021916908360ff16021790555050506200085a62000854620008da60201b60201c565b620008de565b620008683061022662000930565b6040805160c081018252636424df1081526364251750602082015266c3663566a58000918101919091526009606082015260036080820152600060a090910152600e80546001600160d81b03191679030900c3663566a580000000000064251750000000006424df1017905562000ba6565b3390565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620009a45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620009fc5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200099b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a6057607f821691505b60208210810362000a8157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ad557600081815260208120601f850160051c8101602086101562000ab05750805b601f850160051c820191505b8181101562000ad15782815560010162000abc565b5050505b505050565b81516001600160401b0381111562000af65762000af662000a35565b62000b0e8162000b07845462000a4b565b8462000a87565b602080601f83116001811462000b46576000841562000b2d5750858301515b600019600386901b1c1916600185901b17855562000ad1565b600085815260208120601f198616915b8281101562000b775788860151825594840194600190910190840162000b56565b508582101562000b965787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b613afa8062000bb66000396000f3fe6080604052600436106102bf5760003560e01c80637bbf4a3f1161016e578063c793803c116100cb578063dc33e6811161007f578063f0ba9cb811610064578063f0ba9cb8146108b0578063f2fde38b146108d0578063fd24a854146108f057600080fd5b8063dc33e68114610847578063e985e9c51461086757600080fd5b8063c9eb4662116100b0578063c9eb4662146107c4578063cf0b91311461080d578063d52c57e01461082757600080fd5b8063c793803c1461078f578063c87b56dd146107a457600080fd5b8063a2309ff811610122578063b88d4fde11610107578063b88d4fde1461073c578063bbc4b9d51461074f578063bf9e98341461076f57600080fd5b8063a2309ff814610703578063b7d930181461071c57600080fd5b80638da5cb5b116101535780638da5cb5b146106b057806395d89b41146106ce578063a22cb465146106e357600080fd5b80637bbf4a3f1461066d5780638ca887ca1461069d57600080fd5b806341f434341161021c578063688039b9116101d057806370a08231116101b557806370a0823114610549578063715018a61461056957806379502c551461057e57600080fd5b8063688039b91461051f5780636c0360eb1461053457600080fd5b806342966c681161020157806342966c68146104bf57806355f804b3146104df5780636352211e146104ff57600080fd5b806341f434341461048a57806342842e0e146104ac57600080fd5b8063140364a1116102735780631ffa6c6c116102585780631ffa6c6c1461042357806323b872dd146104385780632a55205a1461044b57600080fd5b8063140364a11461038f57806318160ddd146103fc57600080fd5b806306fdde03116102a457806306fdde0314610322578063081812fc14610344578063095ea7b31461037c57600080fd5b806301ffc9a7146102cb57806304634d8d1461030057600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612fd8565b610903565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b5061032061031b366004613011565b610923565b005b34801561032e57600080fd5b50610337610939565b6040516102f791906130a9565b34801561035057600080fd5b5061036461035f3660046130bc565b6109cb565b6040516001600160a01b0390911681526020016102f7565b61032061038a3660046130d5565b610a28565b34801561039b57600080fd5b506103af6103aa3660046130bc565b610a41565b6040516102f7919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561040857600080fd5b5060015460005403600019015b6040519081526020016102f7565b34801561042f57600080fd5b50610320610a6e565b6103206104463660046130ff565b610bcb565b34801561045757600080fd5b5061046b61046636600461313b565b610bf6565b604080516001600160a01b0390931683526020830191909152016102f7565b34801561049657600080fd5b506103646daaeb6d7670e522a718067333cd4e81565b6103206104ba3660046130ff565b610cd5565b3480156104cb57600080fd5b506103206104da3660046130bc565b610cfa565b3480156104eb57600080fd5b506103206104fa36600461319f565b610d08565b34801561050b57600080fd5b5061036461051a3660046130bc565b610d98565b34801561052b57600080fd5b50610320610da3565b34801561054057600080fd5b50610337610eff565b34801561055557600080fd5b506104156105643660046131e1565b610f8d565b34801561057557600080fd5b50610320610ff5565b34801561058a57600080fd5b50600e546106289067ffffffffffffffff808216916801000000000000000081048216917001000000000000000000000000000000008204169060ff7801000000000000000000000000000000000000000000000000820481169179010000000000000000000000000000000000000000000000000081048216917a0100000000000000000000000000000000000000000000000000009091041686565b6040805167ffffffffffffffff97881681529587166020870152939095169284019290925260ff908116606084015216608082015290151560a082015260c0016102f7565b34801561067957600080fd5b506102eb6106883660046131e1565b600b6020526000908152604090205460ff1681565b6103206106ab3660046130bc565b611009565b3480156106bc57600080fd5b50600c546001600160a01b0316610364565b3480156106da57600080fd5b506103376112dc565b3480156106ef57600080fd5b506103206106fe36600461320a565b6112eb565b34801561070f57600080fd5b5060005460001901610415565b34801561072857600080fd5b506103206107373660046131e1565b6112ff565b61032061074a366004613265565b611374565b34801561075b57600080fd5b5061032061076a366004613341565b6113a1565b34801561077b57600080fd5b5061032061078a3660046131e1565b6113e8565b34801561079b57600080fd5b50610320611699565b3480156107b057600080fd5b506103376107bf3660046130bc565b611701565b3480156107d057600080fd5b506107e46107df3660046130bc565b611774565b604080516001600160a01b03909416845260ff92831660208501529116908201526060016102f7565b34801561081957600080fd5b506010546102eb9060ff1681565b34801561083357600080fd5b50610320610842366004613359565b6117d6565b34801561085357600080fd5b506104156108623660046131e1565b611828565b34801561087357600080fd5b506102eb610882366004613385565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108bc57600080fd5b506102eb6108cb3660046130bc565b611853565b3480156108dc57600080fd5b506103206108eb3660046131e1565b611877565b6103206108fe3660046133af565b611923565b600061090e82611d76565b8061091d575061091d82611e57565b92915050565b61092b611eee565b6109358282611f62565b5050565b606060028054610948906133fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610974906133fb565b80156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b5050505050905090565b60006109d6826120c1565b610a0c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610a328161210f565b610a3c83836121fa565b505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091d826122e8565b336000908152600b602052604090205460ff16610ab7576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b476000819003610af3576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a54811015610a3c57600a8181548110610b2e57610b2e613448565b60009182526020918290206040805160608101825292909101546001600160a01b038116835260ff740100000000000000000000000000000000000000008204811694840185905275010000000000000000000000000000000000000000009091041690820152925015610bc357610bc382600001516064846020015160ff16860281610bbd57610bbd613477565b04612379565b600101610b11565b826001600160a01b0381163314610be557610be53361210f565b610bf0848484612406565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610c975750604080518082019091526008546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610cbb906bffffffffffffffffffffffff16876134d5565b610cc591906134ec565b91519350909150505b9250929050565b826001600160a01b0381163314610cef57610cef3361210f565b610bf0848484612644565b610d0581600161265f565b50565b610d10611eee565b60105460ff1615610d4d576040517f138380c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f610d5a82848361356d565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8282604051610d8c92919061362d565b60405180910390a15050565b600061091d82612811565b336000908152600b602052604090205460ff16610dec576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b476000819003610e28576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a54811015610a3c57600a8181548110610e6357610e63613448565b60009182526020918290206040805160608101825291909201546001600160a01b038116825260ff7401000000000000000000000000000000000000000082048116948301949094527501000000000000000000000000000000000000000000900490921690820181905290925015610ef757610ef782600001516064846040015160ff16860281610bbd57610bbd613477565b600101610e46565b600f8054610f0c906133fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f38906133fb565b8015610f855780601f10610f5a57610100808354040283529160200191610f85565b820191906000526020600020905b815481529060010190602001808311610f6857829003601f168201915b505050505081565b60006001600160a01b038216610fcf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ffd611eee565b61100760006128b9565b565b333214611042576040517f9f8129d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61104b81611853565b15611082576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160c081018252600e5467ffffffffffffffff8082168352680100000000000000008204811660208401527001000000000000000000000000000000008204169282019290925260ff78010000000000000000000000000000000000000000000000008304811660608301527901000000000000000000000000000000000000000000000000008304811660808301527a01000000000000000000000000000000000000000000000000000090920490911615801560a0830152611175576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806020015167ffffffffffffffff164210156111bd576040517fa7283fb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806060015160ff168211156111fe576040517f9b4d7d3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082826040015167ffffffffffffffff16023414611249576040517fde94e21300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506003820480156112d257600d546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b1580156112b957600080fd5b505af11580156112cd573d6000803e3d6000fd5b505050505b610a3c3384612923565b606060038054610948906133fb565b816112f58161210f565b610a3c8383612a54565b611307611eee565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f3e9146b2a9714ce35ccf2b0322caf7e1b156af00fa6239c568589ea8fe223ba7906020015b60405180910390a150565b836001600160a01b038116331461138e5761138e3361210f565b61139a85858585612ade565b5050505050565b6113a9611eee565b80600e6113b6828261369b565b9050507fd4530c097f41c8432a711dadc2e24fd1e11ade5e4ba28f37d3329661087cbf64816040516113699190613894565b336000908152600b602052604090205460ff16611431576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b79190613926565b9050806000036114f3576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a5481101561139a57600a818154811061152e5761152e613448565b60009182526020918290206040805160608101825291909201546001600160a01b038116825260ff740100000000000000000000000000000000000000008204811694830194909452750100000000000000000000000000000000000000000090049092169082018190529092501561169157836001600160a01b031663a9059cbb83600001516064856040015160ff16876115ca91906134d5565b6115d491906134ec565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165b919061393f565b611691576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101611511565b6116a1611eee565b60105460ff1661100757601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f668d78aec4f2992f95f4866cc75cddb478d1f9b1009c4379c2828ff97333156f90600090a1565b606061170c826120c1565b611742576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f61174d83612b3b565b60405160200161175e92919061395c565b6040516020818303038152906040529050919050565b600a818154811061178457600080fd5b6000918252602090912001546001600160a01b038116915060ff740100000000000000000000000000000000000000008204811691750100000000000000000000000000000000000000000090041683565b6117de611eee565b6117e782611853565b1561181e576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109358183612923565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661091d565b6000611770826118666000546000190190565b6118709190613a29565b1192915050565b61187f611eee565b6001600160a01b03811661191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610d05816128b9565b33321461195c576040517f9f8129d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61196583611853565b1561199c576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a7a82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152611a7492506034019050604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90612b7f565b6001600160a01b0316738734a7ea99895869a16d2c2fc5dbad78a40f1c706001600160a01b031614611ad8576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160c081018252600e5467ffffffffffffffff8082168352680100000000000000008204811660208401527001000000000000000000000000000000008204169282019290925260ff78010000000000000000000000000000000000000000000000008304811660608301527901000000000000000000000000000000000000000000000000008304811660808301527a01000000000000000000000000000000000000000000000000000090920490911615801560a0830152611bcb576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805167ffffffffffffffff16421080611bf25750806020015167ffffffffffffffff164210155b15611c29576040517f310a594a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816080015160ff1685611c61336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b011115611c9a576040517fa85607a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84826040015167ffffffffffffffff16023414611ce3576040517fde94e21300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600384048015611d6c57600d546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b158015611d5357600080fd5b505af1158015611d67573d6000803e3d6000fd5b505050505b61139a3386612923565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161480611e0957507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061091d5750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061091d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461091d565b600c546001600160a01b03163314611007576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611911565b6127106bffffffffffffffffffffffff82161115612002576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401611911565b6001600160a01b038216612072576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611911565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600855565b6000816001111580156120d5575060005482105b801561091d5750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15610d05576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b9919061393f565b610d05576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401611911565b600061220582610d98565b9050336001600160a01b03821614612274576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16612274576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091d61231883612811565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146123c6576040519150601f19603f3d011682016040523d82523d6000602084013e6123cb565b606091505b5050905080610a3c576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061241182612811565b9050836001600160a01b0316816001600160a01b03161461245e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600660205260409020805461248a8187335b6001600160a01b039081169116811491141790565b6124eb576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166124eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03851661252b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561253657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c0200000000000000000000000000000000000000000000000000000000841690036125fa576001840160008181526004602052604081205490036125f85760005481146125f85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a3c83838360405180602001604052806000815250611374565b600061266a83612811565b90508060008061268886600090815260066020526040902080549091565b9150915084156126fe5761269d818433612475565b6126fe576001600160a01b038316600090815260076020908152604080832033845290915290205460ff166126fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561270957600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260408120919091557c0200000000000000000000000000000000000000000000000000000000851690036127c9576001860160008181526004602052604081205490036127c75760005481146127c75760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081806001116128875760005481101561288757600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612885575b8060000361287e57506000190160008181526004602052604090205461285d565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805490829003612961576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612a1057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016129d8565b5081600003612a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612ae9848484610bcb565b6001600160a01b0383163b15610bf057612b0584848484612ba3565b610bf0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612b555750819003601f19909101908152919050565b6000806000612b8e8585612cf1565b91509150612b9b81612d33565b509392505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612bf1903390899088908890600401613a3c565b6020604051808303816000875af1925050508015612c2c575060408051601f3d908101601f19168201909252612c2991810190613a78565b60015b612ca3573d808015612c5a576040519150601f19603f3d011682016040523d82523d6000602084013e612c5f565b606091505b508051600003612c9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050949350505050565b6000808251604103612d275760208301516040840151606085015160001a612d1b87828585612ee6565b94509450505050610cce565b50600090506002610cce565b6000816004811115612d4757612d47613a95565b03612d4f5750565b6001816004811115612d6357612d63613a95565b03612dca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611911565b6002816004811115612dde57612dde613a95565b03612e45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611911565b6003816004811115612e5957612e59613a95565b03610d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611911565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612f1d5750600090506003612fa1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612f71573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f9a57600060019250925050612fa1565b9150600090505b94509492505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d0557600080fd5b600060208284031215612fea57600080fd5b813561287e81612faa565b80356001600160a01b038116811461300c57600080fd5b919050565b6000806040838503121561302457600080fd5b61302d83612ff5565b915060208301356bffffffffffffffffffffffff8116811461304e57600080fd5b809150509250929050565b60005b8381101561307457818101518382015260200161305c565b50506000910152565b60008151808452613095816020860160208601613059565b601f01601f19169290920160200192915050565b60208152600061287e602083018461307d565b6000602082840312156130ce57600080fd5b5035919050565b600080604083850312156130e857600080fd5b6130f183612ff5565b946020939093013593505050565b60008060006060848603121561311457600080fd5b61311d84612ff5565b925061312b60208501612ff5565b9150604084013590509250925092565b6000806040838503121561314e57600080fd5b50508035926020909101359150565b60008083601f84011261316f57600080fd5b50813567ffffffffffffffff81111561318757600080fd5b602083019150836020828501011115610cce57600080fd5b600080602083850312156131b257600080fd5b823567ffffffffffffffff8111156131c957600080fd5b6131d58582860161315d565b90969095509350505050565b6000602082840312156131f357600080fd5b61287e82612ff5565b8015158114610d0557600080fd5b6000806040838503121561321d57600080fd5b61322683612ff5565b9150602083013561304e816131fc565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561327b57600080fd5b61328485612ff5565b935061329260208601612ff5565b925060408501359150606085013567ffffffffffffffff808211156132b657600080fd5b818701915087601f8301126132ca57600080fd5b8135818111156132dc576132dc613236565b604051601f8201601f19908116603f0116810190838211818310171561330457613304613236565b816040528281528a602084870101111561331d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600060c0828403121561335357600080fd5b50919050565b6000806040838503121561336c57600080fd5b8235915061337c60208401612ff5565b90509250929050565b6000806040838503121561339857600080fd5b6133a183612ff5565b915061337c60208401612ff5565b6000806000604084860312156133c457600080fd5b83359250602084013567ffffffffffffffff8111156133e257600080fd5b6133ee8682870161315d565b9497909650939450505050565b600181811c9082168061340f57607f821691505b602082108103613353577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761091d5761091d6134a6565b600082613522577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b601f821115610a3c57600081815260208120601f850160051c8101602086101561354e5750805b601f850160051c820191505b8181101561263c5782815560010161355a565b67ffffffffffffffff83111561358557613585613236565b6135998361359383546133fb565b83613527565b6000601f8411600181146135cd57600085156135b55750838201355b600019600387901b1c1916600186901b17835561139a565b600083815260209020601f19861690835b828110156135fe57868501358255602094850194600190920191016135de565b508682101561361b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b67ffffffffffffffff81168114610d0557600080fd5b60ff81168114610d0557600080fd5b6000813561091d81613672565b6000813561091d816131fc565b81356136a68161365c565b67ffffffffffffffff811690508154817fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000821617835560208401356136ea8161365c565b6fffffffffffffffff00000000000000008160401b16905080837fffffffffffffffffffffffffffffffff0000000000000000000000000000000084161717845560408501356137398161365c565b77ffffffffffffffff000000000000000000000000000000008160801b16847fffffffffffffffff000000000000000000000000000000000000000000000000851617831717855550505050606082013561379381613672565b81547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff1660c082901b78ff00000000000000000000000000000000000000000000000016178255506138356137ea60808401613681565b82547fffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffff1660c89190911b79ff0000000000000000000000000000000000000000000000000016178255565b61093561384460a0840161368e565b8280547fffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffff1691151560d01b7aff000000000000000000000000000000000000000000000000000016919091179055565b60c0810182356138a38161365c565b67ffffffffffffffff90811683526020840135906138c08261365c565b90811660208401526040840135906138d78261365c565b16604083015260608301356138eb81613672565b60ff166060830152608083013561390181613672565b60ff16608083015260a0830135613917816131fc565b80151560a08401525092915050565b60006020828403121561393857600080fd5b5051919050565b60006020828403121561395157600080fd5b815161287e816131fc565b600080845461396a816133fb565b6001828116801561398257600181146139b5576139e4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528215158302870194506139e4565b8860005260208060002060005b858110156139db5781548a8201529084019082016139c2565b50505082870194505b5050505083516139f8818360208801613059565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b8082018082111561091d5761091d6134a6565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613a6e608083018461307d565b9695505050505050565b600060208284031215613a8a57600080fd5b815161287e81612faa565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212203d03b69251abb77db8b4294f493d2293ca1d6060f5cf88a1598e471fff84eab264736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102bf5760003560e01c80637bbf4a3f1161016e578063c793803c116100cb578063dc33e6811161007f578063f0ba9cb811610064578063f0ba9cb8146108b0578063f2fde38b146108d0578063fd24a854146108f057600080fd5b8063dc33e68114610847578063e985e9c51461086757600080fd5b8063c9eb4662116100b0578063c9eb4662146107c4578063cf0b91311461080d578063d52c57e01461082757600080fd5b8063c793803c1461078f578063c87b56dd146107a457600080fd5b8063a2309ff811610122578063b88d4fde11610107578063b88d4fde1461073c578063bbc4b9d51461074f578063bf9e98341461076f57600080fd5b8063a2309ff814610703578063b7d930181461071c57600080fd5b80638da5cb5b116101535780638da5cb5b146106b057806395d89b41146106ce578063a22cb465146106e357600080fd5b80637bbf4a3f1461066d5780638ca887ca1461069d57600080fd5b806341f434341161021c578063688039b9116101d057806370a08231116101b557806370a0823114610549578063715018a61461056957806379502c551461057e57600080fd5b8063688039b91461051f5780636c0360eb1461053457600080fd5b806342966c681161020157806342966c68146104bf57806355f804b3146104df5780636352211e146104ff57600080fd5b806341f434341461048a57806342842e0e146104ac57600080fd5b8063140364a1116102735780631ffa6c6c116102585780631ffa6c6c1461042357806323b872dd146104385780632a55205a1461044b57600080fd5b8063140364a11461038f57806318160ddd146103fc57600080fd5b806306fdde03116102a457806306fdde0314610322578063081812fc14610344578063095ea7b31461037c57600080fd5b806301ffc9a7146102cb57806304634d8d1461030057600080fd5b366102c657005b600080fd5b3480156102d757600080fd5b506102eb6102e6366004612fd8565b610903565b60405190151581526020015b60405180910390f35b34801561030c57600080fd5b5061032061031b366004613011565b610923565b005b34801561032e57600080fd5b50610337610939565b6040516102f791906130a9565b34801561035057600080fd5b5061036461035f3660046130bc565b6109cb565b6040516001600160a01b0390911681526020016102f7565b61032061038a3660046130d5565b610a28565b34801561039b57600080fd5b506103af6103aa3660046130bc565b610a41565b6040516102f7919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561040857600080fd5b5060015460005403600019015b6040519081526020016102f7565b34801561042f57600080fd5b50610320610a6e565b6103206104463660046130ff565b610bcb565b34801561045757600080fd5b5061046b61046636600461313b565b610bf6565b604080516001600160a01b0390931683526020830191909152016102f7565b34801561049657600080fd5b506103646daaeb6d7670e522a718067333cd4e81565b6103206104ba3660046130ff565b610cd5565b3480156104cb57600080fd5b506103206104da3660046130bc565b610cfa565b3480156104eb57600080fd5b506103206104fa36600461319f565b610d08565b34801561050b57600080fd5b5061036461051a3660046130bc565b610d98565b34801561052b57600080fd5b50610320610da3565b34801561054057600080fd5b50610337610eff565b34801561055557600080fd5b506104156105643660046131e1565b610f8d565b34801561057557600080fd5b50610320610ff5565b34801561058a57600080fd5b50600e546106289067ffffffffffffffff808216916801000000000000000081048216917001000000000000000000000000000000008204169060ff7801000000000000000000000000000000000000000000000000820481169179010000000000000000000000000000000000000000000000000081048216917a0100000000000000000000000000000000000000000000000000009091041686565b6040805167ffffffffffffffff97881681529587166020870152939095169284019290925260ff908116606084015216608082015290151560a082015260c0016102f7565b34801561067957600080fd5b506102eb6106883660046131e1565b600b6020526000908152604090205460ff1681565b6103206106ab3660046130bc565b611009565b3480156106bc57600080fd5b50600c546001600160a01b0316610364565b3480156106da57600080fd5b506103376112dc565b3480156106ef57600080fd5b506103206106fe36600461320a565b6112eb565b34801561070f57600080fd5b5060005460001901610415565b34801561072857600080fd5b506103206107373660046131e1565b6112ff565b61032061074a366004613265565b611374565b34801561075b57600080fd5b5061032061076a366004613341565b6113a1565b34801561077b57600080fd5b5061032061078a3660046131e1565b6113e8565b34801561079b57600080fd5b50610320611699565b3480156107b057600080fd5b506103376107bf3660046130bc565b611701565b3480156107d057600080fd5b506107e46107df3660046130bc565b611774565b604080516001600160a01b03909416845260ff92831660208501529116908201526060016102f7565b34801561081957600080fd5b506010546102eb9060ff1681565b34801561083357600080fd5b50610320610842366004613359565b6117d6565b34801561085357600080fd5b506104156108623660046131e1565b611828565b34801561087357600080fd5b506102eb610882366004613385565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108bc57600080fd5b506102eb6108cb3660046130bc565b611853565b3480156108dc57600080fd5b506103206108eb3660046131e1565b611877565b6103206108fe3660046133af565b611923565b600061090e82611d76565b8061091d575061091d82611e57565b92915050565b61092b611eee565b6109358282611f62565b5050565b606060028054610948906133fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610974906133fb565b80156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b5050505050905090565b60006109d6826120c1565b610a0c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610a328161210f565b610a3c83836121fa565b505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091d826122e8565b336000908152600b602052604090205460ff16610ab7576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b476000819003610af3576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a54811015610a3c57600a8181548110610b2e57610b2e613448565b60009182526020918290206040805160608101825292909101546001600160a01b038116835260ff740100000000000000000000000000000000000000008204811694840185905275010000000000000000000000000000000000000000009091041690820152925015610bc357610bc382600001516064846020015160ff16860281610bbd57610bbd613477565b04612379565b600101610b11565b826001600160a01b0381163314610be557610be53361210f565b610bf0848484612406565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610c975750604080518082019091526008546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610cbb906bffffffffffffffffffffffff16876134d5565b610cc591906134ec565b91519350909150505b9250929050565b826001600160a01b0381163314610cef57610cef3361210f565b610bf0848484612644565b610d0581600161265f565b50565b610d10611eee565b60105460ff1615610d4d576040517f138380c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f610d5a82848361356d565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8282604051610d8c92919061362d565b60405180910390a15050565b600061091d82612811565b336000908152600b602052604090205460ff16610dec576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b476000819003610e28576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a54811015610a3c57600a8181548110610e6357610e63613448565b60009182526020918290206040805160608101825291909201546001600160a01b038116825260ff7401000000000000000000000000000000000000000082048116948301949094527501000000000000000000000000000000000000000000900490921690820181905290925015610ef757610ef782600001516064846040015160ff16860281610bbd57610bbd613477565b600101610e46565b600f8054610f0c906133fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f38906133fb565b8015610f855780601f10610f5a57610100808354040283529160200191610f85565b820191906000526020600020905b815481529060010190602001808311610f6857829003601f168201915b505050505081565b60006001600160a01b038216610fcf576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ffd611eee565b61100760006128b9565b565b333214611042576040517f9f8129d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61104b81611853565b15611082576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160c081018252600e5467ffffffffffffffff8082168352680100000000000000008204811660208401527001000000000000000000000000000000008204169282019290925260ff78010000000000000000000000000000000000000000000000008304811660608301527901000000000000000000000000000000000000000000000000008304811660808301527a01000000000000000000000000000000000000000000000000000090920490911615801560a0830152611175576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806020015167ffffffffffffffff164210156111bd576040517fa7283fb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806060015160ff168211156111fe576040517f9b4d7d3b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082826040015167ffffffffffffffff16023414611249576040517fde94e21300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506003820480156112d257600d546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b1580156112b957600080fd5b505af11580156112cd573d6000803e3d6000fd5b505050505b610a3c3384612923565b606060038054610948906133fb565b816112f58161210f565b610a3c8383612a54565b611307611eee565b600d80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f3e9146b2a9714ce35ccf2b0322caf7e1b156af00fa6239c568589ea8fe223ba7906020015b60405180910390a150565b836001600160a01b038116331461138e5761138e3361210f565b61139a85858585612ade565b5050505050565b6113a9611eee565b80600e6113b6828261369b565b9050507fd4530c097f41c8432a711dadc2e24fd1e11ade5e4ba28f37d3329661087cbf64816040516113699190613894565b336000908152600b602052604090205460ff16611431576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b79190613926565b9050806000036114f3576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051606081018252600080825260208201819052918101829052905b600a5481101561139a57600a818154811061152e5761152e613448565b60009182526020918290206040805160608101825291909201546001600160a01b038116825260ff740100000000000000000000000000000000000000008204811694830194909452750100000000000000000000000000000000000000000090049092169082018190529092501561169157836001600160a01b031663a9059cbb83600001516064856040015160ff16876115ca91906134d5565b6115d491906134ec565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165b919061393f565b611691576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600101611511565b6116a1611eee565b60105460ff1661100757601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f668d78aec4f2992f95f4866cc75cddb478d1f9b1009c4379c2828ff97333156f90600090a1565b606061170c826120c1565b611742576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f61174d83612b3b565b60405160200161175e92919061395c565b6040516020818303038152906040529050919050565b600a818154811061178457600080fd5b6000918252602090912001546001600160a01b038116915060ff740100000000000000000000000000000000000000008204811691750100000000000000000000000000000000000000000090041683565b6117de611eee565b6117e782611853565b1561181e576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109358183612923565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661091d565b6000611770826118666000546000190190565b6118709190613a29565b1192915050565b61187f611eee565b6001600160a01b03811661191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610d05816128b9565b33321461195c576040517f9f8129d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61196583611853565b1561199c576040517f5fd48f9100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a7a82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152611a7492506034019050604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b90612b7f565b6001600160a01b0316738734a7ea99895869a16d2c2fc5dbad78a40f1c706001600160a01b031614611ad8576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805160c081018252600e5467ffffffffffffffff8082168352680100000000000000008204811660208401527001000000000000000000000000000000008204169282019290925260ff78010000000000000000000000000000000000000000000000008304811660608301527901000000000000000000000000000000000000000000000000008304811660808301527a01000000000000000000000000000000000000000000000000000090920490911615801560a0830152611bcb576040517fd7d248ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805167ffffffffffffffff16421080611bf25750806020015167ffffffffffffffff164210155b15611c29576040517f310a594a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000816080015160ff1685611c61336001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b011115611c9a576040517fa85607a200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84826040015167ffffffffffffffff16023414611ce3576040517fde94e21300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600384048015611d6c57600d546040517f40c10f19000000000000000000000000000000000000000000000000000000008152336004820152602481018390526001600160a01b03909116906340c10f1990604401600060405180830381600087803b158015611d5357600080fd5b505af1158015611d67573d6000803e3d6000fd5b505050505b61139a3386612923565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161480611e0957507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b8061091d5750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061091d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461091d565b600c546001600160a01b03163314611007576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611911565b6127106bffffffffffffffffffffffff82161115612002576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401611911565b6001600160a01b038216612072576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611911565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600855565b6000816001111580156120d5575060005482105b801561091d5750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b6daaeb6d7670e522a718067333cd4e3b15610d05576040517fc61711340000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b9919061393f565b610d05576040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401611911565b600061220582610d98565b9050336001600160a01b03821614612274576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16612274576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051608081018252600080825260208201819052918101829052606081019190915261091d61231883612811565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff1660208201527c0100000000000000000000000000000000000000000000000000000000831615159181019190915260e89190911c606082015290565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146123c6576040519150601f19603f3d011682016040523d82523d6000602084013e6123cb565b606091505b5050905080610a3c576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061241182612811565b9050836001600160a01b0316816001600160a01b03161461245e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600660205260409020805461248a8187335b6001600160a01b039081169116811491141790565b6124eb576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166124eb576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03851661252b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561253657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c0200000000000000000000000000000000000000000000000000000000841690036125fa576001840160008181526004602052604081205490036125f85760005481146125f85760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a3c83838360405180602001604052806000815250611374565b600061266a83612811565b90508060008061268886600090815260066020526040902080549091565b9150915084156126fe5761269d818433612475565b6126fe576001600160a01b038316600090815260076020908152604080832033845290915290205460ff166126fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561270957600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260408120919091557c0200000000000000000000000000000000000000000000000000000000851690036127c9576001860160008181526004602052604081205490036127c75760005481146127c75760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600081806001116128875760005481101561288757600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612885575b8060000361287e57506000190160008181526004602052604090205461285d565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000805490829003612961576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612a1057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016129d8565b5081600003612a4b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612ae9848484610bcb565b6001600160a01b0383163b15610bf057612b0584848484612ba3565b610bf0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612b555750819003601f19909101908152919050565b6000806000612b8e8585612cf1565b91509150612b9b81612d33565b509392505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612bf1903390899088908890600401613a3c565b6020604051808303816000875af1925050508015612c2c575060408051601f3d908101601f19168201909252612c2991810190613a78565b60015b612ca3573d808015612c5a576040519150601f19603f3d011682016040523d82523d6000602084013e612c5f565b606091505b508051600003612c9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050949350505050565b6000808251604103612d275760208301516040840151606085015160001a612d1b87828585612ee6565b94509450505050610cce565b50600090506002610cce565b6000816004811115612d4757612d47613a95565b03612d4f5750565b6001816004811115612d6357612d63613a95565b03612dca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611911565b6002816004811115612dde57612dde613a95565b03612e45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611911565b6003816004811115612e5957612e59613a95565b03610d05576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611911565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612f1d5750600090506003612fa1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612f71573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f9a57600060019250925050612fa1565b9150600090505b94509492505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d0557600080fd5b600060208284031215612fea57600080fd5b813561287e81612faa565b80356001600160a01b038116811461300c57600080fd5b919050565b6000806040838503121561302457600080fd5b61302d83612ff5565b915060208301356bffffffffffffffffffffffff8116811461304e57600080fd5b809150509250929050565b60005b8381101561307457818101518382015260200161305c565b50506000910152565b60008151808452613095816020860160208601613059565b601f01601f19169290920160200192915050565b60208152600061287e602083018461307d565b6000602082840312156130ce57600080fd5b5035919050565b600080604083850312156130e857600080fd5b6130f183612ff5565b946020939093013593505050565b60008060006060848603121561311457600080fd5b61311d84612ff5565b925061312b60208501612ff5565b9150604084013590509250925092565b6000806040838503121561314e57600080fd5b50508035926020909101359150565b60008083601f84011261316f57600080fd5b50813567ffffffffffffffff81111561318757600080fd5b602083019150836020828501011115610cce57600080fd5b600080602083850312156131b257600080fd5b823567ffffffffffffffff8111156131c957600080fd5b6131d58582860161315d565b90969095509350505050565b6000602082840312156131f357600080fd5b61287e82612ff5565b8015158114610d0557600080fd5b6000806040838503121561321d57600080fd5b61322683612ff5565b9150602083013561304e816131fc565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561327b57600080fd5b61328485612ff5565b935061329260208601612ff5565b925060408501359150606085013567ffffffffffffffff808211156132b657600080fd5b818701915087601f8301126132ca57600080fd5b8135818111156132dc576132dc613236565b604051601f8201601f19908116603f0116810190838211818310171561330457613304613236565b816040528281528a602084870101111561331d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600060c0828403121561335357600080fd5b50919050565b6000806040838503121561336c57600080fd5b8235915061337c60208401612ff5565b90509250929050565b6000806040838503121561339857600080fd5b6133a183612ff5565b915061337c60208401612ff5565b6000806000604084860312156133c457600080fd5b83359250602084013567ffffffffffffffff8111156133e257600080fd5b6133ee8682870161315d565b9497909650939450505050565b600181811c9082168061340f57607f821691505b602082108103613353577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761091d5761091d6134a6565b600082613522577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b601f821115610a3c57600081815260208120601f850160051c8101602086101561354e5750805b601f850160051c820191505b8181101561263c5782815560010161355a565b67ffffffffffffffff83111561358557613585613236565b6135998361359383546133fb565b83613527565b6000601f8411600181146135cd57600085156135b55750838201355b600019600387901b1c1916600186901b17835561139a565b600083815260209020601f19861690835b828110156135fe57868501358255602094850194600190920191016135de565b508682101561361b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b67ffffffffffffffff81168114610d0557600080fd5b60ff81168114610d0557600080fd5b6000813561091d81613672565b6000813561091d816131fc565b81356136a68161365c565b67ffffffffffffffff811690508154817fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000821617835560208401356136ea8161365c565b6fffffffffffffffff00000000000000008160401b16905080837fffffffffffffffffffffffffffffffff0000000000000000000000000000000084161717845560408501356137398161365c565b77ffffffffffffffff000000000000000000000000000000008160801b16847fffffffffffffffff000000000000000000000000000000000000000000000000851617831717855550505050606082013561379381613672565b81547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff1660c082901b78ff00000000000000000000000000000000000000000000000016178255506138356137ea60808401613681565b82547fffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffff1660c89190911b79ff0000000000000000000000000000000000000000000000000016178255565b61093561384460a0840161368e565b8280547fffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffff1691151560d01b7aff000000000000000000000000000000000000000000000000000016919091179055565b60c0810182356138a38161365c565b67ffffffffffffffff90811683526020840135906138c08261365c565b90811660208401526040840135906138d78261365c565b16604083015260608301356138eb81613672565b60ff166060830152608083013561390181613672565b60ff16608083015260a0830135613917816131fc565b80151560a08401525092915050565b60006020828403121561393857600080fd5b5051919050565b60006020828403121561395157600080fd5b815161287e816131fc565b600080845461396a816133fb565b6001828116801561398257600181146139b5576139e4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528215158302870194506139e4565b8860005260208060002060005b858110156139db5781548a8201529084019082016139c2565b50505082870194505b5050505083516139f8818360208801613059565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b8082018082111561091d5761091d6134a6565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613a6e608083018461307d565b9695505050505050565b600060208284031215613a8a57600080fd5b815161287e81612faa565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fdfea26469706673582212203d03b69251abb77db8b4294f493d2293ca1d6060f5cf88a1598e471fff84eab264736f6c63430008120033

Deployed Bytecode Sourcemap

101612:7358:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104579:244;;;;;;;;;;-1:-1:-1;104579:244:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;104579:244:0;;;;;;;;103227:175;;;;;;;;;;-1:-1:-1;103227:175:0;;;;;:::i;:::-;;:::i;:::-;;22986:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29477:218::-;;;;;;;;;;-1:-1:-1;29477:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2374:55:1;;;2356:74;;2344:2;2329:18;29477:218:0;2210:226:1;105040:190:0;;;;;;:::i;:::-;;:::i;104284:147::-;;;;;;;;;;-1:-1:-1;104284:147:0;;;;;:::i;:::-;;:::i;:::-;;;;;;2931:13:1;;-1:-1:-1;;;;;2927:62:1;2909:81;;3050:4;3038:17;;;3032:24;3058:18;3028:49;3006:20;;;2999:79;3148:4;3136:17;;;3130:24;3123:32;3116:40;3094:20;;;3087:70;3217:4;3205:17;;;3199:24;3225:8;3195:39;3173:20;;;3166:69;;;;2896:3;2881:19;;2700:541;18737:323:0;;;;;;;;;;-1:-1:-1;108958:1:0;19011:12;18798:7;18995:13;:28;-1:-1:-1;;18995:46:0;18737:323;;;3392:25:1;;;3380:2;3365:18;18737:323:0;3246:177:1;1420:674:0;;;;;;;;;;;;;:::i;105238:205::-;;;;;;:::i;:::-;;:::i;70703:442::-;;;;;;;;;;-1:-1:-1;70703:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4206:55:1;;;4188:74;;4293:2;4278:18;;4271:34;;;;4161:18;70703:442:0;4014:297:1;62850:143:0;;;;;;;;;;;;55266:42;62850:143;;105451:213;;;;;;:::i;:::-;;:::i;106188:85::-;;;;;;;;;;-1:-1:-1;106188:85:0;;;;;:::i;:::-;;:::i;103902:202::-;;;;;;;;;;-1:-1:-1;103902:202:0;;;;;:::i;:::-;;:::i;24379:152::-;;;;;;;;;;-1:-1:-1;24379:152:0;;;;;:::i;:::-;;:::i;2102:616::-;;;;;;;;;;;;;:::i;102618:21::-;;;;;;;;;;;;;:::i;19921:233::-;;;;;;;;;;-1:-1:-1;19921:233:0;;;;;:::i;:::-;;:::i;75976:103::-;;;;;;;;;;;;;:::i;102556:31::-;;;;;;;;;;-1:-1:-1;102556:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5816:18:1;5861:15;;;5843:34;;5913:15;;;5908:2;5893:18;;5886:43;5965:15;;;;5945:18;;;5938:43;;;;6029:4;6017:17;;;6012:2;5997:18;;5990:45;6072:17;6066:3;6051:19;;6044:46;6134:14;;6127:22;6121:3;6106:19;;6099:51;5793:3;5778:19;102556:31:0;5539:617:1;651:39:0;;;;;;;;;;-1:-1:-1;651:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;108067:799;;;;;;:::i;:::-;;:::i;75328:87::-;;;;;;;;;;-1:-1:-1;75401:6:0;;-1:-1:-1;;;;;75401:6:0;75328:87;;23162:104;;;;;;;;;;;;;:::i;104831:201::-;;;;;;;;;;-1:-1:-1;104831:201:0;;;;;:::i;:::-;;:::i;106281:95::-;;;;;;;;;;-1:-1:-1;106327:7:0;19404:13;-1:-1:-1;;19404:31:0;106281:95;;103736:158;;;;;;;;;;-1:-1:-1;103736:158:0;;;;;:::i;:::-;;:::i;105672:247::-;;;;;;:::i;:::-;;:::i;103410:160::-;;;;;;;;;;-1:-1:-1;103410:160:0;;;;;:::i;:::-;;:::i;2727:716::-;;;;;;;;;;-1:-1:-1;2727:716:0;;;;;:::i;:::-;;:::i;103578:150::-;;;;;;;;;;;;;:::i;105927:253::-;;;;;;;;;;-1:-1:-1;105927:253:0;;;;;:::i;:::-;;:::i;625:19::-;;;;;;;;;;-1:-1:-1;625:19:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8416:55:1;;;8398:74;;8520:4;8508:17;;;8503:2;8488:18;;8481:45;8562:17;;8542:18;;;8535:45;8386:2;8371:18;625:19:0;8204:382:1;102646:21:0;;;;;;;;;;-1:-1:-1;102646:21:0;;;;;;;;104112:164;;;;;;;;;;-1:-1:-1;104112:164:0;;;;;:::i;:::-;;:::i;106384:115::-;;;;;;;;;;-1:-1:-1;106384:115:0;;;;;:::i;:::-;;:::i;30426:164::-;;;;;;;;;;-1:-1:-1;30426:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30547:25:0;;;30523:4;30547:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30426:164;104439:132;;;;;;;;;;-1:-1:-1;104439:132:0;;;;;:::i;:::-;;:::i;76234:201::-;;;;;;;;;;-1:-1:-1;76234:201:0;;;;;:::i;:::-;;:::i;106507:1552::-;;;;;;:::i;:::-;;:::i;104579:244::-;104698:4;104722:38;104748:11;104722:25;:38::i;:::-;:93;;;;104777:38;104803:11;104777:25;:38::i;:::-;104715:100;104579:244;-1:-1:-1;;104579:244:0:o;103227:175::-;75214:13;:11;:13::i;:::-;103350:44:::1;103369:9;103380:13;103350:18;:44::i;:::-;103227:175:::0;;:::o;22986:100::-;23040:13;23073:5;23066:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22986:100;:::o;29477:218::-;29553:7;29578:16;29586:7;29578;:16::i;:::-;29573:64;;29603:34;;;;;;;;;;;;;;29573:64;-1:-1:-1;29657:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;29657:30:0;;29477:218::o;105040:190::-;105169:8;64632:30;64653:8;64632:20;:30::i;:::-;105190:32:::1;105204:8;105214:7;105190:13;:32::i;:::-;105040:190:::0;;;:::o;104284:147::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104402:21:0;104415:7;104402:12;:21::i;1420:674::-;1482:10;1474:19;;;;:7;:19;;;;;;;;1469:60;;1515:14;;;;;;;;;;;;;;1469:60;1560:21;1542:15;1598:12;;;1594:38;;1619:13;;;;;;;;;;;;;;1594:38;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;1674:413:0;1694:5;:12;1690:16;;1674:413;;;1731:5;1737:1;1731:8;;;;;;;;:::i;:::-;;;;;;;;;;1724:15;;;;;;;;1731:8;;;;1724:15;-1:-1:-1;;;;;1724:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1846:19:0;1842:195;;1890:127;1926:4;:11;;;1991:3;1974:4;:14;;;1964:24;;:7;:24;:30;;;;;:::i;:::-;;1890:9;:127::i;:::-;2057:3;;1674:413;;105238:205;105381:4;-1:-1:-1;;;;;64358:18:0;;64366:10;64358:18;64354:83;;64393:32;64414:10;64393:20;:32::i;:::-;105398:37:::1;105417:4;105423:2;105427:7;105398:18;:37::i;:::-;105238:205:::0;;;;:::o;70703:442::-;70800:7;70858:27;;;:17;:27;;;;;;;;70829:56;;;;;;;;;-1:-1:-1;;;;;70829:56:0;;;;;;;;;;;;;;;;;;70800:7;;70898:92;;-1:-1:-1;70949:29:0;;;;;;;;;70959:19;70949:29;-1:-1:-1;;;;;70949:29:0;;;;;;;;;;;;;70898:92;71040:23;;;;71002:21;;71511:5;;71027:36;;71026:58;71027:36;:10;:36;:::i;:::-;71026:58;;;;:::i;:::-;71105:16;;;-1:-1:-1;71002:82:0;;-1:-1:-1;;70703:442:0;;;;;;:::o;105451:213::-;105598:4;-1:-1:-1;;;;;64358:18:0;;64366:10;64358:18;64354:83;;64393:32;64414:10;64393:20;:32::i;:::-;105615:41:::1;105638:4;105644:2;105648:7;105615:22;:41::i;106188:85::-:0;106245:20;106251:7;106260:4;106245:5;:20::i;:::-;106188:85;:::o;103902:202::-;75214:13;:11;:13::i;:::-;103982:9:::1;::::0;::::1;;103978:45;;;104000:23;;;;;;;;;;;;;;103978:45;104036:7;:18;104046:8:::0;;104036:7;:18:::1;:::i;:::-;;104072:24;104087:8;;104072:24;;;;;;;:::i;:::-;;;;;;;;103902:202:::0;;:::o;24379:152::-;24451:7;24494:27;24513:7;24494:18;:27::i;2102:616::-;2168:10;2160:19;;;;:7;:19;;;;;;;;2155:47;;2188:14;;;;;;;;;;;;;;2155:47;2233:21;2215:15;2271:12;;;2267:38;;2292:13;;;;;;;;;;;;;;2267:38;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;2347:364:0;2367:5;:12;2363:16;;2347:364;;;2404:5;2410:1;2404:8;;;;;;;;:::i;:::-;;;;;;;;;;2397:15;;;;;;;;2404:8;;;;2397:15;-1:-1:-1;;;;;2397:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2462:23:0;2458:203;;2510:131;2546:4;:11;;;2615:3;2594:4;:18;;;2584:28;;:7;:28;:34;;;;;:::i;2510:131::-;2681:3;;2347:364;;102618:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19921:233::-;19993:7;-1:-1:-1;;;;;20017:19:0;;20013:60;;20045:28;;;;;;;;;;;;;;20013:60;-1:-1:-1;;;;;;20091:25:0;;;;;:18;:25;;;;;;14080:13;20091:55;;19921:233::o;75976:103::-;75214:13;:11;:13::i;:::-;76041:30:::1;76068:1;76041:18;:30::i;:::-;75976:103::o:0;108067:799::-;108133:10;108147:9;108133:23;108129:45;;108165:9;;;;;;;;;;;;;;108129:45;108189:17;108199:6;108189:9;:17::i;:::-;108185:49;;;108215:19;;;;;;;;;;;;;;108185:49;108247:38;;;;;;;;108279:6;108247:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108298:40;;108326:12;;;;;;;;;;;;;;108298:40;108371:4;:15;;;108353:33;;:15;:33;108349:55;;;108395:9;;;;;;;;;;;;;;108349:55;108428:4;:18;;;108419:27;;:6;:27;108415:63;;;108455:23;;;;;;;;;;;;;;108415:63;108491:23;108586:6;108569:4;:14;;;:23;;;108556:9;:36;108552:85;;108618:19;;;;;;;;;;;;;;108552:85;-1:-1:-1;102508:1:0;108672:29;;108729:19;;108725:96;;108765:10;;:44;;;;;108781:10;108765:44;;;4188:74:1;4278:18;;;4271:34;;;-1:-1:-1;;;;;108765:10:0;;;;:15;;4161:18:1;;108765:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108725:96;108833:25;108839:10;108851:6;108833:5;:25::i;23162:104::-;23218:13;23251:7;23244:14;;;;;:::i;104831:201::-;104960:8;64632:30;64653:8;64632:20;:30::i;:::-;104981:43:::1;105005:8;105015;104981:23;:43::i;103736:158::-:0;75214:13;:11;:13::i;:::-;103807:10:::1;:34:::0;;;::::1;-1:-1:-1::0;;;;;103807:34:0;::::1;::::0;;::::1;::::0;;;103859:27:::1;::::0;2356:74:1;;;103859:27:0::1;::::0;2344:2:1;2329:18;103859:27:0::1;;;;;;;;103736:158:::0;:::o;105672:247::-;105847:4;-1:-1:-1;;;;;64358:18:0;;64366:10;64358:18;64354:83;;64393:32;64414:10;64393:20;:32::i;:::-;105864:47:::1;105887:4;105893:2;105897:7;105906:4;105864:22;:47::i;:::-;105672:247:::0;;;;;:::o;103410:160::-;75214:13;:11;:13::i;:::-;103504:7;103495:6:::1;:16;103504:7:::0;103495:6;:16:::1;:::i;:::-;;;;103529:33;103554:7;103529:33;;;;;;:::i;2727:716::-:0;2808:10;2800:19;;;;:7;:19;;;;;;;;2795:47;;2828:14;;;;;;;;;;;;;;2795:47;2922:38;;;;;2954:4;2922:38;;;2356:74:1;2885:5:0;;2855:20;;-1:-1:-1;;;;;2922:23:0;;;;;2329:18:1;;2922:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2904:56;;2977:7;2988:1;2977:12;2973:38;;2998:13;;;;;;;;;;;;;;2973:38;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;3053:383:0;3073:5;:12;3069:16;;3053:383;;;3110:5;3116:1;3110:8;;;;;;;;:::i;:::-;;;;;;;;;;3103:15;;;;;;;;3110:8;;;;3103:15;-1:-1:-1;;;;;3103:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3139:23:0;3135:226;;3188:13;-1:-1:-1;;;;;3188:22:0;;3233:4;:11;;;3298:3;3277:4;:18;;;3267:28;;:7;:28;;;;:::i;:::-;:34;;;;:::i;:::-;3188:132;;;;;;;;;;-1:-1:-1;;;;;4206:55:1;;;3188:132:0;;;4188:74:1;4278:18;;;4271:34;4161:18;;3188:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3183:162;;3329:16;;;;;;;;;;;;;;3183:162;3406:3;;3053:383;;103578:150;75214:13;:11;:13::i;:::-;103634:9:::1;::::0;::::1;;103629:92;;103660:9;:16:::0;;;::::1;103672:4;103660:16;::::0;;103698:11:::1;::::0;::::1;::::0;103660:9:::1;::::0;103698:11:::1;103578:150::o:0;105927:253::-;106007:13;106038:15;106046:6;106038:7;:15::i;:::-;106033:58;;106062:29;;;;;;;;;;;;;;106033:58;106135:7;106144:17;106154:6;106144:9;:17::i;:::-;106118:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;106104:68;;105927:253;;;:::o;625:19::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;625:19:0;;;-1:-1:-1;625:19:0;;;;;;;;;;;;:::o;104112:164::-;75214:13;:11;:13::i;:::-;104193:17:::1;104203:6;104193:9;:17::i;:::-;104189:49;;;104219:19;;;;;;;;;;;;;;104189:49;104251:17;104257:2;104261:6;104251:5;:17::i;106384:115::-:0;-1:-1:-1;;;;;20325:25:0;;106444:7;20325:25;;;:18;:25;;14218:2;20325:25;;;;14080:13;20325:50;;20324:82;106471:20;20236:178;104439:132;104498:4;102449;104539:9;104522:14;19213:7;19404:13;-1:-1:-1;;19404:31:0;;19158:296;104522:14;:26;;;;:::i;:::-;:41;;104439:132;-1:-1:-1;;104439:132:0:o;76234:201::-;75214:13;:11;:13::i;:::-;-1:-1:-1;;;;;76323:22:0;::::1;76315:73;;;::::0;::::1;::::0;;19773:2:1;76315:73:0::1;::::0;::::1;19755:21:1::0;19812:2;19792:18;;;19785:30;19851:34;19831:18;;;19824:62;19922:8;19902:18;;;19895:36;19948:19;;76315:73:0::1;;;;;;;;;76399:28;76418:8;76399:18;:28::i;106507:1552::-:0;106625:10;106639:9;106625:23;106621:45;;106657:9;;;;;;;;;;;;;;106621:45;106681:17;106691:6;106681:9;:17::i;:::-;106677:49;;;106707:19;;;;;;;;;;;;;;106677:49;106777:115;106882:9;;106777:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;106805:28:0;;20140:66:1;106822:10:0;20127:2:1;20123:15;20119:88;106805:28:0;;;20107:101:1;106777:96:0;;-1:-1:-1;20224:12:1;;;-1:-1:-1;106805:28:0;;;;;;;;;;;;106777:71;;;;;;99634:58;;22157:66:1;99634:58:0;;;22145:79:1;22240:12;;;22233:28;;;99501:7:0;;22277:12:1;;99634:58:0;;;;;;;;;;;;99624:69;;;;;;99617:76;;99432:269;;;;106777:96;:104;;:115::i;:::-;-1:-1:-1;;;;;106755:137:0;102360:42;-1:-1:-1;;;;;106755:137:0;;106737:190;;106911:16;;;;;;;;;;;;;;106737:190;106940:38;;;;;;;;106972:6;106940:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106991:40;;107019:12;;;;;;;;;;;;;;106991:40;107078:17;;107060:35;;:15;:35;;:86;;;107131:4;:15;;;107112:34;;:15;:34;;107060:86;107042:135;;;107165:12;;;;;;;;;;;;;;107042:135;107190:23;107665:4;:20;;;107628:57;;107656:6;107628:25;107642:10;-1:-1:-1;;;;;20325:25:0;20297:7;20325:25;;;:18;:25;;14218:2;20325:25;;;;;:50;;14080:13;20324:82;;20236:178;107628:25;:34;:57;107624:104;;;107711:17;;;;;;;;;;;;;;107624:104;107779:6;107762:4;:14;;;:23;;;107749:9;:36;107745:85;;107811:19;;;;;;;;;;;;;;107745:85;-1:-1:-1;102508:1:0;107865:29;;107922:19;;107918:96;;107958:10;;:44;;;;;107974:10;107958:44;;;4188:74:1;4278:18;;;4271:34;;;-1:-1:-1;;;;;107958:10:0;;;;:15;;4161:18:1;;107958:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107918:96;108026:25;108032:10;108044:6;108026:5;:25::i;22084:639::-;22169:4;22493:25;;;;;;:102;;-1:-1:-1;22570:25:0;;;;;22493:102;:179;;;-1:-1:-1;;22647:25:0;;;;;22084:639::o;70433:215::-;70535:4;70559:41;;;70574:26;70559:41;;:81;;-1:-1:-1;68109:25:0;68094:40;;;;70604:36;67985:157;75493:132;75401:6;;-1:-1:-1;;;;;75401:6:0;73959:10;75557:23;75549:68;;;;;;;20449:2:1;75549:68:0;;;20431:21:1;;;20468:18;;;20461:30;20527:34;20507:18;;;20500:62;20579:18;;75549:68:0;20247:356:1;71795:332:0;71511:5;71898:33;;;;;71890:88;;;;;;;20810:2:1;71890:88:0;;;20792:21:1;20849:2;20829:18;;;20822:30;20888:34;20868:18;;;20861:62;20959:12;20939:18;;;20932:40;20989:19;;71890:88:0;20608:406:1;71890:88:0;-1:-1:-1;;;;;71997:22:0;;71989:60;;;;;;;21221:2:1;71989:60:0;;;21203:21:1;21260:2;21240:18;;;21233:30;21299:27;21279:18;;;21272:55;21344:18;;71989:60:0;21019:349:1;71989:60:0;72084:35;;;;;;;;;-1:-1:-1;;;;;72084:35:0;;;;;;;;;;;;;;;;;72062:57;;;;;:19;:57;71795:332::o;30848:282::-;30913:4;30969:7;108958:1;30950:26;;:66;;;;;31003:13;;30993:7;:23;30950:66;:153;;;;-1:-1:-1;;31054:26:0;;;;:17;:26;;;;;;14856:8;31054:44;:49;;30848:282::o;64775:647::-;55266:42;64966:45;:49;64962:453;;65265:67;;;;;65316:4;65265:67;;;21608:34:1;-1:-1:-1;;;;;21678:15:1;;21658:18;;;21651:43;55266:42:0;;65265;;21520:18:1;;65265:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65260:144;;65360:28;;;;;-1:-1:-1;;;;;2374:55:1;;65360:28:0;;;2356:74:1;2329:18;;65360:28:0;2210:226:1;28910:408:0;28999:13;29015:16;29023:7;29015;:16::i;:::-;28999:32;-1:-1:-1;73959:10:0;-1:-1:-1;;;;;29048:28:0;;;29044:175;;-1:-1:-1;;;;;30547:25:0;;30523:4;30547:25;;;:18;:25;;;;;;;;73959:10;30547:35;;;;;;;;;;29091:128;;29168:35;;;;;;;;;;;;;;29091:128;29231:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;29231:35:0;;;;;;;;;29282:28;;29231:24;;29282:28;;;;;;;28988:330;28910:408;;:::o;24720:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24831:47:0;24850:27;24869:7;24850:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;27018:41:0;;;;14739:3;27104:33;;;27070:68;;-1:-1:-1;;;27070:68:0;14856:8;27168:24;;:29;;-1:-1:-1;;;27149:48:0;;;;15260:3;27237:28;;;;-1:-1:-1;;;27208:58:0;-1:-1:-1;26908:366:0;3451:183;3525:12;3543:8;-1:-1:-1;;;;;3543:13:0;3564:7;3543:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3524:52;;;3594:7;3589:37;;3610:16;;;;;;;;;;;;;;33116:2825;33258:27;33288;33307:7;33288:18;:27::i;:::-;33258:57;;33373:4;-1:-1:-1;;;;;33332:45:0;33348:19;-1:-1:-1;;;;;33332:45:0;;33328:86;;33386:28;;;;;;;;;;;;;;33328:86;33428:27;32224:24;;;:15;:24;;;;;32452:26;;33619:68;32452:26;33661:4;73959:10;33667:19;-1:-1:-1;;;;;31698:32:0;;;31542:28;;31827:20;;31849:30;;31824:56;;31239:659;33619:68;33614:180;;-1:-1:-1;;;;;30547:25:0;;30523:4;30547:25;;;:18;:25;;;;;;;;73959:10;30547:35;;;;;;;;;;33702:92;;33759:35;;;;;;;;;;;;;;33702:92;-1:-1:-1;;;;;33811:16:0;;33807:52;;33836:23;;;;;;;;;;;;;;33807:52;34008:15;34005:160;;;34148:1;34127:19;34120:30;34005:160;-1:-1:-1;;;;;34545:24:0;;;;;;;:18;:24;;;;;;34543:26;;-1:-1:-1;;34543:26:0;;;34614:22;;;;;;;;;34612:24;;-1:-1:-1;34612:24:0;;;27768:11;27743:23;27739:41;27726:63;15136:8;27726:63;34907:26;;;;:17;:26;;;;;:175;;;;15136:8;35202:47;;:52;;35198:627;;35307:1;35297:11;;35275:19;35430:30;;;:17;:30;;;;;;:35;;35426:384;;35568:13;;35553:11;:28;35549:242;;35715:30;;;;:17;:30;;;;;:52;;;35549:242;35256:569;35198:627;35872:7;35868:2;-1:-1:-1;;;;;35853:27:0;35862:4;-1:-1:-1;;;;;35853:27:0;;;;;;;;;;;35891:42;33247:2694;;;33116:2825;;;:::o;36037:193::-;36183:39;36200:4;36206:2;36210:7;36183:39;;;;;;;;;;;;:16;:39::i;47685:3081::-;47765:27;47795;47814:7;47795:18;:27::i;:::-;47765:57;-1:-1:-1;47765:57:0;47835:12;;47957:35;47984:7;32113:27;32224:24;;;:15;:24;;;;;32452:26;;32224:24;;32011:485;47957:35;47900:92;;;;48009:13;48005:316;;;48130:68;48155:15;48172:4;73959:10;48178:19;73879:98;48130:68;48125:184;;-1:-1:-1;;;;;30547:25:0;;30523:4;30547:25;;;:18;:25;;;;;;;;73959:10;30547:35;;;;;;;;;;48217:92;;48274:35;;;;;;;;;;;;;;48217:92;48477:15;48474:160;;;48617:1;48596:19;48589:30;48474:160;-1:-1:-1;;;;;49236:24:0;;;;;;:18;:24;;;;;:60;;49264:32;49236:60;;;27768:11;27743:23;27739:41;27726:63;49624:43;27726:63;49534:26;;;;:17;:26;;;;;:205;;;;15136:8;49859:47;;:52;;49855:627;;49964:1;49954:11;;49932:19;50087:30;;;:17;:30;;;;;;:35;;50083:384;;50225:13;;50210:11;:28;50206:242;;50372:30;;;;:17;:30;;;;;:52;;;50206:242;49913:569;49855:627;50510:35;;50537:7;;50533:1;;-1:-1:-1;;;;;50510:35:0;;;;;50533:1;;50510:35;-1:-1:-1;;50733:12:0;:14;;;;;;-1:-1:-1;;;;47685:3081:0:o;25534:1275::-;25601:7;25636;;108958:1;25685:23;25681:1061;;25738:13;;25731:4;:20;25727:1015;;;25776:14;25793:23;;;:17;:23;;;;;;;14856:8;25882:24;;:29;;25878:845;;26547:113;26554:6;26564:1;26554:11;26547:113;;-1:-1:-1;;;26625:6:0;26607:25;;;;:17;:25;;;;;;26547:113;;;26693:6;25534:1275;-1:-1:-1;;;25534:1275:0:o;25878:845::-;25753:989;25727:1015;26770:31;;;;;;;;;;;;;;76595:191;76688:6;;;-1:-1:-1;;;;;76705:17:0;;;;;;;;;;;76738:40;;76688:6;;;76705:17;76688:6;;76738:40;;76669:16;;76738:40;76658:128;76595:191;:::o;40497:2966::-;40570:20;40593:13;;;40621;;;40617:44;;40643:18;;;;;;;;;;;;;;40617:44;-1:-1:-1;;;;;41149:22:0;;;;;;:18;:22;;;;14218:2;41149:22;;;:71;;41187:32;41175:45;;41149:71;;;41463:31;;;:17;:31;;;;;-1:-1:-1;28199:15:0;;28173:24;28169:46;27768:11;27743:23;27739:41;27736:52;27726:63;;41463:173;;41698:23;;;;41463:31;;41149:22;;42463:25;41149:22;;42316:335;42977:1;42963:12;42959:20;42917:346;43018:3;43009:7;43006:16;42917:346;;43236:7;43226:8;43223:1;43196:25;43193:1;43190;43185:59;43071:1;43058:15;42917:346;;;42921:77;43296:8;43308:1;43296:13;43292:45;;43318:19;;;;;;;;;;;;;;43292:45;43354:13;:19;-1:-1:-1;105040:190:0;;;:::o;30035:234::-;73959:10;30130:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;30130:49:0;;;;;;;;;;;;:60;;;;;;;;;;;;;30206:55;;586:41:1;;;30130:49:0;;73959:10;30206:55;;559:18:1;30206:55:0;;;;;;;30035:234;;:::o;36828:407::-;37003:31;37016:4;37022:2;37026:7;37003:12;:31::i;:::-;-1:-1:-1;;;;;37049:14:0;;;:19;37045:183;;37088:56;37119:4;37125:2;37129:7;37138:5;37088:30;:56::i;:::-;37083:145;;37172:40;;;;;;;;;;;;;;53363:1745;53428:17;53862:4;53855;53849:11;53845:22;53954:1;53948:4;53941:15;54029:4;54026:1;54022:12;54015:19;;;54111:1;54106:3;54099:14;54215:3;54454:5;54436:428;54502:1;54497:3;54493:11;54486:18;;54673:2;54667:4;54663:13;54659:2;54655:22;54650:3;54642:36;54767:2;54757:13;;54824:25;54436:428;54824:25;-1:-1:-1;54894:13:0;;;-1:-1:-1;;55009:14:0;;;55071:19;;;55009:14;53363:1745;-1:-1:-1;53363:1745:0:o;95742:231::-;95820:7;95841:17;95860:18;95882:27;95893:4;95899:9;95882:10;:27::i;:::-;95840:69;;;;95920:18;95932:5;95920:11;:18::i;:::-;-1:-1:-1;95956:9:0;95742:231;-1:-1:-1;;;95742:231:0:o;39319:716::-;39503:88;;;;;39482:4;;-1:-1:-1;;;;;39503:45:0;;;;;:88;;73959:10;;39570:4;;39576:7;;39585:5;;39503:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39503:88:0;;;;;;;;-1:-1:-1;;39503:88:0;;;;;;;;;;;;:::i;:::-;;;39499:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39786:6;:13;39803:1;39786:18;39782:235;;39832:40;;;;;;;;;;;;;;39782:235;39975:6;39969:13;39960:6;39956:2;39952:15;39945:38;39499:529;39662:64;;39672:54;39662:64;;-1:-1:-1;39319:716:0;;;;;;:::o;94193:747::-;94274:7;94283:12;94312:9;:16;94332:2;94312:22;94308:625;;94656:4;94641:20;;94635:27;94706:4;94691:20;;94685:27;94764:4;94749:20;;94743:27;94351:9;94735:36;94807:25;94818:4;94735:36;94635:27;94685;94807:10;:25::i;:::-;94800:32;;;;;;;;;94308:625;-1:-1:-1;94881:1:0;;-1:-1:-1;94885:35:0;94865:56;;92586:521;92664:20;92655:5;:29;;;;;;;;:::i;:::-;;92651:449;;92586:521;:::o;92651:449::-;92762:29;92753:5;:38;;;;;;;;:::i;:::-;;92749:351;;92808:34;;;;;23462:2:1;92808:34:0;;;23444:21:1;23501:2;23481:18;;;23474:30;23540:26;23520:18;;;23513:54;23584:18;;92808:34:0;23260:348:1;92749:351:0;92873:35;92864:5;:44;;;;;;;;:::i;:::-;;92860:240;;92925:41;;;;;23815:2:1;92925:41:0;;;23797:21:1;23854:2;23834:18;;;23827:30;23893:33;23873:18;;;23866:61;23944:18;;92925:41:0;23613:355:1;92860:240:0;92997:30;92988:5;:39;;;;;;;;:::i;:::-;;92984:116;;93044:44;;;;;24175:2:1;93044:44:0;;;24157:21:1;24214:2;24194:18;;;24187:30;24253:34;24233:18;;;24226:62;24324:4;24304:18;;;24297:32;24346:19;;93044:44:0;23973:398:1;97194:1520:0;97325:7;;98259:66;98246:79;;98242:163;;;-1:-1:-1;98358:1:0;;-1:-1:-1;98362:30:0;98342:51;;98242:163;98519:24;;;98502:14;98519:24;;;;;;;;;24603:25:1;;;24676:4;24664:17;;24644:18;;;24637:45;;;;24698:18;;;24691:34;;;24741:18;;;24734:34;;;98519:24:0;;24575:19:1;;98519:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;98519:24:0;;-1:-1:-1;;98519:24:0;;;-1:-1:-1;;;;;;;98558:20:0;;98554:103;;98611:1;98615:29;98595:50;;;;;;;98554:103;98677:6;-1:-1:-1;98685:20:0;;-1:-1:-1;97194:1520: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:196::-;706:20;;-1:-1:-1;;;;;755:54:1;;745:65;;735:93;;824:1;821;814:12;735:93;638:196;;;:::o;839:366::-;906:6;914;967:2;955:9;946:7;942:23;938:32;935:52;;;983:1;980;973:12;935:52;1006:29;1025:9;1006:29;:::i;:::-;996:39;;1085:2;1074:9;1070:18;1057:32;1129:26;1122:5;1118:38;1111:5;1108:49;1098:77;;1171:1;1168;1161:12;1098:77;1194:5;1184:15;;;839:366;;;;;:::o;1210:250::-;1295:1;1305:113;1319:6;1316:1;1313:13;1305:113;;;1395:11;;;1389:18;1376:11;;;1369:39;1341:2;1334:10;1305:113;;;-1:-1:-1;;1452:1:1;1434:16;;1427:27;1210:250::o;1465:330::-;1507:3;1545:5;1539:12;1572:6;1567:3;1560:19;1588:76;1657:6;1650:4;1645:3;1641:14;1634:4;1627:5;1623:16;1588:76;:::i;:::-;1709:2;1697:15;-1:-1:-1;;1693:88:1;1684:98;;;;1784:4;1680:109;;1465:330;-1:-1:-1;;1465:330:1:o;1800:220::-;1949:2;1938:9;1931:21;1912:4;1969:45;2010:2;1999:9;1995:18;1987:6;1969:45;:::i;2025:180::-;2084:6;2137:2;2125:9;2116:7;2112:23;2108:32;2105:52;;;2153:1;2150;2143:12;2105:52;-1:-1:-1;2176:23:1;;2025:180;-1:-1:-1;2025:180:1:o;2441:254::-;2509:6;2517;2570:2;2558:9;2549:7;2545:23;2541:32;2538:52;;;2586:1;2583;2576:12;2538:52;2609:29;2628:9;2609:29;:::i;:::-;2599:39;2685:2;2670:18;;;;2657:32;;-1:-1:-1;;;2441:254:1:o;3428:328::-;3505:6;3513;3521;3574:2;3562:9;3553:7;3549:23;3545:32;3542:52;;;3590:1;3587;3580:12;3542:52;3613:29;3632:9;3613:29;:::i;:::-;3603:39;;3661:38;3695:2;3684:9;3680:18;3661:38;:::i;:::-;3651:48;;3746:2;3735:9;3731:18;3718:32;3708:42;;3428:328;;;;;:::o;3761:248::-;3829:6;3837;3890:2;3878:9;3869:7;3865:23;3861:32;3858:52;;;3906:1;3903;3896:12;3858:52;-1:-1:-1;;3929:23:1;;;3999:2;3984:18;;;3971:32;;-1:-1:-1;3761:248:1:o;4579:348::-;4631:8;4641:6;4695:3;4688:4;4680:6;4676:17;4672:27;4662:55;;4713:1;4710;4703:12;4662:55;-1:-1:-1;4736:20:1;;4779:18;4768:30;;4765:50;;;4811:1;4808;4801:12;4765:50;4848:4;4840:6;4836:17;4824:29;;4900:3;4893:4;4884:6;4876;4872:19;4868:30;4865:39;4862:59;;;4917:1;4914;4907:12;4932:411;5003:6;5011;5064:2;5052:9;5043:7;5039:23;5035:32;5032:52;;;5080:1;5077;5070:12;5032:52;5120:9;5107:23;5153:18;5145:6;5142:30;5139:50;;;5185:1;5182;5175:12;5139:50;5224:59;5275:7;5266:6;5255:9;5251:22;5224:59;:::i;:::-;5302:8;;5198:85;;-1:-1:-1;4932:411:1;-1:-1:-1;;;;4932:411:1:o;5348:186::-;5407:6;5460:2;5448:9;5439:7;5435:23;5431:32;5428:52;;;5476:1;5473;5466:12;5428:52;5499:29;5518:9;5499:29;:::i;6161:118::-;6247:5;6240:13;6233:21;6226:5;6223:32;6213:60;;6269:1;6266;6259:12;6284:315;6349:6;6357;6410:2;6398:9;6389:7;6385:23;6381:32;6378:52;;;6426:1;6423;6416:12;6378:52;6449:29;6468:9;6449:29;:::i;:::-;6439:39;;6528:2;6517:9;6513:18;6500:32;6541:28;6563:5;6541:28;:::i;6604:184::-;6656:77;6653:1;6646:88;6753:4;6750:1;6743:15;6777:4;6774:1;6767:15;6793:1197;6888:6;6896;6904;6912;6965:3;6953:9;6944:7;6940:23;6936:33;6933:53;;;6982:1;6979;6972:12;6933:53;7005:29;7024:9;7005:29;:::i;:::-;6995:39;;7053:38;7087:2;7076:9;7072:18;7053:38;:::i;:::-;7043:48;;7138:2;7127:9;7123:18;7110:32;7100:42;;7193:2;7182:9;7178:18;7165:32;7216:18;7257:2;7249:6;7246:14;7243:34;;;7273:1;7270;7263:12;7243:34;7311:6;7300:9;7296:22;7286:32;;7356:7;7349:4;7345:2;7341:13;7337:27;7327:55;;7378:1;7375;7368:12;7327:55;7414:2;7401:16;7436:2;7432;7429:10;7426:36;;;7442:18;;:::i;:::-;7576:2;7570:9;7638:4;7630:13;;-1:-1:-1;;7626:22:1;;;7650:2;7622:31;7618:40;7606:53;;;7674:18;;;7694:22;;;7671:46;7668:72;;;7720:18;;:::i;:::-;7760:10;7756:2;7749:22;7795:2;7787:6;7780:18;7835:7;7830:2;7825;7821;7817:11;7813:20;7810:33;7807:53;;;7856:1;7853;7846:12;7807:53;7912:2;7907;7903;7899:11;7894:2;7886:6;7882:15;7869:46;7957:1;7952:2;7947;7939:6;7935:15;7931:24;7924:35;7978:6;7968:16;;;;;;;6793:1197;;;;;;;:::o;7995:204::-;8091:6;8144:3;8132:9;8123:7;8119:23;8115:33;8112:53;;;8161:1;8158;8151:12;8112:53;-1:-1:-1;8184:9:1;7995:204;-1:-1:-1;7995:204:1:o;8591:254::-;8659:6;8667;8720:2;8708:9;8699:7;8695:23;8691:32;8688:52;;;8736:1;8733;8726:12;8688:52;8772:9;8759:23;8749:33;;8801:38;8835:2;8824:9;8820:18;8801:38;:::i;:::-;8791:48;;8591:254;;;;;:::o;8850:260::-;8918:6;8926;8979:2;8967:9;8958:7;8954:23;8950:32;8947:52;;;8995:1;8992;8985:12;8947:52;9018:29;9037:9;9018:29;:::i;:::-;9008:39;;9066:38;9100:2;9089:9;9085:18;9066:38;:::i;9115:478::-;9194:6;9202;9210;9263:2;9251:9;9242:7;9238:23;9234:32;9231:52;;;9279:1;9276;9269:12;9231:52;9315:9;9302:23;9292:33;;9376:2;9365:9;9361:18;9348:32;9403:18;9395:6;9392:30;9389:50;;;9435:1;9432;9425:12;9389:50;9474:59;9525:7;9516:6;9505:9;9501:22;9474:59;:::i;:::-;9115:478;;9552:8;;-1:-1:-1;9448:85:1;;-1:-1:-1;;;;9115:478:1:o;9598:437::-;9677:1;9673:12;;;;9720;;;9741:61;;9795:4;9787:6;9783:17;9773:27;;9741:61;9848:2;9840:6;9837:14;9817:18;9814:38;9811:218;;9885:77;9882:1;9875:88;9986:4;9983:1;9976:15;10014:4;10011:1;10004:15;10040:184;10092:77;10089:1;10082:88;10189:4;10186:1;10179:15;10213:4;10210:1;10203:15;10229:184;10281:77;10278:1;10271:88;10378:4;10375:1;10368:15;10402:4;10399:1;10392:15;10418:184;10470:77;10467:1;10460:88;10567:4;10564:1;10557:15;10591:4;10588:1;10581:15;10607:168;10680:9;;;10711;;10728:15;;;10722:22;;10708:37;10698:71;;10749:18;;:::i;10780:274::-;10820:1;10846;10836:189;;10881:77;10878:1;10871:88;10982:4;10979:1;10972:15;11010:4;11007:1;11000:15;10836:189;-1:-1:-1;11039:9:1;;10780:274::o;11185:545::-;11287:2;11282:3;11279:11;11276:448;;;11323:1;11348:5;11344:2;11337:17;11393:4;11389:2;11379:19;11463:2;11451:10;11447:19;11444:1;11440:27;11434:4;11430:38;11499:4;11487:10;11484:20;11481:47;;;-1:-1:-1;11522:4:1;11481:47;11577:2;11572:3;11568:12;11565:1;11561:20;11555:4;11551:31;11541:41;;11632:82;11650:2;11643:5;11640:13;11632:82;;;11695:17;;;11676:1;11665:13;11632:82;;11966:1325;12090:18;12085:3;12082:27;12079:53;;;12112:18;;:::i;:::-;12141:94;12231:3;12191:38;12223:4;12217:11;12191:38;:::i;:::-;12185:4;12141:94;:::i;:::-;12261:1;12286:2;12281:3;12278:11;12303:1;12298:735;;;;13077:1;13094:3;13091:93;;;-1:-1:-1;13150:19:1;;;13137:33;13091:93;-1:-1:-1;;11863:1:1;11859:11;;;11855:84;11851:89;11841:100;11947:1;11943:11;;;11838:117;13197:78;;12271:1014;;12298:735;11132:1;11125:14;;;11169:4;11156:18;;-1:-1:-1;;12334:76:1;;;12494:9;12516:229;12530:7;12527:1;12524:14;12516:229;;;12619:19;;;12606:33;12591:49;;12726:4;12711:20;;;;12679:1;12667:14;;;;12546:12;12516:229;;;12520:3;12773;12764:7;12761:16;12758:219;;;-1:-1:-1;;12887:3:1;12881;12878:1;12874:11;12870:21;12866:94;12862:99;12849:9;12844:3;12840:19;12827:33;12823:139;12815:6;12808:155;12758:219;;;13020:1;13014:3;13011:1;13007:11;13003:19;12997:4;12990:33;12271:1014;;11966:1325;;;:::o;13296:449::-;13455:2;13444:9;13437:21;13494:6;13489:2;13478:9;13474:18;13467:34;13551:6;13543;13538:2;13527:9;13523:18;13510:48;13607:1;13578:22;;;13602:2;13574:31;;;13567:42;;;;13661:2;13649:15;;;-1:-1:-1;;13645:88:1;13630:104;13626:113;;13296:449;-1:-1:-1;13296:449:1:o;13750:129::-;13835:18;13828:5;13824:30;13817:5;13814:41;13804:69;;13869:1;13866;13859:12;13884:114;13968:4;13961:5;13957:16;13950:5;13947:27;13937:55;;13988:1;13985;13978:12;14003:172;14046:11;14098:3;14085:17;14111:29;14134:5;14111:29;:::i;14764:170::-;14806:11;14858:3;14845:17;14871:28;14893:5;14871:28;:::i;15247:1357::-;15432:5;15419:19;15447:32;15471:7;15447:32;:::i;:::-;15511:18;15502:7;15498:32;15488:42;;15555:4;15549:11;15662:2;15593:66;15589:2;15585:75;15582:83;15576:4;15569:97;15714:2;15707:5;15703:14;15690:28;15727:32;15751:7;15727:32;:::i;:::-;15800:34;15790:7;15786:2;15782:16;15778:57;15768:67;;15945:2;15940;15871:66;15867:2;15863:75;15860:83;15857:91;15851:4;15844:105;15997:2;15990:5;15986:14;15973:28;16010:32;16034:7;16010:32;:::i;:::-;16183:50;16173:7;16168:3;16164:17;16160:74;16154:2;16085:66;16081:2;16077:75;16074:83;16070:2;16067:91;16064:171;16058:4;16051:185;;;;;16284:2;16277:5;16273:14;16260:28;16297:31;16320:7;16297:31;:::i;:::-;14270:11;;14314:66;14306:75;14391:3;14387:15;;;14404:52;14383:74;14303:155;14290:169;;16337:58;16404:95;16456:42;16493:3;16486:5;16482:15;16456:42;:::i;:::-;14562:11;;14606:66;14598:75;14683:3;14679:15;;;;14696:54;14675:76;14595:157;14582:171;;14470:289;16404:95;16508:90;16556:41;16592:3;16585:5;16581:15;16556:41;:::i;:::-;16550:4;15027:11;;15071:66;15063:75;15160:13;;15153:21;15148:3;15144:31;15177:56;15140:94;15060:175;;;;15047:189;;14939:303;16609:1138;16815:3;16800:19;;16841:20;;16870:30;16841:20;16870:30;:::i;:::-;16919:18;16964:14;;;16946:33;;17028:4;17016:17;;17003:31;;17043:32;17003:31;17043:32;:::i;:::-;17113:16;;;17106:4;17091:20;;17084:46;17179:4;17167:17;;17154:31;;17194:32;17154:31;17194:32;:::i;:::-;17264:16;17257:4;17242:20;;17235:46;17330:4;17318:17;;17305:31;17345;17305;17345;:::i;:::-;17427:4;17414:18;17407:4;17392:20;;17385:48;17482:4;17470:17;;17457:31;17497;17457;17497;:::i;:::-;17579:4;17566:18;17559:4;17544:20;;17537:48;17634:4;17622:17;;17609:31;17649:30;17609:31;17649:30;:::i;:::-;17731:7;17724:15;17717:23;17710:4;17699:9;17695:20;17688:53;;16609:1138;;;;:::o;17752:184::-;17822:6;17875:2;17863:9;17854:7;17850:23;17846:32;17843:52;;;17891:1;17888;17881:12;17843:52;-1:-1:-1;17914:16:1;;17752:184;-1:-1:-1;17752:184:1:o;17941:245::-;18008:6;18061:2;18049:9;18040:7;18036:23;18032:32;18029:52;;;18077:1;18074;18067:12;18029:52;18109:9;18103:16;18128:28;18150:5;18128:28;:::i;18191:1245::-;18468:3;18497:1;18530:6;18524:13;18560:36;18586:9;18560:36;:::i;:::-;18615:1;18632:18;;;18659:191;;;;18864:1;18859:356;;;;18625:590;;18659:191;18707:66;18696:9;18692:82;18687:3;18680:95;18830:6;18823:14;18816:22;18808:6;18804:35;18799:3;18795:45;18788:52;;18659:191;;18859:356;18890:6;18887:1;18880:17;18920:4;18965:2;18962:1;18952:16;18990:1;19004:165;19018:6;19015:1;19012:13;19004:165;;;19096:14;;19083:11;;;19076:35;19139:16;;;;19033:10;;19004:165;;;19008:3;;;19198:6;19193:3;19189:16;19182:23;;18625:590;;;;;19246:6;19240:13;19262:68;19321:8;19316:3;19309:4;19301:6;19297:17;19262:68;:::i;:::-;19393:7;19352:18;;19379:22;;;19428:1;19417:13;;18191:1245;-1:-1:-1;;;;18191:1245:1:o;19441:125::-;19506:9;;;19527:10;;;19524:36;;;19540:18;;:::i;22300:512::-;22494:4;-1:-1:-1;;;;;22604:2:1;22596:6;22592:15;22581:9;22574:34;22656:2;22648:6;22644:15;22639:2;22628:9;22624:18;22617:43;;22696:6;22691:2;22680:9;22676:18;22669:34;22739:3;22734:2;22723:9;22719:18;22712:31;22760:46;22801:3;22790:9;22786:19;22778:6;22760:46;:::i;:::-;22752:54;22300:512;-1:-1:-1;;;;;;22300:512:1:o;22817:249::-;22886:6;22939:2;22927:9;22918:7;22914:23;22910:32;22907:52;;;22955:1;22952;22945:12;22907:52;22987:9;22981:16;23006:30;23030:5;23006:30;:::i;23071:184::-;23123:77;23120:1;23113:88;23220:4;23217:1;23210:15;23244:4;23241:1;23234:15

Swarm Source

ipfs://3d03b69251abb77db8b4294f493d2293ca1d6060f5cf88a1598e471fff84eab2
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.