ETH Price: $3,465.47 (-0.13%)
Gas: 2 Gwei

Token

De Society (DeSo)
 

Overview

Max Total Supply

171 DeSo

Holders

35

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 DeSo
0x21f86d863f8115e13c531671f77b912c2897c66b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DeSociety

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}


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


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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// 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/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.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);
}

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

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

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



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.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // 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) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
        _;
    }
}
pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}
// File: contracts/DeSociety.sol

pragma solidity >=0.7.0 <0.9.0;

contract DeSociety is ERC721A, Ownable, DefaultOperatorFilterer {
  using Strings for uint256;
  using Counters for Counters.Counter;

  Counters.Counter private supply;

  string public uriPrefix = "ipfs://QmTnTqrp6QneeQ3LDgPVDG1yPCRycdbecyb9DnDCrqUwUj/";
  string public uriSuffix = ".json";
  string public preRevealMetadataUri = "ipfs://Qmbr7rqsYEKMLkx81Bv7YtUmyuys8e4fQCJ4BQiALQByqg/preReveal.json";
  
  uint256 public maxSupply = 333;
  uint256 public maxMintAmountPerTx = 10;
  uint256 public whitelistAddressLimit = 10;
  uint256 public publicAddressLimit = 10;
  uint256 public price = 0.25 ether;
  
  bytes32 public merkleRoot = 0x0a1966149afedfb00a5b34d69cdee2fbee74773f723926abbed79a9cc55af3b6;

  bool public paused = true;
  bool public revealed = false;
  bool public publicMint = false;

  mapping(address => uint256) public whitelistMintedBalance;
  mapping(address => uint256) public publicMintedBalance;
 
  constructor() ERC721A("De Society", "DeSo") {
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(!paused, "The contract is paused!");
    require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!");
    require(_mintAmount <= maxMintAmountPerTx, "max NFT per transaction limit address exceeded");
    _;
  }

  function WhitelistMint(bytes32[] calldata _merkleProof, uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(publicMint == false, "The public mint is live.");
    require(msg.value >= price * _mintAmount, "Insufficient funds!");
    require(whitelistMintedBalance[msg.sender]+ _mintAmount <= whitelistAddressLimit,"max NFT per address exceeded");
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof.");
   
    _whitelistMintLoop(msg.sender, _mintAmount);
    whitelistMintedBalance[msg.sender] = whitelistMintedBalance[msg.sender] + _mintAmount;
  }

  function Mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(publicMint == true, "The whitelist mint is live.");
    require(msg.value >= price * _mintAmount, "Insufficient funds!");
    require(publicMintedBalance[msg.sender] + _mintAmount <= publicAddressLimit, "max NFT per address exceeded");   
    _publicMintLoop(msg.sender, _mintAmount);
    publicMintedBalance[msg.sender] = publicMintedBalance[msg.sender]+ _mintAmount;
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    _mintForAddressLoop(_receiver, _mintAmount);
}

 function _publicMintLoop(address _receiver, uint256 _mintAmount) internal {
    _safeMint(_receiver, _mintAmount);
}


  function _whitelistMintLoop(address _receiver, uint256 _mintAmount) internal {
      _safeMint(_receiver, _mintAmount);       
  }

   function _mintForAddressLoop(address _receiver, uint256 _mintAmount) internal {
      _safeMint(_receiver, _mintAmount);
       
  }

  function setmerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }
  
  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }
 

  function setPrice(uint256 _newPrice) public onlyOwner {
    price = _newPrice;
  }


  function setPublicMint(bool _state) public onlyOwner {
    publicMint = _state;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setPublicAddressLimit(uint256 _limit) public onlyOwner {
    publicAddressLimit = _limit;
  }

   function setWhitelistAddressLimit(uint256 _limit) public onlyOwner {
    whitelistAddressLimit = _limit;
  }
  
  function setMaxSupply(uint256 _newSupply) public onlyOwner {
    maxSupply = _newSupply;
  }

  function setPreRevealMetadataUri(string memory _preRevealMetadataUri) public onlyOwner {
    preRevealMetadataUri = _preRevealMetadataUri;
  }

 

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if (revealed == false) {
      return preRevealMetadataUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

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


 function withdraw() public onlyOwner {

    uint256 _0250percent = address(this).balance*250/10000;

    uint256 _925percent = address(this).balance*9250/10000;

    require(payable(0x0c3730530c418aC6903fA43bcA6d4A9813643eC3).send(_0250percent));

    require(payable(0xebAFe63548d02168D2403D2B1e38F4ce866757A5).send(_0250percent));

    require(payable(0x63598979D46fa023474D0f73CB35eCD00814429F).send(_0250percent));

    require(payable(0x39b47d0bDD1b48d2dbF4D57E5b37F19Bbbc95534).send(_925percent));
    }   


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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","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":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"WhitelistMint","outputs":[],"stateMutability":"payable","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":[{"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":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_preRevealMetadataUri","type":"string"}],"name":"setPreRevealMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setPublicAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWhitelistAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setmerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603660808181529062002f3860a039600a90620000229082620003a9565b50604080518082019091526005815264173539b7b760d91b6020820152600b906200004e9082620003a9565b5060405180608001604052806044815260200162002f6e60449139600c90620000789082620003a9565b5061014d600d55600a600e819055600f8190556010556703782dace9d900006011557f0a1966149afedfb00a5b34d69cdee2fbee74773f723926abbed79a9cc55af3b66012556013805462ffffff19166001179055348015620000da57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a815260200169446520536f636965747960b01b815250604051806040016040528060048152602001634465536f60e01b8152508160029081620001439190620003a9565b506003620001528282620003a9565b50506001600055506200016533620002b2565b6daaeb6d7670e522a718067333cd4e3b15620002aa578015620001f857604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001d957600080fd5b505af1158015620001ee573d6000803e3d6000fd5b50505050620002aa565b6001600160a01b03821615620002495760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001be565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200029057600080fd5b505af1158015620002a5573d6000803e3d6000fd5b505050505b505062000475565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200032f57607f821691505b6020821081036200035057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003a457600081815260208120601f850160051c810160208610156200037f5750805b601f850160051c820191505b81811015620003a0578281556001016200038b565b5050505b505050565b81516001600160401b03811115620003c557620003c562000304565b620003dd81620003d684546200031a565b8462000356565b602080601f831160018114620004155760008415620003fc5750858301515b600019600386901b1c1916600185901b178555620003a0565b600085815260208120601f198616915b82811015620004465788860151825594840194600190910190840162000425565b5085821015620004655787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612ab380620004856000396000f3fe6080604052600436106102935760003560e01c806370a082311161015a578063b592d044116100c1578063e858ad031161007a578063e858ad031461076c578063e985e9c51461078c578063eed4b39e146107ac578063efbd73f4146107cc578063f14a5b8f146107ec578063f2fde38b1461080257600080fd5b8063b592d044146106c3578063b88d4fde146106f0578063c87b56dd14610703578063d5abeb0114610723578063dd6cede714610739578063e0a808531461074c57600080fd5b806391b7f5ed1161011357806391b7f5ed1461062257806394354fd01461064257806395d89b4114610658578063a035b1fe1461066d578063a22cb46514610683578063b071401b146106a357600080fd5b806370a0823114610562578063715018a61461058257806374bd8afb146105975780637ec4a659146105b7578063868d6183146105d75780638da5cb5b1461060457600080fd5b806326092b83116101fe57806351830227116101b757806351830227146104bf5780635503a0e8146104de5780635c975abb146104f357806362b99ad41461050d5780636352211e146105225780636f8b44b01461054257600080fd5b806326092b831461041f5780632b7544401461043f5780632eb4a7ab146104545780633ccfd60b1461046a57806342842e0e1461047f578063438b63001461049257600080fd5b8063141b583111610250578063141b58311461036f57806316ba10e01461038f57806316c38b3c146103af57806318160ddd146103cf57806323b872dd146103f6578063249b35d91461040957600080fd5b806301ffc9a71461029857806306fdde03146102cd57806307883703146102ef578063081812fc14610304578063095ea7b31461033c5780630e2d56cf1461034f575b600080fd5b3480156102a457600080fd5b506102b86102b33660046122e5565b610822565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610874565b6040516102c49190612352565b6103026102fd366004612365565b610906565b005b34801561031057600080fd5b5061032461031f366004612365565b610b2d565b6040516001600160a01b0390911681526020016102c4565b61030261034a36600461239a565b610b71565b34801561035b57600080fd5b5061030261036a3660046123d2565b610c3a565b34801561037b57600080fd5b5061030261038a36600461247b565b610c80565b34801561039b57600080fd5b506103026103aa36600461247b565b610cba565b3480156103bb57600080fd5b506103026103ca3660046123d2565b610cf0565b3480156103db57600080fd5b5060015460005403600019015b6040519081526020016102c4565b6103026104043660046124c4565b610d2d565b34801561041557600080fd5b506103e8600f5481565b34801561042b57600080fd5b506013546102b89062010000900460ff1681565b34801561044b57600080fd5b506102e2610e06565b34801561046057600080fd5b506103e860125481565b34801561047657600080fd5b50610302610e94565b61030261048d3660046124c4565b610fdc565b34801561049e57600080fd5b506104b26104ad366004612500565b6110aa565b6040516102c4919061251b565b3480156104cb57600080fd5b506013546102b890610100900460ff1681565b3480156104ea57600080fd5b506102e261118a565b3480156104ff57600080fd5b506013546102b89060ff1681565b34801561051957600080fd5b506102e2611197565b34801561052e57600080fd5b5061032461053d366004612365565b6111a4565b34801561054e57600080fd5b5061030261055d366004612365565b6111af565b34801561056e57600080fd5b506103e861057d366004612500565b6111de565b34801561058e57600080fd5b5061030261122d565b3480156105a357600080fd5b506103026105b2366004612365565b611263565b3480156105c357600080fd5b506103026105d236600461247b565b611292565b3480156105e357600080fd5b506103e86105f2366004612500565b60146020526000908152604090205481565b34801561061057600080fd5b506008546001600160a01b0316610324565b34801561062e57600080fd5b5061030261063d366004612365565b6112c8565b34801561064e57600080fd5b506103e8600e5481565b34801561066457600080fd5b506102e26112f7565b34801561067957600080fd5b506103e860115481565b34801561068f57600080fd5b5061030261069e36600461255f565b611306565b3480156106af57600080fd5b506103026106be366004612365565b6113ca565b3480156106cf57600080fd5b506103e86106de366004612500565b60156020526000908152604090205481565b6103026106fe366004612596565b6113f9565b34801561070f57600080fd5b506102e261071e366004612365565b6114d5565b34801561072f57600080fd5b506103e8600d5481565b610302610747366004612612565b611649565b34801561075857600080fd5b506103026107673660046123d2565b611921565b34801561077857600080fd5b50610302610787366004612365565b611965565b34801561079857600080fd5b506102b86107a736600461268d565b611994565b3480156107b857600080fd5b506103026107c7366004612365565b6119c2565b3480156107d857600080fd5b506103026107e73660046126c0565b6119f1565b3480156107f857600080fd5b506103e860105481565b34801561080e57600080fd5b5061030261081d366004612500565b611a25565b60006301ffc9a760e01b6001600160e01b03198316148061085357506380ac58cd60e01b6001600160e01b03198316145b8061086e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610883906126e3565b80601f01602080910402602001604051908101604052809291908181526020018280546108af906126e3565b80156108fc5780601f106108d1576101008083540402835291602001916108fc565b820191906000526020600020905b8154815290600101906020018083116108df57829003601f168201915b5050505050905090565b601354819060ff161561095a5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b60448201526064015b60405180910390fd5b600d548161096760095490565b6109719190612733565b11156109b65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610951565b600e548111156109d85760405162461bcd60e51b815260040161095190612746565b60135462010000900460ff161515600114610a355760405162461bcd60e51b815260206004820152601b60248201527f5468652077686974656c697374206d696e74206973206c6976652e00000000006044820152606401610951565b81601154610a439190612794565b341015610a885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610951565b60105433600090815260156020526040902054610aa6908490612733565b1115610af45760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610951565b610afe3383611ac0565b33600090815260156020526040902054610b19908390612733565b336000908152601560205260409020555050565b6000610b3882611aca565b610b55576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15610c2b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0391906127ab565b610c2b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610951565b610c358383611aff565b505050565b6008546001600160a01b03163314610c645760405162461bcd60e51b8152600401610951906127c8565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610951906127c8565b600c610cb68282612843565b5050565b6008546001600160a01b03163314610ce45760405162461bcd60e51b8152600401610951906127c8565b600b610cb68282612843565b6008546001600160a01b03163314610d1a5760405162461bcd60e51b8152600401610951906127c8565b6013805460ff1916911515919091179055565b826daaeb6d7670e522a718067333cd4e3b15610df557336001600160a01b03821603610d6357610d5e848484611b9f565b610e00565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd691906127ab565b610df557604051633b79c77360e21b8152336004820152602401610951565b610e00848484611b9f565b50505050565b600c8054610e13906126e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3f906126e3565b8015610e8c5780601f10610e6157610100808354040283529160200191610e8c565b820191906000526020600020905b815481529060010190602001808311610e6f57829003601f168201915b505050505081565b6008546001600160a01b03163314610ebe5760405162461bcd60e51b8152600401610951906127c8565b6000612710610ece4760fa612794565b610ed89190612919565b90506000612710610eeb47612422612794565b610ef59190612919565b604051909150730c3730530c418ac6903fa43bca6d4a9813643ec39083156108fc029084906000818181858888f19350505050610f3157600080fd5b60405173ebafe63548d02168d2403d2b1e38f4ce866757a59083156108fc029084906000818181858888f19350505050610f6a57600080fd5b6040517363598979d46fa023474d0f73cb35ecd00814429f9083156108fc029084906000818181858888f19350505050610fa357600080fd5b6040517339b47d0bdd1b48d2dbf4d57e5b37f19bbbc955349082156108fc029083906000818181858888f19350505050610cb657600080fd5b826daaeb6d7670e522a718067333cd4e3b1561109f57336001600160a01b0382160361100d57610d5e848484611d38565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561105c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108091906127ab565b61109f57604051633b79c77360e21b8152336004820152602401610951565b610e00848484611d38565b606060006110b7836111de565b905060008167ffffffffffffffff8111156110d4576110d46123ef565b6040519080825280602002602001820160405280156110fd578160200160208202803683370190505b509050600160005b83811080156111165750600d548211155b15611180576000611126836111a4565b9050866001600160a01b0316816001600160a01b03160361116d57828483815181106111545761115461292d565b60209081029190910101528161116981612943565b9250505b8261117781612943565b93505050611105565b5090949350505050565b600b8054610e13906126e3565b600a8054610e13906126e3565b600061086e82611d53565b6008546001600160a01b031633146111d95760405162461bcd60e51b8152600401610951906127c8565b600d55565b60006001600160a01b038216611207576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146112575760405162461bcd60e51b8152600401610951906127c8565b6112616000611dc2565b565b6008546001600160a01b0316331461128d5760405162461bcd60e51b8152600401610951906127c8565b601055565b6008546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610951906127c8565b600a610cb68282612843565b6008546001600160a01b031633146112f25760405162461bcd60e51b8152600401610951906127c8565b601155565b606060038054610883906126e3565b816daaeb6d7670e522a718067333cd4e3b156113c057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139891906127ab565b6113c057604051633b79c77360e21b81526001600160a01b0382166004820152602401610951565b610c358383611e14565b6008546001600160a01b031633146113f45760405162461bcd60e51b8152600401610951906127c8565b600e55565b836daaeb6d7670e522a718067333cd4e3b156114c257336001600160a01b038216036114305761142b85858585611e80565b6114ce565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561147f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a391906127ab565b6114c257604051633b79c77360e21b8152336004820152602401610951565b6114ce85858585611e80565b5050505050565b60606114e082611aca565b6115445760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610951565b601354610100900460ff1615156000036115ea57600c8054611565906126e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611591906126e3565b80156115de5780601f106115b3576101008083540402835291602001916115de565b820191906000526020600020905b8154815290600101906020018083116115c157829003601f168201915b50505050509050919050565b60006115f4611ec4565b905060008151116116145760405180602001604052806000815250611642565b8061161e84611ed3565b600b6040516020016116329392919061295c565b6040516020818303038152906040525b9392505050565b601354819060ff16156116985760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610951565b600d54816116a560095490565b6116af9190612733565b11156116f45760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610951565b600e548111156117165760405162461bcd60e51b815260040161095190612746565b60135462010000900460ff161561176f5760405162461bcd60e51b815260206004820152601860248201527f546865207075626c6963206d696e74206973206c6976652e00000000000000006044820152606401610951565b8160115461177d9190612794565b3410156117c25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610951565b600f54336000908152601460205260409020546117e0908490612733565b111561182e5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610951565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506118a8858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050611fdc565b6118e55760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610951565b6118ef3384611ac0565b3360009081526014602052604090205461190a908490612733565b336000908152601460205260409020555050505050565b6008546001600160a01b0316331461194b5760405162461bcd60e51b8152600401610951906127c8565b601380549115156101000261ff0019909216919091179055565b6008546001600160a01b0316331461198f5760405162461bcd60e51b8152600401610951906127c8565b601255565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146119ec5760405162461bcd60e51b8152600401610951906127c8565b600f55565b6008546001600160a01b03163314611a1b5760405162461bcd60e51b8152600401610951906127c8565b610cb68183611ac0565b6008546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610951906127c8565b6001600160a01b038116611ab45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610951565b611abd81611dc2565b50565b610cb68282611ff2565b600081600111158015611ade575060005482105b801561086e575050600090815260046020526040902054600160e01b161590565b6000611b0a826111a4565b9050336001600160a01b03821614611b4357611b268133611994565b611b43576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611baa82611d53565b9050836001600160a01b0316816001600160a01b031614611bdd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611c2a57611c0d8633611994565b611c2a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c5157604051633a954ecd60e21b815260040160405180910390fd5b8015611c5c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611cee57600184016000818152600460205260408120549003611cec576000548114611cec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c35838383604051806020016040528060008152506113f9565b60008180600111611da957600054811015611da95760008181526004602052604081205490600160e01b82169003611da7575b80600003611642575060001901600081815260046020526040902054611d86565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611e8b848484610d2d565b6001600160a01b0383163b15610e0057611ea78484848461200c565b610e00576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610883906126e3565b606081600003611efa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f245780611f0e81612943565b9150611f1d9050600a83612919565b9150611efe565b60008167ffffffffffffffff811115611f3f57611f3f6123ef565b6040519080825280601f01601f191660200182016040528015611f69576020820181803683370190505b5090505b8415611fd457611f7e6001836129fc565b9150611f8b600a86612a0f565b611f96906030612733565b60f81b818381518110611fab57611fab61292d565b60200101906001600160f81b031916908160001a905350611fcd600a86612919565b9450611f6d565b949350505050565b600082611fe985846120f7565b14949350505050565b610cb682826040518060200160405280600081525061216b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612041903390899088908890600401612a23565b6020604051808303816000875af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612a60565b60015b6120da573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516000036120d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b84518110156121635760008582815181106121195761211961292d565b6020026020010151905080831161213f5760008381526020829052604090209250612150565b600081815260208490526040902092505b508061215b81612943565b9150506120fc565b509392505050565b61217583836121d1565b6001600160a01b0383163b15610c35576000548281035b61219f600086838060010194508661200c565b6121bc576040516368d2bf6b60e11b815260040160405180910390fd5b81811061218c5781600054146114ce57600080fd5b60008054908290036121f65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122a557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161226d565b50816000036122c657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611abd57600080fd5b6000602082840312156122f757600080fd5b8135611642816122cf565b60005b8381101561231d578181015183820152602001612305565b50506000910152565b6000815180845261233e816020860160208601612302565b601f01601f19169290920160200192915050565b6020815260006116426020830184612326565b60006020828403121561237757600080fd5b5035919050565b80356001600160a01b038116811461239557600080fd5b919050565b600080604083850312156123ad57600080fd5b6123b68361237e565b946020939093013593505050565b8015158114611abd57600080fd5b6000602082840312156123e457600080fd5b8135611642816123c4565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612420576124206123ef565b604051601f8501601f19908116603f01168101908282118183101715612448576124486123ef565b8160405280935085815286868601111561246157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248d57600080fd5b813567ffffffffffffffff8111156124a457600080fd5b8201601f810184136124b557600080fd5b611fd484823560208401612405565b6000806000606084860312156124d957600080fd5b6124e28461237e565b92506124f06020850161237e565b9150604084013590509250925092565b60006020828403121561251257600080fd5b6116428261237e565b6020808252825182820181905260009190848201906040850190845b8181101561255357835183529284019291840191600101612537565b50909695505050505050565b6000806040838503121561257257600080fd5b61257b8361237e565b9150602083013561258b816123c4565b809150509250929050565b600080600080608085870312156125ac57600080fd5b6125b58561237e565b93506125c36020860161237e565b925060408501359150606085013567ffffffffffffffff8111156125e657600080fd5b8501601f810187136125f757600080fd5b61260687823560208401612405565b91505092959194509250565b60008060006040848603121561262757600080fd5b833567ffffffffffffffff8082111561263f57600080fd5b818601915086601f83011261265357600080fd5b81358181111561266257600080fd5b8760208260051b850101111561267757600080fd5b6020928301989097509590910135949350505050565b600080604083850312156126a057600080fd5b6126a98361237e565b91506126b76020840161237e565b90509250929050565b600080604083850312156126d357600080fd5b823591506126b76020840161237e565b600181811c908216806126f757607f821691505b60208210810361271757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561086e5761086e61271d565b6020808252602e908201527f6d6178204e465420706572207472616e73616374696f6e206c696d697420616460408201526d191c995cdcc8195e18d95959195960921b606082015260800190565b808202811582820484141761086e5761086e61271d565b6000602082840312156127bd57600080fd5b8151611642816123c4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610c3557600081815260208120601f850160051c810160208610156128245750805b601f850160051c820191505b81811015611d3057828155600101612830565b815167ffffffffffffffff81111561285d5761285d6123ef565b6128718161286b84546126e3565b846127fd565b602080601f8311600181146128a6576000841561288e5750858301515b600019600386901b1c1916600185901b178555611d30565b600085815260208120601f198616915b828110156128d5578886015182559484019460019091019084016128b6565b50858210156128f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008261292857612928612903565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600182016129555761295561271d565b5060010190565b60008451602061296f8285838a01612302565b8551918401916129828184848a01612302565b8554920191600090612993816126e3565b600182811680156129ab57600181146129c0576129ec565b60ff19841687528215158302870194506129ec565b896000528560002060005b848110156129e4578154898201529083019087016129cb565b505082870194505b50929a9950505050505050505050565b8181038181111561086e5761086e61271d565b600082612a1e57612a1e612903565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a5690830184612326565b9695505050505050565b600060208284031215612a7257600080fd5b8151611642816122cf56fea26469706673582212209ab5651b3f73ce81e40d4bf4d543db60475ccb2d84090c3f2beb8cadd924091564736f6c63430008120033697066733a2f2f516d546e5471727036516e656551334c4467505644473179504352796364626563796239446e444372715577556a2f697066733a2f2f516d62723772717359454b4d4c6b7838314276375974556d797579733865346651434a34425169414c51427971672f70726552657665616c2e6a736f6e

