MATIC Price: $0.58007 (+0.48%)
Gas: 32 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...458829172023-08-04 2:54:10321 days ago1691117650IN
0x1A26ee90...5D17AE115
0 MATIC0.02822711319.99900639
Safe Transfer Fr...458779852023-08-03 23:55:40321 days ago1691106940IN
0x1A26ee90...5D17AE115
0 MATIC0.02672842352.0511536
Safe Transfer Fr...458740682023-08-03 21:33:50321 days ago1691098430IN
0x1A26ee90...5D17AE115
0 MATIC0.02370633268.71222856
Safe Transfer Fr...458740682023-08-03 21:33:50321 days ago1691098430IN
0x1A26ee90...5D17AE115
0 MATIC0.02040116268.71222856
Safe Transfer Fr...458740682023-08-03 21:33:50321 days ago1691098430IN
0x1A26ee90...5D17AE115
0 MATIC0.0237031268.71222856
Safe Transfer Fr...458685592023-08-03 18:13:53322 days ago1691086433IN
0x1A26ee90...5D17AE115
0 MATIC0.03745616438.4838048
Safe Transfer Fr...458685132023-08-03 18:12:17322 days ago1691086337IN
0x1A26ee90...5D17AE115
0 MATIC0.0341086399.3513868
Safe Transfer Fr...458684992023-08-03 18:11:47322 days ago1691086307IN
0x1A26ee90...5D17AE115
0 MATIC0.02763415323.54711469
Safe Transfer Fr...458683962023-08-03 18:08:07322 days ago1691086087IN
0x1A26ee90...5D17AE115
0 MATIC0.02918358341.68814713
Safe Transfer Fr...458683962023-08-03 18:08:07322 days ago1691086087IN
0x1A26ee90...5D17AE115
0 MATIC0.03010006352.46802388
Safe Transfer Fr...458683832023-08-03 18:07:39322 days ago1691086059IN
0x1A26ee90...5D17AE115
0 MATIC0.02885726337.82001674
Safe Transfer Fr...458683832023-08-03 18:07:39322 days ago1691086059IN
0x1A26ee90...5D17AE115
0 MATIC0.02884915337.82001674
Safe Transfer Fr...458683492023-08-03 18:06:27322 days ago1691085987IN
0x1A26ee90...5D17AE115
0 MATIC0.03205028363.29132266
Safe Transfer Fr...458683492023-08-03 18:06:27322 days ago1691085987IN
0x1A26ee90...5D17AE115
0 MATIC0.02757744363.29132266
Safe Transfer Fr...458683272023-08-03 18:05:41322 days ago1691085941IN
0x1A26ee90...5D17AE115
0 MATIC0.04422844448.26888839
Safe Transfer Fr...458683272023-08-03 18:05:41322 days ago1691085941IN
0x1A26ee90...5D17AE115
0 MATIC0.03954717448.26888839
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04392469514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04392469514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04392469514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04392469514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04392469514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04930073514.20818884
Safe Transfer Fr...455569302023-07-26 22:53:53329 days ago1690412033IN
0x1A26ee90...5D17AE115
0 MATIC0.04391852514.20818884
Safe Transfer Fr...455569292023-07-26 22:53:51329 days ago1690412031IN
0x1A26ee90...5D17AE115
0 MATIC0.04340628508.13940498
Safe Transfer Fr...455569242023-07-26 22:53:39329 days ago1690412019IN
0x1A26ee90...5D17AE115
0 MATIC0.04350874509.33888933
View all transactions

Latest 2 internal transactions

Parent Transaction Hash Block From To Value
375817032023-01-02 12:38:08535 days ago1672663088
0x1A26ee90...5D17AE115
690 MATIC
363020862022-12-01 17:23:40567 days ago1669915420
0x1A26ee90...5D17AE115
2,640 MATIC
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DMShopNFT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : DMShopNFT.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

/**
 * @title DMShopNFT
 * @author Artiffine
 */

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';

import './IIdentityVerifier.sol';

