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

NARAKU (NARAKUI)
 

Overview

TokenID

157

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TOKEN

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : token.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 TOKEN is
    ERC721Psi,
    ERC2981,
    Ownable,
    ReentrancyGuard,
    DefaultOperatorFilterer
{
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 2140;
    uint256 public pubMintMax = 15;

    uint256 public constant PRICE_AL1 = 0.012 ether;
    uint256 public constant PRICE_AL2 = 0.015 ether;
    uint256 public constant PRICE_AL3 = 0.015 ether;
    uint256 public constant PRICE_PUB = 0.02 ether;

    mapping (uint256 => bool) public saleStart; // 0: AL0, 1: AL1, 2: AL2, 3: AL3, 4: Public
    mapping (uint256 => bytes32) public merkleRoot; // 0: AL0, 1: AL1, 2: AL2, 3: AL3

    bool private _revealed;
    string private _baseTokenURI;
    string private _unrevealedURI = "https://daqa1e0ox6foy.cloudfront.net/unrevealed/metadata.json";

    mapping(address => uint256) public claimed; // totalClaimed
    mapping(uint256 => mapping(address => uint256)) public claimedForSale; // saleType => (address => claimed)

    struct ProjectMember {
        address founder;
        address developer;
        address marketer;
        address cs;
        address adviser;
    }
    ProjectMember private _member;

    constructor() ERC721Psi("NARAKU", "NARAKUI") {
        _setDefaultRoyalty(address(0xa0FFB04C24AdA30262c99dDA13C36d8871B80cB0), 1000);
        _member.founder = address(0xa0FFB04C24AdA30262c99dDA13C36d8871B80cB0);
        _member.developer = address(0x7Abb65089055fB2bf5b247c89E3C11F7dB861213);
        _member.marketer = address(0x74ed19acF50Df68E966041A9E5A83032A90aaf81);
        _member.cs = address(0x403cFce4766eC01639a724576D94f502166fdD9A);
        _member.adviser = address(0x2064f95A4537a7e9ce364384F55A2F4bBA3F0346);
    }

    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 _quantity) public payable nonReentrant {
        uint256 supply = totalSupply();
        uint256 cost = PRICE_PUB * _quantity;
        require(saleStart[4], "Before sale begin.");
        _mintCheck(4, _quantity, supply, cost, pubMintMax);

        claimed[msg.sender] += _quantity;
        claimedForSale[4][msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

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

    function preMint(uint256 _mintType, uint256 _quantity, bytes32[] calldata _merkleProof, uint256 _mintLimit)
        public
        payable
        nonReentrant
    {
        uint256 supply = totalSupply();
        uint256 cost = 0;
        if (_mintType == 1) {
            cost = PRICE_AL1 * _quantity;
        } else if (_mintType == 2) {
            cost = PRICE_AL2 * _quantity;
        } else if (_mintType == 3) {
            cost = PRICE_AL3 * _quantity;
        }
        require(saleStart[_mintType], "Before sale begin.");
        require(verifyAddressAndAmount(msg.sender, _mintLimit, _mintType, _merkleProof), "Invalid Merkle Proof");
        _mintCheck(_mintType, _quantity, supply, cost, _mintLimit);

        claimed[msg.sender] += _quantity;
        claimedForSale[_mintType][msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function _mintCheck(
        uint256 _mintType,
        uint256 _quantity,
        uint256 _supply,
        uint256 _cost,
        uint256 _mintLimit
    ) private view {
        require(_supply + _quantity <= MAX_SUPPLY, "Max supply over");
        require(msg.value == _cost, "Not enough funds");
        require(
            claimedForSale[_mintType][msg.sender] + _quantity <= _mintLimit,
            "Mint quantity over"
        );
    }

    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 _mintType, bytes32 _merkleRoot) public onlyOwner {
        merkleRoot[_mintType] = _merkleRoot;
    }

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

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


    // 報酬配分
    function setMemberAddress(
        address _founder,
        address _developer,
        address _marketer,
        address _cs,
        address _adviser
    ) public onlyOwner {
        _member.founder = _founder;
        _member.developer = _developer;
        _member.marketer = _marketer;
        _member.cs = _cs;
        _member.adviser = _adviser;
    }

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

        uint256 balance = address(this).balance;
        Address.sendValue(payable(_member.founder), ((balance * 705000) / 1000000));
        Address.sendValue(payable(_member.developer), ((balance * 95000) / 1000000));
        Address.sendValue(payable(_member.marketer), ((balance * 35000) / 1000000));
        Address.sendValue(payable(_member.cs), ((balance * 70000) / 1000000));
        Address.sendValue(payable(_member.adviser), ((balance * 95000) / 1000000));
    }

    // 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":"PRICE_AL1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_AL2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_AL3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PUB","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":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"claimedForSale","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"_mintType","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pubMintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"internalType":"address","name":"_marketer","type":"address"},{"internalType":"address","name":"_cs","type":"address"},{"internalType":"address","name":"_adviser","type":"address"}],"name":"setMemberAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintType","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","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":"_mintType","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":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_mintType","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"verifyAddressAndAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600455600f600b556040518060600160405280603d815260200162006676603d9139601090805190602001906200003f92919062000785565b503480156200004d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600681526020017f4e4152414b5500000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4e4152414b5549000000000000000000000000000000000000000000000000008152508160019080519060200190620000e992919062000785565b5080600290805190602001906200010292919062000785565b50505062000125620001196200050a60201b60201c565b6200051260201b60201c565b6001600a8190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000322578015620001e8576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001ae9291906200087a565b600060405180830381600087803b158015620001c957600080fd5b505af1158015620001de573d6000803e3d6000fd5b5050505062000321565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002a2576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002689291906200087a565b600060405180830381600087803b1580156200028357600080fd5b505af115801562000298573d6000803e3d6000fd5b5050505062000320565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002eb9190620008a7565b600060405180830381600087803b1580156200030657600080fd5b505af11580156200031b573d6000803e3d6000fd5b505050505b5b5b50506200034c73a0ffb04c24ada30262c99dda13c36d8871b80cb06103e8620005d860201b60201c565b73a0ffb04c24ada30262c99dda13c36d8871b80cb0601360000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737abb65089055fb2bf5b247c89e3c11f7db861213601360010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507374ed19acf50df68e966041a9e5a83032a90aaf81601360020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073403cfce4766ec01639a724576d94f502166fdd9a601360030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550732064f95a4537a7e9ce364384f55a2f4bba3f0346601360040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000a43565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620005e86200077b60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000640906200094b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620006bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b290620009bd565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620007939062000a0e565b90600052602060002090601f016020900481019282620007b7576000855562000803565b82601f10620007d257805160ff191683800117855562000803565b8280016001018555821562000803579182015b8281111562000802578251825591602001919060010190620007e5565b5b50905062000812919062000816565b5090565b5b808211156200083157600081600090555060010162000817565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008628262000835565b9050919050565b620008748162000855565b82525050565b600060408201905062000891600083018562000869565b620008a0602083018462000869565b9392505050565b6000602082019050620008be600083018462000869565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000933602a83620008c4565b91506200094082620008d5565b604082019050919050565b60006020820190508181036000830152620009668162000924565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620009a5601983620008c4565b9150620009b2826200096d565b602082019050919050565b60006020820190508181036000830152620009d88162000996565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a2757607f821691505b60208210810362000a3d5762000a3c620009df565b5b50919050565b615c238062000a536000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063c87b56dd1161007a578063c87b56dd14610901578063c884ef831461093e578063e985e9c51461097b578063f076a6f5146109b8578063f2fde38b146109e3578063fe2c7fee14610a0c5761025c565b8063b88d4fde1461082b578063ba04400914610854578063bcf38a791461087f578063c1d9df8d146108bc578063c30565fb146108d85761025c565b80638f2fc60b116101085780638f2fc60b1461073e5780638fa3110914610767578063940cd05b1461078357806395d89b41146107ac57806396678c85146107d7578063a22cb465146108025761025c565b806370a0823114610669578063715018a6146106a6578063776f1ecb146106bd5780637d21f51d146106e85780638da5cb5b146107135761025c565b806332cb6b0c116101dd57806342842e0e116101a157806342842e0e14610537578063484b973c146105605780634f6ccce71461058957806355f804b3146105c65780635c64ef66146105ef5780636352211e1461062c5761025c565b806332cb6b0c146104505780633bbaeef21461047b5780633c70b357146104b85780633ccfd60b146104f557806341f434341461050c5761025c565b806318160ddd1161022457806318160ddd1461035857806318712c211461038357806323b872dd146103ac5780632a55205a146103d55780632f745c59146104135761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780631146f3c41461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613b99565b610a35565b6040516102959190613be1565b60405180910390f35b3480156102aa57600080fd5b506102b3610a57565b6040516102c09190613c95565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613ced565b610ae9565b6040516102fd9190613d5b565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613da2565b610b6e565b005b34801561033b57600080fd5b5061035660048036038101906103519190613de2565b610b87565b005b34801561036457600080fd5b5061036d610cea565b60405161037a9190613e6c565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613ebd565b610d00565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190613efd565b610d24565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613f50565b610d73565b60405161040a929190613f90565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190613da2565b610f5d565b6040516104479190613e6c565b60405180910390f35b34801561045c57600080fd5b50610465611033565b6040516104729190613e6c565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d919061401e565b611039565b6040516104af9190613be1565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613ced565b611092565b6040516104ec91906140b5565b60405180910390f35b34801561050157600080fd5b5061050a6110aa565b005b34801561051857600080fd5b5061052161143d565b60405161052e919061412f565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190613efd565b61144f565b005b34801561056c57600080fd5b5061058760048036038101906105829190613da2565b61149e565b005b34801561059557600080fd5b506105b060048036038101906105ab9190613ced565b611511565b6040516105bd9190613e6c565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906141a0565b6115b7565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613ced565b6115d5565b6040516106239190613be1565b60405180910390f35b34801561063857600080fd5b50610653600480360381019061064e9190613ced565b6115f5565b6040516106609190613d5b565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906141ed565b61160d565b60405161069d9190613e6c565b60405180910390f35b3480156106b257600080fd5b506106bb611701565b005b3480156106c957600080fd5b506106d2611715565b6040516106df9190613e6c565b60405180910390f35b3480156106f457600080fd5b506106fd611720565b60405161070a9190613e6c565b60405180910390f35b34801561071f57600080fd5b5061072861172b565b6040516107359190613d5b565b60405180910390f35b34801561074a57600080fd5b506107656004803603810190610760919061425e565b611755565b005b610781600480360381019061077c919061429e565b61176b565b005b34801561078f57600080fd5b506107aa60048036038101906107a59190614352565b611976565b005b3480156107b857600080fd5b506107c161199b565b6040516107ce9190613c95565b60405180910390f35b3480156107e357600080fd5b506107ec611a2d565b6040516107f99190613e6c565b60405180910390f35b34801561080e57600080fd5b506108296004803603810190610824919061437f565b611a38565b005b34801561083757600080fd5b50610852600480360381019061084d91906144ef565b611a51565b005b34801561086057600080fd5b50610869611aa2565b6040516108769190613e6c565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190614572565b611aad565b6040516108b39190613e6c565b60405180910390f35b6108d660048036038101906108d19190613ced565b611ad2565b005b3480156108e457600080fd5b506108ff60048036038101906108fa91906145b2565b611c43565b005b34801561090d57600080fd5b5061092860048036038101906109239190613ced565b611c7a565b6040516109359190613c95565b60405180910390f35b34801561094a57600080fd5b50610965600480360381019061096091906141ed565b611d53565b6040516109729190613e6c565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d91906145f2565b611d6b565b6040516109af9190613be1565b60405180910390f35b3480156109c457600080fd5b506109cd611dff565b6040516109da9190613e6c565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a0591906141ed565b611e05565b005b348015610a1857600080fd5b50610a336004803603810190610a2e91906141a0565b611e88565b005b6000610a4082611ea6565b80610a505750610a4f82611ff0565b5b9050919050565b606060018054610a6690614661565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9290614661565b8015610adf5780601f10610ab457610100808354040283529160200191610adf565b820191906000526020600020905b815481529060010190602001808311610ac257829003601f168201915b5050505050905090565b6000610af48261206a565b610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90614704565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b7881612078565b610b828383612175565b505050565b610b8f61228c565b84601360000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601360010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601360020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60006001600454610cfb9190614753565b905090565b610d0861228c565b80600d6000848152602001908152602001600020819055505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d6257610d6133612078565b5b610d6d84848461230a565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610f085760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610f1261236a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610f3e9190614787565b610f489190614810565b90508160000151819350935050509250929050565b6000806000600190505b600454811015610ff157610f7a8161206a565b8015610fb95750610f8a816115f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610fde57838203610fcf57809250505061102d565b8180610fda90614841565b9250505b8080610fe990614841565b915050610f67565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611024906148fb565b60405180910390fd5b92915050565b61085c81565b600080868660405160200161104f929190614984565b6040516020818303038152906040528051906020012090506110868484600d60008981526020019081526020016000205484612374565b91505095945050505050565b600d6020528060005260406000206000915090505481565b6110b261228c565b600073ffffffffffffffffffffffffffffffffffffffff16601360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156111665750600073ffffffffffffffffffffffffffffffffffffffff16601360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111c45750600073ffffffffffffffffffffffffffffffffffffffff16601360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156112225750600073ffffffffffffffffffffffffffffffffffffffff16601360030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156112805750600073ffffffffffffffffffffffffffffffffffffffff16601360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b6906149fc565b60405180910390fd5b600047905061130f601360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620ac1e8846113009190614787565b61130a9190614810565b61238d565b61135a601360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620173188461134b9190614787565b6113559190614810565b61238d565b6113a4601360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f42406188b8846113959190614787565b61139f9190614810565b61238d565b6113ef601360030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f424062011170846113e09190614787565b6113ea9190614810565b61238d565b61143a601360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620173188461142b9190614787565b6114359190614810565b61238d565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461148d5761148c33612078565b5b611498848484612481565b50505050565b6114a661228c565b60006114b0610cea565b905061085c82826114c19190614a1c565b1115611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614abe565b60405180910390fd5b61150c83836124a1565b505050565b600061151b610cea565b821061155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390614b50565b60405180910390fd5b600080600190505b6004548110156115af576115778161206a565b1561159c5783820361158d5780925050506115b2565b818061159890614841565b9250505b80806115a790614841565b915050611564565b50505b919050565b6115bf61228c565b8181600f91906115d0929190613a8a565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600080611601836124bf565b50905080915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490614be2565b60405180910390fd5b600080600190505b6004548110156116f7576116988161206a565b156116e6576116a6816115f5565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116e557816116e290614841565b91505b5b806116f090614841565b9050611685565b5080915050919050565b61170961228c565b6117136000612550565b565b662aa1efb94e000081565b66354a6ba7a1800081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61175d61228c565b6117678282612616565b5050565b6117736127ab565b600061177d610cea565b90506000600187036117a35785662aa1efb94e000061179c9190614787565b90506117e5565b600287036117c5578566354a6ba7a180006117be9190614787565b90506117e4565b600387036117e3578566354a6ba7a180006117e09190614787565b90505b5b5b600c600088815260200190815260200160002060009054906101000a900460ff16611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90614c4e565b60405180910390fd5b6118523384898888611039565b611891576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188890614cba565b60405180910390fd5b61189e87878484876127fa565b85601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ed9190614a1c565b92505081905550856012600089815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119549190614a1c565b9250508190555061196533876124a1565b505061196f612931565b5050505050565b61197e61228c565b80600e60006101000a81548160ff02191690831515021790555050565b6060600280546119aa90614661565b80601f01602080910402602001604051908101604052809291908181526020018280546119d690614661565b8015611a235780601f106119f857610100808354040283529160200191611a23565b820191906000526020600020905b815481529060010190602001808311611a0657829003601f168201915b5050505050905090565b66354a6ba7a1800081565b81611a4281612078565b611a4c838361293b565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a8f57611a8e33612078565b5b611a9b85858585612abb565b5050505050565b66470de4df82000081565b6012602052816000526040600020602052806000526040600020600091509150505481565b611ada6127ab565b6000611ae4610cea565b905060008266470de4df820000611afb9190614787565b9050600c60006004815260200190815260200160002060009054906101000a900460ff16611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5590614c4e565b60405180910390fd5b611b6e6004848484600b546127fa565b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bbd9190614a1c565b9250508190555082601260006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c259190614a1c565b92505081905550611c3633846124a1565b5050611c40612931565b50565b611c4b61228c565b80600c600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6060600e60009054906101000a900460ff1615611cc057611c9a82612b1d565b604051602001611caa9190614d62565b6040516020818303038152906040529050611d4e565b60108054611ccd90614661565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf990614661565b8015611d465780601f10611d1b57610100808354040283529160200191611d46565b820191906000526020600020905b815481529060010190602001808311611d2957829003601f168201915b505050505090505b919050565b60116020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b611e0d61228c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390614df6565b60405180910390fd5b611e8581612550565b50565b611e9061228c565b818160109190611ea1929190613a8a565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f7157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fd957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fe95750611fe882612bc4565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612063575061206282611ea6565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612172576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016120ef929190614e16565b602060405180830381865afa15801561210c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121309190614e54565b61217157806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121689190613d5b565b60405180910390fd5b5b50565b6000612180826115f5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e790614ef3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661220f612c2e565b73ffffffffffffffffffffffffffffffffffffffff16148061223e575061223d81612238612c2e565b611d6b565b5b61227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490614f85565b60405180910390fd5b6122878383612c36565b505050565b612294612c2e565b73ffffffffffffffffffffffffffffffffffffffff166122b261172b565b73ffffffffffffffffffffffffffffffffffffffff1614612308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ff90614ff1565b60405180910390fd5b565b61231b612315612c2e565b82612cef565b61235a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235190615083565b60405180910390fd5b612365838383612dcd565b505050565b6000612710905090565b60008261238286868561304f565b149050949350505050565b804710156123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c7906150ef565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123f690615140565b60006040518083038185875af1925050503d8060008114612433576040519150601f19603f3d011682016040523d82523d6000602084013e612438565b606091505b505090508061247c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612473906151c7565b60405180910390fd5b505050565b61249c83838360405180602001604052806000815250611a51565b505050565b6124bb8282604051806020016040528060008152506130a7565b5050565b6000806124cb8361206a565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190615259565b60405180910390fd5b6125138361310b565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61261e61236a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561267c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612673906152eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e290615357565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6002600a54036127f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e7906153c3565b60405180910390fd5b6002600a81905550565b61085c84846128099190614a1c565b111561284a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284190614abe565b60405180910390fd5b81341461288c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128839061542f565b60405180910390fd5b80846012600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e99190614a1c565b111561292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061549b565b60405180910390fd5b5050505050565b6001600a81905550565b612943612c2e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790615507565b60405180910390fd5b80600660006129bd612c2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612a6a612c2e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aaf9190613be1565b60405180910390a35050565b612acc612ac6612c2e565b83612cef565b612b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0290615083565b60405180910390fd5b612b1784848484613128565b50505050565b6060612b288261206a565b612b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5e90615599565b60405180910390fd5b6000612b71613186565b90506000815111612b915760405180602001604052806000815250612bbc565b80612b9b84613218565b604051602001612bac9291906155b9565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ca9836115f5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612cfa8261206a565b612d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d309061564f565b60405180910390fd5b6000612d44836115f5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612db357508373ffffffffffffffffffffffffffffffffffffffff16612d9b84610ae9565b73ffffffffffffffffffffffffffffffffffffffff16145b80612dc45750612dc38185611d6b565b5b91505092915050565b600080612dd9836124bf565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e42906156e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb190615773565b60405180910390fd5b612ec785858560016132e6565b612ed2600084612c36565b6000600184612ee19190614a1c565b9050612ef78160006132ec90919063ffffffff16565b158015612f05575060045481105b15612f7157856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612f7081600061334790919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612fdf57612fde84600061334790919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461304786868660016133a4565b505050505050565b60008082905060005b8585905081101561309b576130868287878481811061307a57613079615793565b5b905060200201356133aa565b9150808061309390614841565b915050613058565b50809150509392505050565b600060045490506130b884846133d5565b6130c66000858386866135b5565b613105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fc90615834565b60405180910390fd5b50505050565b600061312182600061377790919063ffffffff16565b9050919050565b613133848484612dcd565b6131418484846001856135b5565b613180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317790615834565b60405180910390fd5b50505050565b6060600f805461319590614661565b80601f01602080910402602001604051908101604052809291908181526020018280546131c190614661565b801561320e5780601f106131e35761010080835404028352916020019161320e565b820191906000526020600020905b8154815290600101906020018083116131f157829003601f168201915b5050505050905090565b60606000600161322784613870565b01905060008167ffffffffffffffff811115613246576132456143c4565b5b6040519080825280601f01601f1916602001820160405280156132785781602001600182028036833780820191505090505b509050600082602001820190505b6001156132db578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816132cf576132ce6147e1565b5b04945060008503613286575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b60008183106133c2576133bd82846139c3565b6133cd565b6133cc83836139c3565b5b905092915050565b600060045490506000821161341f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613416906158c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361348e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348590615958565b60405180910390fd5b61349b60008483856132e6565b81600460008282546134ad9190614a1c565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061351a81600061334790919063ffffffff16565b61352760008483856133a4565b60008190505b82826135399190614a1c565b8110156135af57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806135a790614841565b91505061352d565b50505050565b60006135d68573ffffffffffffffffffffffffffffffffffffffff166139da565b15613769576001905060008490505b83856135f19190614a1c565b811015613763578573ffffffffffffffffffffffffffffffffffffffff1663150b7a0261361c612c2e565b8984876040518563ffffffff1660e01b815260040161363e94939291906159cd565b6020604051808303816000875af192505050801561367a57506040513d601f19601f820116820180604052508101906136779190615a2e565b60015b6136fc573d80600081146136aa576040519150601f19603f3d011682016040523d82523d6000602084013e6136af565b606091505b5060008151036136f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136eb90615834565b60405180910390fd5b805181602001fd5b82801561374d575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061375b90614841565b9150506135e5565b5061376e565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156137d0576137be816139fd565b60ff168203600884901b179350613867565b5b600115613866576000831161381b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161381290615acd565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156138615761384e816139fd565b60ff0360ff16600884901b179350613866565b6137d1565b5b50505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106138ce577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816138c4576138c36147e1565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061390b576d04ee2d6d415b85acef81000000008381613901576139006147e1565b5b0492506020810190505b662386f26fc10000831061393a57662386f26fc1000083816139305761392f6147e1565b5b0492506010810190505b6305f5e1008310613963576305f5e1008381613959576139586147e1565b5b0492506008810190505b612710831061398857612710838161397e5761397d6147e1565b5b0492506004810190505b606483106139ab57606483816139a1576139a06147e1565b5b0492506002810190505b600a83106139ba576001810190505b80915050919050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615aee610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff613a4685613a6f565b02901c81518110613a5a57613a59615793565b5b602001015160f81c60f81b60f81c9050919050565b6000808211613a7d57600080fd5b8160000382169050919050565b828054613a9690614661565b90600052602060002090601f016020900481019282613ab85760008555613aff565b82601f10613ad157803560ff1916838001178555613aff565b82800160010185558215613aff579182015b82811115613afe578235825591602001919060010190613ae3565b5b509050613b0c9190613b10565b5090565b5b80821115613b29576000816000905550600101613b11565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b7681613b41565b8114613b8157600080fd5b50565b600081359050613b9381613b6d565b92915050565b600060208284031215613baf57613bae613b37565b5b6000613bbd84828501613b84565b91505092915050565b60008115159050919050565b613bdb81613bc6565b82525050565b6000602082019050613bf66000830184613bd2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c36578082015181840152602081019050613c1b565b83811115613c45576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c6782613bfc565b613c718185613c07565b9350613c81818560208601613c18565b613c8a81613c4b565b840191505092915050565b60006020820190508181036000830152613caf8184613c5c565b905092915050565b6000819050919050565b613cca81613cb7565b8114613cd557600080fd5b50565b600081359050613ce781613cc1565b92915050565b600060208284031215613d0357613d02613b37565b5b6000613d1184828501613cd8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d4582613d1a565b9050919050565b613d5581613d3a565b82525050565b6000602082019050613d706000830184613d4c565b92915050565b613d7f81613d3a565b8114613d8a57600080fd5b50565b600081359050613d9c81613d76565b92915050565b60008060408385031215613db957613db8613b37565b5b6000613dc785828601613d8d565b9250506020613dd885828601613cd8565b9150509250929050565b600080600080600060a08688031215613dfe57613dfd613b37565b5b6000613e0c88828901613d8d565b9550506020613e1d88828901613d8d565b9450506040613e2e88828901613d8d565b9350506060613e3f88828901613d8d565b9250506080613e5088828901613d8d565b9150509295509295909350565b613e6681613cb7565b82525050565b6000602082019050613e816000830184613e5d565b92915050565b6000819050919050565b613e9a81613e87565b8114613ea557600080fd5b50565b600081359050613eb781613e91565b92915050565b60008060408385031215613ed457613ed3613b37565b5b6000613ee285828601613cd8565b9250506020613ef385828601613ea8565b9150509250929050565b600080600060608486031215613f1657613f15613b37565b5b6000613f2486828701613d8d565b9350506020613f3586828701613d8d565b9250506040613f4686828701613cd8565b9150509250925092565b60008060408385031215613f6757613f66613b37565b5b6000613f7585828601613cd8565b9250506020613f8685828601613cd8565b9150509250929050565b6000604082019050613fa56000830185613d4c565b613fb26020830184613e5d565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613fde57613fdd613fb9565b5b8235905067ffffffffffffffff811115613ffb57613ffa613fbe565b5b60208301915083602082028301111561401757614016613fc3565b5b9250929050565b60008060008060006080868803121561403a57614039613b37565b5b600061404888828901613d8d565b955050602061405988828901613cd8565b945050604061406a88828901613cd8565b935050606086013567ffffffffffffffff81111561408b5761408a613b3c565b5b61409788828901613fc8565b92509250509295509295909350565b6140af81613e87565b82525050565b60006020820190506140ca60008301846140a6565b92915050565b6000819050919050565b60006140f56140f06140eb84613d1a565b6140d0565b613d1a565b9050919050565b6000614107826140da565b9050919050565b6000614119826140fc565b9050919050565b6141298161410e565b82525050565b60006020820190506141446000830184614120565b92915050565b60008083601f8401126141605761415f613fb9565b5b8235905067ffffffffffffffff81111561417d5761417c613fbe565b5b60208301915083600182028301111561419957614198613fc3565b5b9250929050565b600080602083850312156141b7576141b6613b37565b5b600083013567ffffffffffffffff8111156141d5576141d4613b3c565b5b6141e18582860161414a565b92509250509250929050565b60006020828403121561420357614202613b37565b5b600061421184828501613d8d565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61423b8161421a565b811461424657600080fd5b50565b60008135905061425881614232565b92915050565b6000806040838503121561427557614274613b37565b5b600061428385828601613d8d565b925050602061429485828601614249565b9150509250929050565b6000806000806000608086880312156142ba576142b9613b37565b5b60006142c888828901613cd8565b95505060206142d988828901613cd8565b945050604086013567ffffffffffffffff8111156142fa576142f9613b3c565b5b61430688828901613fc8565b9350935050606061431988828901613cd8565b9150509295509295909350565b61432f81613bc6565b811461433a57600080fd5b50565b60008135905061434c81614326565b92915050565b60006020828403121561436857614367613b37565b5b60006143768482850161433d565b91505092915050565b6000806040838503121561439657614395613b37565b5b60006143a485828601613d8d565b92505060206143b58582860161433d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143fc82613c4b565b810181811067ffffffffffffffff8211171561441b5761441a6143c4565b5b80604052505050565b600061442e613b2d565b905061443a82826143f3565b919050565b600067ffffffffffffffff82111561445a576144596143c4565b5b61446382613c4b565b9050602081019050919050565b82818337600083830152505050565b600061449261448d8461443f565b614424565b9050828152602081018484840111156144ae576144ad6143bf565b5b6144b9848285614470565b509392505050565b600082601f8301126144d6576144d5613fb9565b5b81356144e684826020860161447f565b91505092915050565b6000806000806080858703121561450957614508613b37565b5b600061451787828801613d8d565b945050602061452887828801613d8d565b935050604061453987828801613cd8565b925050606085013567ffffffffffffffff81111561455a57614559613b3c565b5b614566878288016144c1565b91505092959194509250565b6000806040838503121561458957614588613b37565b5b600061459785828601613cd8565b92505060206145a885828601613d8d565b9150509250929050565b600080604083850312156145c9576145c8613b37565b5b60006145d785828601613cd8565b92505060206145e88582860161433d565b9150509250929050565b6000806040838503121561460957614608613b37565b5b600061461785828601613d8d565b925050602061462885828601613d8d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061467957607f821691505b60208210810361468c5761468b614632565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146ee602f83613c07565b91506146f982614692565b604082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061475e82613cb7565b915061476983613cb7565b92508282101561477c5761477b614724565b5b828203905092915050565b600061479282613cb7565b915061479d83613cb7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147d6576147d5614724565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061481b82613cb7565b915061482683613cb7565b925082614836576148356147e1565b5b828204905092915050565b600061484c82613cb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361487e5761487d614724565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b60006148e5602483613c07565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b60008160601b9050919050565b60006149338261491b565b9050919050565b600061494582614928565b9050919050565b61495d61495882613d3a565b61493a565b82525050565b6000819050919050565b61497e61497982613cb7565b614963565b82525050565b6000614990828561494c565b6014820191506149a0828461496d565b6020820191508190509392505050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006149e6601983613c07565b91506149f1826149b0565b602082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b6000614a2782613cb7565b9150614a3283613cb7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a6757614a66614724565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000614aa8600f83613c07565b9150614ab382614a72565b602082019050919050565b60006020820190508181036000830152614ad781614a9b565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614b3a602583613c07565b9150614b4582614ade565b604082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b6000614bcc602d83613c07565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b6000614c38601283613c07565b9150614c4382614c02565b602082019050919050565b60006020820190508181036000830152614c6781614c2b565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614ca4601483613c07565b9150614caf82614c6e565b602082019050919050565b60006020820190508181036000830152614cd381614c97565b9050919050565b600081905092915050565b6000614cf082613bfc565b614cfa8185614cda565b9350614d0a818560208601613c18565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614d4c600583614cda565b9150614d5782614d16565b600582019050919050565b6000614d6e8284614ce5565b9150614d7982614d3f565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614de0602683613c07565b9150614deb82614d84565b604082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b6000604082019050614e2b6000830185613d4c565b614e386020830184613d4c565b9392505050565b600081519050614e4e81614326565b92915050565b600060208284031215614e6a57614e69613b37565b5b6000614e7884828501614e3f565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614edd602483613c07565b9150614ee882614e81565b604082019050919050565b60006020820190508181036000830152614f0c81614ed0565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614f6f603b83613c07565b9150614f7a82614f13565b604082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fdb602083613c07565b9150614fe682614fa5565b602082019050919050565b6000602082019050818103600083015261500a81614fce565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b600061506d603483613c07565b915061507882615011565b604082019050919050565b6000602082019050818103600083015261509c81615060565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150d9601d83613c07565b91506150e4826150a3565b602082019050919050565b60006020820190508181036000830152615108816150cc565b9050919050565b600081905092915050565b50565b600061512a60008361510f565b91506151358261511a565b600082019050919050565b600061514b8261511d565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006151b1603a83613c07565b91506151bc82615155565b604082019050919050565b600060208201905081810360008301526151e0816151a4565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615243602c83613c07565b915061524e826151e7565b604082019050919050565b6000602082019050818103600083015261527281615236565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006152d5602a83613c07565b91506152e082615279565b604082019050919050565b60006020820190508181036000830152615304816152c8565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615341601983613c07565b915061534c8261530b565b602082019050919050565b6000602082019050818103600083015261537081615334565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006153ad601f83613c07565b91506153b882615377565b602082019050919050565b600060208201905081810360008301526153dc816153a0565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000615419601083613c07565b9150615424826153e3565b602082019050919050565b600060208201905081810360008301526154488161540c565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000615485601283613c07565b91506154908261544f565b602082019050919050565b600060208201905081810360008301526154b481615478565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b60006154f1601c83613c07565b91506154fc826154bb565b602082019050919050565b60006020820190508181036000830152615520816154e4565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615583602a83613c07565b915061558e82615527565b604082019050919050565b600060208201905081810360008301526155b281615576565b9050919050565b60006155c58285614ce5565b91506155d18284614ce5565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615639602f83613c07565b9150615644826155dd565b604082019050919050565b600060208201905081810360008301526156688161562c565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b60006156cb602c83613c07565b91506156d68261566f565b604082019050919050565b600060208201905081810360008301526156fa816156be565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b600061575d602783613c07565b915061576882615701565b604082019050919050565b6000602082019050818103600083015261578c81615750565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600061581e603583613c07565b9150615829826157c2565b604082019050919050565b6000602082019050818103600083015261584d81615811565b9050919050565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b60006158b0602583613c07565b91506158bb82615854565b604082019050919050565b600060208201905081810360008301526158df816158a3565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615942602383613c07565b915061594d826158e6565b604082019050919050565b6000602082019050818103600083015261597181615935565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061599f82615978565b6159a98185615983565b93506159b9818560208601613c18565b6159c281613c4b565b840191505092915050565b60006080820190506159e26000830187613d4c565b6159ef6020830186613d4c565b6159fc6040830185613e5d565b8181036060830152615a0e8184615994565b905095945050505050565b600081519050615a2881613b6d565b92915050565b600060208284031215615a4457615a43613b37565b5b6000615a5284828501615a19565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b6000615ab7603483613c07565b9150615ac282615a5b565b604082019050919050565b60006020820190508181036000830152615ae681615aaa565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212204787755741a2bfb621b754bbcf808d5898a9fa2d71e3614c40f69ee55b3056d264736f6c634300080d003368747470733a2f2f646171613165306f7836666f792e636c6f756466726f6e742e6e65742f756e72657665616c65642f6d657461646174612e6a736f6e

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063b88d4fde116100b6578063c87b56dd1161007a578063c87b56dd14610901578063c884ef831461093e578063e985e9c51461097b578063f076a6f5146109b8578063f2fde38b146109e3578063fe2c7fee14610a0c5761025c565b8063b88d4fde1461082b578063ba04400914610854578063bcf38a791461087f578063c1d9df8d146108bc578063c30565fb146108d85761025c565b80638f2fc60b116101085780638f2fc60b1461073e5780638fa3110914610767578063940cd05b1461078357806395d89b41146107ac57806396678c85146107d7578063a22cb465146108025761025c565b806370a0823114610669578063715018a6146106a6578063776f1ecb146106bd5780637d21f51d146106e85780638da5cb5b146107135761025c565b806332cb6b0c116101dd57806342842e0e116101a157806342842e0e14610537578063484b973c146105605780634f6ccce71461058957806355f804b3146105c65780635c64ef66146105ef5780636352211e1461062c5761025c565b806332cb6b0c146104505780633bbaeef21461047b5780633c70b357146104b85780633ccfd60b146104f557806341f434341461050c5761025c565b806318160ddd1161022457806318160ddd1461035857806318712c211461038357806323b872dd146103ac5780632a55205a146103d55780632f745c59146104135761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780631146f3c41461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613b99565b610a35565b6040516102959190613be1565b60405180910390f35b3480156102aa57600080fd5b506102b3610a57565b6040516102c09190613c95565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613ced565b610ae9565b6040516102fd9190613d5b565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613da2565b610b6e565b005b34801561033b57600080fd5b5061035660048036038101906103519190613de2565b610b87565b005b34801561036457600080fd5b5061036d610cea565b60405161037a9190613e6c565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613ebd565b610d00565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190613efd565b610d24565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613f50565b610d73565b60405161040a929190613f90565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190613da2565b610f5d565b6040516104479190613e6c565b60405180910390f35b34801561045c57600080fd5b50610465611033565b6040516104729190613e6c565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d919061401e565b611039565b6040516104af9190613be1565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190613ced565b611092565b6040516104ec91906140b5565b60405180910390f35b34801561050157600080fd5b5061050a6110aa565b005b34801561051857600080fd5b5061052161143d565b60405161052e919061412f565b60405180910390f35b34801561054357600080fd5b5061055e60048036038101906105599190613efd565b61144f565b005b34801561056c57600080fd5b5061058760048036038101906105829190613da2565b61149e565b005b34801561059557600080fd5b506105b060048036038101906105ab9190613ced565b611511565b6040516105bd9190613e6c565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e891906141a0565b6115b7565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613ced565b6115d5565b6040516106239190613be1565b60405180910390f35b34801561063857600080fd5b50610653600480360381019061064e9190613ced565b6115f5565b6040516106609190613d5b565b60405180910390f35b34801561067557600080fd5b50610690600480360381019061068b91906141ed565b61160d565b60405161069d9190613e6c565b60405180910390f35b3480156106b257600080fd5b506106bb611701565b005b3480156106c957600080fd5b506106d2611715565b6040516106df9190613e6c565b60405180910390f35b3480156106f457600080fd5b506106fd611720565b60405161070a9190613e6c565b60405180910390f35b34801561071f57600080fd5b5061072861172b565b6040516107359190613d5b565b60405180910390f35b34801561074a57600080fd5b506107656004803603810190610760919061425e565b611755565b005b610781600480360381019061077c919061429e565b61176b565b005b34801561078f57600080fd5b506107aa60048036038101906107a59190614352565b611976565b005b3480156107b857600080fd5b506107c161199b565b6040516107ce9190613c95565b60405180910390f35b3480156107e357600080fd5b506107ec611a2d565b6040516107f99190613e6c565b60405180910390f35b34801561080e57600080fd5b506108296004803603810190610824919061437f565b611a38565b005b34801561083757600080fd5b50610852600480360381019061084d91906144ef565b611a51565b005b34801561086057600080fd5b50610869611aa2565b6040516108769190613e6c565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190614572565b611aad565b6040516108b39190613e6c565b60405180910390f35b6108d660048036038101906108d19190613ced565b611ad2565b005b3480156108e457600080fd5b506108ff60048036038101906108fa91906145b2565b611c43565b005b34801561090d57600080fd5b5061092860048036038101906109239190613ced565b611c7a565b6040516109359190613c95565b60405180910390f35b34801561094a57600080fd5b50610965600480360381019061096091906141ed565b611d53565b6040516109729190613e6c565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d91906145f2565b611d6b565b6040516109af9190613be1565b60405180910390f35b3480156109c457600080fd5b506109cd611dff565b6040516109da9190613e6c565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a0591906141ed565b611e05565b005b348015610a1857600080fd5b50610a336004803603810190610a2e91906141a0565b611e88565b005b6000610a4082611ea6565b80610a505750610a4f82611ff0565b5b9050919050565b606060018054610a6690614661565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9290614661565b8015610adf5780601f10610ab457610100808354040283529160200191610adf565b820191906000526020600020905b815481529060010190602001808311610ac257829003601f168201915b5050505050905090565b6000610af48261206a565b610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90614704565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b7881612078565b610b828383612175565b505050565b610b8f61228c565b84601360000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601360010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601360020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601360030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60006001600454610cfb9190614753565b905090565b610d0861228c565b80600d6000848152602001908152602001600020819055505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d6257610d6133612078565b5b610d6d84848461230a565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610f085760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610f1261236a565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610f3e9190614787565b610f489190614810565b90508160000151819350935050509250929050565b6000806000600190505b600454811015610ff157610f7a8161206a565b8015610fb95750610f8a816115f5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610fde57838203610fcf57809250505061102d565b8180610fda90614841565b9250505b8080610fe990614841565b915050610f67565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611024906148fb565b60405180910390fd5b92915050565b61085c81565b600080868660405160200161104f929190614984565b6040516020818303038152906040528051906020012090506110868484600d60008981526020019081526020016000205484612374565b91505095945050505050565b600d6020528060005260406000206000915090505481565b6110b261228c565b600073ffffffffffffffffffffffffffffffffffffffff16601360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156111665750600073ffffffffffffffffffffffffffffffffffffffff16601360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111c45750600073ffffffffffffffffffffffffffffffffffffffff16601360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156112225750600073ffffffffffffffffffffffffffffffffffffffff16601360030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156112805750600073ffffffffffffffffffffffffffffffffffffffff16601360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b6906149fc565b60405180910390fd5b600047905061130f601360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620ac1e8846113009190614787565b61130a9190614810565b61238d565b61135a601360010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620173188461134b9190614787565b6113559190614810565b61238d565b6113a4601360020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f42406188b8846113959190614787565b61139f9190614810565b61238d565b6113ef601360030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f424062011170846113e09190614787565b6113ea9190614810565b61238d565b61143a601360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620f4240620173188461142b9190614787565b6114359190614810565b61238d565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461148d5761148c33612078565b5b611498848484612481565b50505050565b6114a661228c565b60006114b0610cea565b905061085c82826114c19190614a1c565b1115611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990614abe565b60405180910390fd5b61150c83836124a1565b505050565b600061151b610cea565b821061155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390614b50565b60405180910390fd5b600080600190505b6004548110156115af576115778161206a565b1561159c5783820361158d5780925050506115b2565b818061159890614841565b9250505b80806115a790614841565b915050611564565b50505b919050565b6115bf61228c565b8181600f91906115d0929190613a8a565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b600080611601836124bf565b50905080915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490614be2565b60405180910390fd5b600080600190505b6004548110156116f7576116988161206a565b156116e6576116a6816115f5565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036116e557816116e290614841565b91505b5b806116f090614841565b9050611685565b5080915050919050565b61170961228c565b6117136000612550565b565b662aa1efb94e000081565b66354a6ba7a1800081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61175d61228c565b6117678282612616565b5050565b6117736127ab565b600061177d610cea565b90506000600187036117a35785662aa1efb94e000061179c9190614787565b90506117e5565b600287036117c5578566354a6ba7a180006117be9190614787565b90506117e4565b600387036117e3578566354a6ba7a180006117e09190614787565b90505b5b5b600c600088815260200190815260200160002060009054906101000a900460ff16611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90614c4e565b60405180910390fd5b6118523384898888611039565b611891576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188890614cba565b60405180910390fd5b61189e87878484876127fa565b85601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ed9190614a1c565b92505081905550856012600089815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119549190614a1c565b9250508190555061196533876124a1565b505061196f612931565b5050505050565b61197e61228c565b80600e60006101000a81548160ff02191690831515021790555050565b6060600280546119aa90614661565b80601f01602080910402602001604051908101604052809291908181526020018280546119d690614661565b8015611a235780601f106119f857610100808354040283529160200191611a23565b820191906000526020600020905b815481529060010190602001808311611a0657829003601f168201915b5050505050905090565b66354a6ba7a1800081565b81611a4281612078565b611a4c838361293b565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a8f57611a8e33612078565b5b611a9b85858585612abb565b5050505050565b66470de4df82000081565b6012602052816000526040600020602052806000526040600020600091509150505481565b611ada6127ab565b6000611ae4610cea565b905060008266470de4df820000611afb9190614787565b9050600c60006004815260200190815260200160002060009054906101000a900460ff16611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5590614c4e565b60405180910390fd5b611b6e6004848484600b546127fa565b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bbd9190614a1c565b9250508190555082601260006004815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c259190614a1c565b92505081905550611c3633846124a1565b5050611c40612931565b50565b611c4b61228c565b80600c600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6060600e60009054906101000a900460ff1615611cc057611c9a82612b1d565b604051602001611caa9190614d62565b6040516020818303038152906040529050611d4e565b60108054611ccd90614661565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf990614661565b8015611d465780601f10611d1b57610100808354040283529160200191611d46565b820191906000526020600020905b815481529060010190602001808311611d2957829003601f168201915b505050505090505b919050565b60116020528060005260406000206000915090505481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b611e0d61228c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390614df6565b60405180910390fd5b611e8581612550565b50565b611e9061228c565b818160109190611ea1929190613a8a565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f7157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fd957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fe95750611fe882612bc4565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612063575061206282611ea6565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612172576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016120ef929190614e16565b602060405180830381865afa15801561210c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121309190614e54565b61217157806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121689190613d5b565b60405180910390fd5b5b50565b6000612180826115f5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e790614ef3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661220f612c2e565b73ffffffffffffffffffffffffffffffffffffffff16148061223e575061223d81612238612c2e565b611d6b565b5b61227d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227490614f85565b60405180910390fd5b6122878383612c36565b505050565b612294612c2e565b73ffffffffffffffffffffffffffffffffffffffff166122b261172b565b73ffffffffffffffffffffffffffffffffffffffff1614612308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ff90614ff1565b60405180910390fd5b565b61231b612315612c2e565b82612cef565b61235a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235190615083565b60405180910390fd5b612365838383612dcd565b505050565b6000612710905090565b60008261238286868561304f565b149050949350505050565b804710156123d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c7906150ef565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123f690615140565b60006040518083038185875af1925050503d8060008114612433576040519150601f19603f3d011682016040523d82523d6000602084013e612438565b606091505b505090508061247c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612473906151c7565b60405180910390fd5b505050565b61249c83838360405180602001604052806000815250611a51565b505050565b6124bb8282604051806020016040528060008152506130a7565b5050565b6000806124cb8361206a565b61250a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250190615259565b60405180910390fd5b6125138361310b565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61261e61236a565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561267c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612673906152eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e290615357565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6002600a54036127f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e7906153c3565b60405180910390fd5b6002600a81905550565b61085c84846128099190614a1c565b111561284a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284190614abe565b60405180910390fd5b81341461288c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128839061542f565b60405180910390fd5b80846012600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e99190614a1c565b111561292a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129219061549b565b60405180910390fd5b5050505050565b6001600a81905550565b612943612c2e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790615507565b60405180910390fd5b80600660006129bd612c2e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612a6a612c2e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aaf9190613be1565b60405180910390a35050565b612acc612ac6612c2e565b83612cef565b612b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0290615083565b60405180910390fd5b612b1784848484613128565b50505050565b6060612b288261206a565b612b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5e90615599565b60405180910390fd5b6000612b71613186565b90506000815111612b915760405180602001604052806000815250612bbc565b80612b9b84613218565b604051602001612bac9291906155b9565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612ca9836115f5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612cfa8261206a565b612d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d309061564f565b60405180910390fd5b6000612d44836115f5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612db357508373ffffffffffffffffffffffffffffffffffffffff16612d9b84610ae9565b73ffffffffffffffffffffffffffffffffffffffff16145b80612dc45750612dc38185611d6b565b5b91505092915050565b600080612dd9836124bf565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e42906156e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb190615773565b60405180910390fd5b612ec785858560016132e6565b612ed2600084612c36565b6000600184612ee19190614a1c565b9050612ef78160006132ec90919063ffffffff16565b158015612f05575060045481105b15612f7157856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612f7081600061334790919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612fdf57612fde84600061334790919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461304786868660016133a4565b505050505050565b60008082905060005b8585905081101561309b576130868287878481811061307a57613079615793565b5b905060200201356133aa565b9150808061309390614841565b915050613058565b50809150509392505050565b600060045490506130b884846133d5565b6130c66000858386866135b5565b613105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fc90615834565b60405180910390fd5b50505050565b600061312182600061377790919063ffffffff16565b9050919050565b613133848484612dcd565b6131418484846001856135b5565b613180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317790615834565b60405180910390fd5b50505050565b6060600f805461319590614661565b80601f01602080910402602001604051908101604052809291908181526020018280546131c190614661565b801561320e5780601f106131e35761010080835404028352916020019161320e565b820191906000526020600020905b8154815290600101906020018083116131f157829003601f168201915b5050505050905090565b60606000600161322784613870565b01905060008167ffffffffffffffff811115613246576132456143c4565b5b6040519080825280601f01601f1916602001820160405280156132785781602001600182028036833780820191505090505b509050600082602001820190505b6001156132db578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816132cf576132ce6147e1565b5b04945060008503613286575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b60008183106133c2576133bd82846139c3565b6133cd565b6133cc83836139c3565b5b905092915050565b600060045490506000821161341f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613416906158c6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361348e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348590615958565b60405180910390fd5b61349b60008483856132e6565b81600460008282546134ad9190614a1c565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061351a81600061334790919063ffffffff16565b61352760008483856133a4565b60008190505b82826135399190614a1c565b8110156135af57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480806135a790614841565b91505061352d565b50505050565b60006135d68573ffffffffffffffffffffffffffffffffffffffff166139da565b15613769576001905060008490505b83856135f19190614a1c565b811015613763578573ffffffffffffffffffffffffffffffffffffffff1663150b7a0261361c612c2e565b8984876040518563ffffffff1660e01b815260040161363e94939291906159cd565b6020604051808303816000875af192505050801561367a57506040513d601f19601f820116820180604052508101906136779190615a2e565b60015b6136fc573d80600081146136aa576040519150601f19603f3d011682016040523d82523d6000602084013e6136af565b606091505b5060008151036136f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136eb90615834565b60405180910390fd5b805181602001fd5b82801561374d575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808061375b90614841565b9150506135e5565b5061376e565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156137d0576137be816139fd565b60ff168203600884901b179350613867565b5b600115613866576000831161381b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161381290615acd565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156138615761384e816139fd565b60ff0360ff16600884901b179350613866565b6137d1565b5b50505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106138ce577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816138c4576138c36147e1565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061390b576d04ee2d6d415b85acef81000000008381613901576139006147e1565b5b0492506020810190505b662386f26fc10000831061393a57662386f26fc1000083816139305761392f6147e1565b5b0492506010810190505b6305f5e1008310613963576305f5e1008381613959576139586147e1565b5b0492506008810190505b612710831061398857612710838161397e5761397d6147e1565b5b0492506004810190505b606483106139ab57606483816139a1576139a06147e1565b5b0492506002810190505b600a83106139ba576001810190505b80915050919050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615aee610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff613a4685613a6f565b02901c81518110613a5a57613a59615793565b5b602001015160f81c60f81b60f81c9050919050565b6000808211613a7d57600080fd5b8160000382169050919050565b828054613a9690614661565b90600052602060002090601f016020900481019282613ab85760008555613aff565b82601f10613ad157803560ff1916838001178555613aff565b82800160010185558215613aff579182015b82811115613afe578235825591602001919060010190613ae3565b5b509050613b0c9190613b10565b5090565b5b80821115613b29576000816000905550600101613b11565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b7681613b41565b8114613b8157600080fd5b50565b600081359050613b9381613b6d565b92915050565b600060208284031215613baf57613bae613b37565b5b6000613bbd84828501613b84565b91505092915050565b60008115159050919050565b613bdb81613bc6565b82525050565b6000602082019050613bf66000830184613bd2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c36578082015181840152602081019050613c1b565b83811115613c45576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c6782613bfc565b613c718185613c07565b9350613c81818560208601613c18565b613c8a81613c4b565b840191505092915050565b60006020820190508181036000830152613caf8184613c5c565b905092915050565b6000819050919050565b613cca81613cb7565b8114613cd557600080fd5b50565b600081359050613ce781613cc1565b92915050565b600060208284031215613d0357613d02613b37565b5b6000613d1184828501613cd8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d4582613d1a565b9050919050565b613d5581613d3a565b82525050565b6000602082019050613d706000830184613d4c565b92915050565b613d7f81613d3a565b8114613d8a57600080fd5b50565b600081359050613d9c81613d76565b92915050565b60008060408385031215613db957613db8613b37565b5b6000613dc785828601613d8d565b9250506020613dd885828601613cd8565b9150509250929050565b600080600080600060a08688031215613dfe57613dfd613b37565b5b6000613e0c88828901613d8d565b9550506020613e1d88828901613d8d565b9450506040613e2e88828901613d8d565b9350506060613e3f88828901613d8d565b9250506080613e5088828901613d8d565b9150509295509295909350565b613e6681613cb7565b82525050565b6000602082019050613e816000830184613e5d565b92915050565b6000819050919050565b613e9a81613e87565b8114613ea557600080fd5b50565b600081359050613eb781613e91565b92915050565b60008060408385031215613ed457613ed3613b37565b5b6000613ee285828601613cd8565b9250506020613ef385828601613ea8565b9150509250929050565b600080600060608486031215613f1657613f15613b37565b5b6000613f2486828701613d8d565b9350506020613f3586828701613d8d565b9250506040613f4686828701613cd8565b9150509250925092565b60008060408385031215613f6757613f66613b37565b5b6000613f7585828601613cd8565b9250506020613f8685828601613cd8565b9150509250929050565b6000604082019050613fa56000830185613d4c565b613fb26020830184613e5d565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f840112613fde57613fdd613fb9565b5b8235905067ffffffffffffffff811115613ffb57613ffa613fbe565b5b60208301915083602082028301111561401757614016613fc3565b5b9250929050565b60008060008060006080868803121561403a57614039613b37565b5b600061404888828901613d8d565b955050602061405988828901613cd8565b945050604061406a88828901613cd8565b935050606086013567ffffffffffffffff81111561408b5761408a613b3c565b5b61409788828901613fc8565b92509250509295509295909350565b6140af81613e87565b82525050565b60006020820190506140ca60008301846140a6565b92915050565b6000819050919050565b60006140f56140f06140eb84613d1a565b6140d0565b613d1a565b9050919050565b6000614107826140da565b9050919050565b6000614119826140fc565b9050919050565b6141298161410e565b82525050565b60006020820190506141446000830184614120565b92915050565b60008083601f8401126141605761415f613fb9565b5b8235905067ffffffffffffffff81111561417d5761417c613fbe565b5b60208301915083600182028301111561419957614198613fc3565b5b9250929050565b600080602083850312156141b7576141b6613b37565b5b600083013567ffffffffffffffff8111156141d5576141d4613b3c565b5b6141e18582860161414a565b92509250509250929050565b60006020828403121561420357614202613b37565b5b600061421184828501613d8d565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61423b8161421a565b811461424657600080fd5b50565b60008135905061425881614232565b92915050565b6000806040838503121561427557614274613b37565b5b600061428385828601613d8d565b925050602061429485828601614249565b9150509250929050565b6000806000806000608086880312156142ba576142b9613b37565b5b60006142c888828901613cd8565b95505060206142d988828901613cd8565b945050604086013567ffffffffffffffff8111156142fa576142f9613b3c565b5b61430688828901613fc8565b9350935050606061431988828901613cd8565b9150509295509295909350565b61432f81613bc6565b811461433a57600080fd5b50565b60008135905061434c81614326565b92915050565b60006020828403121561436857614367613b37565b5b60006143768482850161433d565b91505092915050565b6000806040838503121561439657614395613b37565b5b60006143a485828601613d8d565b92505060206143b58582860161433d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143fc82613c4b565b810181811067ffffffffffffffff8211171561441b5761441a6143c4565b5b80604052505050565b600061442e613b2d565b905061443a82826143f3565b919050565b600067ffffffffffffffff82111561445a576144596143c4565b5b61446382613c4b565b9050602081019050919050565b82818337600083830152505050565b600061449261448d8461443f565b614424565b9050828152602081018484840111156144ae576144ad6143bf565b5b6144b9848285614470565b509392505050565b600082601f8301126144d6576144d5613fb9565b5b81356144e684826020860161447f565b91505092915050565b6000806000806080858703121561450957614508613b37565b5b600061451787828801613d8d565b945050602061452887828801613d8d565b935050604061453987828801613cd8565b925050606085013567ffffffffffffffff81111561455a57614559613b3c565b5b614566878288016144c1565b91505092959194509250565b6000806040838503121561458957614588613b37565b5b600061459785828601613cd8565b92505060206145a885828601613d8d565b9150509250929050565b600080604083850312156145c9576145c8613b37565b5b60006145d785828601613cd8565b92505060206145e88582860161433d565b9150509250929050565b6000806040838503121561460957614608613b37565b5b600061461785828601613d8d565b925050602061462885828601613d8d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061467957607f821691505b60208210810361468c5761468b614632565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146ee602f83613c07565b91506146f982614692565b604082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061475e82613cb7565b915061476983613cb7565b92508282101561477c5761477b614724565b5b828203905092915050565b600061479282613cb7565b915061479d83613cb7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147d6576147d5614724565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061481b82613cb7565b915061482683613cb7565b925082614836576148356147e1565b5b828204905092915050565b600061484c82613cb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361487e5761487d614724565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b60006148e5602483613c07565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b60008160601b9050919050565b60006149338261491b565b9050919050565b600061494582614928565b9050919050565b61495d61495882613d3a565b61493a565b82525050565b6000819050919050565b61497e61497982613cb7565b614963565b82525050565b6000614990828561494c565b6014820191506149a0828461496d565b6020820191508190509392505050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006149e6601983613c07565b91506149f1826149b0565b602082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b6000614a2782613cb7565b9150614a3283613cb7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a6757614a66614724565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000614aa8600f83613c07565b9150614ab382614a72565b602082019050919050565b60006020820190508181036000830152614ad781614a9b565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614b3a602583613c07565b9150614b4582614ade565b604082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b6000614bcc602d83613c07565b9150614bd782614b70565b604082019050919050565b60006020820190508181036000830152614bfb81614bbf565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b6000614c38601283613c07565b9150614c4382614c02565b602082019050919050565b60006020820190508181036000830152614c6781614c2b565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614ca4601483613c07565b9150614caf82614c6e565b602082019050919050565b60006020820190508181036000830152614cd381614c97565b9050919050565b600081905092915050565b6000614cf082613bfc565b614cfa8185614cda565b9350614d0a818560208601613c18565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614d4c600583614cda565b9150614d5782614d16565b600582019050919050565b6000614d6e8284614ce5565b9150614d7982614d3f565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614de0602683613c07565b9150614deb82614d84565b604082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b6000604082019050614e2b6000830185613d4c565b614e386020830184613d4c565b9392505050565b600081519050614e4e81614326565b92915050565b600060208284031215614e6a57614e69613b37565b5b6000614e7884828501614e3f565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614edd602483613c07565b9150614ee882614e81565b604082019050919050565b60006020820190508181036000830152614f0c81614ed0565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614f6f603b83613c07565b9150614f7a82614f13565b604082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614fdb602083613c07565b9150614fe682614fa5565b602082019050919050565b6000602082019050818103600083015261500a81614fce565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b600061506d603483613c07565b915061507882615011565b604082019050919050565b6000602082019050818103600083015261509c81615060565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150d9601d83613c07565b91506150e4826150a3565b602082019050919050565b60006020820190508181036000830152615108816150cc565b9050919050565b600081905092915050565b50565b600061512a60008361510f565b91506151358261511a565b600082019050919050565b600061514b8261511d565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006151b1603a83613c07565b91506151bc82615155565b604082019050919050565b600060208201905081810360008301526151e0816151a4565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615243602c83613c07565b915061524e826151e7565b604082019050919050565b6000602082019050818103600083015261527281615236565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006152d5602a83613c07565b91506152e082615279565b604082019050919050565b60006020820190508181036000830152615304816152c8565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615341601983613c07565b915061534c8261530b565b602082019050919050565b6000602082019050818103600083015261537081615334565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006153ad601f83613c07565b91506153b882615377565b602082019050919050565b600060208201905081810360008301526153dc816153a0565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000615419601083613c07565b9150615424826153e3565b602082019050919050565b600060208201905081810360008301526154488161540c565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000615485601283613c07565b91506154908261544f565b602082019050919050565b600060208201905081810360008301526154b481615478565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b60006154f1601c83613c07565b91506154fc826154bb565b602082019050919050565b60006020820190508181036000830152615520816154e4565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615583602a83613c07565b915061558e82615527565b604082019050919050565b600060208201905081810360008301526155b281615576565b9050919050565b60006155c58285614ce5565b91506155d18284614ce5565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615639602f83613c07565b9150615644826155dd565b604082019050919050565b600060208201905081810360008301526156688161562c565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b60006156cb602c83613c07565b91506156d68261566f565b604082019050919050565b600060208201905081810360008301526156fa816156be565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b600061575d602783613c07565b915061576882615701565b604082019050919050565b6000602082019050818103600083015261578c81615750565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600061581e603583613c07565b9150615829826157c2565b604082019050919050565b6000602082019050818103600083015261584d81615811565b9050919050565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b60006158b0602583613c07565b91506158bb82615854565b604082019050919050565b600060208201905081810360008301526158df816158a3565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615942602383613c07565b915061594d826158e6565b604082019050919050565b6000602082019050818103600083015261597181615935565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061599f82615978565b6159a98185615983565b93506159b9818560208601613c18565b6159c281613c4b565b840191505092915050565b60006080820190506159e26000830187613d4c565b6159ef6020830186613d4c565b6159fc6040830185613e5d565b8181036060830152615a0e8184615994565b905095945050505050565b600081519050615a2881613b6d565b92915050565b600060208284031215615a4457615a43613b37565b5b6000615a5284828501615a19565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b6000615ab7603483613c07565b9150615ac282615a5b565b604082019050919050565b60006020820190508181036000830152615ae681615aaa565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a26469706673582212204787755741a2bfb621b754bbcf808d5898a9fa2d71e3614c40f69ee55b3056d264736f6c634300080d0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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