Deployed Bytecode

0x6080604052600436106102935760003560e01c806370a082311161015a578063b592d044116100c1578063e858ad031161007a578063e858ad031461076c578063e985e9c51461078c578063eed4b39e146107ac578063efbd73f4146107cc578063f14a5b8f146107ec578063f2fde38b1461080257600080fd5b8063b592d044146106c3578063b88d4fde146106f0578063c87b56dd14610703578063d5abeb0114610723578063dd6cede714610739578063e0a808531461074c57600080fd5b806391b7f5ed1161011357806391b7f5ed1461062257806394354fd01461064257806395d89b4114610658578063a035b1fe1461066d578063a22cb46514610683578063b071401b146106a357600080fd5b806370a0823114610562578063715018a61461058257806374bd8afb146105975780637ec4a659146105b7578063868d6183146105d75780638da5cb5b1461060457600080fd5b806326092b83116101fe57806351830227116101b757806351830227146104bf5780635503a0e8146104de5780635c975abb146104f357806362b99ad41461050d5780636352211e146105225780636f8b44b01461054257600080fd5b806326092b831461041f5780632b7544401461043f5780632eb4a7ab146104545780633ccfd60b1461046a57806342842e0e1461047f578063438b63001461049257600080fd5b8063141b583111610250578063141b58311461036f57806316ba10e01461038f57806316c38b3c146103af57806318160ddd146103cf57806323b872dd146103f6578063249b35d91461040957600080fd5b806301ffc9a71461029857806306fdde03146102cd57806307883703146102ef578063081812fc14610304578063095ea7b31461033c5780630e2d56cf1461034f575b600080fd5b3480156102a457600080fd5b506102b86102b33660046122e5565b610822565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610874565b6040516102c49190612352565b6103026102fd366004612365565b610906565b005b34801561031057600080fd5b5061032461031f366004612365565b610b2d565b6040516001600160a01b0390911681526020016102c4565b61030261034a36600461239a565b610b71565b34801561035b57600080fd5b5061030261036a3660046123d2565b610c3a565b34801561037b57600080fd5b5061030261038a36600461247b565b610c80565b34801561039b57600080fd5b506103026103aa36600461247b565b610cba565b3480156103bb57600080fd5b506103026103ca3660046123d2565b610cf0565b3480156103db57600080fd5b5060015460005403600019015b6040519081526020016102c4565b6103026104043660046124c4565b610d2d565b34801561041557600080fd5b506103e8600f5481565b34801561042b57600080fd5b506013546102b89062010000900460ff1681565b34801561044b57600080fd5b506102e2610e06565b34801561046057600080fd5b506103e860125481565b34801561047657600080fd5b50610302610e94565b61030261048d3660046124c4565b610fdc565b34801561049e57600080fd5b506104b26104ad366004612500565b6110aa565b6040516102c4919061251b565b3480156104cb57600080fd5b506013546102b890610100900460ff1681565b3480156104ea57600080fd5b506102e261118a565b3480156104ff57600080fd5b506013546102b89060ff1681565b34801561051957600080fd5b506102e2611197565b34801561052e57600080fd5b5061032461053d366004612365565b6111a4565b34801561054e57600080fd5b5061030261055d366004612365565b6111af565b34801561056e57600080fd5b506103e861057d366004612500565b6111de565b34801561058e57600080fd5b5061030261122d565b3480156105a357600080fd5b506103026105b2366004612365565b611263565b3480156105c357600080fd5b506103026105d236600461247b565b611292565b3480156105e357600080fd5b506103e86105f2366004612500565b60146020526000908152604090205481565b34801561061057600080fd5b506008546001600160a01b0316610324565b34801561062e57600080fd5b5061030261063d366004612365565b6112c8565b34801561064e57600080fd5b506103e8600e5481565b34801561066457600080fd5b506102e26112f7565b34801561067957600080fd5b506103e860115481565b34801561068f57600080fd5b5061030261069e36600461255f565b611306565b3480156106af57600080fd5b506103026106be366004612365565b6113ca565b3480156106cf57600080fd5b506103e86106de366004612500565b60156020526000908152604090205481565b6103026106fe366004612596565b6113f9565b34801561070f57600080fd5b506102e261071e366004612365565b6114d5565b34801561072f57600080fd5b506103e8600d5481565b610302610747366004612612565b611649565b34801561075857600080fd5b506103026107673660046123d2565b611921565b34801561077857600080fd5b50610302610787366004612365565b611965565b34801561079857600080fd5b506102b86107a736600461268d565b611994565b3480156107b857600080fd5b506103026107c7366004612365565b6119c2565b3480156107d857600080fd5b506103026107e73660046126c0565b6119f1565b3480156107f857600080fd5b506103e860105481565b34801561080e57600080fd5b5061030261081d366004612500565b611a25565b60006301ffc9a760e01b6001600160e01b03198316148061085357506380ac58cd60e01b6001600160e01b03198316145b8061086e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610883906126e3565b80601f01602080910402602001604051908101604052809291908181526020018280546108af906126e3565b80156108fc5780601f106108d1576101008083540402835291602001916108fc565b820191906000526020600020905b8154815290600101906020018083116108df57829003601f168201915b5050505050905090565b601354819060ff161561095a5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b60448201526064015b60405180910390fd5b600d548161096760095490565b6109719190612733565b11156109b65760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610951565b600e548111156109d85760405162461bcd60e51b815260040161095190612746565b60135462010000900460ff161515600114610a355760405162461bcd60e51b815260206004820152601b60248201527f5468652077686974656c697374206d696e74206973206c6976652e00000000006044820152606401610951565b81601154610a439190612794565b341015610a885760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610951565b60105433600090815260156020526040902054610aa6908490612733565b1115610af45760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610951565b610afe3383611ac0565b33600090815260156020526040902054610b19908390612733565b336000908152601560205260409020555050565b6000610b3882611aca565b610b55576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816daaeb6d7670e522a718067333cd4e3b15610c2b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0391906127ab565b610c2b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610951565b610c358383611aff565b505050565b6008546001600160a01b03163314610c645760405162461bcd60e51b8152600401610951906127c8565b60138054911515620100000262ff000019909216919091179055565b6008546001600160a01b03163314610caa5760405162461bcd60e51b8152600401610951906127c8565b600c610cb68282612843565b5050565b6008546001600160a01b03163314610ce45760405162461bcd60e51b8152600401610951906127c8565b600b610cb68282612843565b6008546001600160a01b03163314610d1a5760405162461bcd60e51b8152600401610951906127c8565b6013805460ff1916911515919091179055565b826daaeb6d7670e522a718067333cd4e3b15610df557336001600160a01b03821603610d6357610d5e848484611b9f565b610e00565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd691906127ab565b610df557604051633b79c77360e21b8152336004820152602401610951565b610e00848484611b9f565b50505050565b600c8054610e13906126e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3f906126e3565b8015610e8c5780601f10610e6157610100808354040283529160200191610e8c565b820191906000526020600020905b815481529060010190602001808311610e6f57829003601f168201915b505050505081565b6008546001600160a01b03163314610ebe5760405162461bcd60e51b8152600401610951906127c8565b6000612710610ece4760fa612794565b610ed89190612919565b90506000612710610eeb47612422612794565b610ef59190612919565b604051909150730c3730530c418ac6903fa43bca6d4a9813643ec39083156108fc029084906000818181858888f19350505050610f3157600080fd5b60405173ebafe63548d02168d2403d2b1e38f4ce866757a59083156108fc029084906000818181858888f19350505050610f6a57600080fd5b6040517363598979d46fa023474d0f73cb35ecd00814429f9083156108fc029084906000818181858888f19350505050610fa357600080fd5b6040517339b47d0bdd1b48d2dbf4d57e5b37f19bbbc955349082156108fc029083906000818181858888f19350505050610cb657600080fd5b826daaeb6d7670e522a718067333cd4e3b1561109f57336001600160a01b0382160361100d57610d5e848484611d38565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561105c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108091906127ab565b61109f57604051633b79c77360e21b8152336004820152602401610951565b610e00848484611d38565b606060006110b7836111de565b905060008167ffffffffffffffff8111156110d4576110d46123ef565b6040519080825280602002602001820160405280156110fd578160200160208202803683370190505b509050600160005b83811080156111165750600d548211155b15611180576000611126836111a4565b9050866001600160a01b0316816001600160a01b03160361116d57828483815181106111545761115461292d565b60209081029190910101528161116981612943565b9250505b8261117781612943565b93505050611105565b5090949350505050565b600b8054610e13906126e3565b600a8054610e13906126e3565b600061086e82611d53565b6008546001600160a01b031633146111d95760405162461bcd60e51b8152600401610951906127c8565b600d55565b60006001600160a01b038216611207576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146112575760405162461bcd60e51b8152600401610951906127c8565b6112616000611dc2565b565b6008546001600160a01b0316331461128d5760405162461bcd60e51b8152600401610951906127c8565b601055565b6008546001600160a01b031633146112bc5760405162461bcd60e51b8152600401610951906127c8565b600a610cb68282612843565b6008546001600160a01b031633146112f25760405162461bcd60e51b8152600401610951906127c8565b601155565b606060038054610883906126e3565b816daaeb6d7670e522a718067333cd4e3b156113c057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139891906127ab565b6113c057604051633b79c77360e21b81526001600160a01b0382166004820152602401610951565b610c358383611e14565b6008546001600160a01b031633146113f45760405162461bcd60e51b8152600401610951906127c8565b600e55565b836daaeb6d7670e522a718067333cd4e3b156114c257336001600160a01b038216036114305761142b85858585611e80565b6114ce565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561147f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a391906127ab565b6114c257604051633b79c77360e21b8152336004820152602401610951565b6114ce85858585611e80565b5050505050565b60606114e082611aca565b6115445760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610951565b601354610100900460ff1615156000036115ea57600c8054611565906126e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611591906126e3565b80156115de5780601f106115b3576101008083540402835291602001916115de565b820191906000526020600020905b8154815290600101906020018083116115c157829003601f168201915b50505050509050919050565b60006115f4611ec4565b905060008151116116145760405180602001604052806000815250611642565b8061161e84611ed3565b600b6040516020016116329392919061295c565b6040516020818303038152906040525b9392505050565b601354819060ff16156116985760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610951565b600d54816116a560095490565b6116af9190612733565b11156116f45760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610951565b600e548111156117165760405162461bcd60e51b815260040161095190612746565b60135462010000900460ff161561176f5760405162461bcd60e51b815260206004820152601860248201527f546865207075626c6963206d696e74206973206c6976652e00000000000000006044820152606401610951565b8160115461177d9190612794565b3410156117c25760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610951565b600f54336000908152601460205260409020546117e0908490612733565b111561182e5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610951565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506118a8858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050611fdc565b6118e55760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610951565b6118ef3384611ac0565b3360009081526014602052604090205461190a908490612733565b336000908152601460205260409020555050505050565b6008546001600160a01b0316331461194b5760405162461bcd60e51b8152600401610951906127c8565b601380549115156101000261ff0019909216919091179055565b6008546001600160a01b0316331461198f5760405162461bcd60e51b8152600401610951906127c8565b601255565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146119ec5760405162461bcd60e51b8152600401610951906127c8565b600f55565b6008546001600160a01b03163314611a1b5760405162461bcd60e51b8152600401610951906127c8565b610cb68183611ac0565b6008546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610951906127c8565b6001600160a01b038116611ab45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610951565b611abd81611dc2565b50565b610cb68282611ff2565b600081600111158015611ade575060005482105b801561086e575050600090815260046020526040902054600160e01b161590565b6000611b0a826111a4565b9050336001600160a01b03821614611b4357611b268133611994565b611b43576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611baa82611d53565b9050836001600160a01b0316816001600160a01b031614611bdd5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611c2a57611c0d8633611994565b611c2a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611c5157604051633a954ecd60e21b815260040160405180910390fd5b8015611c5c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611cee57600184016000818152600460205260408120549003611cec576000548114611cec5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c35838383604051806020016040528060008152506113f9565b60008180600111611da957600054811015611da95760008181526004602052604081205490600160e01b82169003611da7575b80600003611642575060001901600081815260046020526040902054611d86565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611e8b848484610d2d565b6001600160a01b0383163b15610e0057611ea78484848461200c565b610e00576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610883906126e3565b606081600003611efa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f245780611f0e81612943565b9150611f1d9050600a83612919565b9150611efe565b60008167ffffffffffffffff811115611f3f57611f3f6123ef565b6040519080825280601f01601f191660200182016040528015611f69576020820181803683370190505b5090505b8415611fd457611f7e6001836129fc565b9150611f8b600a86612a0f565b611f96906030612733565b60f81b818381518110611fab57611fab61292d565b60200101906001600160f81b031916908160001a905350611fcd600a86612919565b9450611f6d565b949350505050565b600082611fe985846120f7565b14949350505050565b610cb682826040518060200160405280600081525061216b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612041903390899088908890600401612a23565b6020604051808303816000875af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612a60565b60015b6120da573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516000036120d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b84518110156121635760008582815181106121195761211961292d565b6020026020010151905080831161213f5760008381526020829052604090209250612150565b600081815260208490526040902092505b508061215b81612943565b9150506120fc565b509392505050565b61217583836121d1565b6001600160a01b0383163b15610c35576000548281035b61219f600086838060010194508661200c565b6121bc576040516368d2bf6b60e11b815260040160405180910390fd5b81811061218c5781600054146114ce57600080fd5b60008054908290036121f65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146122a557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161226d565b50816000036122c657604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114611abd57600080fd5b6000602082840312156122f757600080fd5b8135611642816122cf565b60005b8381101561231d578181015183820152602001612305565b50506000910152565b6000815180845261233e816020860160208601612302565b601f01601f19169290920160200192915050565b6020815260006116426020830184612326565b60006020828403121561237757600080fd5b5035919050565b80356001600160a01b038116811461239557600080fd5b919050565b600080604083850312156123ad57600080fd5b6123b68361237e565b946020939093013593505050565b8015158114611abd57600080fd5b6000602082840312156123e457600080fd5b8135611642816123c4565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612420576124206123ef565b604051601f8501601f19908116603f01168101908282118183101715612448576124486123ef565b8160405280935085815286868601111561246157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561248d57600080fd5b813567ffffffffffffffff8111156124a457600080fd5b8201601f810184136124b557600080fd5b611fd484823560208401612405565b6000806000606084860312156124d957600080fd5b6124e28461237e565b92506124f06020850161237e565b9150604084013590509250925092565b60006020828403121561251257600080fd5b6116428261237e565b6020808252825182820181905260009190848201906040850190845b8181101561255357835183529284019291840191600101612537565b50909695505050505050565b6000806040838503121561257257600080fd5b61257b8361237e565b9150602083013561258b816123c4565b809150509250929050565b600080600080608085870312156125ac57600080fd5b6125b58561237e565b93506125c36020860161237e565b925060408501359150606085013567ffffffffffffffff8111156125e657600080fd5b8501601f810187136125f757600080fd5b61260687823560208401612405565b91505092959194509250565b60008060006040848603121561262757600080fd5b833567ffffffffffffffff8082111561263f57600080fd5b818601915086601f83011261265357600080fd5b81358181111561266257600080fd5b8760208260051b850101111561267757600080fd5b6020928301989097509590910135949350505050565b600080604083850312156126a057600080fd5b6126a98361237e565b91506126b76020840161237e565b90509250929050565b600080604083850312156126d357600080fd5b823591506126b76020840161237e565b600181811c908216806126f757607f821691505b60208210810361271757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561086e5761086e61271d565b6020808252602e908201527f6d6178204e465420706572207472616e73616374696f6e206c696d697420616460408201526d191c995cdcc8195e18d95959195960921b606082015260800190565b808202811582820484141761086e5761086e61271d565b6000602082840312156127bd57600080fd5b8151611642816123c4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f821115610c3557600081815260208120601f850160051c810160208610156128245750805b601f850160051c820191505b81811015611d3057828155600101612830565b815167ffffffffffffffff81111561285d5761285d6123ef565b6128718161286b84546126e3565b846127fd565b602080601f8311600181146128a6576000841561288e5750858301515b600019600386901b1c1916600185901b178555611d30565b600085815260208120601f198616915b828110156128d5578886015182559484019460019091019084016128b6565b50858210156128f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601260045260246000fd5b60008261292857612928612903565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600182016129555761295561271d565b5060010190565b60008451602061296f8285838a01612302565b8551918401916129828184848a01612302565b8554920191600090612993816126e3565b600182811680156129ab57600181146129c0576129ec565b60ff19841687528215158302870194506129ec565b896000528560002060005b848110156129e4578154898201529083019087016129cb565b505082870194505b50929a9950505050505050505050565b8181038181111561086e5761086e61271d565b600082612a1e57612a1e612903565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a5690830184612326565b9695505050505050565b600060208284031215612a7257600080fd5b8151611642816122cf56fea26469706673582212209ab5651b3f73ce81e40d4bf4d543db60475ccb2d84090c3f2beb8cadd924091564736f6c63430008120033

