ETH Price: $2,924.30 (+0.20%)
Gas: 3 Gwei

Contract

0x21544d6b57FDf290d2f0e7e96Ef13A38984Af56a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Batch Mint196235162024-04-10 6:42:5931 days ago1712731379IN
0x21544d6b...8984Af56a
0 ETH0.0023104915.18124139
Batch Mint196188352024-04-09 14:59:3532 days ago1712674775IN
0x21544d6b...8984Af56a
0 ETH0.0078792750.85637362
Enable Allowlist196188252024-04-09 14:57:3532 days ago1712674655IN
0x21544d6b...8984Af56a
0 ETH0.0015840848.84765664
Batch Mint196185802024-04-09 14:08:1132 days ago1712671691IN
0x21544d6b...8984Af56a
0 ETH0.005147843.00121295
Batch Mint196185192024-04-09 13:55:5932 days ago1712670959IN
0x21544d6b...8984Af56a
0 ETH0.0071785341.97656191
Enable Allowlist...196166642024-04-09 7:41:2332 days ago1712648483IN
0x21544d6b...8984Af56a
0 ETH0.0027599423.93394207
Set Base Token U...196166462024-04-09 7:37:4732 days ago1712648267IN
0x21544d6b...8984Af56a
0 ETH0.0008121120.01132354
Approve195316532024-03-28 9:14:5944 days ago1711617299IN
0x21544d6b...8984Af56a
0 ETH0.0012532725.39814418
Team Mint195316432024-03-28 9:12:5944 days ago1711617179IN
0x21544d6b...8984Af56a
0 ETH0.0022499623.87050968
Team Mint195316372024-03-28 9:11:4744 days ago1711617107IN
0x21544d6b...8984Af56a
0 ETH0.0014587125.05992247
0x60806040195315782024-03-28 8:59:5944 days ago1711616399IN
 Create: NFT
0 ETH0.1057272321.03318039

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFT

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
No with 1000 runs

Other Settings:
paris EvmVersion
File 1 of 19 : NFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@rari-capital/solmate/src/utils/SafeTransferLib.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

interface IERC20 {
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    function transfer(address recipient, uint256 amount) external returns (bool);
}

contract NFT is ERC2981, ERC721, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    string private baseTokenURI;

    bool public allowlistEnabled;
    mapping(address => uint256) public allowlistMintedCount;

    bool public publicSaleEnabled; //public sale phase is also via allow list, bit confusing naming here
    mapping(address => uint256) public publicSaleMintedCount;

    bytes32 public mTreeRoot;

    uint256 public saleLimit;

    uint256 public tokenPrice;

    uint256 public constant MAX_SUPPLY = 3300;

    uint256 public constant ALLOWLIST_PER_ACCOUNT_LIMIT = 2;

    uint256 public constant PUBLIC_SALE_PER_ACCOUNT_LIMIT = 6;

    uint96 public constant ROYALTY_PERCENT = 5;

    Counters.Counter private tokenId;

    address payable public royaltiesReceiver;

    address payable public mintBeneficiary10Percent;

    IERC20 public mintToken;

    /**
        A constructor of the token which is used to instantiate the contract
        with initial parameters. 
        This constructor extends ERC721 constructor where mandatory parameters are set - _name and _symbol.
        Apart from that, _setRoyaltiesReceiver function sets _royaltiesReceiver as a royalty receiver.
        When the receiver is set we initialize tokenPrice and baseTokenURI with values provided via corresponding arguments.
        Also, saleLimit is initialized with predefined value (which can be updated via a setter method)
        where saleLimit is a limit for the initial pre-sale and allowlistEnabled works as a flag that indicates
        whether all addresses are allowed to mint (if set to false) or only allowed ones (if set to true).

        @param _name a name of the token, can't be updated
        @param _symbol a symbol of the token, can't be updated
        @param _baseTokenURI a base URI for a token metadata. Can be updated via setBaseTokenURI function.
        @param _tokenPrice initial price of the token in mintToken smallest unit. Can be updated via setTokenPrice function.
        @param _royaltiesReceiver a address that receives royalties and 90% of mint benefits. Can be updated via setRoyaltiesReceiver function.
        @param _mintBeneficiary10Percent a address that receives and 10% of mint benefits. Can be updated via setMintBeneficiary10Percent function.
        @param _mintToken address of ERC-20 token that needs to be used to pay for minting.
     */
    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseTokenURI,
        uint256 _tokenPrice,
        address payable _royaltiesReceiver,
        address payable _mintBeneficiary10Percent,
        address _mintToken
    ) ERC721(_name, _symbol) {
        _setMintBeneficiary10Percent(_mintBeneficiary10Percent);
        _setRoyaltiesReceiver(_royaltiesReceiver);
        _setDefaultRoyalty(_royaltiesReceiver, ROYALTY_PERCENT * 100); // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/common/ERC2981.sol#L9-L23
        saleLimit = 0;
        tokenPrice = _tokenPrice;
        baseTokenURI = _baseTokenURI;
        mintToken = IERC20(_mintToken);
    }

    /**
        This function is used to mint tokens. It accepts only one parameter which is a Merkle Tree proof.
        This proof is used to validate whether a given address (msg.sender) is allowed to mint or not.
        When allowlistEnable is true, the value of the _proof parameter is validated against the root of the tree.
        Merkle Tree is a cryptographic structure where the root is considered to be a commitment while leaf nodes (addresses)
        can be validated to see if they belong to the original commitment. 
        To build a Merkle Tree and use it as an allow list, all allowed addresses are collected first and put to the tree.
        After that a tree root is generated and stored in the contract and when it comes to minting, a previously included address
        must have its own proof of commitment so it can be sent as an argument to this function.
        All above is suitable only when allowlistEnabled is true. When it is equal to false, validation step is omitted.

        The next step is transferring a deposit (previously approved ERC-20 mintToken) 90% to the royalties address and 10% to the mintBeneficiary10Percent address.
        It is done before minting to make sure that the transfer is possible.
        The next step after that is minting itself via _safeMint function and before this function is called, 
        tokenId (which is an identifier of the currently minted token) is incremented to the next value to provided it as an argument to the _safeMint function.

        @param _proof is a Merkle Tree proof value for a given address - msg.sender.

        This function uses _safeMint to prevent minting NFTs using smart contracts that don't implement erc 721 receiver functionality.
     */
    function mintTo(bytes32[] memory _proof) external {
        _mintTo(_proof);
    }

    function _mintTo(bytes32[] memory _proof) internal {
        _checkIfMintedAll();
        require(publicSaleEnabled, "Cannot mint, public sale is disabled");
        require(tokenId.current() < saleLimit, "Cannot proceed. Reached the current sale limit");

        uint tokenPrice10Percent = (tokenPrice * 10) / 100;
        require(mintToken.transferFrom(msg.sender, mintBeneficiary10Percent, tokenPrice10Percent), "transfer failed");
        require(mintToken.transferFrom(msg.sender, royaltiesReceiver, tokenPrice - tokenPrice10Percent), "transfer failed");

        if (allowlistEnabled) {
            bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
            require(MerkleProof.verify(_proof, mTreeRoot, leaf), "Not allowed");
            require(allowlistMintedCount[msg.sender] < ALLOWLIST_PER_ACCOUNT_LIMIT, "Already minted allowlist limit"); // less than as its 0 based
            allowlistMintedCount[msg.sender] += 1;
        } else {
            require(publicSaleMintedCount[msg.sender] < PUBLIC_SALE_PER_ACCOUNT_LIMIT, "Already minted public sale limit"); // less than as its 0 based
            publicSaleMintedCount[msg.sender] += 1;
        }

        tokenId.increment();
        _safeMint(msg.sender, tokenId.current());
    }

    function batchMint(uint256 amount, bytes32[] memory _proof) external {
        for (uint256 i = 1; i <= amount; i++) {
            _mintTo(_proof);
        }
    }

    function latestMintedTokenId() external view returns (uint256) {
        return tokenId.current();
    }

    /**
        Mints tokens for the team. Once they are minted, they are owned by the owner and 
        later can be transferred to any other address.
        @param amount the number of tokens to be minted for the team.

        This function uses _mint which allows minting NFTs using smart contracts.
     */
    function teamMint(uint256 amount) external onlyOwner {
        _checkIfMintedAll();
        require(amount + tokenId.current() <= MAX_SUPPLY, "Cannot mint more than max supply");
        for (uint256 i = 1; i <= amount; i++) {
            tokenId.increment();
            _mint(msg.sender, tokenId.current());
        }
    }

    function _checkIfMintedAll() internal view {
        require(tokenId.current() < MAX_SUPPLY, "Cannot proceed. Already minted all tokens");
    }

    function disablePublicSale() external onlyOwner {
        publicSaleEnabled = false;
    }

    function enablePublicSale() external onlyOwner {
        _enablePublicSale();
    }
    function _enablePublicSale() internal {
        publicSaleEnabled = true;
    }

    /**
        @param id an identifier of the token
        @return string which is an absolute URL that points to the metadata for a given token id
     */
    function tokenURI(uint256 id)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(id), "URI query for non-existing token");
        return string(abi.encodePacked(baseTokenURI, id.toString()));
    }

    /**
        Sets a payable address as a royalty receiver. Can be updated anytime by the owner.
        @param _royaltiesReceiver a payable address which will be receiving royalties when the mintTo function is called
     */
    function setRoyaltiesReceiver(address payable _royaltiesReceiver) external onlyOwner {
        _setRoyaltiesReceiver(_royaltiesReceiver);
        emit UpdatedRoyaltiesReceiver(_royaltiesReceiver);
    }

    function _setRoyaltiesReceiver(address payable _royaltiesReceiver) internal {
        require(_royaltiesReceiver != address(0), "A receiver cannot be zero address");
        royaltiesReceiver = _royaltiesReceiver;
    }

    function setMintBeneficiary10Percent(address payable _mintBeneficiary10Percent) external onlyOwner {
        _setMintBeneficiary10Percent(_mintBeneficiary10Percent);
        emit UpdatedMintBeneficiary(_mintBeneficiary10Percent);
    }

    function _setMintBeneficiary10Percent(address payable _mintBeneficiary10Percent) internal {
        require(_mintBeneficiary10Percent != address(0), "A beneficiary cannot be zero address");
        mintBeneficiary10Percent = _mintBeneficiary10Percent;
    }

    /**
        Sets a price per token. Can be updated anytime by the owner.
        @param _tokenPrice a price per token in given mintToken smallest unit
     */
    function setTokenPrice(uint256 _tokenPrice) external onlyOwner {
        tokenPrice = _tokenPrice;
        emit UpdatedTokenPrice(_tokenPrice);
    }

    /**
        Sets a base token URI for token metadata. Can be updated anytime by the owner.
        @param _baseTokenURI a base token URI
     */
    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        require(bytes(_baseTokenURI).length > 0, "baseTokenURI cannot be empty");
        baseTokenURI = _baseTokenURI;
        emit SetBaseTokenURI(_baseTokenURI);
    }

    /**
        Sets a Merkle Tree root that will be used to validate msg.sender if they are allow to mint when allowlistEnabled is true
        @param _mTreeRoot a root of the Merkle Tree
     */
    function enableAllowlist(bytes32 _mTreeRoot) external onlyOwner {
        _enableAllowlist(_mTreeRoot);
    }

    function _enableAllowlist(bytes32 _mTreeRoot) internal {
        require(_mTreeRoot != 0, "Merkle tree root is invalid");
        allowlistEnabled = true;
        mTreeRoot = _mTreeRoot;
        emit AllowlistEnabled();
    }

    /**
        Sets a Merkle Tree root to an empty value and sets allowlistEnabled to false to allow all addresses to mint tokens
     */
    function disableAllowlist() external onlyOwner {
        _disableAllowlist();
    }

    function _disableAllowlist() internal {
        allowlistEnabled = false;
        mTreeRoot = "";
        emit AllowlistDisabled();
    }

    /**
        Sale limit counter is used to keep track of how many tokens have been minted from the allowed limit. 
        This functions allows to set a supply limit of tokens until which can be minted to prevent minting until MAX_SUPPLY is reached when it's not intended.
        @param _saleLimit total supply until which can be minted during a crowdsale phase
     */
    function setSaleLimit(uint256 _saleLimit) external onlyOwner {
        _setSaleLimit(_saleLimit);
    }

    function _setSaleLimit(uint256 _saleLimit) internal {
        require(_saleLimit <= MAX_SUPPLY, "Sale limit exceeds max supply");
        saleLimit = _saleLimit;
        emit SetSaleLimit(_saleLimit);
    }

    // enable allowlist sale phase with for given root hash and sale limit
    function enableAllowlistSalePhase(bytes32 _mTreeRoot, uint256 _saleLimit) external onlyOwner {
        _enableAllowlist(_mTreeRoot);
        _setSaleLimit(_saleLimit);
        _enablePublicSale();
    }

    // enable public sale phase without need for allowlist and sale limit
    function enablePublicSalePhase(uint256 _saleLimit) external onlyOwner {
        _disableAllowlist();
        _setSaleLimit(_saleLimit);
        _enablePublicSale();
    }

    /// <--- Royalty metadata function that is needed for opensea to set creator fees --->
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function setTokenRoyalty(uint256 _tokenId, address _receiver, uint96 _feeNumerator) external onlyOwner {
        _setTokenRoyalty(_tokenId, _receiver, _feeNumerator);
    }
    /// <-------------------------------------------------------------------------------->

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

    event AllowlistEnabled();

    event AllowlistDisabled();

    event SetSaleLimit(uint indexed saleLimit);

    event SetBaseTokenURI(string indexed baseURI);

    event UpdatedTokenPrice(uint indexed tokenPrice);

    event UpdatedRoyaltiesReceiver(address indexed royaltiesReceiver);

    event UpdatedMintBeneficiary(address indexed mintBeneficiary);

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 4 of 19 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 5 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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) {
        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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @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, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 6 of 19 : 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 7 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 19 : 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 9 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 12 of 19 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.2) (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 rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 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 from 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) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                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 rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 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 from 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) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

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

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

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

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 18 of 19 : ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                            METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*//////////////////////////////////////////////////////////////
                              ERC20 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

    mapping(address => mapping(address => uint256)) public allowance;

    /*//////////////////////////////////////////////////////////////
                            EIP-2612 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;

        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
    }

    /*//////////////////////////////////////////////////////////////
                               ERC20 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount) public virtual returns (bool) {
        balanceOf[msg.sender] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(msg.sender, to, amount);

        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    /*//////////////////////////////////////////////////////////////
                             EIP-2612 LOGIC
    //////////////////////////////////////////////////////////////*/

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");

        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            address recoveredAddress = ecrecover(
                keccak256(
                    abi.encodePacked(
                        "\x19\x01",
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                keccak256(
                                    "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
                                ),
                                owner,
                                spender,
                                value,
                                nonces[owner]++,
                                deadline
                            )
                        )
                    )
                ),
                v,
                r,
                s
            );

            require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

    function computeDomainSeparator() internal view virtual returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                    keccak256(bytes(name)),
                    keccak256("1"),
                    block.chainid,
                    address(this)
                )
            );
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 amount) internal virtual {
        totalSupply += amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        balanceOf[from] -= amount;

        // Cannot underflow because a user's balance
        // will never be larger than the total supply.
        unchecked {
            totalSupply -= amount;
        }

        emit Transfer(from, address(0), amount);
    }
}

