ETH Price: $2,813.23 (+7.18%)
 

Overview

Max Total Supply

5,000 NLC

Holders

3,534

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
japancyber.eth
Balance
1 NLC
0x287d5c1E17b9B400548c90E2cd537B09781E3703
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:
mintNFT721

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : freemint721.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.17;

import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import {UpdatableOperatorFilterer} from "operator-filter-registry/src/UpdatableOperatorFilterer.sol";
import {RevokableDefaultOperatorFilterer} from "operator-filter-registry/src/RevokableDefaultOperatorFilterer.sol";

contract mintNFT721 is
    RevokableDefaultOperatorFilterer,
    ERC721URIStorage,
    Ownable,
    ERC2981
{
    //@notice flg of pause
    bool public paused;

    //@notice totalSupply
    uint256 public totalSupply;

    //@notice maxSupply
    uint256 public maxSupply;

    //@notice cost
    uint256 public cost;

    //@notice merkleRoot
    bytes32 public merkleRoot;

    //@notice userMintedAmount
    mapping(address => uint256) userMintedAmount;

    //@notice baseURI
    string public baseURI;

    //@notice baseExtension
    string public baseExtension = ".json";

    //
    //CONSTRUCTOR
    //

    constructor() ERC721("NFT LIFE CARD", "NLC") {
        paused = true;
        maxSupply = 8000;
        cost = 0;
        merkleRoot = 0xe2cb07aaa9b42679a209214d3e7c704c375424d9b5e5719062c360eefdc71dee;
        setDefaultRoyalty(0x8FD635F6397f11815f1C742909EdCDA596a0AbC9, 1000);
    }

    //
    //MINT
    //

    //@notice mint amount should be fixed one by frontend logic
    function mint(
        uint256 _mintAmount,
        uint256 _maxMintAmount,
        bytes32[] calldata _merkleProof
    ) public {
        //check
        bytes32 _leaf = keccak256(abi.encodePacked(msg.sender, _maxMintAmount));
        require(!paused, "The contract is paused");
        require(
            MerkleProof.verify(_merkleProof, merkleRoot, _leaf),
            "user is not allowlisted"
        );
        require(
            _mintAmount + userMintedAmount[msg.sender] <= _maxMintAmount,
            "You have already received"
        );
        require(
            (totalSupply + _mintAmount) <= maxSupply,
            "Mints num exceeded limit"
        );

        //effect
        userMintedAmount[msg.sender] += _mintAmount;
        for (uint256 i = 0; i < _mintAmount; i++) {
            totalSupply += 1;

            //interaction
            _safeMint(msg.sender, totalSupply);
        }
    }

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

        string memory currentBaseURI = _baseURI();
        return currentBaseURI;
    }

    //
    //SET
    //

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

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(
        string memory _newBaseExtension
    ) public onlyOwner {
        baseExtension = _newBaseExtension;
    }

    //@notice set Pause
    function setPaused(bool _newPause) external onlyOwner {
        paused = _newPause;
    }

    //@notice set Royality
    function setDefaultRoyalty(
        address _receiver,
        uint96 _feeNumerator
    ) public onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    //@notice set maxMintedNum
    function setMaxSupply(
        uint256 _tokenId,
        uint256 _newNum
    ) external onlyOwner {
        maxSupply = _newNum;
    }

    //@notice set cost
    function setCost(uint256 _tokenId, uint256 _newCost) external onlyOwner {
        cost = _newCost;
    }

    //@notice set merkleRoot
    function setMerkleRoot(
        uint256 _tokenId,
        bytes32 _newMerkleRoot
    ) external onlyOwner {
        merkleRoot = _newMerkleRoot;
    }

    //
    //GET
    //
    function getUserMintedAmount(
        address _user
    ) public view returns (uint256) {
        return userMintedAmount[_user];
    }

    function getWhitelist(
        address _user,
        uint256 _tokenId,
        uint256 _maxMintAmount,
        bytes32[] calldata _merkleProof
    ) external view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(_user, _maxMintAmount));
        return MerkleProof.verify(_merkleProof, merkleRoot, _leaf);
    }

    function owner()
        public
        view
        virtual
        override(Ownable, UpdatableOperatorFilterer)
        returns (address)
    {
        return Ownable.owner();
    }

    //
    //INTERFACE
    //

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

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

import {RevokableOperatorFilterer} from "./RevokableOperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION, CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  RevokableDefaultOperatorFilterer
 * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription.
 *         Note that OpenSea will disable creator earnings enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */

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

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

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

/**
 * @title  UpdatableOperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the
 *         OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address,
 *         which will bypass registry checks.
 *         Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 * @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 UpdatableOperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);
    /// @dev Emitted when someone other than the owner is trying to call an only owner function.
    error OnlyOwner();

    event OperatorFilterRegistryAddressUpdated(address newRegistry);

    IOperatorFilterRegistry public operatorFilterRegistry;

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) {
        IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry);
        operatorFilterRegistry = registry;
        // 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(registry).code.length > 0) {
            if (subscribe) {
                registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    registry.register(address(this));
                }
            }
        }
    }

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

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

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be bypassed. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public virtual {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
        emit OperatorFilterRegistryAddressUpdated(newRegistry);
    }

    /**
     * @dev Assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract.
     */
    function owner() public view virtual returns (address);

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

File 4 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 5 of 20 : 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 6 of 20 : 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 7 of 20 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    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 ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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), "ERC721Metadata: 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 overridden 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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: 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), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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), "ERC721: 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), "ERC721: 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, _data), "ERC721: 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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @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), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), 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 {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 20 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

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

import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol";
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  RevokableOperatorFilterer
 * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The
 *         Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at
 *         any point. As implemented, this abstract contract allows the contract owner to permanently skip the
 *         OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry
 *         address cannot be further updated.
 *         Note that OpenSea will still disable creator earnings enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */
abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer {
    /// @dev Emitted when the registry has already been revoked.
    error RegistryHasBeenRevoked();
    /// @dev Emitted when the initial registry address is attempted to be set to the zero address.
    error InitialRegistryAddressCannotBeZeroAddress();

    event OperatorFilterRegistryRevoked();

    bool public isOperatorFilterRegistryRevoked;

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe)
        UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe)
    {
        // don't allow creating a contract with a permanently revoked registry
        if (_registry == address(0)) {
            revert InitialRegistryAddressCannotBeZeroAddress();
        }
    }

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public override {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
        emit OperatorFilterRegistryAddressUpdated(newRegistry);
    }

    /**
     * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner.
     */
    function revokeOperatorFilterRegistry() public {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        // set to zero address to bypass checks
        operatorFilterRegistry = IOperatorFilterRegistry(address(0));
        isOperatorFilterRegistryRevoked = true;
        emit OperatorFilterRegistryRevoked();
    }
}