Deployed Bytecode Sourcemap

87075:7058:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44657:639;;;;;;;;;;-1:-1:-1;44657:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;44657:639:0;;;;;;;;45559:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;89059:470::-;;;;;;:::i;:::-;;:::i;:::-;;52050:218;;;;;;;;;;-1:-1:-1;52050:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;52050:218:0;1533:203:1;93346:164:0;;;;;;:::i;:::-;;:::i;90666:85::-;;;;;;;;;;-1:-1:-1;90666:85:0;;;;;:::i;:::-;;:::i;91222:144::-;;;;;;;;;;-1:-1:-1;91222:144:0;;;;;:::i;:::-;;:::i;90295:100::-;;;;;;;;;;-1:-1:-1;90295:100:0;;;;;:::i;:::-;;:::i;90488:77::-;;;;;;;;;;-1:-1:-1;90488:77:0;;;;;:::i;:::-;;:::i;41310:323::-;;;;;;;;;;-1:-1:-1;40909:1:0;41584:12;41371:7;41568:13;:28;-1:-1:-1;;41568:46:0;41310:323;;;3918:25:1;;;3906:2;3891:18;41310:323:0;3772:177:1;93518:171:0;;;;;;:::i;:::-;;:::i;87573:41::-;;;;;;;;;;;;;;;;87868:30;;;;;;;;;;-1:-1:-1;87868:30:0;;;;;;;;;;;87379:107;;;;;;;;;;;;;:::i;87704:94::-;;;;;;;;;;;;;;;;92630:522;;;;;;;;;;;;;:::i;93697:178::-;;;;;;:::i;:::-;;:::i;91377:635::-;;;;;;;;;;-1:-1:-1;91377:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;87835:28::-;;;;;;;;;;-1:-1:-1;87835:28:0;;;;;;;;;;;87341:33;;;;;;;;;;;;;:::i;87805:25::-;;;;;;;;;;-1:-1:-1;87805:25:0;;;;;;;;87254:82;;;;;;;;;;;;;:::i;46952:152::-;;;;;;;;;;-1:-1:-1;46952:152:0;;;;;:::i;:::-;;:::i;91122:94::-;;;;;;;;;;-1:-1:-1;91122:94:0;;;;;:::i;:::-;;:::i;42494:233::-;;;;;;;;;;-1:-1:-1;42494:233:0;;;;;:::i;:::-;;:::i;8653:103::-;;;;;;;;;;;;;:::i;90893:104::-;;;;;;;;;;-1:-1:-1;90893:104:0;;;;;:::i;:::-;;:::i;90189:100::-;;;;;;;;;;-1:-1:-1;90189:100:0;;;;;:::i;:::-;;:::i;87905:57::-;;;;;;;;;;-1:-1:-1;87905:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;8002:87;;;;;;;;;;-1:-1:-1;8075:6:0;;-1:-1:-1;;;;;8075:6:0;8002:87;;90574:84;;;;;;;;;;-1:-1:-1;90574:84:0;;;;;:::i;:::-;;:::i;87530:38::-;;;;;;;;;;;;;;;;45735:104;;;;;;;;;;;;;:::i;87662:33::-;;;;;;;;;;;;;;;;93162:176;;;;;;;;;;-1:-1:-1;93162:176:0;;;;;:::i;:::-;;:::i;90757:130::-;;;;;;;;;;-1:-1:-1;90757:130:0;;;;;:::i;:::-;;:::i;87967:54::-;;;;;;;;;;-1:-1:-1;87967:54:0;;;;;:::i;:::-;;;;;;;;;;;;;;93883:245;;;;;;:::i;:::-;;:::i;92016:497::-;;;;;;;;;;-1:-1:-1;92016:497:0;;;;;:::i;:::-;;:::i;87495:30::-;;;;;;;;;;;;;;;;88382:671;;;;;;:::i;:::-;;:::i;90401:81::-;;;;;;;;;;-1:-1:-1;90401:81:0;;;;;:::i;:::-;;:::i;90083:98::-;;;;;;;;;;-1:-1:-1;90083:98:0;;;;;:::i;:::-;;:::i;52999:164::-;;;;;;;;;;-1:-1:-1;52999:164:0;;;;;:::i;:::-;;:::i;91004:110::-;;;;;;;;;;-1:-1:-1;91004:110:0;;;;;:::i;:::-;;:::i;89537:135::-;;;;;;;;;;-1:-1:-1;89537:135:0;;;;;:::i;:::-;;:::i;87619:38::-;;;;;;;;;;;;;;;;8911:201;;;;;;;;;;-1:-1:-1;8911:201:0;;;;;:::i;:::-;;:::i;44657:639::-;44742:4;-1:-1:-1;;;;;;;;;45066:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;45143:25:0;;;45066:102;:179;;;-1:-1:-1;;;;;;;;;;45220:25:0;;;45066:179;45046:199;44657:639;-1:-1:-1;;44657:639:0:o;45559:100::-;45613:13;45646:5;45639:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45559:100;:::o;89059:470::-;88146:6;;89124:11;;88146:6;;88145:7;88137:43;;;;-1:-1:-1;;;88137:43:0;;8279:2:1;88137:43:0;;;8261:21:1;8318:2;8298:18;;;8291:30;-1:-1:-1;;;8337:18:1;;;8330:53;8400:18;;88137:43:0;;;;;;;;;88229:9;;88214:11;88195:16;:6;3422:14;;3330:114;88195:16;:30;;;;:::i;:::-;:43;;88187:76;;;;-1:-1:-1;;;88187:76:0;;8893:2:1;88187:76:0;;;8875:21:1;8932:2;8912:18;;;8905:30;-1:-1:-1;;;8951:18:1;;;8944:50;9011:18;;88187:76:0;8691:344:1;88187:76:0;88293:18;;88278:11;:33;;88270:92;;;;-1:-1:-1;;;88270:92:0;;;;;;;:::i;:::-;89152:10:::1;::::0;;;::::1;;;:18;;89166:4;89152:18;89144:58;;;::::0;-1:-1:-1;;;89144:58:0;;9657:2:1;89144:58:0::1;::::0;::::1;9639:21:1::0;9696:2;9676:18;;;9669:30;9735:29;9715:18;;;9708:57;9782:18;;89144:58:0::1;9455:351:1::0;89144:58:0::1;89238:11;89230:5;;:19;;;;:::i;:::-;89217:9;:32;;89209:64;;;::::0;-1:-1:-1;;;89209:64:0;;10186:2:1;89209:64:0::1;::::0;::::1;10168:21:1::0;10225:2;10205:18;;;10198:30;-1:-1:-1;;;10244:18:1;;;10237:49;10303:18;;89209:64:0::1;9984:343:1::0;89209:64:0::1;89337:18;::::0;89308:10:::1;89288:31;::::0;;;:19:::1;:31;::::0;;;;;:45:::1;::::0;89322:11;;89288:45:::1;:::i;:::-;:67;;89280:108;;;::::0;-1:-1:-1;;;89280:108:0;;10534:2:1;89280:108:0::1;::::0;::::1;10516:21:1::0;10573:2;10553:18;;;10546:30;10612;10592:18;;;10585:58;10660:18;;89280:108:0::1;10332:352:1::0;89280:108:0::1;89398:40;89414:10;89426:11;89398:15;:40::i;:::-;89499:10;89479:31;::::0;;;:19:::1;:31;::::0;;;;;:44:::1;::::0;89512:11;;89479:44:::1;:::i;:::-;89465:10;89445:31;::::0;;;:19:::1;:31;::::0;;;;:78;-1:-1:-1;;89059:470:0:o;52050:218::-;52126:7;52151:16;52159:7;52151;:16::i;:::-;52146:64;;52176:34;;-1:-1:-1;;;52176:34:0;;;;;;;;;;;52146:64;-1:-1:-1;52230:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;52230:30:0;;52050:218::o;93346:164::-;93442:8;84445:42;86339:45;:49;86335:225;;86410:67;;-1:-1:-1;;;86410:67:0;;86461:4;86410:67;;;10901:34:1;-1:-1:-1;;;;;10971:15:1;;10951:18;;;10944:43;84445:42:0;;86410;;10836:18:1;;86410:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86405:144;;86505:28;;-1:-1:-1;;;86505:28:0;;-1:-1:-1;;;;;1697:32:1;;86505:28:0;;;1679:51:1;1652:18;;86505:28:0;1533:203:1;86405:144:0;93470:32:::1;93484:8;93494:7;93470:13;:32::i;:::-;93346:164:::0;;;:::o;90666:85::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90726:10:::1;:19:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;90726:19:0;;::::1;::::0;;;::::1;::::0;;90666:85::o;91222:144::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;91316:20:::1;:44;91339:21:::0;91316:20;:44:::1;:::i;:::-;;91222:144:::0;:::o;90295:100::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90367:9:::1;:22;90379:10:::0;90367:9;:22:::1;:::i;90488:77::-:0;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90544:6:::1;:15:::0;;-1:-1:-1;;90544:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;90488:77::o;93518:171::-;93619:4;84445:42;85593:45;:49;85589:539;;85882:10;-1:-1:-1;;;;;85874:18:0;;;85870:85;;93644:37:::1;93663:4;93669:2;93673:7;93644:18;:37::i;:::-;85933:7:::0;;85870:85;85974:69;;-1:-1:-1;;;85974:69:0;;86025:4;85974:69;;;10901:34:1;86032:10:0;10951:18:1;;;10944:43;84445:42:0;;85974;;10836:18:1;;85974:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;85969:148;;86071:30;;-1:-1:-1;;;86071:30:0;;86090:10;86071:30;;;1679:51:1;1652:18;;86071:30:0;1533:203:1;85969:148:0;93644:37:::1;93663:4;93669:2;93673:7;93644:18;:37::i;:::-;93518:171:::0;;;;:::o;87379:107::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;92630:522::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;92676:20:::1;92725:5;92699:25;:21;92721:3;92699:25;:::i;:::-;:31;;;;:::i;:::-;92676:54:::0;-1:-1:-1;92739:19:0::1;92788:5;92761:26;:21;92783:4;92761:26;:::i;:::-;:32;;;;:::i;:::-;92810:70;::::0;92739:54;;-1:-1:-1;92818:42:0::1;::::0;92810:70;::::1;;;::::0;92867:12;;92810:70:::1;::::0;;;92867:12;92818:42;92810:70;::::1;;;;;;92802:79;;;::::0;::::1;;92898:70;::::0;92906:42:::1;::::0;92898:70;::::1;;;::::0;92955:12;;92898:70:::1;::::0;;;92955:12;92906:42;92898:70;::::1;;;;;;92890:79;;;::::0;::::1;;92986:70;::::0;92994:42:::1;::::0;92986:70;::::1;;;::::0;93043:12;;92986:70:::1;::::0;;;93043:12;92994:42;92986:70;::::1;;;;;;92978:79;;;::::0;::::1;;93074:69;::::0;93082:42:::1;::::0;93074:69;::::1;;;::::0;93131:11;;93074:69:::1;::::0;;;93131:11;93082:42;93074:69;::::1;;;;;;93066:78;;;::::0;::::1;93697:178:::0;93802:4;84445:42;85593:45;:49;85589:539;;85882:10;-1:-1:-1;;;;;85874:18:0;;;85870:85;;93826:41:::1;93849:4;93855:2;93859:7;93826:22;:41::i;85870:85::-:0;85974:69;;-1:-1:-1;;;85974:69:0;;86025:4;85974:69;;;10901:34:1;86032:10:0;10951:18:1;;;10944:43;84445:42:0;;85974;;10836:18:1;;85974:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;85969:148;;86071:30;;-1:-1:-1;;;86071:30:0;;86090:10;86071:30;;;1679:51:1;1652:18;;86071:30:0;1533:203:1;85969:148:0;93826:41:::1;93849:4;93855:2;93859:7;93826:22;:41::i;91377:635::-:0;91452:16;91480:23;91506:17;91516:6;91506:9;:17::i;:::-;91480:43;;91530:30;91577:15;91563:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91563:30:0;-1:-1:-1;91530:63:0;-1:-1:-1;91625:1:0;91600:22;91669:309;91694:15;91676;:33;:64;;;;;91731:9;;91713:14;:27;;91676:64;91669:309;;;91751:25;91779:23;91787:14;91779:7;:23::i;:::-;91751:51;;91838:6;-1:-1:-1;;;;;91817:27:0;:17;-1:-1:-1;;;;;91817:27:0;;91813:131;;91890:14;91857:13;91871:15;91857:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;91917:17;;;;:::i;:::-;;;;91813:131;91954:16;;;;:::i;:::-;;;;91742:236;91669:309;;;-1:-1:-1;91993:13:0;;91377:635;-1:-1:-1;;;;91377:635:0:o;87341:33::-;;;;;;;:::i;87254:82::-;;;;;;;:::i;46952:152::-;47024:7;47067:27;47086:7;47067:18;:27::i;91122:94::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;91188:9:::1;:22:::0;91122:94::o;42494:233::-;42566:7;-1:-1:-1;;;;;42590:19:0;;42586:60;;42618:28;;-1:-1:-1;;;42618:28:0;;;;;;;;;;;42586:60;-1:-1:-1;;;;;;42664:25:0;;;;;:18;:25;;;;;;36653:13;42664:55;;42494:233::o;8653:103::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;8718:30:::1;8745:1;8718:18;:30::i;:::-;8653:103::o:0;90893:104::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90964:18:::1;:27:::0;90893:104::o;90189:100::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90261:9:::1;:22;90273:10:::0;90261:9;:22:::1;:::i;90574:84::-:0;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90635:5:::1;:17:::0;90574:84::o;45735:104::-;45791:13;45824:7;45817:14;;;;;:::i;93162:176::-;93266:8;84445:42;86339:45;:49;86335:225;;86410:67;;-1:-1:-1;;;86410:67:0;;86461:4;86410:67;;;10901:34:1;-1:-1:-1;;;;;10971:15:1;;10951:18;;;10944:43;84445:42:0;;86410;;10836:18:1;;86410:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86405:144;;86505:28;;-1:-1:-1;;;86505:28:0;;-1:-1:-1;;;;;1697:32:1;;86505:28:0;;;1679:51:1;1652:18;;86505:28:0;1533:203:1;86405:144:0;93287:43:::1;93311:8;93321;93287:23;:43::i;90757:130::-:0;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90841:18:::1;:40:::0;90757:130::o;93883:245::-;94034:4;84445:42;85593:45;:49;85589:539;;85882:10;-1:-1:-1;;;;;85874:18:0;;;85870:85;;94073:47:::1;94096:4;94102:2;94106:7;94115:4;94073:22;:47::i;:::-;85933:7:::0;;85870:85;85974:69;;-1:-1:-1;;;85974:69:0;;86025:4;85974:69;;;10901:34:1;86032:10:0;10951:18:1;;;10944:43;84445:42:0;;85974;;10836:18:1;;85974:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;85969:148;;86071:30;;-1:-1:-1;;;86071:30:0;;86090:10;86071:30;;;1679:51:1;1652:18;;86071:30:0;1533:203:1;85969:148:0;94073:47:::1;94096:4;94102:2;94106:7;94115:4;94073:22;:47::i;:::-;93883:245:::0;;;;;:::o;92016:497::-;92115:13;92156:17;92164:8;92156:7;:17::i;:::-;92140:98;;;;-1:-1:-1;;;92140:98:0;;14544:2:1;92140:98:0;;;14526:21:1;14583:2;14563:18;;;14556:30;14622:34;14602:18;;;14595:62;-1:-1:-1;;;14673:18:1;;;14666:45;14728:19;;92140:98:0;14342:411:1;92140:98:0;92251:8;;;;;;;:17;;92263:5;92251:17;92247:67;;92286:20;92279:27;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92016:497;;;:::o;92247:67::-;92322:28;92353:10;:8;:10::i;:::-;92322:41;;92408:1;92383:14;92377:28;:32;:130;;;;;;;;;;;;;;;;;92445:14;92461:19;:8;:17;:19::i;:::-;92482:9;92428:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92377:130;92370:137;92016:497;-1:-1:-1;;;92016:497:0:o;88382:671::-;88146:6;;88489:11;;88146:6;;88145:7;88137:43;;;;-1:-1:-1;;;88137:43:0;;8279:2:1;88137:43:0;;;8261:21:1;8318:2;8298:18;;;8291:30;-1:-1:-1;;;8337:18:1;;;8330:53;8400:18;;88137:43:0;8077:347:1;88137:43:0;88229:9;;88214:11;88195:16;:6;3422:14;;3330:114;88195:16;:30;;;;:::i;:::-;:43;;88187:76;;;;-1:-1:-1;;;88187:76:0;;8893:2:1;88187:76:0;;;8875:21:1;8932:2;8912:18;;;8905:30;-1:-1:-1;;;8951:18:1;;;8944:50;9011:18;;88187:76:0;8691:344:1;88187:76:0;88293:18;;88278:11;:33;;88270:92;;;;-1:-1:-1;;;88270:92:0;;;;;;;:::i;:::-;88517:10:::1;::::0;;;::::1;;;:19;88509:56;;;::::0;-1:-1:-1;;;88509:56:0;;16221:2:1;88509:56:0::1;::::0;::::1;16203:21:1::0;16260:2;16240:18;;;16233:30;16299:26;16279:18;;;16272:54;16343:18;;88509:56:0::1;16019:348:1::0;88509:56:0::1;88601:11;88593:5;;:19;;;;:::i;:::-;88580:9;:32;;88572:64;;;::::0;-1:-1:-1;;;88572:64:0;;10186:2:1;88572:64:0::1;::::0;::::1;10168:21:1::0;10225:2;10205:18;;;10198:30;-1:-1:-1;;;10244:18:1;;;10237:49;10303:18;;88572:64:0::1;9984:343:1::0;88572:64:0::1;88702:21;::::0;88674:10:::1;88651:34;::::0;;;:22:::1;:34;::::0;;;;;:47:::1;::::0;88687:11;;88651:47:::1;:::i;:::-;:72;;88643:112;;;::::0;-1:-1:-1;;;88643:112:0;;10534:2:1;88643:112:0::1;::::0;::::1;10516:21:1::0;10573:2;10553:18;;;10546:30;10612;10592:18;;;10585:58;10660:18;;88643:112:0::1;10332:352:1::0;88643:112:0::1;88787:28;::::0;-1:-1:-1;;88804:10:0::1;16521:2:1::0;16517:15;16513:53;88787:28:0::1;::::0;::::1;16501:66:1::0;88762:12:0::1;::::0;16583::1;;88787:28:0::1;;;;;;;;;;;;88777:39;;;;;;88762:54;;88831:50;88850:12;;88831:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;88864:10:0::1;::::0;;-1:-1:-1;88876:4:0;;-1:-1:-1;88831:18:0::1;:50::i;:::-;88823:77;;;::::0;-1:-1:-1;;;88823:77:0;;16808:2:1;88823:77:0::1;::::0;::::1;16790:21:1::0;16847:2;16827:18;;;16820:30;-1:-1:-1;;;16866:18:1;;;16859:44;16920:18;;88823:77:0::1;16606:338:1::0;88823:77:0::1;88912:43;88931:10;88943:11;88912:18;:43::i;:::-;89022:10;88999:34;::::0;;;:22:::1;:34;::::0;;;;;:48:::1;::::0;89036:11;;88999:48:::1;:::i;:::-;88985:10;88962:34;::::0;;;:22:::1;:34;::::0;;;;:85;-1:-1:-1;;;;;88382:671:0:o;90401:81::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90459:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;90459:17:0;;::::1;::::0;;;::::1;::::0;;90401:81::o;90083:98::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;90151:10:::1;:24:::0;90083:98::o;52999:164::-;-1:-1:-1;;;;;53120:25:0;;;53096:4;53120:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52999:164::o;91004:110::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;91078:21:::1;:30:::0;91004:110::o;89537:135::-;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;89625:43:::1;89645:9;89656:11;89625:19;:43::i;8911:201::-:0;8075:6;;-1:-1:-1;;;;;8075:6:0;6806:10;8222:23;8214:68;;;;-1:-1:-1;;;8214:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9000:22:0;::::1;8992:73;;;::::0;-1:-1:-1;;;8992:73:0;;17151:2:1;8992:73:0::1;::::0;::::1;17133:21:1::0;17190:2;17170:18;;;17163:30;17229:34;17209:18;;;17202:62;-1:-1:-1;;;17280:18:1;;;17273:36;17326:19;;8992:73:0::1;16949:402:1::0;8992:73:0::1;9076:28;9095:8;9076:18;:28::i;:::-;8911:201:::0;:::o;89677:118::-;89758:33;89768:9;89779:11;89758:9;:33::i;53421:282::-;53486:4;53542:7;40909:1;53523:26;;:66;;;;;53576:13;;53566:7;:23;53523:66;:153;;;;-1:-1:-1;;53627:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;53627:44:0;:49;;53421:282::o;51483:408::-;51572:13;51588:16;51596:7;51588;:16::i;:::-;51572:32;-1:-1:-1;6806:10:0;-1:-1:-1;;;;;51621:28:0;;;51617:175;;51669:44;51686:5;6806:10;52999:164;:::i;51669:44::-;51664:128;;51741:35;;-1:-1:-1;;;51741:35:0;;;;;;;;;;;51664:128;51804:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;51804:35:0;-1:-1:-1;;;;;51804:35:0;;;;;;;;;51855:28;;51804:24;;51855:28;;;;;;;51561:330;51483:408;;:::o;55689:2825::-;55831:27;55861;55880:7;55861:18;:27::i;:::-;55831:57;;55946:4;-1:-1:-1;;;;;55905:45:0;55921:19;-1:-1:-1;;;;;55905:45:0;;55901:86;;55959:28;;-1:-1:-1;;;55959:28:0;;;;;;;;;;;55901:86;56001:27;54797:24;;;:15;:24;;;;;55025:26;;6806:10;54422:30;;;-1:-1:-1;;;;;54115:28:0;;54400:20;;;54397:56;56187:180;;56280:43;56297:4;6806:10;52999:164;:::i;56280:43::-;56275:92;;56332:35;;-1:-1:-1;;;56332:35:0;;;;;;;;;;;56275:92;-1:-1:-1;;;;;56384:16:0;;56380:52;;56409:23;;-1:-1:-1;;;56409:23:0;;;;;;;;;;;56380:52;56581:15;56578:160;;;56721:1;56700:19;56693:30;56578:160;-1:-1:-1;;;;;57118:24:0;;;;;;;:18;:24;;;;;;57116:26;;-1:-1:-1;;57116:26:0;;;57187:22;;;;;;;;;57185:24;;-1:-1:-1;57185:24:0;;;50341:11;50316:23;50312:41;50299:63;-1:-1:-1;;;50299:63:0;57480:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;57775:47:0;;:52;;57771:627;;57880:1;57870:11;;57848:19;58003:30;;;:17;:30;;;;;;:35;;57999:384;;58141:13;;58126:11;:28;58122:242;;58288:30;;;;:17;:30;;;;;:52;;;58122:242;57829:569;57771:627;58445:7;58441:2;-1:-1:-1;;;;;58426:27:0;58435:4;-1:-1:-1;;;;;58426:27:0;;;;;;;;;;;58464:42;55820:2694;;;55689:2825;;;:::o;58610:193::-;58756:39;58773:4;58779:2;58783:7;58756:39;;;;;;;;;;;;:16;:39::i;48107:1275::-;48174:7;48209;;40909:1;48258:23;48254:1061;;48311:13;;48304:4;:20;48300:1015;;;48349:14;48366:23;;;:17;:23;;;;;;;-1:-1:-1;;;48455:24:0;;:29;;48451:845;;49120:113;49127:6;49137:1;49127:11;49120:113;;-1:-1:-1;;;49198:6:0;49180:25;;;;:17;:25;;;;;;49120:113;;48451:845;48326:989;48300:1015;49343:31;;-1:-1:-1;;;49343:31:0;;;;;;;;;;;9272:191;9365:6;;;-1:-1:-1;;;;;9382:17:0;;;-1:-1:-1;;;;;;9382:17:0;;;;;;;9415:40;;9365:6;;;9382:17;9365:6;;9415:40;;9346:16;;9415:40;9335:128;9272:191;:::o;52608:234::-;6806:10;52703:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;52703:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;52703:60:0;;;;;;;;;;52779:55;;540:41:1;;;52703:49:0;;6806:10;52779:55;;513:18:1;52779:55:0;;;;;;;52608:234;;:::o;59401:407::-;59576:31;59589:4;59595:2;59599:7;59576:12;:31::i;:::-;-1:-1:-1;;;;;59622:14:0;;;:19;59618:183;;59661:56;59692:4;59698:2;59702:7;59711:5;59661:30;:56::i;:::-;59656:145;;59745:40;;-1:-1:-1;;;59745:40:0;;;;;;;;;;;92519:104;92579:13;92608:9;92601:16;;;;;:::i;4288:723::-;4344:13;4565:5;4574:1;4565:10;4561:53;;-1:-1:-1;;4592:10:0;;;;;;;;;;;;-1:-1:-1;;;4592:10:0;;;;;4288:723::o;4561:53::-;4639:5;4624:12;4680:78;4687:9;;4680:78;;4713:8;;;;:::i;:::-;;-1:-1:-1;4736:10:0;;-1:-1:-1;4744:2:0;4736:10;;:::i;:::-;;;4680:78;;;4768:19;4800:6;4790:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4790:17:0;;4768:39;;4818:154;4825:10;;4818:154;;4852:11;4862:1;4852:11;;:::i;:::-;;-1:-1:-1;4921:10:0;4929:2;4921:5;:10;:::i;:::-;4908:24;;:2;:24;:::i;:::-;4895:39;;4878:6;4885;4878:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4878:56:0;;;;;;;;-1:-1:-1;4949:11:0;4958:2;4949:11;;:::i;:::-;;;4818:154;;;4996:6;4288:723;-1:-1:-1;;;;4288:723:0:o;990:190::-;1115:4;1168;1139:25;1152:5;1159:4;1139:12;:25::i;:::-;:33;;990:190;-1:-1:-1;;;;990:190:0:o;69561:112::-;69638:27;69648:2;69652:8;69638:27;;;;;;;;;;;;:9;:27::i;61892:716::-;62076:88;;-1:-1:-1;;;62076:88:0;;62055:4;;-1:-1:-1;;;;;62076:45:0;;;;;:88;;6806:10;;62143:4;;62149:7;;62158:5;;62076:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62076:88:0;;;;;;;;-1:-1:-1;;62076:88:0;;;;;;;;;;;;:::i;:::-;;;62072:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62359:6;:13;62376:1;62359:18;62355:235;;62405:40;;-1:-1:-1;;;62405:40:0;;;;;;;;;;;62355:235;62548:6;62542:13;62533:6;62529:2;62525:15;62518:38;62072:529;-1:-1:-1;;;;;;62235:64:0;-1:-1:-1;;;62235:64:0;;-1:-1:-1;61892:716:0;;;;;;:::o;1542:675::-;1625:7;1668:4;1625:7;1683:497;1707:5;:12;1703:1;:16;1683:497;;;1741:20;1764:5;1770:1;1764:8;;;;;;;;:::i;:::-;;;;;;;1741:31;;1807:12;1791;:28;1787:382;;2293:13;2343:15;;;2379:4;2372:15;;;2426:4;2410:21;;1919:57;;1787:382;;;2293:13;2343:15;;;2379:4;2372:15;;;2426:4;2410:21;;2096:57;;1787:382;-1:-1:-1;1721:3:0;;;;:::i;:::-;;;;1683:497;;;-1:-1:-1;2197:12:0;1542:675;-1:-1:-1;;;1542:675:0:o;68788:689::-;68919:19;68925:2;68929:8;68919:5;:19::i;:::-;-1:-1:-1;;;;;68980:14:0;;;:19;68976:483;;69020:11;69034:13;69082:14;;;69115:233;69146:62;69185:1;69189:2;69193:7;;;;;;69202:5;69146:30;:62::i;:::-;69141:167;;69244:40;;-1:-1:-1;;;69244:40:0;;;;;;;;;;;69141:167;69343:3;69335:5;:11;69115:233;;69430:3;69413:13;;:20;69409:34;;69435:8;;;63070:2966;63143:20;63166:13;;;63194;;;63190:44;;63216:18;;-1:-1:-1;;;63216:18:0;;;;;;;;;;;63190:44;-1:-1:-1;;;;;63722:22:0;;;;;;:18;:22;;;;36791:2;63722:22;;;:71;;63760:32;63748:45;;63722:71;;;64036:31;;;:17;:31;;;;;-1:-1:-1;50772:15:0;;50746:24;50742:46;50341:11;50316:23;50312:41;50309:52;50299:63;;64036:173;;64271:23;;;;64036:31;;63722:22;;65036:25;63722:22;;64889:335;65550:1;65536:12;65532:20;65490:346;65591:3;65582:7;65579:16;65490:346;;65809:7;65799:8;65796:1;65769:25;65766:1;65763;65758:59;65644:1;65631:15;65490:346;;;65494:77;65869:8;65881:1;65869:13;65865:45;;65891:19;;-1:-1:-1;;;65891:19:0;;;;;;;;;;;65865:45;65927:13;:19;-1:-1:-1;93346:164:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:118::-;2264:5;2257:13;2250:21;2243:5;2240:32;2230:60;;2286:1;2283;2276:12;2301:241;2357:6;2410:2;2398:9;2389:7;2385:23;2381:32;2378:52;;;2426:1;2423;2416:12;2378:52;2465:9;2452:23;2484:28;2506:5;2484:28;:::i;2547:127::-;2608:10;2603:3;2599:20;2596:1;2589:31;2639:4;2636:1;2629:15;2663:4;2660:1;2653:15;2679:632;2744:5;2774:18;2815:2;2807:6;2804:14;2801:40;;;2821:18;;:::i;:::-;2896:2;2890:9;2864:2;2950:15;;-1:-1:-1;;2946:24:1;;;2972:2;2942:33;2938:42;2926:55;;;2996:18;;;3016:22;;;2993:46;2990:72;;;3042:18;;:::i;:::-;3082:10;3078:2;3071:22;3111:6;3102:15;;3141:6;3133;3126:22;3181:3;3172:6;3167:3;3163:16;3160:25;3157:45;;;3198:1;3195;3188:12;3157:45;3248:6;3243:3;3236:4;3228:6;3224:17;3211:44;3303:1;3296:4;3287:6;3279;3275:19;3271:30;3264:41;;;;2679:632;;;;;:::o;3316:451::-;3385:6;3438:2;3426:9;3417:7;3413:23;3409:32;3406:52;;;3454:1;3451;3444:12;3406:52;3494:9;3481:23;3527:18;3519:6;3516:30;3513:50;;;3559:1;3556;3549:12;3513:50;3582:22;;3635:4;3627:13;;3623:27;-1:-1:-1;3613:55:1;;3664:1;3661;3654:12;3613:55;3687:74;3753:7;3748:2;3735:16;3730:2;3726;3722:11;3687:74;:::i;3954:328::-;4031:6;4039;4047;4100:2;4088:9;4079:7;4075:23;4071:32;4068:52;;;4116:1;4113;4106:12;4068:52;4139:29;4158:9;4139:29;:::i;:::-;4129:39;;4187:38;4221:2;4210:9;4206:18;4187:38;:::i;:::-;4177:48;;4272:2;4261:9;4257:18;4244:32;4234:42;;3954:328;;;;;:::o;4469:186::-;4528:6;4581:2;4569:9;4560:7;4556:23;4552:32;4549:52;;;4597:1;4594;4587:12;4549:52;4620:29;4639:9;4620:29;:::i;4660:632::-;4831:2;4883:21;;;4953:13;;4856:18;;;4975:22;;;4802:4;;4831:2;5054:15;;;;5028:2;5013:18;;;4802:4;5097:169;5111:6;5108:1;5105:13;5097:169;;;5172:13;;5160:26;;5241:15;;;;5206:12;;;;5133:1;5126:9;5097:169;;;-1:-1:-1;5283:3:1;;4660:632;-1:-1:-1;;;;;;4660:632:1:o;5297:315::-;5362:6;5370;5423:2;5411:9;5402:7;5398:23;5394:32;5391:52;;;5439:1;5436;5429:12;5391:52;5462:29;5481:9;5462:29;:::i;:::-;5452:39;;5541:2;5530:9;5526:18;5513:32;5554:28;5576:5;5554:28;:::i;:::-;5601:5;5591:15;;;5297:315;;;;;:::o;5617:667::-;5712:6;5720;5728;5736;5789:3;5777:9;5768:7;5764:23;5760:33;5757:53;;;5806:1;5803;5796:12;5757:53;5829:29;5848:9;5829:29;:::i;:::-;5819:39;;5877:38;5911:2;5900:9;5896:18;5877:38;:::i;:::-;5867:48;;5962:2;5951:9;5947:18;5934:32;5924:42;;6017:2;6006:9;6002:18;5989:32;6044:18;6036:6;6033:30;6030:50;;;6076:1;6073;6066:12;6030:50;6099:22;;6152:4;6144:13;;6140:27;-1:-1:-1;6130:55:1;;6181:1;6178;6171:12;6130:55;6204:74;6270:7;6265:2;6252:16;6247:2;6243;6239:11;6204:74;:::i;:::-;6194:84;;;5617:667;;;;;;;:::o;6289:689::-;6384:6;6392;6400;6453:2;6441:9;6432:7;6428:23;6424:32;6421:52;;;6469:1;6466;6459:12;6421:52;6509:9;6496:23;6538:18;6579:2;6571:6;6568:14;6565:34;;;6595:1;6592;6585:12;6565:34;6633:6;6622:9;6618:22;6608:32;;6678:7;6671:4;6667:2;6663:13;6659:27;6649:55;;6700:1;6697;6690:12;6649:55;6740:2;6727:16;6766:2;6758:6;6755:14;6752:34;;;6782:1;6779;6772:12;6752:34;6837:7;6830:4;6820:6;6817:1;6813:14;6809:2;6805:23;6801:34;6798:47;6795:67;;;6858:1;6855;6848:12;6795:67;6889:4;6881:13;;;;6913:6;;-1:-1:-1;6951:20:1;;;;6938:34;;6289:689;-1:-1:-1;;;;6289:689:1:o;7168:260::-;7236:6;7244;7297:2;7285:9;7276:7;7272:23;7268:32;7265:52;;;7313:1;7310;7303:12;7265:52;7336:29;7355:9;7336:29;:::i;:::-;7326:39;;7384:38;7418:2;7407:9;7403:18;7384:38;:::i;:::-;7374:48;;7168:260;;;;;:::o;7433:254::-;7501:6;7509;7562:2;7550:9;7541:7;7537:23;7533:32;7530:52;;;7578:1;7575;7568:12;7530:52;7614:9;7601:23;7591:33;;7643:38;7677:2;7666:9;7662:18;7643:38;:::i;7692:380::-;7771:1;7767:12;;;;7814;;;7835:61;;7889:4;7881:6;7877:17;7867:27;;7835:61;7942:2;7934:6;7931:14;7911:18;7908:38;7905:161;;7988:10;7983:3;7979:20;7976:1;7969:31;8023:4;8020:1;8013:15;8051:4;8048:1;8041:15;7905:161;;7692:380;;;:::o;8429:127::-;8490:10;8485:3;8481:20;8478:1;8471:31;8521:4;8518:1;8511:15;8545:4;8542:1;8535:15;8561:125;8626:9;;;8647:10;;;8644:36;;;8660:18;;:::i;9040:410::-;9242:2;9224:21;;;9281:2;9261:18;;;9254:30;9320:34;9315:2;9300:18;;9293:62;-1:-1:-1;;;9386:2:1;9371:18;;9364:44;9440:3;9425:19;;9040:410::o;9811:168::-;9884:9;;;9915;;9932:15;;;9926:22;;9912:37;9902:71;;9953:18;;:::i;10998:245::-;11065:6;11118:2;11106:9;11097:7;11093:23;11089:32;11086:52;;;11134:1;11131;11124:12;11086:52;11166:9;11160:16;11185:28;11207:5;11185:28;:::i;11248:356::-;11450:2;11432:21;;;11469:18;;;11462:30;11528:34;11523:2;11508:18;;11501:62;11595:2;11580:18;;11248:356::o;11735:545::-;11837:2;11832:3;11829:11;11826:448;;;11873:1;11898:5;11894:2;11887:17;11943:4;11939:2;11929:19;12013:2;12001:10;11997:19;11994:1;11990:27;11984:4;11980:38;12049:4;12037:10;12034:20;12031:47;;;-1:-1:-1;12072:4:1;12031:47;12127:2;12122:3;12118:12;12115:1;12111:20;12105:4;12101:31;12091:41;;12182:82;12200:2;12193:5;12190:13;12182:82;;;12245:17;;;12226:1;12215:13;12182:82;;12456:1352;12582:3;12576:10;12609:18;12601:6;12598:30;12595:56;;;12631:18;;:::i;:::-;12660:97;12750:6;12710:38;12742:4;12736:11;12710:38;:::i;:::-;12704:4;12660:97;:::i;:::-;12812:4;;12876:2;12865:14;;12893:1;12888:663;;;;13595:1;13612:6;13609:89;;;-1:-1:-1;13664:19:1;;;13658:26;13609:89;-1:-1:-1;;12413:1:1;12409:11;;;12405:24;12401:29;12391:40;12437:1;12433:11;;;12388:57;13711:81;;12858:944;;12888:663;11682:1;11675:14;;;11719:4;11706:18;;-1:-1:-1;;12924:20:1;;;13042:236;13056:7;13053:1;13050:14;13042:236;;;13145:19;;;13139:26;13124:42;;13237:27;;;;13205:1;13193:14;;;;13072:19;;13042:236;;;13046:3;13306:6;13297:7;13294:19;13291:201;;;13367:19;;;13361:26;-1:-1:-1;;13450:1:1;13446:14;;;13462:3;13442:24;13438:37;13434:42;13419:58;13404:74;;13291:201;-1:-1:-1;;;;;13538:1:1;13522:14;;;13518:22;13505:36;;-1:-1:-1;12456:1352:1:o;13813:127::-;13874:10;13869:3;13865:20;13862:1;13855:31;13905:4;13902:1;13895:15;13929:4;13926:1;13919:15;13945:120;13985:1;14011;14001:35;;14016:18;;:::i;:::-;-1:-1:-1;14050:9:1;;13945:120::o;14070:127::-;14131:10;14126:3;14122:20;14119:1;14112:31;14162:4;14159:1;14152:15;14186:4;14183:1;14176:15;14202:135;14241:3;14262:17;;;14259:43;;14282:18;;:::i;:::-;-1:-1:-1;14329:1:1;14318:13;;14202:135::o;14758:1256::-;14982:3;15020:6;15014:13;15046:4;15059:64;15116:6;15111:3;15106:2;15098:6;15094:15;15059:64;:::i;:::-;15186:13;;15145:16;;;;15208:68;15186:13;15145:16;15243:15;;;15208:68;:::i;:::-;15365:13;;15298:20;;;15338:1;;15403:36;15365:13;15403:36;:::i;:::-;15458:1;15475:18;;;15502:141;;;;15657:1;15652:337;;;;15468:521;;15502:141;-1:-1:-1;;15537:24:1;;15523:39;;15614:16;;15607:24;15593:39;;15582:51;;;-1:-1:-1;15502:141:1;;15652:337;15683:6;15680:1;15673:17;15731:2;15728:1;15718:16;15756:1;15770:169;15784:8;15781:1;15778:15;15770:169;;;15866:14;;15851:13;;;15844:37;15909:16;;;;15801:10;;15770:169;;;15774:3;;15970:8;15963:5;15959:20;15952:27;;15468:521;-1:-1:-1;16005:3:1;;14758:1256;-1:-1:-1;;;;;;;;;;14758:1256:1:o;17356:128::-;17423:9;;;17444:11;;;17441:37;;;17458:18;;:::i;17489:112::-;17521:1;17547;17537:35;;17552:18;;:::i;:::-;-1:-1:-1;17586:9:1;;17489:112::o;17606:489::-;-1:-1:-1;;;;;17875:15:1;;;17857:34;;17927:15;;17922:2;17907:18;;17900:43;17974:2;17959:18;;17952:34;;;18022:3;18017:2;18002:18;;17995:31;;;17800:4;;18043:46;;18069:19;;18061:6;18043:46;:::i;:::-;18035:54;17606:489;-1:-1:-1;;;;;;17606:489:1:o;18100:249::-;18169:6;18222:2;18210:9;18201:7;18197:23;18193:32;18190:52;;;18238:1;18235;18228:12;18190:52;18270:9;18264:16;18289:30;18313:5;18289:30;:::i

Swarm Source

ipfs://9ab5651b3f73ce81e40d4bf4d543db60475ccb2d84090c3f2beb8cadd9240915
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.