ETH Price: $3,356.14 (-3.39%)

Token

Romaco Abuse Music (RAM)
 

Overview

Max Total Supply

3,333 RAM

Holders

1,126

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 RAM
0x16add04eaf42303cad0002c60de34c7d0c4372dc
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 23 : 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 = 3333;
    uint256 public constant PRICE = 0.02 ether;

    bool public preSaleStart;
    bool public pubSaleStart;
    uint256 public mintLimit = 2;
    bytes32 public merkleRoot = 0x87f07491173c26aa3a9bb1708649473aa467a6db407fb2ad31c1cfe4b1a310b5;

    string private _baseTokenURI = "https://d1tzqlpa5utiea.cloudfront.net/romaco_abuse_music/metadata/";

    mapping(address => uint256) public claimed;

    constructor() ERC721Psi("Romaco Abuse Music", "RAM") {
        _setDefaultRoyalty(0x2Ad9c33fB92bc5E4eE740a77Ff4F94a7F5572acC, 1000);

        _member.founder = 0x2Ad9c33fB92bc5E4eE740a77Ff4F94a7F5572acC;
        _member.illustrator = 0xd87DfEe4724AfaB22Ba21053d42f6d2b9a68C41C;
        _member.marketer = 0x2c2D9a9fac936A8729B22579eC1FCA50F4C6445F;
        _member.musician = 0x5DadE3533eC6789F5DCd3190323F40b3f4bB6dC6;
        _member.developer = 0x48A23fb6f56F9c14D29FA47A4f45b3a03167dDAe;

        _safeMint(owner(), 1);
    }

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

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

    function pubMint(uint256 _quantity) public payable nonReentrant {
        uint256 supply = totalSupply();
        uint256 cost = PRICE * _quantity;
        require(pubSaleStart, "Before sale begin.");
        _mintCheck(_quantity, supply, cost);

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

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

    function preMint(uint256 _quantity, bytes32[] calldata _merkleProof)
        public
        payable
        nonReentrant
    {
        uint256 supply = totalSupply();
        uint256 cost = PRICE * _quantity;
        require(preSaleStart, "Before sale begin.");
        _mintCheck(_quantity, supply, cost);

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

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

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

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

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

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setPresale(bool _state) public onlyOwner {
        preSaleStart = _state;
    }

    function setPubsale(bool _state) public onlyOwner {
        pubSaleStart = _state;
    }

    function setMintLimit(uint256 _quantity) public onlyOwner {
        mintLimit = _quantity;
    }

    struct ProjectMember {
        address founder;
        address illustrator;
        address marketer;
        address musician;
        address developer;
    }
    ProjectMember private _member;

    function setMemberAddress(
        address _founder,
        address _illustrator,
        address _marketer,
        address _musician,
        address _developer
    ) public onlyOwner {
        _member.founder = _founder;
        _member.illustrator = _illustrator;
        _member.marketer = _marketer;
        _member.musician = _musician;
        _member.developer = _developer;
    }

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

        uint256 balance = address(this).balance;
        Address.sendValue(payable(_member.founder), ((balance * 2800) / 10000));
        Address.sendValue(
            payable(_member.illustrator),
            ((balance * 1000) / 10000)
        );
        Address.sendValue(payable(_member.marketer), ((balance * 1400) / 10000));
        Address.sendValue(payable(_member.musician), ((balance * 2800) / 10000));
        Address.sendValue(
            payable(_member.developer),
            ((balance * 2000) / 10000)
        );
    }

    // OperatorFilterer
    function setOperatorFilteringEnabled(bool _state) external onlyOwner {
        operatorFilteringEnabled = _state;
    }

    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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : 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 23 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

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

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

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

    bool public operatorFilteringEnabled = true;

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // 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);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    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 && operatorFilteringEnabled) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 22 of 23 : 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 23 of 23 : 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","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":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pubSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"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":"_illustrator","type":"address"},{"internalType":"address","name":"_marketer","type":"address"},{"internalType":"address","name":"_musician","type":"address"},{"internalType":"address","name":"_developer","type":"address"}],"name":"setMemberAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPubsale","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":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016004556001600b60006101000a81548160ff0219169083151502179055506002600c557f87f07491173c26aa3a9bb1708649473aa467a6db407fb2ad31c1cfe4b1a310b560001b600d5560405180608001604052806042815260200162006d2a60429139600e90805190602001906200008192919062000d2c565b503480156200008f57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601281526020017f526f6d61636f204162757365204d7573696300000000000000000000000000008152506040518060400160405280600381526020017f52414d000000000000000000000000000000000000000000000000000000000081525081600190805190602001906200012b92919062000d2c565b5080600290805190602001906200014492919062000d2c565b505050620001676200015b6200056e60201b60201c565b6200057660201b60201c565b6001600a8190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003645780156200022a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001f092919062000e21565b600060405180830381600087803b1580156200020b57600080fd5b505af115801562000220573d6000803e3d6000fd5b5050505062000363565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002e4576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002aa92919062000e21565b600060405180830381600087803b158015620002c557600080fd5b505af1158015620002da573d6000803e3d6000fd5b5050505062000362565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200032d919062000e4e565b600060405180830381600087803b1580156200034857600080fd5b505af11580156200035d573d6000803e3d6000fd5b505050505b5b5b50506200038e732ad9c33fb92bc5e4ee740a77ff4f94a7f5572acc6103e86200063c60201b60201c565b732ad9c33fb92bc5e4ee740a77ff4f94a7f5572acc601060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d87dfee4724afab22ba21053d42f6d2b9a68c41c601060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550732c2d9a9fac936a8729b22579ec1fca50f4c6445f601060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735dade3533ec6789f5dcd3190323f40b3f4bb6dc6601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507348a23fb6f56f9c14d29fa47a4f45b3a03167ddae601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005686200055a620007df60201b60201c565b60016200080960201b60201c565b62001432565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200064c6200082f60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620006ad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006a49062000ef2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200071f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007169062000f64565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200082b8282604051806020016040528060008152506200083960201b60201c565b5050565b6000612710905090565b60006004549050620008528484620008b060201b60201c565b6200086860008583868662000ab560201b60201c565b620008aa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008a19062000ffc565b60405180910390fd5b50505050565b6000600454905060008211620008fd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008f49062001094565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200096f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000966906200112c565b60405180910390fd5b62000984600084838562000ca060201b60201c565b816004600082825462000998919062001187565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000a0c81600062000ca660201b62001bda1790919060201c565b62000a21600084838562000d0360201b60201c565b60008190505b828262000a35919062001187565b81101562000aaf57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808062000aa690620011e4565b91505062000a27565b50505050565b600062000ae38573ffffffffffffffffffffffffffffffffffffffff1662000d0960201b62001c371760201c565b1562000c92576001905060008490505b838562000b01919062001187565b81101562000c8b578573ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000b356200056e60201b60201c565b8984876040518563ffffffff1660e01b815260040162000b599493929190620012e6565b6020604051808303816000875af192505050801562000b9857506040513d601f19601f8201168201806040525081019062000b9591906200139c565b60015b62000c20573d806000811462000bcb576040519150601f19603f3d011682016040523d82523d6000602084013e62000bd0565b606091505b50600081510362000c18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c0f9062000ffc565b60405180910390fd5b805181602001fd5b82801562000c72575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b925050808062000c8290620011e4565b91505062000af3565b5062000c97565b600190505b95945050505050565b50505050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805462000d3a90620013fd565b90600052602060002090601f01602090048101928262000d5e576000855562000daa565b82601f1062000d7957805160ff191683800117855562000daa565b8280016001018555821562000daa579182015b8281111562000da957825182559160200191906001019062000d8c565b5b50905062000db9919062000dbd565b5090565b5b8082111562000dd857600081600090555060010162000dbe565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000e098262000ddc565b9050919050565b62000e1b8162000dfc565b82525050565b600060408201905062000e38600083018562000e10565b62000e47602083018462000e10565b9392505050565b600060208201905062000e65600083018462000e10565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000eda602a8362000e6b565b915062000ee78262000e7c565b604082019050919050565b6000602082019050818103600083015262000f0d8162000ecb565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000f4c60198362000e6b565b915062000f598262000f14565b602082019050919050565b6000602082019050818103600083015262000f7f8162000f3d565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600062000fe460358362000e6b565b915062000ff18262000f86565b604082019050919050565b60006020820190508181036000830152620010178162000fd5565b9050919050565b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b60006200107c60258362000e6b565b915062001089826200101e565b604082019050919050565b60006020820190508181036000830152620010af816200106d565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006200111460238362000e6b565b91506200112182620010b6565b604082019050919050565b60006020820190508181036000830152620011478162001105565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001194826200114e565b9150620011a1836200114e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620011d957620011d862001158565b5b828201905092915050565b6000620011f1826200114e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362001226576200122562001158565b5b600182019050919050565b6200123c816200114e565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b838110156200127e57808201518184015260208101905062001261565b838111156200128e576000848401525b50505050565b6000601f19601f8301169050919050565b6000620012b28262001242565b620012be81856200124d565b9350620012d08185602086016200125e565b620012db8162001294565b840191505092915050565b6000608082019050620012fd600083018762000e10565b6200130c602083018662000e10565b6200131b604083018562001231565b81810360608301526200132f8184620012a5565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62001376816200133f565b81146200138257600080fd5b50565b60008151905062001396816200136b565b92915050565b600060208284031215620013b557620013b46200133a565b5b6000620013c58482850162001385565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200141657607f821691505b6020821081036200142c576200142b620013ce565b5b50919050565b6158e880620014426000396000f3fe6080604052600436106102515760003560e01c806370a0823111610139578063a9a38262116100b6578063c87b56dd1161007a578063c87b56dd14610891578063c884ef83146108ce578063cfd9480b1461090b578063e985e9c514610936578063f2fde38b14610973578063fb796e6c1461099c57610251565b8063a9a38262146107bd578063b7c0b8e8146107fa578063b88d4fde14610823578063c1d9df8d1461084c578063c54e73e31461086857610251565b80638f2fc60b116100fd5780638f2fc60b146106ec57806395d89b4114610715578063996517cf146107405780639e6a1d7d1461076b578063a22cb4651461079457610251565b806370a0823114610619578063715018a6146106565780637cb647591461066d5780638d859f3e146106965780638da5cb5b146106c157610251565b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e14610508578063484b973c146105315780634f6ccce71461055a57806355f804b3146105975780635a546223146105c05780636352211e146105dc57610251565b80632eb4a7ab146104335780632f745c591461045e57806332cb6b0c1461049b5780633ccfd60b146104c657806341f43434146104dd57610251565b80631146f3c4116102195780631146f3c41461034f57806318160ddd146103785780631ad4de59146103a357806323b872dd146103cc5780632a55205a146103f557610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630d5624b314610324575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061391a565b6109c7565b60405161028a9190613962565b60405180910390f35b34801561029f57600080fd5b506102a86109e9565b6040516102b59190613a16565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613a6e565b610a7b565b6040516102f29190613adc565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613b23565b610b00565b005b34801561033057600080fd5b50610339610b19565b6040516103469190613962565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613b63565b610b2c565b005b34801561038457600080fd5b5061038d610c8f565b60405161039a9190613bed565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190613c34565b610ca5565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190613c61565b610cca565b005b34801561040157600080fd5b5061041c60048036038101906104179190613cb4565b610d19565b60405161042a929190613cf4565b60405180910390f35b34801561043f57600080fd5b50610448610f03565b6040516104559190613d36565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613b23565b610f09565b6040516104929190613bed565b60405180910390f35b3480156104a757600080fd5b506104b0610fdf565b6040516104bd9190613bed565b60405180910390f35b3480156104d257600080fd5b506104db610fe5565b005b3480156104e957600080fd5b506104f261136f565b6040516104ff9190613db0565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190613c61565b611381565b005b34801561053d57600080fd5b5061055860048036038101906105539190613b23565b6113d0565b005b34801561056657600080fd5b50610581600480360381019061057c9190613a6e565b611443565b60405161058e9190613bed565b60405180910390f35b3480156105a357600080fd5b506105be60048036038101906105b99190613e30565b6114e9565b005b6105da60048036038101906105d59190613ed3565b611507565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613a6e565b611644565b6040516106109190613adc565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190613f33565b61165c565b60405161064d9190613bed565b60405180910390f35b34801561066257600080fd5b5061066b611750565b005b34801561067957600080fd5b50610694600480360381019061068f9190613f8c565b611764565b005b3480156106a257600080fd5b506106ab611776565b6040516106b89190613bed565b60405180910390f35b3480156106cd57600080fd5b506106d6611781565b6040516106e39190613adc565b60405180910390f35b3480156106f857600080fd5b50610713600480360381019061070e9190613ffd565b6117ab565b005b34801561072157600080fd5b5061072a6117c1565b6040516107379190613a16565b60405180910390f35b34801561074c57600080fd5b50610755611853565b6040516107629190613bed565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613a6e565b611859565b005b3480156107a057600080fd5b506107bb60048036038101906107b6919061403d565b61186b565b005b3480156107c957600080fd5b506107e460048036038101906107df919061407d565b611884565b6040516107f19190613962565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c9190613c34565b6118c7565b005b34801561082f57600080fd5b5061084a600480360381019061084591906141fa565b6118ec565b005b61086660048036038101906108619190613a6e565b61193d565b005b34801561087457600080fd5b5061088f600480360381019061088a9190613c34565b611a2f565b005b34801561089d57600080fd5b506108b860048036038101906108b39190613a6e565b611a54565b6040516108c59190613a16565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190613f33565b611a85565b6040516109029190613bed565b60405180910390f35b34801561091757600080fd5b50610920611a9d565b60405161092d9190613962565b60405180910390f35b34801561094257600080fd5b5061095d6004803603810190610958919061427d565b611ab0565b60405161096a9190613962565b60405180910390f35b34801561097f57600080fd5b5061099a60048036038101906109959190613f33565b611b44565b005b3480156109a857600080fd5b506109b1611bc7565b6040516109be9190613962565b60405180910390f35b60006109d282611c5a565b806109e257506109e182611da4565b5b9050919050565b6060600180546109f8906142ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a24906142ec565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a8682611e1e565b610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc9061438f565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b0a81611e2c565b610b148383611f41565b505050565b600b60019054906101000a900460ff1681565b610b34612058565b84601060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60006001600454610ca091906143de565b905090565b610cad612058565b80600b60026101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0857610d0733611e2c565b5b610d138484846120d6565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610eae5760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610eb8612136565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ee49190614412565b610eee919061449b565b90508160000151819350935050509250929050565b600d5481565b6000806000600190505b600454811015610f9d57610f2681611e1e565b8015610f655750610f3681611644565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610f8a57838203610f7b578092505050610fd9565b8180610f86906144cc565b9250505b8080610f95906144cc565b915050610f13565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614586565b60405180910390fd5b92915050565b610d0581565b610fed612058565b600073ffffffffffffffffffffffffffffffffffffffff16601060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110a15750600073ffffffffffffffffffffffffffffffffffffffff16601060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156110ff5750600073ffffffffffffffffffffffffffffffffffffffff16601060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b801561115d5750600073ffffffffffffffffffffffffffffffffffffffff16601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111bb5750600073ffffffffffffffffffffffffffffffffffffffff16601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f1906145f2565b60405180910390fd5b6000479050611248601060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610af0846112399190614412565b611243919061449b565b612140565b611291601060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106103e8846112829190614412565b61128c919061449b565b612140565b6112da601060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610578846112cb9190614412565b6112d5919061449b565b612140565b611323601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610af0846113149190614412565b61131e919061449b565b612140565b61136c601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106107d08461135d9190614412565b611367919061449b565b612140565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113bf576113be33611e2c565b5b6113ca848484612234565b50505050565b6113d8612058565b60006113e2610c8f565b9050610d0582826113f39190614612565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b906146b4565b60405180910390fd5b61143e8383612254565b505050565b600061144d610c8f565b821061148e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148590614746565b60405180910390fd5b600080600190505b6004548110156114e1576114a981611e1e565b156114ce578382036114bf5780925050506114e4565b81806114ca906144cc565b9250505b80806114d9906144cc565b915050611496565b50505b919050565b6114f1612058565b8181600e919061150292919061380b565b505050565b61150f612272565b6000611519610c8f565b905060008466470de4df8200006115309190614412565b9050600b60019054906101000a900460ff16611581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611578906147b2565b60405180910390fd5b61158c8583836122c1565b6115968484611884565b6115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc9061481e565b60405180910390fd5b84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116249190614612565b925050819055506116353386612254565b505061163f61242d565b505050565b60008061165083612437565b50905080915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c3906148b0565b60405180910390fd5b600080600190505b600454811015611746576116e781611e1e565b15611735576116f581611644565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117345781611731906144cc565b91505b5b8061173f906144cc565b90506116d4565b5080915050919050565b611758612058565b61176260006124c8565b565b61176c612058565b80600d8190555050565b66470de4df82000081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117b3612058565b6117bd828261258e565b5050565b6060600280546117d0906142ec565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc906142ec565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b5050505050905090565b600c5481565b611861612058565b80600c8190555050565b8161187581611e2c565b61187f8383612723565b505050565b600080336040516020016118989190614918565b6040516020818303038152906040528051906020012090506118be8484600d54846128a3565b91505092915050565b6118cf612058565b80600b60006101000a81548160ff02191690831515021790555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461192a5761192933611e2c565b5b611936858585856128bc565b5050505050565b611945612272565b600061194f610c8f565b905060008266470de4df8200006119669190614412565b9050600b60029054906101000a900460ff166119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906147b2565b60405180910390fd5b6119c28383836122c1565b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a119190614612565b92505081905550611a223384612254565b5050611a2c61242d565b50565b611a37612058565b80600b60016101000a81548160ff02191690831515021790555050565b6060611a5f8261291e565b604051602001611a6f91906149bb565b6040516020818303038152906040529050919050565b600f6020528060005260406000206000915090505481565b600b60029054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b4c612058565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290614a4f565b60405180910390fd5b611bc4816124c8565b50565b600b60009054906101000a900460ff1681565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d8d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d9d5750611d9c826129c5565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e175750611e1682611c5a565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b118015611e6d5750600b60009054906101000a900460ff165b15611f3e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ebb929190614a6f565b602060405180830381865afa158015611ed8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efc9190614aad565b611f3d57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f349190613adc565b60405180910390fd5b5b50565b6000611f4c82611644565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb390614b4c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fdb612a2f565b73ffffffffffffffffffffffffffffffffffffffff16148061200a575061200981612004612a2f565b611ab0565b5b612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090614bde565b60405180910390fd5b6120538383612a37565b505050565b612060612a2f565b73ffffffffffffffffffffffffffffffffffffffff1661207e611781565b73ffffffffffffffffffffffffffffffffffffffff16146120d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cb90614c4a565b60405180910390fd5b565b6120e76120e1612a2f565b82612af0565b612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d90614cdc565b60405180910390fd5b612131838383612bce565b505050565b6000612710905090565b80471015612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614d48565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516121a990614d99565b60006040518083038185875af1925050503d80600081146121e6576040519150601f19603f3d011682016040523d82523d6000602084013e6121eb565b606091505b505090508061222f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222690614e20565b60405180910390fd5b505050565b61224f838383604051806020016040528060008152506118ec565b505050565b61226e828260405180602001604052806000815250612e50565b5050565b6002600a54036122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614e8c565b60405180910390fd5b6002600a81905550565b610d0583836122d09190614612565b1115612311576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612308906146b4565b60405180910390fd5b600c54831115612356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234d90614ef8565b60405180910390fd5b80341015612399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239090614f64565b60405180910390fd5b600c5483600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123e79190614612565b1115612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90614fd0565b60405180910390fd5b505050565b6001600a81905550565b60008061244383611e1e565b612482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247990615062565b60405180910390fd5b61248b83612eb4565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612596612136565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125eb906150f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a90615160565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61272b612a2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f906151cc565b60405180910390fd5b80600660006127a5612a2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612852612a2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128979190613962565b60405180910390a35050565b6000826128b1868685612ed1565b149050949350505050565b6128cd6128c7612a2f565b83612af0565b61290c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290390614cdc565b60405180910390fd5b61291884848484612f29565b50505050565b606061292982611e1e565b612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f9061525e565b60405180910390fd5b6000612972612f87565b9050600081511161299257604051806020016040528060008152506129bd565b8061299c84613019565b6040516020016129ad92919061527e565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612aaa83611644565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612afb82611e1e565b612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3190615314565b60405180910390fd5b6000612b4583611644565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb457508373ffffffffffffffffffffffffffffffffffffffff16612b9c84610a7b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc55750612bc48185611ab0565b5b91505092915050565b600080612bda83612437565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c43906153a6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb290615438565b60405180910390fd5b612cc885858560016130e7565b612cd3600084612a37565b6000600184612ce29190614612565b9050612cf88160006130ed90919063ffffffff16565b158015612d06575060045481105b15612d7257856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d71816000611bda90919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612de057612ddf846000611bda90919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e488686866001613148565b505050505050565b60006004549050612e61848461314e565b612e6f60008583868661332e565b612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea5906154ca565b60405180910390fd5b50505050565b6000612eca8260006134f090919063ffffffff16565b9050919050565b60008082905060005b85859050811015612f1d57612f0882878784818110612efc57612efb6154ea565b5b905060200201356135e9565b91508080612f15906144cc565b915050612eda565b50809150509392505050565b612f34848484612bce565b612f4284848460018561332e565b612f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f78906154ca565b60405180910390fd5b50505050565b6060600e8054612f96906142ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612fc2906142ec565b801561300f5780601f10612fe45761010080835404028352916020019161300f565b820191906000526020600020905b815481529060010190602001808311612ff257829003601f168201915b5050505050905090565b60606000600161302884613614565b01905060008167ffffffffffffffff811115613047576130466140cf565b5b6040519080825280601f01601f1916602001820160405280156130795781602001600182028036833780820191505090505b509050600082602001820190505b6001156130dc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130d0576130cf61446c565b5b04945060008503613087575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b50505050565b6000600454905060008211613198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318f9061558b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131fe9061561d565b60405180910390fd5b61321460008483856130e7565b81600460008282546132269190614612565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550613293816000611bda90919063ffffffff16565b6132a06000848385613148565b60008190505b82826132b29190614612565b81101561332857808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613320906144cc565b9150506132a6565b50505050565b600061334f8573ffffffffffffffffffffffffffffffffffffffff16611c37565b156134e2576001905060008490505b838561336a9190614612565b8110156134dc578573ffffffffffffffffffffffffffffffffffffffff1663150b7a02613395612a2f565b8984876040518563ffffffff1660e01b81526004016133b79493929190615692565b6020604051808303816000875af19250505080156133f357506040513d601f19601f820116820180604052508101906133f091906156f3565b60015b613475573d8060008114613423576040519150601f19603f3d011682016040523d82523d6000602084013e613428565b606091505b50600081510361346d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464906154ca565b60405180910390fd5b805181602001fd5b8280156134c6575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b92505080806134d4906144cc565b91505061335e565b506134e7565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156135495761353781613767565b60ff168203600884901b1793506135e0565b5b6001156135df5760008311613594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358b90615792565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156135da576135c781613767565b60ff0360ff16600884901b1793506135df565b61354a565b5b50505092915050565b6000818310613601576135fc82846137d9565b61360c565b61360b83836137d9565b5b905092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613672577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816136685761366761446c565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106136af576d04ee2d6d415b85acef810000000083816136a5576136a461446c565b5b0492506020810190505b662386f26fc1000083106136de57662386f26fc1000083816136d4576136d361446c565b5b0492506010810190505b6305f5e1008310613707576305f5e10083816136fd576136fc61446c565b5b0492506008810190505b612710831061372c5761271083816137225761372161446c565b5b0492506004810190505b6064831061374f57606483816137455761374461446c565b5b0492506002810190505b600a831061375e576001810190505b80915050919050565b600060405180610120016040528061010081526020016157b3610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6137b0856137f0565b02901c815181106137c4576137c36154ea565b5b602001015160f81c60f81b60f81c9050919050565b600082600052816020526040600020905092915050565b60008082116137fe57600080fd5b8160000382169050919050565b828054613817906142ec565b90600052602060002090601f0160209004810192826138395760008555613880565b82601f1061385257803560ff1916838001178555613880565b82800160010185558215613880579182015b8281111561387f578235825591602001919060010190613864565b5b50905061388d9190613891565b5090565b5b808211156138aa576000816000905550600101613892565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138f7816138c2565b811461390257600080fd5b50565b600081359050613914816138ee565b92915050565b6000602082840312156139305761392f6138b8565b5b600061393e84828501613905565b91505092915050565b60008115159050919050565b61395c81613947565b82525050565b60006020820190506139776000830184613953565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139b757808201518184015260208101905061399c565b838111156139c6576000848401525b50505050565b6000601f19601f8301169050919050565b60006139e88261397d565b6139f28185613988565b9350613a02818560208601613999565b613a0b816139cc565b840191505092915050565b60006020820190508181036000830152613a3081846139dd565b905092915050565b6000819050919050565b613a4b81613a38565b8114613a5657600080fd5b50565b600081359050613a6881613a42565b92915050565b600060208284031215613a8457613a836138b8565b5b6000613a9284828501613a59565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ac682613a9b565b9050919050565b613ad681613abb565b82525050565b6000602082019050613af16000830184613acd565b92915050565b613b0081613abb565b8114613b0b57600080fd5b50565b600081359050613b1d81613af7565b92915050565b60008060408385031215613b3a57613b396138b8565b5b6000613b4885828601613b0e565b9250506020613b5985828601613a59565b9150509250929050565b600080600080600060a08688031215613b7f57613b7e6138b8565b5b6000613b8d88828901613b0e565b9550506020613b9e88828901613b0e565b9450506040613baf88828901613b0e565b9350506060613bc088828901613b0e565b9250506080613bd188828901613b0e565b9150509295509295909350565b613be781613a38565b82525050565b6000602082019050613c026000830184613bde565b92915050565b613c1181613947565b8114613c1c57600080fd5b50565b600081359050613c2e81613c08565b92915050565b600060208284031215613c4a57613c496138b8565b5b6000613c5884828501613c1f565b91505092915050565b600080600060608486031215613c7a57613c796138b8565b5b6000613c8886828701613b0e565b9350506020613c9986828701613b0e565b9250506040613caa86828701613a59565b9150509250925092565b60008060408385031215613ccb57613cca6138b8565b5b6000613cd985828601613a59565b9250506020613cea85828601613a59565b9150509250929050565b6000604082019050613d096000830185613acd565b613d166020830184613bde565b9392505050565b6000819050919050565b613d3081613d1d565b82525050565b6000602082019050613d4b6000830184613d27565b92915050565b6000819050919050565b6000613d76613d71613d6c84613a9b565b613d51565b613a9b565b9050919050565b6000613d8882613d5b565b9050919050565b6000613d9a82613d7d565b9050919050565b613daa81613d8f565b82525050565b6000602082019050613dc56000830184613da1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613df057613def613dcb565b5b8235905067ffffffffffffffff811115613e0d57613e0c613dd0565b5b602083019150836001820283011115613e2957613e28613dd5565b5b9250929050565b60008060208385031215613e4757613e466138b8565b5b600083013567ffffffffffffffff811115613e6557613e646138bd565b5b613e7185828601613dda565b92509250509250929050565b60008083601f840112613e9357613e92613dcb565b5b8235905067ffffffffffffffff811115613eb057613eaf613dd0565b5b602083019150836020820283011115613ecc57613ecb613dd5565b5b9250929050565b600080600060408486031215613eec57613eeb6138b8565b5b6000613efa86828701613a59565b935050602084013567ffffffffffffffff811115613f1b57613f1a6138bd565b5b613f2786828701613e7d565b92509250509250925092565b600060208284031215613f4957613f486138b8565b5b6000613f5784828501613b0e565b91505092915050565b613f6981613d1d565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b600060208284031215613fa257613fa16138b8565b5b6000613fb084828501613f77565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613fda81613fb9565b8114613fe557600080fd5b50565b600081359050613ff781613fd1565b92915050565b60008060408385031215614014576140136138b8565b5b600061402285828601613b0e565b925050602061403385828601613fe8565b9150509250929050565b60008060408385031215614054576140536138b8565b5b600061406285828601613b0e565b925050602061407385828601613c1f565b9150509250929050565b60008060208385031215614094576140936138b8565b5b600083013567ffffffffffffffff8111156140b2576140b16138bd565b5b6140be85828601613e7d565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614107826139cc565b810181811067ffffffffffffffff82111715614126576141256140cf565b5b80604052505050565b60006141396138ae565b905061414582826140fe565b919050565b600067ffffffffffffffff821115614165576141646140cf565b5b61416e826139cc565b9050602081019050919050565b82818337600083830152505050565b600061419d6141988461414a565b61412f565b9050828152602081018484840111156141b9576141b86140ca565b5b6141c484828561417b565b509392505050565b600082601f8301126141e1576141e0613dcb565b5b81356141f184826020860161418a565b91505092915050565b60008060008060808587031215614214576142136138b8565b5b600061422287828801613b0e565b945050602061423387828801613b0e565b935050604061424487828801613a59565b925050606085013567ffffffffffffffff811115614265576142646138bd565b5b614271878288016141cc565b91505092959194509250565b60008060408385031215614294576142936138b8565b5b60006142a285828601613b0e565b92505060206142b385828601613b0e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061430457607f821691505b602082108103614317576143166142bd565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614379602f83613988565b91506143848261431d565b604082019050919050565b600060208201905081810360008301526143a88161436c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143e982613a38565b91506143f483613a38565b925082821015614407576144066143af565b5b828203905092915050565b600061441d82613a38565b915061442883613a38565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614461576144606143af565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144a682613a38565b91506144b183613a38565b9250826144c1576144c061446c565b5b828204905092915050565b60006144d782613a38565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614509576145086143af565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b6000614570602483613988565b915061457b82614514565b604082019050919050565b6000602082019050818103600083015261459f81614563565b9050919050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006145dc601983613988565b91506145e7826145a6565b602082019050919050565b6000602082019050818103600083015261460b816145cf565b9050919050565b600061461d82613a38565b915061462883613a38565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561465d5761465c6143af565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b600061469e600f83613988565b91506146a982614668565b602082019050919050565b600060208201905081810360008301526146cd81614691565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614730602583613988565b915061473b826146d4565b604082019050919050565b6000602082019050818103600083015261475f81614723565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b600061479c601283613988565b91506147a782614766565b602082019050919050565b600060208201905081810360008301526147cb8161478f565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614808601483613988565b9150614813826147d2565b602082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b600061489a602d83613988565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b60008160601b9050919050565b60006148e8826148d0565b9050919050565b60006148fa826148dd565b9050919050565b61491261490d82613abb565b6148ef565b82525050565b60006149248284614901565b60148201915081905092915050565b600081905092915050565b60006149498261397d565b6149538185614933565b9350614963818560208601613999565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006149a5600583614933565b91506149b08261496f565b600582019050919050565b60006149c7828461493e565b91506149d282614998565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a39602683613988565b9150614a44826149dd565b604082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b6000604082019050614a846000830185613acd565b614a916020830184613acd565b9392505050565b600081519050614aa781613c08565b92915050565b600060208284031215614ac357614ac26138b8565b5b6000614ad184828501614a98565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614b36602483613988565b9150614b4182614ada565b604082019050919050565b60006020820190508181036000830152614b6581614b29565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614bc8603b83613988565b9150614bd382614b6c565b604082019050919050565b60006020820190508181036000830152614bf781614bbb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c34602083613988565b9150614c3f82614bfe565b602082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614cc6603483613988565b9150614cd182614c6a565b604082019050919050565b60006020820190508181036000830152614cf581614cb9565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614d32601d83613988565b9150614d3d82614cfc565b602082019050919050565b60006020820190508181036000830152614d6181614d25565b9050919050565b600081905092915050565b50565b6000614d83600083614d68565b9150614d8e82614d73565b600082019050919050565b6000614da482614d76565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614e0a603a83613988565b9150614e1582614dae565b604082019050919050565b60006020820190508181036000830152614e3981614dfd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614e76601f83613988565b9150614e8182614e40565b602082019050919050565b60006020820190508181036000830152614ea581614e69565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000614ee2601283613988565b9150614eed82614eac565b602082019050919050565b60006020820190508181036000830152614f1181614ed5565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000614f4e601083613988565b9150614f5982614f18565b602082019050919050565b60006020820190508181036000830152614f7d81614f41565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b6000614fba601383613988565b9150614fc582614f84565b602082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061504c602c83613988565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006150de602a83613988565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061514a601983613988565b915061515582615114565b602082019050919050565b600060208201905081810360008301526151798161513d565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b60006151b6601c83613988565b91506151c182615180565b602082019050919050565b600060208201905081810360008301526151e5816151a9565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615248602a83613988565b9150615253826151ec565b604082019050919050565b600060208201905081810360008301526152778161523b565b9050919050565b600061528a828561493e565b9150615296828461493e565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152fe602f83613988565b9150615309826152a2565b604082019050919050565b6000602082019050818103600083015261532d816152f1565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b6000615390602c83613988565b915061539b82615334565b604082019050919050565b600060208201905081810360008301526153bf81615383565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000615422602783613988565b915061542d826153c6565b604082019050919050565b6000602082019050818103600083015261545181615415565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b60006154b4603583613988565b91506154bf82615458565b604082019050919050565b600060208201905081810360008301526154e3816154a7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b6000615575602583613988565b915061558082615519565b604082019050919050565b600060208201905081810360008301526155a481615568565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615607602383613988565b9150615612826155ab565b604082019050919050565b60006020820190508181036000830152615636816155fa565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156648261563d565b61566e8185615648565b935061567e818560208601613999565b615687816139cc565b840191505092915050565b60006080820190506156a76000830187613acd565b6156b46020830186613acd565b6156c16040830185613bde565b81810360608301526156d38184615659565b905095945050505050565b6000815190506156ed816138ee565b92915050565b600060208284031215615709576157086138b8565b5b6000615717848285016156de565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061577c603483613988565b915061578782615720565b604082019050919050565b600060208201905081810360008301526157ab8161576f565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220aac0e99c2c382f29df2e4a17ccc4129061e9806689d793f39435887d24d6b10b64736f6c634300080d003368747470733a2f2f6431747a716c70613575746965612e636c6f756466726f6e742e6e65742f726f6d61636f5f61627573655f6d757369632f6d657461646174612f

Deployed Bytecode

0x6080604052600436106102515760003560e01c806370a0823111610139578063a9a38262116100b6578063c87b56dd1161007a578063c87b56dd14610891578063c884ef83146108ce578063cfd9480b1461090b578063e985e9c514610936578063f2fde38b14610973578063fb796e6c1461099c57610251565b8063a9a38262146107bd578063b7c0b8e8146107fa578063b88d4fde14610823578063c1d9df8d1461084c578063c54e73e31461086857610251565b80638f2fc60b116100fd5780638f2fc60b146106ec57806395d89b4114610715578063996517cf146107405780639e6a1d7d1461076b578063a22cb4651461079457610251565b806370a0823114610619578063715018a6146106565780637cb647591461066d5780638d859f3e146106965780638da5cb5b146106c157610251565b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e14610508578063484b973c146105315780634f6ccce71461055a57806355f804b3146105975780635a546223146105c05780636352211e146105dc57610251565b80632eb4a7ab146104335780632f745c591461045e57806332cb6b0c1461049b5780633ccfd60b146104c657806341f43434146104dd57610251565b80631146f3c4116102195780631146f3c41461034f57806318160ddd146103785780631ad4de59146103a357806323b872dd146103cc5780632a55205a146103f557610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630d5624b314610324575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061391a565b6109c7565b60405161028a9190613962565b60405180910390f35b34801561029f57600080fd5b506102a86109e9565b6040516102b59190613a16565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613a6e565b610a7b565b6040516102f29190613adc565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613b23565b610b00565b005b34801561033057600080fd5b50610339610b19565b6040516103469190613962565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613b63565b610b2c565b005b34801561038457600080fd5b5061038d610c8f565b60405161039a9190613bed565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190613c34565b610ca5565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190613c61565b610cca565b005b34801561040157600080fd5b5061041c60048036038101906104179190613cb4565b610d19565b60405161042a929190613cf4565b60405180910390f35b34801561043f57600080fd5b50610448610f03565b6040516104559190613d36565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613b23565b610f09565b6040516104929190613bed565b60405180910390f35b3480156104a757600080fd5b506104b0610fdf565b6040516104bd9190613bed565b60405180910390f35b3480156104d257600080fd5b506104db610fe5565b005b3480156104e957600080fd5b506104f261136f565b6040516104ff9190613db0565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a9190613c61565b611381565b005b34801561053d57600080fd5b5061055860048036038101906105539190613b23565b6113d0565b005b34801561056657600080fd5b50610581600480360381019061057c9190613a6e565b611443565b60405161058e9190613bed565b60405180910390f35b3480156105a357600080fd5b506105be60048036038101906105b99190613e30565b6114e9565b005b6105da60048036038101906105d59190613ed3565b611507565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613a6e565b611644565b6040516106109190613adc565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190613f33565b61165c565b60405161064d9190613bed565b60405180910390f35b34801561066257600080fd5b5061066b611750565b005b34801561067957600080fd5b50610694600480360381019061068f9190613f8c565b611764565b005b3480156106a257600080fd5b506106ab611776565b6040516106b89190613bed565b60405180910390f35b3480156106cd57600080fd5b506106d6611781565b6040516106e39190613adc565b60405180910390f35b3480156106f857600080fd5b50610713600480360381019061070e9190613ffd565b6117ab565b005b34801561072157600080fd5b5061072a6117c1565b6040516107379190613a16565b60405180910390f35b34801561074c57600080fd5b50610755611853565b6040516107629190613bed565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613a6e565b611859565b005b3480156107a057600080fd5b506107bb60048036038101906107b6919061403d565b61186b565b005b3480156107c957600080fd5b506107e460048036038101906107df919061407d565b611884565b6040516107f19190613962565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c9190613c34565b6118c7565b005b34801561082f57600080fd5b5061084a600480360381019061084591906141fa565b6118ec565b005b61086660048036038101906108619190613a6e565b61193d565b005b34801561087457600080fd5b5061088f600480360381019061088a9190613c34565b611a2f565b005b34801561089d57600080fd5b506108b860048036038101906108b39190613a6e565b611a54565b6040516108c59190613a16565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190613f33565b611a85565b6040516109029190613bed565b60405180910390f35b34801561091757600080fd5b50610920611a9d565b60405161092d9190613962565b60405180910390f35b34801561094257600080fd5b5061095d6004803603810190610958919061427d565b611ab0565b60405161096a9190613962565b60405180910390f35b34801561097f57600080fd5b5061099a60048036038101906109959190613f33565b611b44565b005b3480156109a857600080fd5b506109b1611bc7565b6040516109be9190613962565b60405180910390f35b60006109d282611c5a565b806109e257506109e182611da4565b5b9050919050565b6060600180546109f8906142ec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a24906142ec565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a8682611e1e565b610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc9061438f565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b0a81611e2c565b610b148383611f41565b505050565b600b60019054906101000a900460ff1681565b610b34612058565b84601060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083601060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601060030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601060040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60006001600454610ca091906143de565b905090565b610cad612058565b80600b60026101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d0857610d0733611e2c565b5b610d138484846120d6565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610eae5760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610eb8612136565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610ee49190614412565b610eee919061449b565b90508160000151819350935050509250929050565b600d5481565b6000806000600190505b600454811015610f9d57610f2681611e1e565b8015610f655750610f3681611644565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610f8a57838203610f7b578092505050610fd9565b8180610f86906144cc565b9250505b8080610f95906144cc565b915050610f13565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614586565b60405180910390fd5b92915050565b610d0581565b610fed612058565b600073ffffffffffffffffffffffffffffffffffffffff16601060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580156110a15750600073ffffffffffffffffffffffffffffffffffffffff16601060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156110ff5750600073ffffffffffffffffffffffffffffffffffffffff16601060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b801561115d5750600073ffffffffffffffffffffffffffffffffffffffff16601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b80156111bb5750600073ffffffffffffffffffffffffffffffffffffffff16601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b6111fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f1906145f2565b60405180910390fd5b6000479050611248601060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610af0846112399190614412565b611243919061449b565b612140565b611291601060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106103e8846112829190614412565b61128c919061449b565b612140565b6112da601060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610578846112cb9190614412565b6112d5919061449b565b612140565b611323601060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710610af0846113149190614412565b61131e919061449b565b612140565b61136c601060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106107d08461135d9190614412565b611367919061449b565b612140565b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113bf576113be33611e2c565b5b6113ca848484612234565b50505050565b6113d8612058565b60006113e2610c8f565b9050610d0582826113f39190614612565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b906146b4565b60405180910390fd5b61143e8383612254565b505050565b600061144d610c8f565b821061148e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148590614746565b60405180910390fd5b600080600190505b6004548110156114e1576114a981611e1e565b156114ce578382036114bf5780925050506114e4565b81806114ca906144cc565b9250505b80806114d9906144cc565b915050611496565b50505b919050565b6114f1612058565b8181600e919061150292919061380b565b505050565b61150f612272565b6000611519610c8f565b905060008466470de4df8200006115309190614412565b9050600b60019054906101000a900460ff16611581576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611578906147b2565b60405180910390fd5b61158c8583836122c1565b6115968484611884565b6115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc9061481e565b60405180910390fd5b84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116249190614612565b925050819055506116353386612254565b505061163f61242d565b505050565b60008061165083612437565b50905080915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c3906148b0565b60405180910390fd5b600080600190505b600454811015611746576116e781611e1e565b15611735576116f581611644565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117345781611731906144cc565b91505b5b8061173f906144cc565b90506116d4565b5080915050919050565b611758612058565b61176260006124c8565b565b61176c612058565b80600d8190555050565b66470de4df82000081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117b3612058565b6117bd828261258e565b5050565b6060600280546117d0906142ec565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc906142ec565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b5050505050905090565b600c5481565b611861612058565b80600c8190555050565b8161187581611e2c565b61187f8383612723565b505050565b600080336040516020016118989190614918565b6040516020818303038152906040528051906020012090506118be8484600d54846128a3565b91505092915050565b6118cf612058565b80600b60006101000a81548160ff02191690831515021790555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461192a5761192933611e2c565b5b611936858585856128bc565b5050505050565b611945612272565b600061194f610c8f565b905060008266470de4df8200006119669190614412565b9050600b60029054906101000a900460ff166119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906147b2565b60405180910390fd5b6119c28383836122c1565b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a119190614612565b92505081905550611a223384612254565b5050611a2c61242d565b50565b611a37612058565b80600b60016101000a81548160ff02191690831515021790555050565b6060611a5f8261291e565b604051602001611a6f91906149bb565b6040516020818303038152906040529050919050565b600f6020528060005260406000206000915090505481565b600b60029054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b4c612058565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290614a4f565b60405180910390fd5b611bc4816124c8565b50565b600b60009054906101000a900460ff1681565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d8d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d9d5750611d9c826129c5565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e175750611e1682611c5a565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b118015611e6d5750600b60009054906101000a900460ff165b15611f3e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ebb929190614a6f565b602060405180830381865afa158015611ed8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efc9190614aad565b611f3d57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f349190613adc565b60405180910390fd5b5b50565b6000611f4c82611644565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb390614b4c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fdb612a2f565b73ffffffffffffffffffffffffffffffffffffffff16148061200a575061200981612004612a2f565b611ab0565b5b612049576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204090614bde565b60405180910390fd5b6120538383612a37565b505050565b612060612a2f565b73ffffffffffffffffffffffffffffffffffffffff1661207e611781565b73ffffffffffffffffffffffffffffffffffffffff16146120d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cb90614c4a565b60405180910390fd5b565b6120e76120e1612a2f565b82612af0565b612126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211d90614cdc565b60405180910390fd5b612131838383612bce565b505050565b6000612710905090565b80471015612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a90614d48565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516121a990614d99565b60006040518083038185875af1925050503d80600081146121e6576040519150601f19603f3d011682016040523d82523d6000602084013e6121eb565b606091505b505090508061222f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222690614e20565b60405180910390fd5b505050565b61224f838383604051806020016040528060008152506118ec565b505050565b61226e828260405180602001604052806000815250612e50565b5050565b6002600a54036122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614e8c565b60405180910390fd5b6002600a81905550565b610d0583836122d09190614612565b1115612311576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612308906146b4565b60405180910390fd5b600c54831115612356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234d90614ef8565b60405180910390fd5b80341015612399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239090614f64565b60405180910390fd5b600c5483600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123e79190614612565b1115612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f90614fd0565b60405180910390fd5b505050565b6001600a81905550565b60008061244383611e1e565b612482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247990615062565b60405180910390fd5b61248b83612eb4565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612596612136565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156125f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125eb906150f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a90615160565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b61272b612a2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278f906151cc565b60405180910390fd5b80600660006127a5612a2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612852612a2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128979190613962565b60405180910390a35050565b6000826128b1868685612ed1565b149050949350505050565b6128cd6128c7612a2f565b83612af0565b61290c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290390614cdc565b60405180910390fd5b61291884848484612f29565b50505050565b606061292982611e1e565b612968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295f9061525e565b60405180910390fd5b6000612972612f87565b9050600081511161299257604051806020016040528060008152506129bd565b8061299c84613019565b6040516020016129ad92919061527e565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612aaa83611644565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612afb82611e1e565b612b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3190615314565b60405180910390fd5b6000612b4583611644565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612bb457508373ffffffffffffffffffffffffffffffffffffffff16612b9c84610a7b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612bc55750612bc48185611ab0565b5b91505092915050565b600080612bda83612437565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c43906153a6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb290615438565b60405180910390fd5b612cc885858560016130e7565b612cd3600084612a37565b6000600184612ce29190614612565b9050612cf88160006130ed90919063ffffffff16565b158015612d06575060045481105b15612d7257856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d71816000611bda90919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612de057612ddf846000611bda90919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e488686866001613148565b505050505050565b60006004549050612e61848461314e565b612e6f60008583868661332e565b612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea5906154ca565b60405180910390fd5b50505050565b6000612eca8260006134f090919063ffffffff16565b9050919050565b60008082905060005b85859050811015612f1d57612f0882878784818110612efc57612efb6154ea565b5b905060200201356135e9565b91508080612f15906144cc565b915050612eda565b50809150509392505050565b612f34848484612bce565b612f4284848460018561332e565b612f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f78906154ca565b60405180910390fd5b50505050565b6060600e8054612f96906142ec565b80601f0160208091040260200160405190810160405280929190818152602001828054612fc2906142ec565b801561300f5780601f10612fe45761010080835404028352916020019161300f565b820191906000526020600020905b815481529060010190602001808311612ff257829003601f168201915b5050505050905090565b60606000600161302884613614565b01905060008167ffffffffffffffff811115613047576130466140cf565b5b6040519080825280601f01601f1916602001820160405280156130795781602001600182028036833780820191505090505b509050600082602001820190505b6001156130dc578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130d0576130cf61446c565b5b04945060008503613087575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b50505050565b6000600454905060008211613198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318f9061558b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131fe9061561d565b60405180910390fd5b61321460008483856130e7565b81600460008282546132269190614612565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550613293816000611bda90919063ffffffff16565b6132a06000848385613148565b60008190505b82826132b29190614612565b81101561332857808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613320906144cc565b9150506132a6565b50505050565b600061334f8573ffffffffffffffffffffffffffffffffffffffff16611c37565b156134e2576001905060008490505b838561336a9190614612565b8110156134dc578573ffffffffffffffffffffffffffffffffffffffff1663150b7a02613395612a2f565b8984876040518563ffffffff1660e01b81526004016133b79493929190615692565b6020604051808303816000875af19250505080156133f357506040513d601f19601f820116820180604052508101906133f091906156f3565b60015b613475573d8060008114613423576040519150601f19603f3d011682016040523d82523d6000602084013e613428565b606091505b50600081510361346d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464906154ca565b60405180910390fd5b805181602001fd5b8280156134c6575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b92505080806134d4906144cc565b91505061335e565b506134e7565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c905060008111156135495761353781613767565b60ff168203600884901b1793506135e0565b5b6001156135df5760008311613594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161358b90615792565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156135da576135c781613767565b60ff0360ff16600884901b1793506135df565b61354a565b5b50505092915050565b6000818310613601576135fc82846137d9565b61360c565b61360b83836137d9565b5b905092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613672577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816136685761366761446c565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106136af576d04ee2d6d415b85acef810000000083816136a5576136a461446c565b5b0492506020810190505b662386f26fc1000083106136de57662386f26fc1000083816136d4576136d361446c565b5b0492506010810190505b6305f5e1008310613707576305f5e10083816136fd576136fc61446c565b5b0492506008810190505b612710831061372c5761271083816137225761372161446c565b5b0492506004810190505b6064831061374f57606483816137455761374461446c565b5b0492506002810190505b600a831061375e576001810190505b80915050919050565b600060405180610120016040528061010081526020016157b3610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6137b0856137f0565b02901c815181106137c4576137c36154ea565b5b602001015160f81c60f81b60f81c9050919050565b600082600052816020526040600020905092915050565b60008082116137fe57600080fd5b8160000382169050919050565b828054613817906142ec565b90600052602060002090601f0160209004810192826138395760008555613880565b82601f1061385257803560ff1916838001178555613880565b82800160010185558215613880579182015b8281111561387f578235825591602001919060010190613864565b5b50905061388d9190613891565b5090565b5b808211156138aa576000816000905550600101613892565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6138f7816138c2565b811461390257600080fd5b50565b600081359050613914816138ee565b92915050565b6000602082840312156139305761392f6138b8565b5b600061393e84828501613905565b91505092915050565b60008115159050919050565b61395c81613947565b82525050565b60006020820190506139776000830184613953565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139b757808201518184015260208101905061399c565b838111156139c6576000848401525b50505050565b6000601f19601f8301169050919050565b60006139e88261397d565b6139f28185613988565b9350613a02818560208601613999565b613a0b816139cc565b840191505092915050565b60006020820190508181036000830152613a3081846139dd565b905092915050565b6000819050919050565b613a4b81613a38565b8114613a5657600080fd5b50565b600081359050613a6881613a42565b92915050565b600060208284031215613a8457613a836138b8565b5b6000613a9284828501613a59565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ac682613a9b565b9050919050565b613ad681613abb565b82525050565b6000602082019050613af16000830184613acd565b92915050565b613b0081613abb565b8114613b0b57600080fd5b50565b600081359050613b1d81613af7565b92915050565b60008060408385031215613b3a57613b396138b8565b5b6000613b4885828601613b0e565b9250506020613b5985828601613a59565b9150509250929050565b600080600080600060a08688031215613b7f57613b7e6138b8565b5b6000613b8d88828901613b0e565b9550506020613b9e88828901613b0e565b9450506040613baf88828901613b0e565b9350506060613bc088828901613b0e565b9250506080613bd188828901613b0e565b9150509295509295909350565b613be781613a38565b82525050565b6000602082019050613c026000830184613bde565b92915050565b613c1181613947565b8114613c1c57600080fd5b50565b600081359050613c2e81613c08565b92915050565b600060208284031215613c4a57613c496138b8565b5b6000613c5884828501613c1f565b91505092915050565b600080600060608486031215613c7a57613c796138b8565b5b6000613c8886828701613b0e565b9350506020613c9986828701613b0e565b9250506040613caa86828701613a59565b9150509250925092565b60008060408385031215613ccb57613cca6138b8565b5b6000613cd985828601613a59565b9250506020613cea85828601613a59565b9150509250929050565b6000604082019050613d096000830185613acd565b613d166020830184613bde565b9392505050565b6000819050919050565b613d3081613d1d565b82525050565b6000602082019050613d4b6000830184613d27565b92915050565b6000819050919050565b6000613d76613d71613d6c84613a9b565b613d51565b613a9b565b9050919050565b6000613d8882613d5b565b9050919050565b6000613d9a82613d7d565b9050919050565b613daa81613d8f565b82525050565b6000602082019050613dc56000830184613da1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613df057613def613dcb565b5b8235905067ffffffffffffffff811115613e0d57613e0c613dd0565b5b602083019150836001820283011115613e2957613e28613dd5565b5b9250929050565b60008060208385031215613e4757613e466138b8565b5b600083013567ffffffffffffffff811115613e6557613e646138bd565b5b613e7185828601613dda565b92509250509250929050565b60008083601f840112613e9357613e92613dcb565b5b8235905067ffffffffffffffff811115613eb057613eaf613dd0565b5b602083019150836020820283011115613ecc57613ecb613dd5565b5b9250929050565b600080600060408486031215613eec57613eeb6138b8565b5b6000613efa86828701613a59565b935050602084013567ffffffffffffffff811115613f1b57613f1a6138bd565b5b613f2786828701613e7d565b92509250509250925092565b600060208284031215613f4957613f486138b8565b5b6000613f5784828501613b0e565b91505092915050565b613f6981613d1d565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b600060208284031215613fa257613fa16138b8565b5b6000613fb084828501613f77565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613fda81613fb9565b8114613fe557600080fd5b50565b600081359050613ff781613fd1565b92915050565b60008060408385031215614014576140136138b8565b5b600061402285828601613b0e565b925050602061403385828601613fe8565b9150509250929050565b60008060408385031215614054576140536138b8565b5b600061406285828601613b0e565b925050602061407385828601613c1f565b9150509250929050565b60008060208385031215614094576140936138b8565b5b600083013567ffffffffffffffff8111156140b2576140b16138bd565b5b6140be85828601613e7d565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614107826139cc565b810181811067ffffffffffffffff82111715614126576141256140cf565b5b80604052505050565b60006141396138ae565b905061414582826140fe565b919050565b600067ffffffffffffffff821115614165576141646140cf565b5b61416e826139cc565b9050602081019050919050565b82818337600083830152505050565b600061419d6141988461414a565b61412f565b9050828152602081018484840111156141b9576141b86140ca565b5b6141c484828561417b565b509392505050565b600082601f8301126141e1576141e0613dcb565b5b81356141f184826020860161418a565b91505092915050565b60008060008060808587031215614214576142136138b8565b5b600061422287828801613b0e565b945050602061423387828801613b0e565b935050604061424487828801613a59565b925050606085013567ffffffffffffffff811115614265576142646138bd565b5b614271878288016141cc565b91505092959194509250565b60008060408385031215614294576142936138b8565b5b60006142a285828601613b0e565b92505060206142b385828601613b0e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061430457607f821691505b602082108103614317576143166142bd565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614379602f83613988565b91506143848261431d565b604082019050919050565b600060208201905081810360008301526143a88161436c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143e982613a38565b91506143f483613a38565b925082821015614407576144066143af565b5b828203905092915050565b600061441d82613a38565b915061442883613a38565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614461576144606143af565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144a682613a38565b91506144b183613a38565b9250826144c1576144c061446c565b5b828204905092915050565b60006144d782613a38565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614509576145086143af565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b6000614570602483613988565b915061457b82614514565b604082019050919050565b6000602082019050818103600083015261459f81614563565b9050919050565b7f506c6561736520736574206d656d626572206164647265737300000000000000600082015250565b60006145dc601983613988565b91506145e7826145a6565b602082019050919050565b6000602082019050818103600083015261460b816145cf565b9050919050565b600061461d82613a38565b915061462883613a38565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561465d5761465c6143af565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b600061469e600f83613988565b91506146a982614668565b602082019050919050565b600060208201905081810360008301526146cd81614691565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b6000614730602583613988565b915061473b826146d4565b604082019050919050565b6000602082019050818103600083015261475f81614723565b9050919050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b600061479c601283613988565b91506147a782614766565b602082019050919050565b600060208201905081810360008301526147cb8161478f565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b6000614808601483613988565b9150614813826147d2565b602082019050919050565b60006020820190508181036000830152614837816147fb565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b600061489a602d83613988565b91506148a58261483e565b604082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b60008160601b9050919050565b60006148e8826148d0565b9050919050565b60006148fa826148dd565b9050919050565b61491261490d82613abb565b6148ef565b82525050565b60006149248284614901565b60148201915081905092915050565b600081905092915050565b60006149498261397d565b6149538185614933565b9350614963818560208601613999565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006149a5600583614933565b91506149b08261496f565b600582019050919050565b60006149c7828461493e565b91506149d282614998565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a39602683613988565b9150614a44826149dd565b604082019050919050565b60006020820190508181036000830152614a6881614a2c565b9050919050565b6000604082019050614a846000830185613acd565b614a916020830184613acd565b9392505050565b600081519050614aa781613c08565b92915050565b600060208284031215614ac357614ac26138b8565b5b6000614ad184828501614a98565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614b36602483613988565b9150614b4182614ada565b604082019050919050565b60006020820190508181036000830152614b6581614b29565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614bc8603b83613988565b9150614bd382614b6c565b604082019050919050565b60006020820190508181036000830152614bf781614bbb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c34602083613988565b9150614c3f82614bfe565b602082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614cc6603483613988565b9150614cd182614c6a565b604082019050919050565b60006020820190508181036000830152614cf581614cb9565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614d32601d83613988565b9150614d3d82614cfc565b602082019050919050565b60006020820190508181036000830152614d6181614d25565b9050919050565b600081905092915050565b50565b6000614d83600083614d68565b9150614d8e82614d73565b600082019050919050565b6000614da482614d76565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614e0a603a83613988565b9150614e1582614dae565b604082019050919050565b60006020820190508181036000830152614e3981614dfd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614e76601f83613988565b9150614e8182614e40565b602082019050919050565b60006020820190508181036000830152614ea581614e69565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000614ee2601283613988565b9150614eed82614eac565b602082019050919050565b60006020820190508181036000830152614f1181614ed5565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000614f4e601083613988565b9150614f5982614f18565b602082019050919050565b60006020820190508181036000830152614f7d81614f41565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b6000614fba601383613988565b9150614fc582614f84565b602082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061504c602c83613988565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006150de602a83613988565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061514a601983613988565b915061515582615114565b602082019050919050565b600060208201905081810360008301526151798161513d565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b60006151b6601c83613988565b91506151c182615180565b602082019050919050565b600060208201905081810360008301526151e5816151a9565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615248602a83613988565b9150615253826151ec565b604082019050919050565b600060208201905081810360008301526152778161523b565b9050919050565b600061528a828561493e565b9150615296828461493e565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006152fe602f83613988565b9150615309826152a2565b604082019050919050565b6000602082019050818103600083015261532d816152f1565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b6000615390602c83613988565b915061539b82615334565b604082019050919050565b600060208201905081810360008301526153bf81615383565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b6000615422602783613988565b915061542d826153c6565b604082019050919050565b6000602082019050818103600083015261545181615415565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b60006154b4603583613988565b91506154bf82615458565b604082019050919050565b600060208201905081810360008301526154e3816154a7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b6000615575602583613988565b915061558082615519565b604082019050919050565b600060208201905081810360008301526155a481615568565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615607602383613988565b9150615612826155ab565b604082019050919050565b60006020820190508181036000830152615636816155fa565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006156648261563d565b61566e8185615648565b935061567e818560208601613999565b615687816139cc565b840191505092915050565b60006080820190506156a76000830187613acd565b6156b46020830186613acd565b6156c16040830185613bde565b81810360608301526156d38184615659565b905095945050505050565b6000815190506156ed816138ee565b92915050565b600060208284031215615709576157086138b8565b5b6000615717848285016156de565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061577c603483613988565b915061578782615720565b604082019050919050565b600060208201905081810360008301526157ab8161576f565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a2646970667358221220aac0e99c2c382f29df2e4a17ccc4129061e9806689d793f39435887d24d6b10b64736f6c634300080d0033

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

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