File 19 of 19 : SafeTransferLib.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

import {ERC20} from "../tokens/ERC20.sol";

/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.
library SafeTransferLib {
    /*//////////////////////////////////////////////////////////////
                             ETH OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferETH(address to, uint256 amount) internal {
        bool success;

        assembly {
            // Transfer the ETH and store if it succeeded or not.
            success := call(gas(), to, amount, 0, 0, 0, 0)
        }

        require(success, "ETH_TRANSFER_FAILED");
    }

    /*//////////////////////////////////////////////////////////////
                            ERC20 OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransferFrom(
        ERC20 token,
        address from,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), from) // Append the "from" argument.
            mstore(add(freeMemoryPointer, 36), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)
            )
        }

        require(success, "TRANSFER_FROM_FAILED");
    }

    function safeTransfer(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "TRANSFER_FAILED");
    }

    function safeApprove(
        ERC20 token,
        address to,
        uint256 amount
    ) internal {
        bool success;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata into memory, beginning with the function selector.
            mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)
            mstore(add(freeMemoryPointer, 4), to) // Append the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument.

            success := and(
                // Set success to whether the call reverted, if not we check it either
                // returned exactly 1 (can't just be non-zero data), or had no return data.
                or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
                // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
                // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
                // Counterintuitively, this call must be positioned second to the or() call in the
                // surrounding and() call or else returndatasize() will be zero during the computation.
                call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
            )
        }

        require(success, "APPROVE_FAILED");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"address payable","name":"_royaltiesReceiver","type":"address"},{"internalType":"address payable","name":"_mintBeneficiary10Percent","type":"address"},{"internalType":"address","name":"_mintToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"AllowlistDisabled","type":"event"},{"anonymous":false,"inputs":[],"name":"AllowlistEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"baseURI","type":"string"}],"name":"SetBaseTokenURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"saleLimit","type":"uint256"}],"name":"SetSaleLimit","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mintBeneficiary","type":"address"}],"name":"UpdatedMintBeneficiary","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"royaltiesReceiver","type":"address"}],"name":"UpdatedRoyaltiesReceiver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenPrice","type":"uint256"}],"name":"UpdatedTokenPrice","type":"event"},{"inputs":[],"name":"ALLOWLIST_PER_ACCOUNT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PER_ACCOUNT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_PERCENT","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_mTreeRoot","type":"bytes32"}],"name":"enableAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_mTreeRoot","type":"bytes32"},{"internalType":"uint256","name":"_saleLimit","type":"uint256"}],"name":"enableAllowlistSalePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleLimit","type":"uint256"}],"name":"enablePublicSalePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestMintedTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mTreeRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintBeneficiary10Percent","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltiesReceiver","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"saleLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","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":"address payable","name":"_mintBeneficiary10Percent","type":"address"}],"name":"setMintBeneficiary10Percent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_royaltiesReceiver","type":"address"}],"name":"setRoyaltiesReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleLimit","type":"uint256"}],"name":"setSaleLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

