ETH Price: $3,348.41 (-1.20%)

Token

Dreaming Music (DM)
 

Overview

Max Total Supply

401 DM

Holders

183

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 DM
0x236a21e7ce1490022598379bdd3ff6c627a71b23
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:
DREAMING_MUSIC

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : DREAMING_MUSIC.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "erc721psi/contracts/ERC721Psi.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

contract DREAMING_MUSIC is
    ERC721Psi,
    ERC2981,
    Ownable,
    ReentrancyGuard,
    DefaultOperatorFilterer
{
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 1000;
    uint256 public constant PRE_PRICE = 0.01 ether;
    uint256 public constant PUB_PRICE = 0.015 ether;

    bool private _revealed;
    string private _baseTokenURI;
    string private _unrevealedURI = "https://example.com";

    mapping(uint256 => uint256) public mintLimit; // 0: AL1, 1: AL2, 2: Public
    mapping(uint256 => bool) public saleStart; // 0: AL1, 1: AL2, 2: Public
    mapping(uint256 => bytes32) public merkleRoot; // 0: AL1, 1: AL2
    mapping(address => uint256) public claimed;
    mapping(uint256 => mapping(address => uint256)) public phaseClaimed;  // 0: AL1, 1: AL2, 2: Public
    mapping(uint256 => uint256) public orders; // Token ID => OrderNum
    mapping(uint256 => uint256) public orderCount; // Token ID => OrderCount

    struct ProjectMember {
        address founder;
        address developer;
    }
    ProjectMember private _member;

    constructor() ERC721Psi("Dreaming Music", "DM") {
        mintLimit[0] = 2;
        mintLimit[1] = 2;
        mintLimit[2] = 4;
        _member.founder = address(0x43486d604Ea92ac9049dd97e9fD8E6c72B51Afcf);
        _member.developer = address(0x48A23fb6f56F9c14D29FA47A4f45b3a03167dDAe);
        _setDefaultRoyalty(address(0x43486d604Ea92ac9049dd97e9fD8E6c72B51Afcf), 1000);
    }

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

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override(ERC721Psi)
        returns (string memory)
    {
        if (_revealed) {
            return
                string(abi.encodePacked(ERC721Psi.tokenURI(_tokenId), ".json"));
        } else {
            return _unrevealedURI;
        }
    }

    function pubMint(uint256 _orderNum) public payable nonReentrant {
        uint256 supply = totalSupply();
        uint256 cost = PUB_PRICE;
        require(saleStart[2], "Before sale begin.");
        require(_orderNum > 60 && _orderNum <= MAX_SUPPLY, "Order range out.");
        _mintCheck(2, supply, cost);

        claimed[msg.sender] += 1;
        phaseClaimed[2][msg.sender] += 1;
        orders[supply + 1] = _orderNum;
        orderCount[_orderNum] += 1;
        _safeMint(msg.sender, 1);
    }

    function checkMerkleProof(uint256 _mintType, bytes32[] calldata _merkleProof)
        public
        view
        returns (bool)
    {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verifyCalldata(_merkleProof, merkleRoot[_mintType], leaf);
    }

    function preMint(uint256 _mintType, bytes32[] calldata _merkleProof, uint256 _orderNum)
        public
        payable
        nonReentrant
    {
        uint256 supply = totalSupply();
        uint256 cost = PRE_PRICE * 1;
        require(saleStart[_mintType], "Before sale begin.");
        require(_orderNum > 60 && _orderNum <= MAX_SUPPLY, "Order range out.");
        _mintCheck(_mintType, supply, cost);

        require(checkMerkleProof(_mintType, _merkleProof), "Invalid Merkle Proof");

        claimed[msg.sender] += 1;
        phaseClaimed[_mintType][msg.sender] += 1;
        orders[supply + 1] = _orderNum;
        orderCount[_orderNum] += 1;
        _safeMint(msg.sender, 1);
    }

    function _mintCheck(
        uint256 _mintType,
        uint256 _supply,
        uint256 _cost
    ) private view {
        require(_supply + 1 <= MAX_SUPPLY, "Max supply over");
        require(msg.value >= _cost, "Not enough funds");
        require(
            phaseClaimed[_mintType][msg.sender] + 1 <= mintLimit[_mintType],
            "Already claimed max"
        );
    }

    function ownerMint(address _address, uint256 _quantity) public onlyOwner {
        uint256 supply = totalSupply();
        require(supply + _quantity <= MAX_SUPPLY, "Max supply over");
        _safeMint(_address, _quantity);
    }

    // only owner
    function setUnrevealedURI(string calldata _uri) public onlyOwner {
        _unrevealedURI = _uri;
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        _baseTokenURI = _uri;
    }

    function setMerkleRoot(uint256 _saleType, bytes32 _merkleRoot) public onlyOwner {
        merkleRoot[_saleType] = _merkleRoot;
    }

    function setSaleStart(uint256 _saleType, bool _state) public onlyOwner {
        saleStart[_saleType] = _state;
    }

    function setMintLimit(uint256 _saleType, uint256 _quantity) public onlyOwner {
        mintLimit[_saleType] = _quantity;
    }

    function reveal(bool _state) public onlyOwner {
        _revealed = _state;
    }


    // 報酬配分
    function setMemberAddress(
        address _founder,
        address _developer
    ) public onlyOwner {
        _member.founder = _founder;
        _member.developer = _developer;
    }

    function withdraw() external onlyOwner {
        require(
            _member.founder != address(0) && _member.developer != address(0),
            "Please set member address"
        );

        uint256 balance = address(this).balance;
        Address.sendValue(payable(_member.founder), ((balance * 8000) / 10000));
        Address.sendValue(payable(_member.developer), ((balance * 2000) / 10000));
    }

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

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

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

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

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

    // Royality
    function setRoyalty(address _royaltyAddress, uint96 _feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(_royaltyAddress, _feeNumerator);
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 4 of 24 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 6 of 24 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 7 of 24 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 8 of 24 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 9 of 24 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 24 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 11 of 24 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 12 of 24 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 24 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 18 of 24 : ERC721Psi.sol
// SPDX-License-Identifier: MIT
/**
  ______ _____   _____ ______ ___  __ _  _  _
 |  ____|  __ \ / ____|____  |__ \/_ | || || |
 | |__  | |__) | |        / /   ) || | \| |/ |
 |  __| |  _  /| |       / /   / / | |\_   _/
 | |____| | \ \| |____  / /   / /_ | |  | |
 |______|_|  \_\\_____|/_/   |____||_|  |_|


 */

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/StorageSlot.sol";
import "solidity-bits/contracts/BitMaps.sol";


contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;
    using BitMaps for BitMaps.BitMap;

    BitMaps.BitMap private _batchHead;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) internal _owners;
    uint256 internal _minted = 1;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner)
        public
        view
        virtual
        override
        returns (uint)
    {
        require(owner != address(0), "ERC721Psi: balance query for the zero address");

        uint count;
        for( uint i = 1; i < _minted; ++i ){
            if(_exists(i)){
                if( owner == ownerOf(i)){
                    ++count;
                }
            }
        }
        return count;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        (address owner, ) = _ownerAndBatchHeadOf(tokenId);
        return owner;
    }

    function _ownerAndBatchHeadOf(uint256 tokenId) internal view returns (address owner, uint256 tokenIdBatchHead){
        require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token");
        tokenIdBatchHead = _getBatchHead(tokenId);
        owner = _owners[tokenIdBatchHead];
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token");

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

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }


    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721Psi: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721Psi: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721Psi: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721Psi: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Psi: transfer caller is not owner nor approved"
        );

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "ERC721Psi: transfer caller is not owner nor approved"
        );
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, 1,_data),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _minted;
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId)
        internal
        view
        virtual
        returns (bool)
    {
        require(
            _exists(tokenId),
            "ERC721Psi: operator query for nonexistent token"
        );
        address owner = ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, spender));
    }

    /**
     * @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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, "");
    }


    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        uint256 startTokenId = _minted;
        _mint(to, quantity);
        require(
            _checkOnERC721Received(address(0), to, startTokenId, quantity, _data),
            "ERC721Psi: transfer to non ERC721Receiver implementer"
        );
    }


    function _mint(
        address to,
        uint256 quantity
    ) internal virtual {
        uint256 tokenIdBatchHead = _minted;

        require(quantity > 0, "ERC721Psi: quantity must be greater 0");
        require(to != address(0), "ERC721Psi: mint to the zero address");

        _beforeTokenTransfers(address(0), to, tokenIdBatchHead, quantity);
        _minted += quantity;
        _owners[tokenIdBatchHead] = to;
        _batchHead.set(tokenIdBatchHead);
        _afterTokenTransfers(address(0), to, tokenIdBatchHead, quantity);

        // Emit events
        for(uint256 tokenId=tokenIdBatchHead;tokenId < tokenIdBatchHead + quantity; tokenId++){
            emit Transfer(address(0), to, tokenId);
        }
    }


    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId);

        require(
            owner == from,
            "ERC721Psi: transfer of token that is not own"
        );
        require(to != address(0), "ERC721Psi: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        uint256 nextTokenId = tokenId + 1;

        if(!_batchHead.get(nextTokenId) &&
            nextTokenId < _minted
        ) {
            _owners[nextTokenId] = from;
            _batchHead.set(nextTokenId);
        }

        _owners[tokenId] = to;
        if(tokenId != tokenIdBatchHead) {
            _batchHead.set(tokenId);
        }

        emit Transfer(from, to, tokenId);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param startTokenId uint256 the first ID of the tokens to be transferred
     * @param quantity uint256 amount of the tokens to be transfered.
     * @param _data bytes optional data to send along with the call
     * @return r bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity,
        bytes memory _data
    ) private returns (bool r) {
        if (to.isContract()) {
            r = true;
            for(uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++){
                try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                    r = r && retval == IERC721Receiver.onERC721Received.selector;
                } catch (bytes memory reason) {
                    if (reason.length == 0) {
                        revert("ERC721Psi: transfer to non ERC721Receiver implementer");
                    } else {
                        assembly {
                            revert(add(32, reason), mload(reason))
                        }
                    }
                }
            }
            return r;
        } else {
            return true;
        }
    }

    function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) {
        tokenIdBatchHead = _batchHead.scanForward(tokenId);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _minted - 1;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256 tokenId) {
        require(index < totalSupply(), "ERC721Psi: global index out of bounds");

        uint count;
        for(uint i = 1; i < _minted; i++){
            if(_exists(i)){
                if(count == index) return i;
                else count++;
            }
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) {
        uint count;
        for(uint i = 1; i < _minted; i++){
            if(_exists(i) && owner == ownerOf(i)){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Psi: owner index out of bounds");
    }


    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * 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`.
     */
    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.
     *
     * 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` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 19 of 24 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

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

File 20 of 24 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 21 of 24 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

File 22 of 24 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

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

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

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

File 23 of 24 : BitMaps.sol
// SPDX-License-Identifier: MIT
/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */
pragma solidity ^0.8.0;

import "./BitScan.sol";

/**
 * @dev This Library is a modified version of Openzeppelin's BitMaps library.
 * Functions of finding the index of the closest set bit from a given index are added.
 * The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB.
 * The modification of indexing makes finding the closest previous set bit more efficient in gas usage.
*/

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */

library BitMaps {
    using BitScan for uint256;
    uint256 private constant MASK_INDEX_ZERO = (1 << 255);
    uint256 private constant MASK_FULL = type(uint256).max;

    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = MASK_INDEX_ZERO >> (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }


    /**
     * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`.
     */    
    function setBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                bitmap._data[bucket] |= MASK_FULL << (256 - amount) >> bucketStartIndex;
            } else {
                bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex;
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    bitmap._data[bucket] = MASK_FULL;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] |= MASK_FULL << (256 - amount);
            }
        }
    }


    /**
     * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`.
     */    
    function unsetBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

        unchecked {
            if(bucketStartIndex + amount < 256) {
                bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount) >> bucketStartIndex);
            } else {
                bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex);
                amount -= (256 - bucketStartIndex);
                bucket++;

                while(amount > 256) {
                    bitmap._data[bucket] = 0;
                    amount -= 256;
                    bucket++;
                }

                bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount));
            }
        }
    }


    /**
     * @dev Find the closest index of the set bit before `index`.
     */
    function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256 setBitIndex) {
        uint256 bucket = index >> 8;

        // index within the bucket
        uint256 bucketIndex = (index & 0xff);

        // load a bitboard from the bitmap.
        uint256 bb = bitmap._data[bucket];

        // offset the bitboard to scan from `bucketIndex`.
        bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex)
        
        if(bb > 0) {
            unchecked {
                setBitIndex = (bucket << 8) | (bucketIndex -  bb.bitScanForward256());    
            }
        } else {
            while(true) {
                require(bucket > 0, "BitMaps: The set bit before the index doesn't exist.");
                unchecked {
                    bucket--;
                }
                // No offset. Always scan from the least significiant bit now.
                bb = bitmap._data[bucket];
                
                if(bb > 0) {
                    unchecked {
                        setBitIndex = (bucket << 8) | (255 -  bb.bitScanForward256());
                        break;
                    }
                } 
            }
        }
    }

    function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) {
        return bitmap._data[bucket];
    }
}

