Token KryptoTrees NFT

 

Overview ERC-721

Total Supply:
1,754 TREE

Holders:
96 addresses

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KryptoTreesNft

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : KryptoTreesNft.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;

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


contract KryptoTreesNft is ERC721, Ownable, ERC721Enumerable {
    using Counters for Counters.Counter;
    using Strings for uint;
    using SafeERC20 for IERC20;
    
    Counters.Counter private _tokenCount;
    
    uint256 public cost = 10 ether;
    uint256 public maxSupply = 10000;
    uint256 public maxMintAmount = 10;
    
    string public baseURI = "ipfs://QmNPEeFaKd3dXtw7x43VAiZJ1TqXvgnxDjAUfdRQ1jUyVh/";
    string public baseExtension = ".json";
    string public notRevealedUri = "ipfs://QmYfc1zcdWDuVyQ1oAQwUAd8hXrEwa3jvE3hjXNDLwKTVT";
    
    bool public pauseMintingState = true;
    bool public revealed = false;
    
    // Used for random index assignment
    mapping(uint => uint) private tokenMatrix;

    // The initial token ID
    uint public startFrom = 201;
    bool public initialMint = false;
    
    constructor() ERC721("KryptoTrees NFT", "TREE") {}
    
    // public
    function mint() external payable ensureAvailabilityFor(1) {
        require(!pauseMintingState, 'Minting is paused.');
        if (msg.sender != owner()) {
            require(msg.value >= cost, 'Need to send the minting fee.');
        }
        _safeMint(msg.sender, nextToken());
    }
    
    function mintTo(address _to, uint _mintAmount) external ensureAvailabilityFor(_mintAmount) payable {
        require(!pauseMintingState, 'Minting is paused.');
        require(_mintAmount > 0, 'Mint amount must be greater than 0.');
        require(_mintAmount <= maxMintAmount, 'Mint amount must not be greater than maxMintAmount');
        
        if (msg.sender != owner()) {
            require(msg.value >= cost * _mintAmount, 'Need to send the minting fee.');
        }
        
        for (uint i = 1; i <= _mintAmount; i++) {
            _safeMint(_to, nextToken());
        }
    }
    
    function walletOfOwner(address _owner) 
    public
    view
    returns (uint[] memory) {
        uint ownerTokenCount = balanceOf(_owner);
        uint[] memory tokenIds = new uint[](ownerTokenCount);
        for (uint i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }
    
    function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory) {
        require(
          _exists(tokenId),
          "ERC721Metadata: URI query for nonexistent token"
        );
        
        if(revealed == false) {
            return notRevealedUri;
        }
        
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
            : "";
    }
    
    //only owner
    function linearMint(uint _tries) external onlyOwner {
        require(initialMint == false, 'Initial mint by admin is already performed before.');
        require(_tokenCount.current() + _tries <= maxSupply, 'Cannot mint more than total supply.');
        for (uint i = 0; i < _tries; i++) {
            _tokenCount.increment();
            _safeMint(msg.sender, _tokenCount.current());
            if(_tokenCount.current() == 200) {
                initialMint = true;
                return;
            }
        }
    }
    
    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }
    
    function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
        baseExtension = _newBaseExtension;
    }
    
    function setPauseMinting(bool _state) public onlyOwner {
        pauseMintingState = _state;
    }
    
    function reveal(bool _state) public onlyOwner() {
      revealed = _state;
    }
    
    function setCost(uint256 _newCost) public onlyOwner() {
        cost = _newCost;
    }
    
    function setMaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() {
        maxMintAmount = _newmaxMintAmount;
    }
    
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }
    
    function withdraw() external payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success);
    }

    function withdrawERC20(address _tokenAddress) external onlyOwner {
        IERC20 token = IERC20(_tokenAddress); 
        uint erc20balance = token.balanceOf(address(this));
        require(erc20balance > 0, "balance is low");
        token.transfer(msg.sender, erc20balance);
    }
    
    /// @dev Check whether tokens are still available
    /// @return the available token count
    function availableTokenCount() public view returns (uint) {
        return maxSupply - _tokenCount.current();
    }
    
    
    // internal
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }
    
    // override inherited contracts
    function _beforeTokenTransfer(address from, address to, uint tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
    
    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken() internal ensureAvailability returns (uint) {
        uint maxIndex = availableTokenCount();
        uint random = uint(keccak256(
            abi.encodePacked(
                msg.sender,
                block.coinbase,
                block.difficulty,
                block.gaslimit,
                block.timestamp
            )
        )) % maxIndex;

        uint value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        // Increment counts
        _tokenCount.increment();

        return value + startFrom;
    }
    
    // modifier
    
    /// @dev Check whether another token is still available
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }
    
    /// @param amount Check whether number of tokens are still available
    /// @dev Check whether tokens are still available
    modifier ensureAvailabilityFor(uint amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }
}

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

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 3 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

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 4 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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 7 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 9 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 tokenId);

    /**
     * @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 10 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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

        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 11 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

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

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tries","type":"uint256"}],"name":"linearMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"pauseMintingState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPauseMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startFrom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052678ac7230489e80000600c55612710600d55600a600e55604051806060016040528060368152602001620057d860369139600f90805190602001906200004c929190620002c5565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601090805190602001906200009a929190620002c5565b50604051806060016040528060358152602001620057a36035913960119080519060200190620000cc929190620002c5565b506001601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff02191690831515021790555060c96014556000601560006101000a81548160ff0219169083151502179055503480156200013057600080fd5b506040518060400160405280600f81526020017f4b727970746f5472656573204e465400000000000000000000000000000000008152506040518060400160405280600481526020017f54524545000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001b5929190620002c5565b508060019080519060200190620001ce929190620002c5565b505050620001f1620001e5620001f760201b60201c565b620001ff60201b60201c565b620003da565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002d39062000375565b90600052602060002090601f016020900481019282620002f7576000855562000343565b82601f106200031257805160ff191683800117855562000343565b8280016001018555821562000343579182015b828111156200034257825182559160200191906001019062000325565b5b50905062000352919062000356565b5090565b5b808211156200037157600081600090555060010162000357565b5090565b600060028204905060018216806200038e57607f821691505b60208210811415620003a557620003a4620003ab565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6153b980620003ea6000396000f3fe60806040526004361061025c5760003560e01c806355f804b311610144578063b88d4fde116100b6578063e14ca3531161007a578063e14ca353146108ad578063e985e9c5146108d8578063f21e214914610915578063f2c4ce1e1461093e578063f2fde38b14610967578063f4f3b200146109905761025c565b8063b88d4fde146107c8578063c6682862146107f1578063c87b56dd1461081c578063d5abeb0114610859578063da3ef23f146108845761025c565b80638da5cb5b116101085780638da5cb5b146106cc578063940cd05b146106f757806395d89b41146107205780639f2ec9f21461074b5780639fc5ce2a14610774578063a22cb4651461079f5761025c565b806355f804b3146105e75780636352211e146106105780636c0360eb1461064d57806370a0823114610678578063715018a6146106b55761025c565b8063208904c7116101dd57806342842e0e116101a157806342842e0e146104d4578063438b6300146104fd578063449a52f81461053a57806344a0d68a146105565780634f6ccce71461057f57806351830227146105bc5761025c565b8063208904c71461040e578063239c70ae1461043957806323b872dd146104645780632f745c591461048d5780633ccfd60b146104ca5761025c565b8063095ea7b311610224578063095ea7b31461035a5780631249c58b1461038357806313faede61461038d57806318160ddd146103b85780631a7a9768146103e35761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063081c8c4414610306578063088a4ed014610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a9d565b6109b9565b60405161029591906142de565b60405180910390f35b3480156102aa57600080fd5b506102b36109cb565b6040516102c091906142f9565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613b40565b610a5d565b6040516102fd919061422c565b60405180910390f35b34801561031257600080fd5b5061031b610ae2565b60405161032891906142f9565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613b40565b610b70565b005b34801561036657600080fd5b50610381600480360381019061037c9190613a03565b610bf6565b005b61038b610d0e565b005b34801561039957600080fd5b506103a2610e3e565b6040516103af919061467b565b60405180910390f35b3480156103c457600080fd5b506103cd610e44565b6040516103da919061467b565b60405180910390f35b3480156103ef57600080fd5b506103f8610e51565b60405161040591906142de565b60405180910390f35b34801561041a57600080fd5b50610423610e64565b604051610430919061467b565b60405180910390f35b34801561044557600080fd5b5061044e610e6a565b60405161045b919061467b565b60405180910390f35b34801561047057600080fd5b5061048b600480360381019061048691906138ed565b610e70565b005b34801561049957600080fd5b506104b460048036038101906104af9190613a03565b610ed0565b6040516104c1919061467b565b60405180910390f35b6104d2610f75565b005b3480156104e057600080fd5b506104fb60048036038101906104f691906138ed565b61106a565b005b34801561050957600080fd5b50610524600480360381019061051f9190613880565b61108a565b60405161053191906142bc565b60405180910390f35b610554600480360381019061054f9190613a03565b611138565b005b34801561056257600080fd5b5061057d60048036038101906105789190613b40565b61131e565b005b34801561058b57600080fd5b506105a660048036038101906105a19190613b40565b6113a4565b6040516105b3919061467b565b60405180910390f35b3480156105c857600080fd5b506105d1611415565b6040516105de91906142de565b60405180910390f35b3480156105f357600080fd5b5061060e60048036038101906106099190613af7565b611428565b005b34801561061c57600080fd5b5061063760048036038101906106329190613b40565b6114be565b604051610644919061422c565b60405180910390f35b34801561065957600080fd5b50610662611570565b60405161066f91906142f9565b60405180910390f35b34801561068457600080fd5b5061069f600480360381019061069a9190613880565b6115fe565b6040516106ac919061467b565b60405180910390f35b3480156106c157600080fd5b506106ca6116b6565b005b3480156106d857600080fd5b506106e161173e565b6040516106ee919061422c565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190613a43565b611768565b005b34801561072c57600080fd5b50610735611801565b60405161074291906142f9565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d9190613a43565b611893565b005b34801561078057600080fd5b5061078961192c565b60405161079691906142de565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c191906139c3565b61193f565b005b3480156107d457600080fd5b506107ef60048036038101906107ea9190613940565b611ac0565b005b3480156107fd57600080fd5b50610806611b22565b60405161081391906142f9565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e9190613b40565b611bb0565b60405161085091906142f9565b60405180910390f35b34801561086557600080fd5b5061086e611d09565b60405161087b919061467b565b60405180910390f35b34801561089057600080fd5b506108ab60048036038101906108a69190613af7565b611d0f565b005b3480156108b957600080fd5b506108c2611da5565b6040516108cf919061467b565b60405180910390f35b3480156108e457600080fd5b506108ff60048036038101906108fa91906138ad565b611dc3565b60405161090c91906142de565b60405180910390f35b34801561092157600080fd5b5061093c60048036038101906109379190613b40565b611e57565b005b34801561094a57600080fd5b5061096560048036038101906109609190613af7565b611ff5565b005b34801561097357600080fd5b5061098e60048036038101906109899190613880565b61208b565b005b34801561099c57600080fd5b506109b760048036038101906109b29190613880565b612183565b005b60006109c482612367565b9050919050565b6060600080546109da90614996565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690614996565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a68826123e1565b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e9061455b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60118054610aef90614996565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b90614996565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b505050505081565b610b7861244d565b73ffffffffffffffffffffffffffffffffffffffff16610b9661173e565b73ffffffffffffffffffffffffffffffffffffffff1614610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be39061459b565b60405180910390fd5b80600e8190555050565b6000610c01826114be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c699061461b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9161244d565b73ffffffffffffffffffffffffffffffffffffffff161480610cc05750610cbf81610cba61244d565b611dc3565b5b610cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf69061447b565b60405180910390fd5b610d098383612455565b505050565b600180610d19611da5565b1015610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d51906143bb565b60405180910390fd5b601260009054906101000a900460ff1615610daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da19061431b565b60405180910390fd5b610db261173e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e2a57600c54341015610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906144db565b60405180910390fd5b5b610e3b33610e3661250e565b61268b565b50565b600c5481565b6000600980549050905090565b601260009054906101000a900460ff1681565b60145481565b600e5481565b610e81610e7b61244d565b826126a9565b610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb79061463b565b60405180910390fd5b610ecb838383612787565b505050565b6000610edb836115fe565b8210610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f139061433b565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f7d61244d565b73ffffffffffffffffffffffffffffffffffffffff16610f9b61173e565b73ffffffffffffffffffffffffffffffffffffffff1614610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe89061459b565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff164760405161101790614217565b60006040518083038185875af1925050503d8060008114611054576040519150601f19603f3d011682016040523d82523d6000602084013e611059565b606091505b505090508061106757600080fd5b50565b61108583838360405180602001604052806000815250611ac0565b505050565b60606000611097836115fe565b905060008167ffffffffffffffff8111156110b5576110b4614b9e565b5b6040519080825280602002602001820160405280156110e35781602001602082028036833780820191505090505b50905060005b8281101561112d576110fb8582610ed0565b82828151811061110e5761110d614b6f565b5b6020026020010181815250508080611125906149f9565b9150506110e9565b508092505050919050565b8080611142611da5565b1015611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117a906143bb565b60405180910390fd5b601260009054906101000a900460ff16156111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca9061431b565b60405180910390fd5b60008211611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d9061445b565b60405180910390fd5b600e5482111561125b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112529061457b565b60405180910390fd5b61126361173e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e65781600c546112a39190614840565b3410156112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc906144db565b60405180910390fd5b5b6000600190505b828111611318576113058461130061250e565b61268b565b8080611310906149f9565b9150506112ed565b50505050565b61132661244d565b73ffffffffffffffffffffffffffffffffffffffff1661134461173e565b73ffffffffffffffffffffffffffffffffffffffff161461139a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113919061459b565b60405180910390fd5b80600c8190555050565b60006113ae610e44565b82106113ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e69061465b565b60405180910390fd5b6009828154811061140357611402614b6f565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b61143061244d565b73ffffffffffffffffffffffffffffffffffffffff1661144e61173e565b73ffffffffffffffffffffffffffffffffffffffff16146114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b9061459b565b60405180910390fd5b80600f90805190602001906114ba92919061366a565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906144bb565b60405180910390fd5b80915050919050565b600f805461157d90614996565b80601f01602080910402602001604051908101604052809291908181526020018280546115a990614996565b80156115f65780601f106115cb576101008083540402835291602001916115f6565b820191906000526020600020905b8154815290600101906020018083116115d957829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561166f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116669061449b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116be61244d565b73ffffffffffffffffffffffffffffffffffffffff166116dc61173e565b73ffffffffffffffffffffffffffffffffffffffff1614611732576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117299061459b565b60405180910390fd5b61173c60006129e3565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61177061244d565b73ffffffffffffffffffffffffffffffffffffffff1661178e61173e565b73ffffffffffffffffffffffffffffffffffffffff16146117e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117db9061459b565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b60606001805461181090614996565b80601f016020809104026020016040519081016040528092919081815260200182805461183c90614996565b80156118895780601f1061185e57610100808354040283529160200191611889565b820191906000526020600020905b81548152906001019060200180831161186c57829003601f168201915b5050505050905090565b61189b61244d565b73ffffffffffffffffffffffffffffffffffffffff166118b961173e565b73ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119069061459b565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b601560009054906101000a900460ff1681565b61194761244d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ac906143fb565b60405180910390fd5b80600560006119c261244d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a6f61244d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab491906142de565b60405180910390a35050565b611ad1611acb61244d565b836126a9565b611b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b079061463b565b60405180910390fd5b611b1c84848484612aa9565b50505050565b60108054611b2f90614996565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5b90614996565b8015611ba85780601f10611b7d57610100808354040283529160200191611ba8565b820191906000526020600020905b815481529060010190602001808311611b8b57829003601f168201915b505050505081565b6060611bbb826123e1565b611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf1906145fb565b60405180910390fd5b60001515601260019054906101000a900460ff1615151415611ca85760118054611c2390614996565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4f90614996565b8015611c9c5780601f10611c7157610100808354040283529160200191611c9c565b820191906000526020600020905b815481529060010190602001808311611c7f57829003601f168201915b50505050509050611d04565b6000611cb2612b05565b90506000815111611cd25760405180602001604052806000815250611d00565b80611cdc84612b97565b6010604051602001611cf0939291906141e6565b6040516020818303038152906040525b9150505b919050565b600d5481565b611d1761244d565b73ffffffffffffffffffffffffffffffffffffffff16611d3561173e565b73ffffffffffffffffffffffffffffffffffffffff1614611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d829061459b565b60405180910390fd5b8060109080519060200190611da192919061366a565b5050565b6000611db1600b612cf8565b600d54611dbe919061489a565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e5f61244d565b73ffffffffffffffffffffffffffffffffffffffff16611e7d61173e565b73ffffffffffffffffffffffffffffffffffffffff1614611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca9061459b565b60405180910390fd5b60001515601560009054906101000a900460ff16151514611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f209061451b565b60405180910390fd5b600d5481611f37600b612cf8565b611f4191906147b9565b1115611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f79906145bb565b60405180910390fd5b60005b81811015611ff057611f97600b612d06565b611faa33611fa5600b612cf8565b61268b565b60c8611fb6600b612cf8565b1415611fdd576001601560006101000a81548160ff02191690831515021790555050611ff2565b8080611fe8906149f9565b915050611f85565b505b50565b611ffd61244d565b73ffffffffffffffffffffffffffffffffffffffff1661201b61173e565b73ffffffffffffffffffffffffffffffffffffffff1614612071576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120689061459b565b60405180910390fd5b806011908051906020019061208792919061366a565b5050565b61209361244d565b73ffffffffffffffffffffffffffffffffffffffff166120b161173e565b73ffffffffffffffffffffffffffffffffffffffff1614612107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fe9061459b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216e9061437b565b60405180910390fd5b612180816129e3565b50565b61218b61244d565b73ffffffffffffffffffffffffffffffffffffffff166121a961173e565b73ffffffffffffffffffffffffffffffffffffffff16146121ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f69061459b565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161223f919061422c565b60206040518083038186803b15801561225757600080fd5b505afa15801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190613b6d565b9050600081116122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb906144fb565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161230f929190614293565b602060405180830381600087803b15801561232957600080fd5b505af115801561233d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123619190613a70565b50505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123da57506123d982612d1c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124c8836114be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612519611da5565b11612559576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125509061441b565b60405180910390fd5b6000612563611da5565b90506000813341444542604051602001612581959493929190614187565b6040516020818303038152906040528051906020012060001c6125a49190614a82565b9050600080601360008481526020019081526020016000205414156125cb578190506125e2565b601360008381526020019081526020016000205490505b6000601360006001866125f5919061489a565b815260200190815260200160002054141561263357600183612617919061489a565b601360008481526020019081526020016000208190555061266b565b60136000600185612644919061489a565b81526020019081526020016000205460136000848152602001908152602001600020819055505b612675600b612d06565b6014548161268391906147b9565b935050505090565b6126a5828260405180602001604052806000815250612dfe565b5050565b60006126b4826123e1565b6126f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ea9061443b565b60405180910390fd5b60006126fe836114be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061276d57508373ffffffffffffffffffffffffffffffffffffffff1661275584610a5d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061277e575061277d8185611dc3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127a7826114be565b73ffffffffffffffffffffffffffffffffffffffff16146127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f4906145db565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561286d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612864906143db565b60405180910390fd5b612878838383612e59565b612883600082612455565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128d3919061489a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461292a91906147b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612ab4848484612787565b612ac084848484612e69565b612aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af69061435b565b60405180910390fd5b50505050565b6060600f8054612b1490614996565b80601f0160208091040260200160405190810160405280929190818152602001828054612b4090614996565b8015612b8d5780601f10612b6257610100808354040283529160200191612b8d565b820191906000526020600020905b815481529060010190602001808311612b7057829003601f168201915b5050505050905090565b60606000821415612bdf576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cf3565b600082905060005b60008214612c11578080612bfa906149f9565b915050600a82612c0a919061480f565b9150612be7565b60008167ffffffffffffffff811115612c2d57612c2c614b9e565b5b6040519080825280601f01601f191660200182016040528015612c5f5781602001600182028036833780820191505090505b5090505b60008514612cec57600182612c78919061489a565b9150600a85612c879190614a82565b6030612c9391906147b9565b60f81b818381518110612ca957612ca8614b6f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ce5919061480f565b9450612c63565b8093505050505b919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612de757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612df75750612df682613000565b5b9050919050565b612e08838361306a565b612e156000848484612e69565b612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b9061435b565b60405180910390fd5b505050565b612e64838383613238565b505050565b6000612e8a8473ffffffffffffffffffffffffffffffffffffffff1661334c565b15612ff3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eb361244d565b8786866040518563ffffffff1660e01b8152600401612ed59493929190614247565b602060405180830381600087803b158015612eef57600080fd5b505af1925050508015612f2057506040513d601f19601f82011682018060405250810190612f1d9190613aca565b60015b612fa3573d8060008114612f50576040519150601f19603f3d011682016040523d82523d6000602084013e612f55565b606091505b50600081511415612f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f929061435b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ff8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d19061453b565b60405180910390fd5b6130e3816123e1565b15613123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311a9061439b565b60405180910390fd5b61312f60008383612e59565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461317f91906147b9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61324383838361335f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132865761328181613364565b6132c5565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132c4576132c383826133ad565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613308576133038161351a565b613347565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133465761334582826135eb565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133ba846115fe565b6133c4919061489a565b90506000600860008481526020019081526020016000205490508181146134a9576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061352e919061489a565b90506000600a600084815260200190815260200160002054905060006009838154811061355e5761355d614b6f565b5b9060005260206000200154905080600983815481106135805761357f614b6f565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806135cf576135ce614b40565b5b6001900381819060005260206000200160009055905550505050565b60006135f6836115fe565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461367690614996565b90600052602060002090601f01602090048101928261369857600085556136df565b82601f106136b157805160ff19168380011785556136df565b828001600101855582156136df579182015b828111156136de5782518255916020019190600101906136c3565b5b5090506136ec91906136f0565b5090565b5b808211156137095760008160009055506001016136f1565b5090565b600061372061371b846146bb565b614696565b90508281526020810184848401111561373c5761373b614bd2565b5b613747848285614954565b509392505050565b600061376261375d846146ec565b614696565b90508281526020810184848401111561377e5761377d614bd2565b5b613789848285614954565b509392505050565b6000813590506137a081615327565b92915050565b6000813590506137b58161533e565b92915050565b6000815190506137ca8161533e565b92915050565b6000813590506137df81615355565b92915050565b6000815190506137f481615355565b92915050565b600082601f83011261380f5761380e614bcd565b5b813561381f84826020860161370d565b91505092915050565b600082601f83011261383d5761383c614bcd565b5b813561384d84826020860161374f565b91505092915050565b6000813590506138658161536c565b92915050565b60008151905061387a8161536c565b92915050565b60006020828403121561389657613895614bdc565b5b60006138a484828501613791565b91505092915050565b600080604083850312156138c4576138c3614bdc565b5b60006138d285828601613791565b92505060206138e385828601613791565b9150509250929050565b60008060006060848603121561390657613905614bdc565b5b600061391486828701613791565b935050602061392586828701613791565b925050604061393686828701613856565b9150509250925092565b6000806000806080858703121561395a57613959614bdc565b5b600061396887828801613791565b945050602061397987828801613791565b935050604061398a87828801613856565b925050606085013567ffffffffffffffff8111156139ab576139aa614bd7565b5b6139b7878288016137fa565b91505092959194509250565b600080604083850312156139da576139d9614bdc565b5b60006139e885828601613791565b92505060206139f9858286016137a6565b9150509250929050565b60008060408385031215613a1a57613a19614bdc565b5b6000613a2885828601613791565b9250506020613a3985828601613856565b9150509250929050565b600060208284031215613a5957613a58614bdc565b5b6000613a67848285016137a6565b91505092915050565b600060208284031215613a8657613a85614bdc565b5b6000613a94848285016137bb565b91505092915050565b600060208284031215613ab357613ab2614bdc565b5b6000613ac1848285016137d0565b91505092915050565b600060208284031215613ae057613adf614bdc565b5b6000613aee848285016137e5565b91505092915050565b600060208284031215613b0d57613b0c614bdc565b5b600082013567ffffffffffffffff811115613b2b57613b2a614bd7565b5b613b3784828501613828565b91505092915050565b600060208284031215613b5657613b55614bdc565b5b6000613b6484828501613856565b91505092915050565b600060208284031215613b8357613b82614bdc565b5b6000613b918482850161386b565b91505092915050565b6000613ba68383614152565b60208301905092915050565b613bc3613bbe826148e0565b614a54565b82525050565b613bd2816148ce565b82525050565b613be9613be4826148ce565b614a42565b82525050565b6000613bfa82614742565b613c048185614770565b9350613c0f8361471d565b8060005b83811015613c40578151613c278882613b9a565b9750613c3283614763565b925050600181019050613c13565b5085935050505092915050565b613c56816148f2565b82525050565b6000613c678261474d565b613c718185614781565b9350613c81818560208601614963565b613c8a81614be1565b840191505092915050565b6000613ca082614758565b613caa818561479d565b9350613cba818560208601614963565b613cc381614be1565b840191505092915050565b6000613cd982614758565b613ce381856147ae565b9350613cf3818560208601614963565b80840191505092915050565b60008154613d0c81614996565b613d1681866147ae565b94506001821660008114613d315760018114613d4257613d75565b60ff19831686528186019350613d75565b613d4b8561472d565b60005b83811015613d6d57815481890152600182019150602081019050613d4e565b838801955050505b50505092915050565b6000613d8b60128361479d565b9150613d9682614bff565b602082019050919050565b6000613dae602b8361479d565b9150613db982614c28565b604082019050919050565b6000613dd160328361479d565b9150613ddc82614c77565b604082019050919050565b6000613df460268361479d565b9150613dff82614cc6565b604082019050919050565b6000613e17601c8361479d565b9150613e2282614d15565b602082019050919050565b6000613e3a60288361479d565b9150613e4582614d3e565b604082019050919050565b6000613e5d60248361479d565b9150613e6882614d8d565b604082019050919050565b6000613e8060198361479d565b9150613e8b82614ddc565b602082019050919050565b6000613ea360188361479d565b9150613eae82614e05565b602082019050919050565b6000613ec6602c8361479d565b9150613ed182614e2e565b604082019050919050565b6000613ee960238361479d565b9150613ef482614e7d565b604082019050919050565b6000613f0c60388361479d565b9150613f1782614ecc565b604082019050919050565b6000613f2f602a8361479d565b9150613f3a82614f1b565b604082019050919050565b6000613f5260298361479d565b9150613f5d82614f6a565b604082019050919050565b6000613f75601d8361479d565b9150613f8082614fb9565b602082019050919050565b6000613f98600e8361479d565b9150613fa382614fe2565b602082019050919050565b6000613fbb60328361479d565b9150613fc68261500b565b604082019050919050565b6000613fde60208361479d565b9150613fe98261505a565b602082019050919050565b6000614001602c8361479d565b915061400c82615083565b604082019050919050565b600061402460328361479d565b915061402f826150d2565b604082019050919050565b600061404760208361479d565b915061405282615121565b602082019050919050565b600061406a60238361479d565b91506140758261514a565b604082019050919050565b600061408d60298361479d565b915061409882615199565b604082019050919050565b60006140b0602f8361479d565b91506140bb826151e8565b604082019050919050565b60006140d360218361479d565b91506140de82615237565b604082019050919050565b60006140f6600083614792565b915061410182615286565b600082019050919050565b600061411960318361479d565b915061412482615289565b604082019050919050565b600061413c602c8361479d565b9150614147826152d8565b604082019050919050565b61415b8161494a565b82525050565b61416a8161494a565b82525050565b61418161417c8261494a565b614a78565b82525050565b60006141938288613bd8565b6014820191506141a38287613bb2565b6014820191506141b38286614170565b6020820191506141c38285614170565b6020820191506141d38284614170565b6020820191508190509695505050505050565b60006141f28286613cce565b91506141fe8285613cce565b915061420a8284613cff565b9150819050949350505050565b6000614222826140e9565b9150819050919050565b60006020820190506142416000830184613bc9565b92915050565b600060808201905061425c6000830187613bc9565b6142696020830186613bc9565b6142766040830185614161565b81810360608301526142888184613c5c565b905095945050505050565b60006040820190506142a86000830185613bc9565b6142b56020830184614161565b9392505050565b600060208201905081810360008301526142d68184613bef565b905092915050565b60006020820190506142f36000830184613c4d565b92915050565b600060208201905081810360008301526143138184613c95565b905092915050565b6000602082019050818103600083015261433481613d7e565b9050919050565b6000602082019050818103600083015261435481613da1565b9050919050565b6000602082019050818103600083015261437481613dc4565b9050919050565b6000602082019050818103600083015261439481613de7565b9050919050565b600060208201905081810360008301526143b481613e0a565b9050919050565b600060208201905081810360008301526143d481613e2d565b9050919050565b600060208201905081810360008301526143f481613e50565b9050919050565b6000602082019050818103600083015261441481613e73565b9050919050565b6000602082019050818103600083015261443481613e96565b9050919050565b6000602082019050818103600083015261445481613eb9565b9050919050565b6000602082019050818103600083015261447481613edc565b9050919050565b6000602082019050818103600083015261449481613eff565b9050919050565b600060208201905081810360008301526144b481613f22565b9050919050565b600060208201905081810360008301526144d481613f45565b9050919050565b600060208201905081810360008301526144f481613f68565b9050919050565b6000602082019050818103600083015261451481613f8b565b9050919050565b6000602082019050818103600083015261453481613fae565b9050919050565b6000602082019050818103600083015261455481613fd1565b9050919050565b6000602082019050818103600083015261457481613ff4565b9050919050565b6000602082019050818103600083015261459481614017565b9050919050565b600060208201905081810360008301526145b48161403a565b9050919050565b600060208201905081810360008301526145d48161405d565b9050919050565b600060208201905081810360008301526145f481614080565b9050919050565b60006020820190508181036000830152614614816140a3565b9050919050565b60006020820190508181036000830152614634816140c6565b9050919050565b600060208201905081810360008301526146548161410c565b9050919050565b600060208201905081810360008301526146748161412f565b9050919050565b60006020820190506146906000830184614161565b92915050565b60006146a06146b1565b90506146ac82826149c8565b919050565b6000604051905090565b600067ffffffffffffffff8211156146d6576146d5614b9e565b5b6146df82614be1565b9050602081019050919050565b600067ffffffffffffffff82111561470757614706614b9e565b5b61471082614be1565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006147c48261494a565b91506147cf8361494a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561480457614803614ab3565b5b828201905092915050565b600061481a8261494a565b91506148258361494a565b92508261483557614834614ae2565b5b828204905092915050565b600061484b8261494a565b91506148568361494a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561488f5761488e614ab3565b5b828202905092915050565b60006148a58261494a565b91506148b08361494a565b9250828210156148c3576148c2614ab3565b5b828203905092915050565b60006148d98261492a565b9050919050565b60006148eb8261492a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614981578082015181840152602081019050614966565b83811115614990576000848401525b50505050565b600060028204905060018216806149ae57607f821691505b602082108114156149c2576149c1614b11565b5b50919050565b6149d182614be1565b810181811067ffffffffffffffff821117156149f0576149ef614b9e565b5b80604052505050565b6000614a048261494a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a3757614a36614ab3565b5b600182019050919050565b6000614a4d82614a66565b9050919050565b6000614a5f82614a66565b9050919050565b6000614a7182614bf2565b9050919050565b6000819050919050565b6000614a8d8261494a565b9150614a988361494a565b925082614aa857614aa7614ae2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74696e67206973207061757365642e0000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f526571756573746564206e756d626572206f6620746f6b656e73206e6f74206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468616e60008201527f20302e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e65656420746f2073656e6420746865206d696e74696e67206665652e000000600082015250565b7f62616c616e6365206973206c6f77000000000000000000000000000000000000600082015250565b7f496e697469616c206d696e742062792061646d696e20697320616c726561647960008201527f20706572666f726d6564206265666f72652e0000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d696e7420616d6f756e74206d757374206e6f7420626520677265617465722060008201527f7468616e206d61784d696e74416d6f756e740000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e20746f74616c207375707060008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b615330816148ce565b811461533b57600080fd5b50565b615347816148f2565b811461535257600080fd5b50565b61535e816148fe565b811461536957600080fd5b50565b6153758161494a565b811461538057600080fd5b5056fea26469706673582212207e1b177b0b5ea8781be9340f8ef8dba875701c669b35e3501cb3b335d5eef80864736f6c63430008070033697066733a2f2f516d596663317a6364574475567951316f41517755416438685872457761336a764533686a584e444c774b545654697066733a2f2f516d4e50456546614b643364587477377834335641695a4a3154715876676e78446a415566645251316a557956682f

Loading