ETH Price: $3,254.26 (+4.47%)
Gas: 2 Gwei

Token

Name (symbol)
 

Overview

Max Total Supply

81 symbol

Holders

27

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
creatorwao.eth
Balance
1 symbol
0x83e958aa52023ec40de1dc30276addeea6de4028
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:
TOYBOY

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : toyboy.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"; // token IDが0開始の場合
import "./ERC721Psi.sol"; // token IDが1開始の場合
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
// import "./operator-filter-registry/src/DefaultOperatorFilterer.sol";

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

    uint256 public constant PRE_PRICE = 0.01 ether;
    uint256 public constant PUB_PRICE = 0.01 ether;

    uint256 public max_supply = 500;

    bool public preSaleStart;
    bool public pubSaleStart;

    uint256 public mintLimit = 2;

    bytes32 public merkleRoot;

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

    mapping(address => uint256) public claimed;

    constructor() ERC721Psi("Name", "symbol") {
        _setDefaultRoyalty(owner(), 1000);
    }

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

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

    function pubMint(uint256 _quantity) public payable nonReentrant {
        uint256 supply = totalSupply();
        uint256 cost = PUB_PRICE * _quantity;
        require(pubSaleStart, "Before sale begin.");
        _mintCheckForPubSale(_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 = PRE_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 _mintCheckForPubSale(
        uint256 _quantity,
        uint256 _supply,
        uint256 _cost
    ) private view {
        require(_supply + _quantity <= max_supply, "Max supply over");
        require(msg.value >= _cost, "Not enough funds");
    }

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

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

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

    function setMerkleRoot(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;
    }

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

    function withdrawRevenueShare() external onlyOwner {
        uint256 sendAmount = address(this).balance;
        address artist   = payable(0x4A85C42Fe1C82dA31C56E1157cc418Bc7d0498Fb); 
        address creator   = payable(0x135C84f1589b260440D4404f405Ee6bB294bA5DC); 
        address platformer = payable(0x48A23fb6f56F9c14D29FA47A4f45b3a03167dDAe); 
        address engineer   = payable(0x7A3df47Cb07Cb1b35A6d706Fd639bfbD46e907Ac); 
        bool success;
        
        (success, ) = artist.call{value: (sendAmount * 400/1000)}("");
        require(success, "Failed to withdraw Ether");
        (success, ) = creator.call{value: (sendAmount * 320/1000)}("");
        require(success, "Failed to withdraw Ether");
        (success, ) = platformer.call{value: (sendAmount * 150/1000)}("");
        require(success, "Failed to withdraw Ether");
        (success, ) = engineer.call{value: (sendAmount * 130/1000)}("");
        require(success, "Failed to withdraw Ether");
    }

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

    // set max supply
    function setMaxSupply(uint256 _num) external onlyOwner {
        require(max_supply <= 1000, "Max supply need to be until 1000");
        max_supply = _num;
    }
}

File 2 of 24 : 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 3 of 24 : ERC721Psi.sol
// ===================================================
// tokenIdの開始を1からにする場合はこちらをご利用ください
// ===================================================

// 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 4 of 24 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 10 of 24 : 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 11 of 24 : BitMaps.sol
// SPDX-License-Identifier: MIT
/**
   _____       ___     ___ __           ____  _ __      
  / ___/____  / (_)___/ (_) /___  __   / __ )(_) /______
  \__ \/ __ \/ / / __  / / __/ / / /  / __  / / __/ ___/
 ___/ / /_/ / / / /_/ / / /_/ /_/ /  / /_/ / / /_(__  ) 
/____/\____/_/_/\__,_/_/\__/\__, /  /_____/_/\__/____/  
                           /____/                        

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

 */
pragma solidity ^0.8.0;

import "./BitScan.sol";
import "./Popcount.sol";

/**
 * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features.
 *
 * 1. 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.
 * 2. Setting and unsetting the bitmap consecutively.
 * 3. Accounting number of set bits within a given range.   
 *
*/

/**
 * @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 Returns number of set bits within a range.
     */
    function popcountA(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

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

                while(amount > 256) {
                    count += Popcount.popcount256A(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256A(
                    bitmap._data[bucket] & (MASK_FULL << (256 - amount))
                );
            }
        }
    }

    /**
     * @dev Returns number of set bits within a range.
     */
    function popcountB(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) {
        uint256 bucket = startIndex >> 8;

        uint256 bucketStartIndex = (startIndex & 0xff);

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

                while(amount > 256) {
                    count += Popcount.popcount256B(bitmap._data[bucket]);
                    amount -= 256;
                    bucket++;
                }
                count += Popcount.popcount256B(
                    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 12 of 24 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 24 : 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 15 of 24 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 17 of 24 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 18 of 24 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 21 of 24 : Popcount.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 Popcount {
    uint256 private constant m1 = 0x5555555555555555555555555555555555555555555555555555555555555555;
    uint256 private constant m2 = 0x3333333333333333333333333333333333333333333333333333333333333333;
    uint256 private constant m4 = 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f;
    uint256 private constant h01 = 0x0101010101010101010101010101010101010101010101010101010101010101;

    function popcount256A(uint256 x) internal pure returns (uint256 count) {
        unchecked{
            for (count=0; x!=0; count++)
                x &= x - 1;
        }
    }

    function popcount256B(uint256 x) internal pure returns (uint256) {
        if (x == type(uint256).max) {
            return 256;
        }
        unchecked {
            x -= (x >> 1) & m1;             //put count of each 2 bits into those 2 bits
            x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits 
            x = (x + (x >> 4)) & m4;        //put count of each 8 bits into those 8 bits 
            x = (x * h01) >> 248;  //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ... 
        }
        return x;
    }
}

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

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

 */

pragma solidity ^0.8.0;


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

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

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

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

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

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

File 23 of 24 : 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 24 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUB_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint256","name":"_num","type":"uint256"}],"name":"setMaxSupply","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":"string","name":"_uri","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRevenueShare","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260016004556001600b60006101000a81548160ff0219169083151502179055506101f4600c556002600e556001601060006101000a81548160ff0219169083151502179055506040518060400160405280601381526020017f68747470733a2f2f6578616d706c652e636f6d0000000000000000000000000081525060129081620000909190620008af565b503480156200009e57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600481526020017f4e616d65000000000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f73796d626f6c00000000000000000000000000000000000000000000000000008152508160019081620001339190620008af565b508060029081620001459190620008af565b505050620001686200015c6200039060201b60201c565b6200039860201b60201c565b6001600a8190555060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003655780156200022b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001f1929190620009db565b600060405180830381600087803b1580156200020c57600080fd5b505af115801562000221573d6000803e3d6000fd5b5050505062000364565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002e5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620002ab929190620009db565b600060405180830381600087803b158015620002c657600080fd5b505af1158015620002db573d6000803e3d6000fd5b5050505062000363565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200032e919062000a08565b600060405180830381600087803b1580156200034957600080fd5b505af11580156200035e573d6000803e3d6000fd5b505050505b5b5b50506200038a6200037b6200045e60201b60201c565b6103e86200048860201b60201c565b62000b40565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620004986200062b60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620004f9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004f09062000aac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200056b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005629062000b1e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006b757607f821691505b602082108103620006cd57620006cc6200066f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006f8565b620007438683620006f8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007906200078a62000784846200075b565b62000765565b6200075b565b9050919050565b6000819050919050565b620007ac836200076f565b620007c4620007bb8262000797565b84845462000705565b825550505050565b600090565b620007db620007cc565b620007e8818484620007a1565b505050565b5b81811015620008105762000804600082620007d1565b600181019050620007ee565b5050565b601f8211156200085f576200082981620006d3565b6200083484620006e8565b8101602085101562000844578190505b6200085c6200085385620006e8565b830182620007ed565b50505b505050565b600082821c905092915050565b6000620008846000198460080262000864565b1980831691505092915050565b60006200089f838362000871565b9150826002028217905092915050565b620008ba8262000635565b67ffffffffffffffff811115620008d657620008d562000640565b5b620008e282546200069e565b620008ef82828562000814565b600060209050601f83116001811462000927576000841562000912578287015190505b6200091e858262000891565b8655506200098e565b601f1984166200093786620006d3565b60005b8281101562000961578489015182556001820191506020850194506020810190506200093a565b868310156200098157848901516200097d601f89168262000871565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009c38262000996565b9050919050565b620009d581620009b6565b82525050565b6000604082019050620009f26000830185620009ca565b62000a016020830184620009ca565b9392505050565b600060208201905062000a1f6000830184620009ca565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000a94602a8362000a25565b915062000aa18262000a36565b604082019050919050565b6000602082019050818103600083015262000ac78162000a85565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000b0660198362000a25565b915062000b138262000ace565b602082019050919050565b6000602082019050818103600083015262000b398162000af7565b9050919050565b6159a78062000b506000396000f3fe6080604052600436106102725760003560e01c80637cb647591161014f578063b472070f116100c1578063c884ef831161007a578063c884ef8314610943578063cfd9480b14610980578063e985e9c5146109ab578063f2fde38b146109e8578063fb796e6c14610a11578063fe2c7fee14610a3c57610272565b8063b472070f14610844578063b7c0b8e81461086f578063b88d4fde14610898578063c1d9df8d146108c1578063c54e73e3146108dd578063c87b56dd1461090657610272565b806395d89b411161011357806395d89b4114610748578063996517cf146107735780639e6a1d7d1461079e578063a22cb465146107c7578063a9a38262146107f0578063aa38cd321461082d57610272565b80637cb64759146106775780638a333b50146106a05780638da5cb5b146106cb5780638f2fc60b146106f6578063940cd05b1461071f57610272565b806341f43434116101e857806355f804b3116101ac57806355f804b3146105785780635a546223146105a15780636352211e146105bd5780636f8b44b0146105fa57806370a0823114610623578063715018a61461066057610272565b806341f434341461049357806342842e0e146104be578063484b973c146104e75780634f6ccce714610510578063556fedd21461054d57610272565b806318160ddd1161023a57806318160ddd146103705780631ad4de591461039b57806323b872dd146103c45780632a55205a146103ed5780632eb4a7ab1461042b5780632f745c591461045657610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630d5624b314610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906138ac565b610a65565b6040516102ab91906138f4565b60405180910390f35b3480156102c057600080fd5b506102c9610a87565b6040516102d6919061399f565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906139f7565b610b19565b6040516103139190613a65565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613aac565b610b9e565b005b34801561035157600080fd5b5061035a610bb7565b60405161036791906138f4565b60405180910390f35b34801561037c57600080fd5b50610385610bca565b6040516103929190613afb565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613b42565b610be0565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190613b6f565b610c05565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613bc2565b610c54565b604051610422929190613c02565b60405180910390f35b34801561043757600080fd5b50610440610e3e565b60405161044d9190613c44565b60405180910390f35b34801561046257600080fd5b5061047d60048036038101906104789190613aac565b610e44565b60405161048a9190613afb565b60405180910390f35b34801561049f57600080fd5b506104a8610f1a565b6040516104b59190613cbe565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190613b6f565b610f2c565b005b3480156104f357600080fd5b5061050e60048036038101906105099190613aac565b610f7b565b005b34801561051c57600080fd5b50610537600480360381019061053291906139f7565b610fee565b6040516105449190613afb565b60405180910390f35b34801561055957600080fd5b50610562611094565b60405161056f9190613afb565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a9190613d3e565b61109f565b005b6105bb60048036038101906105b69190613de1565b6110bd565b005b3480156105c957600080fd5b506105e460048036038101906105df91906139f7565b6111fa565b6040516105f19190613a65565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c91906139f7565b611212565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613e41565b61126b565b6040516106579190613afb565b60405180910390f35b34801561066c57600080fd5b5061067561135f565b005b34801561068357600080fd5b5061069e60048036038101906106999190613e9a565b611373565b005b3480156106ac57600080fd5b506106b5611385565b6040516106c29190613afb565b60405180910390f35b3480156106d757600080fd5b506106e061138b565b6040516106ed9190613a65565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613f0b565b6113b5565b005b34801561072b57600080fd5b5061074660048036038101906107419190613b42565b6113cb565b005b34801561075457600080fd5b5061075d6113f0565b60405161076a919061399f565b60405180910390f35b34801561077f57600080fd5b50610788611482565b6040516107959190613afb565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c091906139f7565b611488565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190613f4b565b61149a565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613f8b565b6114b3565b60405161082491906138f4565b60405180910390f35b34801561083957600080fd5b506108426114f6565b005b34801561085057600080fd5b50610859611887565b6040516108669190613afb565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613b42565b611892565b005b3480156108a457600080fd5b506108bf60048036038101906108ba9190614108565b6118b7565b005b6108db60048036038101906108d691906139f7565b611908565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613b42565b6119fa565b005b34801561091257600080fd5b5061092d600480360381019061092891906139f7565b611a1f565b60405161093a919061399f565b60405180910390f35b34801561094f57600080fd5b5061096a60048036038101906109659190613e41565b611af8565b6040516109779190613afb565b60405180910390f35b34801561098c57600080fd5b50610995611b10565b6040516109a291906138f4565b60405180910390f35b3480156109b757600080fd5b506109d260048036038101906109cd919061418b565b611b23565b6040516109df91906138f4565b60405180910390f35b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190613e41565b611bb7565b005b348015610a1d57600080fd5b50610a26611c3a565b604051610a3391906138f4565b60405180910390f35b348015610a4857600080fd5b50610a636004803603810190610a5e9190613d3e565b611c4d565b005b6000610a7082611c6b565b80610a805750610a7f82611db5565b5b9050919050565b606060018054610a96906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac2906141fa565b8015610b0f5780601f10610ae457610100808354040283529160200191610b0f565b820191906000526020600020905b815481529060010190602001808311610af257829003601f168201915b5050505050905090565b6000610b2482611e2f565b610b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5a9061429d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ba881611e3d565b610bb28383611f52565b505050565b600d60009054906101000a900460ff1681565b60006001600454610bdb91906142ec565b905090565b610be8612069565b80600d60016101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4357610c4233611e3d565b5b610c4e8484846120e7565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610de95760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610df3612147565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e1f9190614320565b610e299190614391565b90508160000151819350935050509250929050565b600f5481565b6000806000600190505b600454811015610ed857610e6181611e2f565b8015610ea05750610e71816111fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610ec557838203610eb6578092505050610f14565b8180610ec1906143c2565b9250505b8080610ed0906143c2565b915050610e4e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b9061447c565b60405180910390fd5b92915050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f6a57610f6933611e3d565b5b610f75848484612151565b50505050565b610f83612069565b6000610f8d610bca565b9050600c548282610f9e919061449c565b1115610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd69061451c565b60405180910390fd5b610fe98383612171565b505050565b6000610ff8610bca565b8210611039576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611030906145ae565b60405180910390fd5b600080600190505b60045481101561108c5761105481611e2f565b156110795783820361106a57809250505061108f565b8180611075906143c2565b9250505b8080611084906143c2565b915050611041565b50505b919050565b662386f26fc1000081565b6110a7612069565b8181601191826110b892919061477b565b505050565b6110c561218f565b60006110cf610bca565b9050600084662386f26fc100006110e69190614320565b9050600d60009054906101000a900460ff16611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614897565b60405180910390fd5b6111428583836121de565b61114c84846114b3565b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614903565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111da919061449c565b925050819055506111eb3386612171565b50506111f561234a565b505050565b60008061120683612354565b50905080915050919050565b61121a612069565b6103e8600c541115611261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112589061496f565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d290614a01565b60405180910390fd5b600080600190505b600454811015611355576112f681611e2f565b1561134457611304816111fa565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036113435781611340906143c2565b91505b5b8061134e906143c2565b90506112e3565b5080915050919050565b611367612069565b61137160006123e5565b565b61137b612069565b80600f8190555050565b600c5481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113bd612069565b6113c782826124ab565b5050565b6113d3612069565b80601060006101000a81548160ff02191690831515021790555050565b6060600280546113ff906141fa565b80601f016020809104026020016040519081016040528092919081815260200182805461142b906141fa565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050905090565b600e5481565b611490612069565b80600e8190555050565b816114a481611e3d565b6114ae8383612640565b505050565b600080336040516020016114c79190614a69565b6040516020818303038152906040528051906020012090506114ed8484600f54846127c0565b91505092915050565b6114fe612069565b60004790506000734a85c42fe1c82da31c56e1157cc418bc7d0498fb9050600073135c84f1589b260440d4404f405ee6bb294ba5dc905060007348a23fb6f56f9c14d29fa47a4f45b3a03167ddae90506000737a3df47cb07cb1b35a6d706fd639bfbd46e907ac905060008473ffffffffffffffffffffffffffffffffffffffff166103e8610190886115919190614320565b61159b9190614391565b6040516115a790614ab5565b60006040518083038185875af1925050503d80600081146115e4576040519150601f19603f3d011682016040523d82523d6000602084013e6115e9565b606091505b5050809150508061162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614b16565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166103e8610140886116579190614320565b6116619190614391565b60405161166d90614ab5565b60006040518083038185875af1925050503d80600081146116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b505080915050806116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90614b16565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166103e860968861171c9190614320565b6117269190614391565b60405161173290614ab5565b60006040518083038185875af1925050503d806000811461176f576040519150601f19603f3d011682016040523d82523d6000602084013e611774565b606091505b505080915050806117ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b190614b16565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166103e86082886117e19190614320565b6117eb9190614391565b6040516117f790614ab5565b60006040518083038185875af1925050503d8060008114611834576040519150601f19603f3d011682016040523d82523d6000602084013e611839565b606091505b5050809150508061187f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187690614b16565b60405180910390fd5b505050505050565b662386f26fc1000081565b61189a612069565b80600b60006101000a81548160ff02191690831515021790555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118f5576118f433611e3d565b5b611901858585856127d9565b5050505050565b61191061218f565b600061191a610bca565b9050600082662386f26fc100006119319190614320565b9050600d60019054906101000a900460ff16611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614897565b60405180910390fd5b61198d83838361283b565b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119dc919061449c565b925050819055506119ed3384612171565b50506119f761234a565b50565b611a02612069565b80600d60006101000a81548160ff02191690831515021790555050565b6060601060009054906101000a900460ff1615611a6557611a3f826128d3565b604051602001611a4f9190614bbe565b6040516020818303038152906040529050611af3565b60128054611a72906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9e906141fa565b8015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505090505b919050565b60136020528060005260406000206000915090505481565b600d60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bbf612069565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614c52565b60405180910390fd5b611c37816123e5565b50565b600b60009054906101000a900460ff1681565b611c55612069565b818160129182611c6692919061477b565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d3657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d9e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611dae5750611dad8261297a565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e285750611e2782611c6b565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b118015611e7e5750600b60009054906101000a900460ff165b15611f4f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ecc929190614c72565b602060405180830381865afa158015611ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0d9190614cb0565b611f4e57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f459190613a65565b60405180910390fd5b5b50565b6000611f5d826111fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc490614d4f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fec6129e4565b73ffffffffffffffffffffffffffffffffffffffff16148061201b575061201a816120156129e4565b611b23565b5b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190614de1565b60405180910390fd5b61206483836129ec565b505050565b6120716129e4565b73ffffffffffffffffffffffffffffffffffffffff1661208f61138b565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90614e4d565b60405180910390fd5b565b6120f86120f26129e4565b82612aa5565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614edf565b60405180910390fd5b612142838383612b83565b505050565b6000612710905090565b61216c838383604051806020016040528060008152506118b7565b505050565b61218b828260405180602001604052806000815250612e05565b5050565b6002600a54036121d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cb90614f4b565b60405180910390fd5b6002600a81905550565b600c5483836121ed919061449c565b111561222e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122259061451c565b60405180910390fd5b600e54831115612273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226a90614fb7565b60405180910390fd5b803410156122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90615023565b60405180910390fd5b600e5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612304919061449c565b1115612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c9061508f565b60405180910390fd5b505050565b6001600a81905550565b60008061236083611e2f565b61239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690615121565b60405180910390fd5b6123a883612e69565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124b3612147565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612508906151b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612580576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125779061521f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6126486129e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac9061528b565b60405180910390fd5b80600660006126c26129e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661276f6129e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127b491906138f4565b60405180910390a35050565b6000826127ce868685612e86565b149050949350505050565b6127ea6127e46129e4565b83612aa5565b612829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282090614edf565b60405180910390fd5b61283584848484612ede565b50505050565b600c54838361284a919061449c565b111561288b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128829061451c565b60405180910390fd5b803410156128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590615023565b60405180910390fd5b505050565b60606128de82611e2f565b61291d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129149061531d565b60405180910390fd5b6000612927612f3c565b905060008151116129475760405180602001604052806000815250612972565b8061295184612fce565b60405160200161296292919061533d565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a5f836111fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612ab082611e2f565b612aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae6906153d3565b60405180910390fd5b6000612afa836111fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6957508373ffffffffffffffffffffffffffffffffffffffff16612b5184610b19565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b7a5750612b798185611b23565b5b91505092915050565b600080612b8f83612354565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890615465565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c67906154f7565b60405180910390fd5b612c7d858585600161309c565b612c886000846129ec565b6000600184612c97919061449c565b9050612cad8160006130a290919063ffffffff16565b158015612cbb575060045481105b15612d2757856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d268160006130fd90919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612d9557612d948460006130fd90919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dfd868686600161315a565b505050505050565b60006004549050612e168484613160565b612e24600085838686613340565b612e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5a90615589565b60405180910390fd5b50505050565b6000612e7f82600061350290919063ffffffff16565b9050919050565b60008082905060005b85859050811015612ed257612ebd82878784818110612eb157612eb06155a9565b5b905060200201356135fb565b91508080612eca906143c2565b915050612e8f565b50809150509392505050565b612ee9848484612b83565b612ef7848484600185613340565b612f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2d90615589565b60405180910390fd5b50505050565b606060118054612f4b906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054612f77906141fa565b8015612fc45780601f10612f9957610100808354040283529160200191612fc4565b820191906000526020600020905b815481529060010190602001808311612fa757829003601f168201915b5050505050905090565b606060006001612fdd84613626565b01905060008167ffffffffffffffff811115612ffc57612ffb613fdd565b5b6040519080825280601f01601f19166020018201604052801561302e5781602001600182028036833780820191505090505b509050600082602001820190505b600115613091578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161308557613084614362565b5b0494506000850361303c575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b60006004549050600082116131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a19061564a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613210906156dc565b60405180910390fd5b613226600084838561309c565b8160046000828254613238919061449c565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506132a58160006130fd90919063ffffffff16565b6132b2600084838561315a565b60008190505b82826132c4919061449c565b81101561333a57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613332906143c2565b9150506132b8565b50505050565b60006133618573ffffffffffffffffffffffffffffffffffffffff16613779565b156134f4576001905060008490505b838561337c919061449c565b8110156134ee578573ffffffffffffffffffffffffffffffffffffffff1663150b7a026133a76129e4565b8984876040518563ffffffff1660e01b81526004016133c99493929190615751565b6020604051808303816000875af192505050801561340557506040513d601f19601f8201168201806040525081019061340291906157b2565b60015b613487573d8060008114613435576040519150601f19603f3d011682016040523d82523d6000602084013e61343a565b606091505b50600081510361347f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347690615589565b60405180910390fd5b805181602001fd5b8280156134d8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b92505080806134e6906143c2565b915050613370565b506134f9565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c9050600081111561355b576135498161379c565b60ff168203600884901b1793506135f2565b5b6001156135f157600083116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359d90615851565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156135ec576135d98161379c565b60ff0360ff16600884901b1793506135f1565b61355c565b5b50505092915050565b60008183106136135761360e828461380e565b61361e565b61361d838361380e565b5b905092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613684577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161367a57613679614362565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106136c1576d04ee2d6d415b85acef810000000083816136b7576136b6614362565b5b0492506020810190505b662386f26fc1000083106136f057662386f26fc1000083816136e6576136e5614362565b5b0492506010810190505b6305f5e1008310613719576305f5e100838161370f5761370e614362565b5b0492506008810190505b612710831061373e57612710838161373457613733614362565b5b0492506004810190505b60648310613761576064838161375757613756614362565b5b0492506002810190505b600a8310613770576001810190505b80915050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615872610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6137e585613825565b02901c815181106137f9576137f86155a9565b5b602001015160f81c60f81b60f81c9050919050565b600082600052816020526040600020905092915050565b600080821161383357600080fd5b8160000382169050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388981613854565b811461389457600080fd5b50565b6000813590506138a681613880565b92915050565b6000602082840312156138c2576138c161384a565b5b60006138d084828501613897565b91505092915050565b60008115159050919050565b6138ee816138d9565b82525050565b600060208201905061390960008301846138e5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394957808201518184015260208101905061392e565b60008484015250505050565b6000601f19601f8301169050919050565b60006139718261390f565b61397b818561391a565b935061398b81856020860161392b565b61399481613955565b840191505092915050565b600060208201905081810360008301526139b98184613966565b905092915050565b6000819050919050565b6139d4816139c1565b81146139df57600080fd5b50565b6000813590506139f1816139cb565b92915050565b600060208284031215613a0d57613a0c61384a565b5b6000613a1b848285016139e2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a4f82613a24565b9050919050565b613a5f81613a44565b82525050565b6000602082019050613a7a6000830184613a56565b92915050565b613a8981613a44565b8114613a9457600080fd5b50565b600081359050613aa681613a80565b92915050565b60008060408385031215613ac357613ac261384a565b5b6000613ad185828601613a97565b9250506020613ae2858286016139e2565b9150509250929050565b613af5816139c1565b82525050565b6000602082019050613b106000830184613aec565b92915050565b613b1f816138d9565b8114613b2a57600080fd5b50565b600081359050613b3c81613b16565b92915050565b600060208284031215613b5857613b5761384a565b5b6000613b6684828501613b2d565b91505092915050565b600080600060608486031215613b8857613b8761384a565b5b6000613b9686828701613a97565b9350506020613ba786828701613a97565b9250506040613bb8868287016139e2565b9150509250925092565b60008060408385031215613bd957613bd861384a565b5b6000613be7858286016139e2565b9250506020613bf8858286016139e2565b9150509250929050565b6000604082019050613c176000830185613a56565b613c246020830184613aec565b9392505050565b6000819050919050565b613c3e81613c2b565b82525050565b6000602082019050613c596000830184613c35565b92915050565b6000819050919050565b6000613c84613c7f613c7a84613a24565b613c5f565b613a24565b9050919050565b6000613c9682613c69565b9050919050565b6000613ca882613c8b565b9050919050565b613cb881613c9d565b82525050565b6000602082019050613cd36000830184613caf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613cfe57613cfd613cd9565b5b8235905067ffffffffffffffff811115613d1b57613d1a613cde565b5b602083019150836001820283011115613d3757613d36613ce3565b5b9250929050565b60008060208385031215613d5557613d5461384a565b5b600083013567ffffffffffffffff811115613d7357613d7261384f565b5b613d7f85828601613ce8565b92509250509250929050565b60008083601f840112613da157613da0613cd9565b5b8235905067ffffffffffffffff811115613dbe57613dbd613cde565b5b602083019150836020820283011115613dda57613dd9613ce3565b5b9250929050565b600080600060408486031215613dfa57613df961384a565b5b6000613e08868287016139e2565b935050602084013567ffffffffffffffff811115613e2957613e2861384f565b5b613e3586828701613d8b565b92509250509250925092565b600060208284031215613e5757613e5661384a565b5b6000613e6584828501613a97565b91505092915050565b613e7781613c2b565b8114613e8257600080fd5b50565b600081359050613e9481613e6e565b92915050565b600060208284031215613eb057613eaf61384a565b5b6000613ebe84828501613e85565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613ee881613ec7565b8114613ef357600080fd5b50565b600081359050613f0581613edf565b92915050565b60008060408385031215613f2257613f2161384a565b5b6000613f3085828601613a97565b9250506020613f4185828601613ef6565b9150509250929050565b60008060408385031215613f6257613f6161384a565b5b6000613f7085828601613a97565b9250506020613f8185828601613b2d565b9150509250929050565b60008060208385031215613fa257613fa161384a565b5b600083013567ffffffffffffffff811115613fc057613fbf61384f565b5b613fcc85828601613d8b565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61401582613955565b810181811067ffffffffffffffff8211171561403457614033613fdd565b5b80604052505050565b6000614047613840565b9050614053828261400c565b919050565b600067ffffffffffffffff82111561407357614072613fdd565b5b61407c82613955565b9050602081019050919050565b82818337600083830152505050565b60006140ab6140a684614058565b61403d565b9050828152602081018484840111156140c7576140c6613fd8565b5b6140d2848285614089565b509392505050565b600082601f8301126140ef576140ee613cd9565b5b81356140ff848260208601614098565b91505092915050565b600080600080608085870312156141225761412161384a565b5b600061413087828801613a97565b945050602061414187828801613a97565b9350506040614152878288016139e2565b925050606085013567ffffffffffffffff8111156141735761417261384f565b5b61417f878288016140da565b91505092959194509250565b600080604083850312156141a2576141a161384a565b5b60006141b085828601613a97565b92505060206141c185828601613a97565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421257607f821691505b602082108103614225576142246141cb565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614287602f8361391a565b91506142928261422b565b604082019050919050565b600060208201905081810360008301526142b68161427a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142f7826139c1565b9150614302836139c1565b925082820390508181111561431a576143196142bd565b5b92915050565b600061432b826139c1565b9150614336836139c1565b9250828202614344816139c1565b9150828204841483151761435b5761435a6142bd565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061439c826139c1565b91506143a7836139c1565b9250826143b7576143b6614362565b5b828204905092915050565b60006143cd826139c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143ff576143fe6142bd565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b600061446660248361391a565b91506144718261440a565b604082019050919050565b6000602082019050818103600083015261449581614459565b9050919050565b60006144a7826139c1565b91506144b2836139c1565b92508282019050808211156144ca576144c96142bd565b5b92915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000614506600f8361391a565b9150614511826144d0565b602082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b600061459860258361391a565b91506145a38261453c565b604082019050919050565b600060208201905081810360008301526145c78161458b565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261463b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145fe565b61464586836145fe565b95508019841693508086168417925050509392505050565b600061467861467361466e846139c1565b613c5f565b6139c1565b9050919050565b6000819050919050565b6146928361465d565b6146a661469e8261467f565b84845461460b565b825550505050565b600090565b6146bb6146ae565b6146c6818484614689565b505050565b5b818110156146ea576146df6000826146b3565b6001810190506146cc565b5050565b601f82111561472f57614700816145d9565b614709846145ee565b81016020851015614718578190505b61472c614724856145ee565b8301826146cb565b50505b505050565b600082821c905092915050565b600061475260001984600802614734565b1980831691505092915050565b600061476b8383614741565b9150826002028217905092915050565b61478583836145ce565b67ffffffffffffffff81111561479e5761479d613fdd565b5b6147a882546141fa565b6147b38282856146ee565b6000601f8311600181146147e257600084156147d0578287013590505b6147da858261475f565b865550614842565b601f1984166147f0866145d9565b60005b82811015614818578489013582556001820191506020850194506020810190506147f3565b868310156148355784890135614831601f891682614741565b8355505b6001600288020188555050505b50505050505050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b600061488160128361391a565b915061488c8261484b565b602082019050919050565b600060208201905081810360008301526148b081614874565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006148ed60148361391a565b91506148f8826148b7565b602082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b7f4d617820737570706c79206e65656420746f20626520756e74696c2031303030600082015250565b600061495960208361391a565b915061496482614923565b602082019050919050565b600060208201905081810360008301526149888161494c565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b60006149eb602d8361391a565b91506149f68261498f565b604082019050919050565b60006020820190508181036000830152614a1a816149de565b9050919050565b60008160601b9050919050565b6000614a3982614a21565b9050919050565b6000614a4b82614a2e565b9050919050565b614a63614a5e82613a44565b614a40565b82525050565b6000614a758284614a52565b60148201915081905092915050565b600081905092915050565b50565b6000614a9f600083614a84565b9150614aaa82614a8f565b600082019050919050565b6000614ac082614a92565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614b0060188361391a565b9150614b0b82614aca565b602082019050919050565b60006020820190508181036000830152614b2f81614af3565b9050919050565b600081905092915050565b6000614b4c8261390f565b614b568185614b36565b9350614b6681856020860161392b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ba8600583614b36565b9150614bb382614b72565b600582019050919050565b6000614bca8284614b41565b9150614bd582614b9b565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c3c60268361391a565b9150614c4782614be0565b604082019050919050565b60006020820190508181036000830152614c6b81614c2f565b9050919050565b6000604082019050614c876000830185613a56565b614c946020830184613a56565b9392505050565b600081519050614caa81613b16565b92915050565b600060208284031215614cc657614cc561384a565b5b6000614cd484828501614c9b565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614d3960248361391a565b9150614d4482614cdd565b604082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614dcb603b8361391a565b9150614dd682614d6f565b604082019050919050565b60006020820190508181036000830152614dfa81614dbe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e3760208361391a565b9150614e4282614e01565b602082019050919050565b60006020820190508181036000830152614e6681614e2a565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614ec960348361391a565b9150614ed482614e6d565b604082019050919050565b60006020820190508181036000830152614ef881614ebc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f35601f8361391a565b9150614f4082614eff565b602082019050919050565b60006020820190508181036000830152614f6481614f28565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000614fa160128361391a565b9150614fac82614f6b565b602082019050919050565b60006020820190508181036000830152614fd081614f94565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061500d60108361391a565b915061501882614fd7565b602082019050919050565b6000602082019050818103600083015261503c81615000565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b600061507960138361391a565b915061508482615043565b602082019050919050565b600060208201905081810360008301526150a88161506c565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061510b602c8361391a565b9150615116826150af565b604082019050919050565b6000602082019050818103600083015261513a816150fe565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061519d602a8361391a565b91506151a882615141565b604082019050919050565b600060208201905081810360008301526151cc81615190565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061520960198361391a565b9150615214826151d3565b602082019050919050565b60006020820190508181036000830152615238816151fc565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b6000615275601c8361391a565b91506152808261523f565b602082019050919050565b600060208201905081810360008301526152a481615268565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615307602a8361391a565b9150615312826152ab565b604082019050919050565b60006020820190508181036000830152615336816152fa565b9050919050565b60006153498285614b41565b91506153558284614b41565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006153bd602f8361391a565b91506153c882615361565b604082019050919050565b600060208201905081810360008301526153ec816153b0565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b600061544f602c8361391a565b915061545a826153f3565b604082019050919050565b6000602082019050818103600083015261547e81615442565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b60006154e160278361391a565b91506154ec82615485565b604082019050919050565b60006020820190508181036000830152615510816154d4565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600061557360358361391a565b915061557e82615517565b604082019050919050565b600060208201905081810360008301526155a281615566565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b600061563460258361391a565b915061563f826155d8565b604082019050919050565b6000602082019050818103600083015261566381615627565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006156c660238361391a565b91506156d18261566a565b604082019050919050565b600060208201905081810360008301526156f5816156b9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615723826156fc565b61572d8185615707565b935061573d81856020860161392b565b61574681613955565b840191505092915050565b60006080820190506157666000830187613a56565b6157736020830186613a56565b6157806040830185613aec565b81810360608301526157928184615718565b905095945050505050565b6000815190506157ac81613880565b92915050565b6000602082840312156157c8576157c761384a565b5b60006157d68482850161579d565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061583b60348361391a565b9150615846826157df565b604082019050919050565b6000602082019050818103600083015261586a8161582e565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122009d38c95b3309873adf004be658e5e08a6608c43435ece2b7863a55de44edeb464736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102725760003560e01c80637cb647591161014f578063b472070f116100c1578063c884ef831161007a578063c884ef8314610943578063cfd9480b14610980578063e985e9c5146109ab578063f2fde38b146109e8578063fb796e6c14610a11578063fe2c7fee14610a3c57610272565b8063b472070f14610844578063b7c0b8e81461086f578063b88d4fde14610898578063c1d9df8d146108c1578063c54e73e3146108dd578063c87b56dd1461090657610272565b806395d89b411161011357806395d89b4114610748578063996517cf146107735780639e6a1d7d1461079e578063a22cb465146107c7578063a9a38262146107f0578063aa38cd321461082d57610272565b80637cb64759146106775780638a333b50146106a05780638da5cb5b146106cb5780638f2fc60b146106f6578063940cd05b1461071f57610272565b806341f43434116101e857806355f804b3116101ac57806355f804b3146105785780635a546223146105a15780636352211e146105bd5780636f8b44b0146105fa57806370a0823114610623578063715018a61461066057610272565b806341f434341461049357806342842e0e146104be578063484b973c146104e75780634f6ccce714610510578063556fedd21461054d57610272565b806318160ddd1161023a57806318160ddd146103705780631ad4de591461039b57806323b872dd146103c45780632a55205a146103ed5780632eb4a7ab1461042b5780632f745c591461045657610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630d5624b314610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906138ac565b610a65565b6040516102ab91906138f4565b60405180910390f35b3480156102c057600080fd5b506102c9610a87565b6040516102d6919061399f565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906139f7565b610b19565b6040516103139190613a65565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613aac565b610b9e565b005b34801561035157600080fd5b5061035a610bb7565b60405161036791906138f4565b60405180910390f35b34801561037c57600080fd5b50610385610bca565b6040516103929190613afb565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613b42565b610be0565b005b3480156103d057600080fd5b506103eb60048036038101906103e69190613b6f565b610c05565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613bc2565b610c54565b604051610422929190613c02565b60405180910390f35b34801561043757600080fd5b50610440610e3e565b60405161044d9190613c44565b60405180910390f35b34801561046257600080fd5b5061047d60048036038101906104789190613aac565b610e44565b60405161048a9190613afb565b60405180910390f35b34801561049f57600080fd5b506104a8610f1a565b6040516104b59190613cbe565b60405180910390f35b3480156104ca57600080fd5b506104e560048036038101906104e09190613b6f565b610f2c565b005b3480156104f357600080fd5b5061050e60048036038101906105099190613aac565b610f7b565b005b34801561051c57600080fd5b50610537600480360381019061053291906139f7565b610fee565b6040516105449190613afb565b60405180910390f35b34801561055957600080fd5b50610562611094565b60405161056f9190613afb565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a9190613d3e565b61109f565b005b6105bb60048036038101906105b69190613de1565b6110bd565b005b3480156105c957600080fd5b506105e460048036038101906105df91906139f7565b6111fa565b6040516105f19190613a65565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c91906139f7565b611212565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613e41565b61126b565b6040516106579190613afb565b60405180910390f35b34801561066c57600080fd5b5061067561135f565b005b34801561068357600080fd5b5061069e60048036038101906106999190613e9a565b611373565b005b3480156106ac57600080fd5b506106b5611385565b6040516106c29190613afb565b60405180910390f35b3480156106d757600080fd5b506106e061138b565b6040516106ed9190613a65565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613f0b565b6113b5565b005b34801561072b57600080fd5b5061074660048036038101906107419190613b42565b6113cb565b005b34801561075457600080fd5b5061075d6113f0565b60405161076a919061399f565b60405180910390f35b34801561077f57600080fd5b50610788611482565b6040516107959190613afb565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c091906139f7565b611488565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190613f4b565b61149a565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613f8b565b6114b3565b60405161082491906138f4565b60405180910390f35b34801561083957600080fd5b506108426114f6565b005b34801561085057600080fd5b50610859611887565b6040516108669190613afb565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613b42565b611892565b005b3480156108a457600080fd5b506108bf60048036038101906108ba9190614108565b6118b7565b005b6108db60048036038101906108d691906139f7565b611908565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613b42565b6119fa565b005b34801561091257600080fd5b5061092d600480360381019061092891906139f7565b611a1f565b60405161093a919061399f565b60405180910390f35b34801561094f57600080fd5b5061096a60048036038101906109659190613e41565b611af8565b6040516109779190613afb565b60405180910390f35b34801561098c57600080fd5b50610995611b10565b6040516109a291906138f4565b60405180910390f35b3480156109b757600080fd5b506109d260048036038101906109cd919061418b565b611b23565b6040516109df91906138f4565b60405180910390f35b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190613e41565b611bb7565b005b348015610a1d57600080fd5b50610a26611c3a565b604051610a3391906138f4565b60405180910390f35b348015610a4857600080fd5b50610a636004803603810190610a5e9190613d3e565b611c4d565b005b6000610a7082611c6b565b80610a805750610a7f82611db5565b5b9050919050565b606060018054610a96906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac2906141fa565b8015610b0f5780601f10610ae457610100808354040283529160200191610b0f565b820191906000526020600020905b815481529060010190602001808311610af257829003601f168201915b5050505050905090565b6000610b2482611e2f565b610b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5a9061429d565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ba881611e3d565b610bb28383611f52565b505050565b600d60009054906101000a900460ff1681565b60006001600454610bdb91906142ec565b905090565b610be8612069565b80600d60016101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4357610c4233611e3d565b5b610c4e8484846120e7565b50505050565b6000806000600860008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610de95760076040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610df3612147565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e1f9190614320565b610e299190614391565b90508160000151819350935050509250929050565b600f5481565b6000806000600190505b600454811015610ed857610e6181611e2f565b8015610ea05750610e71816111fa565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b15610ec557838203610eb6578092505050610f14565b8180610ec1906143c2565b9250505b8080610ed0906143c2565b915050610e4e565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b9061447c565b60405180910390fd5b92915050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f6a57610f6933611e3d565b5b610f75848484612151565b50505050565b610f83612069565b6000610f8d610bca565b9050600c548282610f9e919061449c565b1115610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd69061451c565b60405180910390fd5b610fe98383612171565b505050565b6000610ff8610bca565b8210611039576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611030906145ae565b60405180910390fd5b600080600190505b60045481101561108c5761105481611e2f565b156110795783820361106a57809250505061108f565b8180611075906143c2565b9250505b8080611084906143c2565b915050611041565b50505b919050565b662386f26fc1000081565b6110a7612069565b8181601191826110b892919061477b565b505050565b6110c561218f565b60006110cf610bca565b9050600084662386f26fc100006110e69190614320565b9050600d60009054906101000a900460ff16611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90614897565b60405180910390fd5b6111428583836121de565b61114c84846114b3565b61118b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118290614903565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111da919061449c565b925050819055506111eb3386612171565b50506111f561234a565b505050565b60008061120683612354565b50905080915050919050565b61121a612069565b6103e8600c541115611261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112589061496f565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d290614a01565b60405180910390fd5b600080600190505b600454811015611355576112f681611e2f565b1561134457611304816111fa565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036113435781611340906143c2565b91505b5b8061134e906143c2565b90506112e3565b5080915050919050565b611367612069565b61137160006123e5565b565b61137b612069565b80600f8190555050565b600c5481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113bd612069565b6113c782826124ab565b5050565b6113d3612069565b80601060006101000a81548160ff02191690831515021790555050565b6060600280546113ff906141fa565b80601f016020809104026020016040519081016040528092919081815260200182805461142b906141fa565b80156114785780601f1061144d57610100808354040283529160200191611478565b820191906000526020600020905b81548152906001019060200180831161145b57829003601f168201915b5050505050905090565b600e5481565b611490612069565b80600e8190555050565b816114a481611e3d565b6114ae8383612640565b505050565b600080336040516020016114c79190614a69565b6040516020818303038152906040528051906020012090506114ed8484600f54846127c0565b91505092915050565b6114fe612069565b60004790506000734a85c42fe1c82da31c56e1157cc418bc7d0498fb9050600073135c84f1589b260440d4404f405ee6bb294ba5dc905060007348a23fb6f56f9c14d29fa47a4f45b3a03167ddae90506000737a3df47cb07cb1b35a6d706fd639bfbd46e907ac905060008473ffffffffffffffffffffffffffffffffffffffff166103e8610190886115919190614320565b61159b9190614391565b6040516115a790614ab5565b60006040518083038185875af1925050503d80600081146115e4576040519150601f19603f3d011682016040523d82523d6000602084013e6115e9565b606091505b5050809150508061162f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162690614b16565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166103e8610140886116579190614320565b6116619190614391565b60405161166d90614ab5565b60006040518083038185875af1925050503d80600081146116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b505080915050806116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90614b16565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166103e860968861171c9190614320565b6117269190614391565b60405161173290614ab5565b60006040518083038185875af1925050503d806000811461176f576040519150601f19603f3d011682016040523d82523d6000602084013e611774565b606091505b505080915050806117ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b190614b16565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166103e86082886117e19190614320565b6117eb9190614391565b6040516117f790614ab5565b60006040518083038185875af1925050503d8060008114611834576040519150601f19603f3d011682016040523d82523d6000602084013e611839565b606091505b5050809150508061187f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187690614b16565b60405180910390fd5b505050505050565b662386f26fc1000081565b61189a612069565b80600b60006101000a81548160ff02191690831515021790555050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118f5576118f433611e3d565b5b611901858585856127d9565b5050505050565b61191061218f565b600061191a610bca565b9050600082662386f26fc100006119319190614320565b9050600d60019054906101000a900460ff16611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614897565b60405180910390fd5b61198d83838361283b565b82601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119dc919061449c565b925050819055506119ed3384612171565b50506119f761234a565b50565b611a02612069565b80600d60006101000a81548160ff02191690831515021790555050565b6060601060009054906101000a900460ff1615611a6557611a3f826128d3565b604051602001611a4f9190614bbe565b6040516020818303038152906040529050611af3565b60128054611a72906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9e906141fa565b8015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505090505b919050565b60136020528060005260406000206000915090505481565b600d60019054906101000a900460ff1681565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bbf612069565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614c52565b60405180910390fd5b611c37816123e5565b50565b600b60009054906101000a900460ff1681565b611c55612069565b818160129182611c6692919061477b565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d3657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d9e57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611dae5750611dad8261297a565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e285750611e2782611c6b565b5b9050919050565b600060045482109050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b118015611e7e5750600b60009054906101000a900460ff165b15611f4f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ecc929190614c72565b602060405180830381865afa158015611ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0d9190614cb0565b611f4e57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f459190613a65565b60405180910390fd5b5b50565b6000611f5d826111fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc490614d4f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fec6129e4565b73ffffffffffffffffffffffffffffffffffffffff16148061201b575061201a816120156129e4565b611b23565b5b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190614de1565b60405180910390fd5b61206483836129ec565b505050565b6120716129e4565b73ffffffffffffffffffffffffffffffffffffffff1661208f61138b565b73ffffffffffffffffffffffffffffffffffffffff16146120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90614e4d565b60405180910390fd5b565b6120f86120f26129e4565b82612aa5565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614edf565b60405180910390fd5b612142838383612b83565b505050565b6000612710905090565b61216c838383604051806020016040528060008152506118b7565b505050565b61218b828260405180602001604052806000815250612e05565b5050565b6002600a54036121d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cb90614f4b565b60405180910390fd5b6002600a81905550565b600c5483836121ed919061449c565b111561222e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122259061451c565b60405180910390fd5b600e54831115612273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226a90614fb7565b60405180910390fd5b803410156122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90615023565b60405180910390fd5b600e5483601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612304919061449c565b1115612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c9061508f565b60405180910390fd5b505050565b6001600a81905550565b60008061236083611e2f565b61239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690615121565b60405180910390fd5b6123a883612e69565b90506003600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150915091565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124b3612147565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612508906151b3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612580576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125779061521f565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600760008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6126486129e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ac9061528b565b60405180910390fd5b80600660006126c26129e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661276f6129e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127b491906138f4565b60405180910390a35050565b6000826127ce868685612e86565b149050949350505050565b6127ea6127e46129e4565b83612aa5565b612829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282090614edf565b60405180910390fd5b61283584848484612ede565b50505050565b600c54838361284a919061449c565b111561288b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128829061451c565b60405180910390fd5b803410156128ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c590615023565b60405180910390fd5b505050565b60606128de82611e2f565b61291d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129149061531d565b60405180910390fd5b6000612927612f3c565b905060008151116129475760405180602001604052806000815250612972565b8061295184612fce565b60405160200161296292919061533d565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a5f836111fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612ab082611e2f565b612aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae6906153d3565b60405180910390fd5b6000612afa836111fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b6957508373ffffffffffffffffffffffffffffffffffffffff16612b5184610b19565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b7a5750612b798185611b23565b5b91505092915050565b600080612b8f83612354565b915091508473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf890615465565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c67906154f7565b60405180910390fd5b612c7d858585600161309c565b612c886000846129ec565b6000600184612c97919061449c565b9050612cad8160006130a290919063ffffffff16565b158015612cbb575060045481105b15612d2757856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d268160006130fd90919063ffffffff16565b5b846003600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818414612d9557612d948460006130fd90919063ffffffff16565b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dfd868686600161315a565b505050505050565b60006004549050612e168484613160565b612e24600085838686613340565b612e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5a90615589565b60405180910390fd5b50505050565b6000612e7f82600061350290919063ffffffff16565b9050919050565b60008082905060005b85859050811015612ed257612ebd82878784818110612eb157612eb06155a9565b5b905060200201356135fb565b91508080612eca906143c2565b915050612e8f565b50809150509392505050565b612ee9848484612b83565b612ef7848484600185613340565b612f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2d90615589565b60405180910390fd5b50505050565b606060118054612f4b906141fa565b80601f0160208091040260200160405190810160405280929190818152602001828054612f77906141fa565b8015612fc45780601f10612f9957610100808354040283529160200191612fc4565b820191906000526020600020905b815481529060010190602001808311612fa757829003601f168201915b5050505050905090565b606060006001612fdd84613626565b01905060008167ffffffffffffffff811115612ffc57612ffb613fdd565b5b6040519080825280601f01601f19166020018201604052801561302e5781602001600182028036833780820191505090505b509050600082602001820190505b600115613091578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161308557613084614362565b5b0494506000850361303c575b819350505050919050565b50505050565b600080600883901c9050600060ff84167f8000000000000000000000000000000000000000000000000000000000000000901c9050600081866000016000858152602001908152602001600020541614159250505092915050565b6000600882901c9050600060ff83167f8000000000000000000000000000000000000000000000000000000000000000901c9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b50505050565b60006004549050600082116131aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a19061564a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613219576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613210906156dc565b60405180910390fd5b613226600084838561309c565b8160046000828254613238919061449c565b92505081905550826003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506132a58160006130fd90919063ffffffff16565b6132b2600084838561315a565b60008190505b82826132c4919061449c565b81101561333a57808473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080613332906143c2565b9150506132b8565b50505050565b60006133618573ffffffffffffffffffffffffffffffffffffffff16613779565b156134f4576001905060008490505b838561337c919061449c565b8110156134ee578573ffffffffffffffffffffffffffffffffffffffff1663150b7a026133a76129e4565b8984876040518563ffffffff1660e01b81526004016133c99493929190615751565b6020604051808303816000875af192505050801561340557506040513d601f19601f8201168201806040525081019061340291906157b2565b60015b613487573d8060008114613435576040519150601f19603f3d011682016040523d82523d6000602084013e61343a565b606091505b50600081510361347f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347690615589565b60405180910390fd5b805181602001fd5b8280156134d8575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b92505080806134e6906143c2565b915050613370565b506134f9565b600190505b95945050505050565b600080600883901c9050600060ff8416905060008560000160008481526020019081526020016000205490508160ff1881901c9050600081111561355b576135498161379c565b60ff168203600884901b1793506135f2565b5b6001156135f157600083116135a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359d90615851565b60405180910390fd5b82806001900393505085600001600084815260200190815260200160002054905060008111156135ec576135d98161379c565b60ff0360ff16600884901b1793506135f1565b61355c565b5b50505092915050565b60008183106136135761360e828461380e565b61361e565b61361d838361380e565b5b905092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613684577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161367a57613679614362565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106136c1576d04ee2d6d415b85acef810000000083816136b7576136b6614362565b5b0492506020810190505b662386f26fc1000083106136f057662386f26fc1000083816136e6576136e5614362565b5b0492506010810190505b6305f5e1008310613719576305f5e100838161370f5761370e614362565b5b0492506008810190505b612710831061373e57612710838161373457613733614362565b5b0492506004810190505b60648310613761576064838161375757613756614362565b5b0492506002810190505b600a8310613770576001810190505b80915050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006040518061012001604052806101008152602001615872610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6137e585613825565b02901c815181106137f9576137f86155a9565b5b602001015160f81c60f81b60f81c9050919050565b600082600052816020526040600020905092915050565b600080821161383357600080fd5b8160000382169050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61388981613854565b811461389457600080fd5b50565b6000813590506138a681613880565b92915050565b6000602082840312156138c2576138c161384a565b5b60006138d084828501613897565b91505092915050565b60008115159050919050565b6138ee816138d9565b82525050565b600060208201905061390960008301846138e5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561394957808201518184015260208101905061392e565b60008484015250505050565b6000601f19601f8301169050919050565b60006139718261390f565b61397b818561391a565b935061398b81856020860161392b565b61399481613955565b840191505092915050565b600060208201905081810360008301526139b98184613966565b905092915050565b6000819050919050565b6139d4816139c1565b81146139df57600080fd5b50565b6000813590506139f1816139cb565b92915050565b600060208284031215613a0d57613a0c61384a565b5b6000613a1b848285016139e2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a4f82613a24565b9050919050565b613a5f81613a44565b82525050565b6000602082019050613a7a6000830184613a56565b92915050565b613a8981613a44565b8114613a9457600080fd5b50565b600081359050613aa681613a80565b92915050565b60008060408385031215613ac357613ac261384a565b5b6000613ad185828601613a97565b9250506020613ae2858286016139e2565b9150509250929050565b613af5816139c1565b82525050565b6000602082019050613b106000830184613aec565b92915050565b613b1f816138d9565b8114613b2a57600080fd5b50565b600081359050613b3c81613b16565b92915050565b600060208284031215613b5857613b5761384a565b5b6000613b6684828501613b2d565b91505092915050565b600080600060608486031215613b8857613b8761384a565b5b6000613b9686828701613a97565b9350506020613ba786828701613a97565b9250506040613bb8868287016139e2565b9150509250925092565b60008060408385031215613bd957613bd861384a565b5b6000613be7858286016139e2565b9250506020613bf8858286016139e2565b9150509250929050565b6000604082019050613c176000830185613a56565b613c246020830184613aec565b9392505050565b6000819050919050565b613c3e81613c2b565b82525050565b6000602082019050613c596000830184613c35565b92915050565b6000819050919050565b6000613c84613c7f613c7a84613a24565b613c5f565b613a24565b9050919050565b6000613c9682613c69565b9050919050565b6000613ca882613c8b565b9050919050565b613cb881613c9d565b82525050565b6000602082019050613cd36000830184613caf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613cfe57613cfd613cd9565b5b8235905067ffffffffffffffff811115613d1b57613d1a613cde565b5b602083019150836001820283011115613d3757613d36613ce3565b5b9250929050565b60008060208385031215613d5557613d5461384a565b5b600083013567ffffffffffffffff811115613d7357613d7261384f565b5b613d7f85828601613ce8565b92509250509250929050565b60008083601f840112613da157613da0613cd9565b5b8235905067ffffffffffffffff811115613dbe57613dbd613cde565b5b602083019150836020820283011115613dda57613dd9613ce3565b5b9250929050565b600080600060408486031215613dfa57613df961384a565b5b6000613e08868287016139e2565b935050602084013567ffffffffffffffff811115613e2957613e2861384f565b5b613e3586828701613d8b565b92509250509250925092565b600060208284031215613e5757613e5661384a565b5b6000613e6584828501613a97565b91505092915050565b613e7781613c2b565b8114613e8257600080fd5b50565b600081359050613e9481613e6e565b92915050565b600060208284031215613eb057613eaf61384a565b5b6000613ebe84828501613e85565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b613ee881613ec7565b8114613ef357600080fd5b50565b600081359050613f0581613edf565b92915050565b60008060408385031215613f2257613f2161384a565b5b6000613f3085828601613a97565b9250506020613f4185828601613ef6565b9150509250929050565b60008060408385031215613f6257613f6161384a565b5b6000613f7085828601613a97565b9250506020613f8185828601613b2d565b9150509250929050565b60008060208385031215613fa257613fa161384a565b5b600083013567ffffffffffffffff811115613fc057613fbf61384f565b5b613fcc85828601613d8b565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61401582613955565b810181811067ffffffffffffffff8211171561403457614033613fdd565b5b80604052505050565b6000614047613840565b9050614053828261400c565b919050565b600067ffffffffffffffff82111561407357614072613fdd565b5b61407c82613955565b9050602081019050919050565b82818337600083830152505050565b60006140ab6140a684614058565b61403d565b9050828152602081018484840111156140c7576140c6613fd8565b5b6140d2848285614089565b509392505050565b600082601f8301126140ef576140ee613cd9565b5b81356140ff848260208601614098565b91505092915050565b600080600080608085870312156141225761412161384a565b5b600061413087828801613a97565b945050602061414187828801613a97565b9350506040614152878288016139e2565b925050606085013567ffffffffffffffff8111156141735761417261384f565b5b61417f878288016140da565b91505092959194509250565b600080604083850312156141a2576141a161384a565b5b60006141b085828601613a97565b92505060206141c185828601613a97565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421257607f821691505b602082108103614225576142246141cb565b5b50919050565b7f4552433732315073693a20617070726f76656420717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614287602f8361391a565b91506142928261422b565b604082019050919050565b600060208201905081810360008301526142b68161427a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142f7826139c1565b9150614302836139c1565b925082820390508181111561431a576143196142bd565b5b92915050565b600061432b826139c1565b9150614336836139c1565b9250828202614344816139c1565b9150828204841483151761435b5761435a6142bd565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061439c826139c1565b91506143a7836139c1565b9250826143b7576143b6614362565b5b828204905092915050565b60006143cd826139c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036143ff576143fe6142bd565b5b600182019050919050565b7f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60008201527f756e647300000000000000000000000000000000000000000000000000000000602082015250565b600061446660248361391a565b91506144718261440a565b604082019050919050565b6000602082019050818103600083015261449581614459565b9050919050565b60006144a7826139c1565b91506144b2836139c1565b92508282019050808211156144ca576144c96142bd565b5b92915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000614506600f8361391a565b9150614511826144d0565b602082019050919050565b60006020820190508181036000830152614535816144f9565b9050919050565b7f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260008201527f6f756e6473000000000000000000000000000000000000000000000000000000602082015250565b600061459860258361391a565b91506145a38261453c565b604082019050919050565b600060208201905081810360008301526145c78161458b565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261463b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826145fe565b61464586836145fe565b95508019841693508086168417925050509392505050565b600061467861467361466e846139c1565b613c5f565b6139c1565b9050919050565b6000819050919050565b6146928361465d565b6146a661469e8261467f565b84845461460b565b825550505050565b600090565b6146bb6146ae565b6146c6818484614689565b505050565b5b818110156146ea576146df6000826146b3565b6001810190506146cc565b5050565b601f82111561472f57614700816145d9565b614709846145ee565b81016020851015614718578190505b61472c614724856145ee565b8301826146cb565b50505b505050565b600082821c905092915050565b600061475260001984600802614734565b1980831691505092915050565b600061476b8383614741565b9150826002028217905092915050565b61478583836145ce565b67ffffffffffffffff81111561479e5761479d613fdd565b5b6147a882546141fa565b6147b38282856146ee565b6000601f8311600181146147e257600084156147d0578287013590505b6147da858261475f565b865550614842565b601f1984166147f0866145d9565b60005b82811015614818578489013582556001820191506020850194506020810190506147f3565b868310156148355784890135614831601f891682614741565b8355505b6001600288020188555050505b50505050505050565b7f4265666f72652073616c6520626567696e2e0000000000000000000000000000600082015250565b600061488160128361391a565b915061488c8261484b565b602082019050919050565b600060208201905081810360008301526148b081614874565b9050919050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006148ed60148361391a565b91506148f8826148b7565b602082019050919050565b6000602082019050818103600083015261491c816148e0565b9050919050565b7f4d617820737570706c79206e65656420746f20626520756e74696c2031303030600082015250565b600061495960208361391a565b915061496482614923565b602082019050919050565b600060208201905081810360008301526149888161494c565b9050919050565b7f4552433732315073693a2062616c616e636520717565727920666f722074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b60006149eb602d8361391a565b91506149f68261498f565b604082019050919050565b60006020820190508181036000830152614a1a816149de565b9050919050565b60008160601b9050919050565b6000614a3982614a21565b9050919050565b6000614a4b82614a2e565b9050919050565b614a63614a5e82613a44565b614a40565b82525050565b6000614a758284614a52565b60148201915081905092915050565b600081905092915050565b50565b6000614a9f600083614a84565b9150614aaa82614a8f565b600082019050919050565b6000614ac082614a92565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b6000614b0060188361391a565b9150614b0b82614aca565b602082019050919050565b60006020820190508181036000830152614b2f81614af3565b9050919050565b600081905092915050565b6000614b4c8261390f565b614b568185614b36565b9350614b6681856020860161392b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ba8600583614b36565b9150614bb382614b72565b600582019050919050565b6000614bca8284614b41565b9150614bd582614b9b565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c3c60268361391a565b9150614c4782614be0565b604082019050919050565b60006020820190508181036000830152614c6b81614c2f565b9050919050565b6000604082019050614c876000830185613a56565b614c946020830184613a56565b9392505050565b600081519050614caa81613b16565b92915050565b600060208284031215614cc657614cc561384a565b5b6000614cd484828501614c9b565b91505092915050565b7f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60008201527f776e657200000000000000000000000000000000000000000000000000000000602082015250565b6000614d3960248361391a565b9150614d4482614cdd565b604082019050919050565b60006020820190508181036000830152614d6881614d2c565b9050919050565b7f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460008201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000602082015250565b6000614dcb603b8361391a565b9150614dd682614d6f565b604082019050919050565b60006020820190508181036000830152614dfa81614dbe565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614e3760208361391a565b9150614e4282614e01565b602082019050919050565b60006020820190508181036000830152614e6681614e2a565b9050919050565b7f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60008201527f74206f776e6572206e6f7220617070726f766564000000000000000000000000602082015250565b6000614ec960348361391a565b9150614ed482614e6d565b604082019050919050565b60006020820190508181036000830152614ef881614ebc565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614f35601f8361391a565b9150614f4082614eff565b602082019050919050565b60006020820190508181036000830152614f6481614f28565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b6000614fa160128361391a565b9150614fac82614f6b565b602082019050919050565b60006020820190508181036000830152614fd081614f94565b9050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061500d60108361391a565b915061501882614fd7565b602082019050919050565b6000602082019050818103600083015261503c81615000565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b600061507960138361391a565b915061508482615043565b602082019050919050565b600060208201905081810360008301526150a88161506c565b9050919050565b7f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061510b602c8361391a565b9150615116826150af565b604082019050919050565b6000602082019050818103600083015261513a816150fe565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061519d602a8361391a565b91506151a882615141565b604082019050919050565b600060208201905081810360008301526151cc81615190565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061520960198361391a565b9150615214826151d3565b602082019050919050565b60006020820190508181036000830152615238816151fc565b9050919050565b7f4552433732315073693a20617070726f766520746f2063616c6c657200000000600082015250565b6000615275601c8361391a565b91506152808261523f565b602082019050919050565b600060208201905081810360008301526152a481615268565b9050919050565b7f4552433732315073693a2055524920717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615307602a8361391a565b9150615312826152ab565b604082019050919050565b60006020820190508181036000830152615336816152fa565b9050919050565b60006153498285614b41565b91506153558284614b41565b91508190509392505050565b7f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006153bd602f8361391a565b91506153c882615361565b604082019050919050565b600060208201905081810360008301526153ec816153b0565b9050919050565b7f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160008201527f74206973206e6f74206f776e0000000000000000000000000000000000000000602082015250565b600061544f602c8361391a565b915061545a826153f3565b604082019050919050565b6000602082019050818103600083015261547e81615442565b9050919050565b7f4552433732315073693a207472616e7366657220746f20746865207a65726f2060008201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b60006154e160278361391a565b91506154ec82615485565b604082019050919050565b60006020820190508181036000830152615510816154d4565b9050919050565b7f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260008201527f31526563656976657220696d706c656d656e7465720000000000000000000000602082015250565b600061557360358361391a565b915061557e82615517565b604082019050919050565b600060208201905081810360008301526155a281615566565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732315073693a207175616e74697479206d757374206265206772656160008201527f7465722030000000000000000000000000000000000000000000000000000000602082015250565b600061563460258361391a565b915061563f826155d8565b604082019050919050565b6000602082019050818103600083015261566381615627565b9050919050565b7f4552433732315073693a206d696e7420746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006156c660238361391a565b91506156d18261566a565b604082019050919050565b600060208201905081810360008301526156f5816156b9565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615723826156fc565b61572d8185615707565b935061573d81856020860161392b565b61574681613955565b840191505092915050565b60006080820190506157666000830187613a56565b6157736020830186613a56565b6157806040830185613aec565b81810360608301526157928184615718565b905095945050505050565b6000815190506157ac81613880565b92915050565b6000602082840312156157c8576157c761384a565b5b60006157d68482850161579d565b91505092915050565b7f4269744d6170733a205468652073657420626974206265666f7265207468652060008201527f696e64657820646f65736e27742065786973742e000000000000000000000000602082015250565b600061583b60348361391a565b9150615846826157df565b604082019050919050565b6000602082019050818103600083015261586a8161582e565b905091905056fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122009d38c95b3309873adf004be658e5e08a6608c43435ece2b7863a55de44edeb464736f6c63430008120033

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.