File 24 of 24 : BitScan.sol
// SPDX-License-Identifier: MIT
/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

- npm: https://www.npmjs.com/package/solidity-bits
- github: https://github.com/estarriolvetch/solidity-bits

 */

pragma solidity ^0.8.0;


library BitScan {
    uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff;
    bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8";

    /**
        @dev Isolate the least significant set bit.
     */ 
    function isolateLS1B256(uint256 bb) pure internal returns (uint256) {
        require(bb > 0);
        unchecked {
            return bb & (0 - bb);
        }
    } 

    /**
        @dev Isolate the most significant set bit.
     */ 
    function isolateMS1B256(uint256 bb) pure internal returns (uint256) {
        require(bb > 0);
        unchecked {
            bb |= bb >> 128;
            bb |= bb >> 64;
            bb |= bb >> 32;
            bb |= bb >> 16;
            bb |= bb >> 8;
            bb |= bb >> 4;
            bb |= bb >> 2;
            bb |= bb >> 1;
            
            return (bb >> 1) + 1;
        }
    } 

    /**
        @dev Find the index of the lest significant set bit. (trailing zero count)
     */ 
    function bitScanForward256(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]);
        }   
    }

    /**
        @dev Find the index of the most significant set bit.
     */ 
    function bitScanReverse256(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]);
        }   
    }

    function log2(uint256 bb) pure internal returns (uint8) {
        unchecked {
            return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]);
        } 
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUB_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","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":"_mintType","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"orderCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"orders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"phaseClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintType","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_orderNum","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_orderNum","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"saleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_founder","type":"address"},{"internalType":"address","name":"_developer","type":"address"}],"name":"setMemberAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleType","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleType","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleType","type":"uint256"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setSaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setUnrevealedURI","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016004556040518060400160405280601381526020017f68747470733a2f2f6578616d706c652e636f6d00000000000000000000000000815250600d908051906020019062000056929190620006e1565b503480156200006457600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600e81526020017f447265616d696e67204d757369630000000000000000000000000000000000008152506040518060400160405280600281526020017f444d000000000000000000000000000000000000000000000000000000000000815250816001908051906020019062000100929190620006e1565b50806002908051906020019062000119929190620006e1565b5050506200013c620001306200046660201b60201c565b6200046e60201b60201c565b6001600a8190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000339578015620001ff576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001c5929190620007d6565b600060405180830381600087803b158015620001e057600080fd5b505af1158015620001f5573d6000803e3d6000fd5b5050505062000338565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002b9576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200027f929190620007d6565b600060405180830381600087803b1580156200029a57600080fd5b505af1158015620002af573d6000803e3d6000fd5b5050505062000337565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000302919062000803565b600060405180830381600087803b1580156200031d57600080fd5b505af115801562000332573d6000803e3d6000fd5b505050505b5b5b50506002600e6000808152602001908152602001600020819055506002600e600060018152602001908152602001600020819055506004600e600060028152602001908152602001600020819055507343486d604ea92ac9049dd97e9fd8e6c72b51afcf601560000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507348a23fb6f56f9c14d29fa47a4f45b3a03167ddae601560010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620004607343486d604ea92ac9049dd97e9fd8e6c72b51afcf6103e86200053460201b60201c565b6200099f565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000544620006d760201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620005a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200059c90620008a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000617576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200060e9062000919565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620006ef906200096a565b90600052602060002090601f0160209004810192826200071357600085556200075f565b82601f106200072e57805160ff19168380011785556200075f565b828001600101855582156200075f579182015b828111156200075e57825182559160200191906001019062000741565b5b5090506200076e919062000772565b5090565b5b808211156200078d57600081600090555060010162000773565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007be8262000791565b9050919050565b620007d081620007b1565b82525050565b6000604082019050620007ed6000830185620007c5565b620007fc6020830184620007c5565b9392505050565b60006020820190506200081a6000830184620007c5565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200088f602a8362000820565b91506200089c8262000831565b604082019050919050565b60006020820190508181036000830152620008c28162000880565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200090160198362000820565b91506200090e82620008c9565b602082019050919050565b600060208201905081810360008301526200093481620008f2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200098357607f821691505b6020821081036200099957620009986200093b565b5b50919050565b615a8780620009af6000396000f3fe6080604052600436106102675760003560e01c80636352211e11610144578063add1e709116100b6578063c87b56dd1161007a578063c87b56dd14610959578063c884ef8314610996578063e521aa94146109d3578063e985e9c514610a10578063f2fde38b14610a4d578063fe2c7fee14610a7657610267565b8063add1e70914610897578063b472070f146108c0578063b88d4fde146108eb578063c1d9df8d14610914578063c30565fb1461093057610267565b80638f2fc60b116101085780638f2fc60b14610798578063940cd05b146107c1578063952466dd146107ea57806395d89b4114610806578063a22cb46514610831578063a85c38ef1461085a57610267565b80636352211e146106b35780636fad40d5146106f057806370a0823114610719578063715018a6146107565780638da5cb5b1461076d57610267565b806333763d9a116101dd578063484b973c116101a1578063484b973c1461057f5780634f6ccce7146105a857806354f5ba81146105e5578063556fedd21461062257806355f804b31461064d5780635c64ef661461067657610267565b806333763d9a1461049a5780633c70b357146104d75780633ccfd60b1461051457806341f434341461052b57806342842e0e1461055657610267565b806318712c211161022f57806318712c21146103655780631c731e191461038e57806323b872dd146103cb5780632a55205a146103f45780632f745c591461043257806332cb6b0c1461046f57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806318160ddd1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613a7a565b610a9f565b6040516102a09190613ac2565b60405180910390f35b3480156102b557600080fd5b506102be610ac1565b6040516102cb9190613b76565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613bce565b610b53565b6040516103089190613c3c565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613c83565b610bd8565b005b34801561034657600080fd5b5061034f610bf1565b60405161035c9190613cd2565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613d23565b610c07565b005b34801561039a57600080fd5b506103b560048036038101906103b09190613dc8565b610c2b565b6040516103c29190613ac2565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613e28565b610c80565b005b34801561040057600080fd5b5061041b60048036038101906104169190613e7b565b610ccf565b604051610429929190613ebb565b60405180910390f35b34801561043e57600080fd5b5061045960048036038101906104549190613c83565b610eb9565b6040516104669190613cd2565b60405180910390f35b34801561047b57600080fd5b50610484610f8f565b6040516104919190613cd2565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613bce565b610f95565b6040516104ce9190613cd2565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613bce565b610fad565b60405161050b9190613ef3565b60405180910390f35b34801561052057600080fd5b50610529610fc5565b005b34801561053757600080fd5b5061054061115a565b60405161054d9190613f6d565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e28565b61116c565b005b34801561058b57600080fd5b506105a660048036038101906105a19190613c83565b6111bb565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613bce565b61122e565b6040516105dc9190613cd2565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190613f88565b6112d4565b6040516106199190613cd2565b60405180910390f35b34801561062e57600080fd5b506106376112f9565b6040516106449190613cd2565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f919061401e565b611304565b005b34801561068257600080fd5b5061069d60048036038101906106989190613bce565b611322565b6040516106aa9190613ac2565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613bce565b611342565b6040516106e79190613c3c565b60405180910390f35b3480156106fc57600080fd5b5061071760048036038101906107129190613e7b565b61135a565b005b34801561072557600080fd5b50610740600480360381019061073b919061406b565b61137e565b60405161074d9190613cd2565b60405180910390f35b34801561076257600080fd5b5061076b611472565b005b34801561077957600080fd5b50610782611486565b60405161078f9190613c3c565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba91906140dc565b6114b0565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190614148565b6114c6565b005b61080460048036038101906107ff9190614175565b6114eb565b005b34801561081257600080fd5b5061081b611746565b6040516108289190613b76565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906141e9565b6117d8565b005b34801561086657600080fd5b50610881600480360381019061087c9190613bce565b6117f1565b60405161088e9190613cd2565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190614229565b611809565b005b3480156108cc57600080fd5b506108d561189d565b6040516108e29190613cd2565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190614399565b6118a8565b005b61092e60048036038101906109299190613bce565b6118f9565b005b34801561093c57600080fd5b506109576004803603810190610952919061441c565b611afe565b005b34801561096557600080fd5b50610980600480360381019061097b9190613bce565b611b35565b60405161098d9190613b76565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b8919061406b565b611c0e565b6040516109ca9190613cd2565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f59190613bce565b611c26565b604051610a079190613cd2565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190614229565b611c3e565b604051610a449190613ac2565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f919061406b565b611cd2565b005b348015610a8257600080fd5b50610a9d6004803603810190610a98919061401e565b611d55565b005b6000610aaa82611d73565b80610aba5750610ab982611ebd565b5b9050919050565b606060018054610ad09061448b565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc9061448b565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e82611f37565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061452e565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610be281611f45565b610bec8383612042565b505050565b60006001600454610c02919061457d565b905090565b610c0f612159565b8060106000848152602001908152602001600020819055505050565b60008033604051602001610c3f91906145f9565b604051602081830303815290604052805190602001209050610c7684846010600089815260200190815260200160002054846121d7565b9150509392505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cbe57610cbd33611f45565b5b610cc98484846121f0565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610e645760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e6e612250565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e9a9190614614565b610ea4919061469d565b90508160000151819350935050509250929050565b6000806000600190505b600454811015610f4d57610ed681611f37565b8015610f155750610ee681611342565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610f3a57838203610f2b578092505050610f89565b8180610f36906146ce565b9250505b8080610f45906146ce565b915050610ec3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8090614788565b60405180910390fd5b92915050565b6103e881565b60146020528060005260406000206000915090505481565b60106020528060005260406000206000915090505481565b610fcd612159565b600073ffffffffffffffffffffffffffffffffffffffff16601560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110815750600073ffffffffffffffffffffffffffffffffffffffff16601560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b7906147f4565b60405180910390fd5b600047905061110e601560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710611f40846110ff9190614614565b611109919061469d565b61225a565b611157601560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106107d0846111489190614614565b611152919061469d565b61225a565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111aa576111a933611f45565b5b6111b584848461234e565b50505050565b6111c3612159565b60006111cd610bf1565b90506103e882826111de9190614814565b111561121f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611216906148b6565b60405180910390fd5b611229838361236e565b505050565b6000611238610bf1565b8210611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090614948565b60405180910390fd5b600080600190505b6004548110156112cc5761129481611f37565b156112b9578382036112aa5780925050506112cf565b81806112b5906146ce565b9250505b80806112c4906146ce565b915050611281565b50505b919050565b6012602052816000526040600020602052806000526040600020600091509150505481565b662386f26fc1000081565b61130c612159565b8181600c919061131d92919061396b565b505050565b600f6020528060005260406000206000915054906101000a900460ff1681565b60008061134e8361238c565b50905080915050919050565b611362612159565b80600e6000848152602001908152602001600020819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e5906149da565b60405180910390fd5b600080600190505b6004548110156114685761140981611f37565b156114575761141781611342565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114565781611453906146ce565b91505b5b80611461906146ce565b90506113f6565b5080915050919050565b61147a612159565b611484600061241d565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114b8612159565b6114c282826124e3565b5050565b6114ce612159565b80600b60006101000a81548160ff02191690831515021790555050565b6114f3612678565b60006114fd610bf1565b905060006001662386f26fc100006115159190614614565b9050600f600087815260200190815260200160002060009054906101000a900460ff16611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90614a46565b60405180910390fd5b603c8311801561158957506103e88311155b6115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90614ab2565b60405180910390fd5b6115d38683836126c7565b6115de868686610c2b565b61161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490614b1e565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166d9190614814565b9250508190555060016012600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116d59190614814565b9250508190555082601360006001856116ee9190614814565b81526020019081526020016000208190555060016014600085815260200190815260200160002060008282546117249190614814565b9250508190555061173633600161236e565b5050611740612812565b50505050565b6060600280546117559061448b565b80601f01602080910402602001604051908101604052809291908181526020018280546117819061448b565b80156117ce5780601f106117a3576101008083540402835291602001916117ce565b820191906000526020600020905b8154815290600101906020018083116117b157829003601f168201915b5050505050905090565b816117e281611f45565b6117ec838361281c565b505050565b60136020528060005260406000206000915090505481565b611811612159565b81601560000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b66354a6ba7a1800081565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118e6576118e533611f45565b5b6118f28585858561299c565b5050505050565b611901612678565b600061190b610bf1565b9050600066354a6ba7a180009050600f60006002815260200190815260200160002060009054906101000a900460ff1661197a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197190614a46565b60405180910390fd5b603c8311801561198c57506103e88311155b6119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290614ab2565b60405180910390fd5b6119d7600283836126c7565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a279190614814565b925050819055506001601260006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a909190614814565b925050819055508260136000600185611aa99190614814565b8152602001908152602001600020819055506001601460008581526020019081526020016000206000828254611adf9190614814565b92505081905550611af133600161236e565b5050611afb612812565b50565b611b06612159565b80600f600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6060600b60009054906101000a900460ff1615611b7b57611b55826129fe565b604051602001611b659190614bc6565b6040516020818303038152906040529050611c09565b600d8054611b889061448b565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb49061448b565b8015611c015780601f10611bd657610100808354040283529160200191611c01565b820191906000526020600020905b815481529060010190602001808311611be457829003601f168201915b505050505090505b919050565b60116020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cda612159565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090614c5a565b60405180910390fd5b611d528161241d565b50565b611d5d612159565b8181600d9190611d6e92919061396b565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ea657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611eb65750611eb582612aa5565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f305750611f2f82611d73565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561203f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611fbc929190614c7a565b602060405180830381865afa158015611fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffd9190614cb8565b61203e57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120359190613c3c565b60405180910390fd5b5b50565b600061204d82611342565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614d57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166120dc612b0f565b73ffffffffffffffffffffffffffffffffffffffff16148061210b575061210a81612105612b0f565b611c3e565b5b61214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614de9565b60405180910390fd5b6121548383612b17565b505050565b612161612b0f565b73ffffffffffffffffffffffffffffffffffffffff1661217f611486565b73ffffffffffffffffffffffffffffffffffffffff16146121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614e55565b60405180910390fd5b565b6000826121e5868685612bd0565b149050949350505050565b6122016121fb612b0f565b82612c28565b612240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223790614ee7565b60405180910390fd5b61224b838383612d06565b505050565b6000612710905090565b8047101561229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490614f53565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122c390614fa4565b60006040518083038185875af1925050503d8060008114612300576040519150601f19603f3d011682016040523d82523d6000602084013e612305565b606091505b5050905080612349576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123409061502b565b60405180910390fd5b505050565b612369838383604051806020016040528060008152506118a8565b505050565b612388828260405180602001604052806000815250612f88565b5050565b60008061239883611f37565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce906150bd565b60405180910390fd5b6123e083612fec565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124eb612250565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612549576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125409061514f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125af906151bb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6002600a54036126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490615227565b60405180910390fd5b6002600a81905550565b6103e86001836126d79190614814565b1115612718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270f906148b6565b60405180910390fd5b8034101561275b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275290615293565b60405180910390fd5b600e60008481526020019081526020016000205460016012600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127cc9190614814565b111561280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906152ff565b60405180910390fd5b505050565b6001600a81905550565b612824612b0f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128889061536b565b60405180910390fd5b806006600061289e612b0f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661294b612b0f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129909190613ac2565b60405180910390a35050565b6129ad6129a7612b0f565b83612c28565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614ee7565b60405180910390fd5b6129f884848484613009565b50505050565b6060612a0982611f37565b612a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3f906153fd565b60405180910390fd5b6000612a52613067565b90506000815111612a725760405180602001604052806000815250612a9d565b80612a7c846130f9565b604051602001612a8d92919061541d565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b8a83611342565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082905060005b85859050811015612c1c57612c0782878784818110612bfb57612bfa615441565b5b905060200201356131c7565b91508080612c14906146ce565b915050612bd9565b50809150509392505050565b6000612c3382611f37565b612c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c69906154e2565b60405180910390fd5b6000612c7d83611342565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cec57508373ffffffffffffffffffffffffffffffffffffffff16612cd484610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cfd5750612cfc8185611c3e565b5b91505092915050565b600080612d128361238c565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7b90615574565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea90615606565b60405180910390fd5b612e0085858560016131f2565b612e0b600084612b17565b6000600184612e1a9190614814565b9050612e308160006131f890919063ffffffff16565b158015612e3e575060045481105b15612eaa57856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ea981600061325390919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612f1857612f1784600061325390919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f8086868660016132b0565b505050505050565b60006004549050612f9984846132b6565b612fa7600085838686613496565b612fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdd90615698565b60405180910390fd5b50505050565b600061300282600061365890919063ffffffff16565b9050919050565b613014848484612d06565b613022848484600185613496565b613061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305890615698565b60405180910390fd5b50505050565b6060600c80546130769061448b565b80601f01602080910402602001604051908101604052809291908181526020018280546130a29061448b565b80156130ef5780601f106130c4576101008083540402835291602001916130ef565b820191906000526020600020905b8154815290600101906020018083116130d257829003601f168201915b5050505050905090565b60606000600161310884613751565b01905060008167ffffffffffffffff8111156131275761312661426e565b5b6040519080825280601f01601f1916602001820160405280156131595781602001600182028036833780820191505090505b509050600082602001820190505b6001156131bc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816131b0576131af61466e565b5b04945060008503613167575b819350505050919050565b60008183106131df576131da82846138a4565b6131ea565b6131e983836138a4565b5b905092915050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b6000600454905060008211613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f79061572a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361336f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613366906157bc565b60405180910390fd5b61337c60008483856131f2565b816004600082825461338e9190614814565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506133fb81600061325390919063ffffffff16565b61340860008483856132b0565b60008190505b828261341a9190614814565b81101561349057808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613488906146ce565b91505061340e565b50505050565b60006134b78573ffffffffffffffffffffffffffffffffffffffff166138bb565b1561364a576001905060008490505b83856134d29190614814565b811015613644578573ffffffffffffffffffffffffffffffffffffffff1663150b7a026134fd612b0f565b8984876040518563ffffffff1660e01b815260040161351f9493929190615831565b6020604051808303816000875af192505050801561355b57506040513d601f19601f820116820180604052508101906135589190615892565b60015b6135dd573d806000811461358b576040519150601f19603f3d011682016040523d82523d6000602084013e613590565b606091505b5060008151036135d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cc90615698565b60405180910390fd5b805181602001fd5b82801561362e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061363c906146ce565b9150506134c6565b5061364f565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156136b15761369f816138de565b60ff168203600884901b179350613748565b5b60011561374757600083116136fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f390615931565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156137425761372f816138de565b60ff0360ff16600884901b179350613747565b6136b2565b5b50505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106137af577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816137a5576137a461466e565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137ec576d04ee2d6d415b85acef810000000083816137e2576137e161466e565b5b0492506020810190505b662386f26fc10000831061381b57662386f26fc1000083816138115761381061466e565b5b0492506010810190505b6305f5e1008310613844576305f5e100838161383a5761383961466e565b5b0492506008810190505b612710831061386957612710838161385f5761385e61466e565b5b0492506004810190505b6064831061388c57606483816138825761388161466e565b5b0492506002810190505b600a831061389b576001810190505b80915050919050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615952610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff61392785613950565b02901c8151811061393b5761393a615441565b5b602001015160f81c60f81b60f81c9050919050565b600080821161395e57600080fd5b8160000382169050919050565b8280546139779061448b565b90600052602060002090601f01602090048101928261399957600085556139e0565b82601f106139b257803560ff19168380011785556139e0565b828001600101855582156139e0579182015b828111156139df5782358255916020019190600101906139c4565b5b5090506139ed91906139f1565b5090565b5b80821115613a0a5760008160009055506001016139f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a5781613a22565b8114613a6257600080fd5b50565b600081359050613a7481613a4e565b92915050565b600060208284031215613a9057613a8f613a18565b5b6000613a9e84828501613a65565b91505092915050565b60008115159050919050565b613abc81613aa7565b82525050565b6000602082019050613ad76000830184613ab3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b17578082015181840152602081019050613afc565b83811115613b26576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b4882613add565b613b528185613ae8565b9350613b62818560208601613af9565b613b6b81613b2c565b840191505092915050565b60006020820190508181036000830152613b908184613b3d565b905092915050565b6000819050919050565b613bab81613b98565b8114613bb657600080fd5b50565b600081359050613bc881613ba2565b92915050565b600060208284031215613be457613be3613a18565b5b6000613bf284828501613bb9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2682613bfb565b9050919050565b613c3681613c1b565b82525050565b6000602082019050613c516000830184613c2d565b92915050565b613c6081613c1b565b8114613c6b57600080fd5b50565b600081359050613c7d81613c57565b92915050565b60008060408385031215613c9a57613c99613a18565b5b6000613ca885828601613c6e565b9250506020613cb985828601613bb9565b9150509250929050565b613ccc81613b98565b82525050565b6000602082019050613ce76000830184613cc3565b92915050565b6000819050919050565b613d0081613ced565b8114613d0b57600080fd5b50565b600081359050613d1d81613cf7565b92915050565b60008060408385031215613d3a57613d39613a18565b5b6000613d4885828601613bb9565b9250506020613d5985828601613d0e565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d8857613d87613d63565b5b8235905067ffffffffffffffff811115613da557613da4613d68565b5b602083019150836020820283011115613dc157613dc0613d6d565b5b9250929050565b600080600060408486031215613de157613de0613a18565b5b6000613def86828701613bb9565b935050602084013567ffffffffffffffff811115613e1057613e0f613a1d565b5b613e1c86828701613d72565b92509250509250925092565b600080600060608486031215613e4157613e40613a18565b5b6000613e4f86828701613c6e565b9350506020613e6086828701613c6e565b9250506040613e7186828701613bb9565b9150509250925092565b60008060408385031215613e9257613e91613a18565b5b6000613ea085828601613bb9565b9250506020613eb185828601613bb9565b9150509250929050565b6000604082019050613ed06000830185613c2d565b613edd6020830184613cc3565b9392505050565b613eed81613ced565b82525050565b6000602082019050613f086000830184613ee4565b92915050565b6000819050919050565b6000613f33613f2e613f2984613bfb565b613f0e565b613bfb565b9050919050565b6000613f4582613f18565b9050919050565b6000613f5782613f3a565b9050919050565b613f6781613f4c565b82525050565b6000602082019050613f826000830184613f5e565b92915050565b60008060408385031215613f9f57613f9e613a18565b5b6000613fad85828601613bb9565b9250506020613fbe85828601613c6e565b9150509250929050565b60008083601f840112613fde57613fdd613d63565b5b8235905067ffffffffffffffff811115613ffb57613ffa613d68565b5b60208301915083600182028301111561401757614016613d6d565b5b9250929050565b6000806020838503121561403557614034613a18565b5b600083013567ffffffffffffffff81111561405357614052613a1d565b5b61405f85828601613fc8565b92509250509250929050565b60006020828403121561408157614080613a18565b5b600061408f84828501613c6e565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6140b981614098565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b600080604083850312156140f3576140f2613a18565b5b600061410185828601613c6e565b9250506020614112858286016140c7565b9150509250929050565b61412581613aa7565b811461413057600080fd5b50565b6000813590506141428161411c565b92915050565b60006020828403121561415e5761415d613a18565b5b600061416c84828501614133565b91505092915050565b6000806000806060858703121561418f5761418e613a18565b5b600061419d87828801613bb9565b945050602085013567ffffffffffffffff8111156141be576141bd613a1d565b5b6141ca87828801613d72565b935093505060406141dd87828801613bb9565b91505092959194509250565b60008060408385031215614200576141ff613a18565b5b600061420e85828601613c6e565b925050602061421f85828601614133565b9150509250929050565b600080604083850312156142405761423f613a18565b5b600061424e85828601613c6e565b925050602061425f85828601613c6e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142a682613b2c565b810181811067ffffffffffffffff821117156142c5576142c461426e565b5b80604052505050565b60006142d8613a0e565b90506142e4828261429d565b919050565b600067ffffffffffffffff8211156143045761430361426e565b5b61430d82613b2c565b9050602081019050919050565b82818337600083830152505050565b600061433c614337846142e9565b6142ce565b90508281526020810184848401111561435857614357614269565b5b61436384828561431a565b509392505050565b600082601f8301126143805761437f613d63565b5b8135614390848260208601614329565b91505092915050565b600080600080608085870312156143b3576143b2613a18565b5b60006143c187828801613c6e565b94505060206143d287828801613c6e565b93505060406143e387828801613bb9565b925050606085013567ffffffffffffffff81111561440457614403613a1d565b5b6144108782880161436b565b91505092959194509250565b6000806040838503121561443357614432613a18565b5b600061444185828601613bb9565b925050602061445285828601614133565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144a357607f821691505b6020821081036144b6576144b561445c565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614518602f83613ae8565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061458882613b98565b915061459383613b98565b9250828210156145a6576145a561454e565b5b828203905092915050565b60008160601b9050919050565b60006145c9826145b1565b9050919050565b60006145db826145be565b9050919050565b6145f36145ee82613c1b565b6145d0565b82525050565b600061460582846145e2565b60148201915081905092915050565b600061461f82613b98565b915061462a83613b98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146635761466261454e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146a882613b98565b91506146b383613b98565b9250826146c3576146c261466e565b5b828204905092915050565b60006146d982613b98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361470b5761470a61454e565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b6000614772602483613ae8565b915061477d82614716565b604082019050919050565b600060208201905081810360008301526147a181614765565b9050919050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006147de601983613ae8565b91506147e9826147a8565b602082019050919050565b6000602082019050818103600083015261480d816147d1565b9050919050565b600061481f82613b98565b915061482a83613b98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485f5761485e61454e565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b60006148a0600f83613ae8565b91506148ab8261486a565b602082019050919050565b600060208201905081810360008301526148cf81614893565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614932602583613ae8565b915061493d826148d6565b604082019050919050565b6000602082019050818103600083015261496181614925565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b60006149c4602d83613ae8565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b6000614a30601283613ae8565b9150614a3b826149fa565b602082019050919050565b60006020820190508181036000830152614a5f81614a23565b9050919050565b7f4f726465722072616e6765206f75742e00000000000000000000000000000000600082015250565b6000614a9c601083613ae8565b9150614aa782614a66565b602082019050919050565b60006020820190508181036000830152614acb81614a8f565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614b08601483613ae8565b9150614b1382614ad2565b602082019050919050565b60006020820190508181036000830152614b3781614afb565b9050919050565b600081905092915050565b6000614b5482613add565b614b5e8185614b3e565b9350614b6e818560208601613af9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614bb0600583614b3e565b9150614bbb82614b7a565b600582019050919050565b6000614bd28284614b49565b9150614bdd82614ba3565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c44602683613ae8565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b6000604082019050614c8f6000830185613c2d565b614c9c6020830184613c2d565b9392505050565b600081519050614cb28161411c565b92915050565b600060208284031215614cce57614ccd613a18565b5b6000614cdc84828501614ca3565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614d41602483613ae8565b9150614d4c82614ce5565b604082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614dd3603b83613ae8565b9150614dde82614d77565b604082019050919050565b60006020820190508181036000830152614e0281614dc6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e3f602083613ae8565b9150614e4a82614e09565b602082019050919050565b60006020820190508181036000830152614e6e81614e32565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614ed1603483613ae8565b9150614edc82614e75565b604082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614f3d601d83613ae8565b9150614f4882614f07565b602082019050919050565b60006020820190508181036000830152614f6c81614f30565b9050919050565b600081905092915050565b50565b6000614f8e600083614f73565b9150614f9982614f7e565b600082019050919050565b6000614faf82614f81565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615015603a83613ae8565b915061502082614fb9565b604082019050919050565b6000602082019050818103600083015261504481615008565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150a7602c83613ae8565b91506150b28261504b565b604082019050919050565b600060208201905081810360008301526150d68161509a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615139602a83613ae8565b9150615144826150dd565b604082019050919050565b600060208201905081810360008301526151688161512c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006151a5601983613ae8565b91506151b08261516f565b602082019050919050565b600060208201905081810360008301526151d481615198565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615211601f83613ae8565b915061521c826151db565b602082019050919050565b6000602082019050818103600083015261524081615204565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061527d601083613ae8565b915061528882615247565b602082019050919050565b600060208201905081810360008301526152ac81615270565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b60006152e9601383613ae8565b91506152f4826152b3565b602082019050919050565b60006020820190508181036000830152615318816152dc565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b6000615355601c83613ae8565b91506153608261531f565b602082019050919050565b6000602082019050818103600083015261538481615348565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006153e7602a83613ae8565b91506153f28261538b565b604082019050919050565b60006020820190508181036000830152615416816153da565b9050919050565b60006154298285614b49565b91506154358284614b49565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006154cc602f83613ae8565b91506154d782615470565b604082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b600061555e602c83613ae8565b915061556982615502565b604082019050919050565b6000602082019050818103600083015261558d81615551565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b60006155f0602783613ae8565b91506155fb82615594565b604082019050919050565b6000602082019050818103600083015261561f816155e3565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b6000615682603583613ae8565b915061568d82615626565b604082019050919050565b600060208201905081810360008301526156b181615675565b9050919050565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b6000615714602583613ae8565b915061571f826156b8565b604082019050919050565b6000602082019050818103600083015261574381615707565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006157a6602383613ae8565b91506157b18261574a565b604082019050919050565b600060208201905081810360008301526157d581615799565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615803826157dc565b61580d81856157e7565b935061581d818560208601613af9565b61582681613b2c565b840191505092915050565b60006080820190506158466000830187613c2d565b6158536020830186613c2d565b6158606040830185613cc3565b818103606083015261587281846157f8565b905095945050505050565b60008151905061588c81613a4e565b92915050565b6000602082840312156158a8576158a7613a18565b5b60006158b68482850161587d565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061591b603483613ae8565b9150615926826158bf565b604082019050919050565b6000602082019050818103600083015261594a8161590e565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220438c8f70f5d2a84288af641ebc564de36bd47c7fa325b3f513f621803f3457ad64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c80636352211e11610144578063add1e709116100b6578063c87b56dd1161007a578063c87b56dd14610959578063c884ef8314610996578063e521aa94146109d3578063e985e9c514610a10578063f2fde38b14610a4d578063fe2c7fee14610a7657610267565b8063add1e70914610897578063b472070f146108c0578063b88d4fde146108eb578063c1d9df8d14610914578063c30565fb1461093057610267565b80638f2fc60b116101085780638f2fc60b14610798578063940cd05b146107c1578063952466dd146107ea57806395d89b4114610806578063a22cb46514610831578063a85c38ef1461085a57610267565b80636352211e146106b35780636fad40d5146106f057806370a0823114610719578063715018a6146107565780638da5cb5b1461076d57610267565b806333763d9a116101dd578063484b973c116101a1578063484b973c1461057f5780634f6ccce7146105a857806354f5ba81146105e5578063556fedd21461062257806355f804b31461064d5780635c64ef661461067657610267565b806333763d9a1461049a5780633c70b357146104d75780633ccfd60b1461051457806341f434341461052b57806342842e0e1461055657610267565b806318712c211161022f57806318712c21146103655780631c731e191461038e57806323b872dd146103cb5780632a55205a146103f45780632f745c591461043257806332cb6b0c1461046f57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b31461031157806318160ddd1461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613a7a565b610a9f565b6040516102a09190613ac2565b60405180910390f35b3480156102b557600080fd5b506102be610ac1565b6040516102cb9190613b76565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613bce565b610b53565b6040516103089190613c3c565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613c83565b610bd8565b005b34801561034657600080fd5b5061034f610bf1565b60405161035c9190613cd2565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613d23565b610c07565b005b34801561039a57600080fd5b506103b560048036038101906103b09190613dc8565b610c2b565b6040516103c29190613ac2565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613e28565b610c80565b005b34801561040057600080fd5b5061041b60048036038101906104169190613e7b565b610ccf565b604051610429929190613ebb565b60405180910390f35b34801561043e57600080fd5b5061045960048036038101906104549190613c83565b610eb9565b6040516104669190613cd2565b60405180910390f35b34801561047b57600080fd5b50610484610f8f565b6040516104919190613cd2565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613bce565b610f95565b6040516104ce9190613cd2565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190613bce565b610fad565b60405161050b9190613ef3565b60405180910390f35b34801561052057600080fd5b50610529610fc5565b005b34801561053757600080fd5b5061054061115a565b60405161054d9190613f6d565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e28565b61116c565b005b34801561058b57600080fd5b506105a660048036038101906105a19190613c83565b6111bb565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613bce565b61122e565b6040516105dc9190613cd2565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190613f88565b6112d4565b6040516106199190613cd2565b60405180910390f35b34801561062e57600080fd5b506106376112f9565b6040516106449190613cd2565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f919061401e565b611304565b005b34801561068257600080fd5b5061069d60048036038101906106989190613bce565b611322565b6040516106aa9190613ac2565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d59190613bce565b611342565b6040516106e79190613c3c565b60405180910390f35b3480156106fc57600080fd5b5061071760048036038101906107129190613e7b565b61135a565b005b34801561072557600080fd5b50610740600480360381019061073b919061406b565b61137e565b60405161074d9190613cd2565b60405180910390f35b34801561076257600080fd5b5061076b611472565b005b34801561077957600080fd5b50610782611486565b60405161078f9190613c3c565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba91906140dc565b6114b0565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190614148565b6114c6565b005b61080460048036038101906107ff9190614175565b6114eb565b005b34801561081257600080fd5b5061081b611746565b6040516108289190613b76565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906141e9565b6117d8565b005b34801561086657600080fd5b50610881600480360381019061087c9190613bce565b6117f1565b60405161088e9190613cd2565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190614229565b611809565b005b3480156108cc57600080fd5b506108d561189d565b6040516108e29190613cd2565b60405180910390f35b3480156108f757600080fd5b50610912600480360381019061090d9190614399565b6118a8565b005b61092e60048036038101906109299190613bce565b6118f9565b005b34801561093c57600080fd5b506109576004803603810190610952919061441c565b611afe565b005b34801561096557600080fd5b50610980600480360381019061097b9190613bce565b611b35565b60405161098d9190613b76565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b8919061406b565b611c0e565b6040516109ca9190613cd2565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f59190613bce565b611c26565b604051610a079190613cd2565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190614229565b611c3e565b604051610a449190613ac2565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f919061406b565b611cd2565b005b348015610a8257600080fd5b50610a9d6004803603810190610a98919061401e565b611d55565b005b6000610aaa82611d73565b80610aba5750610ab982611ebd565b5b9050919050565b606060018054610ad09061448b565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc9061448b565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e82611f37565b610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b949061452e565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610be281611f45565b610bec8383612042565b505050565b60006001600454610c02919061457d565b905090565b610c0f612159565b8060106000848152602001908152602001600020819055505050565b60008033604051602001610c3f91906145f9565b604051602081830303815290604052805190602001209050610c7684846010600089815260200190815260200160002054846121d7565b9150509392505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cbe57610cbd33611f45565b5b610cc98484846121f0565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610e645760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e6e612250565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e9a9190614614565b610ea4919061469d565b90508160000151819350935050509250929050565b6000806000600190505b600454811015610f4d57610ed681611f37565b8015610f155750610ee681611342565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610f3a57838203610f2b578092505050610f89565b8180610f36906146ce565b9250505b8080610f45906146ce565b915050610ec3565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8090614788565b60405180910390fd5b92915050565b6103e881565b60146020528060005260406000206000915090505481565b60106020528060005260406000206000915090505481565b610fcd612159565b600073ffffffffffffffffffffffffffffffffffffffff16601560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110815750600073ffffffffffffffffffffffffffffffffffffffff16601560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b7906147f4565b60405180910390fd5b600047905061110e601560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710611f40846110ff9190614614565b611109919061469d565b61225a565b611157601560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106107d0846111489190614614565b611152919061469d565b61225a565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111aa576111a933611f45565b5b6111b584848461234e565b50505050565b6111c3612159565b60006111cd610bf1565b90506103e882826111de9190614814565b111561121f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611216906148b6565b60405180910390fd5b611229838361236e565b505050565b6000611238610bf1565b8210611279576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127090614948565b60405180910390fd5b600080600190505b6004548110156112cc5761129481611f37565b156112b9578382036112aa5780925050506112cf565b81806112b5906146ce565b9250505b80806112c4906146ce565b915050611281565b50505b919050565b6012602052816000526040600020602052806000526040600020600091509150505481565b662386f26fc1000081565b61130c612159565b8181600c919061131d92919061396b565b505050565b600f6020528060005260406000206000915054906101000a900460ff1681565b60008061134e8361238c565b50905080915050919050565b611362612159565b80600e6000848152602001908152602001600020819055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e5906149da565b60405180910390fd5b600080600190505b6004548110156114685761140981611f37565b156114575761141781611342565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036114565781611453906146ce565b91505b5b80611461906146ce565b90506113f6565b5080915050919050565b61147a612159565b611484600061241d565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114b8612159565b6114c282826124e3565b5050565b6114ce612159565b80600b60006101000a81548160ff02191690831515021790555050565b6114f3612678565b60006114fd610bf1565b905060006001662386f26fc100006115159190614614565b9050600f600087815260200190815260200160002060009054906101000a900460ff16611577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156e90614a46565b60405180910390fd5b603c8311801561158957506103e88311155b6115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90614ab2565b60405180910390fd5b6115d38683836126c7565b6115de868686610c2b565b61161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490614b1e565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166d9190614814565b9250508190555060016012600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116d59190614814565b9250508190555082601360006001856116ee9190614814565b81526020019081526020016000208190555060016014600085815260200190815260200160002060008282546117249190614814565b9250508190555061173633600161236e565b5050611740612812565b50505050565b6060600280546117559061448b565b80601f01602080910402602001604051908101604052809291908181526020018280546117819061448b565b80156117ce5780601f106117a3576101008083540402835291602001916117ce565b820191906000526020600020905b8154815290600101906020018083116117b157829003601f168201915b5050505050905090565b816117e281611f45565b6117ec838361281c565b505050565b60136020528060005260406000206000915090505481565b611811612159565b81601560000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b66354a6ba7a1800081565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118e6576118e533611f45565b5b6118f28585858561299c565b5050505050565b611901612678565b600061190b610bf1565b9050600066354a6ba7a180009050600f60006002815260200190815260200160002060009054906101000a900460ff1661197a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197190614a46565b60405180910390fd5b603c8311801561198c57506103e88311155b6119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290614ab2565b60405180910390fd5b6119d7600283836126c7565b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a279190614814565b925050819055506001601260006002815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a909190614814565b925050819055508260136000600185611aa99190614814565b8152602001908152602001600020819055506001601460008581526020019081526020016000206000828254611adf9190614814565b92505081905550611af133600161236e565b5050611afb612812565b50565b611b06612159565b80600f600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6060600b60009054906101000a900460ff1615611b7b57611b55826129fe565b604051602001611b659190614bc6565b6040516020818303038152906040529050611c09565b600d8054611b889061448b565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb49061448b565b8015611c015780601f10611bd657610100808354040283529160200191611c01565b820191906000526020600020905b815481529060010190602001808311611be457829003601f168201915b505050505090505b919050565b60116020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cda612159565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090614c5a565b60405180910390fd5b611d528161241d565b50565b611d5d612159565b8181600d9190611d6e92919061396b565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e3e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ea657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611eb65750611eb582612aa5565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f305750611f2f82611d73565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561203f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611fbc929190614c7a565b602060405180830381865afa158015611fd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffd9190614cb8565b61203e57806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016120359190613c3c565b60405180910390fd5b5b50565b600061204d82611342565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b490614d57565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166120dc612b0f565b73ffffffffffffffffffffffffffffffffffffffff16148061210b575061210a81612105612b0f565b611c3e565b5b61214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614de9565b60405180910390fd5b6121548383612b17565b505050565b612161612b0f565b73ffffffffffffffffffffffffffffffffffffffff1661217f611486565b73ffffffffffffffffffffffffffffffffffffffff16146121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc90614e55565b60405180910390fd5b565b6000826121e5868685612bd0565b149050949350505050565b6122016121fb612b0f565b82612c28565b612240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223790614ee7565b60405180910390fd5b61224b838383612d06565b505050565b6000612710905090565b8047101561229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490614f53565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122c390614fa4565b60006040518083038185875af1925050503d8060008114612300576040519150601f19603f3d011682016040523d82523d6000602084013e612305565b606091505b5050905080612349576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123409061502b565b60405180910390fd5b505050565b612369838383604051806020016040528060008152506118a8565b505050565b612388828260405180602001604052806000815250612f88565b5050565b60008061239883611f37565b6123d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ce906150bd565b60405180910390fd5b6123e083612fec565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124eb612250565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612549576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125409061514f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125af906151bb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6002600a54036126bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b490615227565b60405180910390fd5b6002600a81905550565b6103e86001836126d79190614814565b1115612718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270f906148b6565b60405180910390fd5b8034101561275b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275290615293565b60405180910390fd5b600e60008481526020019081526020016000205460016012600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127cc9190614814565b111561280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906152ff565b60405180910390fd5b505050565b6001600a81905550565b612824612b0f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128889061536b565b60405180910390fd5b806006600061289e612b0f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661294b612b0f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129909190613ac2565b60405180910390a35050565b6129ad6129a7612b0f565b83612c28565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e390614ee7565b60405180910390fd5b6129f884848484613009565b50505050565b6060612a0982611f37565b612a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3f906153fd565b60405180910390fd5b6000612a52613067565b90506000815111612a725760405180602001604052806000815250612a9d565b80612a7c846130f9565b604051602001612a8d92919061541d565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b8a83611342565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008082905060005b85859050811015612c1c57612c0782878784818110612bfb57612bfa615441565b5b905060200201356131c7565b91508080612c14906146ce565b915050612bd9565b50809150509392505050565b6000612c3382611f37565b612c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c69906154e2565b60405180910390fd5b6000612c7d83611342565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cec57508373ffffffffffffffffffffffffffffffffffffffff16612cd484610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cfd5750612cfc8185611c3e565b5b91505092915050565b600080612d128361238c565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7b90615574565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea90615606565b60405180910390fd5b612e0085858560016131f2565b612e0b600084612b17565b6000600184612e1a9190614814565b9050612e308160006131f890919063ffffffff16565b158015612e3e575060045481105b15612eaa57856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612ea981600061325390919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612f1857612f1784600061325390919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f8086868660016132b0565b505050505050565b60006004549050612f9984846132b6565b612fa7600085838686613496565b612fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdd90615698565b60405180910390fd5b50505050565b600061300282600061365890919063ffffffff16565b9050919050565b613014848484612d06565b613022848484600185613496565b613061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305890615698565b60405180910390fd5b50505050565b6060600c80546130769061448b565b80601f01602080910402602001604051908101604052809291908181526020018280546130a29061448b565b80156130ef5780601f106130c4576101008083540402835291602001916130ef565b820191906000526020600020905b8154815290600101906020018083116130d257829003601f168201915b5050505050905090565b60606000600161310884613751565b01905060008167ffffffffffffffff8111156131275761312661426e565b5b6040519080825280601f01601f1916602001820160405280156131595781602001600182028036833780820191505090505b509050600082602001820190505b6001156131bc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816131b0576131af61466e565b5b04945060008503613167575b819350505050919050565b60008183106131df576131da82846138a4565b6131ea565b6131e983836138a4565b5b905092915050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b6000600454905060008211613300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f79061572a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361336f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613366906157bc565b60405180910390fd5b61337c60008483856131f2565b816004600082825461338e9190614814565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506133fb81600061325390919063ffffffff16565b61340860008483856132b0565b60008190505b828261341a9190614814565b81101561349057808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613488906146ce565b91505061340e565b50505050565b60006134b78573ffffffffffffffffffffffffffffffffffffffff166138bb565b1561364a576001905060008490505b83856134d29190614814565b811015613644578573ffffffffffffffffffffffffffffffffffffffff1663150b7a026134fd612b0f565b8984876040518563ffffffff1660e01b815260040161351f9493929190615831565b6020604051808303816000875af192505050801561355b57506040513d601f19601f820116820180604052508101906135589190615892565b60015b6135dd573d806000811461358b576040519150601f19603f3d011682016040523d82523d6000602084013e613590565b606091505b5060008151036135d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cc90615698565b60405180910390fd5b805181602001fd5b82801561362e575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061363c906146ce565b9150506134c6565b5061364f565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156136b15761369f816138de565b60ff168203600884901b179350613748565b5b60011561374757600083116136fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136f390615931565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156137425761372f816138de565b60ff0360ff16600884901b179350613747565b6136b2565b5b50505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106137af577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816137a5576137a461466e565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137ec576d04ee2d6d415b85acef810000000083816137e2576137e161466e565b5b0492506020810190505b662386f26fc10000831061381b57662386f26fc1000083816138115761381061466e565b5b0492506010810190505b6305f5e1008310613844576305f5e100838161383a5761383961466e565b5b0492506008810190505b612710831061386957612710838161385f5761385e61466e565b5b0492506004810190505b6064831061388c57606483816138825761388161466e565b5b0492506002810190505b600a831061389b576001810190505b80915050919050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615952610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff61392785613950565b02901c8151811061393b5761393a615441565b5b602001015160f81c60f81b60f81c9050919050565b600080821161395e57600080fd5b8160000382169050919050565b8280546139779061448b565b90600052602060002090601f01602090048101928261399957600085556139e0565b82601f106139b257803560ff19168380011785556139e0565b828001600101855582156139e0579182015b828111156139df5782358255916020019190600101906139c4565b5b5090506139ed91906139f1565b5090565b5b80821115613a0a5760008160009055506001016139f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a5781613a22565b8114613a6257600080fd5b50565b600081359050613a7481613a4e565b92915050565b600060208284031215613a9057613a8f613a18565b5b6000613a9e84828501613a65565b91505092915050565b60008115159050919050565b613abc81613aa7565b82525050565b6000602082019050613ad76000830184613ab3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b17578082015181840152602081019050613afc565b83811115613b26576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b4882613add565b613b528185613ae8565b9350613b62818560208601613af9565b613b6b81613b2c565b840191505092915050565b60006020820190508181036000830152613b908184613b3d565b905092915050565b6000819050919050565b613bab81613b98565b8114613bb657600080fd5b50565b600081359050613bc881613ba2565b92915050565b600060208284031215613be457613be3613a18565b5b6000613bf284828501613bb9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c2682613bfb565b9050919050565b613c3681613c1b565b82525050565b6000602082019050613c516000830184613c2d565b92915050565b613c6081613c1b565b8114613c6b57600080fd5b50565b600081359050613c7d81613c57565b92915050565b60008060408385031215613c9a57613c99613a18565b5b6000613ca885828601613c6e565b9250506020613cb985828601613bb9565b9150509250929050565b613ccc81613b98565b82525050565b6000602082019050613ce76000830184613cc3565b92915050565b6000819050919050565b613d0081613ced565b8114613d0b57600080fd5b50565b600081359050613d1d81613cf7565b92915050565b60008060408385031215613d3a57613d39613a18565b5b6000613d4885828601613bb9565b9250506020613d5985828601613d0e565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d8857613d87613d63565b5b8235905067ffffffffffffffff811115613da557613da4613d68565b5b602083019150836020820283011115613dc157613dc0613d6d565b5b9250929050565b600080600060408486031215613de157613de0613a18565b5b6000613def86828701613bb9565b935050602084013567ffffffffffffffff811115613e1057613e0f613a1d565b5b613e1c86828701613d72565b92509250509250925092565b600080600060608486031215613e4157613e40613a18565b5b6000613e4f86828701613c6e565b9350506020613e6086828701613c6e565b9250506040613e7186828701613bb9565b9150509250925092565b60008060408385031215613e9257613e91613a18565b5b6000613ea085828601613bb9565b9250506020613eb185828601613bb9565b9150509250929050565b6000604082019050613ed06000830185613c2d565b613edd6020830184613cc3565b9392505050565b613eed81613ced565b82525050565b6000602082019050613f086000830184613ee4565b92915050565b6000819050919050565b6000613f33613f2e613f2984613bfb565b613f0e565b613bfb565b9050919050565b6000613f4582613f18565b9050919050565b6000613f5782613f3a565b9050919050565b613f6781613f4c565b82525050565b6000602082019050613f826000830184613f5e565b92915050565b60008060408385031215613f9f57613f9e613a18565b5b6000613fad85828601613bb9565b9250506020613fbe85828601613c6e565b9150509250929050565b60008083601f840112613fde57613fdd613d63565b5b8235905067ffffffffffffffff811115613ffb57613ffa613d68565b5b60208301915083600182028301111561401757614016613d6d565b5b9250929050565b6000806020838503121561403557614034613a18565b5b600083013567ffffffffffffffff81111561405357614052613a1d565b5b61405f85828601613fc8565b92509250509250929050565b60006020828403121561408157614080613a18565b5b600061408f84828501613c6e565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b6140b981614098565b81146140c457600080fd5b50565b6000813590506140d6816140b0565b92915050565b600080604083850312156140f3576140f2613a18565b5b600061410185828601613c6e565b9250506020614112858286016140c7565b9150509250929050565b61412581613aa7565b811461413057600080fd5b50565b6000813590506141428161411c565b92915050565b60006020828403121561415e5761415d613a18565b5b600061416c84828501614133565b91505092915050565b6000806000806060858703121561418f5761418e613a18565b5b600061419d87828801613bb9565b945050602085013567ffffffffffffffff8111156141be576141bd613a1d565b5b6141ca87828801613d72565b935093505060406141dd87828801613bb9565b91505092959194509250565b60008060408385031215614200576141ff613a18565b5b600061420e85828601613c6e565b925050602061421f85828601614133565b9150509250929050565b600080604083850312156142405761423f613a18565b5b600061424e85828601613c6e565b925050602061425f85828601613c6e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142a682613b2c565b810181811067ffffffffffffffff821117156142c5576142c461426e565b5b80604052505050565b60006142d8613a0e565b90506142e4828261429d565b919050565b600067ffffffffffffffff8211156143045761430361426e565b5b61430d82613b2c565b9050602081019050919050565b82818337600083830152505050565b600061433c614337846142e9565b6142ce565b90508281526020810184848401111561435857614357614269565b5b61436384828561431a565b509392505050565b600082601f8301126143805761437f613d63565b5b8135614390848260208601614329565b91505092915050565b600080600080608085870312156143b3576143b2613a18565b5b60006143c187828801613c6e565b94505060206143d287828801613c6e565b93505060406143e387828801613bb9565b925050606085013567ffffffffffffffff81111561440457614403613a1d565b5b6144108782880161436b565b91505092959194509250565b6000806040838503121561443357614432613a18565b5b600061444185828601613bb9565b925050602061445285828601614133565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144a357607f821691505b6020821081036144b6576144b561445c565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614518602f83613ae8565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061458882613b98565b915061459383613b98565b9250828210156145a6576145a561454e565b5b828203905092915050565b60008160601b9050919050565b60006145c9826145b1565b9050919050565b60006145db826145be565b9050919050565b6145f36145ee82613c1b565b6145d0565b82525050565b600061460582846145e2565b60148201915081905092915050565b600061461f82613b98565b915061462a83613b98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146635761466261454e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146a882613b98565b91506146b383613b98565b9250826146c3576146c261466e565b5b828204905092915050565b60006146d982613b98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361470b5761470a61454e565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b6000614772602483613ae8565b915061477d82614716565b604082019050919050565b600060208201905081810360008301526147a181614765565b9050919050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006147de601983613ae8565b91506147e9826147a8565b602082019050919050565b6000602082019050818103600083015261480d816147d1565b9050919050565b600061481f82613b98565b915061482a83613b98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485f5761485e61454e565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b60006148a0600f83613ae8565b91506148ab8261486a565b602082019050919050565b600060208201905081810360008301526148cf81614893565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614932602583613ae8565b915061493d826148d6565b604082019050919050565b6000602082019050818103600083015261496181614925565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b60006149c4602d83613ae8565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b6000614a30601283613ae8565b9150614a3b826149fa565b602082019050919050565b60006020820190508181036000830152614a5f81614a23565b9050919050565b7f4f726465722072616e6765206f75742e00000000000000000000000000000000600082015250565b6000614a9c601083613ae8565b9150614aa782614a66565b602082019050919050565b60006020820190508181036000830152614acb81614a8f565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614b08601483613ae8565b9150614b1382614ad2565b602082019050919050565b60006020820190508181036000830152614b3781614afb565b9050919050565b600081905092915050565b6000614b5482613add565b614b5e8185614b3e565b9350614b6e818560208601613af9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614bb0600583614b3e565b9150614bbb82614b7a565b600582019050919050565b6000614bd28284614b49565b9150614bdd82614ba3565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c44602683613ae8565b9150614c4f82614be8565b604082019050919050565b60006020820190508181036000830152614c7381614c37565b9050919050565b6000604082019050614c8f6000830185613c2d565b614c9c6020830184613c2d565b9392505050565b600081519050614cb28161411c565b92915050565b600060208284031215614cce57614ccd613a18565b5b6000614cdc84828501614ca3565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614d41602483613ae8565b9150614d4c82614ce5565b604082019050919050565b60006020820190508181036000830152614d7081614d34565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614dd3603b83613ae8565b9150614dde82614d77565b604082019050919050565b60006020820190508181036000830152614e0281614dc6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e3f602083613ae8565b9150614e4a82614e09565b602082019050919050565b60006020820190508181036000830152614e6e81614e32565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614ed1603483613ae8565b9150614edc82614e75565b604082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614f3d601d83613ae8565b9150614f4882614f07565b602082019050919050565b60006020820190508181036000830152614f6c81614f30565b9050919050565b600081905092915050565b50565b6000614f8e600083614f73565b9150614f9982614f7e565b600082019050919050565b6000614faf82614f81565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615015603a83613ae8565b915061502082614fb9565b604082019050919050565b6000602082019050818103600083015261504481615008565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006150a7602c83613ae8565b91506150b28261504b565b604082019050919050565b600060208201905081810360008301526150d68161509a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615139602a83613ae8565b9150615144826150dd565b604082019050919050565b600060208201905081810360008301526151688161512c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006151a5601983613ae8565b91506151b08261516f565b602082019050919050565b600060208201905081810360008301526151d481615198565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615211601f83613ae8565b915061521c826151db565b602082019050919050565b6000602082019050818103600083015261524081615204565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061527d601083613ae8565b915061528882615247565b602082019050919050565b600060208201905081810360008301526152ac81615270565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b60006152e9601383613ae8565b91506152f4826152b3565b602082019050919050565b60006020820190508181036000830152615318816152dc565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b6000615355601c83613ae8565b91506153608261531f565b602082019050919050565b6000602082019050818103600083015261538481615348565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006153e7602a83613ae8565b91506153f28261538b565b604082019050919050565b60006020820190508181036000830152615416816153da565b9050919050565b60006154298285614b49565b91506154358284614b49565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006154cc602f83613ae8565b91506154d782615470565b604082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b600061555e602c83613ae8565b915061556982615502565b604082019050919050565b6000602082019050818103600083015261558d81615551565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b60006155f0602783613ae8565b91506155fb82615594565b604082019050919050565b6000602082019050818103600083015261561f816155e3565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b6000615682603583613ae8565b915061568d82615626565b604082019050919050565b600060208201905081810360008301526156b181615675565b9050919050565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b6000615714602583613ae8565b915061571f826156b8565b604082019050919050565b6000602082019050818103600083015261574381615707565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006157a6602383613ae8565b91506157b18261574a565b604082019050919050565b600060208201905081810360008301526157d581615799565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615803826157dc565b61580d81856157e7565b935061581d818560208601613af9565b61582681613b2c565b840191505092915050565b60006080820190506158466000830187613c2d565b6158536020830186613c2d565b6158606040830185613cc3565b818103606083015261587281846157f8565b905095945050505050565b60008151905061588c81613a4e565b92915050565b6000602082840312156158a8576158a7613a18565b5b60006158b68482850161587d565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061591b603483613ae8565b9150615926826158bf565b604082019050919050565b6000602082019050818103600083015261594a8161590e565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220438c8f70f5d2a84288af641ebc564de36bd47c7fa325b3f513f621803f3457ad64736f6c634300080d0033

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.