ETH Price: $3,442.55 (+1.29%)

Token

mfersgame (MFERSGAME)
 

Overview

Max Total Supply

636 MFERSGAME

Holders

113

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0xminter.eth
Balance
9 MFERSGAME
0xd38fbaaab882852276cf81a11d22ef586b76b8b7
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MfersGame

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-09
*/

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


// OpenZeppelin Contracts v4.4.0 (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/Strings.sol


// OpenZeppelin Contracts v4.4.0 (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.0 (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/security/Pausable.sol


// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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


// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `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.0 (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.0 (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.0 (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/IERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.0 (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 v4.4.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);
    }

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/mfersgame.sol


pragma solidity ^0.8.10;




//Interfaces
interface ICoin {
    function burn(address owner, uint amount) external;
    function balanceOf(address _owner) external view returns (uint256); 
}

interface IStaking {
    function randomThiefOwner() external returns(address);
}

//Contract
contract MfersGame is ERC721Enumerable, Pausable, ReentrancyGuard {
    bytes32 internal entropySauce;


    string _baseTokenURI = "ipfs://Qmd9RicZSE8noyW479RXTZ7YvujcJkKNMW5CfvmuP2bgLb/";//correct metadata

    address public owner;

    address constant internal nullAddress = address(0x0);

    ICoin public coinContract;
    IStaking public stakingContract;

    uint public MAX_SUPPLY = 10021;
    uint constant ETH_MINT_SUPPLY = 5000;
    uint constant INITIAL_FREE_MINTS = 500;
    uint constant TOKEN_ID_OFFSET = 100000;
    uint constant public mintCost = 0.03 ether;
    uint constant public coinPhasePriceIncrease = 25000 ether;//costs 25k $MFER initially to mint
    uint constant public mintPhaseStep = 1000;
    uint constant public maxMintPerTx = 10;

    uint internal _thievesTotal;
    uint internal _normalTotal;
    uint internal _thievesStolen;
    uint internal _normalStolen;

    bool public mintAllowed = false;

    enum creatureType {
        THIEF,
        NORMAL
    }

    mapping(address => uint) callerToLastActionBlock;

    /// @dev Constructor
    constructor() ERC721("mfersgame", "MFERSGAME") {
        owner=msg.sender;
    }

    /// @dev Return API endpoint with metadata
    function tokenURI(uint _tokenId) public view override noSameBlockAsAction returns (string memory) {
        require(_exists(_tokenId),"Not minted yet");
        return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId-TOKEN_ID_OFFSET)));
    }

    //  _      _  __                     _      
    // | |    (_)/ _|                   | |     
    // | |     _| |_ ___  ___ _   _  ___| | ___ 
    // | |    | |  _/ _ \/ __| | | |/ __| |/ _ \
    // | |____| | ||  __/ (__| |_| | (__| |  __/
    // |______|_|_| \___|\___|\__, |\___|_|\___|
    //                         __/ |            
    //                        |___/             

    /// @dev Mint new token
    function mint(uint amount) external payable noCheaters onlyMintAllowed nonReentrant whenNotPaused {
        require(totalSupply() + amount <= MAX_SUPPLY, 'Max supply reached');
        require(amount > 0 && amount <= maxMintPerTx, "Invalid mint amount");

        if ((totalSupply() < ETH_MINT_SUPPLY) && (totalSupply() > INITIAL_FREE_MINTS)) {
            //if it's not a free mint then make sure there's enough left
            require(totalSupply() + amount <= ETH_MINT_SUPPLY, "Not enough ETH paid tokens remains");
            require(amount * mintCost == msg.value, "Invalid payment amount");
        } else {
            require(msg.value == 0, "Can be minted for MFER only");
        }

        for (uint i = 0; i< amount;i++) {
            address tokenReceiver = msg.sender;

            uint newTokenId;
            // Phase 0 - mint for ETH, normal and thief mfers can be minted
            if (totalSupply() < ETH_MINT_SUPPLY) {
                //every 10th one is a thief
                if (totalSupply()%10 == 0){
                    newTokenId=totalSupply()+TOKEN_ID_OFFSET;
                    _thievesTotal+=1;
                }else{
                    newTokenId=totalSupply()+TOKEN_ID_OFFSET;
                    _normalTotal+=1;
                }
                
            // Phase 1-4 - mint for coin, normal and thieves can be stolen
            } else {
                callerToLastActionBlock[tx.origin] = block.number;
                
                uint coinPrice = mintPriceCoin();

                uint random = _randomize(_rand(), "creatureType", i) % 10000;

                // 10% chance to mint thief
                if (totalSupply()%10 == 0){
                    newTokenId=totalSupply()+TOKEN_ID_OFFSET;
                    _thievesTotal+=1;
                }else{
                    newTokenId=totalSupply()+TOKEN_ID_OFFSET;
                    _normalTotal+=1;
                }

                random = _randomize(_rand(), "stolen", newTokenId) % 10000;

                // 10% chance for token to be stolen
                if (random < 1000) {
                    //random = _randomize(_rand(), "randthiefowner", newTokenId) % totalSupply();
                    // Doesn't require staking for stealing to work using the commented code (not true now)
                    //address randomThiefOwner=ownerOf(random-random%10);
                    //random thief owner - requires at least one thief to be staked
                    address randomThiefOwner=stakingContract.randomThiefOwner();
                    if(randomThiefOwner!=nullAddress){
                        tokenReceiver=stakingContract.randomThiefOwner();
                        //since we're using staking for this, have to make sure that if there's nothing staked the contract takes account for it
                        
                        if (totalSupply()%10 == 0){
                            _thievesStolen+=1;
                        }else{
                            _normalStolen+=1;
                        }
                    }
                    
                    
                } 
                coinContract.burn(msg.sender, coinPrice);
            }
            
            _mint(tokenReceiver, newTokenId);
        }
    }




    
    //  _    _ _   _ _ _ _         
    // | |  | | | (_) (_) |        
    // | |  | | |_ _| |_| |_ _   _ 
    // | |  | | __| | | | __| | | |
    // | |__| | |_| | | | |_| |_| |
    //  \____/ \__|_|_|_|\__|\__, |
    //                        __/ |
    //                       |___/ 

    /// @dev Create a bit more of randomness
    function _randomize(uint256 rand, string memory val, uint256 spicy) internal pure returns (uint256) {
        return uint256(keccak256(abi.encode(rand, val, spicy)));
    }

    /// @dev Get random uint
    function _rand() internal view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(msg.sender, block.timestamp, block.difficulty, block.timestamp, entropySauce)));
    }

    /// @dev Return current coin mint price
    function mintPriceCoin() public view returns (uint) {
        return ((totalSupply()-ETH_MINT_SUPPLY)/mintPhaseStep+1)*coinPhasePriceIncrease;
    }

    //   ____                              __                  _   _                 
    //  / __ \                            / _|                | | (_)                
    // | |  | |_      ___ __   ___ _ __  | |_ _   _ _ __   ___| |_ _  ___  _ __  ___ 
    // | |  | \ \ /\ / / '_ \ / _ \ '__| |  _| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
    // | |__| |\ V  V /| | | |  __/ |    | | | |_| | | | | (__| |_| | (_) | | | \__ \
    //  \____/  \_/\_/ |_| |_|\___|_|    |_|  \__,_|_| |_|\___|\__|_|\___/|_| |_|___/

    function Pause() external onlyOwner {
        _pause();
    }

    function Unpause() external onlyOwner {
        _unpause();
    }

    /// @dev Set coin contract address and init interface with it
    function setCoinAddress(address _coinAddress) external onlyOwner {
        coinContract=ICoin(_coinAddress);
    }

    /// @dev Set pond contract address and init interface with it
    function setStakingAddress(address _stakingAddress) external onlyOwner {
        stakingContract=IStaking(_stakingAddress);
    }

    /// @dev Set base address for Token URI, should end with leading slash
    function setBaseTokenURI(string memory baseURI_) external onlyOwner {
        _baseTokenURI=baseURI_;
    }

    /// @dev Switch mint allowed flag
    function switchMintAllowed() external onlyOwner {
        mintAllowed=!mintAllowed;
    }

    /// @dev Withdraw all ETH accumulated on contract 
    function withdrawEther() external onlyOwner {
        payable(owner).transfer(address(this).balance);
    }

    //  __  __           _ _  __ _               
    // |  \/  |         | (_)/ _(_)              
    // | \  / | ___   __| |_| |_ _  ___ _ __ ___ 
    // | |\/| |/ _ \ / _` | |  _| |/ _ \ '__/ __|
    // | |  | | (_) | (_| | | | | |  __/ |  \__ \
    // |_|  |_|\___/ \__,_|_|_| |_|\___|_|  |___/

    /// @dev Execute if mintAllowed flag set to True
    modifier onlyMintAllowed() {
        require(mintAllowed, 'Mint not allowed');
        _;
    }

    /// @dev Execute if msg.sender = owner
    modifier onlyOwner() {
        require(owner == msg.sender, "Caller is not the owner");
        _;
    }

    /// @dev Execute if tx.origin == msg.sender and caller is not a contract
    modifier noCheaters() {
        uint256 size = 0;
        address acc = msg.sender;
        assembly { size := extcodesize(acc)}

        require(msg.sender == tx.origin , "You're trying to cheat?");
        require(size == 0,                "You're trying to cheat?");
        _;

        // We'll use the last caller hash to add entropy to next caller
        entropySauce = keccak256(abi.encodePacked(acc, block.coinbase));
    }

    /// @dev don't allow view functions in same block as action that changed the state
    modifier noSameBlockAsAction() {
        if (msg.sender!=address(stakingContract)) {
            require(callerToLastActionBlock[tx.origin] < block.number, "Please try again on next block");
        }
        _;
    }

    function thievesTotal() external view noSameBlockAsAction returns(uint) {
        return _thievesTotal;
    }

    function normalTotal() external view noSameBlockAsAction returns(uint) { 
        return _normalTotal;
    }

    function thievesStolen() external view noSameBlockAsAction returns(uint) { 
        return _thievesStolen;
    }

    function normalStolen() external view noSameBlockAsAction returns(uint) { 
        return _normalStolen;
    }
    function tokenOfOwnerByIndex(address _owner, uint256 index) public view virtual override(ERC721Enumerable) noSameBlockAsAction returns (uint256) {
        require(callerToLastActionBlock[_owner] < block.number, "Please try again on next block");
        return super.tokenOfOwnerByIndex(_owner, index);
    }

    
    function balanceOf(address _owner) public view virtual override(ERC721) noSameBlockAsAction returns (uint256) {
        require(callerToLastActionBlock[_owner] < block.number, "Please try again on next block");
        return super.balanceOf(owner);
    }

    function ownerOf(uint256 tokenId) public view virtual override(ERC721) noSameBlockAsAction returns (address) {
        address addr = super.ownerOf(tokenId);
        require(callerToLastActionBlock[addr] < block.number, "Please try again on next block");
        return addr;
    }

    function walletOfOwner(address _wallet)
        public
        view
        noSameBlockAsAction
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_wallet);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_wallet, i);
        }
        return tokensId;
    }

    function transferFrom(
    address from,
    address to,
    uint256 tokenId
    ) public virtual override {
        if (msg.sender != address(stakingContract)) {
            require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        }
        _transfer(from, to, tokenId);
    }

    function transferOwnership(address newOwner) external onlyOwner {
        owner = newOwner;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coinContract","outputs":[{"internalType":"contract ICoin","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coinPhasePriceIncrease","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPhaseStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceCoin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalStolen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_coinAddress","type":"address"}],"name":"setCoinAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingAddress","type":"address"}],"name":"setStakingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"contract IStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchMintAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thievesStolen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thievesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603660808181529062002fec60a03980516200002991600d91602090910190620000e4565b506127256011556016805460ff191690553480156200004757600080fd5b50604051806040016040528060098152602001686d6665727367616d6560b81b815250604051806040016040528060098152602001684d4645525347414d4560b81b8152508160009080519060200190620000a4929190620000e4565b508051620000ba906001906020840190620000e4565b5050600a805460ff19169055506001600b55600e80546001600160a01b03191633179055620001c7565b828054620000f2906200018a565b90600052602060002090601f01602090048101928262000116576000855562000161565b82601f106200013157805160ff191683800117855562000161565b8280016001018555821562000161579182015b828111156200016157825182559160200191906001019062000144565b506200016f92915062000173565b5090565b5b808211156200016f576000815560010162000174565b600181811c908216806200019f57607f821691505b60208210811415620001c157634e487b7160e01b600052602260045260246000fd5b50919050565b612e1580620001d76000396000f3fe6080604052600436106102465760003560e01c806372dd52e311610139578063b88d4fde116100b6578063c87b56dd1161007a578063c87b56dd14610648578063de7fcb1d14610668578063e985e9c51461067d578063ee99205c146106c6578063f2fde38b146106e6578063f4e0d9ac1461070657600080fd5b8063b88d4fde146105c8578063bdb4b848146105e8578063c2f775fc14610603578063c428189c14610618578063c467201e1461062e57600080fd5b806395d89b41116100fd57806395d89b411461054b5780639a8cbafa14610560578063a0712d6814610575578063a22cb46514610588578063b0bdacc6146105a857600080fd5b806372dd52e3146104c35780637362377b146104e35780637805862f146104f8578063847680f41461050d5780638da5cb5b1461052b57600080fd5b806332cb6b0c116101c75780635c975abb1161018b5780635c975abb146104415780636352211e146104595780636985a022146104795780636df4a6921461048e57806370a08231146104a357600080fd5b806332cb6b0c146103a957806339f3bf06146103bf57806342842e0e146103d4578063438b6300146103f45780634f6ccce71461042157600080fd5b806318160ddd1161020e57806318160ddd1461031f57806323b872dd146103345780632f2270c5146103545780632f745c591461036957806330176e131461038957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806310a726b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004612702565b610726565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610751565b6040516102779190612777565b3480156102ae57600080fd5b506102c26102bd36600461278a565b6107e3565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f53660046127b8565b61087d565b005b34801561030857600080fd5b50610311610993565b604051908152602001610277565b34801561032b57600080fd5b50600854610311565b34801561034057600080fd5b506102fa61034f3660046127e4565b6109dd565b34801561036057600080fd5b50610311610a20565b34801561037557600080fd5b506103116103843660046127b8565b610a6a565b34801561039557600080fd5b506102fa6103a43660046128b1565b610af5565b3480156103b557600080fd5b5061031160115481565b3480156103cb57600080fd5b50610311610b36565b3480156103e057600080fd5b506102fa6103ef3660046127e4565b610b80565b34801561040057600080fd5b5061041461040f3660046128fa565b610b9b565b6040516102779190612917565b34801561042d57600080fd5b5061031161043c36600461278a565b610c7e565b34801561044d57600080fd5b50600a5460ff1661026b565b34801561046557600080fd5b506102c261047436600461278a565b610d11565b34801561048557600080fd5b506102fa610d99565b34801561049a57600080fd5b50610311610dcd565b3480156104af57600080fd5b506103116104be3660046128fa565b610e17565b3480156104cf57600080fd5b50600f546102c2906001600160a01b031681565b3480156104ef57600080fd5b506102fa610ea6565b34801561050457600080fd5b506102fa610f0c565b34801561051957600080fd5b5061031169054b40b1f852bda0000081565b34801561053757600080fd5b50600e546102c2906001600160a01b031681565b34801561055757600080fd5b50610295610f3e565b34801561056c57600080fd5b506102fa610f4d565b6102fa61058336600461278a565b610f8b565b34801561059457600080fd5b506102fa6105a336600461295b565b6116de565b3480156105b457600080fd5b506102fa6105c33660046128fa565b6116e9565b3480156105d457600080fd5b506102fa6105e3366004612999565b611735565b3480156105f457600080fd5b50610311666a94d74f43000081565b34801561060f57600080fd5b5061031161176d565b34801561062457600080fd5b506103116103e881565b34801561063a57600080fd5b5060165461026b9060ff1681565b34801561065457600080fd5b5061029561066336600461278a565b6117b7565b34801561067457600080fd5b50610311600a81565b34801561068957600080fd5b5061026b610698366004612a19565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d257600080fd5b506010546102c2906001600160a01b031681565b3480156106f257600080fd5b506102fa6107013660046128fa565b61188d565b34801561071257600080fd5b506102fa6107213660046128fa565b6118d9565b60006001600160e01b0319821663780e9d6360e01b148061074b575061074b82611925565b92915050565b60606000805461076090612a47565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90612a47565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061088882611975565b9050806001600160a01b0316836001600160a01b031614156108f65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610858565b336001600160a01b038216148061091257506109128133610698565b6109845760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610858565b61098e83836119ec565b505050565b600069054b40b1f852bda000006103e86113886109af60085490565b6109b99190612a98565b6109c39190612ac5565b6109ce906001612ad9565b6109d89190612af1565b905090565b6010546001600160a01b03163314610a15576109f93382611a5a565b610a155760405162461bcd60e51b815260040161085890612b10565b61098e838383611b51565b6010546000906001600160a01b03163314610a6357326000908152601760205260409020544311610a635760405162461bcd60e51b815260040161085890612b61565b5060125490565b6010546000906001600160a01b03163314610aad57326000908152601760205260409020544311610aad5760405162461bcd60e51b815260040161085890612b61565b6001600160a01b0383166000908152601760205260409020544311610ae45760405162461bcd60e51b815260040161085890612b61565b610aee8383611cfc565b9392505050565b600e546001600160a01b03163314610b1f5760405162461bcd60e51b815260040161085890612b98565b8051610b3290600d906020840190612653565b5050565b6010546000906001600160a01b03163314610b7957326000908152601760205260409020544311610b795760405162461bcd60e51b815260040161085890612b61565b5060145490565b61098e83838360405180602001604052806000815250611735565b6010546060906001600160a01b03163314610bde57326000908152601760205260409020544311610bde5760405162461bcd60e51b815260040161085890612b61565b6000610be983610e17565b905060008167ffffffffffffffff811115610c0657610c06612825565b604051908082528060200260200182016040528015610c2f578160200160208202803683370190505b50905060005b82811015610c7657610c478582610a6a565b828281518110610c5957610c59612bcf565b602090810291909101015280610c6e81612be5565b915050610c35565b509392505050565b6000610c8960085490565b8210610cec5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610858565b60088281548110610cff57610cff612bcf565b90600052602060002001549050919050565b6010546000906001600160a01b03163314610d5457326000908152601760205260409020544311610d545760405162461bcd60e51b815260040161085890612b61565b6000610d5f83611975565b6001600160a01b038116600090815260176020526040902054909150431161074b5760405162461bcd60e51b815260040161085890612b61565b600e546001600160a01b03163314610dc35760405162461bcd60e51b815260040161085890612b98565b610dcb611d92565b565b6010546000906001600160a01b03163314610e1057326000908152601760205260409020544311610e105760405162461bcd60e51b815260040161085890612b61565b5060135490565b6010546000906001600160a01b03163314610e5a57326000908152601760205260409020544311610e5a5760405162461bcd60e51b815260040161085890612b61565b6001600160a01b0382166000908152601760205260409020544311610e915760405162461bcd60e51b815260040161085890612b61565b600e5461074b906001600160a01b0316611e2a565b600e546001600160a01b03163314610ed05760405162461bcd60e51b815260040161085890612b98565b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f09573d6000803e3d6000fd5b50565b600e546001600160a01b03163314610f365760405162461bcd60e51b815260040161085890612b98565b610dcb611eb1565b60606001805461076090612a47565b600e546001600160a01b03163314610f775760405162461bcd60e51b815260040161085890612b98565b6016805460ff19811660ff90911615179055565b33803b90328114610fd85760405162461bcd60e51b8152602060048201526017602482015276596f7527726520747279696e6720746f2063686561743f60481b6044820152606401610858565b81156110205760405162461bcd60e51b8152602060048201526017602482015276596f7527726520747279696e6720746f2063686561743f60481b6044820152606401610858565b60165460ff166110655760405162461bcd60e51b815260206004820152601060248201526f135a5b9d081b9bdd08185b1b1bddd95960821b6044820152606401610858565b6002600b5414156110b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610858565b6002600b55600a5460ff16156111035760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610858565b6011548361111060085490565b61111a9190612ad9565b111561115d5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610858565b60008311801561116e5750600a8311155b6111b05760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610858565b6113886111bc60085490565b1080156111d257506101f46111d060085490565b115b156112a457611388836111e460085490565b6111ee9190612ad9565b11156112475760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820455448207061696420746f6b656e732072656d61696044820152616e7360f01b6064820152608401610858565b34611259666a94d74f43000085612af1565b1461129f5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b6044820152606401610858565b6112f2565b34156112f25760405162461bcd60e51b815260206004820152601b60248201527f43616e206265206d696e74656420666f72204d464552206f6e6c7900000000006044820152606401610858565b60005b8381101561168f5733600061138861130c60085490565b101561138e57600a61131d60085490565b6113279190612c00565b61136257620186a061133860085490565b6113429190612ad9565b90506001601260008282546113579190612ad9565b909155506116709050565b620186a061136f60085490565b6113799190612ad9565b90506001601360008282546113579190612ad9565b3260009081526017602052604081204390556113a8610993565b905060006127106113e56113ba611f2b565b6040518060400160405280600c81526020016b63726561747572655479706560a01b81525088611f88565b6113ef9190612c00565b9050600a6113fc60085490565b6114069190612c00565b61144157620186a061141760085490565b6114219190612ad9565b92506001601260008282546114369190612ad9565b909155506114739050565b620186a061144e60085490565b6114589190612ad9565b925060016013600082825461146d9190612ad9565b90915550505b6127106114a6611481611f2b565b6040518060400160405280600681526020016539ba37b632b760d11b81525086611f88565b6114b09190612c00565b90506103e88110156116095760105460408051634daf87e160e11b815290516000926001600160a01b031691639b5f0fc2916004808301926020929190829003018187875af1158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612c14565b90506001600160a01b0381161561160757601060009054906101000a90046001600160a01b03166001600160a01b0316639b5f0fc26040518163ffffffff1660e01b81526004016020604051808303816000875af1158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b59190612c14565b9450600a6115c260085490565b6115cc9190612c00565b6115ee576001601460008282546115e39190612ad9565b909155506116079050565b6001601560008282546116019190612ad9565b90915550505b505b600f54604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561165557600080fd5b505af1158015611669573d6000803e3d6000fd5b5050505050505b61167a8282611fbf565b5050808061168790612be5565b9150506112f5565b506001600b556040516bffffffffffffffffffffffff19606083811b8216602084015241901b16603482015260480160408051601f198184030181529190528051602090910120600c55505050565b610b3233838361210d565b600e546001600160a01b031633146117135760405162461bcd60e51b815260040161085890612b98565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b61173f3383611a5a565b61175b5760405162461bcd60e51b815260040161085890612b10565b611767848484846121dc565b50505050565b6010546000906001600160a01b031633146117b0573260009081526017602052604090205443116117b05760405162461bcd60e51b815260040161085890612b61565b5060155490565b6010546060906001600160a01b031633146117fa573260009081526017602052604090205443116117fa5760405162461bcd60e51b815260040161085890612b61565b6000828152600260205260409020546001600160a01b031661184f5760405162461bcd60e51b815260206004820152600e60248201526d139bdd081b5a5b9d1959081e595d60921b6044820152606401610858565b600d611866611861620186a085612a98565b61220f565b604051602001611877929190612c4d565b6040516020818303038152906040529050919050565b600e546001600160a01b031633146118b75760405162461bcd60e51b815260040161085890612b98565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146119035760405162461bcd60e51b815260040161085890612b98565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061195657506001600160e01b03198216635b5e139f60e01b145b8061074b57506301ffc9a760e01b6001600160e01b031983161461074b565b6000818152600260205260408120546001600160a01b03168061074b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610858565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a2182611975565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ad35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610858565b6000611ade83611975565b9050806001600160a01b0316846001600160a01b03161480611b195750836001600160a01b0316611b0e846107e3565b6001600160a01b0316145b80611b4957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b6482611975565b6001600160a01b031614611bcc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610858565b6001600160a01b038216611c2e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610858565b611c3983838361230d565b611c446000826119ec565b6001600160a01b0383166000908152600360205260408120805460019290611c6d908490612a98565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c9b908490612ad9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611d0783611e2a565b8210611d695760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610858565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a5460ff1615611dd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610858565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e0d3390565b6040516001600160a01b03909116815260200160405180910390a1565b60006001600160a01b038216611e955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610858565b506001600160a01b031660009081526003602052604090205490565b600a5460ff16611efa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610858565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611e0d565b600c546040516bffffffffffffffffffffffff193360601b16602082015242603482018190524460548301526074820152609481019190915260009060b4016040516020818303038152906040528051906020012060001c905090565b6000838383604051602001611f9f93929190612cf4565b60408051601f198184030181529190528051602090910120949350505050565b6001600160a01b0382166120155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610858565b6000818152600260205260409020546001600160a01b03161561207a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610858565b6120866000838361230d565b6001600160a01b03821660009081526003602052604081208054600192906120af908490612ad9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141561216f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610858565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121e7848484611b51565b6121f3848484846123c5565b6117675760405162461bcd60e51b815260040161085890612d1d565b6060816122335750506040805180820190915260018152600360fc1b602082015290565b8160005b811561225d578061224781612be5565b91506122569050600a83612ac5565b9150612237565b60008167ffffffffffffffff81111561227857612278612825565b6040519080825280601f01601f1916602001820160405280156122a2576020820181803683370190505b5090505b8415611b49576122b7600183612a98565b91506122c4600a86612c00565b6122cf906030612ad9565b60f81b8183815181106122e4576122e4612bcf565b60200101906001600160f81b031916908160001a905350612306600a86612ac5565b94506122a6565b6001600160a01b0383166123685761236381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61238b565b816001600160a01b0316836001600160a01b03161461238b5761238b83826124c3565b6001600160a01b0382166123a25761098e81612560565b826001600160a01b0316826001600160a01b03161461098e5761098e828261260f565b60006001600160a01b0384163b156124b857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612409903390899088908890600401612d6f565b6020604051808303816000875af1925050508015612444575060408051601f3d908101601f1916820190925261244191810190612dac565b60015b61249e573d808015612472576040519150601f19603f3d011682016040523d82523d6000602084013e612477565b606091505b5080516124965760405162461bcd60e51b815260040161085890612d1d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b49565b506001949350505050565b600060016124d084611e2a565b6124da9190612a98565b60008381526007602052604090205490915080821461252d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061257290600190612a98565b6000838152600960205260408120546008805493945090928490811061259a5761259a612bcf565b9060005260206000200154905080600883815481106125bb576125bb612bcf565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806125f3576125f3612dc9565b6001900381819060005260206000200160009055905550505050565b600061261a83611e2a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461265f90612a47565b90600052602060002090601f01602090048101928261268157600085556126c7565b82601f1061269a57805160ff19168380011785556126c7565b828001600101855582156126c7579182015b828111156126c75782518255916020019190600101906126ac565b506126d39291506126d7565b5090565b5b808211156126d357600081556001016126d8565b6001600160e01b031981168114610f0957600080fd5b60006020828403121561271457600080fd5b8135610aee816126ec565b60005b8381101561273a578181015183820152602001612722565b838111156117675750506000910152565b6000815180845261276381602086016020860161271f565b601f01601f19169290920160200192915050565b602081526000610aee602083018461274b565b60006020828403121561279c57600080fd5b5035919050565b6001600160a01b0381168114610f0957600080fd5b600080604083850312156127cb57600080fd5b82356127d6816127a3565b946020939093013593505050565b6000806000606084860312156127f957600080fd5b8335612804816127a3565b92506020840135612814816127a3565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561285657612856612825565b604051601f8501601f19908116603f0116810190828211818310171561287e5761287e612825565b8160405280935085815286868601111561289757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128c357600080fd5b813567ffffffffffffffff8111156128da57600080fd5b8201601f810184136128eb57600080fd5b611b498482356020840161283b565b60006020828403121561290c57600080fd5b8135610aee816127a3565b6020808252825182820181905260009190848201906040850190845b8181101561294f57835183529284019291840191600101612933565b50909695505050505050565b6000806040838503121561296e57600080fd5b8235612979816127a3565b91506020830135801515811461298e57600080fd5b809150509250929050565b600080600080608085870312156129af57600080fd5b84356129ba816127a3565b935060208501356129ca816127a3565b925060408501359150606085013567ffffffffffffffff8111156129ed57600080fd5b8501601f810187136129fe57600080fd5b612a0d8782356020840161283b565b91505092959194509250565b60008060408385031215612a2c57600080fd5b8235612a37816127a3565b9150602083013561298e816127a3565b600181811c90821680612a5b57607f821691505b60208210811415612a7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612aaa57612aaa612a82565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612ad457612ad4612aaf565b500490565b60008219821115612aec57612aec612a82565b500190565b6000816000190483118215151615612b0b57612b0b612a82565b500290565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601e908201527f506c656173652074727920616761696e206f6e206e65787420626c6f636b0000604082015260600190565b60208082526017908201527f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612bf957612bf9612a82565b5060010190565b600082612c0f57612c0f612aaf565b500690565b600060208284031215612c2657600080fd5b8151610aee816127a3565b60008151612c4381856020860161271f565b9290920192915050565b600080845481600182811c915080831680612c6957607f831692505b6020808410821415612c8957634e487b7160e01b86526022600452602486fd5b818015612c9d5760018114612cae57612cdb565b60ff19861689528489019650612cdb565b60008b81526020902060005b86811015612cd35781548b820152908501908301612cba565b505084890196505b505050505050612ceb8185612c31565b95945050505050565b838152606060208201526000612d0d606083018561274b565b9050826040830152949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612da29083018461274b565b9695505050505050565b600060208284031215612dbe57600080fd5b8151610aee816126ec565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220da13d3580fa14f189197075f3303cc64cc34fe6dc8c5e54848cc8caf30ac3d2764736f6c634300080a0033697066733a2f2f516d64395269635a5345386e6f79573437395258545a375976756a634a6b4b4e4d57354366766d75503262674c622f

Deployed Bytecode

0x6080604052600436106102465760003560e01c806372dd52e311610139578063b88d4fde116100b6578063c87b56dd1161007a578063c87b56dd14610648578063de7fcb1d14610668578063e985e9c51461067d578063ee99205c146106c6578063f2fde38b146106e6578063f4e0d9ac1461070657600080fd5b8063b88d4fde146105c8578063bdb4b848146105e8578063c2f775fc14610603578063c428189c14610618578063c467201e1461062e57600080fd5b806395d89b41116100fd57806395d89b411461054b5780639a8cbafa14610560578063a0712d6814610575578063a22cb46514610588578063b0bdacc6146105a857600080fd5b806372dd52e3146104c35780637362377b146104e35780637805862f146104f8578063847680f41461050d5780638da5cb5b1461052b57600080fd5b806332cb6b0c116101c75780635c975abb1161018b5780635c975abb146104415780636352211e146104595780636985a022146104795780636df4a6921461048e57806370a08231146104a357600080fd5b806332cb6b0c146103a957806339f3bf06146103bf57806342842e0e146103d4578063438b6300146103f45780634f6ccce71461042157600080fd5b806318160ddd1161020e57806318160ddd1461031f57806323b872dd146103345780632f2270c5146103545780632f745c591461036957806330176e131461038957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806310a726b3146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004612702565b610726565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610751565b6040516102779190612777565b3480156102ae57600080fd5b506102c26102bd36600461278a565b6107e3565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f53660046127b8565b61087d565b005b34801561030857600080fd5b50610311610993565b604051908152602001610277565b34801561032b57600080fd5b50600854610311565b34801561034057600080fd5b506102fa61034f3660046127e4565b6109dd565b34801561036057600080fd5b50610311610a20565b34801561037557600080fd5b506103116103843660046127b8565b610a6a565b34801561039557600080fd5b506102fa6103a43660046128b1565b610af5565b3480156103b557600080fd5b5061031160115481565b3480156103cb57600080fd5b50610311610b36565b3480156103e057600080fd5b506102fa6103ef3660046127e4565b610b80565b34801561040057600080fd5b5061041461040f3660046128fa565b610b9b565b6040516102779190612917565b34801561042d57600080fd5b5061031161043c36600461278a565b610c7e565b34801561044d57600080fd5b50600a5460ff1661026b565b34801561046557600080fd5b506102c261047436600461278a565b610d11565b34801561048557600080fd5b506102fa610d99565b34801561049a57600080fd5b50610311610dcd565b3480156104af57600080fd5b506103116104be3660046128fa565b610e17565b3480156104cf57600080fd5b50600f546102c2906001600160a01b031681565b3480156104ef57600080fd5b506102fa610ea6565b34801561050457600080fd5b506102fa610f0c565b34801561051957600080fd5b5061031169054b40b1f852bda0000081565b34801561053757600080fd5b50600e546102c2906001600160a01b031681565b34801561055757600080fd5b50610295610f3e565b34801561056c57600080fd5b506102fa610f4d565b6102fa61058336600461278a565b610f8b565b34801561059457600080fd5b506102fa6105a336600461295b565b6116de565b3480156105b457600080fd5b506102fa6105c33660046128fa565b6116e9565b3480156105d457600080fd5b506102fa6105e3366004612999565b611735565b3480156105f457600080fd5b50610311666a94d74f43000081565b34801561060f57600080fd5b5061031161176d565b34801561062457600080fd5b506103116103e881565b34801561063a57600080fd5b5060165461026b9060ff1681565b34801561065457600080fd5b5061029561066336600461278a565b6117b7565b34801561067457600080fd5b50610311600a81565b34801561068957600080fd5b5061026b610698366004612a19565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106d257600080fd5b506010546102c2906001600160a01b031681565b3480156106f257600080fd5b506102fa6107013660046128fa565b61188d565b34801561071257600080fd5b506102fa6107213660046128fa565b6118d9565b60006001600160e01b0319821663780e9d6360e01b148061074b575061074b82611925565b92915050565b60606000805461076090612a47565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90612a47565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061088882611975565b9050806001600160a01b0316836001600160a01b031614156108f65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610858565b336001600160a01b038216148061091257506109128133610698565b6109845760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610858565b61098e83836119ec565b505050565b600069054b40b1f852bda000006103e86113886109af60085490565b6109b99190612a98565b6109c39190612ac5565b6109ce906001612ad9565b6109d89190612af1565b905090565b6010546001600160a01b03163314610a15576109f93382611a5a565b610a155760405162461bcd60e51b815260040161085890612b10565b61098e838383611b51565b6010546000906001600160a01b03163314610a6357326000908152601760205260409020544311610a635760405162461bcd60e51b815260040161085890612b61565b5060125490565b6010546000906001600160a01b03163314610aad57326000908152601760205260409020544311610aad5760405162461bcd60e51b815260040161085890612b61565b6001600160a01b0383166000908152601760205260409020544311610ae45760405162461bcd60e51b815260040161085890612b61565b610aee8383611cfc565b9392505050565b600e546001600160a01b03163314610b1f5760405162461bcd60e51b815260040161085890612b98565b8051610b3290600d906020840190612653565b5050565b6010546000906001600160a01b03163314610b7957326000908152601760205260409020544311610b795760405162461bcd60e51b815260040161085890612b61565b5060145490565b61098e83838360405180602001604052806000815250611735565b6010546060906001600160a01b03163314610bde57326000908152601760205260409020544311610bde5760405162461bcd60e51b815260040161085890612b61565b6000610be983610e17565b905060008167ffffffffffffffff811115610c0657610c06612825565b604051908082528060200260200182016040528015610c2f578160200160208202803683370190505b50905060005b82811015610c7657610c478582610a6a565b828281518110610c5957610c59612bcf565b602090810291909101015280610c6e81612be5565b915050610c35565b509392505050565b6000610c8960085490565b8210610cec5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610858565b60088281548110610cff57610cff612bcf565b90600052602060002001549050919050565b6010546000906001600160a01b03163314610d5457326000908152601760205260409020544311610d545760405162461bcd60e51b815260040161085890612b61565b6000610d5f83611975565b6001600160a01b038116600090815260176020526040902054909150431161074b5760405162461bcd60e51b815260040161085890612b61565b600e546001600160a01b03163314610dc35760405162461bcd60e51b815260040161085890612b98565b610dcb611d92565b565b6010546000906001600160a01b03163314610e1057326000908152601760205260409020544311610e105760405162461bcd60e51b815260040161085890612b61565b5060135490565b6010546000906001600160a01b03163314610e5a57326000908152601760205260409020544311610e5a5760405162461bcd60e51b815260040161085890612b61565b6001600160a01b0382166000908152601760205260409020544311610e915760405162461bcd60e51b815260040161085890612b61565b600e5461074b906001600160a01b0316611e2a565b600e546001600160a01b03163314610ed05760405162461bcd60e51b815260040161085890612b98565b600e546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f09573d6000803e3d6000fd5b50565b600e546001600160a01b03163314610f365760405162461bcd60e51b815260040161085890612b98565b610dcb611eb1565b60606001805461076090612a47565b600e546001600160a01b03163314610f775760405162461bcd60e51b815260040161085890612b98565b6016805460ff19811660ff90911615179055565b33803b90328114610fd85760405162461bcd60e51b8152602060048201526017602482015276596f7527726520747279696e6720746f2063686561743f60481b6044820152606401610858565b81156110205760405162461bcd60e51b8152602060048201526017602482015276596f7527726520747279696e6720746f2063686561743f60481b6044820152606401610858565b60165460ff166110655760405162461bcd60e51b815260206004820152601060248201526f135a5b9d081b9bdd08185b1b1bddd95960821b6044820152606401610858565b6002600b5414156110b85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610858565b6002600b55600a5460ff16156111035760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610858565b6011548361111060085490565b61111a9190612ad9565b111561115d5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610858565b60008311801561116e5750600a8311155b6111b05760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610858565b6113886111bc60085490565b1080156111d257506101f46111d060085490565b115b156112a457611388836111e460085490565b6111ee9190612ad9565b11156112475760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820455448207061696420746f6b656e732072656d61696044820152616e7360f01b6064820152608401610858565b34611259666a94d74f43000085612af1565b1461129f5760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a59081c185e5b595b9d08185b5bdd5b9d60521b6044820152606401610858565b6112f2565b34156112f25760405162461bcd60e51b815260206004820152601b60248201527f43616e206265206d696e74656420666f72204d464552206f6e6c7900000000006044820152606401610858565b60005b8381101561168f5733600061138861130c60085490565b101561138e57600a61131d60085490565b6113279190612c00565b61136257620186a061133860085490565b6113429190612ad9565b90506001601260008282546113579190612ad9565b909155506116709050565b620186a061136f60085490565b6113799190612ad9565b90506001601360008282546113579190612ad9565b3260009081526017602052604081204390556113a8610993565b905060006127106113e56113ba611f2b565b6040518060400160405280600c81526020016b63726561747572655479706560a01b81525088611f88565b6113ef9190612c00565b9050600a6113fc60085490565b6114069190612c00565b61144157620186a061141760085490565b6114219190612ad9565b92506001601260008282546114369190612ad9565b909155506114739050565b620186a061144e60085490565b6114589190612ad9565b925060016013600082825461146d9190612ad9565b90915550505b6127106114a6611481611f2b565b6040518060400160405280600681526020016539ba37b632b760d11b81525086611f88565b6114b09190612c00565b90506103e88110156116095760105460408051634daf87e160e11b815290516000926001600160a01b031691639b5f0fc2916004808301926020929190829003018187875af1158015611507573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152b9190612c14565b90506001600160a01b0381161561160757601060009054906101000a90046001600160a01b03166001600160a01b0316639b5f0fc26040518163ffffffff1660e01b81526004016020604051808303816000875af1158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b59190612c14565b9450600a6115c260085490565b6115cc9190612c00565b6115ee576001601460008282546115e39190612ad9565b909155506116079050565b6001601560008282546116019190612ad9565b90915550505b505b600f54604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561165557600080fd5b505af1158015611669573d6000803e3d6000fd5b5050505050505b61167a8282611fbf565b5050808061168790612be5565b9150506112f5565b506001600b556040516bffffffffffffffffffffffff19606083811b8216602084015241901b16603482015260480160408051601f198184030181529190528051602090910120600c55505050565b610b3233838361210d565b600e546001600160a01b031633146117135760405162461bcd60e51b815260040161085890612b98565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b61173f3383611a5a565b61175b5760405162461bcd60e51b815260040161085890612b10565b611767848484846121dc565b50505050565b6010546000906001600160a01b031633146117b0573260009081526017602052604090205443116117b05760405162461bcd60e51b815260040161085890612b61565b5060155490565b6010546060906001600160a01b031633146117fa573260009081526017602052604090205443116117fa5760405162461bcd60e51b815260040161085890612b61565b6000828152600260205260409020546001600160a01b031661184f5760405162461bcd60e51b815260206004820152600e60248201526d139bdd081b5a5b9d1959081e595d60921b6044820152606401610858565b600d611866611861620186a085612a98565b61220f565b604051602001611877929190612c4d565b6040516020818303038152906040529050919050565b600e546001600160a01b031633146118b75760405162461bcd60e51b815260040161085890612b98565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600e546001600160a01b031633146119035760405162461bcd60e51b815260040161085890612b98565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061195657506001600160e01b03198216635b5e139f60e01b145b8061074b57506301ffc9a760e01b6001600160e01b031983161461074b565b6000818152600260205260408120546001600160a01b03168061074b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610858565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a2182611975565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ad35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610858565b6000611ade83611975565b9050806001600160a01b0316846001600160a01b03161480611b195750836001600160a01b0316611b0e846107e3565b6001600160a01b0316145b80611b4957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b6482611975565b6001600160a01b031614611bcc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610858565b6001600160a01b038216611c2e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610858565b611c3983838361230d565b611c446000826119ec565b6001600160a01b0383166000908152600360205260408120805460019290611c6d908490612a98565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c9b908490612ad9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611d0783611e2a565b8210611d695760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610858565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a5460ff1615611dd85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610858565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e0d3390565b6040516001600160a01b03909116815260200160405180910390a1565b60006001600160a01b038216611e955760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610858565b506001600160a01b031660009081526003602052604090205490565b600a5460ff16611efa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610858565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33611e0d565b600c546040516bffffffffffffffffffffffff193360601b16602082015242603482018190524460548301526074820152609481019190915260009060b4016040516020818303038152906040528051906020012060001c905090565b6000838383604051602001611f9f93929190612cf4565b60408051601f198184030181529190528051602090910120949350505050565b6001600160a01b0382166120155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610858565b6000818152600260205260409020546001600160a01b03161561207a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610858565b6120866000838361230d565b6001600160a01b03821660009081526003602052604081208054600192906120af908490612ad9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141561216f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610858565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121e7848484611b51565b6121f3848484846123c5565b6117675760405162461bcd60e51b815260040161085890612d1d565b6060816122335750506040805180820190915260018152600360fc1b602082015290565b8160005b811561225d578061224781612be5565b91506122569050600a83612ac5565b9150612237565b60008167ffffffffffffffff81111561227857612278612825565b6040519080825280601f01601f1916602001820160405280156122a2576020820181803683370190505b5090505b8415611b49576122b7600183612a98565b91506122c4600a86612c00565b6122cf906030612ad9565b60f81b8183815181106122e4576122e4612bcf565b60200101906001600160f81b031916908160001a905350612306600a86612ac5565b94506122a6565b6001600160a01b0383166123685761236381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61238b565b816001600160a01b0316836001600160a01b03161461238b5761238b83826124c3565b6001600160a01b0382166123a25761098e81612560565b826001600160a01b0316826001600160a01b03161461098e5761098e828261260f565b60006001600160a01b0384163b156124b857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612409903390899088908890600401612d6f565b6020604051808303816000875af1925050508015612444575060408051601f3d908101601f1916820190925261244191810190612dac565b60015b61249e573d808015612472576040519150601f19603f3d011682016040523d82523d6000602084013e612477565b606091505b5080516124965760405162461bcd60e51b815260040161085890612d1d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b49565b506001949350505050565b600060016124d084611e2a565b6124da9190612a98565b60008381526007602052604090205490915080821461252d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061257290600190612a98565b6000838152600960205260408120546008805493945090928490811061259a5761259a612bcf565b9060005260206000200154905080600883815481106125bb576125bb612bcf565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806125f3576125f3612dc9565b6001900381819060005260206000200160009055905550505050565b600061261a83611e2a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461265f90612a47565b90600052602060002090601f01602090048101928261268157600085556126c7565b82601f1061269a57805160ff19168380011785556126c7565b828001600101855582156126c7579182015b828111156126c75782518255916020019190600101906126ac565b506126d39291506126d7565b5090565b5b808211156126d357600081556001016126d8565b6001600160e01b031981168114610f0957600080fd5b60006020828403121561271457600080fd5b8135610aee816126ec565b60005b8381101561273a578181015183820152602001612722565b838111156117675750506000910152565b6000815180845261276381602086016020860161271f565b601f01601f19169290920160200192915050565b602081526000610aee602083018461274b565b60006020828403121561279c57600080fd5b5035919050565b6001600160a01b0381168114610f0957600080fd5b600080604083850312156127cb57600080fd5b82356127d6816127a3565b946020939093013593505050565b6000806000606084860312156127f957600080fd5b8335612804816127a3565b92506020840135612814816127a3565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561285657612856612825565b604051601f8501601f19908116603f0116810190828211818310171561287e5761287e612825565b8160405280935085815286868601111561289757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156128c357600080fd5b813567ffffffffffffffff8111156128da57600080fd5b8201601f810184136128eb57600080fd5b611b498482356020840161283b565b60006020828403121561290c57600080fd5b8135610aee816127a3565b6020808252825182820181905260009190848201906040850190845b8181101561294f57835183529284019291840191600101612933565b50909695505050505050565b6000806040838503121561296e57600080fd5b8235612979816127a3565b91506020830135801515811461298e57600080fd5b809150509250929050565b600080600080608085870312156129af57600080fd5b84356129ba816127a3565b935060208501356129ca816127a3565b925060408501359150606085013567ffffffffffffffff8111156129ed57600080fd5b8501601f810187136129fe57600080fd5b612a0d8782356020840161283b565b91505092959194509250565b60008060408385031215612a2c57600080fd5b8235612a37816127a3565b9150602083013561298e816127a3565b600181811c90821680612a5b57607f821691505b60208210811415612a7c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612aaa57612aaa612a82565b500390565b634e487b7160e01b600052601260045260246000fd5b600082612ad457612ad4612aaf565b500490565b60008219821115612aec57612aec612a82565b500190565b6000816000190483118215151615612b0b57612b0b612a82565b500290565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601e908201527f506c656173652074727920616761696e206f6e206e65787420626c6f636b0000604082015260600190565b60208082526017908201527f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612bf957612bf9612a82565b5060010190565b600082612c0f57612c0f612aaf565b500690565b600060208284031215612c2657600080fd5b8151610aee816127a3565b60008151612c4381856020860161271f565b9290920192915050565b600080845481600182811c915080831680612c6957607f831692505b6020808410821415612c8957634e487b7160e01b86526022600452602486fd5b818015612c9d5760018114612cae57612cdb565b60ff19861689528489019650612cdb565b60008b81526020902060005b86811015612cd35781548b820152908501908301612cba565b505084890196505b505050505050612ceb8185612c31565b95945050505050565b838152606060208201526000612d0d606083018561274b565b9050826040830152949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612da29083018461274b565b9695505050505050565b600060208284031215612dbe57600080fd5b8151610aee816126ec565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220da13d3580fa14f189197075f3303cc64cc34fe6dc8c5e54848cc8caf30ac3d2764736f6c634300080a0033

Deployed Bytecode Sourcemap

47301:11549:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40813:224;;;;;;;;;;-1:-1:-1;40813:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;40813:224:0;;;;;;;;28307:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29866:221::-;;;;;;;;;;-1:-1:-1;29866:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;29866:221:0;1550:203:1;29389:411:0;;;;;;;;;;-1:-1:-1;29389:411:0;;;;;:::i;:::-;;:::i;:::-;;53417:150;;;;;;;;;;;;;:::i;:::-;;;2360:25:1;;;2348:2;2333:18;53417:150:0;2214:177:1;41453:113:0;;;;;;;;;;-1:-1:-1;41541:10:0;:17;41453:113;;58398:342;;;;;;;;;;-1:-1:-1;58398:342:0;;;;;:::i;:::-;;:::i;56620:111::-;;;;;;;;;;;;;:::i;57097:311::-;;;;;;;;;;-1:-1:-1;57097:311:0;;;;;:::i;:::-;;:::i;54718:109::-;;;;;;;;;;-1:-1:-1;54718:109:0;;;;;:::i;:::-;;:::i;47682:30::-;;;;;;;;;;;;;;;;56857:114;;;;;;;;;;;;;:::i;31026:185::-;;;;;;;;;;-1:-1:-1;31026:185:0;;;;;:::i;:::-;;:::i;57981:409::-;;;;;;;;;;-1:-1:-1;57981:409:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;41643:233::-;;;;;;;;;;-1:-1:-1;41643:233:0;;;;;:::i;:::-;;:::i;6908:86::-;;;;;;;;;;-1:-1:-1;6979:7:0;;;;6908:86;;57688:285;;;;;;;;;;-1:-1:-1;57688:285:0;;;;;:::i;:::-;;:::i;54099:63::-;;;;;;;;;;;;;:::i;56739:110::-;;;;;;;;;;;;;:::i;57422:258::-;;;;;;;;;;-1:-1:-1;57422:258:0;;;;;:::i;:::-;;:::i;47610:25::-;;;;;;;;;;-1:-1:-1;47610:25:0;;;;-1:-1:-1;;;;;47610:25:0;;;55029:109;;;;;;;;;;;;;:::i;54170:67::-;;;;;;;;;;;;;:::i;47901:57::-;;;;;;;;;;;;47947:11;47901:57;;47520:20;;;;;;;;;;-1:-1:-1;47520:20:0;;;;-1:-1:-1;;;;;47520:20:0;;;28476:104;;;;;;;;;;;;;:::i;54874:91::-;;;;;;;;;;;;;:::i;49260:3339::-;;;;;;:::i;:::-;;:::i;30159:155::-;;;;;;;;;;-1:-1:-1;30159:155:0;;;;;:::i;:::-;;:::i;54312:116::-;;;;;;;;;;-1:-1:-1;54312:116:0;;;;;:::i;:::-;;:::i;31282:328::-;;;;;;;;;;-1:-1:-1;31282:328:0;;;;;:::i;:::-;;:::i;47852:42::-;;;;;;;;;;;;47884:10;47852:42;;56979:112;;;;;;;;;;;;;:::i;48000:41::-;;;;;;;;;;;;48037:4;48000:41;;48233:31;;;;;;;;;;-1:-1:-1;48233:31:0;;;;;;;;48560:261;;;;;;;;;;-1:-1:-1;48560:261:0;;;;;:::i;:::-;;:::i;48048:38::-;;;;;;;;;;;;48084:2;48048:38;;30385:164;;;;;;;;;;-1:-1:-1;30385:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30506:25:0;;;30482:4;30506:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30385:164;47642:31;;;;;;;;;;-1:-1:-1;47642:31:0;;;;-1:-1:-1;;;;;47642:31:0;;;58748:99;;;;;;;;;;-1:-1:-1;58748:99:0;;;;;:::i;:::-;;:::i;54503:131::-;;;;;;;;;;-1:-1:-1;54503:131:0;;;;;:::i;:::-;;:::i;40813:224::-;40915:4;-1:-1:-1;;;;;;40939:50:0;;-1:-1:-1;;;40939:50:0;;:90;;;40993:36;41017:11;40993:23;:36::i;:::-;40932:97;40813:224;-1:-1:-1;;40813:224:0:o;28307:100::-;28361:13;28394:5;28387:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28307:100;:::o;29866:221::-;29942:7;33209:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33209:16:0;29962:73;;;;-1:-1:-1;;;29962:73:0;;7619:2:1;29962:73:0;;;7601:21:1;7658:2;7638:18;;;7631:30;7697:34;7677:18;;;7670:62;-1:-1:-1;;;7748:18:1;;;7741:42;7800:19;;29962:73:0;;;;;;;;;-1:-1:-1;30055:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30055:24:0;;29866:221::o;29389:411::-;29470:13;29486:23;29501:7;29486:14;:23::i;:::-;29470:39;;29534:5;-1:-1:-1;;;;;29528:11:0;:2;-1:-1:-1;;;;;29528:11:0;;;29520:57;;;;-1:-1:-1;;;29520:57:0;;8032:2:1;29520:57:0;;;8014:21:1;8071:2;8051:18;;;8044:30;8110:34;8090:18;;;8083:62;-1:-1:-1;;;8161:18:1;;;8154:31;8202:19;;29520:57:0;7830:397:1;29520:57:0;5642:10;-1:-1:-1;;;;;29612:21:0;;;;:62;;-1:-1:-1;29637:37:0;29654:5;5642:10;30385:164;:::i;29637:37::-;29590:168;;;;-1:-1:-1;;;29590:168:0;;8434:2:1;29590:168:0;;;8416:21:1;8473:2;8453:18;;;8446:30;8512:34;8492:18;;;8485:62;8583:26;8563:18;;;8556:54;8627:19;;29590:168:0;8232:420:1;29590:168:0;29771:21;29780:2;29784:7;29771:8;:21::i;:::-;29459:341;29389:411;;:::o;53417:150::-;53463:4;47947:11;48037:4;47751;53489:13;41541:10;:17;;41453:113;53489:13;:29;;;;:::i;:::-;53488:45;;;;:::i;:::-;:47;;53534:1;53488:47;:::i;:::-;53487:72;;;;:::i;:::-;53480:79;;53417:150;:::o;58398:342::-;58546:15;;-1:-1:-1;;;;;58546:15:0;58524:10;:38;58520:174;;58587:41;5642:10;58620:7;58587:18;:41::i;:::-;58579:103;;;;-1:-1:-1;;;58579:103:0;;;;;;;:::i;:::-;58704:28;58714:4;58720:2;58724:7;58704:9;:28::i;56620:111::-;56456:15;;56686:4;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;56710:13:0::1;::::0;56620:111;:::o;57097:311::-;56456:15;;57233:7;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57261:31:0;::::1;;::::0;;;:23:::1;:31;::::0;;;;;57295:12:::1;-1:-1:-1::0;57253:89:0::1;;;;-1:-1:-1::0;;;57253:89:0::1;;;;;;;:::i;:::-;57360:40;57386:6;57394:5;57360:25;:40::i;:::-;57353:47:::0;57097:311;-1:-1:-1;;;57097:311:0:o;54718:109::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54797:22;;::::1;::::0;:13:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54718:109:::0;:::o;56857:114::-;56456:15;;56924:4;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;56949:14:0::1;::::0;56857:114;:::o;31026:185::-;31164:39;31181:4;31187:2;31191:7;31164:39;;;;;;;;;;;;:16;:39::i;57981:409::-;56456:15;;58098:16;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;58132:18:::1;58153;58163:7;58153:9;:18::i;:::-;58132:39;;58184:25;58226:10;58212:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;58212:25:0::1;;58184:53;;58253:9;58248:109;58268:10;58264:1;:14;58248:109;;;58314:31;58334:7;58343:1;58314:19;:31::i;:::-;58300:8;58309:1;58300:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;:45;58280:3;::::1;::::0;::::1;:::i;:::-;;;;58248:109;;;-1:-1:-1::0;58374:8:0;57981:409;-1:-1:-1;;;57981:409:0:o;41643:233::-;41718:7;41754:30;41541:10;:17;;41453:113;41754:30;41746:5;:38;41738:95;;;;-1:-1:-1;;;41738:95:0;;11085:2:1;41738:95:0;;;11067:21:1;11124:2;11104:18;;;11097:30;11163:34;11143:18;;;11136:62;-1:-1:-1;;;11214:18:1;;;11207:42;11266:19;;41738:95:0;10883:408:1;41738:95:0;41851:10;41862:5;41851:17;;;;;;;;:::i;:::-;;;;;;;;;41844:24;;41643:233;;;:::o;57688:285::-;56456:15;;57788:7;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;57808:12:::1;57823:22;57837:7;57823:13;:22::i;:::-;-1:-1:-1::0;;;;;57864:29:0;::::1;;::::0;;;:23:::1;:29;::::0;;;;;57808:37;;-1:-1:-1;57896:12:0::1;-1:-1:-1::0;57856:87:0::1;;;;-1:-1:-1::0;;;57856:87:0::1;;;;;;;:::i;54099:63::-:0;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54146:8:::1;:6;:8::i;:::-;54099:63::o:0;56739:110::-;56456:15;;56804:4;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;56829:12:0::1;::::0;56739:110;:::o;57422:258::-;56456:15;;57523:7;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57551:31:0;::::1;;::::0;;;:23:::1;:31;::::0;;;;;57585:12:::1;-1:-1:-1::0;57543:89:0::1;;;;-1:-1:-1::0;;;57543:89:0::1;;;;;;;:::i;:::-;57666:5;::::0;57650:22:::1;::::0;-1:-1:-1;;;;;57666:5:0::1;57650:15;:22::i;55029:109::-:0;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;55092:5:::1;::::0;55084:46:::1;::::0;-1:-1:-1;;;;;55092:5:0;;::::1;::::0;55108:21:::1;55084:46:::0;::::1;;;::::0;55092:5:::1;55084:46:::0;55092:5;55084:46;55108:21;55092:5;55084:46;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;55029:109::o:0;54170:67::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54219:10:::1;:8;:10::i;28476:104::-:0;28532:13;28565:7;28558:14;;;;;:::i;54874:91::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54946:11:::1;::::0;;-1:-1:-1;;54933:24:0;::::1;54946:11;::::0;;::::1;54945:12;54933:24;::::0;;54874:91::o;49260:3339::-;55925:10;55965:16;;;56016:9;56002:23;;55994:60;;;;-1:-1:-1;;;55994:60:0;;11498:2:1;55994:60:0;;;11480:21:1;11537:2;11517:18;;;11510:30;-1:-1:-1;;;11556:18:1;;;11549:53;11619:18;;55994:60:0;11296:347:1;55994:60:0;56073:9;;56065:60;;;;-1:-1:-1;;;56065:60:0;;11498:2:1;56065:60:0;;;11480:21:1;11537:2;11517:18;;;11510:30;-1:-1:-1;;;11556:18:1;;;11549:53;11619:18;;56065:60:0;11296:347:1;56065:60:0;55554:11:::1;::::0;::::1;;55546:40;;;::::0;-1:-1:-1;;;55546:40:0;;11850:2:1;55546:40:0::1;::::0;::::1;11832:21:1::0;11889:2;11869:18;;;11862:30;-1:-1:-1;;;11908:18:1;;;11901:46;11964:18;;55546:40:0::1;11648:340:1::0;55546:40:0::1;1812:1:::2;2410:7;;:19;;2402:63;;;::::0;-1:-1:-1;;;2402:63:0;;12195:2:1;2402:63:0::2;::::0;::::2;12177:21:1::0;12234:2;12214:18;;;12207:30;12273:33;12253:18;;;12246:61;12324:18;;2402:63:0::2;11993:355:1::0;2402:63:0::2;1812:1;2543:7;:18:::0;6979:7;;;;7233:9:::3;7225:38;;;::::0;-1:-1:-1;;;7225:38:0;;12555:2:1;7225:38:0::3;::::0;::::3;12537:21:1::0;12594:2;12574:18;;;12567:30;-1:-1:-1;;;12613:18:1;;;12606:46;12669:18;;7225:38:0::3;12353:340:1::0;7225:38:0::3;49403:10:::4;;49393:6;49377:13;41541:10:::0;:17;;41453:113;49377:13:::4;:22;;;;:::i;:::-;:36;;49369:67;;;::::0;-1:-1:-1;;;49369:67:0;;12900:2:1;49369:67:0::4;::::0;::::4;12882:21:1::0;12939:2;12919:18;;;12912:30;-1:-1:-1;;;12958:18:1;;;12951:48;13016:18;;49369:67:0::4;12698:342:1::0;49369:67:0::4;49464:1;49455:6;:10;:36;;;;;48084:2;49469:6;:22;;49455:36;49447:68;;;::::0;-1:-1:-1;;;49447:68:0;;13247:2:1;49447:68:0::4;::::0;::::4;13229:21:1::0;13286:2;13266:18;;;13259:30;-1:-1:-1;;;13305:18:1;;;13298:49;13364:18;;49447:68:0::4;13045:343:1::0;49447:68:0::4;47751:4;49533:13;41541:10:::0;:17;;41453:113;49533:13:::4;:31;49532:73;;;;;47797:3;49570:13;41541:10:::0;:17;;41453:113;49570:13:::4;:34;49532:73;49528:435;;;47751:4;49720:6;49704:13;41541:10:::0;:17;;41453:113;49704:13:::4;:22;;;;:::i;:::-;:41;;49696:88;;;::::0;-1:-1:-1;;;49696:88:0;;13595:2:1;49696:88:0::4;::::0;::::4;13577:21:1::0;13634:2;13614:18;;;13607:30;13673:34;13653:18;;;13646:62;-1:-1:-1;;;13724:18:1;;;13717:32;13766:19;;49696:88:0::4;13393:398:1::0;49696:88:0::4;49828:9;49807:17;47884:10;49807:6:::0;:17:::4;:::i;:::-;:30;49799:65;;;::::0;-1:-1:-1;;;49799:65:0;;13998:2:1;49799:65:0::4;::::0;::::4;13980:21:1::0;14037:2;14017:18;;;14010:30;-1:-1:-1;;;14056:18:1;;;14049:52;14118:18;;49799:65:0::4;13796:346:1::0;49799:65:0::4;49528:435;;;49905:9;:14:::0;49897:54:::4;;;::::0;-1:-1:-1;;;49897:54:0;;14349:2:1;49897:54:0::4;::::0;::::4;14331:21:1::0;14388:2;14368:18;;;14361:30;14427:29;14407:18;;;14400:57;14474:18;;49897:54:0::4;14147:351:1::0;49897:54:0::4;49980:6;49975:2617;49995:6;49992:1;:9;49975:2617;;;50046:10;50022:21;47751:4;50184:13;41541:10:::0;:17;;41453:113;50184:13:::4;:31;50180:2340;;;50299:2;50285:13;41541:10:::0;:17;;41453:113;50285:13:::4;:16;;;;:::i;:::-;50281:273;;47839:6;50341:13;41541:10:::0;:17;;41453:113;50341:13:::4;:29;;;;:::i;:::-;50330:40;;50408:1;50393:13;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;50180:2340:0::4;::::0;-1:-1:-1;50180:2340:0::4;50281:273;47839:6;50467:13;41541:10:::0;:17;;41453:113;50467:13:::4;:29;;;;:::i;:::-;50456:40;;50533:1;50519:12;;:15;;;;;;;:::i;50180:2340::-;50712:9;50688:34;::::0;;;:23:::4;:34;::::0;;;;50725:12:::4;50688:49:::0;;50791:15:::4;:13;:15::i;:::-;50774:32;;50827:11;50882:5;50841:38;50852:7;:5;:7::i;:::-;50841:38;;;;;;;;;;;;;-1:-1:-1::0;;;50841:38:0::4;;::::0;50877:1:::4;50841:10;:38::i;:::-;:46;;;;:::i;:::-;50827:60;;50971:2;50957:13;41541:10:::0;:17;;41453:113;50957:13:::4;:16;;;;:::i;:::-;50953:273;;47839:6;51013:13;41541:10:::0;:17;;41453:113;51013:13:::4;:29;;;;:::i;:::-;51002:40;;51080:1;51065:13;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;50953:273:0::4;::::0;-1:-1:-1;50953:273:0::4;;47839:6;51139:13;41541:10:::0;:17;;41453:113;51139:13:::4;:29;;;;:::i;:::-;51128:40;;51205:1;51191:12;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;50953:273:0::4;51299:5;51255:41;51266:7;:5;:7::i;:::-;51255:41;;;;;;;;;;;;;-1:-1:-1::0;;;51255:41:0::4;;::::0;51285:10:::4;51255;:41::i;:::-;:49;;;;:::i;:::-;51246:58;;51392:4;51383:6;:13;51379:1066;;;51814:15;::::0;:34:::4;::::0;;-1:-1:-1;;;51814:34:0;;;;51789:24:::4;::::0;-1:-1:-1;;;;;51814:15:0::4;::::0;:32:::4;::::0;:34:::4;::::0;;::::4;::::0;::::4;::::0;;;;;;;;51789:24;51814:15;:34:::4;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51789:59:::0;-1:-1:-1;;;;;;51874:29:0;::::4;::::0;51871:511:::4;;51945:15;;;;;;;;;-1:-1:-1::0;;;;;51945:15:0::4;-1:-1:-1::0;;;;;51945:32:0::4;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51931:48;;52196:2;52182:13;41541:10:::0;:17;;41453:113;52182:13:::4;:16;;;;:::i;:::-;52178:181;;52251:1;52235:14;;:17;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;52178:181:0::4;::::0;-1:-1:-1;52178:181:0::4;;52330:1;52315:13;;:16;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;52178:181:0::4;51398:1047;51379:1066;52464:12;::::0;:40:::4;::::0;-1:-1:-1;;;52464:40:0;;52482:10:::4;52464:40;::::0;::::4;15050:51:1::0;15117:18;;;15110:34;;;-1:-1:-1;;;;;52464:12:0;;::::4;::::0;:17:::4;::::0;15023:18:1;;52464:40:0::4;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;50669:1851;;50180:2340;52548:32;52554:13;52569:10;52548:5;:32::i;:::-;50007:2585;;50002:3;;;;;:::i;:::-;;;;49975:2617;;;-1:-1:-1::0;1768:1:0::2;2722:7;:22:::0;56248:37;;-1:-1:-1;;15398:2:1;15394:15;;;15390:24;;56248:37:0;;;15378::1;56270:14:0;15449:15:1;;15445:24;15431:12;;;15424:46;15486:12;;56248:37:0;;;-1:-1:-1;;56248:37:0;;;;;;;;;56238:48;;56248:37;56238:48;;;;56223:12;:63;-1:-1:-1;;;49260:3339:0:o;30159:155::-;30254:52;5642:10;30287:8;30297;30254:18;:52::i;54312:116::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54388:12:::1;:32:::0;;-1:-1:-1;;;;;;54388:32:0::1;-1:-1:-1::0;;;;;54388:32:0;;;::::1;::::0;;;::::1;::::0;;54312:116::o;31282:328::-;31457:41;5642:10;31490:7;31457:18;:41::i;:::-;31449:103;;;;-1:-1:-1;;;31449:103:0;;;;;;;:::i;:::-;31563:39;31577:4;31583:2;31587:7;31596:5;31563:13;:39::i;:::-;31282:328;;;;:::o;56979:112::-;56456:15;;57045:4;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;-1:-1:-1;57070:13:0::1;::::0;56979:112;:::o;48560:261::-;56456:15;;48643:13;;-1:-1:-1;;;;;56456:15:0;56436:10;:36;56432:161;;56521:9;56497:34;;;;:23;:34;;;;;;56534:12;-1:-1:-1;56489:92:0;;;;-1:-1:-1;;;56489:92:0;;;;;;;:::i;:::-;33185:4;33209:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33209:16:0;48669:43:::1;;;::::0;-1:-1:-1;;;48669:43:0;;15711:2:1;48669:43:0::1;::::0;::::1;15693:21:1::0;15750:2;15730:18;;;15723:30;-1:-1:-1;;;15769:18:1;;;15762:44;15823:18;;48669:43:0::1;15509:338:1::0;48669:43:0::1;48754:13;48769:42;48786:24;47839:6;48786:8:::0;:24:::1;:::i;:::-;48769:16;:42::i;:::-;48737:75;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48723:90;;48560:261:::0;;;:::o;58748:99::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;58823:5:::1;:16:::0;;-1:-1:-1;;;;;;58823:16:0::1;-1:-1:-1::0;;;;;58823:16:0;;;::::1;::::0;;;::::1;::::0;;58748:99::o;54503:131::-;55698:5;;-1:-1:-1;;;;;55698:5:0;55707:10;55698:19;55690:55;;;;-1:-1:-1;;;55690:55:0;;;;;;;:::i;:::-;54585:15:::1;:41:::0;;-1:-1:-1;;;;;;54585:41:0::1;-1:-1:-1::0;;;;;54585:41:0;;;::::1;::::0;;;::::1;::::0;;54503:131::o;27362:305::-;27464:4;-1:-1:-1;;;;;;27501:40:0;;-1:-1:-1;;;27501:40:0;;:105;;-1:-1:-1;;;;;;;27558:48:0;;-1:-1:-1;;;27558:48:0;27501:105;:158;;;-1:-1:-1;;;;;;;;;;19167:40:0;;;27623:36;19058:157;28001:239;28073:7;28109:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28109:16:0;28144:19;28136:73;;;;-1:-1:-1;;;28136:73:0;;17549:2:1;28136:73:0;;;17531:21:1;17588:2;17568:18;;;17561:30;17627:34;17607:18;;;17600:62;-1:-1:-1;;;17678:18:1;;;17671:39;17727:19;;28136:73:0;17347:405:1;37102:174:0;37177:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;37177:29:0;-1:-1:-1;;;;;37177:29:0;;;;;;;;:24;;37231:23;37177:24;37231:14;:23::i;:::-;-1:-1:-1;;;;;37222:46:0;;;;;;;;;;;37102:174;;:::o;33414:348::-;33507:4;33209:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33209:16:0;33524:73;;;;-1:-1:-1;;;33524:73:0;;17959:2:1;33524:73:0;;;17941:21:1;17998:2;17978:18;;;17971:30;18037:34;18017:18;;;18010:62;-1:-1:-1;;;18088:18:1;;;18081:42;18140:19;;33524:73:0;17757:408:1;33524:73:0;33608:13;33624:23;33639:7;33624:14;:23::i;:::-;33608:39;;33677:5;-1:-1:-1;;;;;33666:16:0;:7;-1:-1:-1;;;;;33666:16:0;;:51;;;;33710:7;-1:-1:-1;;;;;33686:31:0;:20;33698:7;33686:11;:20::i;:::-;-1:-1:-1;;;;;33686:31:0;;33666:51;:87;;;-1:-1:-1;;;;;;30506:25:0;;;30482:4;30506:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;33721:32;33658:96;33414:348;-1:-1:-1;;;;33414:348:0:o;36406:578::-;36565:4;-1:-1:-1;;;;;36538:31:0;:23;36553:7;36538:14;:23::i;:::-;-1:-1:-1;;;;;36538:31:0;;36530:85;;;;-1:-1:-1;;;36530:85:0;;18372:2:1;36530:85:0;;;18354:21:1;18411:2;18391:18;;;18384:30;18450:34;18430:18;;;18423:62;-1:-1:-1;;;18501:18:1;;;18494:39;18550:19;;36530:85:0;18170:405:1;36530:85:0;-1:-1:-1;;;;;36634:16:0;;36626:65;;;;-1:-1:-1;;;36626:65:0;;18782:2:1;36626:65:0;;;18764:21:1;18821:2;18801:18;;;18794:30;18860:34;18840:18;;;18833:62;-1:-1:-1;;;18911:18:1;;;18904:34;18955:19;;36626:65:0;18580:400:1;36626:65:0;36704:39;36725:4;36731:2;36735:7;36704:20;:39::i;:::-;36808:29;36825:1;36829:7;36808:8;:29::i;:::-;-1:-1:-1;;;;;36850:15:0;;;;;;:9;:15;;;;;:20;;36869:1;;36850:15;:20;;36869:1;;36850:20;:::i;:::-;;;;-1:-1:-1;;;;;;;36881:13:0;;;;;;:9;:13;;;;;:18;;36898:1;;36881:13;:18;;36898:1;;36881:18;:::i;:::-;;;;-1:-1:-1;;36910:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36910:21:0;-1:-1:-1;;;;;36910:21:0;;;;;;;;;36949:27;;36910:16;;36949:27;;;;;;;36406:578;;;:::o;41121:256::-;41218:7;41254:23;41271:5;41254:16;:23::i;:::-;41246:5;:31;41238:87;;;;-1:-1:-1;;;41238:87:0;;19187:2:1;41238:87:0;;;19169:21:1;19226:2;19206:18;;;19199:30;19265:34;19245:18;;;19238:62;-1:-1:-1;;;19316:18:1;;;19309:41;19367:19;;41238:87:0;18985:407:1;41238:87:0;-1:-1:-1;;;;;;41343:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;41121:256::o;7708:118::-;6979:7;;;;7233:9;7225:38;;;;-1:-1:-1;;;7225:38:0;;12555:2:1;7225:38:0;;;12537:21:1;12594:2;12574:18;;;12567:30;-1:-1:-1;;;12613:18:1;;;12606:46;12669:18;;7225:38:0;12353:340:1;7225:38:0;7768:7:::1;:14:::0;;-1:-1:-1;;7768:14:0::1;7778:4;7768:14;::::0;;7798:20:::1;7805:12;5642:10:::0;;5562:98;7805:12:::1;7798:20;::::0;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;7798:20:0::1;;;;;;;7708:118::o:0;27731:208::-;27803:7;-1:-1:-1;;;;;27831:19:0;;27823:74;;;;-1:-1:-1;;;27823:74:0;;19599:2:1;27823:74:0;;;19581:21:1;19638:2;19618:18;;;19611:30;19677:34;19657:18;;;19650:62;-1:-1:-1;;;19728:18:1;;;19721:40;19778:19;;27823:74:0;19397:406:1;27823:74:0;-1:-1:-1;;;;;;27915:16:0;;;;;:9;:16;;;;;;;27731:208::o;7967:120::-;6979:7;;;;7503:41;;;;-1:-1:-1;;;7503:41:0;;20010:2:1;7503:41:0;;;19992:21:1;20049:2;20029:18;;;20022:30;-1:-1:-1;;;20068:18:1;;;20061:50;20128:18;;7503:41:0;19808:344:1;7503:41:0;8026:7:::1;:15:::0;;-1:-1:-1;;8026:15:0::1;::::0;;8057:22:::1;5642:10:::0;8066:12:::1;5562:98:::0;53175:189;53341:12;;53260:94;;-1:-1:-1;;53277:10:0;20418:2:1;20414:15;20410:53;53260:94:0;;;20398:66:1;53289:15:0;20480:12:1;;;20473:28;;;53306:16:0;20517:12:1;;;20510:28;20554:12;;;20547:28;20591:13;;;20584:29;;;;53215:7:0;;20629:13:1;;53260:94:0;;;;;;;;;;;;53250:105;;;;;;53242:114;;53235:121;;53175:189;:::o;52963:174::-;53054:7;53110:4;53116:3;53121:5;53099:28;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;53099:28:0;;;;;;;;;53089:39;;53099:28;53089:39;;;;;52963:174;-1:-1:-1;;;;52963:174:0:o;35098:382::-;-1:-1:-1;;;;;35178:16:0;;35170:61;;;;-1:-1:-1;;;35170:61:0;;21233:2:1;35170:61:0;;;21215:21:1;;;21252:18;;;21245:30;21311:34;21291:18;;;21284:62;21363:18;;35170:61:0;21031:356:1;35170:61:0;33185:4;33209:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33209:16:0;:30;35242:58;;;;-1:-1:-1;;;35242:58:0;;21594:2:1;35242:58:0;;;21576:21:1;21633:2;21613:18;;;21606:30;21672;21652:18;;;21645:58;21720:18;;35242:58:0;21392:352:1;35242:58:0;35313:45;35342:1;35346:2;35350:7;35313:20;:45::i;:::-;-1:-1:-1;;;;;35371:13:0;;;;;;:9;:13;;;;;:18;;35388:1;;35371:13;:18;;35388:1;;35371:18;:::i;:::-;;;;-1:-1:-1;;35400:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35400:21:0;-1:-1:-1;;;;;35400:21:0;;;;;;;;35439:33;;35400:16;;;35439:33;;35400:16;;35439:33;35098:382;;:::o;37418:315::-;37573:8;-1:-1:-1;;;;;37564:17:0;:5;-1:-1:-1;;;;;37564:17:0;;;37556:55;;;;-1:-1:-1;;;37556:55:0;;21951:2:1;37556:55:0;;;21933:21:1;21990:2;21970:18;;;21963:30;22029:27;22009:18;;;22002:55;22074:18;;37556:55:0;21749:349:1;37556:55:0;-1:-1:-1;;;;;37622:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;37622:46:0;;;;;;;;;;37684:41;;540::1;;;37684::0;;513:18:1;37684:41:0;;;;;;;37418:315;;;:::o;32492:::-;32649:28;32659:4;32665:2;32669:7;32649:9;:28::i;:::-;32696:48;32719:4;32725:2;32729:7;32738:5;32696:22;:48::i;:::-;32688:111;;;;-1:-1:-1;;;32688:111:0;;;;;;;:::i;3124:723::-;3180:13;3401:10;3397:53;;-1:-1:-1;;3428:10:0;;;;;;;;;;;;-1:-1:-1;;;3428:10:0;;;;;3124:723::o;3397:53::-;3475:5;3460:12;3516:78;3523:9;;3516:78;;3549:8;;;;:::i;:::-;;-1:-1:-1;3572:10:0;;-1:-1:-1;3580:2:0;3572:10;;:::i;:::-;;;3516:78;;;3604:19;3636:6;3626:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3626:17:0;;3604:39;;3654:154;3661:10;;3654:154;;3688:11;3698:1;3688:11;;:::i;:::-;;-1:-1:-1;3757:10:0;3765:2;3757:5;:10;:::i;:::-;3744:24;;:2;:24;:::i;:::-;3731:39;;3714:6;3721;3714:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3714:56:0;;;;;;;;-1:-1:-1;3785:11:0;3794:2;3785:11;;:::i;:::-;;;3654:154;;42489:589;-1:-1:-1;;;;;42695:18:0;;42691:187;;42730:40;42762:7;43905:10;:17;;43878:24;;;;:15;:24;;;;;:44;;;43933:24;;;;;;;;;;;;43801:164;42730:40;42691:187;;;42800:2;-1:-1:-1;;;;;42792:10:0;:4;-1:-1:-1;;;;;42792:10:0;;42788:90;;42819:47;42852:4;42858:7;42819:32;:47::i;:::-;-1:-1:-1;;;;;42892:16:0;;42888:183;;42925:45;42962:7;42925:36;:45::i;42888:183::-;42998:4;-1:-1:-1;;;;;42992:10:0;:2;-1:-1:-1;;;;;42992:10:0;;42988:83;;43019:40;43047:2;43051:7;43019:27;:40::i;38298:799::-;38453:4;-1:-1:-1;;;;;38474:13:0;;9237:20;9285:8;38470:620;;38510:72;;-1:-1:-1;;;38510:72:0;;-1:-1:-1;;;;;38510:36:0;;;;;:72;;5642:10;;38561:4;;38567:7;;38576:5;;38510:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38510:72:0;;;;;;;;-1:-1:-1;;38510:72:0;;;;;;;;;;;;:::i;:::-;;;38506:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38752:13:0;;38748:272;;38795:60;;-1:-1:-1;;;38795:60:0;;;;;;;:::i;38748:272::-;38970:6;38964:13;38955:6;38951:2;38947:15;38940:38;38506:529;-1:-1:-1;;;;;;38633:51:0;-1:-1:-1;;;38633:51:0;;-1:-1:-1;38626:58:0;;38470:620;-1:-1:-1;39074:4:0;38298:799;;;;;;:::o;44592:988::-;44858:22;44908:1;44883:22;44900:4;44883:16;:22::i;:::-;:26;;;;:::i;:::-;44920:18;44941:26;;;:17;:26;;;;;;44858:51;;-1:-1:-1;45074:28:0;;;45070:328;;-1:-1:-1;;;;;45141:18:0;;45119:19;45141:18;;;:12;:18;;;;;;;;:34;;;;;;;;;45192:30;;;;;;:44;;;45309:30;;:17;:30;;;;;:43;;;45070:328;-1:-1:-1;45494:26:0;;;;:17;:26;;;;;;;;45487:33;;;-1:-1:-1;;;;;45538:18:0;;;;;:12;:18;;;;;:34;;;;;;;45531:41;44592:988::o;45875:1079::-;46153:10;:17;46128:22;;46153:21;;46173:1;;46153:21;:::i;:::-;46185:18;46206:24;;;:15;:24;;;;;;46579:10;:26;;46128:46;;-1:-1:-1;46206:24:0;;46128:46;;46579:26;;;;;;:::i;:::-;;;;;;;;;46557:48;;46643:11;46618:10;46629;46618:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;46723:28;;;:15;:28;;;;;;;:41;;;46895:24;;;;;46888:31;46930:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45946:1008;;;45875:1079;:::o;43379:221::-;43464:14;43481:20;43498:2;43481:16;:20::i;:::-;-1:-1:-1;;;;;43512:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;43557:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;43379:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:131::-;-1:-1:-1;;;;;1833:31:1;;1823:42;;1813:70;;1879:1;1876;1869:12;1894:315;1962:6;1970;2023:2;2011:9;2002:7;1998:23;1994:32;1991:52;;;2039:1;2036;2029:12;1991:52;2078:9;2065:23;2097:31;2122:5;2097:31;:::i;:::-;2147:5;2199:2;2184:18;;;;2171:32;;-1:-1:-1;;;1894:315:1:o;2396:456::-;2473:6;2481;2489;2542:2;2530:9;2521:7;2517:23;2513:32;2510:52;;;2558:1;2555;2548:12;2510:52;2597:9;2584:23;2616:31;2641:5;2616:31;:::i;:::-;2666:5;-1:-1:-1;2723:2:1;2708:18;;2695:32;2736:33;2695:32;2736:33;:::i;:::-;2396:456;;2788:7;;-1:-1:-1;;;2842:2:1;2827:18;;;;2814:32;;2396:456::o;2857:127::-;2918:10;2913:3;2909:20;2906:1;2899:31;2949:4;2946:1;2939:15;2973:4;2970:1;2963:15;2989:632;3054:5;3084:18;3125:2;3117:6;3114:14;3111:40;;;3131:18;;:::i;:::-;3206:2;3200:9;3174:2;3260:15;;-1:-1:-1;;3256:24:1;;;3282:2;3252:33;3248:42;3236:55;;;3306:18;;;3326:22;;;3303:46;3300:72;;;3352:18;;:::i;:::-;3392:10;3388:2;3381:22;3421:6;3412:15;;3451:6;3443;3436:22;3491:3;3482:6;3477:3;3473:16;3470:25;3467:45;;;3508:1;3505;3498:12;3467:45;3558:6;3553:3;3546:4;3538:6;3534:17;3521:44;3613:1;3606:4;3597:6;3589;3585:19;3581:30;3574:41;;;;2989:632;;;;;:::o;3626:451::-;3695:6;3748:2;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3804:9;3791:23;3837:18;3829:6;3826:30;3823:50;;;3869:1;3866;3859:12;3823:50;3892:22;;3945:4;3937:13;;3933:27;-1:-1:-1;3923:55:1;;3974:1;3971;3964:12;3923:55;3997:74;4063:7;4058:2;4045:16;4040:2;4036;4032:11;3997:74;:::i;4082:247::-;4141:6;4194:2;4182:9;4173:7;4169:23;4165:32;4162:52;;;4210:1;4207;4200:12;4162:52;4249:9;4236:23;4268:31;4293:5;4268:31;:::i;4334:632::-;4505:2;4557:21;;;4627:13;;4530:18;;;4649:22;;;4476:4;;4505:2;4728:15;;;;4702:2;4687:18;;;4476:4;4771:169;4785:6;4782:1;4779:13;4771:169;;;4846:13;;4834:26;;4915:15;;;;4880:12;;;;4807:1;4800:9;4771:169;;;-1:-1:-1;4957:3:1;;4334:632;-1:-1:-1;;;;;;4334:632:1:o;5193:416::-;5258:6;5266;5319:2;5307:9;5298:7;5294:23;5290:32;5287:52;;;5335:1;5332;5325:12;5287:52;5374:9;5361:23;5393:31;5418:5;5393:31;:::i;:::-;5443:5;-1:-1:-1;5500:2:1;5485:18;;5472:32;5542:15;;5535:23;5523:36;;5513:64;;5573:1;5570;5563:12;5513:64;5596:7;5586:17;;;5193:416;;;;;:::o;5614:795::-;5709:6;5717;5725;5733;5786:3;5774:9;5765:7;5761:23;5757:33;5754:53;;;5803:1;5800;5793:12;5754:53;5842:9;5829:23;5861:31;5886:5;5861:31;:::i;:::-;5911:5;-1:-1:-1;5968:2:1;5953:18;;5940:32;5981:33;5940:32;5981:33;:::i;:::-;6033:7;-1:-1:-1;6087:2:1;6072:18;;6059:32;;-1:-1:-1;6142:2:1;6127:18;;6114:32;6169:18;6158:30;;6155:50;;;6201:1;6198;6191:12;6155:50;6224:22;;6277:4;6269:13;;6265:27;-1:-1:-1;6255:55:1;;6306:1;6303;6296:12;6255:55;6329:74;6395:7;6390:2;6377:16;6372:2;6368;6364:11;6329:74;:::i;:::-;6319:84;;;5614:795;;;;;;;:::o;6414:388::-;6482:6;6490;6543:2;6531:9;6522:7;6518:23;6514:32;6511:52;;;6559:1;6556;6549:12;6511:52;6598:9;6585:23;6617:31;6642:5;6617:31;:::i;:::-;6667:5;-1:-1:-1;6724:2:1;6709:18;;6696:32;6737:33;6696:32;6737:33;:::i;7032:380::-;7111:1;7107:12;;;;7154;;;7175:61;;7229:4;7221:6;7217:17;7207:27;;7175:61;7282:2;7274:6;7271:14;7251:18;7248:38;7245:161;;;7328:10;7323:3;7319:20;7316:1;7309:31;7363:4;7360:1;7353:15;7391:4;7388:1;7381:15;7245:161;;7032:380;;;:::o;8657:127::-;8718:10;8713:3;8709:20;8706:1;8699:31;8749:4;8746:1;8739:15;8773:4;8770:1;8763:15;8789:125;8829:4;8857:1;8854;8851:8;8848:34;;;8862:18;;:::i;:::-;-1:-1:-1;8899:9:1;;8789:125::o;8919:127::-;8980:10;8975:3;8971:20;8968:1;8961:31;9011:4;9008:1;9001:15;9035:4;9032:1;9025:15;9051:120;9091:1;9117;9107:35;;9122:18;;:::i;:::-;-1:-1:-1;9156:9:1;;9051:120::o;9176:128::-;9216:3;9247:1;9243:6;9240:1;9237:13;9234:39;;;9253:18;;:::i;:::-;-1:-1:-1;9289:9:1;;9176:128::o;9309:168::-;9349:7;9415:1;9411;9407:6;9403:14;9400:1;9397:21;9392:1;9385:9;9378:17;9374:45;9371:71;;;9422:18;;:::i;:::-;-1:-1:-1;9462:9:1;;9309:168::o;9482:413::-;9684:2;9666:21;;;9723:2;9703:18;;;9696:30;9762:34;9757:2;9742:18;;9735:62;-1:-1:-1;;;9828:2:1;9813:18;;9806:47;9885:3;9870:19;;9482:413::o;9900:354::-;10102:2;10084:21;;;10141:2;10121:18;;;10114:30;10180:32;10175:2;10160:18;;10153:60;10245:2;10230:18;;9900:354::o;10259:347::-;10461:2;10443:21;;;10500:2;10480:18;;;10473:30;10539:25;10534:2;10519:18;;10512:53;10597:2;10582:18;;10259:347::o;10611:127::-;10672:10;10667:3;10663:20;10660:1;10653:31;10703:4;10700:1;10693:15;10727:4;10724:1;10717:15;10743:135;10782:3;-1:-1:-1;;10803:17:1;;10800:43;;;10823:18;;:::i;:::-;-1:-1:-1;10870:1:1;10859:13;;10743:135::o;14503:112::-;14535:1;14561;14551:35;;14566:18;;:::i;:::-;-1:-1:-1;14600:9:1;;14503:112::o;14620:251::-;14690:6;14743:2;14731:9;14722:7;14718:23;14714:32;14711:52;;;14759:1;14756;14749:12;14711:52;14791:9;14785:16;14810:31;14835:5;14810:31;:::i;15978:185::-;16020:3;16058:5;16052:12;16073:52;16118:6;16113:3;16106:4;16099:5;16095:16;16073:52;:::i;:::-;16141:16;;;;;15978:185;-1:-1:-1;;15978:185:1:o;16168:1174::-;16344:3;16373:1;16406:6;16400:13;16436:3;16458:1;16486:9;16482:2;16478:18;16468:28;;16546:2;16535:9;16531:18;16568;16558:61;;16612:4;16604:6;16600:17;16590:27;;16558:61;16638:2;16686;16678:6;16675:14;16655:18;16652:38;16649:165;;;-1:-1:-1;;;16713:33:1;;16769:4;16766:1;16759:15;16799:4;16720:3;16787:17;16649:165;16830:18;16857:104;;;;16975:1;16970:320;;;;16823:467;;16857:104;-1:-1:-1;;16890:24:1;;16878:37;;16935:16;;;;-1:-1:-1;16857:104:1;;16970:320;15925:1;15918:14;;;15962:4;15949:18;;17065:1;17079:165;17093:6;17090:1;17087:13;17079:165;;;17171:14;;17158:11;;;17151:35;17214:16;;;;17108:10;;17079:165;;;17083:3;;17273:6;17268:3;17264:16;17257:23;;16823:467;;;;;;;17306:30;17332:3;17324:6;17306:30;:::i;:::-;17299:37;16168:1174;-1:-1:-1;;;;;16168:1174:1:o;20653:373::-;20858:6;20847:9;20840:25;20901:2;20896;20885:9;20881:18;20874:30;20821:4;20921:56;20973:2;20962:9;20958:18;20950:6;20921:56;:::i;:::-;20913:64;;21013:6;21008:2;20997:9;20993:18;20986:34;20653:373;;;;;;:::o;22103:414::-;22305:2;22287:21;;;22344:2;22324:18;;;22317:30;22383:34;22378:2;22363:18;;22356:62;-1:-1:-1;;;22449:2:1;22434:18;;22427:48;22507:3;22492:19;;22103:414::o;22522:500::-;-1:-1:-1;;;;;22791:15:1;;;22773:34;;22843:15;;22838:2;22823:18;;22816:43;22890:2;22875:18;;22868:34;;;22938:3;22933:2;22918:18;;22911:31;;;22716:4;;22959:57;;22996:19;;22988:6;22959:57;:::i;:::-;22951:65;22522:500;-1:-1:-1;;;;;;22522:500:1:o;23027:249::-;23096:6;23149:2;23137:9;23128:7;23124:23;23120:32;23117:52;;;23165:1;23162;23155:12;23117:52;23197:9;23191:16;23216:30;23240:5;23216:30;:::i;23281:127::-;23342:10;23337:3;23333:20;23330:1;23323:31;23373:4;23370:1;23363:15;23397:4;23394:1;23387:15

Swarm Source

ipfs://da13d3580fa14f189197075f3303cc64cc34fe6dc8c5e54848cc8caf30ac3d27
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.