contract DMShopNFT is ERC721Enumerable, Ownable {
    uint256 public immutable MAX_SUPPLY_PER_LEVEL;
    uint256 public immutable NO_LEVELS;

    uint256 public pricePerToken;
    bool public isMintOpen;
    string public contractURI;
    address public verifierAddress;

    string private _baseURIextended;
    uint256[] private _mintedPerLevel;

    event MintOpened(bool open);
    event Purchased(address indexed _buyer, uint256 indexed _tokenId, string indexed _data);

    /**
     * @dev Price, max supply per level, and number of levels are set only once.
     *
     * @param _name Name of the token.
     * @param _symbol Symbol of the token.
     * @param _pricePerToken Price of one token in native currency, (note: 1 ether = 10**18).
     * @param _maxSupplyPerLevel Max supply of tokens at each level.
     * @param _noLevels Number of token levels.
     * @param _verifier Address of IIdentityVerifier contract
     */
    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _pricePerToken,
        uint256 _maxSupplyPerLevel,
        uint256 _noLevels,
        address _verifier
    ) ERC721(_name, _symbol) {
        require(bytes(_name).length > 0, '_name cannot be empty');
        require(bytes(_symbol).length > 0, '_symbol cannot be empty');
        require(_pricePerToken > 0, '_pricePerToken cannot be zero');
        require(_maxSupplyPerLevel > 0, '_maxSupplyPerLevel cannot be zero');
        require(_noLevels > 0, '_noLevels cannot be zero');
        require(_verifier != address(0), '_verifier cannot be address zero');

        pricePerToken = _pricePerToken;
        MAX_SUPPLY_PER_LEVEL = _maxSupplyPerLevel;
        NO_LEVELS = _noLevels;
        _mintedPerLevel = new uint256[](NO_LEVELS);
        verifierAddress = _verifier;
    }

    /* ============ External Owner Functions ============ */

    /**
     * @notice Free mints tokens to specified address, callable only by the owner.
     *
     * @param _tokens Array of NO_LEVELS values, each corresponding to an amount of tokens
     * to mint at the level of an array index of that value.
     * @param _to Address that will receive minted tokens.
     * @param _data Optional data that will be emitted for off-chain computation on succesfull mint.
     */
    function freeMint(uint256[] memory _tokens, address _to, string memory _data) external onlyOwner {
        require(_to != address(0), 'Cannot mint to address zero');
        uint256 length = _tokens.length;
        require(length == NO_LEVELS, '_tokens list should have NO_LEVELS values');
        uint256 numberOfTokens = 0;
        for (uint256 i = 0; i < length; i++) {
            numberOfTokens += _tokens[i];
        }
        require(numberOfTokens > 0, 'Zero tokens specified');
        _mintTokens(_tokens, _to, _data);
    }

    /**
     * @notice Opens or closes minting, callable only by the owner.
     *
     * @param _open Bool value state of the minting.
     */
    function setMintOpen(bool _open) external onlyOwner {
        require(_open != isMintOpen, 'Cannot set same value');
        isMintOpen = _open;
        emit MintOpened(_open);
    }

    /**
     * @notice Sets base path for token metadata, callable only by the owner.
     *
     * @param baseURI_ Base URI of the token metadata
     */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        _baseURIextended = baseURI_;
    }

    /**
     * @notice Sets contract level metadata URI. See {{https://docs.opensea.io/docs/contract-level-metadata}}. Callable only by the owner.
     *
     * @param contractUri_ URI of the contract metadata
     */
    function setContractURI(string memory contractUri_) external onlyOwner {
        contractURI = contractUri_;
    }

    /**
     * @notice Sets price of one token, callable only by the owner.
     *
     * @param _pricePerToken Price value in native currency, (note: 1 ether = 10**18).
     */
    function setPricePerToken(uint256 _pricePerToken) external onlyOwner {
        pricePerToken = _pricePerToken;
    }

    /**
     * @notice Sets address of verifier contract, callable only by the owner.
     *
     * @param _verifier Address of IIdentityVerifier contract
     */
    function setVerifierAddress(address _verifier) public onlyOwner {
        require(_verifier != address(0), 'Cannot be address zero');
        verifierAddress = _verifier;
    }

    /**
     * @notice Transfers all native currency to the owner, callable only by the owner.
     */
    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, 'Contract balance must be > 0');
        (bool success, ) = owner().call{value: balance}('');
        require(success, 'Transfer failed');
    }

    /**
     * @notice Recovers ERC20 token back to the owner, callable only by the owner.
     */
    function recoverToken(IERC20 _token) external onlyOwner {
        require(address(_token) != address(0), 'Token is address zero');
        uint256 balance = _token.balanceOf(address(this));
        require(balance > 0, 'Token balance must be > 0');
        _token.transfer(owner(), balance);
    }

    /* ============ External Functions ============ */

    /**
     * @notice Mints tokens to specified address. Only users with valid transaction ID and its signature can call this method.
     *
     * @param _tokens Array of NO_LEVELS values, each corresponding to an amount of tokens
     * to mint at the level of an array index of that value.
     * @param _to Address that will receive minted tokens.
     * @param _transactionId Transaction ID obtained from KYC server
     * @param _data Optional data that will be emitted for off-chain computation on succesfull mint.
     */
    function mint(uint256[] memory _tokens, address _to, string memory _transactionId, bytes memory _data) external payable {
        require(isMintOpen, 'Minting is not open');
        require(_to != address(0), 'Cannot mint to address zero');
        uint256 length = _tokens.length;
        require(length == NO_LEVELS, '_tokens list should have NO_LEVELS values');
        uint256 numberOfTokens = 0;
        for (uint256 i = 0; i < length; i++) {
            numberOfTokens += _tokens[i];
        }
        require(numberOfTokens > 0, 'Zero tokens specified');
        require(msg.value == numberOfTokens * pricePerToken, 'Value paid not exact');

        bool isVerified = IIdentityVerifier(verifierAddress).verify(_transactionId, _data);
        require(isVerified, '_transactionId does not pass verification check');

        _mintTokens(_tokens, _to, _transactionId);
    }

    /* ============ External View Functions ============ */

    /**
     * @notice Returns level of the specified token.
     *
     * @param _tokenId Token id.
     *
     * @return level_ Level of the token.
     */
    function getLevelOfTokenById(uint256 _tokenId) public view returns (uint256 level_) {
        _requireMinted(_tokenId);
        return _tokenId / MAX_SUPPLY_PER_LEVEL;
    }

    /**
     * @notice Returns minted supply of tokens at specified level.
     *
     * @param _levelId Level of the tokens.
     */
    function getTotalSupplyOfLevel(uint256 _levelId) external view returns (uint256) {
        return _mintedPerLevel[_levelId];
    }

    /**
     * @notice Returns minted supply of tokens at specified level.
     *
     * @dev Always returns `MAX_SUPPLY_PER_LEVEL`.
     */
    function getMaxSupplyOfLevel(uint256) external view returns (uint256) {
        return MAX_SUPPLY_PER_LEVEL;
    }

    /* ============ Internal Functions ============ */

    /**
     * @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 override returns (string memory) {
        return _baseURIextended;
    }

    /**
     * @dev Mints tokens and asserts that max supply was not breached.
     * Contracts calling mint function should implement IERC721Receiver interface.
     */
    function _mintTokens(uint256[] memory _tokens, address _to, string memory _data) internal {
        bool dataIsEmpty = bytes(_data).length == 0;
        uint256 length = _tokens.length;
        for (uint256 i = 0; i < length; i++) {
            uint256 mintedPerLevel = _mintedPerLevel[i];
            require(mintedPerLevel + _tokens[i] <= MAX_SUPPLY_PER_LEVEL, 'Minting supply exceeded');
            _mintedPerLevel[i] += _tokens[i];
            for (uint256 j = 0; j < _tokens[i]; j++) {
                uint256 nextTokenId = i * MAX_SUPPLY_PER_LEVEL + mintedPerLevel + j;
                _safeMint(_to, nextTokenId);
                if (!dataIsEmpty) emit Purchased(_to, nextTokenId, _data);
            }
            assert(_mintedPerLevel[i] <= MAX_SUPPLY_PER_LEVEL);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @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 {}
}

File 5 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 16 : 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 14 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 16 of 16 : IIdentityVerifier.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

/**
 * @title IIdentityVerifier
 * @author Artiffine
 */

import '@openzeppelin/contracts/utils/introspection/IERC165.sol';

interface IIdentityVerifier is IERC165 {
    /**
     *  @dev Verify that the buyer can purchase
     *
     *  @param _transactionId   The ID associated with this verification
     *  @param _data            Additional data needed to verify
     *
     */
    function verify(string memory _transactionId, bytes calldata _data) external returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "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":"uint256","name":"_pricePerToken","type":"uint256"},{"internalType":"uint256","name":"_maxSupplyPerLevel","type":"uint256"},{"internalType":"uint256","name":"_noLevels","type":"uint256"},{"internalType":"address","name":"_verifier","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"open","type":"bool"}],"name":"MintOpened","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"_data","type":"string"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY_PER_LEVEL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NO_LEVELS","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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_data","type":"string"}],"name":"freeMint","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"getLevelOfTokenById","outputs":[{"internalType":"uint256","name":"level_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getMaxSupplyOfLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_levelId","type":"uint256"}],"name":"getTotalSupplyOfLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_transactionId","type":"string"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"pricePerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractUri_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerToken","type":"uint256"}],"name":"setPricePerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_verifier","type":"address"}],"name":"setVerifierAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verifierAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b50604051620060b0380380620060b083398181016040528101906200003791906200068e565b858581600090816200004a9190620009a9565b5080600190816200005c9190620009a9565b5050506200007f620000736200031c60201b60201c565b6200032460201b60201c565b6000865111620000c6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000bd9062000af1565b60405180910390fd5b60008551116200010d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001049062000b63565b60405180910390fd5b6000841162000153576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200014a9062000bd5565b60405180910390fd5b6000831162000199576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001909062000c6d565b60405180910390fd5b60008211620001df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001d69062000cdf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000251576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002489062000d51565b60405180910390fd5b83600b8190555082608081815250508160a0818152505060a05167ffffffffffffffff8111156200028757620002866200048a565b5b604051908082528060200260200182016040528015620002b65781602001602082028036833780820191505090505b5060109080519060200190620002ce929190620003ea565b5080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505062000d73565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000429579160200282015b82811115620004285782518255916020019190600101906200040b565b5b5090506200043891906200043c565b5090565b5b80821115620004575760008160009055506001016200043d565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004c48262000479565b810181811067ffffffffffffffff82111715620004e657620004e56200048a565b5b80604052505050565b6000620004fb6200045b565b9050620005098282620004b9565b919050565b600067ffffffffffffffff8211156200052c576200052b6200048a565b5b620005378262000479565b9050602081019050919050565b60005b838110156200056457808201518184015260208101905062000547565b60008484015250505050565b60006200058762000581846200050e565b620004ef565b905082815260208101848484011115620005a657620005a562000474565b5b620005b384828562000544565b509392505050565b600082601f830112620005d357620005d26200046f565b5b8151620005e584826020860162000570565b91505092915050565b6000819050919050565b6200060381620005ee565b81146200060f57600080fd5b50565b6000815190506200062381620005f8565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006568262000629565b9050919050565b620006688162000649565b81146200067457600080fd5b50565b60008151905062000688816200065d565b92915050565b60008060008060008060c08789031215620006ae57620006ad62000465565b5b600087015167ffffffffffffffff811115620006cf57620006ce6200046a565b5b620006dd89828a01620005bb565b965050602087015167ffffffffffffffff8111156200070157620007006200046a565b5b6200070f89828a01620005bb565b95505060406200072289828a0162000612565b94505060606200073589828a0162000612565b93505060806200074889828a0162000612565b92505060a06200075b89828a0162000677565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007bb57607f821691505b602082108103620007d157620007d062000773565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200083b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007fc565b620008478683620007fc565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200088a620008846200087e84620005ee565b6200085f565b620005ee565b9050919050565b6000819050919050565b620008a68362000869565b620008be620008b58262000891565b84845462000809565b825550505050565b600090565b620008d5620008c6565b620008e28184846200089b565b505050565b5b818110156200090a57620008fe600082620008cb565b600181019050620008e8565b5050565b601f82111562000959576200092381620007d7565b6200092e84620007ec565b810160208510156200093e578190505b620009566200094d85620007ec565b830182620008e7565b50505b505050565b600082821c905092915050565b60006200097e600019846008026200095e565b1980831691505092915050565b60006200099983836200096b565b9150826002028217905092915050565b620009b48262000768565b67ffffffffffffffff811115620009d057620009cf6200048a565b5b620009dc8254620007a2565b620009e98282856200090e565b600060209050601f83116001811462000a21576000841562000a0c578287015190505b62000a1885826200098b565b86555062000a88565b601f19841662000a3186620007d7565b60005b8281101562000a5b5784890151825560018201915060208501945060208101905062000a34565b8683101562000a7b578489015162000a77601f8916826200096b565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f5f6e616d652063616e6e6f7420626520656d7074790000000000000000000000600082015250565b600062000ad960158362000a90565b915062000ae68262000aa1565b602082019050919050565b6000602082019050818103600083015262000b0c8162000aca565b9050919050565b7f5f73796d626f6c2063616e6e6f7420626520656d707479000000000000000000600082015250565b600062000b4b60178362000a90565b915062000b588262000b13565b602082019050919050565b6000602082019050818103600083015262000b7e8162000b3c565b9050919050565b7f5f7072696365506572546f6b656e2063616e6e6f74206265207a65726f000000600082015250565b600062000bbd601d8362000a90565b915062000bca8262000b85565b602082019050919050565b6000602082019050818103600083015262000bf08162000bae565b9050919050565b7f5f6d6178537570706c795065724c6576656c2063616e6e6f74206265207a657260008201527f6f00000000000000000000000000000000000000000000000000000000000000602082015250565b600062000c5560218362000a90565b915062000c628262000bf7565b604082019050919050565b6000602082019050818103600083015262000c888162000c46565b9050919050565b7f5f6e6f4c6576656c732063616e6e6f74206265207a65726f0000000000000000600082015250565b600062000cc760188362000a90565b915062000cd48262000c8f565b602082019050919050565b6000602082019050818103600083015262000cfa8162000cb8565b9050919050565b7f5f76657269666965722063616e6e6f742062652061646472657373207a65726f600082015250565b600062000d3960208362000a90565b915062000d468262000d01565b602082019050919050565b6000602082019050818103600083015262000d6c8162000d2a565b9050919050565b60805160a0516152e662000dca60003960008181610bb3015281816115d7015261180b015260008181610f8e01528181610fc1015281816115fd01528181611e1b01528181611f1b0152611fdc01526152e66000f3fe60806040526004361061021a5760003560e01c80636352211e11610123578063a22cb465116100ab578063e8a3d4851161006f578063e8a3d485146107f5578063e985e9c514610820578063f2ad2bd51461085d578063f2fde38b14610879578063f8004d31146108a25761021a565b8063a22cb465146106fe578063b88d4fde14610727578063c87b56dd14610750578063c95bc4371461078d578063dc588644146107b85761021a565b8063853828b6116100f2578063853828b61461063f5780638da5cb5b14610656578063938e3d7b1461068157806395d89b41146106aa5780639be65a60146106d55761021a565b80636352211e1461058357806370a08231146105c0578063715018a6146105fd5780637b1b1de6146106145761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e1461048c5780634f6ccce7146104b55780635094f4a0146104f257806352a8cc341461052f57806355f804b31461055a5761021a565b806323b872dd146103c05780632bf2762f146103e95780632f745c59146104125780633c807c9e1461044f5761021a565b80630c1e938e116101ed5780630c1e938e146102ed57806317e955261461031657806318160ddd1461033f57806318bdffbb1461036a57806319908016146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613438565b6108cb565b6040516102539190613480565b60405180910390f35b34801561026857600080fd5b50610271610945565b60405161027e919061352b565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613583565b6109d7565b6040516102bb91906135f1565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613638565b610a1d565b005b3480156102f957600080fd5b50610314600480360381019061030f9190613875565b610b34565b005b34801561032257600080fd5b5061033d60048036038101906103389190613900565b610cb0565b005b34801561034b57600080fd5b50610354610d6b565b604051610361919061393c565b60405180910390f35b34801561037657600080fd5b5061037f610d78565b60405161038c91906135f1565b60405180910390f35b3480156103a157600080fd5b506103aa610d9e565b6040516103b79190613480565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613957565b610db1565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613583565b610e11565b005b34801561041e57600080fd5b5061043960048036038101906104349190613638565b610e23565b604051610446919061393c565b60405180910390f35b34801561045b57600080fd5b5061047660048036038101906104719190613583565b610ec8565b604051610483919061393c565b60405180910390f35b34801561049857600080fd5b506104b360048036038101906104ae9190613957565b610ef0565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190613583565b610f10565b6040516104e9919061393c565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190613583565b610f81565b604051610526919061393c565b60405180910390f35b34801561053b57600080fd5b50610544610fbf565b604051610551919061393c565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c91906139aa565b610fe3565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613583565b610ffe565b6040516105b791906135f1565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613900565b611084565b6040516105f4919061393c565b60405180910390f35b34801561060957600080fd5b5061061261113b565b005b34801561062057600080fd5b5061062961114f565b604051610636919061393c565b60405180910390f35b34801561064b57600080fd5b50610654611155565b005b34801561066257600080fd5b5061066b61125c565b60405161067891906135f1565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a391906139aa565b611286565b005b3480156106b657600080fd5b506106bf6112a1565b6040516106cc919061352b565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613a31565b611333565b005b34801561070a57600080fd5b5061072560048036038101906107209190613a8a565b6114f5565b005b34801561073357600080fd5b5061074e60048036038101906107499190613b6b565b61150b565b005b34801561075c57600080fd5b5061077760048036038101906107729190613583565b61156d565b604051610784919061352b565b60405180910390f35b34801561079957600080fd5b506107a26115d5565b6040516107af919061393c565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613583565b6115f9565b6040516107ec919061393c565b60405180910390f35b34801561080157600080fd5b5061080a611623565b604051610817919061352b565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613bee565b6116b1565b6040516108549190613480565b60405180910390f35b61087760048036038101906108729190613c2e565b611745565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613900565b611a3d565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190613ce9565b611ac0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093e575061093d82611b71565b5b9050919050565b60606000805461095490613d45565b80601f016020809104026020016040519081016040528092919081815260200182805461098090613d45565b80156109cd5780601f106109a2576101008083540402835291602001916109cd565b820191906000526020600020905b8154815290600101906020018083116109b057829003601f168201915b5050505050905090565b60006109e282611c53565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2882610ffe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613de8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611c9e565b73ffffffffffffffffffffffffffffffffffffffff161480610ae65750610ae581610ae0611c9e565b6116b1565b5b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c90613e7a565b60405180910390fd5b610b2f8383611ca6565b505050565b610b3c611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba290613ee6565b60405180910390fd5b6000835190507f00000000000000000000000000000000000000000000000000000000000000008114610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90613f78565b60405180910390fd5b6000805b82811015610c5a57858181518110610c3257610c31613f98565b5b602002602001015182610c459190613ff6565b91508080610c529061402a565b915050610c17565b5060008111610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c95906140be565b60405180910390fd5b610ca9858585611ddd565b5050505050565b610cb8611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e9061412a565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b610dc2610dbc611c9e565b82612045565b610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df8906141bc565b60405180910390fd5b610e0c8383836120da565b505050565b610e19611d5f565b80600b8190555050565b6000610e2e83611084565b8210610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e669061424e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600060108281548110610ede57610edd613f98565b5b90600052602060002001549050919050565b610f0b8383836040518060200160405280600081525061150b565b505050565b6000610f1a610d6b565b8210610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f52906142e0565b60405180910390fd5b60088281548110610f6f57610f6e613f98565b5b90600052602060002001549050919050565b6000610f8c82611c53565b7f000000000000000000000000000000000000000000000000000000000000000082610fb8919061432f565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610feb611d5f565b80600f9081610ffa919061450c565b5050565b60008061100a836123d3565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110729061462a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb906146bc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611143611d5f565b61114d6000612410565b565b600b5481565b61115d611d5f565b6000479050600081116111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614728565b60405180910390fd5b60006111af61125c565b73ffffffffffffffffffffffffffffffffffffffff16826040516111d290614779565b60006040518083038185875af1925050503d806000811461120f576040519150601f19603f3d011682016040523d82523d6000602084013e611214565b606091505b5050905080611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f906147da565b60405180910390fd5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61128e611d5f565b80600d908161129d919061450c565b5050565b6060600180546112b090613d45565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90613d45565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b5050505050905090565b61133b611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190614846565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113e591906135f1565b602060405180830381865afa158015611402573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611426919061487b565b90506000811161146b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611462906148f4565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61148f61125c565b836040518363ffffffff1660e01b81526004016114ad929190614914565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190614952565b505050565b611507611500611c9e565b83836124d6565b5050565b61151c611516611c9e565b83612045565b61155b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611552906141bc565b60405180910390fd5b61156784848484612642565b50505050565b606061157882611c53565b600061158261269e565b905060008151116115a257604051806020016040528060008152506115cd565b806115ac84612730565b6040516020016115bd9291906149bb565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f00000000000000000000000000000000000000000000000000000000000000009050919050565b600d805461163090613d45565b80601f016020809104026020016040519081016040528092919081815260200182805461165c90613d45565b80156116a95780601f1061167e576101008083540402835291602001916116a9565b820191906000526020600020905b81548152906001019060200180831161168c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff16611794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b90614a2b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90613ee6565b60405180910390fd5b6000845190507f0000000000000000000000000000000000000000000000000000000000000000811461186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186290613f78565b60405180910390fd5b6000805b828110156118b25786818151811061188a57611889613f98565b5b60200260200101518261189d9190613ff6565b915080806118aa9061402a565b91505061186f565b50600081116118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed906140be565b60405180910390fd5b600b54816119049190614a4b565b3414611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90614ad9565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633d9ffad586866040518363ffffffff1660e01b81526004016119a4929190614b4e565b6020604051808303816000875af11580156119c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e79190614952565b905080611a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2090614bf7565b60405180910390fd5b611a34878787611ddd565b50505050505050565b611a45611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90614c89565b60405180910390fd5b611abd81612410565b50565b611ac8611d5f565b600c60009054906101000a900460ff16151581151503611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614cf5565b60405180910390fd5b80600c60006101000a81548160ff0219169083151502179055507fc5dae02a094024807455da32d9f397195d1d4b71e0fd62c8f014afe5a428a63681604051611b669190613480565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c4c5750611c4b826127fe565b5b9050919050565b611c5c81612868565b611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c929061462a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d1983610ffe565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d67611c9e565b73ffffffffffffffffffffffffffffffffffffffff16611d8561125c565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614d61565b60405180910390fd5b565b600080825114905060008451905060005b8181101561203d57600060108281548110611e0c57611e0b613f98565b5b906000526020600020015490507f0000000000000000000000000000000000000000000000000000000000000000878381518110611e4d57611e4c613f98565b5b602002602001015182611e609190613ff6565b1115611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9890614dcd565b60405180910390fd5b868281518110611eb457611eb3613f98565b5b602002602001015160108381548110611ed057611ecf613f98565b5b906000526020600020016000828254611ee99190613ff6565b9250508190555060005b878381518110611f0657611f05613f98565b5b6020026020010151811015611fd957600081837f000000000000000000000000000000000000000000000000000000000000000086611f459190614a4b565b611f4f9190613ff6565b611f599190613ff6565b9050611f6588826128a9565b85611fc55786604051611f789190614ded565b6040518091039020818973ffffffffffffffffffffffffffffffffffffffff167f59d22f0ec9589b7a809ac3ab066e0dc96f05443380d1e565b7cc68a99de9697560405160405180910390a45b508080611fd19061402a565b915050611ef3565b507f00000000000000000000000000000000000000000000000000000000000000006010838154811061200f5761200e613f98565b5b9060005260206000200154111561202957612028614e04565b5b5080806120359061402a565b915050611dee565b505050505050565b60008061205183610ffe565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612093575061209281856116b1565b5b806120d157508373ffffffffffffffffffffffffffffffffffffffff166120b9846109d7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120fa82610ffe565b73ffffffffffffffffffffffffffffffffffffffff1614612150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214790614ea5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b690614f37565b60405180910390fd5b6121cc83838360016128c7565b8273ffffffffffffffffffffffffffffffffffffffff166121ec82610ffe565b73ffffffffffffffffffffffffffffffffffffffff1614612242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223990614ea5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ce8383836001612a25565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253b90614fa3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126359190613480565b60405180910390a3505050565b61264d8484846120da565b61265984848484612a2b565b612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90615035565b60405180910390fd5b50505050565b6060600f80546126ad90613d45565b80601f01602080910402602001604051908101604052809291908181526020018280546126d990613d45565b80156127265780601f106126fb57610100808354040283529160200191612726565b820191906000526020600020905b81548152906001019060200180831161270957829003601f168201915b5050505050905090565b60606000600161273f84612bb2565b01905060008167ffffffffffffffff81111561275e5761275d61367d565b5b6040519080825280601f01601f1916602001820160405280156127905781602001600182028036833780820191505090505b509050600082602001820190505b6001156127f3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816127e7576127e6614300565b5b0494506000850361279e575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661288a836123d3565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6128c3828260405180602001604052806000815250612d05565b5050565b6128d384848484612d60565b6001811115612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e906150c7565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361295e5761295981612e86565b61299d565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461299c5761299b8582612ecf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036129df576129da8161303c565b612a1e565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a1d57612a1c848261310d565b5b5b5050505050565b50505050565b6000612a4c8473ffffffffffffffffffffffffffffffffffffffff1661318c565b15612ba5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a75611c9e565b8786866040518563ffffffff1660e01b8152600401612a9794939291906150e7565b6020604051808303816000875af1925050508015612ad357506040513d601f19601f82011682018060405250810190612ad09190615148565b60015b612b55573d8060008114612b03576040519150601f19603f3d011682016040523d82523d6000602084013e612b08565b606091505b506000815103612b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4490615035565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612baa565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c10577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c0657612c05614300565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c4d576d04ee2d6d415b85acef81000000008381612c4357612c42614300565b5b0492506020810190505b662386f26fc100008310612c7c57662386f26fc100008381612c7257612c71614300565b5b0492506010810190505b6305f5e1008310612ca5576305f5e1008381612c9b57612c9a614300565b5b0492506008810190505b6127108310612cca576127108381612cc057612cbf614300565b5b0492506004810190505b60648310612ced5760648381612ce357612ce2614300565b5b0492506002810190505b600a8310612cfc576001810190505b80915050919050565b612d0f83836131af565b612d1c6000848484612a2b565b612d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5290615035565b60405180910390fd5b505050565b6001811115612e8057600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612df45780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dec9190615175565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e7f5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e779190613ff6565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612edc84611084565b612ee69190615175565b9050600060076000848152602001908152602001600020549050818114612fcb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130509190615175565b90506000600960008481526020019081526020016000205490506000600883815481106130805761307f613f98565b5b9060005260206000200154905080600883815481106130a2576130a1613f98565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130f1576130f06151a9565b5b6001900381819060005260206000200160009055905550505050565b600061311883611084565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361321e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321590615224565b60405180910390fd5b61322781612868565b15613267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325e90615290565b60405180910390fd5b6132756000838360016128c7565b61327e81612868565b156132be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b590615290565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133c8600083836001612a25565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613415816133e0565b811461342057600080fd5b50565b6000813590506134328161340c565b92915050565b60006020828403121561344e5761344d6133d6565b5b600061345c84828501613423565b91505092915050565b60008115159050919050565b61347a81613465565b82525050565b60006020820190506134956000830184613471565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134d55780820151818401526020810190506134ba565b60008484015250505050565b6000601f19601f8301169050919050565b60006134fd8261349b565b61350781856134a6565b93506135178185602086016134b7565b613520816134e1565b840191505092915050565b6000602082019050818103600083015261354581846134f2565b905092915050565b6000819050919050565b6135608161354d565b811461356b57600080fd5b50565b60008135905061357d81613557565b92915050565b600060208284031215613599576135986133d6565b5b60006135a78482850161356e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135db826135b0565b9050919050565b6135eb816135d0565b82525050565b600060208201905061360660008301846135e2565b92915050565b613615816135d0565b811461362057600080fd5b50565b6000813590506136328161360c565b92915050565b6000806040838503121561364f5761364e6133d6565b5b600061365d85828601613623565b925050602061366e8582860161356e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136b5826134e1565b810181811067ffffffffffffffff821117156136d4576136d361367d565b5b80604052505050565b60006136e76133cc565b90506136f382826136ac565b919050565b600067ffffffffffffffff8211156137135761371261367d565b5b602082029050602081019050919050565b600080fd5b600061373c613737846136f8565b6136dd565b9050808382526020820190506020840283018581111561375f5761375e613724565b5b835b818110156137885780613774888261356e565b845260208401935050602081019050613761565b5050509392505050565b600082601f8301126137a7576137a6613678565b5b81356137b7848260208601613729565b91505092915050565b600080fd5b600067ffffffffffffffff8211156137e0576137df61367d565b5b6137e9826134e1565b9050602081019050919050565b82818337600083830152505050565b6000613818613813846137c5565b6136dd565b905082815260208101848484011115613834576138336137c0565b5b61383f8482856137f6565b509392505050565b600082601f83011261385c5761385b613678565b5b813561386c848260208601613805565b91505092915050565b60008060006060848603121561388e5761388d6133d6565b5b600084013567ffffffffffffffff8111156138ac576138ab6133db565b5b6138b886828701613792565b93505060206138c986828701613623565b925050604084013567ffffffffffffffff8111156138ea576138e96133db565b5b6138f686828701613847565b9150509250925092565b600060208284031215613916576139156133d6565b5b600061392484828501613623565b91505092915050565b6139368161354d565b82525050565b6000602082019050613951600083018461392d565b92915050565b6000806000606084860312156139705761396f6133d6565b5b600061397e86828701613623565b935050602061398f86828701613623565b92505060406139a08682870161356e565b9150509250925092565b6000602082840312156139c0576139bf6133d6565b5b600082013567ffffffffffffffff8111156139de576139dd6133db565b5b6139ea84828501613847565b91505092915050565b60006139fe826135d0565b9050919050565b613a0e816139f3565b8114613a1957600080fd5b50565b600081359050613a2b81613a05565b92915050565b600060208284031215613a4757613a466133d6565b5b6000613a5584828501613a1c565b91505092915050565b613a6781613465565b8114613a7257600080fd5b50565b600081359050613a8481613a5e565b92915050565b60008060408385031215613aa157613aa06133d6565b5b6000613aaf85828601613623565b9250506020613ac085828601613a75565b9150509250929050565b600067ffffffffffffffff821115613ae557613ae461367d565b5b613aee826134e1565b9050602081019050919050565b6000613b0e613b0984613aca565b6136dd565b905082815260208101848484011115613b2a57613b296137c0565b5b613b358482856137f6565b509392505050565b600082601f830112613b5257613b51613678565b5b8135613b62848260208601613afb565b91505092915050565b60008060008060808587031215613b8557613b846133d6565b5b6000613b9387828801613623565b9450506020613ba487828801613623565b9350506040613bb58782880161356e565b925050606085013567ffffffffffffffff811115613bd657613bd56133db565b5b613be287828801613b3d565b91505092959194509250565b60008060408385031215613c0557613c046133d6565b5b6000613c1385828601613623565b9250506020613c2485828601613623565b9150509250929050565b60008060008060808587031215613c4857613c476133d6565b5b600085013567ffffffffffffffff811115613c6657613c656133db565b5b613c7287828801613792565b9450506020613c8387828801613623565b935050604085013567ffffffffffffffff811115613ca457613ca36133db565b5b613cb087828801613847565b925050606085013567ffffffffffffffff811115613cd157613cd06133db565b5b613cdd87828801613b3d565b91505092959194509250565b600060208284031215613cff57613cfe6133d6565b5b6000613d0d84828501613a75565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5d57607f821691505b602082108103613d7057613d6f613d16565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dd26021836134a6565b9150613ddd82613d76565b604082019050919050565b60006020820190508181036000830152613e0181613dc5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e64603d836134a6565b9150613e6f82613e08565b604082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b7f43616e6e6f74206d696e7420746f2061646472657373207a65726f0000000000600082015250565b6000613ed0601b836134a6565b9150613edb82613e9a565b602082019050919050565b60006020820190508181036000830152613eff81613ec3565b9050919050565b7f5f746f6b656e73206c6973742073686f756c642068617665204e4f5f4c45564560008201527f4c532076616c7565730000000000000000000000000000000000000000000000602082015250565b6000613f626029836134a6565b9150613f6d82613f06565b604082019050919050565b60006020820190508181036000830152613f9181613f55565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140018261354d565b915061400c8361354d565b925082820190508082111561402457614023613fc7565b5b92915050565b60006140358261354d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361406757614066613fc7565b5b600182019050919050565b7f5a65726f20746f6b656e73207370656369666965640000000000000000000000600082015250565b60006140a86015836134a6565b91506140b382614072565b602082019050919050565b600060208201905081810360008301526140d78161409b565b9050919050565b7f43616e6e6f742062652061646472657373207a65726f00000000000000000000600082015250565b60006141146016836134a6565b915061411f826140de565b602082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006141a6602d836134a6565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614238602b836134a6565b9150614243826141dc565b604082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142ca602c836134a6565b91506142d58261426e565b604082019050919050565b600060208201905081810360008301526142f9816142bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061433a8261354d565b91506143458361354d565b92508261435557614354614300565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143c27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614385565b6143cc8683614385565b95508019841693508086168417925050509392505050565b6000819050919050565b60006144096144046143ff8461354d565b6143e4565b61354d565b9050919050565b6000819050919050565b614423836143ee565b61443761442f82614410565b848454614392565b825550505050565b600090565b61444c61443f565b61445781848461441a565b505050565b5b8181101561447b57614470600082614444565b60018101905061445d565b5050565b601f8211156144c05761449181614360565b61449a84614375565b810160208510156144a9578190505b6144bd6144b585614375565b83018261445c565b50505b505050565b600082821c905092915050565b60006144e3600019846008026144c5565b1980831691505092915050565b60006144fc83836144d2565b9150826002028217905092915050565b6145158261349b565b67ffffffffffffffff81111561452e5761452d61367d565b5b6145388254613d45565b61454382828561447f565b600060209050601f8311600181146145765760008415614564578287015190505b61456e85826144f0565b8655506145d6565b601f19841661458486614360565b60005b828110156145ac57848901518255600182019150602085019450602081019050614587565b868310156145c957848901516145c5601f8916826144d2565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006146146018836134a6565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146a66029836134a6565b91506146b18261464a565b604082019050919050565b600060208201905081810360008301526146d581614699565b9050919050565b7f436f6e74726163742062616c616e6365206d757374206265203e203000000000600082015250565b6000614712601c836134a6565b915061471d826146dc565b602082019050919050565b6000602082019050818103600083015261474181614705565b9050919050565b600081905092915050565b50565b6000614763600083614748565b915061476e82614753565b600082019050919050565b600061478482614756565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b60006147c4600f836134a6565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f546f6b656e2069732061646472657373207a65726f0000000000000000000000600082015250565b60006148306015836134a6565b915061483b826147fa565b602082019050919050565b6000602082019050818103600083015261485f81614823565b9050919050565b60008151905061487581613557565b92915050565b600060208284031215614891576148906133d6565b5b600061489f84828501614866565b91505092915050565b7f546f6b656e2062616c616e6365206d757374206265203e203000000000000000600082015250565b60006148de6019836134a6565b91506148e9826148a8565b602082019050919050565b6000602082019050818103600083015261490d816148d1565b9050919050565b600060408201905061492960008301856135e2565b614936602083018461392d565b9392505050565b60008151905061494c81613a5e565b92915050565b600060208284031215614968576149676133d6565b5b60006149768482850161493d565b91505092915050565b600081905092915050565b60006149958261349b565b61499f818561497f565b93506149af8185602086016134b7565b80840191505092915050565b60006149c7828561498a565b91506149d3828461498a565b91508190509392505050565b7f4d696e74696e67206973206e6f74206f70656e00000000000000000000000000600082015250565b6000614a156013836134a6565b9150614a20826149df565b602082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b6000614a568261354d565b9150614a618361354d565b9250828202614a6f8161354d565b91508282048414831517614a8657614a85613fc7565b5b5092915050565b7f56616c75652070616964206e6f74206578616374000000000000000000000000600082015250565b6000614ac36014836134a6565b9150614ace82614a8d565b602082019050919050565b60006020820190508181036000830152614af281614ab6565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b2082614af9565b614b2a8185614b04565b9350614b3a8185602086016134b7565b614b43816134e1565b840191505092915050565b60006040820190508181036000830152614b6881856134f2565b90508181036020830152614b7c8184614b15565b90509392505050565b7f5f7472616e73616374696f6e496420646f6573206e6f7420706173732076657260008201527f696669636174696f6e20636865636b0000000000000000000000000000000000602082015250565b6000614be1602f836134a6565b9150614bec82614b85565b604082019050919050565b60006020820190508181036000830152614c1081614bd4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c736026836134a6565b9150614c7e82614c17565b604082019050919050565b60006020820190508181036000830152614ca281614c66565b9050919050565b7f43616e6e6f74207365742073616d652076616c75650000000000000000000000600082015250565b6000614cdf6015836134a6565b9150614cea82614ca9565b602082019050919050565b60006020820190508181036000830152614d0e81614cd2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d4b6020836134a6565b9150614d5682614d15565b602082019050919050565b60006020820190508181036000830152614d7a81614d3e565b9050919050565b7f4d696e74696e6720737570706c79206578636565646564000000000000000000600082015250565b6000614db76017836134a6565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b6000614df9828461498a565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e8f6025836134a6565b9150614e9a82614e33565b604082019050919050565b60006020820190508181036000830152614ebe81614e82565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f216024836134a6565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f8d6019836134a6565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061501f6032836134a6565b915061502a82614fc3565b604082019050919050565b6000602082019050818103600083015261504e81615012565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006150b16035836134a6565b91506150bc82615055565b604082019050919050565b600060208201905081810360008301526150e0816150a4565b9050919050565b60006080820190506150fc60008301876135e2565b61510960208301866135e2565b615116604083018561392d565b81810360608301526151288184614b15565b905095945050505050565b6000815190506151428161340c565b92915050565b60006020828403121561515e5761515d6133d6565b5b600061516c84828501615133565b91505092915050565b60006151808261354d565b915061518b8361354d565b92508282039050818111156151a3576151a2613fc7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061520e6020836134a6565b9150615219826151d8565b602082019050919050565b6000602082019050818103600083015261523d81615201565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061527a601c836134a6565b915061528582615244565b602082019050919050565b600060208201905081810360008301526152a98161526d565b905091905056fea264697066735822122014682ee73807d1bbfd1f956c0e15bec09131622d4b80fd42dfc2834ff9423b6364736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000001a055690d9db80000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f0af21d738a227c39851745eaa2636086298d84000000000000000000000000000000000000000000000000000000000000000f446d4d757a79496e7370697261636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006444d4d555a590000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636352211e11610123578063a22cb465116100ab578063e8a3d4851161006f578063e8a3d485146107f5578063e985e9c514610820578063f2ad2bd51461085d578063f2fde38b14610879578063f8004d31146108a25761021a565b8063a22cb465146106fe578063b88d4fde14610727578063c87b56dd14610750578063c95bc4371461078d578063dc588644146107b85761021a565b8063853828b6116100f2578063853828b61461063f5780638da5cb5b14610656578063938e3d7b1461068157806395d89b41146106aa5780639be65a60146106d55761021a565b80636352211e1461058357806370a08231146105c0578063715018a6146105fd5780637b1b1de6146106145761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e1461048c5780634f6ccce7146104b55780635094f4a0146104f257806352a8cc341461052f57806355f804b31461055a5761021a565b806323b872dd146103c05780632bf2762f146103e95780632f745c59146104125780633c807c9e1461044f5761021a565b80630c1e938e116101ed5780630c1e938e146102ed57806317e955261461031657806318160ddd1461033f57806318bdffbb1461036a57806319908016146103955761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613438565b6108cb565b6040516102539190613480565b60405180910390f35b34801561026857600080fd5b50610271610945565b60405161027e919061352b565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613583565b6109d7565b6040516102bb91906135f1565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613638565b610a1d565b005b3480156102f957600080fd5b50610314600480360381019061030f9190613875565b610b34565b005b34801561032257600080fd5b5061033d60048036038101906103389190613900565b610cb0565b005b34801561034b57600080fd5b50610354610d6b565b604051610361919061393c565b60405180910390f35b34801561037657600080fd5b5061037f610d78565b60405161038c91906135f1565b60405180910390f35b3480156103a157600080fd5b506103aa610d9e565b6040516103b79190613480565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190613957565b610db1565b005b3480156103f557600080fd5b50610410600480360381019061040b9190613583565b610e11565b005b34801561041e57600080fd5b5061043960048036038101906104349190613638565b610e23565b604051610446919061393c565b60405180910390f35b34801561045b57600080fd5b5061047660048036038101906104719190613583565b610ec8565b604051610483919061393c565b60405180910390f35b34801561049857600080fd5b506104b360048036038101906104ae9190613957565b610ef0565b005b3480156104c157600080fd5b506104dc60048036038101906104d79190613583565b610f10565b6040516104e9919061393c565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190613583565b610f81565b604051610526919061393c565b60405180910390f35b34801561053b57600080fd5b50610544610fbf565b604051610551919061393c565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c91906139aa565b610fe3565b005b34801561058f57600080fd5b506105aa60048036038101906105a59190613583565b610ffe565b6040516105b791906135f1565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e29190613900565b611084565b6040516105f4919061393c565b60405180910390f35b34801561060957600080fd5b5061061261113b565b005b34801561062057600080fd5b5061062961114f565b604051610636919061393c565b60405180910390f35b34801561064b57600080fd5b50610654611155565b005b34801561066257600080fd5b5061066b61125c565b60405161067891906135f1565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a391906139aa565b611286565b005b3480156106b657600080fd5b506106bf6112a1565b6040516106cc919061352b565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613a31565b611333565b005b34801561070a57600080fd5b5061072560048036038101906107209190613a8a565b6114f5565b005b34801561073357600080fd5b5061074e60048036038101906107499190613b6b565b61150b565b005b34801561075c57600080fd5b5061077760048036038101906107729190613583565b61156d565b604051610784919061352b565b60405180910390f35b34801561079957600080fd5b506107a26115d5565b6040516107af919061393c565b60405180910390f35b3480156107c457600080fd5b506107df60048036038101906107da9190613583565b6115f9565b6040516107ec919061393c565b60405180910390f35b34801561080157600080fd5b5061080a611623565b604051610817919061352b565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613bee565b6116b1565b6040516108549190613480565b60405180910390f35b61087760048036038101906108729190613c2e565b611745565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613900565b611a3d565b005b3480156108ae57600080fd5b506108c960048036038101906108c49190613ce9565b611ac0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093e575061093d82611b71565b5b9050919050565b60606000805461095490613d45565b80601f016020809104026020016040519081016040528092919081815260200182805461098090613d45565b80156109cd5780601f106109a2576101008083540402835291602001916109cd565b820191906000526020600020905b8154815290600101906020018083116109b057829003601f168201915b5050505050905090565b60006109e282611c53565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2882610ffe565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613de8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611c9e565b73ffffffffffffffffffffffffffffffffffffffff161480610ae65750610ae581610ae0611c9e565b6116b1565b5b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c90613e7a565b60405180910390fd5b610b2f8383611ca6565b505050565b610b3c611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba290613ee6565b60405180910390fd5b6000835190507f00000000000000000000000000000000000000000000000000000000000000068114610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90613f78565b60405180910390fd5b6000805b82811015610c5a57858181518110610c3257610c31613f98565b5b602002602001015182610c459190613ff6565b91508080610c529061402a565b915050610c17565b5060008111610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c95906140be565b60405180910390fd5b610ca9858585611ddd565b5050505050565b610cb8611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e9061412a565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b610dc2610dbc611c9e565b82612045565b610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df8906141bc565b60405180910390fd5b610e0c8383836120da565b505050565b610e19611d5f565b80600b8190555050565b6000610e2e83611084565b8210610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e669061424e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600060108281548110610ede57610edd613f98565b5b90600052602060002001549050919050565b610f0b8383836040518060200160405280600081525061150b565b505050565b6000610f1a610d6b565b8210610f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f52906142e0565b60405180910390fd5b60088281548110610f6f57610f6e613f98565b5b90600052602060002001549050919050565b6000610f8c82611c53565b7f000000000000000000000000000000000000000000000000000000000000006482610fb8919061432f565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000006481565b610feb611d5f565b80600f9081610ffa919061450c565b5050565b60008061100a836123d3565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110729061462a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb906146bc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611143611d5f565b61114d6000612410565b565b600b5481565b61115d611d5f565b6000479050600081116111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614728565b60405180910390fd5b60006111af61125c565b73ffffffffffffffffffffffffffffffffffffffff16826040516111d290614779565b60006040518083038185875af1925050503d806000811461120f576040519150601f19603f3d011682016040523d82523d6000602084013e611214565b606091505b5050905080611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f906147da565b60405180910390fd5b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61128e611d5f565b80600d908161129d919061450c565b5050565b6060600180546112b090613d45565b80601f01602080910402602001604051908101604052809291908181526020018280546112dc90613d45565b80156113295780601f106112fe57610100808354040283529160200191611329565b820191906000526020600020905b81548152906001019060200180831161130c57829003601f168201915b5050505050905090565b61133b611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190614846565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113e591906135f1565b602060405180830381865afa158015611402573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611426919061487b565b90506000811161146b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611462906148f4565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61148f61125c565b836040518363ffffffff1660e01b81526004016114ad929190614914565b6020604051808303816000875af11580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f09190614952565b505050565b611507611500611c9e565b83836124d6565b5050565b61151c611516611c9e565b83612045565b61155b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611552906141bc565b60405180910390fd5b61156784848484612642565b50505050565b606061157882611c53565b600061158261269e565b905060008151116115a257604051806020016040528060008152506115cd565b806115ac84612730565b6040516020016115bd9291906149bb565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000681565b60007f00000000000000000000000000000000000000000000000000000000000000649050919050565b600d805461163090613d45565b80601f016020809104026020016040519081016040528092919081815260200182805461165c90613d45565b80156116a95780601f1061167e576101008083540402835291602001916116a9565b820191906000526020600020905b81548152906001019060200180831161168c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff16611794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b90614a2b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90613ee6565b60405180910390fd5b6000845190507f0000000000000000000000000000000000000000000000000000000000000006811461186b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186290613f78565b60405180910390fd5b6000805b828110156118b25786818151811061188a57611889613f98565b5b60200260200101518261189d9190613ff6565b915080806118aa9061402a565b91505061186f565b50600081116118f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ed906140be565b60405180910390fd5b600b54816119049190614a4b565b3414611945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193c90614ad9565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633d9ffad586866040518363ffffffff1660e01b81526004016119a4929190614b4e565b6020604051808303816000875af11580156119c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e79190614952565b905080611a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2090614bf7565b60405180910390fd5b611a34878787611ddd565b50505050505050565b611a45611d5f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab90614c89565b60405180910390fd5b611abd81612410565b50565b611ac8611d5f565b600c60009054906101000a900460ff16151581151503611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614cf5565b60405180910390fd5b80600c60006101000a81548160ff0219169083151502179055507fc5dae02a094024807455da32d9f397195d1d4b71e0fd62c8f014afe5a428a63681604051611b669190613480565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c3c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c4c5750611c4b826127fe565b5b9050919050565b611c5c81612868565b611c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c929061462a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d1983610ffe565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d67611c9e565b73ffffffffffffffffffffffffffffffffffffffff16611d8561125c565b73ffffffffffffffffffffffffffffffffffffffff1614611ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd290614d61565b60405180910390fd5b565b600080825114905060008451905060005b8181101561203d57600060108281548110611e0c57611e0b613f98565b5b906000526020600020015490507f0000000000000000000000000000000000000000000000000000000000000064878381518110611e4d57611e4c613f98565b5b602002602001015182611e609190613ff6565b1115611ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9890614dcd565b60405180910390fd5b868281518110611eb457611eb3613f98565b5b602002602001015160108381548110611ed057611ecf613f98565b5b906000526020600020016000828254611ee99190613ff6565b9250508190555060005b878381518110611f0657611f05613f98565b5b6020026020010151811015611fd957600081837f000000000000000000000000000000000000000000000000000000000000006486611f459190614a4b565b611f4f9190613ff6565b611f599190613ff6565b9050611f6588826128a9565b85611fc55786604051611f789190614ded565b6040518091039020818973ffffffffffffffffffffffffffffffffffffffff167f59d22f0ec9589b7a809ac3ab066e0dc96f05443380d1e565b7cc68a99de9697560405160405180910390a45b508080611fd19061402a565b915050611ef3565b507f00000000000000000000000000000000000000000000000000000000000000646010838154811061200f5761200e613f98565b5b9060005260206000200154111561202957612028614e04565b5b5080806120359061402a565b915050611dee565b505050505050565b60008061205183610ffe565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612093575061209281856116b1565b5b806120d157508373ffffffffffffffffffffffffffffffffffffffff166120b9846109d7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120fa82610ffe565b73ffffffffffffffffffffffffffffffffffffffff1614612150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214790614ea5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b690614f37565b60405180910390fd5b6121cc83838360016128c7565b8273ffffffffffffffffffffffffffffffffffffffff166121ec82610ffe565b73ffffffffffffffffffffffffffffffffffffffff1614612242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223990614ea5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ce8383836001612a25565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253b90614fa3565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126359190613480565b60405180910390a3505050565b61264d8484846120da565b61265984848484612a2b565b612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f90615035565b60405180910390fd5b50505050565b6060600f80546126ad90613d45565b80601f01602080910402602001604051908101604052809291908181526020018280546126d990613d45565b80156127265780601f106126fb57610100808354040283529160200191612726565b820191906000526020600020905b81548152906001019060200180831161270957829003601f168201915b5050505050905090565b60606000600161273f84612bb2565b01905060008167ffffffffffffffff81111561275e5761275d61367d565b5b6040519080825280601f01601f1916602001820160405280156127905781602001600182028036833780820191505090505b509050600082602001820190505b6001156127f3578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816127e7576127e6614300565b5b0494506000850361279e575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661288a836123d3565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6128c3828260405180602001604052806000815250612d05565b5050565b6128d384848484612d60565b6001811115612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e906150c7565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361295e5761295981612e86565b61299d565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461299c5761299b8582612ecf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036129df576129da8161303c565b612a1e565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a1d57612a1c848261310d565b5b5b5050505050565b50505050565b6000612a4c8473ffffffffffffffffffffffffffffffffffffffff1661318c565b15612ba5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a75611c9e565b8786866040518563ffffffff1660e01b8152600401612a9794939291906150e7565b6020604051808303816000875af1925050508015612ad357506040513d601f19601f82011682018060405250810190612ad09190615148565b60015b612b55573d8060008114612b03576040519150601f19603f3d011682016040523d82523d6000602084013e612b08565b606091505b506000815103612b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4490615035565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612baa565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612c10577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612c0657612c05614300565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c4d576d04ee2d6d415b85acef81000000008381612c4357612c42614300565b5b0492506020810190505b662386f26fc100008310612c7c57662386f26fc100008381612c7257612c71614300565b5b0492506010810190505b6305f5e1008310612ca5576305f5e1008381612c9b57612c9a614300565b5b0492506008810190505b6127108310612cca576127108381612cc057612cbf614300565b5b0492506004810190505b60648310612ced5760648381612ce357612ce2614300565b5b0492506002810190505b600a8310612cfc576001810190505b80915050919050565b612d0f83836131af565b612d1c6000848484612a2b565b612d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5290615035565b60405180910390fd5b505050565b6001811115612e8057600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612df45780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dec9190615175565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e7f5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e779190613ff6565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612edc84611084565b612ee69190615175565b9050600060076000848152602001908152602001600020549050818114612fcb576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130509190615175565b90506000600960008481526020019081526020016000205490506000600883815481106130805761307f613f98565b5b9060005260206000200154905080600883815481106130a2576130a1613f98565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130f1576130f06151a9565b5b6001900381819060005260206000200160009055905550505050565b600061311883611084565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361321e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321590615224565b60405180910390fd5b61322781612868565b15613267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325e90615290565b60405180910390fd5b6132756000838360016128c7565b61327e81612868565b156132be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b590615290565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133c8600083836001612a25565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613415816133e0565b811461342057600080fd5b50565b6000813590506134328161340c565b92915050565b60006020828403121561344e5761344d6133d6565b5b600061345c84828501613423565b91505092915050565b60008115159050919050565b61347a81613465565b82525050565b60006020820190506134956000830184613471565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134d55780820151818401526020810190506134ba565b60008484015250505050565b6000601f19601f8301169050919050565b60006134fd8261349b565b61350781856134a6565b93506135178185602086016134b7565b613520816134e1565b840191505092915050565b6000602082019050818103600083015261354581846134f2565b905092915050565b6000819050919050565b6135608161354d565b811461356b57600080fd5b50565b60008135905061357d81613557565b92915050565b600060208284031215613599576135986133d6565b5b60006135a78482850161356e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135db826135b0565b9050919050565b6135eb816135d0565b82525050565b600060208201905061360660008301846135e2565b92915050565b613615816135d0565b811461362057600080fd5b50565b6000813590506136328161360c565b92915050565b6000806040838503121561364f5761364e6133d6565b5b600061365d85828601613623565b925050602061366e8582860161356e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136b5826134e1565b810181811067ffffffffffffffff821117156136d4576136d361367d565b5b80604052505050565b60006136e76133cc565b90506136f382826136ac565b919050565b600067ffffffffffffffff8211156137135761371261367d565b5b602082029050602081019050919050565b600080fd5b600061373c613737846136f8565b6136dd565b9050808382526020820190506020840283018581111561375f5761375e613724565b5b835b818110156137885780613774888261356e565b845260208401935050602081019050613761565b5050509392505050565b600082601f8301126137a7576137a6613678565b5b81356137b7848260208601613729565b91505092915050565b600080fd5b600067ffffffffffffffff8211156137e0576137df61367d565b5b6137e9826134e1565b9050602081019050919050565b82818337600083830152505050565b6000613818613813846137c5565b6136dd565b905082815260208101848484011115613834576138336137c0565b5b61383f8482856137f6565b509392505050565b600082601f83011261385c5761385b613678565b5b813561386c848260208601613805565b91505092915050565b60008060006060848603121561388e5761388d6133d6565b5b600084013567ffffffffffffffff8111156138ac576138ab6133db565b5b6138b886828701613792565b93505060206138c986828701613623565b925050604084013567ffffffffffffffff8111156138ea576138e96133db565b5b6138f686828701613847565b9150509250925092565b600060208284031215613916576139156133d6565b5b600061392484828501613623565b91505092915050565b6139368161354d565b82525050565b6000602082019050613951600083018461392d565b92915050565b6000806000606084860312156139705761396f6133d6565b5b600061397e86828701613623565b935050602061398f86828701613623565b92505060406139a08682870161356e565b9150509250925092565b6000602082840312156139c0576139bf6133d6565b5b600082013567ffffffffffffffff8111156139de576139dd6133db565b5b6139ea84828501613847565b91505092915050565b60006139fe826135d0565b9050919050565b613a0e816139f3565b8114613a1957600080fd5b50565b600081359050613a2b81613a05565b92915050565b600060208284031215613a4757613a466133d6565b5b6000613a5584828501613a1c565b91505092915050565b613a6781613465565b8114613a7257600080fd5b50565b600081359050613a8481613a5e565b92915050565b60008060408385031215613aa157613aa06133d6565b5b6000613aaf85828601613623565b9250506020613ac085828601613a75565b9150509250929050565b600067ffffffffffffffff821115613ae557613ae461367d565b5b613aee826134e1565b9050602081019050919050565b6000613b0e613b0984613aca565b6136dd565b905082815260208101848484011115613b2a57613b296137c0565b5b613b358482856137f6565b509392505050565b600082601f830112613b5257613b51613678565b5b8135613b62848260208601613afb565b91505092915050565b60008060008060808587031215613b8557613b846133d6565b5b6000613b9387828801613623565b9450506020613ba487828801613623565b9350506040613bb58782880161356e565b925050606085013567ffffffffffffffff811115613bd657613bd56133db565b5b613be287828801613b3d565b91505092959194509250565b60008060408385031215613c0557613c046133d6565b5b6000613c1385828601613623565b9250506020613c2485828601613623565b9150509250929050565b60008060008060808587031215613c4857613c476133d6565b5b600085013567ffffffffffffffff811115613c6657613c656133db565b5b613c7287828801613792565b9450506020613c8387828801613623565b935050604085013567ffffffffffffffff811115613ca457613ca36133db565b5b613cb087828801613847565b925050606085013567ffffffffffffffff811115613cd157613cd06133db565b5b613cdd87828801613b3d565b91505092959194509250565b600060208284031215613cff57613cfe6133d6565b5b6000613d0d84828501613a75565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d5d57607f821691505b602082108103613d7057613d6f613d16565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dd26021836134a6565b9150613ddd82613d76565b604082019050919050565b60006020820190508181036000830152613e0181613dc5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e64603d836134a6565b9150613e6f82613e08565b604082019050919050565b60006020820190508181036000830152613e9381613e57565b9050919050565b7f43616e6e6f74206d696e7420746f2061646472657373207a65726f0000000000600082015250565b6000613ed0601b836134a6565b9150613edb82613e9a565b602082019050919050565b60006020820190508181036000830152613eff81613ec3565b9050919050565b7f5f746f6b656e73206c6973742073686f756c642068617665204e4f5f4c45564560008201527f4c532076616c7565730000000000000000000000000000000000000000000000602082015250565b6000613f626029836134a6565b9150613f6d82613f06565b604082019050919050565b60006020820190508181036000830152613f9181613f55565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140018261354d565b915061400c8361354d565b925082820190508082111561402457614023613fc7565b5b92915050565b60006140358261354d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361406757614066613fc7565b5b600182019050919050565b7f5a65726f20746f6b656e73207370656369666965640000000000000000000000600082015250565b60006140a86015836134a6565b91506140b382614072565b602082019050919050565b600060208201905081810360008301526140d78161409b565b9050919050565b7f43616e6e6f742062652061646472657373207a65726f00000000000000000000600082015250565b60006141146016836134a6565b915061411f826140de565b602082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006141a6602d836134a6565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614238602b836134a6565b9150614243826141dc565b604082019050919050565b600060208201905081810360008301526142678161422b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142ca602c836134a6565b91506142d58261426e565b604082019050919050565b600060208201905081810360008301526142f9816142bd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061433a8261354d565b91506143458361354d565b92508261435557614354614300565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143c27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614385565b6143cc8683614385565b95508019841693508086168417925050509392505050565b6000819050919050565b60006144096144046143ff8461354d565b6143e4565b61354d565b9050919050565b6000819050919050565b614423836143ee565b61443761442f82614410565b848454614392565b825550505050565b600090565b61444c61443f565b61445781848461441a565b505050565b5b8181101561447b57614470600082614444565b60018101905061445d565b5050565b601f8211156144c05761449181614360565b61449a84614375565b810160208510156144a9578190505b6144bd6144b585614375565b83018261445c565b50505b505050565b600082821c905092915050565b60006144e3600019846008026144c5565b1980831691505092915050565b60006144fc83836144d2565b9150826002028217905092915050565b6145158261349b565b67ffffffffffffffff81111561452e5761452d61367d565b5b6145388254613d45565b61454382828561447f565b600060209050601f8311600181146145765760008415614564578287015190505b61456e85826144f0565b8655506145d6565b601f19841661458486614360565b60005b828110156145ac57848901518255600182019150602085019450602081019050614587565b868310156145c957848901516145c5601f8916826144d2565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006146146018836134a6565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146a66029836134a6565b91506146b18261464a565b604082019050919050565b600060208201905081810360008301526146d581614699565b9050919050565b7f436f6e74726163742062616c616e6365206d757374206265203e203000000000600082015250565b6000614712601c836134a6565b915061471d826146dc565b602082019050919050565b6000602082019050818103600083015261474181614705565b9050919050565b600081905092915050565b50565b6000614763600083614748565b915061476e82614753565b600082019050919050565b600061478482614756565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b60006147c4600f836134a6565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f546f6b656e2069732061646472657373207a65726f0000000000000000000000600082015250565b60006148306015836134a6565b915061483b826147fa565b602082019050919050565b6000602082019050818103600083015261485f81614823565b9050919050565b60008151905061487581613557565b92915050565b600060208284031215614891576148906133d6565b5b600061489f84828501614866565b91505092915050565b7f546f6b656e2062616c616e6365206d757374206265203e203000000000000000600082015250565b60006148de6019836134a6565b91506148e9826148a8565b602082019050919050565b6000602082019050818103600083015261490d816148d1565b9050919050565b600060408201905061492960008301856135e2565b614936602083018461392d565b9392505050565b60008151905061494c81613a5e565b92915050565b600060208284031215614968576149676133d6565b5b60006149768482850161493d565b91505092915050565b600081905092915050565b60006149958261349b565b61499f818561497f565b93506149af8185602086016134b7565b80840191505092915050565b60006149c7828561498a565b91506149d3828461498a565b91508190509392505050565b7f4d696e74696e67206973206e6f74206f70656e00000000000000000000000000600082015250565b6000614a156013836134a6565b9150614a20826149df565b602082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b6000614a568261354d565b9150614a618361354d565b9250828202614a6f8161354d565b91508282048414831517614a8657614a85613fc7565b5b5092915050565b7f56616c75652070616964206e6f74206578616374000000000000000000000000600082015250565b6000614ac36014836134a6565b9150614ace82614a8d565b602082019050919050565b60006020820190508181036000830152614af281614ab6565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b2082614af9565b614b2a8185614b04565b9350614b3a8185602086016134b7565b614b43816134e1565b840191505092915050565b60006040820190508181036000830152614b6881856134f2565b90508181036020830152614b7c8184614b15565b90509392505050565b7f5f7472616e73616374696f6e496420646f6573206e6f7420706173732076657260008201527f696669636174696f6e20636865636b0000000000000000000000000000000000602082015250565b6000614be1602f836134a6565b9150614bec82614b85565b604082019050919050565b60006020820190508181036000830152614c1081614bd4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c736026836134a6565b9150614c7e82614c17565b604082019050919050565b60006020820190508181036000830152614ca281614c66565b9050919050565b7f43616e6e6f74207365742073616d652076616c75650000000000000000000000600082015250565b6000614cdf6015836134a6565b9150614cea82614ca9565b602082019050919050565b60006020820190508181036000830152614d0e81614cd2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d4b6020836134a6565b9150614d5682614d15565b602082019050919050565b60006020820190508181036000830152614d7a81614d3e565b9050919050565b7f4d696e74696e6720737570706c79206578636565646564000000000000000000600082015250565b6000614db76017836134a6565b9150614dc282614d81565b602082019050919050565b60006020820190508181036000830152614de681614daa565b9050919050565b6000614df9828461498a565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e8f6025836134a6565b9150614e9a82614e33565b604082019050919050565b60006020820190508181036000830152614ebe81614e82565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614f216024836134a6565b9150614f2c82614ec5565b604082019050919050565b60006020820190508181036000830152614f5081614f14565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f8d6019836134a6565b9150614f9882614f57565b602082019050919050565b60006020820190508181036000830152614fbc81614f80565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061501f6032836134a6565b915061502a82614fc3565b604082019050919050565b6000602082019050818103600083015261504e81615012565b9050919050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006150b16035836134a6565b91506150bc82615055565b604082019050919050565b600060208201905081810360008301526150e0816150a4565b9050919050565b60006080820190506150fc60008301876135e2565b61510960208301866135e2565b615116604083018561392d565b81810360608301526151288184614b15565b905095945050505050565b6000815190506151428161340c565b92915050565b60006020828403121561515e5761515d6133d6565b5b600061516c84828501615133565b91505092915050565b60006151808261354d565b915061518b8361354d565b92508282039050818111156151a3576151a2613fc7565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061520e6020836134a6565b9150615219826151d8565b602082019050919050565b6000602082019050818103600083015261523d81615201565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061527a601c836134a6565b915061528582615244565b602082019050919050565b600060208201905081810360008301526152a98161526d565b905091905056fea264697066735822122014682ee73807d1bbfd1f956c0e15bec09131622d4b80fd42dfc2834ff9423b6364736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000001a055690d9db80000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000060000000000000000000000002f0af21d738a227c39851745eaa2636086298d84000000000000000000000000000000000000000000000000000000000000000f446d4d757a79496e7370697261636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006444d4d555a590000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): DmMuzyInspirace
Arg [1] : _symbol (string): DMMUZY
Arg [2] : _pricePerToken (uint256): 30000000000000000000
Arg [3] : _maxSupplyPerLevel (uint256): 100
Arg [4] : _noLevels (uint256): 6
Arg [5] : _verifier (address): 0x2f0Af21D738a227C39851745EaA2636086298d84

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000000000000000000000000001a055690d9db80000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 0000000000000000000000002f0af21d738a227c39851745eaa2636086298d84
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [7] : 446d4d757a79496e737069726163650000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 444d4d555a590000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.