File 12 of 20 : 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 13 of 20 : 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 14 of 20 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 20 : 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 16 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 20 : 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 18 of 20 : 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 19 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 20 of 20 : 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":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","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":false,"internalType":"address","name":"newRegistry","type":"address"}],"name":"OperatorFilterRegistryAddressUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"OperatorFilterRegistryRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"_user","type":"address"}],"name":"getUserMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"getWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newNum","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newPause","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601290816200004a919062000a08565b503480156200005857600080fd5b506040518060400160405280600d81526020017f4e4654204c4946452043415244000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e4c4300000000000000000000000000000000000000000000000000000000008152506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb660018282826000839050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008173ffffffffffffffffffffffffffffffffffffffff163b1115620002f0578115620001d2578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b81526004016200019892919062000b34565b600060405180830381600087803b158015620001b357600080fd5b505af1158015620001c8573d6000803e3d6000fd5b50505050620002ef565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200027e578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b81526004016200024492919062000b34565b600060405180830381600087803b1580156200025f57600080fd5b505af115801562000274573d6000803e3d6000fd5b50505050620002ee565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002b9919062000b61565b600060405180830381600087803b158015620002d457600080fd5b505af1158015620002e9573d6000803e3d6000fd5b505050505b5b5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200035b576040517fc49d17ad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505081600190816200036f919062000a08565b50806002908162000381919062000a08565b505050620003a4620003986200042860201b60201c565b6200043060201b60201c565b6001600b60006101000a81548160ff021916908315150217905550611f40600d819055506000600e819055507fe2cb07aaa9b42679a209214d3e7c704c375424d9b5e5719062c360eefdc71dee60001b600f8190555062000422738fd635f6397f11815f1c742909edcda596a0abc96103e8620004f660201b60201c565b62000d0b565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620005066200042860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200052c6200059b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000585576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200057c9062000bdf565b60405180910390fd5b620005978282620005b760201b60201c565b5050565b6000620005b26200075a60201b62001bbf1760201c565b905090565b620005c76200078460201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000628576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200061f9062000c77565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200069a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006919062000ce9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081057607f821691505b602082108103620008265762000825620007c8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000851565b6200089c868362000851565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008e9620008e3620008dd84620008b4565b620008be565b620008b4565b9050919050565b6000819050919050565b6200090583620008c8565b6200091d6200091482620008f0565b8484546200085e565b825550505050565b600090565b6200093462000925565b62000941818484620008fa565b505050565b5b8181101562000969576200095d6000826200092a565b60018101905062000947565b5050565b601f821115620009b85762000982816200082c565b6200098d8462000841565b810160208510156200099d578190505b620009b5620009ac8562000841565b83018262000946565b50505b505050565b600082821c905092915050565b6000620009dd60001984600802620009bd565b1980831691505092915050565b6000620009f88383620009ca565b9150826002028217905092915050565b62000a13826200078e565b67ffffffffffffffff81111562000a2f5762000a2e62000799565b5b62000a3b8254620007f7565b62000a488282856200096d565b600060209050601f83116001811462000a80576000841562000a6b578287015190505b62000a778582620009ea565b86555062000ae7565b601f19841662000a90866200082c565b60005b8281101562000aba5784890151825560018201915060208501945060208101905062000a93565b8683101562000ada578489015162000ad6601f891682620009ca565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b1c8262000aef565b9050919050565b62000b2e8162000b0f565b82525050565b600060408201905062000b4b600083018562000b23565b62000b5a602083018462000b23565b9392505050565b600060208201905062000b78600083018462000b23565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000bc760208362000b7e565b915062000bd48262000b8f565b602082019050919050565b6000602082019050818103600083015262000bfa8162000bb8565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000c5f602a8362000b7e565b915062000c6c8262000c01565b604082019050919050565b6000602082019050818103600083015262000c928162000c50565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000cd160198362000b7e565b915062000cde8262000c99565b602082019050919050565b6000602082019050818103600083015262000d048162000cc2565b9050919050565b6147308062000d1b6000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063b88d4fde116100b8578063da3ef23f1161007c578063da3ef23f14610666578063e6d37b8814610682578063e985e9c51461069e578063ecba222a146106ce578063f2fde38b146106ec57610232565b8063b88d4fde146105c2578063b8d1e532146105de578063c6682862146105fa578063c87b56dd14610618578063d5abeb011461064857610232565b80637696e088116100ff5780637696e088146105305780638da5cb5b1461054c57806395d89b411461056a578063a22cb46514610588578063b0ccc31e146105a457610232565b80636352211e146104a85780636c0360eb146104d857806370a08231146104f6578063715018a61461052657610232565b806323b872dd116101be57806342842e0e1161018257806342842e0e1461041857806347705cbc1461043457806355f804b3146104645780635c975abb146104805780635ef9432a1461049e57610232565b806323b872dd146103615780632a55205a1461037d5780632eb4a7ab146103ae57806337da577c146103cc5780633ff3caab146103e857610232565b8063095ea7b311610205578063095ea7b3146102d157806313faede6146102ed57806316c38b3c1461030b57806318160ddd1461032757806318712c211461034557610232565b806301ffc9a71461023757806304634d8d1461026757806306fdde0314610283578063081812fc146102a1575b600080fd5b610251600480360381019061024c9190612c00565b610708565b60405161025e9190612c48565b60405180910390f35b610281600480360381019061027c9190612d05565b61071a565b005b61028b6107a4565b6040516102989190612dd5565b60405180910390f35b6102bb60048036038101906102b69190612e2d565b610836565b6040516102c89190612e69565b60405180910390f35b6102eb60048036038101906102e69190612e84565b6108bb565b005b6102f56109d2565b6040516103029190612ed3565b60405180910390f35b61032560048036038101906103209190612f1a565b6109d8565b005b61032f610a71565b60405161033c9190612ed3565b60405180910390f35b61035f600480360381019061035a9190612f7d565b610a77565b005b61037b60048036038101906103769190612fbd565b610afe565b005b61039760048036038101906103929190613010565b610b5e565b6040516103a5929190613050565b60405180910390f35b6103b6610d48565b6040516103c39190613088565b60405180910390f35b6103e660048036038101906103e19190613010565b610d4e565b005b61040260048036038101906103fd9190613108565b610dd5565b60405161040f9190612c48565b60405180910390f35b610432600480360381019061042d9190612fbd565b610e5d565b005b61044e60048036038101906104499190613190565b610e7d565b60405161045b9190612ed3565b60405180910390f35b61047e600480360381019061047991906132ed565b610ec6565b005b610488610f55565b6040516104959190612c48565b60405180910390f35b6104a6610f68565b005b6104c260048036038101906104bd9190612e2d565b6110a5565b6040516104cf9190612e69565b60405180910390f35b6104e0611156565b6040516104ed9190612dd5565b60405180910390f35b610510600480360381019061050b9190613190565b6111e4565b60405161051d9190612ed3565b60405180910390f35b61052e61129b565b005b61054a60048036038101906105459190613010565b611323565b005b6105546113aa565b6040516105619190612e69565b60405180910390f35b6105726113b9565b60405161057f9190612dd5565b60405180910390f35b6105a2600480360381019061059d9190613336565b61144b565b005b6105ac611461565b6040516105b991906133d5565b60405180910390f35b6105dc60048036038101906105d79190613491565b611485565b005b6105f860048036038101906105f39190613190565b6114e7565b005b610602611614565b60405161060f9190612dd5565b60405180910390f35b610632600480360381019061062d9190612e2d565b6116a2565b60405161063f9190612dd5565b60405180910390f35b610650611701565b60405161065d9190612ed3565b60405180910390f35b610680600480360381019061067b91906132ed565b611707565b005b61069c60048036038101906106979190613514565b611796565b005b6106b860048036038101906106b39190613588565b611a21565b6040516106c59190612c48565b60405180910390f35b6106d6611ab5565b6040516106e39190612c48565b60405180910390f35b61070660048036038101906107019190613190565b611ac8565b005b600061071382611be9565b9050919050565b610722611c63565b73ffffffffffffffffffffffffffffffffffffffff166107406113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078d90613614565b60405180910390fd5b6107a08282611c6b565b5050565b6060600180546107b390613663565b80601f01602080910402602001604051908101604052809291908181526020018280546107df90613663565b801561082c5780601f106108015761010080835404028352916020019161082c565b820191906000526020600020905b81548152906001019060200180831161080f57829003601f168201915b5050505050905090565b600061084182611e00565b610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790613706565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c6826110a5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613798565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610955611c63565b73ffffffffffffffffffffffffffffffffffffffff16148061098457506109838161097e611c63565b611a21565b5b6109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba9061382a565b60405180910390fd5b6109cd8383611e6c565b505050565b600e5481565b6109e0611c63565b73ffffffffffffffffffffffffffffffffffffffff166109fe6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90613614565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600c5481565b610a7f611c63565b73ffffffffffffffffffffffffffffffffffffffff16610a9d6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90613614565b60405180910390fd5b80600f819055505050565b610b0f610b09611c63565b82611f25565b610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b45906138bc565b60405180910390fd5b610b59838383612003565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cf35760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cfd612269565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d29919061390b565b610d33919061397c565b90508160000151819350935050509250929050565b600f5481565b610d56611c63565b73ffffffffffffffffffffffffffffffffffffffff16610d746113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190613614565b60405180910390fd5b80600d819055505050565b6000808685604051602001610deb929190613a16565b604051602081830303815290604052805190602001209050610e51848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483612273565b91505095945050505050565b610e7883838360405180602001604052806000815250611485565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ece611c63565b73ffffffffffffffffffffffffffffffffffffffff16610eec6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613614565b60405180910390fd5b8060119081610f519190613be4565b5050565b600b60009054906101000a900460ff1681565b610f706113aa565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561101b576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361114d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114490613d28565b60405180910390fd5b80915050919050565b6011805461116390613663565b80601f016020809104026020016040519081016040528092919081815260200182805461118f90613663565b80156111dc5780601f106111b1576101008083540402835291602001916111dc565b820191906000526020600020905b8154815290600101906020018083116111bf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124b90613dba565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a3611c63565b73ffffffffffffffffffffffffffffffffffffffff166112c16113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e90613614565b60405180910390fd5b611321600061228a565b565b61132b611c63565b73ffffffffffffffffffffffffffffffffffffffff166113496113aa565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690613614565b60405180910390fd5b80600e819055505050565b60006113b4611bbf565b905090565b6060600280546113c890613663565b80601f01602080910402602001604051908101604052809291908181526020018280546113f490613663565b80156114415780601f1061141657610100808354040283529160200191611441565b820191906000526020600020905b81548152906001019060200180831161142457829003601f168201915b5050505050905090565b61145d611456611c63565b8383612350565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611496611490611c63565b83611f25565b6114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc906138bc565b60405180910390fd5b6114e1848484846124bc565b50505050565b6114ef6113aa565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611553576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561159a576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de476816040516116099190612e69565b60405180910390a150565b6012805461162190613663565b80601f016020809104026020016040519081016040528092919081815260200182805461164d90613663565b801561169a5780601f1061166f5761010080835404028352916020019161169a565b820191906000526020600020905b81548152906001019060200180831161167d57829003601f168201915b505050505081565b60606116ad82611e00565b6116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e390613e4c565b60405180910390fd5b60006116f6612518565b905080915050919050565b600d5481565b61170f611c63565b73ffffffffffffffffffffffffffffffffffffffff1661172d6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90613614565b60405180910390fd5b80601290816117929190613be4565b5050565b600033846040516020016117ab929190613a16565b604051602081830303815290604052805190602001209050600b60009054906101000a900460ff1615611813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180a90613eb8565b60405180910390fd5b611861838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483612273565b6118a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189790613f24565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054866118ec9190613f44565b111561192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490613fc4565b60405180910390fd5b600d5485600c5461193e9190613f44565b111561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690614030565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ce9190613f44565b9250508190555060005b85811015611a19576001600c60008282546119f39190613f44565b92505081905550611a0633600c546125aa565b8080611a1190614050565b9150506119d8565b505050505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b611ad0611c63565b73ffffffffffffffffffffffffffffffffffffffff16611aee6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b90613614565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa9061410a565b60405180910390fd5b611bbc8161228a565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5c5750611c5b826125c8565b5b9050919050565b600033905090565b611c73612269565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc89061419c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614208565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611edf836110a5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3082611e00565b611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f669061429a565b60405180910390fd5b6000611f7a836110a5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fbc5750611fbb8185611a21565b5b80611ffa57508373ffffffffffffffffffffffffffffffffffffffff16611fe284610836565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612023826110a5565b73ffffffffffffffffffffffffffffffffffffffff1614612079576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120709061432c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906143be565b60405180910390fd5b6120f38383836126aa565b6120fe600082611e6c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e91906143de565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a59190613f44565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122648383836126af565b505050565b6000612710905090565b60008261228085846126b4565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b59061445e565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124af9190612c48565b60405180910390a3505050565b6124c7848484612003565b6124d38484848461270a565b612512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612509906144f0565b60405180910390fd5b50505050565b60606011805461252790613663565b80601f016020809104026020016040519081016040528092919081815260200182805461255390613663565b80156125a05780601f10612575576101008083540402835291602001916125a0565b820191906000526020600020905b81548152906001019060200180831161258357829003601f168201915b5050505050905090565b6125c4828260405180602001604052806000815250612891565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126a357506126a2826128ec565b5b9050919050565b505050565b505050565b60008082905060005b84518110156126ff576126ea828683815181106126dd576126dc614510565b5b6020026020010151612956565b915080806126f790614050565b9150506126bd565b508091505092915050565b600061272b8473ffffffffffffffffffffffffffffffffffffffff16612981565b15612884578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612754611c63565b8786866040518563ffffffff1660e01b81526004016127769493929190614594565b6020604051808303816000875af19250505080156127b257506040513d601f19601f820116820180604052508101906127af91906145f5565b60015b612834573d80600081146127e2576040519150601f19603f3d011682016040523d82523d6000602084013e6127e7565b606091505b50600081510361282c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612823906144f0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612889565b600190505b949350505050565b61289b83836129a4565b6128a8600084848461270a565b6128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de906144f0565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081831061296e576129698284612b7d565b612979565b6129788383612b7d565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0a9061466e565b60405180910390fd5b612a1c81611e00565b15612a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a53906146da565b60405180910390fd5b612a68600083836126aa565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ab89190613f44565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b79600083836126af565b5050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bdd81612ba8565b8114612be857600080fd5b50565b600081359050612bfa81612bd4565b92915050565b600060208284031215612c1657612c15612b9e565b5b6000612c2484828501612beb565b91505092915050565b60008115159050919050565b612c4281612c2d565b82525050565b6000602082019050612c5d6000830184612c39565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c8e82612c63565b9050919050565b612c9e81612c83565b8114612ca957600080fd5b50565b600081359050612cbb81612c95565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612ce281612cc1565b8114612ced57600080fd5b50565b600081359050612cff81612cd9565b92915050565b60008060408385031215612d1c57612d1b612b9e565b5b6000612d2a85828601612cac565b9250506020612d3b85828601612cf0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d7f578082015181840152602081019050612d64565b60008484015250505050565b6000601f19601f8301169050919050565b6000612da782612d45565b612db18185612d50565b9350612dc1818560208601612d61565b612dca81612d8b565b840191505092915050565b60006020820190508181036000830152612def8184612d9c565b905092915050565b6000819050919050565b612e0a81612df7565b8114612e1557600080fd5b50565b600081359050612e2781612e01565b92915050565b600060208284031215612e4357612e42612b9e565b5b6000612e5184828501612e18565b91505092915050565b612e6381612c83565b82525050565b6000602082019050612e7e6000830184612e5a565b92915050565b60008060408385031215612e9b57612e9a612b9e565b5b6000612ea985828601612cac565b9250506020612eba85828601612e18565b9150509250929050565b612ecd81612df7565b82525050565b6000602082019050612ee86000830184612ec4565b92915050565b612ef781612c2d565b8114612f0257600080fd5b50565b600081359050612f1481612eee565b92915050565b600060208284031215612f3057612f2f612b9e565b5b6000612f3e84828501612f05565b91505092915050565b6000819050919050565b612f5a81612f47565b8114612f6557600080fd5b50565b600081359050612f7781612f51565b92915050565b60008060408385031215612f9457612f93612b9e565b5b6000612fa285828601612e18565b9250506020612fb385828601612f68565b9150509250929050565b600080600060608486031215612fd657612fd5612b9e565b5b6000612fe486828701612cac565b9350506020612ff586828701612cac565b925050604061300686828701612e18565b9150509250925092565b6000806040838503121561302757613026612b9e565b5b600061303585828601612e18565b925050602061304685828601612e18565b9150509250929050565b60006040820190506130656000830185612e5a565b6130726020830184612ec4565b9392505050565b61308281612f47565b82525050565b600060208201905061309d6000830184613079565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130c8576130c76130a3565b5b8235905067ffffffffffffffff8111156130e5576130e46130a8565b5b602083019150836020820283011115613101576131006130ad565b5b9250929050565b60008060008060006080868803121561312457613123612b9e565b5b600061313288828901612cac565b955050602061314388828901612e18565b945050604061315488828901612e18565b935050606086013567ffffffffffffffff81111561317557613174612ba3565b5b613181888289016130b2565b92509250509295509295909350565b6000602082840312156131a6576131a5612b9e565b5b60006131b484828501612cac565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131fa82612d8b565b810181811067ffffffffffffffff82111715613219576132186131c2565b5b80604052505050565b600061322c612b94565b905061323882826131f1565b919050565b600067ffffffffffffffff821115613258576132576131c2565b5b61326182612d8b565b9050602081019050919050565b82818337600083830152505050565b600061329061328b8461323d565b613222565b9050828152602081018484840111156132ac576132ab6131bd565b5b6132b784828561326e565b509392505050565b600082601f8301126132d4576132d36130a3565b5b81356132e484826020860161327d565b91505092915050565b60006020828403121561330357613302612b9e565b5b600082013567ffffffffffffffff81111561332157613320612ba3565b5b61332d848285016132bf565b91505092915050565b6000806040838503121561334d5761334c612b9e565b5b600061335b85828601612cac565b925050602061336c85828601612f05565b9150509250929050565b6000819050919050565b600061339b61339661339184612c63565b613376565b612c63565b9050919050565b60006133ad82613380565b9050919050565b60006133bf826133a2565b9050919050565b6133cf816133b4565b82525050565b60006020820190506133ea60008301846133c6565b92915050565b600067ffffffffffffffff82111561340b5761340a6131c2565b5b61341482612d8b565b9050602081019050919050565b600061343461342f846133f0565b613222565b9050828152602081018484840111156134505761344f6131bd565b5b61345b84828561326e565b509392505050565b600082601f830112613478576134776130a3565b5b8135613488848260208601613421565b91505092915050565b600080600080608085870312156134ab576134aa612b9e565b5b60006134b987828801612cac565b94505060206134ca87828801612cac565b93505060406134db87828801612e18565b925050606085013567ffffffffffffffff8111156134fc576134fb612ba3565b5b61350887828801613463565b91505092959194509250565b6000806000806060858703121561352e5761352d612b9e565b5b600061353c87828801612e18565b945050602061354d87828801612e18565b935050604085013567ffffffffffffffff81111561356e5761356d612ba3565b5b61357a878288016130b2565b925092505092959194509250565b6000806040838503121561359f5761359e612b9e565b5b60006135ad85828601612cac565b92505060206135be85828601612cac565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135fe602083612d50565b9150613609826135c8565b602082019050919050565b6000602082019050818103600083015261362d816135f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061367b57607f821691505b60208210810361368e5761368d613634565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136f0602c83612d50565b91506136fb82613694565b604082019050919050565b6000602082019050818103600083015261371f816136e3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613782602183612d50565b915061378d82613726565b604082019050919050565b600060208201905081810360008301526137b181613775565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613814603883612d50565b915061381f826137b8565b604082019050919050565b6000602082019050818103600083015261384381613807565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006138a6603183612d50565b91506138b18261384a565b604082019050919050565b600060208201905081810360008301526138d581613899565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391682612df7565b915061392183612df7565b925082820261392f81612df7565b91508282048414831517613946576139456138dc565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061398782612df7565b915061399283612df7565b9250826139a2576139a161394d565b5b828204905092915050565b60008160601b9050919050565b60006139c5826139ad565b9050919050565b60006139d7826139ba565b9050919050565b6139ef6139ea82612c83565b6139cc565b82525050565b6000819050919050565b613a10613a0b82612df7565b6139f5565b82525050565b6000613a2282856139de565b601482019150613a3282846139ff565b6020820191508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613aa47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a67565b613aae8683613a67565b95508019841693508086168417925050509392505050565b6000613ae1613adc613ad784612df7565b613376565b612df7565b9050919050565b6000819050919050565b613afb83613ac6565b613b0f613b0782613ae8565b848454613a74565b825550505050565b600090565b613b24613b17565b613b2f818484613af2565b505050565b5b81811015613b5357613b48600082613b1c565b600181019050613b35565b5050565b601f821115613b9857613b6981613a42565b613b7284613a57565b81016020851015613b81578190505b613b95613b8d85613a57565b830182613b34565b50505b505050565b600082821c905092915050565b6000613bbb60001984600802613b9d565b1980831691505092915050565b6000613bd48383613baa565b9150826002028217905092915050565b613bed82612d45565b67ffffffffffffffff811115613c0657613c056131c2565b5b613c108254613663565b613c1b828285613b57565b600060209050601f831160018114613c4e5760008415613c3c578287015190505b613c468582613bc8565b865550613cae565b601f198416613c5c86613a42565b60005b82811015613c8457848901518255600182019150602085019450602081019050613c5f565b86831015613ca15784890151613c9d601f891682613baa565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613d12602983612d50565b9150613d1d82613cb6565b604082019050919050565b60006020820190508181036000830152613d4181613d05565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613da4602a83612d50565b9150613daf82613d48565b604082019050919050565b60006020820190508181036000830152613dd381613d97565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e36602f83612d50565b9150613e4182613dda565b604082019050919050565b60006020820190508181036000830152613e6581613e29565b9050919050565b7f54686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000613ea2601683612d50565b9150613ead82613e6c565b602082019050919050565b60006020820190508181036000830152613ed181613e95565b9050919050565b7f75736572206973206e6f7420616c6c6f776c6973746564000000000000000000600082015250565b6000613f0e601783612d50565b9150613f1982613ed8565b602082019050919050565b60006020820190508181036000830152613f3d81613f01565b9050919050565b6000613f4f82612df7565b9150613f5a83612df7565b9250828201905080821115613f7257613f716138dc565b5b92915050565b7f596f75206861766520616c726561647920726563656976656400000000000000600082015250565b6000613fae601983612d50565b9150613fb982613f78565b602082019050919050565b60006020820190508181036000830152613fdd81613fa1565b9050919050565b7f4d696e7473206e756d206578636565646564206c696d69740000000000000000600082015250565b600061401a601883612d50565b915061402582613fe4565b602082019050919050565b600060208201905081810360008301526140498161400d565b9050919050565b600061405b82612df7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361408d5761408c6138dc565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140f4602683612d50565b91506140ff82614098565b604082019050919050565b60006020820190508181036000830152614123816140e7565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614186602a83612d50565b91506141918261412a565b604082019050919050565b600060208201905081810360008301526141b581614179565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006141f2601983612d50565b91506141fd826141bc565b602082019050919050565b60006020820190508181036000830152614221816141e5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614284602c83612d50565b915061428f82614228565b604082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614316602583612d50565b9150614321826142ba565b604082019050919050565b6000602082019050818103600083015261434581614309565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143a8602483612d50565b91506143b38261434c565b604082019050919050565b600060208201905081810360008301526143d78161439b565b9050919050565b60006143e982612df7565b91506143f483612df7565b925082820390508181111561440c5761440b6138dc565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614448601983612d50565b915061445382614412565b602082019050919050565b600060208201905081810360008301526144778161443b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006144da603283612d50565b91506144e58261447e565b604082019050919050565b60006020820190508181036000830152614509816144cd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006145668261453f565b614570818561454a565b9350614580818560208601612d61565b61458981612d8b565b840191505092915050565b60006080820190506145a96000830187612e5a565b6145b66020830186612e5a565b6145c36040830185612ec4565b81810360608301526145d5818461455b565b905095945050505050565b6000815190506145ef81612bd4565b92915050565b60006020828403121561460b5761460a612b9e565b5b6000614619848285016145e0565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614658602083612d50565b915061466382614622565b602082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006146c4601c83612d50565b91506146cf8261468e565b602082019050919050565b600060208201905081810360008301526146f3816146b7565b905091905056fea26469706673582212205d9e7dd1185a4adbdca6dfc99431ea321e8e1a916a5f8a325dca88d58f0177f764736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636352211e11610130578063b88d4fde116100b8578063da3ef23f1161007c578063da3ef23f14610666578063e6d37b8814610682578063e985e9c51461069e578063ecba222a146106ce578063f2fde38b146106ec57610232565b8063b88d4fde146105c2578063b8d1e532146105de578063c6682862146105fa578063c87b56dd14610618578063d5abeb011461064857610232565b80637696e088116100ff5780637696e088146105305780638da5cb5b1461054c57806395d89b411461056a578063a22cb46514610588578063b0ccc31e146105a457610232565b80636352211e146104a85780636c0360eb146104d857806370a08231146104f6578063715018a61461052657610232565b806323b872dd116101be57806342842e0e1161018257806342842e0e1461041857806347705cbc1461043457806355f804b3146104645780635c975abb146104805780635ef9432a1461049e57610232565b806323b872dd146103615780632a55205a1461037d5780632eb4a7ab146103ae57806337da577c146103cc5780633ff3caab146103e857610232565b8063095ea7b311610205578063095ea7b3146102d157806313faede6146102ed57806316c38b3c1461030b57806318160ddd1461032757806318712c211461034557610232565b806301ffc9a71461023757806304634d8d1461026757806306fdde0314610283578063081812fc146102a1575b600080fd5b610251600480360381019061024c9190612c00565b610708565b60405161025e9190612c48565b60405180910390f35b610281600480360381019061027c9190612d05565b61071a565b005b61028b6107a4565b6040516102989190612dd5565b60405180910390f35b6102bb60048036038101906102b69190612e2d565b610836565b6040516102c89190612e69565b60405180910390f35b6102eb60048036038101906102e69190612e84565b6108bb565b005b6102f56109d2565b6040516103029190612ed3565b60405180910390f35b61032560048036038101906103209190612f1a565b6109d8565b005b61032f610a71565b60405161033c9190612ed3565b60405180910390f35b61035f600480360381019061035a9190612f7d565b610a77565b005b61037b60048036038101906103769190612fbd565b610afe565b005b61039760048036038101906103929190613010565b610b5e565b6040516103a5929190613050565b60405180910390f35b6103b6610d48565b6040516103c39190613088565b60405180910390f35b6103e660048036038101906103e19190613010565b610d4e565b005b61040260048036038101906103fd9190613108565b610dd5565b60405161040f9190612c48565b60405180910390f35b610432600480360381019061042d9190612fbd565b610e5d565b005b61044e60048036038101906104499190613190565b610e7d565b60405161045b9190612ed3565b60405180910390f35b61047e600480360381019061047991906132ed565b610ec6565b005b610488610f55565b6040516104959190612c48565b60405180910390f35b6104a6610f68565b005b6104c260048036038101906104bd9190612e2d565b6110a5565b6040516104cf9190612e69565b60405180910390f35b6104e0611156565b6040516104ed9190612dd5565b60405180910390f35b610510600480360381019061050b9190613190565b6111e4565b60405161051d9190612ed3565b60405180910390f35b61052e61129b565b005b61054a60048036038101906105459190613010565b611323565b005b6105546113aa565b6040516105619190612e69565b60405180910390f35b6105726113b9565b60405161057f9190612dd5565b60405180910390f35b6105a2600480360381019061059d9190613336565b61144b565b005b6105ac611461565b6040516105b991906133d5565b60405180910390f35b6105dc60048036038101906105d79190613491565b611485565b005b6105f860048036038101906105f39190613190565b6114e7565b005b610602611614565b60405161060f9190612dd5565b60405180910390f35b610632600480360381019061062d9190612e2d565b6116a2565b60405161063f9190612dd5565b60405180910390f35b610650611701565b60405161065d9190612ed3565b60405180910390f35b610680600480360381019061067b91906132ed565b611707565b005b61069c60048036038101906106979190613514565b611796565b005b6106b860048036038101906106b39190613588565b611a21565b6040516106c59190612c48565b60405180910390f35b6106d6611ab5565b6040516106e39190612c48565b60405180910390f35b61070660048036038101906107019190613190565b611ac8565b005b600061071382611be9565b9050919050565b610722611c63565b73ffffffffffffffffffffffffffffffffffffffff166107406113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078d90613614565b60405180910390fd5b6107a08282611c6b565b5050565b6060600180546107b390613663565b80601f01602080910402602001604051908101604052809291908181526020018280546107df90613663565b801561082c5780601f106108015761010080835404028352916020019161082c565b820191906000526020600020905b81548152906001019060200180831161080f57829003601f168201915b5050505050905090565b600061084182611e00565b610880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087790613706565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c6826110a5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613798565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610955611c63565b73ffffffffffffffffffffffffffffffffffffffff16148061098457506109838161097e611c63565b611a21565b5b6109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba9061382a565b60405180910390fd5b6109cd8383611e6c565b505050565b600e5481565b6109e0611c63565b73ffffffffffffffffffffffffffffffffffffffff166109fe6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4b90613614565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b600c5481565b610a7f611c63565b73ffffffffffffffffffffffffffffffffffffffff16610a9d6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90613614565b60405180910390fd5b80600f819055505050565b610b0f610b09611c63565b82611f25565b610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b45906138bc565b60405180910390fd5b610b59838383612003565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cf35760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610cfd612269565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d29919061390b565b610d33919061397c565b90508160000151819350935050509250929050565b600f5481565b610d56611c63565b73ffffffffffffffffffffffffffffffffffffffff16610d746113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190613614565b60405180910390fd5b80600d819055505050565b6000808685604051602001610deb929190613a16565b604051602081830303815290604052805190602001209050610e51848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483612273565b91505095945050505050565b610e7883838360405180602001604052806000815250611485565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ece611c63565b73ffffffffffffffffffffffffffffffffffffffff16610eec6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613614565b60405180910390fd5b8060119081610f519190613be4565b5050565b600b60009054906101000a900460ff1681565b610f706113aa565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561101b576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600060146101000a81548160ff0219169083151502179055507f51e2d870cc2e10853e38dc06fcdae46ad3c3f588f326608803dac6204541ad1660405160405180910390a1565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361114d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114490613d28565b60405180910390fd5b80915050919050565b6011805461116390613663565b80601f016020809104026020016040519081016040528092919081815260200182805461118f90613663565b80156111dc5780601f106111b1576101008083540402835291602001916111dc565b820191906000526020600020905b8154815290600101906020018083116111bf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124b90613dba565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a3611c63565b73ffffffffffffffffffffffffffffffffffffffff166112c16113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e90613614565b60405180910390fd5b611321600061228a565b565b61132b611c63565b73ffffffffffffffffffffffffffffffffffffffff166113496113aa565b73ffffffffffffffffffffffffffffffffffffffff161461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690613614565b60405180910390fd5b80600e819055505050565b60006113b4611bbf565b905090565b6060600280546113c890613663565b80601f01602080910402602001604051908101604052809291908181526020018280546113f490613663565b80156114415780601f1061141657610100808354040283529160200191611441565b820191906000526020600020905b81548152906001019060200180831161142457829003601f168201915b5050505050905090565b61145d611456611c63565b8383612350565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611496611490611c63565b83611f25565b6114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc906138bc565b60405180910390fd5b6114e1848484846124bc565b50505050565b6114ef6113aa565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611553576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060149054906101000a900460ff161561159a576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de476816040516116099190612e69565b60405180910390a150565b6012805461162190613663565b80601f016020809104026020016040519081016040528092919081815260200182805461164d90613663565b801561169a5780601f1061166f5761010080835404028352916020019161169a565b820191906000526020600020905b81548152906001019060200180831161167d57829003601f168201915b505050505081565b60606116ad82611e00565b6116ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e390613e4c565b60405180910390fd5b60006116f6612518565b905080915050919050565b600d5481565b61170f611c63565b73ffffffffffffffffffffffffffffffffffffffff1661172d6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90613614565b60405180910390fd5b80601290816117929190613be4565b5050565b600033846040516020016117ab929190613a16565b604051602081830303815290604052805190602001209050600b60009054906101000a900460ff1615611813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180a90613eb8565b60405180910390fd5b611861838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483612273565b6118a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189790613f24565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054866118ec9190613f44565b111561192d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192490613fc4565b60405180910390fd5b600d5485600c5461193e9190613f44565b111561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690614030565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ce9190613f44565b9250508190555060005b85811015611a19576001600c60008282546119f39190613f44565b92505081905550611a0633600c546125aa565b8080611a1190614050565b9150506119d8565b505050505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060149054906101000a900460ff1681565b611ad0611c63565b73ffffffffffffffffffffffffffffffffffffffff16611aee6113aa565b73ffffffffffffffffffffffffffffffffffffffff1614611b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3b90613614565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa9061410a565b60405180910390fd5b611bbc8161228a565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5c5750611c5b826125c8565b5b9050919050565b600033905090565b611c73612269565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc89061419c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790614208565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611edf836110a5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3082611e00565b611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f669061429a565b60405180910390fd5b6000611f7a836110a5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fbc5750611fbb8185611a21565b5b80611ffa57508373ffffffffffffffffffffffffffffffffffffffff16611fe284610836565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612023826110a5565b73ffffffffffffffffffffffffffffffffffffffff1614612079576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120709061432c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120df906143be565b60405180910390fd5b6120f38383836126aa565b6120fe600082611e6c565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e91906143de565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a59190613f44565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122648383836126af565b505050565b6000612710905090565b60008261228085846126b4565b1490509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b59061445e565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516124af9190612c48565b60405180910390a3505050565b6124c7848484612003565b6124d38484848461270a565b612512576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612509906144f0565b60405180910390fd5b50505050565b60606011805461252790613663565b80601f016020809104026020016040519081016040528092919081815260200182805461255390613663565b80156125a05780601f10612575576101008083540402835291602001916125a0565b820191906000526020600020905b81548152906001019060200180831161258357829003601f168201915b5050505050905090565b6125c4828260405180602001604052806000815250612891565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126a357506126a2826128ec565b5b9050919050565b505050565b505050565b60008082905060005b84518110156126ff576126ea828683815181106126dd576126dc614510565b5b6020026020010151612956565b915080806126f790614050565b9150506126bd565b508091505092915050565b600061272b8473ffffffffffffffffffffffffffffffffffffffff16612981565b15612884578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612754611c63565b8786866040518563ffffffff1660e01b81526004016127769493929190614594565b6020604051808303816000875af19250505080156127b257506040513d601f19601f820116820180604052508101906127af91906145f5565b60015b612834573d80600081146127e2576040519150601f19603f3d011682016040523d82523d6000602084013e6127e7565b606091505b50600081510361282c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612823906144f0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612889565b600190505b949350505050565b61289b83836129a4565b6128a8600084848461270a565b6128e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128de906144f0565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081831061296e576129698284612b7d565b612979565b6129788383612b7d565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0a9061466e565b60405180910390fd5b612a1c81611e00565b15612a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a53906146da565b60405180910390fd5b612a68600083836126aa565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ab89190613f44565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b79600083836126af565b5050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bdd81612ba8565b8114612be857600080fd5b50565b600081359050612bfa81612bd4565b92915050565b600060208284031215612c1657612c15612b9e565b5b6000612c2484828501612beb565b91505092915050565b60008115159050919050565b612c4281612c2d565b82525050565b6000602082019050612c5d6000830184612c39565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c8e82612c63565b9050919050565b612c9e81612c83565b8114612ca957600080fd5b50565b600081359050612cbb81612c95565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612ce281612cc1565b8114612ced57600080fd5b50565b600081359050612cff81612cd9565b92915050565b60008060408385031215612d1c57612d1b612b9e565b5b6000612d2a85828601612cac565b9250506020612d3b85828601612cf0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d7f578082015181840152602081019050612d64565b60008484015250505050565b6000601f19601f8301169050919050565b6000612da782612d45565b612db18185612d50565b9350612dc1818560208601612d61565b612dca81612d8b565b840191505092915050565b60006020820190508181036000830152612def8184612d9c565b905092915050565b6000819050919050565b612e0a81612df7565b8114612e1557600080fd5b50565b600081359050612e2781612e01565b92915050565b600060208284031215612e4357612e42612b9e565b5b6000612e5184828501612e18565b91505092915050565b612e6381612c83565b82525050565b6000602082019050612e7e6000830184612e5a565b92915050565b60008060408385031215612e9b57612e9a612b9e565b5b6000612ea985828601612cac565b9250506020612eba85828601612e18565b9150509250929050565b612ecd81612df7565b82525050565b6000602082019050612ee86000830184612ec4565b92915050565b612ef781612c2d565b8114612f0257600080fd5b50565b600081359050612f1481612eee565b92915050565b600060208284031215612f3057612f2f612b9e565b5b6000612f3e84828501612f05565b91505092915050565b6000819050919050565b612f5a81612f47565b8114612f6557600080fd5b50565b600081359050612f7781612f51565b92915050565b60008060408385031215612f9457612f93612b9e565b5b6000612fa285828601612e18565b9250506020612fb385828601612f68565b9150509250929050565b600080600060608486031215612fd657612fd5612b9e565b5b6000612fe486828701612cac565b9350506020612ff586828701612cac565b925050604061300686828701612e18565b9150509250925092565b6000806040838503121561302757613026612b9e565b5b600061303585828601612e18565b925050602061304685828601612e18565b9150509250929050565b60006040820190506130656000830185612e5a565b6130726020830184612ec4565b9392505050565b61308281612f47565b82525050565b600060208201905061309d6000830184613079565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130c8576130c76130a3565b5b8235905067ffffffffffffffff8111156130e5576130e46130a8565b5b602083019150836020820283011115613101576131006130ad565b5b9250929050565b60008060008060006080868803121561312457613123612b9e565b5b600061313288828901612cac565b955050602061314388828901612e18565b945050604061315488828901612e18565b935050606086013567ffffffffffffffff81111561317557613174612ba3565b5b613181888289016130b2565b92509250509295509295909350565b6000602082840312156131a6576131a5612b9e565b5b60006131b484828501612cac565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131fa82612d8b565b810181811067ffffffffffffffff82111715613219576132186131c2565b5b80604052505050565b600061322c612b94565b905061323882826131f1565b919050565b600067ffffffffffffffff821115613258576132576131c2565b5b61326182612d8b565b9050602081019050919050565b82818337600083830152505050565b600061329061328b8461323d565b613222565b9050828152602081018484840111156132ac576132ab6131bd565b5b6132b784828561326e565b509392505050565b600082601f8301126132d4576132d36130a3565b5b81356132e484826020860161327d565b91505092915050565b60006020828403121561330357613302612b9e565b5b600082013567ffffffffffffffff81111561332157613320612ba3565b5b61332d848285016132bf565b91505092915050565b6000806040838503121561334d5761334c612b9e565b5b600061335b85828601612cac565b925050602061336c85828601612f05565b9150509250929050565b6000819050919050565b600061339b61339661339184612c63565b613376565b612c63565b9050919050565b60006133ad82613380565b9050919050565b60006133bf826133a2565b9050919050565b6133cf816133b4565b82525050565b60006020820190506133ea60008301846133c6565b92915050565b600067ffffffffffffffff82111561340b5761340a6131c2565b5b61341482612d8b565b9050602081019050919050565b600061343461342f846133f0565b613222565b9050828152602081018484840111156134505761344f6131bd565b5b61345b84828561326e565b509392505050565b600082601f830112613478576134776130a3565b5b8135613488848260208601613421565b91505092915050565b600080600080608085870312156134ab576134aa612b9e565b5b60006134b987828801612cac565b94505060206134ca87828801612cac565b93505060406134db87828801612e18565b925050606085013567ffffffffffffffff8111156134fc576134fb612ba3565b5b61350887828801613463565b91505092959194509250565b6000806000806060858703121561352e5761352d612b9e565b5b600061353c87828801612e18565b945050602061354d87828801612e18565b935050604085013567ffffffffffffffff81111561356e5761356d612ba3565b5b61357a878288016130b2565b925092505092959194509250565b6000806040838503121561359f5761359e612b9e565b5b60006135ad85828601612cac565b92505060206135be85828601612cac565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135fe602083612d50565b9150613609826135c8565b602082019050919050565b6000602082019050818103600083015261362d816135f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061367b57607f821691505b60208210810361368e5761368d613634565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006136f0602c83612d50565b91506136fb82613694565b604082019050919050565b6000602082019050818103600083015261371f816136e3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613782602183612d50565b915061378d82613726565b604082019050919050565b600060208201905081810360008301526137b181613775565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613814603883612d50565b915061381f826137b8565b604082019050919050565b6000602082019050818103600083015261384381613807565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006138a6603183612d50565b91506138b18261384a565b604082019050919050565b600060208201905081810360008301526138d581613899565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061391682612df7565b915061392183612df7565b925082820261392f81612df7565b91508282048414831517613946576139456138dc565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061398782612df7565b915061399283612df7565b9250826139a2576139a161394d565b5b828204905092915050565b60008160601b9050919050565b60006139c5826139ad565b9050919050565b60006139d7826139ba565b9050919050565b6139ef6139ea82612c83565b6139cc565b82525050565b6000819050919050565b613a10613a0b82612df7565b6139f5565b82525050565b6000613a2282856139de565b601482019150613a3282846139ff565b6020820191508190509392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613aa47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a67565b613aae8683613a67565b95508019841693508086168417925050509392505050565b6000613ae1613adc613ad784612df7565b613376565b612df7565b9050919050565b6000819050919050565b613afb83613ac6565b613b0f613b0782613ae8565b848454613a74565b825550505050565b600090565b613b24613b17565b613b2f818484613af2565b505050565b5b81811015613b5357613b48600082613b1c565b600181019050613b35565b5050565b601f821115613b9857613b6981613a42565b613b7284613a57565b81016020851015613b81578190505b613b95613b8d85613a57565b830182613b34565b50505b505050565b600082821c905092915050565b6000613bbb60001984600802613b9d565b1980831691505092915050565b6000613bd48383613baa565b9150826002028217905092915050565b613bed82612d45565b67ffffffffffffffff811115613c0657613c056131c2565b5b613c108254613663565b613c1b828285613b57565b600060209050601f831160018114613c4e5760008415613c3c578287015190505b613c468582613bc8565b865550613cae565b601f198416613c5c86613a42565b60005b82811015613c8457848901518255600182019150602085019450602081019050613c5f565b86831015613ca15784890151613c9d601f891682613baa565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613d12602983612d50565b9150613d1d82613cb6565b604082019050919050565b60006020820190508181036000830152613d4181613d05565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613da4602a83612d50565b9150613daf82613d48565b604082019050919050565b60006020820190508181036000830152613dd381613d97565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e36602f83612d50565b9150613e4182613dda565b604082019050919050565b60006020820190508181036000830152613e6581613e29565b9050919050565b7f54686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000613ea2601683612d50565b9150613ead82613e6c565b602082019050919050565b60006020820190508181036000830152613ed181613e95565b9050919050565b7f75736572206973206e6f7420616c6c6f776c6973746564000000000000000000600082015250565b6000613f0e601783612d50565b9150613f1982613ed8565b602082019050919050565b60006020820190508181036000830152613f3d81613f01565b9050919050565b6000613f4f82612df7565b9150613f5a83612df7565b9250828201905080821115613f7257613f716138dc565b5b92915050565b7f596f75206861766520616c726561647920726563656976656400000000000000600082015250565b6000613fae601983612d50565b9150613fb982613f78565b602082019050919050565b60006020820190508181036000830152613fdd81613fa1565b9050919050565b7f4d696e7473206e756d206578636565646564206c696d69740000000000000000600082015250565b600061401a601883612d50565b915061402582613fe4565b602082019050919050565b600060208201905081810360008301526140498161400d565b9050919050565b600061405b82612df7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361408d5761408c6138dc565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140f4602683612d50565b91506140ff82614098565b604082019050919050565b60006020820190508181036000830152614123816140e7565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614186602a83612d50565b91506141918261412a565b604082019050919050565b600060208201905081810360008301526141b581614179565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006141f2601983612d50565b91506141fd826141bc565b602082019050919050565b60006020820190508181036000830152614221816141e5565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614284602c83612d50565b915061428f82614228565b604082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614316602583612d50565b9150614321826142ba565b604082019050919050565b6000602082019050818103600083015261434581614309565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006143a8602483612d50565b91506143b38261434c565b604082019050919050565b600060208201905081810360008301526143d78161439b565b9050919050565b60006143e982612df7565b91506143f483612df7565b925082820390508181111561440c5761440b6138dc565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614448601983612d50565b915061445382614412565b602082019050919050565b600060208201905081810360008301526144778161443b565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006144da603283612d50565b91506144e58261447e565b604082019050919050565b60006020820190508181036000830152614509816144cd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006145668261453f565b614570818561454a565b9350614580818560208601612d61565b61458981612d8b565b840191505092915050565b60006080820190506145a96000830187612e5a565b6145b66020830186612e5a565b6145c36040830185612ec4565b81810360608301526145d5818461455b565b905095945050505050565b6000815190506145ef81612bd4565b92915050565b60006020828403121561460b5761460a612b9e565b5b6000614619848285016145e0565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614658602083612d50565b915061466382614622565b602082019050919050565b600060208201905081810360008301526146878161464b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006146c4601c83612d50565b91506146cf8261468e565b602082019050919050565b600060208201905081810360008301526146f3816146b7565b905091905056fea26469706673582212205d9e7dd1185a4adbdca6dfc99431ea321e8e1a916a5f8a325dca88d58f0177f764736f6c63430008110033

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.