60806040523480156200001157600080fd5b50604051620063693803806200636983398181016040528101906200003791906200078f565b868681600290816200004a919062000ae0565b5080600390816200005c919062000ae0565b5050506200007f620000736200013160201b60201c565b6200013960201b60201c565b6200009082620001ff60201b60201c565b620000a183620002b560201b60201c565b620000c28360646005620000b6919062000c0e565b6200036b60201b60201c565b6000600f81905550836010819055508460099081620000e2919062000ae0565b5080601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505062000e9f565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002689062000cdb565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000327576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031e9062000d73565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6200037b6200050d60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620003dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d39062000e0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200044e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004459062000e7d565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005808262000535565b810181811067ffffffffffffffff82111715620005a257620005a162000546565b5b80604052505050565b6000620005b762000517565b9050620005c5828262000575565b919050565b600067ffffffffffffffff821115620005e857620005e762000546565b5b620005f38262000535565b9050602081019050919050565b60005b838110156200062057808201518184015260208101905062000603565b60008484015250505050565b6000620006436200063d84620005ca565b620005ab565b90508281526020810184848401111562000662576200066162000530565b5b6200066f84828562000600565b509392505050565b600082601f8301126200068f576200068e6200052b565b5b8151620006a18482602086016200062c565b91505092915050565b6000819050919050565b620006bf81620006aa565b8114620006cb57600080fd5b50565b600081519050620006df81620006b4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200071282620006e5565b9050919050565b620007248162000705565b81146200073057600080fd5b50565b600081519050620007448162000719565b92915050565b60006200075782620006e5565b9050919050565b62000769816200074a565b81146200077557600080fd5b50565b60008151905062000789816200075e565b92915050565b600080600080600080600060e0888a031215620007b157620007b062000521565b5b600088015167ffffffffffffffff811115620007d257620007d162000526565b5b620007e08a828b0162000677565b975050602088015167ffffffffffffffff81111562000804576200080362000526565b5b620008128a828b0162000677565b965050604088015167ffffffffffffffff81111562000836576200083562000526565b5b620008448a828b0162000677565b9550506060620008578a828b01620006ce565b94505060806200086a8a828b0162000733565b93505060a06200087d8a828b0162000733565b92505060c0620008908a828b0162000778565b91505092959891949750929550565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008f257607f821691505b602082108103620009085762000907620008aa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009727fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000933565b6200097e868362000933565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620009c1620009bb620009b584620006aa565b62000996565b620006aa565b9050919050565b6000819050919050565b620009dd83620009a0565b620009f5620009ec82620009c8565b84845462000940565b825550505050565b600090565b62000a0c620009fd565b62000a19818484620009d2565b505050565b5b8181101562000a415762000a3560008262000a02565b60018101905062000a1f565b5050565b601f82111562000a905762000a5a816200090e565b62000a658462000923565b8101602085101562000a75578190505b62000a8d62000a848562000923565b83018262000a1e565b50505b505050565b600082821c905092915050565b600062000ab56000198460080262000a95565b1980831691505092915050565b600062000ad0838362000aa2565b9150826002028217905092915050565b62000aeb826200089f565b67ffffffffffffffff81111562000b075762000b0662000546565b5b62000b138254620008d9565b62000b2082828562000a45565b600060209050601f83116001811462000b58576000841562000b43578287015190505b62000b4f858262000ac2565b86555062000bbf565b601f19841662000b68866200090e565b60005b8281101562000b925784890151825560018201915060208501945060208101905062000b6b565b8683101562000bb2578489015162000bae601f89168262000aa2565b8355505b6001600288020188555050505b505050505050565b60006bffffffffffffffffffffffff82169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000c1b8262000bc7565b915062000c288362000bc7565b925082820262000c388162000bc7565b915080821462000c4d5762000c4c62000bdf565b5b5092915050565b600082825260208201905092915050565b7f412062656e65666963696172792063616e6e6f74206265207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062000cc360248362000c54565b915062000cd08262000c65565b604082019050919050565b6000602082019050818103600083015262000cf68162000cb4565b9050919050565b7f412072656365697665722063616e6e6f74206265207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600062000d5b60218362000c54565b915062000d688262000cfd565b604082019050919050565b6000602082019050818103600083015262000d8e8162000d4c565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000df3602a8362000c54565b915062000e008262000d95565b604082019050919050565b6000602082019050818103600083015262000e268162000de4565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000e6560198362000c54565b915062000e728262000e2d565b602082019050919050565b6000602082019050818103600083015262000e988162000e56565b9050919050565b6154ba8062000eaf6000396000f3fe608060405234801561001057600080fd5b506004361061031f5760003560e01c8063715018a6116101a7578063a3a51bd5116100ee578063cf8e629a11610097578063e985e9c511610071578063e985e9c51461089b578063ec8db817146108cb578063f2fde38b146108d55761031f565b8063cf8e629a14610859578063d87d6bd514610863578063e09561681461087f5761031f565b8063bd4aeed9116100c8578063bd4aeed9146107ef578063c87b56dd1461080b578063cdcd897e1461083b5761031f565b8063a3a51bd514610799578063b5143715146107b7578063b88d4fde146107d35761031f565b8063898b46531161015057806395d89b411161012a57806395d89b41146107415780639f9897291461075f578063a22cb4651461077d5761031f565b8063898b4653146106e75780638da5cb5b1461070557806394c8e4ff146107235761031f565b80637e26639f116101815780637e26639f1461067b5780637f4b09a3146106995780637ff9b596146106c95761031f565b8063715018a61461063557806371e7a0cf1461063f5780637931e5bc1461065d5761031f565b80632a55205a1161026b57806342842e0e116102145780636352211e116101ee5780636352211e146105b95780636a61e5fc146105e957806370a08231146106055761031f565b806342842e0e1461056557806358c51fdb146105815780635944c7531461059d5761031f565b80632fbba115116102455780632fbba1151461050f57806330176e131461052b57806332cb6b0c146105475761031f565b80632a55205a146104a45780632ab91bba146104d55780632c3b84ba146104f35761031f565b806311997eec116102cd5780632009dbf2116102a75780632009dbf2146104605780632316b4da1461047e57806323b872dd146104885761031f565b806311997eec146103f6578063121a4620146104265780632004ffd9146104425761031f565b806306fdde03116102fe57806306fdde031461038c578063081812fc146103aa578063095ea7b3146103da5761031f565b806297796b1461032457806301ffc9a71461034057806304634d8d14610370575b600080fd5b61033e600480360381019061033991906134ec565b6108f1565b005b61035a600480360381019061035591906135a0565b610920565b60405161036791906135e8565b60405180910390f35b61038a600480360381019061038591906136a5565b61099a565b005b6103946109b0565b6040516103a19190613764565b60405180910390f35b6103c460048036038101906103bf9190613786565b610a42565b6040516103d191906137c2565b60405180910390f35b6103f460048036038101906103ef91906137dd565b610a88565b005b610410600480360381019061040b919061381d565b610b9f565b60405161041d9190613859565b60405180910390f35b610440600480360381019061043b9190613786565b610bb7565b005b61044a610bdb565b60405161045791906138d3565b60405180910390f35b610468610c01565b6040516104759190613859565b60405180910390f35b610486610c12565b005b6104a2600480360381019061049d91906138ee565b610c24565b005b6104be60048036038101906104b99190613941565b610c84565b6040516104cc929190613981565b60405180910390f35b6104dd610e6e565b6040516104ea91906135e8565b60405180910390f35b61050d600480360381019061050891906139aa565b610e81565b005b61052960048036038101906105249190613786565b610ea7565b005b61054560048036038101906105409190613a9f565b610f52565b005b61054f610ff3565b60405161055c9190613859565b60405180910390f35b61057f600480360381019061057a91906138ee565b610ff9565b005b61059b60048036038101906105969190613b26565b611019565b005b6105b760048036038101906105b29190613b53565b611070565b005b6105d360048036038101906105ce9190613786565b611088565b6040516105e091906137c2565b60405180910390f35b61060360048036038101906105fe9190613786565b61110e565b005b61061f600480360381019061061a919061381d565b61114d565b60405161062c9190613859565b60405180910390f35b61063d611204565b005b610647611218565b6040516106549190613859565b60405180910390f35b61066561121d565b6040516106729190613bb5565b60405180910390f35b610683611223565b6040516106909190613859565b60405180910390f35b6106b360048036038101906106ae919061381d565b611229565b6040516106c09190613859565b60405180910390f35b6106d1611241565b6040516106de9190613859565b60405180910390f35b6106ef611247565b6040516106fc9190613859565b60405180910390f35b61070d61124c565b60405161071a91906137c2565b60405180910390f35b61072b611276565b60405161073891906135e8565b60405180910390f35b610749611289565b6040516107569190613764565b60405180910390f35b61076761131b565b6040516107749190613bdf565b60405180910390f35b61079760048036038101906107929190613c26565b611341565b005b6107a1611357565b6040516107ae9190613bdf565b60405180910390f35b6107d160048036038101906107cc9190613b26565b61137d565b005b6107ed60048036038101906107e89190613d07565b6113d4565b005b61080960048036038101906108049190613d8a565b611436565b005b61082560048036038101906108209190613786565b61144a565b6040516108329190613764565b60405180910390f35b6108436114c6565b6040516108509190613dc6565b60405180910390f35b6108616114cb565b005b61087d60048036038101906108789190613786565b6114dd565b005b61089960048036038101906108949190613de1565b6114f1565b005b6108b560048036038101906108b09190613e2a565b6114fd565b6040516108c291906135e8565b60405180910390f35b6108d3611591565b005b6108ef60048036038101906108ea919061381d565b6115b6565b005b6000600190505b82811161091b5761090882611639565b808061091390613e99565b9150506108f8565b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610993575061099282611b75565b5b9050919050565b6109a2611c57565b6109ac8282611cd5565b5050565b6060600280546109bf90613f10565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613f10565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a4d82611e69565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9382611088565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90613fb3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b22611eb4565b73ffffffffffffffffffffffffffffffffffffffff161480610b515750610b5081610b4b611eb4565b6114fd565b5b610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614045565b60405180910390fd5b610b9a8383611ebc565b505050565b600b6020528060005260406000206000915090505481565b610bbf611c57565b610bc7611f75565b610bd081611fc6565b610bd8612042565b50565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610c0d601161205f565b905090565b610c1a611c57565b610c22612042565b565b610c35610c2f611eb4565b8261206d565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b906140d7565b60405180910390fd5b610c7f838383612102565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610e195760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e236123fb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e4f91906140f7565b610e599190614168565b90508160000151819350935050509250929050565b600c60009054906101000a900460ff1681565b610e89611c57565b610e9282612405565b610e9b81611fc6565b610ea3612042565b5050565b610eaf611c57565b610eb761249b565b610ce4610ec4601161205f565b82610ecf9190614199565b1115610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0790614219565b60405180910390fd5b6000600190505b818111610f4e57610f2860116124ea565b610f3b33610f36601161205f565b612500565b8080610f4690613e99565b915050610f17565b5050565b610f5a611c57565b6000815111610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590614285565b60405180910390fd5b8060099081610fad9190614447565b5080604051610fbc9190614555565b60405180910390207f199e933997358e1789d8b56ea8c551befeb05ce2fe3fe506199f1230f5a591b460405160405180910390a250565b610ce481565b611014838383604051806020016040528060008152506113d4565b505050565b611021611c57565b61102a8161271d565b8073ffffffffffffffffffffffffffffffffffffffff167f44ec41ef7e943ea0cca4b60377628c6815e60b5db83234aebe1cd53fac61c3fd60405160405180910390a250565b611078611c57565b6110838383836127d0565b505050565b60008061109483612977565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc906145b8565b60405180910390fd5b80915050919050565b611116611c57565b80601081905550807f464699aba3cd45f377dc1b926545144ceb0d67864b1ca5e7ff8f681c2a7a5a0260405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b49061464a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61120c611c57565b61121660006129b4565b565b600281565b600e5481565b600f5481565b600d6020528060005260406000206000915090505481565b60105481565b600681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60009054906101000a900460ff1681565b60606003805461129890613f10565b80601f01602080910402602001604051908101604052809291908181526020018280546112c490613f10565b80156113115780601f106112e657610100808354040283529160200191611311565b820191906000526020600020905b8154815290600101906020018083116112f457829003601f168201915b5050505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61135361134c611eb4565b8383612a7a565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611385611c57565b61138e81612be6565b8073ffffffffffffffffffffffffffffffffffffffff167f76be1d6134dcbe4cf511d54f37045d55427e9fdf21a390c46b91a05f30f0b74960405160405180910390a250565b6113e56113df611eb4565b8361206d565b611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b906140d7565b60405180910390fd5b61143084848484612c99565b50505050565b61143e611c57565b61144781612405565b50565b606061145582612cf5565b611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b906146b6565b60405180910390fd5b600961149f83612d36565b6040516020016114b0929190614759565b6040516020818303038152906040529050919050565b600581565b6114d3611c57565b6114db611f75565b565b6114e5611c57565b6114ee81611fc6565b50565b6114fa81611639565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611599611c57565b6000600c60006101000a81548160ff021916908315150217905550565b6115be611c57565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906147ef565b60405180910390fd5b611636816129b4565b50565b61164161249b565b600c60009054906101000a900460ff16611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614881565b60405180910390fd5b600f5461169d601161205f565b106116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614913565b60405180910390fd5b60006064600a6010546116f091906140f7565b6116fa9190614168565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b815260040161177d93929190614954565b6020604051808303816000875af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c091906149a0565b6117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614a19565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460105461186f9190614a39565b6040518463ffffffff1660e01b815260040161188d93929190614954565b6020604051808303816000875af11580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d091906149a0565b61190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690614a19565b60405180910390fd5b600a60009054906101000a900460ff1615611a7a576000336040516020016119379190614ab5565b60405160208183030381529060405280519060200120905061195c83600e5483612e04565b61199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290614b1c565b60405180910390fd5b6002600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490614b88565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a6d9190614199565b9250508190555050611b54565b6006600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614bf4565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4c9190614199565b925050819055505b611b5e60116124ea565b611b7133611b6c601161205f565b612e1b565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c4057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c505750611c4f82612e39565b5b9050919050565b611c5f611eb4565b73ffffffffffffffffffffffffffffffffffffffff16611c7d61124c565b73ffffffffffffffffffffffffffffffffffffffff1614611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca90614c60565b60405180910390fd5b565b611cdd6123fb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3290614cf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190614d5e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e7281612cf5565b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea8906145b8565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f2f83611088565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a60006101000a81548160ff0219169083151502179055506000600e819055507f2d35c8d348a345fd7b3b03b7cfcf7ad0b60c2d46742d5ca536342e4185becb0760405160405180910390a1565b610ce481111561200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290614dca565b60405180910390fd5b80600f81905550807fe9eedac094783e56c226733634c6251ad62401b0cece941f1832ac8f0e3c619460405160405180910390a250565b6001600c60006101000a81548160ff021916908315150217905550565b600081600001549050919050565b60008061207983611088565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120bb57506120ba81856114fd565b5b806120f957508373ffffffffffffffffffffffffffffffffffffffff166120e184610a42565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661212282611088565b73ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614e5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614eee565b60405180910390fd5b6121f48383836001612eb3565b8273ffffffffffffffffffffffffffffffffffffffff1661221482611088565b73ffffffffffffffffffffffffffffffffffffffff161461226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190614e5c565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f68383836001612eb9565b505050565b6000612710905090565b6000801b810361244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190614f5a565b60405180910390fd5b6001600a60006101000a81548160ff02191690831515021790555080600e819055507f8a943acd5f4e6d3df7565a4a08a93f6b04cc31bb6c01ca4aef7abd6baf455ec360405160405180910390a150565b610ce46124a8601161205f565b106124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df90614fec565b60405180910390fd5b565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361256f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256690615058565b60405180910390fd5b61257881612cf5565b156125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125af906150c4565b60405180910390fd5b6125c6600083836001612eb3565b6125cf81612cf5565b1561260f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612606906150c4565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612719600083836001612eb9565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361278c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278390615156565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6127d86123fb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614cf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c906151c2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506001600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf9061522e565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bd991906135e8565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4c906152c0565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612ca4848484612102565b612cb084848484612ebf565b612cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce690615352565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612d1783612977565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612d4584613046565b01905060008167ffffffffffffffff811115612d6457612d63613373565b5b6040519080825280601f01601f191660200182016040528015612d965781602001600182028036833780820191505090505b509050600082602001820190505b600115612df9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ded57612dec614139565b5b04945060008503612da4575b819350505050919050565b600082612e118584613199565b1490509392505050565b612e358282604051806020016040528060008152506131e9565b5050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eac5750612eab82613244565b5b9050919050565b50505050565b50505050565b6000612ee08473ffffffffffffffffffffffffffffffffffffffff166132ae565b15613039578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f09611eb4565b8786866040518563ffffffff1660e01b8152600401612f2b94939291906153c7565b6020604051808303816000875af1925050508015612f6757506040513d601f19601f82011682018060405250810190612f649190615428565b60015b612fe9573d8060008114612f97576040519150601f19603f3d011682016040523d82523d6000602084013e612f9c565b606091505b506000815103612fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd890615352565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303e565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130a4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161309a57613099614139565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130e1576d04ee2d6d415b85acef810000000083816130d7576130d6614139565b5b0492506020810190505b662386f26fc10000831061311057662386f26fc10000838161310657613105614139565b5b0492506010810190505b6305f5e1008310613139576305f5e100838161312f5761312e614139565b5b0492506008810190505b612710831061315e57612710838161315457613153614139565b5b0492506004810190505b60648310613181576064838161317757613176614139565b5b0492506002810190505b600a8310613190576001810190505b80915050919050565b60008082905060005b84518110156131de576131cf828683815181106131c2576131c1615455565b5b60200260200101516132d1565b915080806001019150506131a2565b508091505092915050565b6131f38383612500565b6132006000848484612ebf565b61323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690615352565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106132e9576132e482846132fc565b6132f4565b6132f383836132fc565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61333a81613327565b811461334557600080fd5b50565b60008135905061335781613331565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133ab82613362565b810181811067ffffffffffffffff821117156133ca576133c9613373565b5b80604052505050565b60006133dd613313565b90506133e982826133a2565b919050565b600067ffffffffffffffff82111561340957613408613373565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134328161341f565b811461343d57600080fd5b50565b60008135905061344f81613429565b92915050565b6000613468613463846133ee565b6133d3565b9050808382526020820190506020840283018581111561348b5761348a61341a565b5b835b818110156134b457806134a08882613440565b84526020840193505060208101905061348d565b5050509392505050565b600082601f8301126134d3576134d261335d565b5b81356134e3848260208601613455565b91505092915050565b600080604083850312156135035761350261331d565b5b600061351185828601613348565b925050602083013567ffffffffffffffff81111561353257613531613322565b5b61353e858286016134be565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61357d81613548565b811461358857600080fd5b50565b60008135905061359a81613574565b92915050565b6000602082840312156135b6576135b561331d565b5b60006135c48482850161358b565b91505092915050565b60008115159050919050565b6135e2816135cd565b82525050565b60006020820190506135fd60008301846135d9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061362e82613603565b9050919050565b61363e81613623565b811461364957600080fd5b50565b60008135905061365b81613635565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61368281613661565b811461368d57600080fd5b50565b60008135905061369f81613679565b92915050565b600080604083850312156136bc576136bb61331d565b5b60006136ca8582860161364c565b92505060206136db85828601613690565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561371f578082015181840152602081019050613704565b60008484015250505050565b6000613736826136e5565b61374081856136f0565b9350613750818560208601613701565b61375981613362565b840191505092915050565b6000602082019050818103600083015261377e818461372b565b905092915050565b60006020828403121561379c5761379b61331d565b5b60006137aa84828501613348565b91505092915050565b6137bc81613623565b82525050565b60006020820190506137d760008301846137b3565b92915050565b600080604083850312156137f4576137f361331d565b5b60006138028582860161364c565b925050602061381385828601613348565b9150509250929050565b6000602082840312156138335761383261331d565b5b60006138418482850161364c565b91505092915050565b61385381613327565b82525050565b600060208201905061386e600083018461384a565b92915050565b6000819050919050565b600061389961389461388f84613603565b613874565b613603565b9050919050565b60006138ab8261387e565b9050919050565b60006138bd826138a0565b9050919050565b6138cd816138b2565b82525050565b60006020820190506138e860008301846138c4565b92915050565b6000806000606084860312156139075761390661331d565b5b60006139158682870161364c565b93505060206139268682870161364c565b925050604061393786828701613348565b9150509250925092565b600080604083850312156139585761395761331d565b5b600061396685828601613348565b925050602061397785828601613348565b9150509250929050565b600060408201905061399660008301856137b3565b6139a3602083018461384a565b9392505050565b600080604083850312156139c1576139c061331d565b5b60006139cf85828601613440565b92505060206139e085828601613348565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613a0a57613a09613373565b5b613a1382613362565b9050602081019050919050565b82818337600083830152505050565b6000613a42613a3d846139ef565b6133d3565b905082815260208101848484011115613a5e57613a5d6139ea565b5b613a69848285613a20565b509392505050565b600082601f830112613a8657613a8561335d565b5b8135613a96848260208601613a2f565b91505092915050565b600060208284031215613ab557613ab461331d565b5b600082013567ffffffffffffffff811115613ad357613ad2613322565b5b613adf84828501613a71565b91505092915050565b6000613af382613603565b9050919050565b613b0381613ae8565b8114613b0e57600080fd5b50565b600081359050613b2081613afa565b92915050565b600060208284031215613b3c57613b3b61331d565b5b6000613b4a84828501613b11565b91505092915050565b600080600060608486031215613b6c57613b6b61331d565b5b6000613b7a86828701613348565b9350506020613b8b8682870161364c565b9250506040613b9c86828701613690565b9150509250925092565b613baf8161341f565b82525050565b6000602082019050613bca6000830184613ba6565b92915050565b613bd981613ae8565b82525050565b6000602082019050613bf46000830184613bd0565b92915050565b613c03816135cd565b8114613c0e57600080fd5b50565b600081359050613c2081613bfa565b92915050565b60008060408385031215613c3d57613c3c61331d565b5b6000613c4b8582860161364c565b9250506020613c5c85828601613c11565b9150509250929050565b600067ffffffffffffffff821115613c8157613c80613373565b5b613c8a82613362565b9050602081019050919050565b6000613caa613ca584613c66565b6133d3565b905082815260208101848484011115613cc657613cc56139ea565b5b613cd1848285613a20565b509392505050565b600082601f830112613cee57613ced61335d565b5b8135613cfe848260208601613c97565b91505092915050565b60008060008060808587031215613d2157613d2061331d565b5b6000613d2f8782880161364c565b9450506020613d408782880161364c565b9350506040613d5187828801613348565b925050606085013567ffffffffffffffff811115613d7257613d71613322565b5b613d7e87828801613cd9565b91505092959194509250565b600060208284031215613da057613d9f61331d565b5b6000613dae84828501613440565b91505092915050565b613dc081613661565b82525050565b6000602082019050613ddb6000830184613db7565b92915050565b600060208284031215613df757613df661331d565b5b600082013567ffffffffffffffff811115613e1557613e14613322565b5b613e21848285016134be565b91505092915050565b60008060408385031215613e4157613e4061331d565b5b6000613e4f8582860161364c565b9250506020613e608582860161364c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ea482613327565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ed657613ed5613e6a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f2857607f821691505b602082108103613f3b57613f3a613ee1565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f9d6021836136f0565b9150613fa882613f41565b604082019050919050565b60006020820190508181036000830152613fcc81613f90565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061402f603d836136f0565b915061403a82613fd3565b604082019050919050565b6000602082019050818103600083015261405e81614022565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140c1602d836136f0565b91506140cc82614065565b604082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b600061410282613327565b915061410d83613327565b925082820261411b81613327565b9150828204841483151761413257614131613e6a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061417382613327565b915061417e83613327565b92508261418e5761418d614139565b5b828204905092915050565b60006141a482613327565b91506141af83613327565b92508282019050808211156141c7576141c6613e6a565b5b92915050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d617820737570706c79600082015250565b60006142036020836136f0565b915061420e826141cd565b602082019050919050565b60006020820190508181036000830152614232816141f6565b9050919050565b7f62617365546f6b656e5552492063616e6e6f7420626520656d70747900000000600082015250565b600061426f601c836136f0565b915061427a82614239565b602082019050919050565b6000602082019050818103600083015261429e81614262565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826142ca565b61431186836142ca565b95508019841693508086168417925050509392505050565b600061434461433f61433a84613327565b613874565b613327565b9050919050565b6000819050919050565b61435e83614329565b61437261436a8261434b565b8484546142d7565b825550505050565b600090565b61438761437a565b614392818484614355565b505050565b5b818110156143b6576143ab60008261437f565b600181019050614398565b5050565b601f8211156143fb576143cc816142a5565b6143d5846142ba565b810160208510156143e4578190505b6143f86143f0856142ba565b830182614397565b50505b505050565b600082821c905092915050565b600061441e60001984600802614400565b1980831691505092915050565b6000614437838361440d565b9150826002028217905092915050565b614450826136e5565b67ffffffffffffffff81111561446957614468613373565b5b6144738254613f10565b61447e8282856143ba565b600060209050601f8311600181146144b1576000841561449f578287015190505b6144a9858261442b565b865550614511565b601f1984166144bf866142a5565b60005b828110156144e7578489015182556001820191506020850194506020810190506144c2565b868310156145045784890151614500601f89168261440d565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600061452f826136e5565b6145398185614519565b9350614549818560208601613701565b80840191505092915050565b60006145618284614524565b915081905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006145a26018836136f0565b91506145ad8261456c565b602082019050919050565b600060208201905081810360008301526145d181614595565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146346029836136f0565b915061463f826145d8565b604082019050919050565b6000602082019050818103600083015261466381614627565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374696e6720746f6b656e600082015250565b60006146a06020836136f0565b91506146ab8261466a565b602082019050919050565b600060208201905081810360008301526146cf81614693565b9050919050565b600081546146e381613f10565b6146ed8186614519565b94506001821660008114614708576001811461471d57614750565b60ff1983168652811515820286019350614750565b614726856142a5565b60005b8381101561474857815481890152600182019150602081019050614729565b838801955050505b50505092915050565b600061476582856146d6565b91506147718284614524565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147d96026836136f0565b91506147e48261477d565b604082019050919050565b60006020820190508181036000830152614808816147cc565b9050919050565b7f43616e6e6f74206d696e742c207075626c69632073616c65206973206469736160008201527f626c656400000000000000000000000000000000000000000000000000000000602082015250565b600061486b6024836136f0565b91506148768261480f565b604082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f43616e6e6f742070726f636565642e205265616368656420746865206375727260008201527f656e742073616c65206c696d6974000000000000000000000000000000000000602082015250565b60006148fd602e836136f0565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600061493e826138a0565b9050919050565b61494e81614933565b82525050565b600060608201905061496960008301866137b3565b6149766020830185614945565b614983604083018461384a565b949350505050565b60008151905061499a81613bfa565b92915050565b6000602082840312156149b6576149b561331d565b5b60006149c48482850161498b565b91505092915050565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614a03600f836136f0565b9150614a0e826149cd565b602082019050919050565b60006020820190508181036000830152614a32816149f6565b9050919050565b6000614a4482613327565b9150614a4f83613327565b9250828203905081811115614a6757614a66613e6a565b5b92915050565b60008160601b9050919050565b6000614a8582614a6d565b9050919050565b6000614a9782614a7a565b9050919050565b614aaf614aaa82613623565b614a8c565b82525050565b6000614ac18284614a9e565b60148201915081905092915050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b6000614b06600b836136f0565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f416c7265616479206d696e74656420616c6c6f776c697374206c696d69740000600082015250565b6000614b72601e836136f0565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b7f416c7265616479206d696e746564207075626c69632073616c65206c696d6974600082015250565b6000614bde6020836136f0565b9150614be982614ba8565b602082019050919050565b60006020820190508181036000830152614c0d81614bd1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c4a6020836136f0565b9150614c5582614c14565b602082019050919050565b60006020820190508181036000830152614c7981614c3d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614cdc602a836136f0565b9150614ce782614c80565b604082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614d486019836136f0565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f53616c65206c696d69742065786365656473206d617820737570706c79000000600082015250565b6000614db4601d836136f0565b9150614dbf82614d7e565b602082019050919050565b60006020820190508181036000830152614de381614da7565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e466025836136f0565b9150614e5182614dea565b604082019050919050565b60006020820190508181036000830152614e7581614e39565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ed86024836136f0565b9150614ee382614e7c565b604082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f4d65726b6c65207472656520726f6f7420697320696e76616c69640000000000600082015250565b6000614f44601b836136f0565b9150614f4f82614f0e565b602082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f43616e6e6f742070726f636565642e20416c7265616479206d696e746564206160008201527f6c6c20746f6b656e730000000000000000000000000000000000000000000000602082015250565b6000614fd66029836136f0565b9150614fe182614f7a565b604082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006150426020836136f0565b915061504d8261500c565b602082019050919050565b6000602082019050818103600083015261507181615035565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006150ae601c836136f0565b91506150b982615078565b602082019050919050565b600060208201905081810360008301526150dd816150a1565b9050919050565b7f412062656e65666963696172792063616e6e6f74206265207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006151406024836136f0565b915061514b826150e4565b604082019050919050565b6000602082019050818103600083015261516f81615133565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b60006151ac601b836136f0565b91506151b782615176565b602082019050919050565b600060208201905081810360008301526151db8161519f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006152186019836136f0565b9150615223826151e2565b602082019050919050565b600060208201905081810360008301526152478161520b565b9050919050565b7f412072656365697665722063616e6e6f74206265207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006152aa6021836136f0565b91506152b58261524e565b604082019050919050565b600060208201905081810360008301526152d98161529d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061533c6032836136f0565b9150615347826152e0565b604082019050919050565b6000602082019050818103600083015261536b8161532f565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061539982615372565b6153a3818561537d565b93506153b3818560208601613701565b6153bc81613362565b840191505092915050565b60006080820190506153dc60008301876137b3565b6153e960208301866137b3565b6153f6604083018561384a565b8181036060830152615408818461538e565b905095945050505050565b60008151905061542281613574565b92915050565b60006020828403121561543e5761543d61331d565b5b600061544c84828501615413565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205b8c56c485523e41813f76e68a9a069b2c08c2a953ec08657c4689e46006274964736f6c6343000817003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000d1e3e9e74462c88faecdb73d7185e17677584e000000000000000000000000083a0ccdf20fe4dbcec74c1c88b5df27a00c953840000000000000000000000003fab0bbaa03bceaf7c49e2b12877db0142be65fc0000000000000000000000000000000000000000000000000000000000000007546573742d43310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e46542d433100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d514c7371646854656154646e764d51395371366d5945424a74645333514664326a466b643146586a7a5a644b2f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061031f5760003560e01c8063715018a6116101a7578063a3a51bd5116100ee578063cf8e629a11610097578063e985e9c511610071578063e985e9c51461089b578063ec8db817146108cb578063f2fde38b146108d55761031f565b8063cf8e629a14610859578063d87d6bd514610863578063e09561681461087f5761031f565b8063bd4aeed9116100c8578063bd4aeed9146107ef578063c87b56dd1461080b578063cdcd897e1461083b5761031f565b8063a3a51bd514610799578063b5143715146107b7578063b88d4fde146107d35761031f565b8063898b46531161015057806395d89b411161012a57806395d89b41146107415780639f9897291461075f578063a22cb4651461077d5761031f565b8063898b4653146106e75780638da5cb5b1461070557806394c8e4ff146107235761031f565b80637e26639f116101815780637e26639f1461067b5780637f4b09a3146106995780637ff9b596146106c95761031f565b8063715018a61461063557806371e7a0cf1461063f5780637931e5bc1461065d5761031f565b80632a55205a1161026b57806342842e0e116102145780636352211e116101ee5780636352211e146105b95780636a61e5fc146105e957806370a08231146106055761031f565b806342842e0e1461056557806358c51fdb146105815780635944c7531461059d5761031f565b80632fbba115116102455780632fbba1151461050f57806330176e131461052b57806332cb6b0c146105475761031f565b80632a55205a146104a45780632ab91bba146104d55780632c3b84ba146104f35761031f565b806311997eec116102cd5780632009dbf2116102a75780632009dbf2146104605780632316b4da1461047e57806323b872dd146104885761031f565b806311997eec146103f6578063121a4620146104265780632004ffd9146104425761031f565b806306fdde03116102fe57806306fdde031461038c578063081812fc146103aa578063095ea7b3146103da5761031f565b806297796b1461032457806301ffc9a71461034057806304634d8d14610370575b600080fd5b61033e600480360381019061033991906134ec565b6108f1565b005b61035a600480360381019061035591906135a0565b610920565b60405161036791906135e8565b60405180910390f35b61038a600480360381019061038591906136a5565b61099a565b005b6103946109b0565b6040516103a19190613764565b60405180910390f35b6103c460048036038101906103bf9190613786565b610a42565b6040516103d191906137c2565b60405180910390f35b6103f460048036038101906103ef91906137dd565b610a88565b005b610410600480360381019061040b919061381d565b610b9f565b60405161041d9190613859565b60405180910390f35b610440600480360381019061043b9190613786565b610bb7565b005b61044a610bdb565b60405161045791906138d3565b60405180910390f35b610468610c01565b6040516104759190613859565b60405180910390f35b610486610c12565b005b6104a2600480360381019061049d91906138ee565b610c24565b005b6104be60048036038101906104b99190613941565b610c84565b6040516104cc929190613981565b60405180910390f35b6104dd610e6e565b6040516104ea91906135e8565b60405180910390f35b61050d600480360381019061050891906139aa565b610e81565b005b61052960048036038101906105249190613786565b610ea7565b005b61054560048036038101906105409190613a9f565b610f52565b005b61054f610ff3565b60405161055c9190613859565b60405180910390f35b61057f600480360381019061057a91906138ee565b610ff9565b005b61059b60048036038101906105969190613b26565b611019565b005b6105b760048036038101906105b29190613b53565b611070565b005b6105d360048036038101906105ce9190613786565b611088565b6040516105e091906137c2565b60405180910390f35b61060360048036038101906105fe9190613786565b61110e565b005b61061f600480360381019061061a919061381d565b61114d565b60405161062c9190613859565b60405180910390f35b61063d611204565b005b610647611218565b6040516106549190613859565b60405180910390f35b61066561121d565b6040516106729190613bb5565b60405180910390f35b610683611223565b6040516106909190613859565b60405180910390f35b6106b360048036038101906106ae919061381d565b611229565b6040516106c09190613859565b60405180910390f35b6106d1611241565b6040516106de9190613859565b60405180910390f35b6106ef611247565b6040516106fc9190613859565b60405180910390f35b61070d61124c565b60405161071a91906137c2565b60405180910390f35b61072b611276565b60405161073891906135e8565b60405180910390f35b610749611289565b6040516107569190613764565b60405180910390f35b61076761131b565b6040516107749190613bdf565b60405180910390f35b61079760048036038101906107929190613c26565b611341565b005b6107a1611357565b6040516107ae9190613bdf565b60405180910390f35b6107d160048036038101906107cc9190613b26565b61137d565b005b6107ed60048036038101906107e89190613d07565b6113d4565b005b61080960048036038101906108049190613d8a565b611436565b005b61082560048036038101906108209190613786565b61144a565b6040516108329190613764565b60405180910390f35b6108436114c6565b6040516108509190613dc6565b60405180910390f35b6108616114cb565b005b61087d60048036038101906108789190613786565b6114dd565b005b61089960048036038101906108949190613de1565b6114f1565b005b6108b560048036038101906108b09190613e2a565b6114fd565b6040516108c291906135e8565b60405180910390f35b6108d3611591565b005b6108ef60048036038101906108ea919061381d565b6115b6565b005b6000600190505b82811161091b5761090882611639565b808061091390613e99565b9150506108f8565b505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610993575061099282611b75565b5b9050919050565b6109a2611c57565b6109ac8282611cd5565b5050565b6060600280546109bf90613f10565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613f10565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a4d82611e69565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a9382611088565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90613fb3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b22611eb4565b73ffffffffffffffffffffffffffffffffffffffff161480610b515750610b5081610b4b611eb4565b6114fd565b5b610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790614045565b60405180910390fd5b610b9a8383611ebc565b505050565b600b6020528060005260406000206000915090505481565b610bbf611c57565b610bc7611f75565b610bd081611fc6565b610bd8612042565b50565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610c0d601161205f565b905090565b610c1a611c57565b610c22612042565b565b610c35610c2f611eb4565b8261206d565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b906140d7565b60405180910390fd5b610c7f838383612102565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610e195760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610e236123fb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e4f91906140f7565b610e599190614168565b90508160000151819350935050509250929050565b600c60009054906101000a900460ff1681565b610e89611c57565b610e9282612405565b610e9b81611fc6565b610ea3612042565b5050565b610eaf611c57565b610eb761249b565b610ce4610ec4601161205f565b82610ecf9190614199565b1115610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0790614219565b60405180910390fd5b6000600190505b818111610f4e57610f2860116124ea565b610f3b33610f36601161205f565b612500565b8080610f4690613e99565b915050610f17565b5050565b610f5a611c57565b6000815111610f9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9590614285565b60405180910390fd5b8060099081610fad9190614447565b5080604051610fbc9190614555565b60405180910390207f199e933997358e1789d8b56ea8c551befeb05ce2fe3fe506199f1230f5a591b460405160405180910390a250565b610ce481565b611014838383604051806020016040528060008152506113d4565b505050565b611021611c57565b61102a8161271d565b8073ffffffffffffffffffffffffffffffffffffffff167f44ec41ef7e943ea0cca4b60377628c6815e60b5db83234aebe1cd53fac61c3fd60405160405180910390a250565b611078611c57565b6110838383836127d0565b505050565b60008061109483612977565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fc906145b8565b60405180910390fd5b80915050919050565b611116611c57565b80601081905550807f464699aba3cd45f377dc1b926545144ceb0d67864b1ca5e7ff8f681c2a7a5a0260405160405180910390a250565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b49061464a565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61120c611c57565b61121660006129b4565b565b600281565b600e5481565b600f5481565b600d6020528060005260406000206000915090505481565b60105481565b600681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60009054906101000a900460ff1681565b60606003805461129890613f10565b80601f01602080910402602001604051908101604052809291908181526020018280546112c490613f10565b80156113115780601f106112e657610100808354040283529160200191611311565b820191906000526020600020905b8154815290600101906020018083116112f457829003601f168201915b5050505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61135361134c611eb4565b8383612a7a565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611385611c57565b61138e81612be6565b8073ffffffffffffffffffffffffffffffffffffffff167f76be1d6134dcbe4cf511d54f37045d55427e9fdf21a390c46b91a05f30f0b74960405160405180910390a250565b6113e56113df611eb4565b8361206d565b611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b906140d7565b60405180910390fd5b61143084848484612c99565b50505050565b61143e611c57565b61144781612405565b50565b606061145582612cf5565b611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b906146b6565b60405180910390fd5b600961149f83612d36565b6040516020016114b0929190614759565b6040516020818303038152906040529050919050565b600581565b6114d3611c57565b6114db611f75565b565b6114e5611c57565b6114ee81611fc6565b50565b6114fa81611639565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611599611c57565b6000600c60006101000a81548160ff021916908315150217905550565b6115be611c57565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361162d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611624906147ef565b60405180910390fd5b611636816129b4565b50565b61164161249b565b600c60009054906101000a900460ff16611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614881565b60405180910390fd5b600f5461169d601161205f565b106116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614913565b60405180910390fd5b60006064600a6010546116f091906140f7565b6116fa9190614168565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b815260040161177d93929190614954565b6020604051808303816000875af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c091906149a0565b6117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614a19565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460105461186f9190614a39565b6040518463ffffffff1660e01b815260040161188d93929190614954565b6020604051808303816000875af11580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d091906149a0565b61190f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190690614a19565b60405180910390fd5b600a60009054906101000a900460ff1615611a7a576000336040516020016119379190614ab5565b60405160208183030381529060405280519060200120905061195c83600e5483612e04565b61199b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199290614b1c565b60405180910390fd5b6002600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490614b88565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a6d9190614199565b9250508190555050611b54565b6006600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614bf4565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4c9190614199565b925050819055505b611b5e60116124ea565b611b7133611b6c601161205f565b612e1b565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c4057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c505750611c4f82612e39565b5b9050919050565b611c5f611eb4565b73ffffffffffffffffffffffffffffffffffffffff16611c7d61124c565b73ffffffffffffffffffffffffffffffffffffffff1614611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca90614c60565b60405180910390fd5b565b611cdd6123fb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3290614cf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da190614d5e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611e7281612cf5565b611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea8906145b8565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f2f83611088565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a60006101000a81548160ff0219169083151502179055506000600e819055507f2d35c8d348a345fd7b3b03b7cfcf7ad0b60c2d46742d5ca536342e4185becb0760405160405180910390a1565b610ce481111561200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290614dca565b60405180910390fd5b80600f81905550807fe9eedac094783e56c226733634c6251ad62401b0cece941f1832ac8f0e3c619460405160405180910390a250565b6001600c60006101000a81548160ff021916908315150217905550565b600081600001549050919050565b60008061207983611088565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120bb57506120ba81856114fd565b5b806120f957508373ffffffffffffffffffffffffffffffffffffffff166120e184610a42565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661212282611088565b73ffffffffffffffffffffffffffffffffffffffff1614612178576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216f90614e5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121de90614eee565b60405180910390fd5b6121f48383836001612eb3565b8273ffffffffffffffffffffffffffffffffffffffff1661221482611088565b73ffffffffffffffffffffffffffffffffffffffff161461226a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226190614e5c565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f68383836001612eb9565b505050565b6000612710905090565b6000801b810361244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190614f5a565b60405180910390fd5b6001600a60006101000a81548160ff02191690831515021790555080600e819055507f8a943acd5f4e6d3df7565a4a08a93f6b04cc31bb6c01ca4aef7abd6baf455ec360405160405180910390a150565b610ce46124a8601161205f565b106124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df90614fec565b60405180910390fd5b565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361256f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256690615058565b60405180910390fd5b61257881612cf5565b156125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125af906150c4565b60405180910390fd5b6125c6600083836001612eb3565b6125cf81612cf5565b1561260f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612606906150c4565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612719600083836001612eb9565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361278c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278390615156565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6127d86123fb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282d90614cf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c906151c2565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506001600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf9061522e565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bd991906135e8565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4c906152c0565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612ca4848484612102565b612cb084848484612ebf565b612cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce690615352565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16612d1783612977565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060006001612d4584613046565b01905060008167ffffffffffffffff811115612d6457612d63613373565b5b6040519080825280601f01601f191660200182016040528015612d965781602001600182028036833780820191505090505b509050600082602001820190505b600115612df9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ded57612dec614139565b5b04945060008503612da4575b819350505050919050565b600082612e118584613199565b1490509392505050565b612e358282604051806020016040528060008152506131e9565b5050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612eac5750612eab82613244565b5b9050919050565b50505050565b50505050565b6000612ee08473ffffffffffffffffffffffffffffffffffffffff166132ae565b15613039578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f09611eb4565b8786866040518563ffffffff1660e01b8152600401612f2b94939291906153c7565b6020604051808303816000875af1925050508015612f6757506040513d601f19601f82011682018060405250810190612f649190615428565b60015b612fe9573d8060008114612f97576040519150601f19603f3d011682016040523d82523d6000602084013e612f9c565b606091505b506000815103612fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd890615352565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303e565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130a4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161309a57613099614139565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130e1576d04ee2d6d415b85acef810000000083816130d7576130d6614139565b5b0492506020810190505b662386f26fc10000831061311057662386f26fc10000838161310657613105614139565b5b0492506010810190505b6305f5e1008310613139576305f5e100838161312f5761312e614139565b5b0492506008810190505b612710831061315e57612710838161315457613153614139565b5b0492506004810190505b60648310613181576064838161317757613176614139565b5b0492506002810190505b600a8310613190576001810190505b80915050919050565b60008082905060005b84518110156131de576131cf828683815181106131c2576131c1615455565b5b60200260200101516132d1565b915080806001019150506131a2565b508091505092915050565b6131f38383612500565b6132006000848484612ebf565b61323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690615352565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008183106132e9576132e482846132fc565b6132f4565b6132f383836132fc565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61333a81613327565b811461334557600080fd5b50565b60008135905061335781613331565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133ab82613362565b810181811067ffffffffffffffff821117156133ca576133c9613373565b5b80604052505050565b60006133dd613313565b90506133e982826133a2565b919050565b600067ffffffffffffffff82111561340957613408613373565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b6134328161341f565b811461343d57600080fd5b50565b60008135905061344f81613429565b92915050565b6000613468613463846133ee565b6133d3565b9050808382526020820190506020840283018581111561348b5761348a61341a565b5b835b818110156134b457806134a08882613440565b84526020840193505060208101905061348d565b5050509392505050565b600082601f8301126134d3576134d261335d565b5b81356134e3848260208601613455565b91505092915050565b600080604083850312156135035761350261331d565b5b600061351185828601613348565b925050602083013567ffffffffffffffff81111561353257613531613322565b5b61353e858286016134be565b9150509250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61357d81613548565b811461358857600080fd5b50565b60008135905061359a81613574565b92915050565b6000602082840312156135b6576135b561331d565b5b60006135c48482850161358b565b91505092915050565b60008115159050919050565b6135e2816135cd565b82525050565b60006020820190506135fd60008301846135d9565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061362e82613603565b9050919050565b61363e81613623565b811461364957600080fd5b50565b60008135905061365b81613635565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61368281613661565b811461368d57600080fd5b50565b60008135905061369f81613679565b92915050565b600080604083850312156136bc576136bb61331d565b5b60006136ca8582860161364c565b92505060206136db85828601613690565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561371f578082015181840152602081019050613704565b60008484015250505050565b6000613736826136e5565b61374081856136f0565b9350613750818560208601613701565b61375981613362565b840191505092915050565b6000602082019050818103600083015261377e818461372b565b905092915050565b60006020828403121561379c5761379b61331d565b5b60006137aa84828501613348565b91505092915050565b6137bc81613623565b82525050565b60006020820190506137d760008301846137b3565b92915050565b600080604083850312156137f4576137f361331d565b5b60006138028582860161364c565b925050602061381385828601613348565b9150509250929050565b6000602082840312156138335761383261331d565b5b60006138418482850161364c565b91505092915050565b61385381613327565b82525050565b600060208201905061386e600083018461384a565b92915050565b6000819050919050565b600061389961389461388f84613603565b613874565b613603565b9050919050565b60006138ab8261387e565b9050919050565b60006138bd826138a0565b9050919050565b6138cd816138b2565b82525050565b60006020820190506138e860008301846138c4565b92915050565b6000806000606084860312156139075761390661331d565b5b60006139158682870161364c565b93505060206139268682870161364c565b925050604061393786828701613348565b9150509250925092565b600080604083850312156139585761395761331d565b5b600061396685828601613348565b925050602061397785828601613348565b9150509250929050565b600060408201905061399660008301856137b3565b6139a3602083018461384a565b9392505050565b600080604083850312156139c1576139c061331d565b5b60006139cf85828601613440565b92505060206139e085828601613348565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613a0a57613a09613373565b5b613a1382613362565b9050602081019050919050565b82818337600083830152505050565b6000613a42613a3d846139ef565b6133d3565b905082815260208101848484011115613a5e57613a5d6139ea565b5b613a69848285613a20565b509392505050565b600082601f830112613a8657613a8561335d565b5b8135613a96848260208601613a2f565b91505092915050565b600060208284031215613ab557613ab461331d565b5b600082013567ffffffffffffffff811115613ad357613ad2613322565b5b613adf84828501613a71565b91505092915050565b6000613af382613603565b9050919050565b613b0381613ae8565b8114613b0e57600080fd5b50565b600081359050613b2081613afa565b92915050565b600060208284031215613b3c57613b3b61331d565b5b6000613b4a84828501613b11565b91505092915050565b600080600060608486031215613b6c57613b6b61331d565b5b6000613b7a86828701613348565b9350506020613b8b8682870161364c565b9250506040613b9c86828701613690565b9150509250925092565b613baf8161341f565b82525050565b6000602082019050613bca6000830184613ba6565b92915050565b613bd981613ae8565b82525050565b6000602082019050613bf46000830184613bd0565b92915050565b613c03816135cd565b8114613c0e57600080fd5b50565b600081359050613c2081613bfa565b92915050565b60008060408385031215613c3d57613c3c61331d565b5b6000613c4b8582860161364c565b9250506020613c5c85828601613c11565b9150509250929050565b600067ffffffffffffffff821115613c8157613c80613373565b5b613c8a82613362565b9050602081019050919050565b6000613caa613ca584613c66565b6133d3565b905082815260208101848484011115613cc657613cc56139ea565b5b613cd1848285613a20565b509392505050565b600082601f830112613cee57613ced61335d565b5b8135613cfe848260208601613c97565b91505092915050565b60008060008060808587031215613d2157613d2061331d565b5b6000613d2f8782880161364c565b9450506020613d408782880161364c565b9350506040613d5187828801613348565b925050606085013567ffffffffffffffff811115613d7257613d71613322565b5b613d7e87828801613cd9565b91505092959194509250565b600060208284031215613da057613d9f61331d565b5b6000613dae84828501613440565b91505092915050565b613dc081613661565b82525050565b6000602082019050613ddb6000830184613db7565b92915050565b600060208284031215613df757613df661331d565b5b600082013567ffffffffffffffff811115613e1557613e14613322565b5b613e21848285016134be565b91505092915050565b60008060408385031215613e4157613e4061331d565b5b6000613e4f8582860161364c565b9250506020613e608582860161364c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ea482613327565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ed657613ed5613e6a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f2857607f821691505b602082108103613f3b57613f3a613ee1565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f9d6021836136f0565b9150613fa882613f41565b604082019050919050565b60006020820190508181036000830152613fcc81613f90565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061402f603d836136f0565b915061403a82613fd3565b604082019050919050565b6000602082019050818103600083015261405e81614022565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140c1602d836136f0565b91506140cc82614065565b604082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b600061410282613327565b915061410d83613327565b925082820261411b81613327565b9150828204841483151761413257614131613e6a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061417382613327565b915061417e83613327565b92508261418e5761418d614139565b5b828204905092915050565b60006141a482613327565b91506141af83613327565b92508282019050808211156141c7576141c6613e6a565b5b92915050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d617820737570706c79600082015250565b60006142036020836136f0565b915061420e826141cd565b602082019050919050565b60006020820190508181036000830152614232816141f6565b9050919050565b7f62617365546f6b656e5552492063616e6e6f7420626520656d70747900000000600082015250565b600061426f601c836136f0565b915061427a82614239565b602082019050919050565b6000602082019050818103600083015261429e81614262565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826142ca565b61431186836142ca565b95508019841693508086168417925050509392505050565b600061434461433f61433a84613327565b613874565b613327565b9050919050565b6000819050919050565b61435e83614329565b61437261436a8261434b565b8484546142d7565b825550505050565b600090565b61438761437a565b614392818484614355565b505050565b5b818110156143b6576143ab60008261437f565b600181019050614398565b5050565b601f8211156143fb576143cc816142a5565b6143d5846142ba565b810160208510156143e4578190505b6143f86143f0856142ba565b830182614397565b50505b505050565b600082821c905092915050565b600061441e60001984600802614400565b1980831691505092915050565b6000614437838361440d565b9150826002028217905092915050565b614450826136e5565b67ffffffffffffffff81111561446957614468613373565b5b6144738254613f10565b61447e8282856143ba565b600060209050601f8311600181146144b1576000841561449f578287015190505b6144a9858261442b565b865550614511565b601f1984166144bf866142a5565b60005b828110156144e7578489015182556001820191506020850194506020810190506144c2565b868310156145045784890151614500601f89168261440d565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600061452f826136e5565b6145398185614519565b9350614549818560208601613701565b80840191505092915050565b60006145618284614524565b915081905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006145a26018836136f0565b91506145ad8261456c565b602082019050919050565b600060208201905081810360008301526145d181614595565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146346029836136f0565b915061463f826145d8565b604082019050919050565b6000602082019050818103600083015261466381614627565b9050919050565b7f55524920717565727920666f72206e6f6e2d6578697374696e6720746f6b656e600082015250565b60006146a06020836136f0565b91506146ab8261466a565b602082019050919050565b600060208201905081810360008301526146cf81614693565b9050919050565b600081546146e381613f10565b6146ed8186614519565b94506001821660008114614708576001811461471d57614750565b60ff1983168652811515820286019350614750565b614726856142a5565b60005b8381101561474857815481890152600182019150602081019050614729565b838801955050505b50505092915050565b600061476582856146d6565b91506147718284614524565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147d96026836136f0565b91506147e48261477d565b604082019050919050565b60006020820190508181036000830152614808816147cc565b9050919050565b7f43616e6e6f74206d696e742c207075626c69632073616c65206973206469736160008201527f626c656400000000000000000000000000000000000000000000000000000000602082015250565b600061486b6024836136f0565b91506148768261480f565b604082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f43616e6e6f742070726f636565642e205265616368656420746865206375727260008201527f656e742073616c65206c696d6974000000000000000000000000000000000000602082015250565b60006148fd602e836136f0565b9150614908826148a1565b604082019050919050565b6000602082019050818103600083015261492c816148f0565b9050919050565b600061493e826138a0565b9050919050565b61494e81614933565b82525050565b600060608201905061496960008301866137b3565b6149766020830185614945565b614983604083018461384a565b949350505050565b60008151905061499a81613bfa565b92915050565b6000602082840312156149b6576149b561331d565b5b60006149c48482850161498b565b91505092915050565b7f7472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000614a03600f836136f0565b9150614a0e826149cd565b602082019050919050565b60006020820190508181036000830152614a32816149f6565b9050919050565b6000614a4482613327565b9150614a4f83613327565b9250828203905081811115614a6757614a66613e6a565b5b92915050565b60008160601b9050919050565b6000614a8582614a6d565b9050919050565b6000614a9782614a7a565b9050919050565b614aaf614aaa82613623565b614a8c565b82525050565b6000614ac18284614a9e565b60148201915081905092915050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b6000614b06600b836136f0565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f416c7265616479206d696e74656420616c6c6f776c697374206c696d69740000600082015250565b6000614b72601e836136f0565b9150614b7d82614b3c565b602082019050919050565b60006020820190508181036000830152614ba181614b65565b9050919050565b7f416c7265616479206d696e746564207075626c69632073616c65206c696d6974600082015250565b6000614bde6020836136f0565b9150614be982614ba8565b602082019050919050565b60006020820190508181036000830152614c0d81614bd1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c4a6020836136f0565b9150614c5582614c14565b602082019050919050565b60006020820190508181036000830152614c7981614c3d565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614cdc602a836136f0565b9150614ce782614c80565b604082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614d486019836136f0565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f53616c65206c696d69742065786365656473206d617820737570706c79000000600082015250565b6000614db4601d836136f0565b9150614dbf82614d7e565b602082019050919050565b60006020820190508181036000830152614de381614da7565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e466025836136f0565b9150614e5182614dea565b604082019050919050565b60006020820190508181036000830152614e7581614e39565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ed86024836136f0565b9150614ee382614e7c565b604082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f4d65726b6c65207472656520726f6f7420697320696e76616c69640000000000600082015250565b6000614f44601b836136f0565b9150614f4f82614f0e565b602082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f43616e6e6f742070726f636565642e20416c7265616479206d696e746564206160008201527f6c6c20746f6b656e730000000000000000000000000000000000000000000000602082015250565b6000614fd66029836136f0565b9150614fe182614f7a565b604082019050919050565b6000602082019050818103600083015261500581614fc9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006150426020836136f0565b915061504d8261500c565b602082019050919050565b6000602082019050818103600083015261507181615035565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006150ae601c836136f0565b91506150b982615078565b602082019050919050565b600060208201905081810360008301526150dd816150a1565b9050919050565b7f412062656e65666963696172792063616e6e6f74206265207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006151406024836136f0565b915061514b826150e4565b604082019050919050565b6000602082019050818103600083015261516f81615133565b9050919050565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b60006151ac601b836136f0565b91506151b782615176565b602082019050919050565b600060208201905081810360008301526151db8161519f565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006152186019836136f0565b9150615223826151e2565b602082019050919050565b600060208201905081810360008301526152478161520b565b9050919050565b7f412072656365697665722063616e6e6f74206265207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006152aa6021836136f0565b91506152b58261524e565b604082019050919050565b600060208201905081810360008301526152d98161529d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061533c6032836136f0565b9150615347826152e0565b604082019050919050565b6000602082019050818103600083015261536b8161532f565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061539982615372565b6153a3818561537d565b93506153b3818560208601613701565b6153bc81613362565b840191505092915050565b60006080820190506153dc60008301876137b3565b6153e960208301866137b3565b6153f6604083018561384a565b8181036060830152615408818461538e565b905095945050505050565b60008151905061542281613574565b92915050565b60006020828403121561543e5761543d61331d565b5b600061544c84828501615413565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205b8c56c485523e41813f76e68a9a069b2c08c2a953ec08657c4689e46006274964736f6c63430008170033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000d1e3e9e74462c88faecdb73d7185e17677584e000000000000000000000000083a0ccdf20fe4dbcec74c1c88b5df27a00c953840000000000000000000000003fab0bbaa03bceaf7c49e2b12877db0142be65fc0000000000000000000000000000000000000000000000000000000000000007546573742d43310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e46542d433100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d514c7371646854656154646e764d51395371366d5945424a74645333514664326a466b643146586a7a5a644b2f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Test-C1
Arg [1] : _symbol (string): NFT-C1
Arg [2] : _baseTokenURI (string): ipfs://QmQLsqdhTeaTdnvMQ9Sq6mYEBJtdS3QFd2jFkd1FXjzZdK/
Arg [3] : _tokenPrice (uint256): 1000000000
Arg [4] : _royaltiesReceiver (address): 0x0d1E3e9E74462c88fAECdB73d7185E17677584E0
Arg [5] : _mintBeneficiary10Percent (address): 0x83a0ccDf20Fe4dBCec74C1C88B5DF27a00C95384
Arg [6] : _mintToken (address): 0x3FAb0bBAa03BCEAF7C49E2b12877dB0142BE65FC

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [4] : 0000000000000000000000000d1e3e9e74462c88faecdb73d7185e17677584e0
Arg [5] : 00000000000000000000000083a0ccdf20fe4dbcec74c1c88b5df27a00c95384
Arg [6] : 0000000000000000000000003fab0bbaa03bceaf7c49e2b12877db0142be65fc
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 546573742d433100000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 4e46542d43310000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d514c7371646854656154646e764d51395371366d594542
Arg [13] : 4a74645333514664326a466b643146586a7a5a644b2f00000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.