false
false
0

Contract Address Details

0x0e759AA7166AB3b2b81AbD6d9eD16ac83368F97e

Token
The Fat Cats (FATCAT)
Creator
0x016c32–d7d9dd at 0x1608bc–a54f6c
Balance
0 SGB
Tokens
Fetching tokens...
Transactions
2,626 Transactions
Transfers
1 Transfers
Gas Used
131,959,731
Last Balance Update
59091662
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
TheFatCats




Optimization enabled
false
Compiler version
v0.8.7+commit.e28d00a7




EVM Version
default




Verified at
2022-03-12T10:40:35.550783Z

Contract source code

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

// File: contracts/TheFatCats.sol



// solhint-disable-next-line
pragma solidity >=0.7.0 <0.9.0;





contract TheFatCats is ERC721, Ownable, ReentrancyGuard {
    using Strings for uint256;
    using Counters for Counters.Counter;

    // Private
    Counters.Counter private supply;
    mapping(address => uint8) public whiteList;

    // Public
    bool public isWhiteListActive = false;
    string public uriPrefix = "";
    string public uriSuffix = ".json";
    string public hiddenMetadataUri;

    uint256 public price = 2000 ether; // 10**18
    uint256 public maxSupply = 1000;
    uint256 public maxMintAmountPerTx = 1;

    bool public paused = true;
    bool public revealed = false;

    event Revealed(bool _state);
    event Paused(bool _state);

    constructor() ERC721("The Fat Cats", "FATCAT") {
        setHiddenMetadataUri(
            "ipfs://QmSGZ9wA7DYLcHxZCVsSCiEKQte38b5FJwd2H77sfpHcHB/hidden.json"
        );
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        _;
    }

    modifier mintPriceCompliance(uint256 _mintAmount) {
        require(msg.value >= price * _mintAmount, "Insufficient funds!");
        _;
    }

    function totalSupply() public view returns (uint256) {
        return supply.current();
    }

    function mint(uint256 _mintAmount)
        public
        payable
        mintCompliance(_mintAmount)
        mintPriceCompliance(_mintAmount)
    {
        require(!paused, "The contract is paused!");

        _mintLoop(msg.sender, _mintAmount);
    }

    // WL
    function mintWhiteList(uint8 _mintAmount)
        external
        payable
        mintPriceCompliance(_mintAmount)
    {
        require(isWhiteListActive, "White List is not active");
        require(_mintAmount > 0, "Invalid mint amount!");
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        require(
            _mintAmount <= whiteList[msg.sender],
            "Exceeded max available to purchase!"
        );
        whiteList[msg.sender] -= _mintAmount;
        _mintLoop(msg.sender, _mintAmount);
    }

    // Giveaways
    function mintForAddress(uint256 _mintAmount, address _receiver)
        public
        mintCompliance(_mintAmount)
        onlyOwner
    {
        _mintLoop(_receiver, _mintAmount);
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply
        ) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

            currentTokenId++;
        }

        return ownedTokenIds;
    }

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

        if (revealed == false) {
            return hiddenMetadataUri;
        }

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

    // only owner
    function setWhiteListActive(bool _isWhiteListActive) external onlyOwner {
        isWhiteListActive = _isWhiteListActive;
    }

    function setWhiteList(address[] calldata addresses, uint8 numAllowedToMint)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            whiteList[addresses[i]] = numAllowedToMint;
        }
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
        emit Revealed(_state);
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        require(_maxSupply >= totalSupply(), "Total supply too large!");
        maxSupply = _maxSupply;
    }

    function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx)
        public
        onlyOwner
    {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
        emit Paused(_state);
    }

    function withdraw(bool asTest) public onlyOwner nonReentrant {
        require(
            !asTest || (asTest && address(this).balance >= 1 ether),
            "Insufficient funds to run test!"
        );
        require(address(this).balance > 0, "No funds to withdraw!");
        // Transfer funds to owner
        // =============================================================================
        if (asTest) {
            (bool sent, ) = payable(owner()).call{value: 1 ether}("");
            require(sent, "Couldn't send test amount");
        } else {
            (bool sent, ) = payable(owner()).call{value: address(this).balance}(
                ""
            );
            require(sent, "Couldn't send balance");
        }
        // =============================================================================
    }

    function _mintLoop(address _receiver, uint256 _mintAmount) internal {
        for (uint256 i = 0; i < _mintAmount; i++) {
            supply.increment();
            _safeMint(_receiver, supply.current());
        }
    }

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

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"bool","name":"_state","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Revealed","inputs":[{"type":"bool","name":"_state","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"hiddenMetadataUri","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isWhiteListActive","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxMintAmountPerTx","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxSupply","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mint","inputs":[{"type":"uint256","name":"_mintAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintForAddress","inputs":[{"type":"uint256","name":"_mintAmount","internalType":"uint256"},{"type":"address","name":"_receiver","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"mintWhiteList","inputs":[{"type":"uint8","name":"_mintAmount","internalType":"uint8"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"price","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"revealed","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setHiddenMetadataUri","inputs":[{"type":"string","name":"_hiddenMetadataUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxMintAmountPerTx","inputs":[{"type":"uint256","name":"_maxMintAmountPerTx","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMaxSupply","inputs":[{"type":"uint256","name":"_maxSupply","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPaused","inputs":[{"type":"bool","name":"_state","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPrice","inputs":[{"type":"uint256","name":"_price","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setRevealed","inputs":[{"type":"bool","name":"_state","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setUriPrefix","inputs":[{"type":"string","name":"_uriPrefix","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setUriSuffix","inputs":[{"type":"string","name":"_uriSuffix","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWhiteList","inputs":[{"type":"address[]","name":"addresses","internalType":"address[]"},{"type":"uint8","name":"numAllowedToMint","internalType":"uint8"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWhiteListActive","inputs":[{"type":"bool","name":"_isWhiteListActive","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uriPrefix","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uriSuffix","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"whiteList","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"bool","name":"asTest","internalType":"bool"}]}]
              

Contract Creation Code

0x60806040526000600a60006101000a81548160ff02191690831515021790555060405180602001604052806000815250600b9080519060200190620000469291906200038c565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c9080519060200190620000949291906200038c565b50686c6b935b8bbd400000600e556103e8600f5560016010556001601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff021916908315150217905550348015620000f057600080fd5b506040518060400160405280600c81526020017f54686520466174204361747300000000000000000000000000000000000000008152506040518060400160405280600681526020017f46415443415400000000000000000000000000000000000000000000000000008152508160009080519060200190620001759291906200038c565b5080600190805190602001906200018e9291906200038c565b505050620001b1620001a5620001e960201b60201c565b620001f160201b60201c565b6001600781905550620001e36040518060800160405280604181526020016200550760419139620002b760201b60201c565b62000524565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002c7620001e960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002ed6200036260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000346576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200033d9062000463565b60405180910390fd5b80600d90805190602001906200035e9291906200038c565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200039a9062000496565b90600052602060002090601f016020900481019282620003be57600085556200040a565b82601f10620003d957805160ff19168380011785556200040a565b828001600101855582156200040a579182015b8281111562000409578251825591602001919060010190620003ec565b5b5090506200041991906200041d565b5090565b5b80821115620004385760008160009055506001016200041e565b5090565b60006200044b60208362000485565b91506200045882620004fb565b602082019050919050565b600060208201905081810360008301526200047e816200043c565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004af57607f821691505b60208210811415620004c657620004c5620004cc565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614fd380620005346000396000f3fe6080604052600436106102515760003560e01c80637ec4a65911610139578063b071401b116100b6578063e0a808531161007a578063e0a8085314610894578063e985e9c5146108bd578063eceb7d52146108fa578063efbd73f414610923578063f2fde38b1461094c578063f6dc6bf81461097557610251565b8063b071401b146107be578063b4993152146107e7578063b88d4fde14610803578063c87b56dd1461082c578063d5abeb011461086957610251565b8063a035b1fe116100fd578063a035b1fe146106fa578063a0712d6814610725578063a22cb46514610741578063a45ba8e71461076a578063a810a54c1461079557610251565b80637ec4a659146106275780638da5cb5b1461065057806391b7f5ed1461067b57806394354fd0146106a457806395d89b41146106cf57610251565b8063438b6300116101d25780635c975abb116101965780635c975abb1461051757806362b99ad4146105425780636352211e1461056d5780636f8b44b0146105aa57806370a08231146105d3578063715018a61461061057610251565b8063438b6300146104305780634fdd43cb1461046d57806351830227146104965780635503a0e8146104c1578063573f5dae146104ec57610251565b806316c38b3c1161021957806316c38b3c1461034d57806318160ddd1461037657806323b872dd146103a1578063372c12b1146103ca57806342842e0e1461040757610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806316ba10e014610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906137be565b61099e565b60405161028a9190613fa4565b60405180910390f35b34801561029f57600080fd5b506102a8610a80565b6040516102b59190613fbf565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613861565b610b12565b6040516102f29190613f1b565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906136f1565b610b97565b005b34801561033057600080fd5b5061034b60048036038101906103469190613818565b610caf565b005b34801561035957600080fd5b50610374600480360381019061036f9190613791565b610d45565b005b34801561038257600080fd5b5061038b610e15565b6040516103989190614361565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906135db565b610e26565b005b3480156103d657600080fd5b506103f160048036038101906103ec919061356e565b610e86565b6040516103fe919061437c565b60405180910390f35b34801561041357600080fd5b5061042e600480360381019061042991906135db565b610ea6565b005b34801561043c57600080fd5b506104576004803603810190610452919061356e565b610ec6565b6040516104649190613f82565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613818565b610fd1565b005b3480156104a257600080fd5b506104ab611067565b6040516104b89190613fa4565b60405180910390f35b3480156104cd57600080fd5b506104d661107a565b6040516104e39190613fbf565b60405180910390f35b3480156104f857600080fd5b50610501611108565b60405161050e9190613fa4565b60405180910390f35b34801561052357600080fd5b5061052c61111b565b6040516105399190613fa4565b60405180910390f35b34801561054e57600080fd5b5061055761112e565b6040516105649190613fbf565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613861565b6111bc565b6040516105a19190613f1b565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc9190613861565b61126e565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061356e565b61133e565b6040516106079190614361565b60405180910390f35b34801561061c57600080fd5b506106256113f6565b005b34801561063357600080fd5b5061064e60048036038101906106499190613818565b61147e565b005b34801561065c57600080fd5b50610665611514565b6040516106729190613f1b565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613861565b61153e565b005b3480156106b057600080fd5b506106b96115c4565b6040516106c69190614361565b60405180910390f35b3480156106db57600080fd5b506106e46115ca565b6040516106f19190613fbf565b60405180910390f35b34801561070657600080fd5b5061070f61165c565b60405161071c9190614361565b60405180910390f35b61073f600480360381019061073a9190613861565b611662565b005b34801561074d57600080fd5b50610768600480360381019061076391906136b1565b6117bb565b005b34801561077657600080fd5b5061077f6117d1565b60405161078c9190613fbf565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190613791565b61185f565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613861565b611b50565b005b61080160048036038101906107fc91906138ce565b611bd6565b005b34801561080f57600080fd5b5061082a6004803603810190610825919061362e565b611e32565b005b34801561083857600080fd5b50610853600480360381019061084e9190613861565b611e94565b6040516108609190613fbf565b60405180910390f35b34801561087557600080fd5b5061087e611fed565b60405161088b9190614361565b60405180910390f35b3480156108a057600080fd5b506108bb60048036038101906108b69190613791565b611ff3565b005b3480156108c957600080fd5b506108e460048036038101906108df919061359b565b6120c3565b6040516108f19190613fa4565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c9190613791565b612157565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061388e565b6121f0565b005b34801561095857600080fd5b50610973600480360381019061096e919061356e565b612324565b005b34801561098157600080fd5b5061099c60048036038101906109979190613731565b61241c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a795750610a788261253e565b5b9050919050565b606060008054610a8f906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb906146c6565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b5050505050905090565b6000610b1d826125a8565b610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5390614201565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba2826111bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90614281565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c32612614565b73ffffffffffffffffffffffffffffffffffffffff161480610c615750610c6081610c5b612614565b6120c3565b5b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614181565b60405180910390fd5b610caa838361261c565b505050565b610cb7612614565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611514565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290614221565b60405180910390fd5b80600c9080519060200190610d41929190613317565b5050565b610d4d612614565b73ffffffffffffffffffffffffffffffffffffffff16610d6b611514565b73ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614221565b60405180910390fd5b80601160006101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd281604051610e0a9190613fa4565b60405180910390a150565b6000610e2160086126d5565b905090565b610e37610e31612614565b826126e3565b610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d906142e1565b60405180910390fd5b610e818383836127c1565b505050565b60096020528060005260406000206000915054906101000a900460ff1681565b610ec183838360405180602001604052806000815250611e32565b505050565b60606000610ed38361133e565b905060008167ffffffffffffffff811115610ef157610ef061485f565b5b604051908082528060200260200182016040528015610f1f5781602001602082028036833780820191505090505b50905060006001905060005b8381108015610f3c5750600f548211155b15610fc5576000610f4c836111bc565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fb15782848381518110610f9657610f95614830565b5b6020026020010181815250508180610fad90614729565b9250505b8280610fbc90614729565b93505050610f2b565b82945050505050919050565b610fd9612614565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611514565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614221565b60405180910390fd5b80600d9080519060200190611063929190613317565b5050565b601160019054906101000a900460ff1681565b600c8054611087906146c6565b80601f01602080910402602001604051908101604052809291908181526020018280546110b3906146c6565b80156111005780601f106110d557610100808354040283529160200191611100565b820191906000526020600020905b8154815290600101906020018083116110e357829003601f168201915b505050505081565b600a60009054906101000a900460ff1681565b601160009054906101000a900460ff1681565b600b805461113b906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611167906146c6565b80156111b45780601f10611189576101008083540402835291602001916111b4565b820191906000526020600020905b81548152906001019060200180831161119757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906141c1565b60405180910390fd5b80915050919050565b611276612614565b73ffffffffffffffffffffffffffffffffffffffff16611294611514565b73ffffffffffffffffffffffffffffffffffffffff16146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614221565b60405180910390fd5b6112f2610e15565b811015611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614301565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a6906141a1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113fe612614565b73ffffffffffffffffffffffffffffffffffffffff1661141c611514565b73ffffffffffffffffffffffffffffffffffffffff1614611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614221565b60405180910390fd5b61147c6000612a28565b565b611486612614565b73ffffffffffffffffffffffffffffffffffffffff166114a4611514565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f190614221565b60405180910390fd5b80600b9080519060200190611510929190613317565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611546612614565b73ffffffffffffffffffffffffffffffffffffffff16611564611514565b73ffffffffffffffffffffffffffffffffffffffff16146115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b190614221565b60405180910390fd5b80600e8190555050565b60105481565b6060600180546115d9906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611605906146c6565b80156116525780601f1061162757610100808354040283529160200191611652565b820191906000526020600020905b81548152906001019060200180831161163557829003601f168201915b5050505050905090565b600e5481565b8060008111801561167557506010548111155b6116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab90614081565b60405180910390fd5b600f54816116c0610e15565b6116ca91906144ba565b111561170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906142c1565b60405180910390fd5b8180600e5461171a9190614541565b34101561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390614341565b60405180910390fd5b601160009054906101000a900460ff16156117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390614241565b60405180910390fd5b6117b63384612aee565b505050565b6117cd6117c6612614565b8383612b2e565b5050565b600d80546117de906146c6565b80601f016020809104026020016040519081016040528092919081815260200182805461180a906146c6565b80156118575780601f1061182c57610100808354040283529160200191611857565b820191906000526020600020905b81548152906001019060200180831161183a57829003601f168201915b505050505081565b611867612614565b73ffffffffffffffffffffffffffffffffffffffff16611885611514565b73ffffffffffffffffffffffffffffffffffffffff16146118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290614221565b60405180910390fd5b60026007541415611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890614321565b60405180910390fd5b600260078190555080158061194757508080156119465750670de0b6b3a76400004710155b5b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906140e1565b60405180910390fd5b600047116119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c0906142a1565b60405180910390fd5b8015611a905760006119d9611514565b73ffffffffffffffffffffffffffffffffffffffff16670de0b6b3a7640000604051611a0490613f06565b60006040518083038185875af1925050503d8060008114611a41576040519150601f19603f3d011682016040523d82523d6000602084013e611a46565b606091505b5050905080611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906140a1565b60405180910390fd5b50611b45565b6000611a9a611514565b73ffffffffffffffffffffffffffffffffffffffff1647604051611abd90613f06565b60006040518083038185875af1925050503d8060008114611afa576040519150601f19603f3d011682016040523d82523d6000602084013e611aff565b606091505b5050905080611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614161565b60405180910390fd5b505b600160078190555050565b611b58612614565b73ffffffffffffffffffffffffffffffffffffffff16611b76611514565b73ffffffffffffffffffffffffffffffffffffffff1614611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc390614221565b60405180910390fd5b8060108190555050565b8060ff1680600e54611be89190614541565b341015611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2190614341565b60405180910390fd5b600a60009054906101000a900460ff16611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090613fe1565b60405180910390fd5b60008260ff1611611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690614081565b60405180910390fd5b600f548260ff16611cce610e15565b611cd891906144ba565b1115611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d10906142c1565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da5906140c1565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611e0991906145cf565b92506101000a81548160ff021916908360ff160217905550611e2e338360ff16612aee565b5050565b611e43611e3d612614565b836126e3565b611e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e79906142e1565b60405180910390fd5b611e8e84848484612c9b565b50505050565b6060611e9f826125a8565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614261565b60405180910390fd5b60001515601160019054906101000a900460ff1615151415611f8c57600d8054611f07906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611f33906146c6565b8015611f805780601f10611f5557610100808354040283529160200191611f80565b820191906000526020600020905b815481529060010190602001808311611f6357829003601f168201915b50505050509050611fe8565b6000611f96612cf7565b90506000815111611fb65760405180602001604052806000815250611fe4565b80611fc084612d89565b600c604051602001611fd493929190613ed5565b6040516020818303038152906040525b9150505b919050565b600f5481565b611ffb612614565b73ffffffffffffffffffffffffffffffffffffffff16612019611514565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614221565b60405180910390fd5b80601160016101000a81548160ff0219169083151502179055507f20a5b4e05b29089957b31c76110692167d828e9ecb1be33824e11609370e8021816040516120b89190613fa4565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61215f612614565b73ffffffffffffffffffffffffffffffffffffffff1661217d611514565b73ffffffffffffffffffffffffffffffffffffffff16146121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90614221565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b8160008111801561220357506010548111155b612242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223990614081565b60405180910390fd5b600f548161224e610e15565b61225891906144ba565b1115612299576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612290906142c1565b60405180910390fd5b6122a1612614565b73ffffffffffffffffffffffffffffffffffffffff166122bf611514565b73ffffffffffffffffffffffffffffffffffffffff1614612315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230c90614221565b60405180910390fd5b61231f8284612aee565b505050565b61232c612614565b73ffffffffffffffffffffffffffffffffffffffff1661234a611514565b73ffffffffffffffffffffffffffffffffffffffff16146123a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239790614221565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240790614021565b60405180910390fd5b61241981612a28565b50565b612424612614565b73ffffffffffffffffffffffffffffffffffffffff16612442611514565b73ffffffffffffffffffffffffffffffffffffffff1614612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90614221565b60405180910390fd5b60005b838390508110156125385781600960008686858181106124be576124bd614830565b5b90506020020160208101906124d3919061356e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061253090614729565b91505061249b565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661268f836111bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006126ee826125a8565b61272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272490614141565b60405180910390fd5b6000612738836111bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127a757508373ffffffffffffffffffffffffffffffffffffffff1661278f84610b12565b73ffffffffffffffffffffffffffffffffffffffff16145b806127b857506127b781856120c3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127e1826111bc565b73ffffffffffffffffffffffffffffffffffffffff1614612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90614041565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289e90614101565b60405180910390fd5b6128b2838383612eea565b6128bd60008261261c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461290d919061459b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296491906144ba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a23838383612eef565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b81811015612b2957612b036008612ef4565b612b1683612b1160086126d5565b612f0a565b8080612b2190614729565b915050612af1565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9490614121565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c8e9190613fa4565b60405180910390a3505050565b612ca68484846127c1565b612cb284848484612f28565b612cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce890614001565b60405180910390fd5b50505050565b6060600b8054612d06906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054612d32906146c6565b8015612d7f5780601f10612d5457610100808354040283529160200191612d7f565b820191906000526020600020905b815481529060010190602001808311612d6257829003601f168201915b5050505050905090565b60606000821415612dd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ee5565b600082905060005b60008214612e03578080612dec90614729565b915050600a82612dfc9190614510565b9150612dd9565b60008167ffffffffffffffff811115612e1f57612e1e61485f565b5b6040519080825280601f01601f191660200182016040528015612e515781602001600182028036833780820191505090505b5090505b60008514612ede57600182612e6a919061459b565b9150600a85612e799190614772565b6030612e8591906144ba565b60f81b818381518110612e9b57612e9a614830565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ed79190614510565b9450612e55565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b612f248282604051806020016040528060008152506130bf565b5050565b6000612f498473ffffffffffffffffffffffffffffffffffffffff1661311a565b156130b2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f72612614565b8786866040518563ffffffff1660e01b8152600401612f949493929190613f36565b602060405180830381600087803b158015612fae57600080fd5b505af1925050508015612fdf57506040513d601f19601f82011682018060405250810190612fdc91906137eb565b60015b613062573d806000811461300f576040519150601f19603f3d011682016040523d82523d6000602084013e613014565b606091505b5060008151141561305a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305190614001565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130b7565b600190505b949350505050565b6130c9838361313d565b6130d66000848484612f28565b613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c90614001565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a4906141e1565b60405180910390fd5b6131b6816125a8565b156131f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ed90614061565b60405180910390fd5b61320260008383612eea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461325291906144ba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461331360008383612eef565b5050565b828054613323906146c6565b90600052602060002090601f016020900481019282613345576000855561338c565b82601f1061335e57805160ff191683800117855561338c565b8280016001018555821561338c579182015b8281111561338b578251825591602001919060010190613370565b5b509050613399919061339d565b5090565b5b808211156133b657600081600090555060010161339e565b5090565b60006133cd6133c8846143bc565b614397565b9050828152602081018484840111156133e9576133e861489d565b5b6133f4848285614684565b509392505050565b600061340f61340a846143ed565b614397565b90508281526020810184848401111561342b5761342a61489d565b5b613436848285614684565b509392505050565b60008135905061344d81614f2a565b92915050565b60008083601f84011261346957613468614893565b5b8235905067ffffffffffffffff8111156134865761348561488e565b5b6020830191508360208202830111156134a2576134a1614898565b5b9250929050565b6000813590506134b881614f41565b92915050565b6000813590506134cd81614f58565b92915050565b6000815190506134e281614f58565b92915050565b600082601f8301126134fd576134fc614893565b5b813561350d8482602086016133ba565b91505092915050565b600082601f83011261352b5761352a614893565b5b813561353b8482602086016133fc565b91505092915050565b60008135905061355381614f6f565b92915050565b60008135905061356881614f86565b92915050565b600060208284031215613584576135836148a7565b5b60006135928482850161343e565b91505092915050565b600080604083850312156135b2576135b16148a7565b5b60006135c08582860161343e565b92505060206135d18582860161343e565b9150509250929050565b6000806000606084860312156135f4576135f36148a7565b5b60006136028682870161343e565b93505060206136138682870161343e565b925050604061362486828701613544565b9150509250925092565b60008060008060808587031215613648576136476148a7565b5b60006136568782880161343e565b94505060206136678782880161343e565b935050604061367887828801613544565b925050606085013567ffffffffffffffff811115613699576136986148a2565b5b6136a5878288016134e8565b91505092959194509250565b600080604083850312156136c8576136c76148a7565b5b60006136d68582860161343e565b92505060206136e7858286016134a9565b9150509250929050565b60008060408385031215613708576137076148a7565b5b60006137168582860161343e565b925050602061372785828601613544565b9150509250929050565b60008060006040848603121561374a576137496148a7565b5b600084013567ffffffffffffffff811115613768576137676148a2565b5b61377486828701613453565b9350935050602061378786828701613559565b9150509250925092565b6000602082840312156137a7576137a66148a7565b5b60006137b5848285016134a9565b91505092915050565b6000602082840312156137d4576137d36148a7565b5b60006137e2848285016134be565b91505092915050565b600060208284031215613801576138006148a7565b5b600061380f848285016134d3565b91505092915050565b60006020828403121561382e5761382d6148a7565b5b600082013567ffffffffffffffff81111561384c5761384b6148a2565b5b61385884828501613516565b91505092915050565b600060208284031215613877576138766148a7565b5b600061388584828501613544565b91505092915050565b600080604083850312156138a5576138a46148a7565b5b60006138b385828601613544565b92505060206138c48582860161343e565b9150509250929050565b6000602082840312156138e4576138e36148a7565b5b60006138f284828501613559565b91505092915050565b60006139078383613ea8565b60208301905092915050565b61391c81614603565b82525050565b600061392d82614443565b6139378185614471565b93506139428361441e565b8060005b8381101561397357815161395a88826138fb565b975061396583614464565b925050600181019050613946565b5085935050505092915050565b61398981614615565b82525050565b600061399a8261444e565b6139a48185614482565b93506139b4818560208601614693565b6139bd816148ac565b840191505092915050565b60006139d382614459565b6139dd818561449e565b93506139ed818560208601614693565b6139f6816148ac565b840191505092915050565b6000613a0c82614459565b613a1681856144af565b9350613a26818560208601614693565b80840191505092915050565b60008154613a3f816146c6565b613a4981866144af565b94506001821660008114613a645760018114613a7557613aa8565b60ff19831686528186019350613aa8565b613a7e8561442e565b60005b83811015613aa057815481890152600182019150602081019050613a81565b838801955050505b50505092915050565b6000613abe60188361449e565b9150613ac9826148bd565b602082019050919050565b6000613ae160328361449e565b9150613aec826148e6565b604082019050919050565b6000613b0460268361449e565b9150613b0f82614935565b604082019050919050565b6000613b2760258361449e565b9150613b3282614984565b604082019050919050565b6000613b4a601c8361449e565b9150613b55826149d3565b602082019050919050565b6000613b6d60148361449e565b9150613b78826149fc565b602082019050919050565b6000613b9060198361449e565b9150613b9b82614a25565b602082019050919050565b6000613bb360238361449e565b9150613bbe82614a4e565b604082019050919050565b6000613bd6601f8361449e565b9150613be182614a9d565b602082019050919050565b6000613bf960248361449e565b9150613c0482614ac6565b604082019050919050565b6000613c1c60198361449e565b9150613c2782614b15565b602082019050919050565b6000613c3f602c8361449e565b9150613c4a82614b3e565b604082019050919050565b6000613c6260158361449e565b9150613c6d82614b8d565b602082019050919050565b6000613c8560388361449e565b9150613c9082614bb6565b604082019050919050565b6000613ca8602a8361449e565b9150613cb382614c05565b604082019050919050565b6000613ccb60298361449e565b9150613cd682614c54565b604082019050919050565b6000613cee60208361449e565b9150613cf982614ca3565b602082019050919050565b6000613d11602c8361449e565b9150613d1c82614ccc565b604082019050919050565b6000613d3460208361449e565b9150613d3f82614d1b565b602082019050919050565b6000613d5760178361449e565b9150613d6282614d44565b602082019050919050565b6000613d7a602f8361449e565b9150613d8582614d6d565b604082019050919050565b6000613d9d60218361449e565b9150613da882614dbc565b604082019050919050565b6000613dc060158361449e565b9150613dcb82614e0b565b602082019050919050565b6000613de3600083614493565b9150613dee82614e34565b600082019050919050565b6000613e0660148361449e565b9150613e1182614e37565b602082019050919050565b6000613e2960318361449e565b9150613e3482614e60565b604082019050919050565b6000613e4c60178361449e565b9150613e5782614eaf565b602082019050919050565b6000613e6f601f8361449e565b9150613e7a82614ed8565b602082019050919050565b6000613e9260138361449e565b9150613e9d82614f01565b602082019050919050565b613eb18161466d565b82525050565b613ec08161466d565b82525050565b613ecf81614677565b82525050565b6000613ee18286613a01565b9150613eed8285613a01565b9150613ef98284613a32565b9150819050949350505050565b6000613f1182613dd6565b9150819050919050565b6000602082019050613f306000830184613913565b92915050565b6000608082019050613f4b6000830187613913565b613f586020830186613913565b613f656040830185613eb7565b8181036060830152613f77818461398f565b905095945050505050565b60006020820190508181036000830152613f9c8184613922565b905092915050565b6000602082019050613fb96000830184613980565b92915050565b60006020820190508181036000830152613fd981846139c8565b905092915050565b60006020820190508181036000830152613ffa81613ab1565b9050919050565b6000602082019050818103600083015261401a81613ad4565b9050919050565b6000602082019050818103600083015261403a81613af7565b9050919050565b6000602082019050818103600083015261405a81613b1a565b9050919050565b6000602082019050818103600083015261407a81613b3d565b9050919050565b6000602082019050818103600083015261409a81613b60565b9050919050565b600060208201905081810360008301526140ba81613b83565b9050919050565b600060208201905081810360008301526140da81613ba6565b9050919050565b600060208201905081810360008301526140fa81613bc9565b9050919050565b6000602082019050818103600083015261411a81613bec565b9050919050565b6000602082019050818103600083015261413a81613c0f565b9050919050565b6000602082019050818103600083015261415a81613c32565b9050919050565b6000602082019050818103600083015261417a81613c55565b9050919050565b6000602082019050818103600083015261419a81613c78565b9050919050565b600060208201905081810360008301526141ba81613c9b565b9050919050565b600060208201905081810360008301526141da81613cbe565b9050919050565b600060208201905081810360008301526141fa81613ce1565b9050919050565b6000602082019050818103600083015261421a81613d04565b9050919050565b6000602082019050818103600083015261423a81613d27565b9050919050565b6000602082019050818103600083015261425a81613d4a565b9050919050565b6000602082019050818103600083015261427a81613d6d565b9050919050565b6000602082019050818103600083015261429a81613d90565b9050919050565b600060208201905081810360008301526142ba81613db3565b9050919050565b600060208201905081810360008301526142da81613df9565b9050919050565b600060208201905081810360008301526142fa81613e1c565b9050919050565b6000602082019050818103600083015261431a81613e3f565b9050919050565b6000602082019050818103600083015261433a81613e62565b9050919050565b6000602082019050818103600083015261435a81613e85565b9050919050565b60006020820190506143766000830184613eb7565b92915050565b60006020820190506143916000830184613ec6565b92915050565b60006143a16143b2565b90506143ad82826146f8565b919050565b6000604051905090565b600067ffffffffffffffff8211156143d7576143d661485f565b5b6143e0826148ac565b9050602081019050919050565b600067ffffffffffffffff8211156144085761440761485f565b5b614411826148ac565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144c58261466d565b91506144d08361466d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614505576145046147a3565b5b828201905092915050565b600061451b8261466d565b91506145268361466d565b925082614536576145356147d2565b5b828204905092915050565b600061454c8261466d565b91506145578361466d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145905761458f6147a3565b5b828202905092915050565b60006145a68261466d565b91506145b18361466d565b9250828210156145c4576145c36147a3565b5b828203905092915050565b60006145da82614677565b91506145e583614677565b9250828210156145f8576145f76147a3565b5b828203905092915050565b600061460e8261464d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146b1578082015181840152602081019050614696565b838111156146c0576000848401525b50505050565b600060028204905060018216806146de57607f821691505b602082108114156146f2576146f1614801565b5b50919050565b614701826148ac565b810181811067ffffffffffffffff821117156147205761471f61485f565b5b80604052505050565b60006147348261466d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614767576147666147a3565b5b600182019050919050565b600061477d8261466d565b91506147888361466d565b925082614798576147976147d2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5768697465204c697374206973206e6f74206163746976650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f436f756c646e27742073656e64207465737420616d6f756e7400000000000000600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365210000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e647320746f2072756e20746573742100600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f756c646e27742073656e642062616c616e63650000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f2066756e647320746f207769746864726177210000000000000000000000600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f74616c20737570706c7920746f6f206c6172676521000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b614f3381614603565b8114614f3e57600080fd5b50565b614f4a81614615565b8114614f5557600080fd5b50565b614f6181614621565b8114614f6c57600080fd5b50565b614f788161466d565b8114614f8357600080fd5b50565b614f8f81614677565b8114614f9a57600080fd5b5056fea2646970667358221220644b491d843101e7a0fc3ce946b06cdcf519b346715acb0407b06fc280f3ca3f64736f6c63430008070033697066733a2f2f516d53475a3977413744594c6348785a435673534369454b51746533386235464a776432483737736670486348422f68696464656e2e6a736f6e

Deployed ByteCode

0x6080604052600436106102515760003560e01c80637ec4a65911610139578063b071401b116100b6578063e0a808531161007a578063e0a8085314610894578063e985e9c5146108bd578063eceb7d52146108fa578063efbd73f414610923578063f2fde38b1461094c578063f6dc6bf81461097557610251565b8063b071401b146107be578063b4993152146107e7578063b88d4fde14610803578063c87b56dd1461082c578063d5abeb011461086957610251565b8063a035b1fe116100fd578063a035b1fe146106fa578063a0712d6814610725578063a22cb46514610741578063a45ba8e71461076a578063a810a54c1461079557610251565b80637ec4a659146106275780638da5cb5b1461065057806391b7f5ed1461067b57806394354fd0146106a457806395d89b41146106cf57610251565b8063438b6300116101d25780635c975abb116101965780635c975abb1461051757806362b99ad4146105425780636352211e1461056d5780636f8b44b0146105aa57806370a08231146105d3578063715018a61461061057610251565b8063438b6300146104305780634fdd43cb1461046d57806351830227146104965780635503a0e8146104c1578063573f5dae146104ec57610251565b806316c38b3c1161021957806316c38b3c1461034d57806318160ddd1461037657806323b872dd146103a1578063372c12b1146103ca57806342842e0e1461040757610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806316ba10e014610324575b600080fd5b34801561026257600080fd5b5061027d600480360381019061027891906137be565b61099e565b60405161028a9190613fa4565b60405180910390f35b34801561029f57600080fd5b506102a8610a80565b6040516102b59190613fbf565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613861565b610b12565b6040516102f29190613f1b565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d91906136f1565b610b97565b005b34801561033057600080fd5b5061034b60048036038101906103469190613818565b610caf565b005b34801561035957600080fd5b50610374600480360381019061036f9190613791565b610d45565b005b34801561038257600080fd5b5061038b610e15565b6040516103989190614361565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c391906135db565b610e26565b005b3480156103d657600080fd5b506103f160048036038101906103ec919061356e565b610e86565b6040516103fe919061437c565b60405180910390f35b34801561041357600080fd5b5061042e600480360381019061042991906135db565b610ea6565b005b34801561043c57600080fd5b506104576004803603810190610452919061356e565b610ec6565b6040516104649190613f82565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613818565b610fd1565b005b3480156104a257600080fd5b506104ab611067565b6040516104b89190613fa4565b60405180910390f35b3480156104cd57600080fd5b506104d661107a565b6040516104e39190613fbf565b60405180910390f35b3480156104f857600080fd5b50610501611108565b60405161050e9190613fa4565b60405180910390f35b34801561052357600080fd5b5061052c61111b565b6040516105399190613fa4565b60405180910390f35b34801561054e57600080fd5b5061055761112e565b6040516105649190613fbf565b60405180910390f35b34801561057957600080fd5b50610594600480360381019061058f9190613861565b6111bc565b6040516105a19190613f1b565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc9190613861565b61126e565b005b3480156105df57600080fd5b506105fa60048036038101906105f5919061356e565b61133e565b6040516106079190614361565b60405180910390f35b34801561061c57600080fd5b506106256113f6565b005b34801561063357600080fd5b5061064e60048036038101906106499190613818565b61147e565b005b34801561065c57600080fd5b50610665611514565b6040516106729190613f1b565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613861565b61153e565b005b3480156106b057600080fd5b506106b96115c4565b6040516106c69190614361565b60405180910390f35b3480156106db57600080fd5b506106e46115ca565b6040516106f19190613fbf565b60405180910390f35b34801561070657600080fd5b5061070f61165c565b60405161071c9190614361565b60405180910390f35b61073f600480360381019061073a9190613861565b611662565b005b34801561074d57600080fd5b50610768600480360381019061076391906136b1565b6117bb565b005b34801561077657600080fd5b5061077f6117d1565b60405161078c9190613fbf565b60405180910390f35b3480156107a157600080fd5b506107bc60048036038101906107b79190613791565b61185f565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613861565b611b50565b005b61080160048036038101906107fc91906138ce565b611bd6565b005b34801561080f57600080fd5b5061082a6004803603810190610825919061362e565b611e32565b005b34801561083857600080fd5b50610853600480360381019061084e9190613861565b611e94565b6040516108609190613fbf565b60405180910390f35b34801561087557600080fd5b5061087e611fed565b60405161088b9190614361565b60405180910390f35b3480156108a057600080fd5b506108bb60048036038101906108b69190613791565b611ff3565b005b3480156108c957600080fd5b506108e460048036038101906108df919061359b565b6120c3565b6040516108f19190613fa4565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c9190613791565b612157565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061388e565b6121f0565b005b34801561095857600080fd5b50610973600480360381019061096e919061356e565b612324565b005b34801561098157600080fd5b5061099c60048036038101906109979190613731565b61241c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a6957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a795750610a788261253e565b5b9050919050565b606060008054610a8f906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb906146c6565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b5050505050905090565b6000610b1d826125a8565b610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5390614201565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba2826111bc565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a90614281565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c32612614565b73ffffffffffffffffffffffffffffffffffffffff161480610c615750610c6081610c5b612614565b6120c3565b5b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614181565b60405180910390fd5b610caa838361261c565b505050565b610cb7612614565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611514565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290614221565b60405180910390fd5b80600c9080519060200190610d41929190613317565b5050565b610d4d612614565b73ffffffffffffffffffffffffffffffffffffffff16610d6b611514565b73ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890614221565b60405180910390fd5b80601160006101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd281604051610e0a9190613fa4565b60405180910390a150565b6000610e2160086126d5565b905090565b610e37610e31612614565b826126e3565b610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d906142e1565b60405180910390fd5b610e818383836127c1565b505050565b60096020528060005260406000206000915054906101000a900460ff1681565b610ec183838360405180602001604052806000815250611e32565b505050565b60606000610ed38361133e565b905060008167ffffffffffffffff811115610ef157610ef061485f565b5b604051908082528060200260200182016040528015610f1f5781602001602082028036833780820191505090505b50905060006001905060005b8381108015610f3c5750600f548211155b15610fc5576000610f4c836111bc565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fb15782848381518110610f9657610f95614830565b5b6020026020010181815250508180610fad90614729565b9250505b8280610fbc90614729565b93505050610f2b565b82945050505050919050565b610fd9612614565b73ffffffffffffffffffffffffffffffffffffffff16610ff7611514565b73ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490614221565b60405180910390fd5b80600d9080519060200190611063929190613317565b5050565b601160019054906101000a900460ff1681565b600c8054611087906146c6565b80601f01602080910402602001604051908101604052809291908181526020018280546110b3906146c6565b80156111005780601f106110d557610100808354040283529160200191611100565b820191906000526020600020905b8154815290600101906020018083116110e357829003601f168201915b505050505081565b600a60009054906101000a900460ff1681565b601160009054906101000a900460ff1681565b600b805461113b906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611167906146c6565b80156111b45780601f10611189576101008083540402835291602001916111b4565b820191906000526020600020905b81548152906001019060200180831161119757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906141c1565b60405180910390fd5b80915050919050565b611276612614565b73ffffffffffffffffffffffffffffffffffffffff16611294611514565b73ffffffffffffffffffffffffffffffffffffffff16146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190614221565b60405180910390fd5b6112f2610e15565b811015611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132b90614301565b60405180910390fd5b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a6906141a1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113fe612614565b73ffffffffffffffffffffffffffffffffffffffff1661141c611514565b73ffffffffffffffffffffffffffffffffffffffff1614611472576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146990614221565b60405180910390fd5b61147c6000612a28565b565b611486612614565b73ffffffffffffffffffffffffffffffffffffffff166114a4611514565b73ffffffffffffffffffffffffffffffffffffffff16146114fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f190614221565b60405180910390fd5b80600b9080519060200190611510929190613317565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611546612614565b73ffffffffffffffffffffffffffffffffffffffff16611564611514565b73ffffffffffffffffffffffffffffffffffffffff16146115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b190614221565b60405180910390fd5b80600e8190555050565b60105481565b6060600180546115d9906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611605906146c6565b80156116525780601f1061162757610100808354040283529160200191611652565b820191906000526020600020905b81548152906001019060200180831161163557829003601f168201915b5050505050905090565b600e5481565b8060008111801561167557506010548111155b6116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab90614081565b60405180910390fd5b600f54816116c0610e15565b6116ca91906144ba565b111561170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906142c1565b60405180910390fd5b8180600e5461171a9190614541565b34101561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390614341565b60405180910390fd5b601160009054906101000a900460ff16156117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390614241565b60405180910390fd5b6117b63384612aee565b505050565b6117cd6117c6612614565b8383612b2e565b5050565b600d80546117de906146c6565b80601f016020809104026020016040519081016040528092919081815260200182805461180a906146c6565b80156118575780601f1061182c57610100808354040283529160200191611857565b820191906000526020600020905b81548152906001019060200180831161183a57829003601f168201915b505050505081565b611867612614565b73ffffffffffffffffffffffffffffffffffffffff16611885611514565b73ffffffffffffffffffffffffffffffffffffffff16146118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d290614221565b60405180910390fd5b60026007541415611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890614321565b60405180910390fd5b600260078190555080158061194757508080156119465750670de0b6b3a76400004710155b5b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906140e1565b60405180910390fd5b600047116119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c0906142a1565b60405180910390fd5b8015611a905760006119d9611514565b73ffffffffffffffffffffffffffffffffffffffff16670de0b6b3a7640000604051611a0490613f06565b60006040518083038185875af1925050503d8060008114611a41576040519150601f19603f3d011682016040523d82523d6000602084013e611a46565b606091505b5050905080611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a81906140a1565b60405180910390fd5b50611b45565b6000611a9a611514565b73ffffffffffffffffffffffffffffffffffffffff1647604051611abd90613f06565b60006040518083038185875af1925050503d8060008114611afa576040519150601f19603f3d011682016040523d82523d6000602084013e611aff565b606091505b5050905080611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614161565b60405180910390fd5b505b600160078190555050565b611b58612614565b73ffffffffffffffffffffffffffffffffffffffff16611b76611514565b73ffffffffffffffffffffffffffffffffffffffff1614611bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc390614221565b60405180910390fd5b8060108190555050565b8060ff1680600e54611be89190614541565b341015611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2190614341565b60405180910390fd5b600a60009054906101000a900460ff16611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7090613fe1565b60405180910390fd5b60008260ff1611611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb690614081565b60405180910390fd5b600f548260ff16611cce610e15565b611cd891906144ba565b1115611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d10906142c1565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff168260ff161115611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da5906140c1565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff16611e0991906145cf565b92506101000a81548160ff021916908360ff160217905550611e2e338360ff16612aee565b5050565b611e43611e3d612614565b836126e3565b611e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e79906142e1565b60405180910390fd5b611e8e84848484612c9b565b50505050565b6060611e9f826125a8565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614261565b60405180910390fd5b60001515601160019054906101000a900460ff1615151415611f8c57600d8054611f07906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611f33906146c6565b8015611f805780601f10611f5557610100808354040283529160200191611f80565b820191906000526020600020905b815481529060010190602001808311611f6357829003601f168201915b50505050509050611fe8565b6000611f96612cf7565b90506000815111611fb65760405180602001604052806000815250611fe4565b80611fc084612d89565b600c604051602001611fd493929190613ed5565b6040516020818303038152906040525b9150505b919050565b600f5481565b611ffb612614565b73ffffffffffffffffffffffffffffffffffffffff16612019611514565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690614221565b60405180910390fd5b80601160016101000a81548160ff0219169083151502179055507f20a5b4e05b29089957b31c76110692167d828e9ecb1be33824e11609370e8021816040516120b89190613fa4565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61215f612614565b73ffffffffffffffffffffffffffffffffffffffff1661217d611514565b73ffffffffffffffffffffffffffffffffffffffff16146121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca90614221565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b8160008111801561220357506010548111155b612242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223990614081565b60405180910390fd5b600f548161224e610e15565b61225891906144ba565b1115612299576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612290906142c1565b60405180910390fd5b6122a1612614565b73ffffffffffffffffffffffffffffffffffffffff166122bf611514565b73ffffffffffffffffffffffffffffffffffffffff1614612315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230c90614221565b60405180910390fd5b61231f8284612aee565b505050565b61232c612614565b73ffffffffffffffffffffffffffffffffffffffff1661234a611514565b73ffffffffffffffffffffffffffffffffffffffff16146123a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239790614221565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240790614021565b60405180910390fd5b61241981612a28565b50565b612424612614565b73ffffffffffffffffffffffffffffffffffffffff16612442611514565b73ffffffffffffffffffffffffffffffffffffffff1614612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90614221565b60405180910390fd5b60005b838390508110156125385781600960008686858181106124be576124bd614830565b5b90506020020160208101906124d3919061356e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061253090614729565b91505061249b565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661268f836111bc565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006126ee826125a8565b61272d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272490614141565b60405180910390fd5b6000612738836111bc565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127a757508373ffffffffffffffffffffffffffffffffffffffff1661278f84610b12565b73ffffffffffffffffffffffffffffffffffffffff16145b806127b857506127b781856120c3565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166127e1826111bc565b73ffffffffffffffffffffffffffffffffffffffff1614612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90614041565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289e90614101565b60405180910390fd5b6128b2838383612eea565b6128bd60008261261c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461290d919061459b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296491906144ba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612a23838383612eef565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b81811015612b2957612b036008612ef4565b612b1683612b1160086126d5565b612f0a565b8080612b2190614729565b915050612af1565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9490614121565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c8e9190613fa4565b60405180910390a3505050565b612ca68484846127c1565b612cb284848484612f28565b612cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce890614001565b60405180910390fd5b50505050565b6060600b8054612d06906146c6565b80601f0160208091040260200160405190810160405280929190818152602001828054612d32906146c6565b8015612d7f5780601f10612d5457610100808354040283529160200191612d7f565b820191906000526020600020905b815481529060010190602001808311612d6257829003601f168201915b5050505050905090565b60606000821415612dd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ee5565b600082905060005b60008214612e03578080612dec90614729565b915050600a82612dfc9190614510565b9150612dd9565b60008167ffffffffffffffff811115612e1f57612e1e61485f565b5b6040519080825280601f01601f191660200182016040528015612e515781602001600182028036833780820191505090505b5090505b60008514612ede57600182612e6a919061459b565b9150600a85612e799190614772565b6030612e8591906144ba565b60f81b818381518110612e9b57612e9a614830565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ed79190614510565b9450612e55565b8093505050505b919050565b505050565b505050565b6001816000016000828254019250508190555050565b612f248282604051806020016040528060008152506130bf565b5050565b6000612f498473ffffffffffffffffffffffffffffffffffffffff1661311a565b156130b2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f72612614565b8786866040518563ffffffff1660e01b8152600401612f949493929190613f36565b602060405180830381600087803b158015612fae57600080fd5b505af1925050508015612fdf57506040513d601f19601f82011682018060405250810190612fdc91906137eb565b60015b613062573d806000811461300f576040519150601f19603f3d011682016040523d82523d6000602084013e613014565b606091505b5060008151141561305a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305190614001565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130b7565b600190505b949350505050565b6130c9838361313d565b6130d66000848484612f28565b613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c90614001565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a4906141e1565b60405180910390fd5b6131b6816125a8565b156131f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ed90614061565b60405180910390fd5b61320260008383612eea565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461325291906144ba565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461331360008383612eef565b5050565b828054613323906146c6565b90600052602060002090601f016020900481019282613345576000855561338c565b82601f1061335e57805160ff191683800117855561338c565b8280016001018555821561338c579182015b8281111561338b578251825591602001919060010190613370565b5b509050613399919061339d565b5090565b5b808211156133b657600081600090555060010161339e565b5090565b60006133cd6133c8846143bc565b614397565b9050828152602081018484840111156133e9576133e861489d565b5b6133f4848285614684565b509392505050565b600061340f61340a846143ed565b614397565b90508281526020810184848401111561342b5761342a61489d565b5b613436848285614684565b509392505050565b60008135905061344d81614f2a565b92915050565b60008083601f84011261346957613468614893565b5b8235905067ffffffffffffffff8111156134865761348561488e565b5b6020830191508360208202830111156134a2576134a1614898565b5b9250929050565b6000813590506134b881614f41565b92915050565b6000813590506134cd81614f58565b92915050565b6000815190506134e281614f58565b92915050565b600082601f8301126134fd576134fc614893565b5b813561350d8482602086016133ba565b91505092915050565b600082601f83011261352b5761352a614893565b5b813561353b8482602086016133fc565b91505092915050565b60008135905061355381614f6f565b92915050565b60008135905061356881614f86565b92915050565b600060208284031215613584576135836148a7565b5b60006135928482850161343e565b91505092915050565b600080604083850312156135b2576135b16148a7565b5b60006135c08582860161343e565b92505060206135d18582860161343e565b9150509250929050565b6000806000606084860312156135f4576135f36148a7565b5b60006136028682870161343e565b93505060206136138682870161343e565b925050604061362486828701613544565b9150509250925092565b60008060008060808587031215613648576136476148a7565b5b60006136568782880161343e565b94505060206136678782880161343e565b935050604061367887828801613544565b925050606085013567ffffffffffffffff811115613699576136986148a2565b5b6136a5878288016134e8565b91505092959194509250565b600080604083850312156136c8576136c76148a7565b5b60006136d68582860161343e565b92505060206136e7858286016134a9565b9150509250929050565b60008060408385031215613708576137076148a7565b5b60006137168582860161343e565b925050602061372785828601613544565b9150509250929050565b60008060006040848603121561374a576137496148a7565b5b600084013567ffffffffffffffff811115613768576137676148a2565b5b61377486828701613453565b9350935050602061378786828701613559565b9150509250925092565b6000602082840312156137a7576137a66148a7565b5b60006137b5848285016134a9565b91505092915050565b6000602082840312156137d4576137d36148a7565b5b60006137e2848285016134be565b91505092915050565b600060208284031215613801576138006148a7565b5b600061380f848285016134d3565b91505092915050565b60006020828403121561382e5761382d6148a7565b5b600082013567ffffffffffffffff81111561384c5761384b6148a2565b5b61385884828501613516565b91505092915050565b600060208284031215613877576138766148a7565b5b600061388584828501613544565b91505092915050565b600080604083850312156138a5576138a46148a7565b5b60006138b385828601613544565b92505060206138c48582860161343e565b9150509250929050565b6000602082840312156138e4576138e36148a7565b5b60006138f284828501613559565b91505092915050565b60006139078383613ea8565b60208301905092915050565b61391c81614603565b82525050565b600061392d82614443565b6139378185614471565b93506139428361441e565b8060005b8381101561397357815161395a88826138fb565b975061396583614464565b925050600181019050613946565b5085935050505092915050565b61398981614615565b82525050565b600061399a8261444e565b6139a48185614482565b93506139b4818560208601614693565b6139bd816148ac565b840191505092915050565b60006139d382614459565b6139dd818561449e565b93506139ed818560208601614693565b6139f6816148ac565b840191505092915050565b6000613a0c82614459565b613a1681856144af565b9350613a26818560208601614693565b80840191505092915050565b60008154613a3f816146c6565b613a4981866144af565b94506001821660008114613a645760018114613a7557613aa8565b60ff19831686528186019350613aa8565b613a7e8561442e565b60005b83811015613aa057815481890152600182019150602081019050613a81565b838801955050505b50505092915050565b6000613abe60188361449e565b9150613ac9826148bd565b602082019050919050565b6000613ae160328361449e565b9150613aec826148e6565b604082019050919050565b6000613b0460268361449e565b9150613b0f82614935565b604082019050919050565b6000613b2760258361449e565b9150613b3282614984565b604082019050919050565b6000613b4a601c8361449e565b9150613b55826149d3565b602082019050919050565b6000613b6d60148361449e565b9150613b78826149fc565b602082019050919050565b6000613b9060198361449e565b9150613b9b82614a25565b602082019050919050565b6000613bb360238361449e565b9150613bbe82614a4e565b604082019050919050565b6000613bd6601f8361449e565b9150613be182614a9d565b602082019050919050565b6000613bf960248361449e565b9150613c0482614ac6565b604082019050919050565b6000613c1c60198361449e565b9150613c2782614b15565b602082019050919050565b6000613c3f602c8361449e565b9150613c4a82614b3e565b604082019050919050565b6000613c6260158361449e565b9150613c6d82614b8d565b602082019050919050565b6000613c8560388361449e565b9150613c9082614bb6565b604082019050919050565b6000613ca8602a8361449e565b9150613cb382614c05565b604082019050919050565b6000613ccb60298361449e565b9150613cd682614c54565b604082019050919050565b6000613cee60208361449e565b9150613cf982614ca3565b602082019050919050565b6000613d11602c8361449e565b9150613d1c82614ccc565b604082019050919050565b6000613d3460208361449e565b9150613d3f82614d1b565b602082019050919050565b6000613d5760178361449e565b9150613d6282614d44565b602082019050919050565b6000613d7a602f8361449e565b9150613d8582614d6d565b604082019050919050565b6000613d9d60218361449e565b9150613da882614dbc565b604082019050919050565b6000613dc060158361449e565b9150613dcb82614e0b565b602082019050919050565b6000613de3600083614493565b9150613dee82614e34565b600082019050919050565b6000613e0660148361449e565b9150613e1182614e37565b602082019050919050565b6000613e2960318361449e565b9150613e3482614e60565b604082019050919050565b6000613e4c60178361449e565b9150613e5782614eaf565b602082019050919050565b6000613e6f601f8361449e565b9150613e7a82614ed8565b602082019050919050565b6000613e9260138361449e565b9150613e9d82614f01565b602082019050919050565b613eb18161466d565b82525050565b613ec08161466d565b82525050565b613ecf81614677565b82525050565b6000613ee18286613a01565b9150613eed8285613a01565b9150613ef98284613a32565b9150819050949350505050565b6000613f1182613dd6565b9150819050919050565b6000602082019050613f306000830184613913565b92915050565b6000608082019050613f4b6000830187613913565b613f586020830186613913565b613f656040830185613eb7565b8181036060830152613f77818461398f565b905095945050505050565b60006020820190508181036000830152613f9c8184613922565b905092915050565b6000602082019050613fb96000830184613980565b92915050565b60006020820190508181036000830152613fd981846139c8565b905092915050565b60006020820190508181036000830152613ffa81613ab1565b9050919050565b6000602082019050818103600083015261401a81613ad4565b9050919050565b6000602082019050818103600083015261403a81613af7565b9050919050565b6000602082019050818103600083015261405a81613b1a565b9050919050565b6000602082019050818103600083015261407a81613b3d565b9050919050565b6000602082019050818103600083015261409a81613b60565b9050919050565b600060208201905081810360008301526140ba81613b83565b9050919050565b600060208201905081810360008301526140da81613ba6565b9050919050565b600060208201905081810360008301526140fa81613bc9565b9050919050565b6000602082019050818103600083015261411a81613bec565b9050919050565b6000602082019050818103600083015261413a81613c0f565b9050919050565b6000602082019050818103600083015261415a81613c32565b9050919050565b6000602082019050818103600083015261417a81613c55565b9050919050565b6000602082019050818103600083015261419a81613c78565b9050919050565b600060208201905081810360008301526141ba81613c9b565b9050919050565b600060208201905081810360008301526141da81613cbe565b9050919050565b600060208201905081810360008301526141fa81613ce1565b9050919050565b6000602082019050818103600083015261421a81613d04565b9050919050565b6000602082019050818103600083015261423a81613d27565b9050919050565b6000602082019050818103600083015261425a81613d4a565b9050919050565b6000602082019050818103600083015261427a81613d6d565b9050919050565b6000602082019050818103600083015261429a81613d90565b9050919050565b600060208201905081810360008301526142ba81613db3565b9050919050565b600060208201905081810360008301526142da81613df9565b9050919050565b600060208201905081810360008301526142fa81613e1c565b9050919050565b6000602082019050818103600083015261431a81613e3f565b9050919050565b6000602082019050818103600083015261433a81613e62565b9050919050565b6000602082019050818103600083015261435a81613e85565b9050919050565b60006020820190506143766000830184613eb7565b92915050565b60006020820190506143916000830184613ec6565b92915050565b60006143a16143b2565b90506143ad82826146f8565b919050565b6000604051905090565b600067ffffffffffffffff8211156143d7576143d661485f565b5b6143e0826148ac565b9050602081019050919050565b600067ffffffffffffffff8211156144085761440761485f565b5b614411826148ac565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144c58261466d565b91506144d08361466d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614505576145046147a3565b5b828201905092915050565b600061451b8261466d565b91506145268361466d565b925082614536576145356147d2565b5b828204905092915050565b600061454c8261466d565b91506145578361466d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145905761458f6147a3565b5b828202905092915050565b60006145a68261466d565b91506145b18361466d565b9250828210156145c4576145c36147a3565b5b828203905092915050565b60006145da82614677565b91506145e583614677565b9250828210156145f8576145f76147a3565b5b828203905092915050565b600061460e8261464d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156146b1578082015181840152602081019050614696565b838111156146c0576000848401525b50505050565b600060028204905060018216806146de57607f821691505b602082108114156146f2576146f1614801565b5b50919050565b614701826148ac565b810181811067ffffffffffffffff821117156147205761471f61485f565b5b80604052505050565b60006147348261466d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614767576147666147a3565b5b600182019050919050565b600061477d8261466d565b91506147888361466d565b925082614798576147976147d2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5768697465204c697374206973206e6f74206163746976650000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f436f756c646e27742073656e64207465737420616d6f756e7400000000000000600082015250565b7f4578636565646564206d617820617661696c61626c6520746f2070757263686160008201527f7365210000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e647320746f2072756e20746573742100600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f756c646e27742073656e642062616c616e63650000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f2066756e647320746f207769746864726177210000000000000000000000600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f74616c20737570706c7920746f6f206c6172676521000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b614f3381614603565b8114614f3e57600080fd5b50565b614f4a81614615565b8114614f5557600080fd5b50565b614f6181614621565b8114614f6c57600080fd5b50565b614f788161466d565b8114614f8357600080fd5b50565b614f8f81614677565b8114614f9a57600080fd5b5056fea2646970667358221220644b491d843101e7a0fc3ce946b06cdcf519b346715acb0407b06fc280f3ca3f64736f6c63430008070033