ETH Price: $2,512.02 (+12.93%)
 

Overview

Max Total Supply

57 EK

Holders

16

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
clowncrypto.eth
Balance
5 EK
0xb41543a7eda98ad6832bd38910cbcce2cbdb7518
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:
EthereumKnights

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-25
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/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



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/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



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



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



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



pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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



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



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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

// File: EthKnight.sol

pragma solidity ^0.8.0;



library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

contract Etheria {
    function stakeNFT(address tokenOwner,uint256 tokenId) public {}
    function unstakeNFT(address tokenOwner, uint256 tokenId) public {}
    function ownerOfStakedToken(uint256 tokenId) public view returns(address){}
    function claimStakeReward(address addr) public {}
}


contract EthereumKnights is ERC721 {
    
    using SafeMath for uint256;
    uint256 _totalSupply = 0;
    uint256 _maxSupply = 8888;
    uint256 mintPrice = 0.08 ether;
    uint256 presalePrice = 0.06 ether;
    uint256 mintCap = 20;
    
    bool saleOpen = false;
    bool presaleOpen = false;
    bool stakingOpen = false;
    
    
    string baseURI;
    
    mapping (address=>uint256) T1Mints;
    mapping (address=>uint256) T2Mints;
    mapping (address=>uint256) mints;
    
    mapping(uint256=>string) knightsNames;
    
    
    address T1signerAddress = 0x8F58d3a39253e86159835Ee960046c0dA5C37d6f;
    address T2signerAddress = 0x7c65F6c3be1433802C4E203EE6D4F0e2D916F875;
    
    Etheria stakingContract;
    
    address owner;

    event StakedNFT(address owner, uint256 tokenId);
  
    
    constructor() ERC721("EthereumKnights","EK") {
        owner = msg.sender;
    }
    
    modifier onlyOwner() {
        require(msg.sender == owner,'Owner only function');
        _;
    }

    function setMintPrice(uint256 price) public onlyOwner {
        mintPrice = price;
    }
    
    
    function totalSupply() public view returns(uint256){
        return _totalSupply;
    }
    
    function maxSupply() public view returns(uint256){
        return _maxSupply;
    }
    
    function flipSaleState() public onlyOwner {
        saleOpen = !saleOpen;
    }
    
    function flipPresaleState() public onlyOwner {
        presaleOpen = !presaleOpen;
    }

    function flipStakingState() public onlyOwner {
        stakingOpen = !stakingOpen;
    }
    
    function saleState() public view returns (bool){
        return saleOpen;
    }
    
    function presaleState() public view returns(bool) {
        return presaleOpen;
    }
   
    function reserveTokens(address _to, uint256 amount) public onlyOwner {
        require(_totalSupply + amount <= _maxSupply,"Supply Capped");
        for (uint i = 0; i < amount; i++) {
            _totalSupply += 1;
            _safeMint(_to, _totalSupply);
        }
    }
    
    function setStakingContractAddress(address stakingAddr) public onlyOwner {
        stakingContract = Etheria(stakingAddr);
    }
    
    function getStakingContractAddress() public view returns(address) {
        return address(stakingContract);
    }
    
    function claimStakeReward() public {
        require(stakingOpen,"Staking Not Available!");
        stakingContract.claimStakeReward(msg.sender);
    }
    
    function stakeToken(uint256 tokenId) public {
        require(stakingOpen,"Staking Not Available!");
        require(ownerOf(tokenId) == msg.sender,"Not Owner of Token Id!");
        approve(address(stakingContract),tokenId);
        transferFrom(msg.sender,address(stakingContract),tokenId);
        stakingContract.stakeNFT(msg.sender,tokenId);
    }
    
    function unstakeToken(uint256 tokenId) public {
        require(stakingOpen,"Staking Not Available!");
        require(stakingContract.ownerOfStakedToken(tokenId) == msg.sender,"You don't own staked NFT!");
        stakingContract.unstakeNFT(msg.sender,tokenId);
    }
    
    
    
    function setMintCap(uint256 amount) public onlyOwner {
        mintCap = amount;
    }
    
    function setKnightName(uint256 tokenId, string memory name) public {
        require(tokenId <= _totalSupply && tokenId > 0,"Invalid tokenId");
        address knightOwner = ownerOf(tokenId);
        require(address(msg.sender) == knightOwner,"Not the owner.");
        knightsNames[tokenId] = name;
    }
    
    function getKnightName(uint256 tokenId) public view returns(string memory){
        return knightsNames[tokenId];
    }
   
    function mint(uint256 amount) public payable {
        require(saleOpen, 'Sale not open');
        require(mints[msg.sender] + amount <= mintCap,'No minting more than the cap available');
        require(_totalSupply + amount <= _maxSupply,'Exceeds maximum available tokens');
        require(amount > 0,'Invalid amount specified');
        require(msg.value >= (mintPrice * amount),'Invalid Price Given');
        
        for(uint256 i = 0; i < amount; i++){
            _totalSupply += 1;
            mints[msg.sender] += 1;
            _safeMint(msg.sender, _totalSupply);
        }
    }
    
    
    function mintPresale(uint256 amount, uint8 _v, bytes32 _r, bytes32 _s) public payable {
        require(presaleOpen,'Presale not open!');
        require(_totalSupply + amount <= _maxSupply,'Sold out!');
        require(amount > 0, 'Invalid amount specified');
        require(msg.value >= (presalePrice * amount),'Invalid Price Given');
        
        address signer = verifySignature(address(msg.sender),_v,_r,_s);
        
        require(signer == T1signerAddress || signer == T2signerAddress,'Not eligible for presale');
        
        if(signer == T1signerAddress){
            require(T1Mints[msg.sender] < 5, 'Capped at presale minting.');
            require(T1Mints[msg.sender] + amount <= 5,'T1 Can only mint 5');
 
            for(uint256 i = 0; i < amount; i++){
                _totalSupply += 1;
                mints[msg.sender] += 1;
                T1Mints[msg.sender] += 1;
                _safeMint(msg.sender, _totalSupply);
            }
        }
        else if(signer == T2signerAddress){
            require(T2Mints[msg.sender] < 10, 'Capped at presale minting');
            require(T2Mints[msg.sender] + amount <= 10,'T2 Can only mint 10');
            
            for(uint i; i < amount;i++){
                _totalSupply += 1;
                T2Mints[msg.sender] += 1;
                mints[msg.sender] += 1;
                _safeMint(msg.sender,_totalSupply);
            }
        }
    }


    function setBaseURI(string memory __baseURI) external onlyOwner {
        baseURI = __baseURI;
    }
    
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    
    
    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
    
    function isWhitelisted(uint8 _v, bytes32 _r, bytes32 _s) public view returns(bool){
        address signer = verifySignature(msg.sender,_v,_r,_s);
        return signer == T1signerAddress || signer == T2signerAddress;
    }

    function isT2Whitelist(uint8 _v, bytes32 _r, bytes32 _s) public view returns(bool){
        address signer = verifySignature(msg.sender,_v,_r,_s);
        return signer == T2signerAddress;
    }
    
    
    function verifySignature(address add,uint8 _v,bytes32 _r, bytes32 _s) internal pure returns(address) {
        bytes32 hash = keccak256(abi.encodePacked(add));
        address signer = ECDSA.recover(hash,_v,_r,_s);
        return signer;
    }
    
    function verifySignature2(bytes32 hash, uint8 _v,bytes32 _r, bytes32 _s) internal pure returns(address) {
        address signer = ECDSA.recover(hash,_v,_r,_s);
        return signer;
    }

    function getTokenIdsByOwner(address owner) public view returns(uint256[] memory tokenIds){
        uint256 balance = balanceOf(owner);
        uint256[] memory tokenIds = new uint256[](balance);
        uint index = 0;
        for(uint i = 1; i <= _totalSupply; i++){
            if(ownerOf(i) == owner){
                tokenIds[index] = i;
                index++;
            }
        }
        return tokenIds;
    }
    
    
}

Contract Security Audit

Contract ABI

API
[{"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":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"StakedNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimStakeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipStakingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getKnightName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokenIdsByOwner","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"isT2Whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","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":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint8","name":"_v","type":"uint8"},{"internalType":"bytes32","name":"_r","type":"bytes32"},{"internalType":"bytes32","name":"_s","type":"bytes32"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"presaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setKnightName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddr","type":"address"}],"name":"setStakingContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"uint256","name":"tokenId","type":"uint256"}],"name":"unstakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006006556122b860075567011c37937e08000060085566d529ae9e8600006009556014600a55600b805462ffffff19169055601180546001600160a01b0319908116738f58d3a39253e86159835ee960046c0da5c37d6f1790915560128054909116737c65f6c3be1433802c4e203ee6d4f0e2d916f8751790553480156200008c57600080fd5b50604080518082018252600f81526e457468657265756d4b6e696768747360881b602080830191825283518085019094526002845261454b60f01b908401528151919291620000de916000916200010f565b508051620000f49060019060208401906200010f565b5050601480546001600160a01b0319163317905550620001f2565b8280546200011d90620001b5565b90600052602060002090601f0160209004810192826200014157600085556200018c565b82601f106200015c57805160ff19168380011785556200018c565b828001600101855582156200018c579182015b828111156200018c5782518255916020019190600101906200016f565b506200019a9291506200019e565b5090565b5b808211156200019a57600081556001016200019f565b600181811c90821680620001ca57607f821691505b60208210811415620001ec57634e487b7160e01b600052602260045260246000fd5b50919050565b612d2f80620002026000396000f3fe60806040526004361061021a5760003560e01c80636352211e11610123578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610609578063d9d3e39b1461061e578063e985e9c514610633578063f4a0a5281461067c578063f81227d41461069c57600080fd5b8063b88d4fde14610576578063c87b56dd14610596578063cda6b847146105b6578063cf388e9e146105d6578063d0947925146105e957600080fd5b806378cf19e9116100f257806378cf19e9146104f957806395d89b41146105195780639fd3af8b1461052e578063a0712d6814610543578063a22cb4651461055657600080fd5b80636352211e1461046e5780636970bb0a1461048e5780636afe5795146104bb57806370a08231146104d957600080fd5b80632cfb6688116101a65780634070a0c9116101755780634070a0c9146103d657806342842e0e146103f65780634fadb7131461041657806355f804b314610436578063603f4d521461045657600080fd5b80632cfb66881461036c5780633268d0811461038c57806334918dfd146103ac5780633ccfd60b146103c157600080fd5b80630d0c31b7116101ed5780630d0c31b7146102d05780630f5cf22f146102ed57806318160ddd1461030d5780631c1f8aa31461032c57806323b872dd1461034c57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a36600461283c565b6106b1565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610703565b60405161024b9190612a55565b34801561028257600080fd5b506102966102913660046128ab565b610795565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004612810565b61082f565b005b3480156102dc57600080fd5b50600b54610100900460ff1661023f565b3480156102f957600080fd5b5061023f610308366004612946565b610945565b34801561031957600080fd5b506006545b60405190815260200161024b565b34801561033857600080fd5b506102ce6103473660046126a9565b610989565b34801561035857600080fd5b506102ce61036736600461271c565b6109d5565b34801561037857600080fd5b506102ce6103873660046128ab565b610a06565b34801561039857600080fd5b5061023f6103a7366004612946565b610b68565b3480156103b857600080fd5b506102ce610b91565b3480156103cd57600080fd5b506102ce610bcf565b3480156103e257600080fd5b506102ce6103f13660046128ab565b610c2c565b34801561040257600080fd5b506102ce61041136600461271c565b610c5b565b34801561042257600080fd5b506102ce6104313660046128c4565b610c76565b34801561044257600080fd5b506102ce610451366004612876565b610d41565b34801561046257600080fd5b50600b5460ff1661023f565b34801561047a57600080fd5b506102966104893660046128ab565b610d7e565b34801561049a57600080fd5b506104ae6104a93660046126a9565b610df5565b60405161024b9190612a11565b3480156104c757600080fd5b506013546001600160a01b0316610296565b3480156104e557600080fd5b5061031e6104f43660046126a9565b610ec3565b34801561050557600080fd5b506102ce610514366004612810565b610f4a565b34801561052557600080fd5b50610269611006565b34801561053a57600080fd5b506102ce611015565b6102ce6105513660046128ab565b611096565b34801561056257600080fd5b506102ce6105713660046127dd565b6112b8565b34801561058257600080fd5b506102ce61059136600461275d565b61137d565b3480156105a257600080fd5b506102696105b13660046128ab565b6113af565b3480156105c257600080fd5b506102ce6105d13660046128ab565b61148a565b6102ce6105e436600461290b565b611570565b3480156105f557600080fd5b506102696106043660046128ab565b6119ff565b34801561061557600080fd5b5060075461031e565b34801561062a57600080fd5b506102ce611aa1565b34801561063f57600080fd5b5061023f61064e3660046126e3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561068857600080fd5b506102ce6106973660046128ab565b611aea565b3480156106a857600080fd5b506102ce611b19565b60006001600160e01b031982166380ac58cd60e01b14806106e257506001600160e01b03198216635b5e139f60e01b145b806106fd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461071290612bf6565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90612bf6565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061083a82610d7e565b9050806001600160a01b0316836001600160a01b031614156108a85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161080a565b336001600160a01b03821614806108c457506108c4813361064e565b6109365760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161080a565b6109408383611b60565b505050565b60008061095433868686611bce565b6011549091506001600160a01b038083169116148061098057506012546001600160a01b038281169116145b95945050505050565b6014546001600160a01b031633146109b35760405162461bcd60e51b815260040161080a90612a68565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6109df3382611c25565b6109fb5760405162461bcd60e51b815260040161080a90612b17565b610940838383611d18565b600b5462010000900460ff16610a2e5760405162461bcd60e51b815260040161080a90612ae7565b601354604051631c5aff0160e11b81526004810183905233916001600160a01b0316906338b5fe029060240160206040518083038186803b158015610a7257600080fd5b505afa158015610a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaa91906126c6565b6001600160a01b031614610b005760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206f776e207374616b6564204e46542100000000000000604482015260640161080a565b601354604051639c1c97d760e01b8152336004820152602481018390526001600160a01b0390911690639c1c97d7906044015b600060405180830381600087803b158015610b4d57600080fd5b505af1158015610b61573d6000803e3d6000fd5b5050505050565b600080610b7733868686611bce565b6012546001600160a01b0390811691161495945050505050565b6014546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161080a90612a68565b600b805460ff19811660ff90911615179055565b6014546001600160a01b03163314610bf95760405162461bcd60e51b815260040161080a90612a68565b6040514790339082156108fc029083906000818181858888f19350505050158015610c28573d6000803e3d6000fd5b5050565b6014546001600160a01b03163314610c565760405162461bcd60e51b815260040161080a90612a68565b600a55565b6109408383836040518060200160405280600081525061137d565b6006548211158015610c885750600082115b610cc65760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b604482015260640161080a565b6000610cd183610d7e565b9050336001600160a01b03821614610d1c5760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329037bbb732b91760911b604482015260640161080a565b60008381526010602090815260409091208351610d3b92850190612564565b50505050565b6014546001600160a01b03163314610d6b5760405162461bcd60e51b815260040161080a90612a68565b8051610c2890600c906020840190612564565b6000818152600260205260408120546001600160a01b0316806106fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161080a565b60606000610e0283610ec3565b905060008167ffffffffffffffff811115610e1f57610e1f612cb8565b604051908082528060200260200182016040528015610e48578160200160208202803683370190505b509050600060015b6006548111610eb957856001600160a01b0316610e6c82610d7e565b6001600160a01b03161415610ea75780838381518110610e8e57610e8e612ca2565b602090810291909101015281610ea381612c31565b9250505b80610eb181612c31565b915050610e50565b5090949350505050565b60006001600160a01b038216610f2e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161080a565b506001600160a01b031660009081526003602052604090205490565b6014546001600160a01b03163314610f745760405162461bcd60e51b815260040161080a90612a68565b60075481600654610f859190612b68565b1115610fc35760405162461bcd60e51b815260206004820152600d60248201526c14dd5c1c1b1e4810d85c1c1959609a1b604482015260640161080a565b60005b8181101561094057600160066000828254610fe19190612b68565b92505081905550610ff483600654611eb8565b80610ffe81612c31565b915050610fc6565b60606001805461071290612bf6565b600b5462010000900460ff1661103d5760405162461bcd60e51b815260040161080a90612ae7565b6013546040516340a9658b60e11b81523360048201526001600160a01b0390911690638152cb1690602401600060405180830381600087803b15801561108257600080fd5b505af1158015610d3b573d6000803e3d6000fd5b600b5460ff166110d85760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b604482015260640161080a565b600a54336000908152600f60205260409020546110f6908390612b68565b11156111535760405162461bcd60e51b815260206004820152602660248201527f4e6f206d696e74696e67206d6f7265207468616e207468652063617020617661604482015265696c61626c6560d01b606482015260840161080a565b600754816006546111649190612b68565b11156111b25760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d20617661696c61626c6520746f6b656e73604482015260640161080a565b600081116111fd5760405162461bcd60e51b8152602060048201526018602482015277125b9d985b1a5908185b5bdd5b9d081cdc1958da599a595960421b604482015260640161080a565b8060085461120b9190612b94565b3410156112505760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b210283934b1b29023b4bb32b760691b604482015260640161080a565b60005b81811015610c285760016006600082825461126e9190612b68565b9091555050336000908152600f60205260408120805460019290611293908490612b68565b925050819055506112a633600654611eb8565b806112b081612c31565b915050611253565b6001600160a01b0382163314156113115760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161080a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113873383611c25565b6113a35760405162461bcd60e51b815260040161080a90612b17565b610d3b84848484611ed2565b6000818152600260205260409020546060906001600160a01b031661142e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161080a565b6000611438611f05565b905060008151116114585760405180602001604052806000815250611483565b8061146284611f14565b6040516020016114739291906129a5565b6040516020818303038152906040525b9392505050565b600b5462010000900460ff166114b25760405162461bcd60e51b815260040161080a90612ae7565b336114bc82610d7e565b6001600160a01b03161461150b5760405162461bcd60e51b81526020600482015260166024820152754e6f74204f776e6572206f6620546f6b656e2049642160501b604482015260640161080a565b601354611521906001600160a01b03168261082f565b6013546115399033906001600160a01b0316836109d5565b60135460405163b13270d560e01b8152336004820152602481018390526001600160a01b039091169063b13270d590604401610b33565b600b54610100900460ff166115bb5760405162461bcd60e51b815260206004820152601160248201527050726573616c65206e6f74206f70656e2160781b604482015260640161080a565b600754846006546115cc9190612b68565b11156116065760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b604482015260640161080a565b600084116116515760405162461bcd60e51b8152602060048201526018602482015277125b9d985b1a5908185b5bdd5b9d081cdc1958da599a595960421b604482015260640161080a565b8360095461165f9190612b94565b3410156116a45760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b210283934b1b29023b4bb32b760691b604482015260640161080a565b60006116b233858585611bce565b6011549091506001600160a01b03808316911614806116de57506012546001600160a01b038281169116145b61172a5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656c696769626c6520666f722070726573616c650000000000000000604482015260640161080a565b6011546001600160a01b038281169116141561189357336000908152600d602052604090205460051161179f5760405162461bcd60e51b815260206004820152601a60248201527f4361707065642061742070726573616c65206d696e74696e672e000000000000604482015260640161080a565b336000908152600d60205260409020546005906117bd908790612b68565b11156118005760405162461bcd60e51b815260206004820152601260248201527154312043616e206f6e6c79206d696e74203560701b604482015260640161080a565b60005b8581101561188d5760016006600082825461181e9190612b68565b9091555050336000908152600f60205260408120805460019290611843908490612b68565b9091555050336000908152600d60205260408120805460019290611868908490612b68565b9250508190555061187b33600654611eb8565b8061188581612c31565b915050611803565b50610b61565b6012546001600160a01b0382811691161415610b6157336000908152600e6020526040902054600a116119085760405162461bcd60e51b815260206004820152601960248201527f4361707065642061742070726573616c65206d696e74696e6700000000000000604482015260640161080a565b336000908152600e6020526040902054600a90611926908790612b68565b111561196a5760405162461bcd60e51b8152602060048201526013602482015272054322043616e206f6e6c79206d696e7420313606c1b604482015260640161080a565b60005b858110156119f7576001600660008282546119889190612b68565b9091555050336000908152600e602052604081208054600192906119ad908490612b68565b9091555050336000908152600f602052604081208054600192906119d2908490612b68565b925050819055506119e533600654611eb8565b806119ef81612c31565b91505061196d565b505050505050565b6000818152601060205260409020805460609190611a1c90612bf6565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4890612bf6565b8015611a955780601f10611a6a57610100808354040283529160200191611a95565b820191906000526020600020905b815481529060010190602001808311611a7857829003601f168201915b50505050509050919050565b6014546001600160a01b03163314611acb5760405162461bcd60e51b815260040161080a90612a68565b600b805462ff0000198116620100009182900460ff1615909102179055565b6014546001600160a01b03163314611b145760405162461bcd60e51b815260040161080a90612a68565b600855565b6014546001600160a01b03163314611b435760405162461bcd60e51b815260040161080a90612a68565b600b805461ff001981166101009182900460ff1615909102179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9582610d7e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516bffffffffffffffffffffffff19606086901b16602082015260009081906034016040516020818303038152906040528051906020012090506000611c1882878787612012565b925050505b949350505050565b6000818152600260205260408120546001600160a01b0316611c9e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161080a565b6000611ca983610d7e565b9050806001600160a01b0316846001600160a01b03161480611ce45750836001600160a01b0316611cd984610795565b6001600160a01b0316145b80611c1d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611c1d565b826001600160a01b0316611d2b82610d7e565b6001600160a01b031614611d935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161080a565b6001600160a01b038216611df55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161080a565b611e00600082611b60565b6001600160a01b0383166000908152600360205260408120805460019290611e29908490612bb3565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e57908490612b68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610c2882826040518060200160405280600081525061203a565b611edd848484611d18565b611ee98484848461206d565b610d3b5760405162461bcd60e51b815260040161080a90612a95565b6060600c805461071290612bf6565b606081611f385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f625780611f4c81612c31565b9150611f5b9050600a83612b80565b9150611f3c565b60008167ffffffffffffffff811115611f7d57611f7d612cb8565b6040519080825280601f01601f191660200182016040528015611fa7576020820181803683370190505b5090505b8415611c1d57611fbc600183612bb3565b9150611fc9600a86612c4c565b611fd4906030612b68565b60f81b818381518110611fe957611fe9612ca2565b60200101906001600160f81b031916908160001a90535061200b600a86612b80565b9450611fab565b600080600061202387878787612177565b9150915061203081612264565b5095945050505050565b6120448383612422565b612051600084848461206d565b6109405760405162461bcd60e51b815260040161080a90612a95565b60006001600160a01b0384163b1561216f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b19033908990889088906004016129d4565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fb575060408051601f3d908101601f191682019092526120f891810190612859565b60015b612155573d808015612129576040519150601f19603f3d011682016040523d82523d6000602084013e61212e565b606091505b50805161214d5760405162461bcd60e51b815260040161080a90612a95565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c1d565b506001611c1d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156121ae575060009050600361225b565b8460ff16601b141580156121c657508460ff16601c14155b156121d7575060009050600461225b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561222b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166122545760006001925092505061225b565b9150600090505b94509492505050565b600081600481111561227857612278612c8c565b14156122815750565b600181600481111561229557612295612c8c565b14156122e35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161080a565b60028160048111156122f7576122f7612c8c565b14156123455760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080a565b600381600481111561235957612359612c8c565b14156123b25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080a565b60048160048111156123c6576123c6612c8c565b141561241f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080a565b50565b6001600160a01b0382166124785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161080a565b6000818152600260205260409020546001600160a01b0316156124dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161080a565b6001600160a01b0382166000908152600360205260408120805460019290612506908490612b68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461257090612bf6565b90600052602060002090601f01602090048101928261259257600085556125d8565b82601f106125ab57805160ff19168380011785556125d8565b828001600101855582156125d8579182015b828111156125d85782518255916020019190600101906125bd565b506125e49291506125e8565b5090565b5b808211156125e457600081556001016125e9565b600067ffffffffffffffff8084111561261857612618612cb8565b604051601f8501601f19908116603f0116810190828211818310171561264057612640612cb8565b8160405280935085815286868601111561265957600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261268457600080fd5b611483838335602085016125fd565b803560ff811681146126a457600080fd5b919050565b6000602082840312156126bb57600080fd5b813561148381612cce565b6000602082840312156126d857600080fd5b815161148381612cce565b600080604083850312156126f657600080fd5b823561270181612cce565b9150602083013561271181612cce565b809150509250929050565b60008060006060848603121561273157600080fd5b833561273c81612cce565b9250602084013561274c81612cce565b929592945050506040919091013590565b6000806000806080858703121561277357600080fd5b843561277e81612cce565b9350602085013561278e81612cce565b925060408501359150606085013567ffffffffffffffff8111156127b157600080fd5b8501601f810187136127c257600080fd5b6127d1878235602084016125fd565b91505092959194509250565b600080604083850312156127f057600080fd5b82356127fb81612cce565b91506020830135801515811461271157600080fd5b6000806040838503121561282357600080fd5b823561282e81612cce565b946020939093013593505050565b60006020828403121561284e57600080fd5b813561148381612ce3565b60006020828403121561286b57600080fd5b815161148381612ce3565b60006020828403121561288857600080fd5b813567ffffffffffffffff81111561289f57600080fd5b611c1d84828501612673565b6000602082840312156128bd57600080fd5b5035919050565b600080604083850312156128d757600080fd5b82359150602083013567ffffffffffffffff8111156128f557600080fd5b61290185828601612673565b9150509250929050565b6000806000806080858703121561292157600080fd5b8435935061293160208601612693565b93969395505050506040820135916060013590565b60008060006060848603121561295b57600080fd5b61296484612693565b95602085013595506040909401359392505050565b60008151808452612991816020860160208601612bca565b601f01601f19169290920160200192915050565b600083516129b7818460208801612bca565b8351908301906129cb818360208801612bca565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0790830184612979565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a4957835183529284019291840191600101612a2d565b50909695505050505050565b6020815260006114836020830184612979565b60208082526013908201527227bbb732b91037b7363c90333ab731ba34b7b760691b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601690820152755374616b696e67204e6f7420417661696c61626c652160501b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612b7b57612b7b612c60565b500190565b600082612b8f57612b8f612c76565b500490565b6000816000190483118215151615612bae57612bae612c60565b500290565b600082821015612bc557612bc5612c60565b500390565b60005b83811015612be5578181015183820152602001612bcd565b83811115610d3b5750506000910152565b600181811c90821680612c0a57607f821691505b60208210811415612c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4557612c45612c60565b5060010190565b600082612c5b57612c5b612c76565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461241f57600080fd5b6001600160e01b03198116811461241f57600080fdfea2646970667358221220cc0ae4f1fd5288f4b67edf271f3c2025003fc897554bbba208bd74e63dfdd24364736f6c63430008070033

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636352211e11610123578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610609578063d9d3e39b1461061e578063e985e9c514610633578063f4a0a5281461067c578063f81227d41461069c57600080fd5b8063b88d4fde14610576578063c87b56dd14610596578063cda6b847146105b6578063cf388e9e146105d6578063d0947925146105e957600080fd5b806378cf19e9116100f257806378cf19e9146104f957806395d89b41146105195780639fd3af8b1461052e578063a0712d6814610543578063a22cb4651461055657600080fd5b80636352211e1461046e5780636970bb0a1461048e5780636afe5795146104bb57806370a08231146104d957600080fd5b80632cfb6688116101a65780634070a0c9116101755780634070a0c9146103d657806342842e0e146103f65780634fadb7131461041657806355f804b314610436578063603f4d521461045657600080fd5b80632cfb66881461036c5780633268d0811461038c57806334918dfd146103ac5780633ccfd60b146103c157600080fd5b80630d0c31b7116101ed5780630d0c31b7146102d05780630f5cf22f146102ed57806318160ddd1461030d5780631c1f8aa31461032c57806323b872dd1461034c57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a36600461283c565b6106b1565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610703565b60405161024b9190612a55565b34801561028257600080fd5b506102966102913660046128ab565b610795565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004612810565b61082f565b005b3480156102dc57600080fd5b50600b54610100900460ff1661023f565b3480156102f957600080fd5b5061023f610308366004612946565b610945565b34801561031957600080fd5b506006545b60405190815260200161024b565b34801561033857600080fd5b506102ce6103473660046126a9565b610989565b34801561035857600080fd5b506102ce61036736600461271c565b6109d5565b34801561037857600080fd5b506102ce6103873660046128ab565b610a06565b34801561039857600080fd5b5061023f6103a7366004612946565b610b68565b3480156103b857600080fd5b506102ce610b91565b3480156103cd57600080fd5b506102ce610bcf565b3480156103e257600080fd5b506102ce6103f13660046128ab565b610c2c565b34801561040257600080fd5b506102ce61041136600461271c565b610c5b565b34801561042257600080fd5b506102ce6104313660046128c4565b610c76565b34801561044257600080fd5b506102ce610451366004612876565b610d41565b34801561046257600080fd5b50600b5460ff1661023f565b34801561047a57600080fd5b506102966104893660046128ab565b610d7e565b34801561049a57600080fd5b506104ae6104a93660046126a9565b610df5565b60405161024b9190612a11565b3480156104c757600080fd5b506013546001600160a01b0316610296565b3480156104e557600080fd5b5061031e6104f43660046126a9565b610ec3565b34801561050557600080fd5b506102ce610514366004612810565b610f4a565b34801561052557600080fd5b50610269611006565b34801561053a57600080fd5b506102ce611015565b6102ce6105513660046128ab565b611096565b34801561056257600080fd5b506102ce6105713660046127dd565b6112b8565b34801561058257600080fd5b506102ce61059136600461275d565b61137d565b3480156105a257600080fd5b506102696105b13660046128ab565b6113af565b3480156105c257600080fd5b506102ce6105d13660046128ab565b61148a565b6102ce6105e436600461290b565b611570565b3480156105f557600080fd5b506102696106043660046128ab565b6119ff565b34801561061557600080fd5b5060075461031e565b34801561062a57600080fd5b506102ce611aa1565b34801561063f57600080fd5b5061023f61064e3660046126e3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561068857600080fd5b506102ce6106973660046128ab565b611aea565b3480156106a857600080fd5b506102ce611b19565b60006001600160e01b031982166380ac58cd60e01b14806106e257506001600160e01b03198216635b5e139f60e01b145b806106fd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461071290612bf6565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90612bf6565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061083a82610d7e565b9050806001600160a01b0316836001600160a01b031614156108a85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161080a565b336001600160a01b03821614806108c457506108c4813361064e565b6109365760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161080a565b6109408383611b60565b505050565b60008061095433868686611bce565b6011549091506001600160a01b038083169116148061098057506012546001600160a01b038281169116145b95945050505050565b6014546001600160a01b031633146109b35760405162461bcd60e51b815260040161080a90612a68565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6109df3382611c25565b6109fb5760405162461bcd60e51b815260040161080a90612b17565b610940838383611d18565b600b5462010000900460ff16610a2e5760405162461bcd60e51b815260040161080a90612ae7565b601354604051631c5aff0160e11b81526004810183905233916001600160a01b0316906338b5fe029060240160206040518083038186803b158015610a7257600080fd5b505afa158015610a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaa91906126c6565b6001600160a01b031614610b005760405162461bcd60e51b815260206004820152601960248201527f596f7520646f6e2774206f776e207374616b6564204e46542100000000000000604482015260640161080a565b601354604051639c1c97d760e01b8152336004820152602481018390526001600160a01b0390911690639c1c97d7906044015b600060405180830381600087803b158015610b4d57600080fd5b505af1158015610b61573d6000803e3d6000fd5b5050505050565b600080610b7733868686611bce565b6012546001600160a01b0390811691161495945050505050565b6014546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161080a90612a68565b600b805460ff19811660ff90911615179055565b6014546001600160a01b03163314610bf95760405162461bcd60e51b815260040161080a90612a68565b6040514790339082156108fc029083906000818181858888f19350505050158015610c28573d6000803e3d6000fd5b5050565b6014546001600160a01b03163314610c565760405162461bcd60e51b815260040161080a90612a68565b600a55565b6109408383836040518060200160405280600081525061137d565b6006548211158015610c885750600082115b610cc65760405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b604482015260640161080a565b6000610cd183610d7e565b9050336001600160a01b03821614610d1c5760405162461bcd60e51b815260206004820152600e60248201526d2737ba103a34329037bbb732b91760911b604482015260640161080a565b60008381526010602090815260409091208351610d3b92850190612564565b50505050565b6014546001600160a01b03163314610d6b5760405162461bcd60e51b815260040161080a90612a68565b8051610c2890600c906020840190612564565b6000818152600260205260408120546001600160a01b0316806106fd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161080a565b60606000610e0283610ec3565b905060008167ffffffffffffffff811115610e1f57610e1f612cb8565b604051908082528060200260200182016040528015610e48578160200160208202803683370190505b509050600060015b6006548111610eb957856001600160a01b0316610e6c82610d7e565b6001600160a01b03161415610ea75780838381518110610e8e57610e8e612ca2565b602090810291909101015281610ea381612c31565b9250505b80610eb181612c31565b915050610e50565b5090949350505050565b60006001600160a01b038216610f2e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161080a565b506001600160a01b031660009081526003602052604090205490565b6014546001600160a01b03163314610f745760405162461bcd60e51b815260040161080a90612a68565b60075481600654610f859190612b68565b1115610fc35760405162461bcd60e51b815260206004820152600d60248201526c14dd5c1c1b1e4810d85c1c1959609a1b604482015260640161080a565b60005b8181101561094057600160066000828254610fe19190612b68565b92505081905550610ff483600654611eb8565b80610ffe81612c31565b915050610fc6565b60606001805461071290612bf6565b600b5462010000900460ff1661103d5760405162461bcd60e51b815260040161080a90612ae7565b6013546040516340a9658b60e11b81523360048201526001600160a01b0390911690638152cb1690602401600060405180830381600087803b15801561108257600080fd5b505af1158015610d3b573d6000803e3d6000fd5b600b5460ff166110d85760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b604482015260640161080a565b600a54336000908152600f60205260409020546110f6908390612b68565b11156111535760405162461bcd60e51b815260206004820152602660248201527f4e6f206d696e74696e67206d6f7265207468616e207468652063617020617661604482015265696c61626c6560d01b606482015260840161080a565b600754816006546111649190612b68565b11156111b25760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d20617661696c61626c6520746f6b656e73604482015260640161080a565b600081116111fd5760405162461bcd60e51b8152602060048201526018602482015277125b9d985b1a5908185b5bdd5b9d081cdc1958da599a595960421b604482015260640161080a565b8060085461120b9190612b94565b3410156112505760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b210283934b1b29023b4bb32b760691b604482015260640161080a565b60005b81811015610c285760016006600082825461126e9190612b68565b9091555050336000908152600f60205260408120805460019290611293908490612b68565b925050819055506112a633600654611eb8565b806112b081612c31565b915050611253565b6001600160a01b0382163314156113115760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161080a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113873383611c25565b6113a35760405162461bcd60e51b815260040161080a90612b17565b610d3b84848484611ed2565b6000818152600260205260409020546060906001600160a01b031661142e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161080a565b6000611438611f05565b905060008151116114585760405180602001604052806000815250611483565b8061146284611f14565b6040516020016114739291906129a5565b6040516020818303038152906040525b9392505050565b600b5462010000900460ff166114b25760405162461bcd60e51b815260040161080a90612ae7565b336114bc82610d7e565b6001600160a01b03161461150b5760405162461bcd60e51b81526020600482015260166024820152754e6f74204f776e6572206f6620546f6b656e2049642160501b604482015260640161080a565b601354611521906001600160a01b03168261082f565b6013546115399033906001600160a01b0316836109d5565b60135460405163b13270d560e01b8152336004820152602481018390526001600160a01b039091169063b13270d590604401610b33565b600b54610100900460ff166115bb5760405162461bcd60e51b815260206004820152601160248201527050726573616c65206e6f74206f70656e2160781b604482015260640161080a565b600754846006546115cc9190612b68565b11156116065760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b604482015260640161080a565b600084116116515760405162461bcd60e51b8152602060048201526018602482015277125b9d985b1a5908185b5bdd5b9d081cdc1958da599a595960421b604482015260640161080a565b8360095461165f9190612b94565b3410156116a45760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b210283934b1b29023b4bb32b760691b604482015260640161080a565b60006116b233858585611bce565b6011549091506001600160a01b03808316911614806116de57506012546001600160a01b038281169116145b61172a5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656c696769626c6520666f722070726573616c650000000000000000604482015260640161080a565b6011546001600160a01b038281169116141561189357336000908152600d602052604090205460051161179f5760405162461bcd60e51b815260206004820152601a60248201527f4361707065642061742070726573616c65206d696e74696e672e000000000000604482015260640161080a565b336000908152600d60205260409020546005906117bd908790612b68565b11156118005760405162461bcd60e51b815260206004820152601260248201527154312043616e206f6e6c79206d696e74203560701b604482015260640161080a565b60005b8581101561188d5760016006600082825461181e9190612b68565b9091555050336000908152600f60205260408120805460019290611843908490612b68565b9091555050336000908152600d60205260408120805460019290611868908490612b68565b9250508190555061187b33600654611eb8565b8061188581612c31565b915050611803565b50610b61565b6012546001600160a01b0382811691161415610b6157336000908152600e6020526040902054600a116119085760405162461bcd60e51b815260206004820152601960248201527f4361707065642061742070726573616c65206d696e74696e6700000000000000604482015260640161080a565b336000908152600e6020526040902054600a90611926908790612b68565b111561196a5760405162461bcd60e51b8152602060048201526013602482015272054322043616e206f6e6c79206d696e7420313606c1b604482015260640161080a565b60005b858110156119f7576001600660008282546119889190612b68565b9091555050336000908152600e602052604081208054600192906119ad908490612b68565b9091555050336000908152600f602052604081208054600192906119d2908490612b68565b925050819055506119e533600654611eb8565b806119ef81612c31565b91505061196d565b505050505050565b6000818152601060205260409020805460609190611a1c90612bf6565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4890612bf6565b8015611a955780601f10611a6a57610100808354040283529160200191611a95565b820191906000526020600020905b815481529060010190602001808311611a7857829003601f168201915b50505050509050919050565b6014546001600160a01b03163314611acb5760405162461bcd60e51b815260040161080a90612a68565b600b805462ff0000198116620100009182900460ff1615909102179055565b6014546001600160a01b03163314611b145760405162461bcd60e51b815260040161080a90612a68565b600855565b6014546001600160a01b03163314611b435760405162461bcd60e51b815260040161080a90612a68565b600b805461ff001981166101009182900460ff1615909102179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b9582610d7e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6040516bffffffffffffffffffffffff19606086901b16602082015260009081906034016040516020818303038152906040528051906020012090506000611c1882878787612012565b925050505b949350505050565b6000818152600260205260408120546001600160a01b0316611c9e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161080a565b6000611ca983610d7e565b9050806001600160a01b0316846001600160a01b03161480611ce45750836001600160a01b0316611cd984610795565b6001600160a01b0316145b80611c1d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611c1d565b826001600160a01b0316611d2b82610d7e565b6001600160a01b031614611d935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161080a565b6001600160a01b038216611df55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161080a565b611e00600082611b60565b6001600160a01b0383166000908152600360205260408120805460019290611e29908490612bb3565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e57908490612b68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610c2882826040518060200160405280600081525061203a565b611edd848484611d18565b611ee98484848461206d565b610d3b5760405162461bcd60e51b815260040161080a90612a95565b6060600c805461071290612bf6565b606081611f385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f625780611f4c81612c31565b9150611f5b9050600a83612b80565b9150611f3c565b60008167ffffffffffffffff811115611f7d57611f7d612cb8565b6040519080825280601f01601f191660200182016040528015611fa7576020820181803683370190505b5090505b8415611c1d57611fbc600183612bb3565b9150611fc9600a86612c4c565b611fd4906030612b68565b60f81b818381518110611fe957611fe9612ca2565b60200101906001600160f81b031916908160001a90535061200b600a86612b80565b9450611fab565b600080600061202387878787612177565b9150915061203081612264565b5095945050505050565b6120448383612422565b612051600084848461206d565b6109405760405162461bcd60e51b815260040161080a90612a95565b60006001600160a01b0384163b1561216f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b19033908990889088906004016129d4565b602060405180830381600087803b1580156120cb57600080fd5b505af19250505080156120fb575060408051601f3d908101601f191682019092526120f891810190612859565b60015b612155573d808015612129576040519150601f19603f3d011682016040523d82523d6000602084013e61212e565b606091505b50805161214d5760405162461bcd60e51b815260040161080a90612a95565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c1d565b506001611c1d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156121ae575060009050600361225b565b8460ff16601b141580156121c657508460ff16601c14155b156121d7575060009050600461225b565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561222b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166122545760006001925092505061225b565b9150600090505b94509492505050565b600081600481111561227857612278612c8c565b14156122815750565b600181600481111561229557612295612c8c565b14156122e35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161080a565b60028160048111156122f7576122f7612c8c565b14156123455760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080a565b600381600481111561235957612359612c8c565b14156123b25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080a565b60048160048111156123c6576123c6612c8c565b141561241f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080a565b50565b6001600160a01b0382166124785760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161080a565b6000818152600260205260409020546001600160a01b0316156124dd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161080a565b6001600160a01b0382166000908152600360205260408120805460019290612506908490612b68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461257090612bf6565b90600052602060002090601f01602090048101928261259257600085556125d8565b82601f106125ab57805160ff19168380011785556125d8565b828001600101855582156125d8579182015b828111156125d85782518255916020019190600101906125bd565b506125e49291506125e8565b5090565b5b808211156125e457600081556001016125e9565b600067ffffffffffffffff8084111561261857612618612cb8565b604051601f8501601f19908116603f0116810190828211818310171561264057612640612cb8565b8160405280935085815286868601111561265957600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261268457600080fd5b611483838335602085016125fd565b803560ff811681146126a457600080fd5b919050565b6000602082840312156126bb57600080fd5b813561148381612cce565b6000602082840312156126d857600080fd5b815161148381612cce565b600080604083850312156126f657600080fd5b823561270181612cce565b9150602083013561271181612cce565b809150509250929050565b60008060006060848603121561273157600080fd5b833561273c81612cce565b9250602084013561274c81612cce565b929592945050506040919091013590565b6000806000806080858703121561277357600080fd5b843561277e81612cce565b9350602085013561278e81612cce565b925060408501359150606085013567ffffffffffffffff8111156127b157600080fd5b8501601f810187136127c257600080fd5b6127d1878235602084016125fd565b91505092959194509250565b600080604083850312156127f057600080fd5b82356127fb81612cce565b91506020830135801515811461271157600080fd5b6000806040838503121561282357600080fd5b823561282e81612cce565b946020939093013593505050565b60006020828403121561284e57600080fd5b813561148381612ce3565b60006020828403121561286b57600080fd5b815161148381612ce3565b60006020828403121561288857600080fd5b813567ffffffffffffffff81111561289f57600080fd5b611c1d84828501612673565b6000602082840312156128bd57600080fd5b5035919050565b600080604083850312156128d757600080fd5b82359150602083013567ffffffffffffffff8111156128f557600080fd5b61290185828601612673565b9150509250929050565b6000806000806080858703121561292157600080fd5b8435935061293160208601612693565b93969395505050506040820135916060013590565b60008060006060848603121561295b57600080fd5b61296484612693565b95602085013595506040909401359392505050565b60008151808452612991816020860160208601612bca565b601f01601f19169290920160200192915050565b600083516129b7818460208801612bca565b8351908301906129cb818360208801612bca565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0790830184612979565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612a4957835183529284019291840191600101612a2d565b50909695505050505050565b6020815260006114836020830184612979565b60208082526013908201527227bbb732b91037b7363c90333ab731ba34b7b760691b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601690820152755374616b696e67204e6f7420417661696c61626c652160501b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612b7b57612b7b612c60565b500190565b600082612b8f57612b8f612c76565b500490565b6000816000190483118215151615612bae57612bae612c60565b500290565b600082821015612bc557612bc5612c60565b500390565b60005b83811015612be5578181015183820152602001612bcd565b83811115610d3b5750506000910152565b600181811c90821680612c0a57607f821691505b60208210811415612c2b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4557612c45612c60565b5060010190565b600082612c5b57612c5b612c76565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461241f57600080fd5b6001600160e01b03198116811461241f57600080fdfea2646970667358221220cc0ae4f1fd5288f4b67edf271f3c2025003fc897554bbba208bd74e63dfdd24364736f6c63430008070033

Deployed Bytecode Sourcemap

48784:7613:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27602:305;;;;;;;;;;-1:-1:-1;27602:305:0;;;;;:::i;:::-;;:::i;:::-;;;8818:14:1;;8811:22;8793:41;;8781:2;8766:18;27602:305:0;;;;;;;;28547:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30106:221::-;;;;;;;;;;-1:-1:-1;30106:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7200:32:1;;;7182:51;;7170:2;7155:18;30106:221:0;7036:203:1;29629:411:0;;;;;;;;;;-1:-1:-1;29629:411:0;;;;;:::i;:::-;;:::i;:::-;;50524:87;;;;;;;;;;-1:-1:-1;50592:11:0;;;;;;;50524:87;;55042:226;;;;;;;;;;-1:-1:-1;55042:226:0;;;;;:::i;:::-;;:::i;49940:89::-;;;;;;;;;;-1:-1:-1;50009:12:0;;49940:89;;;23435:25:1;;;23423:2;23408:18;49940:89:0;23289:177:1;50913:130:0;;;;;;;;;;-1:-1:-1;50913:130:0;;;;;:::i;:::-;;:::i;30996:339::-;;;;;;;;;;-1:-1:-1;30996:339:0;;;;;:::i;:::-;;:::i;51719:272::-;;;;;;;;;;-1:-1:-1;51719:272:0;;;;;:::i;:::-;;:::i;55276:197::-;;;;;;;;;;-1:-1:-1;55276:197:0;;;;;:::i;:::-;;:::i;50138:81::-;;;;;;;;;;;;;:::i;54890:140::-;;;;;;;;;;;;;:::i;52015:88::-;;;;;;;;;;-1:-1:-1;52015:88:0;;;;;:::i;:::-;;:::i;31406:185::-;;;;;;;;;;-1:-1:-1;31406:185:0;;;;;:::i;:::-;;:::i;52115:310::-;;;;;;;;;;-1:-1:-1;52115:310:0;;;;;:::i;:::-;;:::i;54658:102::-;;;;;;;;;;-1:-1:-1;54658:102:0;;;;;:::i;:::-;;:::i;50431:81::-;;;;;;;;;;-1:-1:-1;50496:8:0;;;;50431:81;;28241:239;;;;;;;;;;-1:-1:-1;28241:239:0;;;;;:::i;:::-;;:::i;55950:432::-;;;;;;;;;;-1:-1:-1;55950:432:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;51055:116::-;;;;;;;;;;-1:-1:-1;51147:15:0;;-1:-1:-1;;;;;51147:15:0;51055:116;;27971:208;;;;;;;;;;-1:-1:-1;27971:208:0;;;;;:::i;:::-;;:::i;50622:279::-;;;;;;;;;;-1:-1:-1;50622:279:0;;;;;:::i;:::-;;:::i;28716:104::-;;;;;;;;;;;;;:::i;51183:154::-;;;;;;;;;;;;;:::i;52569:604::-;;;;;;:::i;:::-;;:::i;30399:295::-;;;;;;;;;;-1:-1:-1;30399:295:0;;;;;:::i;:::-;;:::i;31662:328::-;;;;;;;;;;-1:-1:-1;31662:328:0;;;;;:::i;:::-;;:::i;28891:334::-;;;;;;;;;;-1:-1:-1;28891:334:0;;;;;:::i;:::-;;:::i;51349:358::-;;;;;;;;;;-1:-1:-1;51349:358:0;;;;;:::i;:::-;;:::i;53191:1457::-;;;;;;:::i;:::-;;:::i;52437:121::-;;;;;;;;;;-1:-1:-1;52437:121:0;;;;;:::i;:::-;;:::i;50041:85::-;;;;;;;;;;-1:-1:-1;50108:10:0;;50041:85;;50329:90;;;;;;;;;;;;;:::i;30765:164::-;;;;;;;;;;-1:-1:-1;30765:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30886:25:0;;;30862:4;30886:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30765:164;49832:90;;;;;;;;;;-1:-1:-1;49832:90:0;;;;;:::i;:::-;;:::i;50231:::-;;;;;;;;;;;;;:::i;27602:305::-;27704:4;-1:-1:-1;;;;;;27741:40:0;;-1:-1:-1;;;27741:40:0;;:105;;-1:-1:-1;;;;;;;27798:48:0;;-1:-1:-1;;;27798:48:0;27741:105;:158;;;-1:-1:-1;;;;;;;;;;20681:40:0;;;27863:36;27721:178;27602:305;-1:-1:-1;;27602:305:0:o;28547:100::-;28601:13;28634:5;28627:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28547:100;:::o;30106:221::-;30182:7;33589:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33589:16:0;30202:73;;;;-1:-1:-1;;;30202:73:0;;18653:2:1;30202:73:0;;;18635:21:1;18692:2;18672:18;;;18665:30;18731:34;18711:18;;;18704:62;-1:-1:-1;;;18782:18:1;;;18775:42;18834:19;;30202:73:0;;;;;;;;;-1:-1:-1;30295:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30295:24:0;;30106:221::o;29629:411::-;29710:13;29726:23;29741:7;29726:14;:23::i;:::-;29710:39;;29774:5;-1:-1:-1;;;;;29768:11:0;:2;-1:-1:-1;;;;;29768:11:0;;;29760:57;;;;-1:-1:-1;;;29760:57:0;;20243:2:1;29760:57:0;;;20225:21:1;20282:2;20262:18;;;20255:30;20321:34;20301:18;;;20294:62;-1:-1:-1;;;20372:18:1;;;20365:31;20413:19;;29760:57:0;20041:397:1;29760:57:0;9732:10;-1:-1:-1;;;;;29852:21:0;;;;:62;;-1:-1:-1;29877:37:0;29894:5;9732:10;30765:164;:::i;29877:37::-;29830:168;;;;-1:-1:-1;;;29830:168:0;;15931:2:1;29830:168:0;;;15913:21:1;15970:2;15950:18;;;15943:30;16009:34;15989:18;;;15982:62;16080:26;16060:18;;;16053:54;16124:19;;29830:168:0;15729:420:1;29830:168:0;30011:21;30020:2;30024:7;30011:8;:21::i;:::-;29699:341;29629:411;;:::o;55042:226::-;55119:4;55135:14;55152:36;55168:10;55179:2;55182;55185;55152:15;:36::i;:::-;55216:15;;55135:53;;-1:-1:-1;;;;;;55206:25:0;;;55216:15;;55206:25;;:54;;-1:-1:-1;55245:15:0;;-1:-1:-1;;;;;55235:25:0;;;55245:15;;55235:25;55206:54;55199:61;55042:226;-1:-1:-1;;;;;55042:226:0:o;50913:130::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;50997:15:::1;:38:::0;;-1:-1:-1;;;;;;50997:38:0::1;-1:-1:-1::0;;;;;50997:38:0;;;::::1;::::0;;;::::1;::::0;;50913:130::o;30996:339::-;31191:41;9732:10;31224:7;31191:18;:41::i;:::-;31183:103;;;;-1:-1:-1;;;31183:103:0;;;;;;;:::i;:::-;31299:28;31309:4;31315:2;31319:7;31299:9;:28::i;51719:272::-;51784:11;;;;;;;51776:45;;;;-1:-1:-1;;;51776:45:0;;;;;;;:::i;:::-;51840:15;;:43;;-1:-1:-1;;;51840:43:0;;;;;23435:25:1;;;51887:10:0;;-1:-1:-1;;;;;51840:15:0;;:34;;23408:18:1;;51840:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;51840:57:0;;51832:94;;;;-1:-1:-1;;;51832:94:0;;12619:2:1;51832:94:0;;;12601:21:1;12658:2;12638:18;;;12631:30;12697:27;12677:18;;;12670:55;12742:18;;51832:94:0;12417:349:1;51832:94:0;51937:15;;:46;;-1:-1:-1;;;51937:46:0;;51964:10;51937:46;;;7911:51:1;7978:18;;;7971:34;;;-1:-1:-1;;;;;51937:15:0;;;;:26;;7884:18:1;;51937:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51719:272;:::o;55276:197::-;55353:4;55369:14;55386:36;55402:10;55413:2;55416;55419;55386:15;:36::i;:::-;55450:15;;-1:-1:-1;;;;;55450:15:0;;;55440:25;;;;55276:197;-1:-1:-1;;;;;55276:197:0:o;50138:81::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;50203:8:::1;::::0;;-1:-1:-1;;50191:20:0;::::1;50203:8;::::0;;::::1;50202:9;50191:20;::::0;;50138:81::o;54890:140::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;54985:37:::1;::::0;54953:21:::1;::::0;54993:10:::1;::::0;54985:37;::::1;;;::::0;54953:21;;54938:12:::1;54985:37:::0;54938:12;54985:37;54953:21;54993:10;54985:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;54927:103;54890:140::o:0;52015:88::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;52079:7:::1;:16:::0;52015:88::o;31406:185::-;31544:39;31561:4;31567:2;31571:7;31544:39;;;;;;;;;;;;:16;:39::i;52115:310::-;52212:12;;52201:7;:23;;:38;;;;;52238:1;52228:7;:11;52201:38;52193:65;;;;-1:-1:-1;;;52193:65:0;;14074:2:1;52193:65:0;;;14056:21:1;14113:2;14093:18;;;14086:30;-1:-1:-1;;;14132:18:1;;;14125:45;14187:18;;52193:65:0;13872:339:1;52193:65:0;52269:19;52291:16;52299:7;52291;:16::i;:::-;52269:38;-1:-1:-1;52334:10:0;-1:-1:-1;;;;;52326:34:0;;;52318:60;;;;-1:-1:-1;;;52318:60:0;;21411:2:1;52318:60:0;;;21393:21:1;21450:2;21430:18;;;21423:30;-1:-1:-1;;;21469:18:1;;;21462:44;21523:18;;52318:60:0;21209:338:1;52318:60:0;52389:21;;;;:12;:21;;;;;;;;:28;;;;;;;;:::i;:::-;;52182:243;52115:310;;:::o;54658:102::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;54733:19;;::::1;::::0;:7:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;28241:239::-:0;28313:7;28349:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28349:16:0;28384:19;28376:73;;;;-1:-1:-1;;;28376:73:0;;16767:2:1;28376:73:0;;;16749:21:1;16806:2;16786:18;;;16779:30;16845:34;16825:18;;;16818:62;-1:-1:-1;;;16896:18:1;;;16889:39;16945:19;;28376:73:0;16565:405:1;55950:432:0;56013:25;56050:15;56068:16;56078:5;56068:9;:16::i;:::-;56050:34;;56095:25;56137:7;56123:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56123:22:0;-1:-1:-1;56095:50:0;-1:-1:-1;56156:10:0;56194:1;56181:168;56202:12;;56197:1;:17;56181:168;;56252:5;-1:-1:-1;;;;;56238:19:0;:10;56246:1;56238:7;:10::i;:::-;-1:-1:-1;;;;;56238:19:0;;56235:103;;;56295:1;56277:8;56286:5;56277:15;;;;;;;;:::i;:::-;;;;;;;;;;:19;56315:7;;;;:::i;:::-;;;;56235:103;56216:3;;;;:::i;:::-;;;;56181:168;;;-1:-1:-1;56366:8:0;;55950:432;-1:-1:-1;;;;55950:432:0:o;27971:208::-;28043:7;-1:-1:-1;;;;;28071:19:0;;28063:74;;;;-1:-1:-1;;;28063:74:0;;16356:2:1;28063:74:0;;;16338:21:1;16395:2;16375:18;;;16368:30;16434:34;16414:18;;;16407:62;-1:-1:-1;;;16485:18:1;;;16478:40;16535:19;;28063:74:0;16154:406:1;28063:74:0;-1:-1:-1;;;;;;28155:16:0;;;;;:9;:16;;;;;;;27971:208::o;50622:279::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;50735:10:::1;;50725:6;50710:12;;:21;;;;:::i;:::-;:35;;50702:60;;;::::0;-1:-1:-1;;;50702:60:0;;12973:2:1;50702:60:0::1;::::0;::::1;12955:21:1::0;13012:2;12992:18;;;12985:30;-1:-1:-1;;;13031:18:1;;;13024:43;13084:18;;50702:60:0::1;12771:337:1::0;50702:60:0::1;50778:6;50773:121;50794:6;50790:1;:10;50773:121;;;50838:1;50822:12;;:17;;;;;;;:::i;:::-;;;;;;;;50854:28;50864:3;50869:12;;50854:9;:28::i;:::-;50802:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50773:121;;28716:104:::0;28772:13;28805:7;28798:14;;;;;:::i;51183:154::-;51237:11;;;;;;;51229:45;;;;-1:-1:-1;;;51229:45:0;;;;;;;:::i;:::-;51285:15;;:44;;-1:-1:-1;;;51285:44:0;;51318:10;51285:44;;;7182:51:1;-1:-1:-1;;;;;51285:15:0;;;;:32;;7155:18:1;;51285:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52569:604;52633:8;;;;52625:34;;;;-1:-1:-1;;;52625:34:0;;15589:2:1;52625:34:0;;;15571:21:1;15628:2;15608:18;;;15601:30;-1:-1:-1;;;15647:18:1;;;15640:43;15700:18;;52625:34:0;15387:337:1;52625:34:0;52708:7;;52684:10;52678:17;;;;:5;:17;;;;;;:26;;52698:6;;52678:26;:::i;:::-;:37;;52670:87;;;;-1:-1:-1;;;52670:87:0;;10380:2:1;52670:87:0;;;10362:21:1;10419:2;10399:18;;;10392:30;10458:34;10438:18;;;10431:62;-1:-1:-1;;;10509:18:1;;;10502:36;10555:19;;52670:87:0;10178:402:1;52670:87:0;52801:10;;52791:6;52776:12;;:21;;;;:::i;:::-;:35;;52768:79;;;;-1:-1:-1;;;52768:79:0;;17528:2:1;52768:79:0;;;17510:21:1;;;17547:18;;;17540:30;17606:34;17586:18;;;17579:62;17658:18;;52768:79:0;17326:356:1;52768:79:0;52875:1;52866:6;:10;52858:46;;;;-1:-1:-1;;;52858:46:0;;10027:2:1;52858:46:0;;;10009:21:1;10066:2;10046:18;;;10039:30;-1:-1:-1;;;10085:18:1;;;10078:54;10149:18;;52858:46:0;9825:348:1;52858:46:0;52949:6;52937:9;;:18;;;;:::i;:::-;52923:9;:33;;52915:64;;;;-1:-1:-1;;;52915:64:0;;11914:2:1;52915:64:0;;;11896:21:1;11953:2;11933:18;;;11926:30;-1:-1:-1;;;11972:18:1;;;11965:49;12031:18;;52915:64:0;11712:343:1;52915:64:0;53004:9;53000:166;53023:6;53019:1;:10;53000:166;;;53066:1;53050:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;53088:10:0;53082:17;;;;:5;:17;;;;;:22;;53103:1;;53082:17;:22;;53103:1;;53082:22;:::i;:::-;;;;;;;;53119:35;53129:10;53141:12;;53119:9;:35::i;:::-;53031:3;;;;:::i;:::-;;;;53000:166;;30399:295;-1:-1:-1;;;;;30502:24:0;;9732:10;30502:24;;30494:62;;;;-1:-1:-1;;;30494:62:0;;13720:2:1;30494:62:0;;;13702:21:1;13759:2;13739:18;;;13732:30;13798:27;13778:18;;;13771:55;13843:18;;30494:62:0;13518:349:1;30494:62:0;9732:10;30569:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;30569:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;30569:53:0;;;;;;;;;;30638:48;;8793:41:1;;;30569:42:0;;9732:10;30638:48;;8766:18:1;30638:48:0;;;;;;;30399:295;;:::o;31662:328::-;31837:41;9732:10;31870:7;31837:18;:41::i;:::-;31829:103;;;;-1:-1:-1;;;31829:103:0;;;;;;;:::i;:::-;31943:39;31957:4;31963:2;31967:7;31976:5;31943:13;:39::i;28891:334::-;33565:4;33589:16;;;:7;:16;;;;;;28964:13;;-1:-1:-1;;;;;33589:16:0;28990:76;;;;-1:-1:-1;;;28990:76:0;;19476:2:1;28990:76:0;;;19458:21:1;19515:2;19495:18;;;19488:30;19554:34;19534:18;;;19527:62;-1:-1:-1;;;19605:18:1;;;19598:45;19660:19;;28990:76:0;19274:411:1;28990:76:0;29079:21;29103:10;:8;:10::i;:::-;29079:34;;29155:1;29137:7;29131:21;:25;:86;;;;;;;;;;;;;;;;;29183:7;29192:18;:7;:16;:18::i;:::-;29166:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29131:86;29124:93;28891:334;-1:-1:-1;;;28891:334:0:o;51349:358::-;51412:11;;;;;;;51404:45;;;;-1:-1:-1;;;51404:45:0;;;;;;;:::i;:::-;51488:10;51468:16;51476:7;51468;:16::i;:::-;-1:-1:-1;;;;;51468:30:0;;51460:64;;;;-1:-1:-1;;;51460:64:0;;19892:2:1;51460:64:0;;;19874:21:1;19931:2;19911:18;;;19904:30;-1:-1:-1;;;19950:18:1;;;19943:52;20012:18;;51460:64:0;19690:346:1;51460:64:0;51551:15;;51535:41;;-1:-1:-1;;;;;51551:15:0;51568:7;51535;:41::i;:::-;51619:15;;51587:57;;51600:10;;-1:-1:-1;;;;;51619:15:0;51636:7;51587:12;:57::i;:::-;51655:15;;:44;;-1:-1:-1;;;51655:44:0;;51680:10;51655:44;;;7911:51:1;7978:18;;;7971:34;;;-1:-1:-1;;;;;51655:15:0;;;;:24;;7884:18:1;;51655:44:0;7737:274:1;53191:1457:0;53296:11;;;;;;;53288:40;;;;-1:-1:-1;;;53288:40:0;;22792:2:1;53288:40:0;;;22774:21:1;22831:2;22811:18;;;22804:30;-1:-1:-1;;;22850:18:1;;;22843:47;22907:18;;53288:40:0;22590:341:1;53288:40:0;53372:10;;53362:6;53347:12;;:21;;;;:::i;:::-;:35;;53339:56;;;;-1:-1:-1;;;53339:56:0;;22455:2:1;53339:56:0;;;22437:21:1;22494:1;22474:18;;;22467:29;-1:-1:-1;;;22512:18:1;;;22505:39;22561:18;;53339:56:0;22253:332:1;53339:56:0;53423:1;53414:6;:10;53406:47;;;;-1:-1:-1;;;53406:47:0;;10027:2:1;53406:47:0;;;10009:21:1;10066:2;10046:18;;;10039:30;-1:-1:-1;;;10085:18:1;;;10078:54;10149:18;;53406:47:0;9825:348:1;53406:47:0;53501:6;53486:12;;:21;;;;:::i;:::-;53472:9;:36;;53464:67;;;;-1:-1:-1;;;53464:67:0;;11914:2:1;53464:67:0;;;11896:21:1;11953:2;11933:18;;;11926:30;-1:-1:-1;;;11972:18:1;;;11965:49;12031:18;;53464:67:0;11712:343:1;53464:67:0;53552:14;53569:45;53593:10;53605:2;53608;53611;53569:15;:45::i;:::-;53653:15;;53552:62;;-1:-1:-1;;;;;;53643:25:0;;;53653:15;;53643:25;;:54;;-1:-1:-1;53682:15:0;;-1:-1:-1;;;;;53672:25:0;;;53682:15;;53672:25;53643:54;53635:90;;;;-1:-1:-1;;;53635:90:0;;23138:2:1;53635:90:0;;;23120:21:1;23177:2;23157:18;;;23150:30;23216:26;23196:18;;;23189:54;23260:18;;53635:90:0;22936:348:1;53635:90:0;53759:15;;-1:-1:-1;;;;;53749:25:0;;;53759:15;;53749:25;53746:895;;;53806:10;53798:19;;;;:7;:19;;;;;;53820:1;-1:-1:-1;53790:62:0;;;;-1:-1:-1;;;53790:62:0;;14418:2:1;53790:62:0;;;14400:21:1;14457:2;14437:18;;;14430:30;14496:28;14476:18;;;14469:56;14542:18;;53790:62:0;14216:350:1;53790:62:0;53883:10;53875:19;;;;:7;:19;;;;;;53907:1;;53875:28;;53897:6;;53875:28;:::i;:::-;:33;;53867:63;;;;-1:-1:-1;;;53867:63:0;;21754:2:1;53867:63:0;;;21736:21:1;21793:2;21773:18;;;21766:30;-1:-1:-1;;;21812:18:1;;;21805:48;21870:18;;53867:63:0;21552:342:1;53867:63:0;53952:9;53948:225;53971:6;53967:1;:10;53948:225;;;54018:1;54002:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;54044:10:0;54038:17;;;;:5;:17;;;;;:22;;54059:1;;54038:17;:22;;54059:1;;54038:22;:::i;:::-;;;;-1:-1:-1;;54087:10:0;54079:19;;;;:7;:19;;;;;:24;;54102:1;;54079:19;:24;;54102:1;;54079:24;:::i;:::-;;;;;;;;54122:35;54132:10;54144:12;;54122:9;:35::i;:::-;53979:3;;;;:::i;:::-;;;;53948:225;;;;53746:895;;;54212:15;;-1:-1:-1;;;;;54202:25:0;;;54212:15;;54202:25;54199:442;;;54259:10;54251:19;;;;:7;:19;;;;;;54273:2;-1:-1:-1;54243:62:0;;;;-1:-1:-1;;;54243:62:0;;22101:2:1;54243:62:0;;;22083:21:1;22140:2;22120:18;;;22113:30;22179:27;22159:18;;;22152:55;22224:18;;54243:62:0;21899:349:1;54243:62:0;54336:10;54328:19;;;;:7;:19;;;;;;54360:2;;54328:28;;54350:6;;54328:28;:::i;:::-;:34;;54320:65;;;;-1:-1:-1;;;54320:65:0;;21063:2:1;54320:65:0;;;21045:21:1;21102:2;21082:18;;;21075:30;-1:-1:-1;;;21121:18:1;;;21114:49;21180:18;;54320:65:0;20861:343:1;54320:65:0;54418:6;54414:216;54430:6;54426:1;:10;54414:216;;;54476:1;54460:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;54504:10:0;54496:19;;;;:7;:19;;;;;:24;;54519:1;;54496:19;:24;;54519:1;;54496:24;:::i;:::-;;;;-1:-1:-1;;54545:10:0;54539:17;;;;:5;:17;;;;;:22;;54560:1;;54539:17;:22;;54560:1;;54539:22;:::i;:::-;;;;;;;;54580:34;54590:10;54601:12;;54580:9;:34::i;:::-;54437:3;;;;:::i;:::-;;;;54414:216;;;;53277:1371;53191:1457;;;;:::o;52437:121::-;52529:21;;;;:12;:21;;;;;52522:28;;52497:13;;52529:21;52522:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52437:121;;;:::o;50329:90::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;50400:11:::1;::::0;;-1:-1:-1;;50385:26:0;::::1;50400:11:::0;;;;::::1;;;50399:12;50385:26:::0;;::::1;;::::0;;50329:90::o;49832:::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;49897:9:::1;:17:::0;49832:90::o;50231:::-;49776:5;;-1:-1:-1;;;;;49776:5:0;49762:10;:19;49754:50;;;;-1:-1:-1;;;49754:50:0;;;;;;;:::i;:::-;50302:11:::1;::::0;;-1:-1:-1;;50287:26:0;::::1;50302:11;::::0;;;::::1;;;50301:12;50287:26:::0;;::::1;;::::0;;50231:90::o;37482:174::-;37557:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;37557:29:0;-1:-1:-1;;;;;37557:29:0;;;;;;;;:24;;37611:23;37557:24;37611:14;:23::i;:::-;-1:-1:-1;;;;;37602:46:0;;;;;;;;;;;37482:174;;:::o;55491:247::-;55628:21;;-1:-1:-1;;6476:2:1;6472:15;;;6468:53;55628:21:0;;;6456:66:1;55583:7:0;;;;6538:12:1;;55628:21:0;;;;;;;;;;;;55618:32;;;;;;55603:47;;55661:14;55678:28;55692:4;55697:2;55700;55703;55678:13;:28::i;:::-;55661:45;-1:-1:-1;;;55491:247:0;;;;;;;:::o;33794:348::-;33887:4;33589:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33589:16:0;33904:73;;;;-1:-1:-1;;;33904:73:0;;15176:2:1;33904:73:0;;;15158:21:1;15215:2;15195:18;;;15188:30;15254:34;15234:18;;;15227:62;-1:-1:-1;;;15305:18:1;;;15298:42;15357:19;;33904:73:0;14974:408:1;33904:73:0;33988:13;34004:23;34019:7;34004:14;:23::i;:::-;33988:39;;34057:5;-1:-1:-1;;;;;34046:16:0;:7;-1:-1:-1;;;;;34046:16:0;;:51;;;;34090:7;-1:-1:-1;;;;;34066:31:0;:20;34078:7;34066:11;:20::i;:::-;-1:-1:-1;;;;;34066:31:0;;34046:51;:87;;;-1:-1:-1;;;;;;30886:25:0;;;30862:4;30886:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;34101:32;30765:164;36786:578;36945:4;-1:-1:-1;;;;;36918:31:0;:23;36933:7;36918:14;:23::i;:::-;-1:-1:-1;;;;;36918:31:0;;36910:85;;;;-1:-1:-1;;;36910:85:0;;19066:2:1;36910:85:0;;;19048:21:1;19105:2;19085:18;;;19078:30;19144:34;19124:18;;;19117:62;-1:-1:-1;;;19195:18:1;;;19188:39;19244:19;;36910:85:0;18864:405:1;36910:85:0;-1:-1:-1;;;;;37014:16:0;;37006:65;;;;-1:-1:-1;;;37006:65:0;;13315:2:1;37006:65:0;;;13297:21:1;13354:2;13334:18;;;13327:30;13393:34;13373:18;;;13366:62;-1:-1:-1;;;13444:18:1;;;13437:34;13488:19;;37006:65:0;13113:400:1;37006:65:0;37188:29;37205:1;37209:7;37188:8;:29::i;:::-;-1:-1:-1;;;;;37230:15:0;;;;;;:9;:15;;;;;:20;;37249:1;;37230:15;:20;;37249:1;;37230:20;:::i;:::-;;;;-1:-1:-1;;;;;;;37261:13:0;;;;;;:9;:13;;;;;:18;;37278:1;;37261:13;:18;;37278:1;;37261:18;:::i;:::-;;;;-1:-1:-1;;37290:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37290:21:0;-1:-1:-1;;;;;37290:21:0;;;;;;;;;37329:27;;37290:16;;37329:27;;;;;;;36786:578;;;:::o;34484:110::-;34560:26;34570:2;34574:7;34560:26;;;;;;;;;;;;:9;:26::i;32872:315::-;33029:28;33039:4;33045:2;33049:7;33029:9;:28::i;:::-;33076:48;33099:4;33105:2;33109:7;33118:5;33076:22;:48::i;:::-;33068:111;;;;-1:-1:-1;;;33068:111:0;;;;;;;:::i;54772:100::-;54824:13;54857:7;54850:14;;;;;:::i;7268:723::-;7324:13;7545:10;7541:53;;-1:-1:-1;;7572:10:0;;;;;;;;;;;;-1:-1:-1;;;7572:10:0;;;;;7268:723::o;7541:53::-;7619:5;7604:12;7660:78;7667:9;;7660:78;;7693:8;;;;:::i;:::-;;-1:-1:-1;7716:10:0;;-1:-1:-1;7724:2:0;7716:10;;:::i;:::-;;;7660:78;;;7748:19;7780:6;7770:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7770:17:0;;7748:39;;7798:154;7805:10;;7798:154;;7832:11;7842:1;7832:11;;:::i;:::-;;-1:-1:-1;7901:10:0;7909:2;7901:5;:10;:::i;:::-;7888:24;;:2;:24;:::i;:::-;7875:39;;7858:6;7865;7858:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7858:56:0;;;;;;;;-1:-1:-1;7929:11:0;7938:2;7929:11;;:::i;:::-;;;7798:154;;47079:279;47207:7;47228:17;47247:18;47269:25;47280:4;47286:1;47289;47292;47269:10;:25::i;:::-;47227:67;;;;47305:18;47317:5;47305:11;:18::i;:::-;-1:-1:-1;47341:9:0;47079:279;-1:-1:-1;;;;;47079:279:0:o;34821:321::-;34951:18;34957:2;34961:7;34951:5;:18::i;:::-;35002:54;35033:1;35037:2;35041:7;35050:5;35002:22;:54::i;:::-;34980:154;;;;-1:-1:-1;;;34980:154:0;;;;;;;:::i;38221:799::-;38376:4;-1:-1:-1;;;;;38397:13:0;;10955:20;11003:8;38393:620;;38433:72;;-1:-1:-1;;;38433:72:0;;-1:-1:-1;;;;;38433:36:0;;;;;:72;;9732:10;;38484:4;;38490:7;;38499:5;;38433:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38433:72:0;;;;;;;;-1:-1:-1;;38433:72:0;;;;;;;;;;;;:::i;:::-;;;38429:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38675:13:0;;38671:272;;38718:60;;-1:-1:-1;;;38718:60:0;;;;;;;:::i;38671:272::-;38893:6;38887:13;38878:6;38874:2;38870:15;38863:38;38429:529;-1:-1:-1;;;;;;38556:51:0;-1:-1:-1;;;38556:51:0;;-1:-1:-1;38549:58:0;;38393:620;-1:-1:-1;38997:4:0;38990:11;;45308:1632;45439:7;;46373:66;46360:79;;46356:163;;;-1:-1:-1;46472:1:0;;-1:-1:-1;46476:30:0;46456:51;;46356:163;46533:1;:7;;46538:2;46533:7;;:18;;;;;46544:1;:7;;46549:2;46544:7;;46533:18;46529:102;;;-1:-1:-1;46584:1:0;;-1:-1:-1;46588:30:0;46568:51;;46529:102;46745:24;;;46728:14;46745:24;;;;;;;;;9072:25:1;;;9145:4;9133:17;;9113:18;;;9106:45;;;;9167:18;;;9160:34;;;9210:18;;;9203:34;;;46745:24:0;;9044:19:1;;46745:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46745:24:0;;-1:-1:-1;;46745:24:0;;;-1:-1:-1;;;;;;;46784:20:0;;46780:103;;46837:1;46841:29;46821:50;;;;;;;46780:103;46903:6;-1:-1:-1;46911:20:0;;-1:-1:-1;45308:1632:0;;;;;;;;:::o;39970:643::-;40048:20;40039:5;:29;;;;;;;;:::i;:::-;;40035:571;;;39970:643;:::o;40035:571::-;40146:29;40137:5;:38;;;;;;;;:::i;:::-;;40133:473;;;40192:34;;-1:-1:-1;;;40192:34:0;;9674:2:1;40192:34:0;;;9656:21:1;9713:2;9693:18;;;9686:30;9752:26;9732:18;;;9725:54;9796:18;;40192:34:0;9472:348:1;40133:473:0;40257:35;40248:5;:44;;;;;;;;:::i;:::-;;40244:362;;;40309:41;;-1:-1:-1;;;40309:41:0;;10787:2:1;40309:41:0;;;10769:21:1;10826:2;10806:18;;;10799:30;10865:33;10845:18;;;10838:61;10916:18;;40309:41:0;10585:355:1;40244:362:0;40381:30;40372:5;:39;;;;;;;;:::i;:::-;;40368:238;;;40428:44;;-1:-1:-1;;;40428:44:0;;14773:2:1;40428:44:0;;;14755:21:1;14812:2;14792:18;;;14785:30;14851:34;14831:18;;;14824:62;-1:-1:-1;;;14902:18:1;;;14895:32;14944:19;;40428:44:0;14571:398:1;40368:238:0;40503:30;40494:5;:39;;;;;;;;:::i;:::-;;40490:116;;;40550:44;;-1:-1:-1;;;40550:44:0;;17889:2:1;40550:44:0;;;17871:21:1;17928:2;17908:18;;;17901:30;17967:34;17947:18;;;17940:62;-1:-1:-1;;;18018:18:1;;;18011:32;18060:19;;40550:44:0;17687:398:1;40490:116:0;39970:643;:::o;35478:382::-;-1:-1:-1;;;;;35558:16:0;;35550:61;;;;-1:-1:-1;;;35550:61:0;;18292:2:1;35550:61:0;;;18274:21:1;;;18311:18;;;18304:30;18370:34;18350:18;;;18343:62;18422:18;;35550:61:0;18090:356:1;35550:61:0;33565:4;33589:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33589:16:0;:30;35622:58;;;;-1:-1:-1;;;35622:58:0;;12262:2:1;35622:58:0;;;12244:21:1;12301:2;12281:18;;;12274:30;12340;12320:18;;;12313:58;12388:18;;35622:58:0;12060:352:1;35622:58:0;-1:-1:-1;;;;;35751:13:0;;;;;;:9;:13;;;;;:18;;35768:1;;35751:13;:18;;35768:1;;35751:18;:::i;:::-;;;;-1:-1:-1;;35780:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35780:21:0;-1:-1:-1;;;;;35780:21:0;;;;;;;;35819:33;;35780:16;;;35819:33;;35780:16;;35819:33;35478:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:221::-;693:5;746:3;739:4;731:6;727:17;723:27;713:55;;764:1;761;754:12;713:55;786:79;861:3;852:6;839:20;832:4;824:6;820:17;786:79;:::i;876:156::-;942:20;;1002:4;991:16;;981:27;;971:55;;1022:1;1019;1012:12;971:55;876:156;;;:::o;1037:247::-;1096:6;1149:2;1137:9;1128:7;1124:23;1120:32;1117:52;;;1165:1;1162;1155:12;1117:52;1204:9;1191:23;1223:31;1248:5;1223:31;:::i;1289:251::-;1359:6;1412:2;1400:9;1391:7;1387:23;1383:32;1380:52;;;1428:1;1425;1418:12;1380:52;1460:9;1454:16;1479:31;1504:5;1479:31;:::i;1545:388::-;1613:6;1621;1674:2;1662:9;1653:7;1649:23;1645:32;1642:52;;;1690:1;1687;1680:12;1642:52;1729:9;1716:23;1748:31;1773:5;1748:31;:::i;:::-;1798:5;-1:-1:-1;1855:2:1;1840:18;;1827:32;1868:33;1827:32;1868:33;:::i;:::-;1920:7;1910:17;;;1545:388;;;;;:::o;1938:456::-;2015:6;2023;2031;2084:2;2072:9;2063:7;2059:23;2055:32;2052:52;;;2100:1;2097;2090:12;2052:52;2139:9;2126:23;2158:31;2183:5;2158:31;:::i;:::-;2208:5;-1:-1:-1;2265:2:1;2250:18;;2237:32;2278:33;2237:32;2278:33;:::i;:::-;1938:456;;2330:7;;-1:-1:-1;;;2384:2:1;2369:18;;;;2356:32;;1938:456::o;2399:794::-;2494:6;2502;2510;2518;2571:3;2559:9;2550:7;2546:23;2542:33;2539:53;;;2588:1;2585;2578:12;2539:53;2627:9;2614:23;2646:31;2671:5;2646:31;:::i;:::-;2696:5;-1:-1:-1;2753:2:1;2738:18;;2725:32;2766:33;2725:32;2766:33;:::i;:::-;2818:7;-1:-1:-1;2872:2:1;2857:18;;2844:32;;-1:-1:-1;2927:2:1;2912:18;;2899:32;2954:18;2943:30;;2940:50;;;2986:1;2983;2976:12;2940:50;3009:22;;3062:4;3054:13;;3050:27;-1:-1:-1;3040:55:1;;3091:1;3088;3081:12;3040:55;3114:73;3179:7;3174:2;3161:16;3156:2;3152;3148:11;3114:73;:::i;:::-;3104:83;;;2399:794;;;;;;;:::o;3198:416::-;3263:6;3271;3324:2;3312:9;3303:7;3299:23;3295:32;3292:52;;;3340:1;3337;3330:12;3292:52;3379:9;3366:23;3398:31;3423:5;3398:31;:::i;:::-;3448:5;-1:-1:-1;3505:2:1;3490:18;;3477:32;3547:15;;3540:23;3528:36;;3518:64;;3578:1;3575;3568:12;3619:315;3687:6;3695;3748:2;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3803:9;3790:23;3822:31;3847:5;3822:31;:::i;:::-;3872:5;3924:2;3909:18;;;;3896:32;;-1:-1:-1;;;3619:315:1:o;3939:245::-;3997:6;4050:2;4038:9;4029:7;4025:23;4021:32;4018:52;;;4066:1;4063;4056:12;4018:52;4105:9;4092:23;4124:30;4148:5;4124:30;:::i;4189:249::-;4258:6;4311:2;4299:9;4290:7;4286:23;4282:32;4279:52;;;4327:1;4324;4317:12;4279:52;4359:9;4353:16;4378:30;4402:5;4378:30;:::i;4443:322::-;4512:6;4565:2;4553:9;4544:7;4540:23;4536:32;4533:52;;;4581:1;4578;4571:12;4533:52;4621:9;4608:23;4654:18;4646:6;4643:30;4640:50;;;4686:1;4683;4676:12;4640:50;4709;4751:7;4742:6;4731:9;4727:22;4709:50;:::i;4770:180::-;4829:6;4882:2;4870:9;4861:7;4857:23;4853:32;4850:52;;;4898:1;4895;4888:12;4850:52;-1:-1:-1;4921:23:1;;4770:180;-1:-1:-1;4770:180:1:o;4955:390::-;5033:6;5041;5094:2;5082:9;5073:7;5069:23;5065:32;5062:52;;;5110:1;5107;5100:12;5062:52;5146:9;5133:23;5123:33;;5207:2;5196:9;5192:18;5179:32;5234:18;5226:6;5223:30;5220:50;;;5266:1;5263;5256:12;5220:50;5289;5331:7;5322:6;5311:9;5307:22;5289:50;:::i;:::-;5279:60;;;4955:390;;;;;:::o;5350:387::-;5434:6;5442;5450;5458;5511:3;5499:9;5490:7;5486:23;5482:33;5479:53;;;5528:1;5525;5518:12;5479:53;5564:9;5551:23;5541:33;;5593:36;5625:2;5614:9;5610:18;5593:36;:::i;:::-;5350:387;;5583:46;;-1:-1:-1;;;;5676:2:1;5661:18;;5648:32;;5727:2;5712:18;5699:32;;5350:387::o;5742:318::-;5817:6;5825;5833;5886:2;5874:9;5865:7;5861:23;5857:32;5854:52;;;5902:1;5899;5892:12;5854:52;5925:27;5942:9;5925:27;:::i;:::-;5915:37;5999:2;5984:18;;5971:32;;-1:-1:-1;6050:2:1;6035:18;;;6022:32;;5742:318;-1:-1:-1;;;5742:318:1:o;6065:257::-;6106:3;6144:5;6138:12;6171:6;6166:3;6159:19;6187:63;6243:6;6236:4;6231:3;6227:14;6220:4;6213:5;6209:16;6187:63;:::i;:::-;6304:2;6283:15;-1:-1:-1;;6279:29:1;6270:39;;;;6311:4;6266:50;;6065:257;-1:-1:-1;;6065:257:1:o;6561:470::-;6740:3;6778:6;6772:13;6794:53;6840:6;6835:3;6828:4;6820:6;6816:17;6794:53;:::i;:::-;6910:13;;6869:16;;;;6932:57;6910:13;6869:16;6966:4;6954:17;;6932:57;:::i;:::-;7005:20;;6561:470;-1:-1:-1;;;;6561:470:1:o;7244:488::-;-1:-1:-1;;;;;7513:15:1;;;7495:34;;7565:15;;7560:2;7545:18;;7538:43;7612:2;7597:18;;7590:34;;;7660:3;7655:2;7640:18;;7633:31;;;7438:4;;7681:45;;7706:19;;7698:6;7681:45;:::i;:::-;7673:53;7244:488;-1:-1:-1;;;;;;7244:488:1:o;8016:632::-;8187:2;8239:21;;;8309:13;;8212:18;;;8331:22;;;8158:4;;8187:2;8410:15;;;;8384:2;8369:18;;;8158:4;8453:169;8467:6;8464:1;8461:13;8453:169;;;8528:13;;8516:26;;8597:15;;;;8562:12;;;;8489:1;8482:9;8453:169;;;-1:-1:-1;8639:3:1;;8016:632;-1:-1:-1;;;;;;8016:632:1:o;9248:219::-;9397:2;9386:9;9379:21;9360:4;9417:44;9457:2;9446:9;9442:18;9434:6;9417:44;:::i;10945:343::-;11147:2;11129:21;;;11186:2;11166:18;;;11159:30;-1:-1:-1;;;11220:2:1;11205:18;;11198:49;11279:2;11264:18;;10945:343::o;11293:414::-;11495:2;11477:21;;;11534:2;11514:18;;;11507:30;11573:34;11568:2;11553:18;;11546:62;-1:-1:-1;;;11639:2:1;11624:18;;11617:48;11697:3;11682:19;;11293:414::o;16975:346::-;17177:2;17159:21;;;17216:2;17196:18;;;17189:30;-1:-1:-1;;;17250:2:1;17235:18;;17228:52;17312:2;17297:18;;16975:346::o;20443:413::-;20645:2;20627:21;;;20684:2;20664:18;;;20657:30;20723:34;20718:2;20703:18;;20696:62;-1:-1:-1;;;20789:2:1;20774:18;;20767:47;20846:3;20831:19;;20443:413::o;23471:128::-;23511:3;23542:1;23538:6;23535:1;23532:13;23529:39;;;23548:18;;:::i;:::-;-1:-1:-1;23584:9:1;;23471:128::o;23604:120::-;23644:1;23670;23660:35;;23675:18;;:::i;:::-;-1:-1:-1;23709:9:1;;23604:120::o;23729:168::-;23769:7;23835:1;23831;23827:6;23823:14;23820:1;23817:21;23812:1;23805:9;23798:17;23794:45;23791:71;;;23842:18;;:::i;:::-;-1:-1:-1;23882:9:1;;23729:168::o;23902:125::-;23942:4;23970:1;23967;23964:8;23961:34;;;23975:18;;:::i;:::-;-1:-1:-1;24012:9:1;;23902:125::o;24032:258::-;24104:1;24114:113;24128:6;24125:1;24122:13;24114:113;;;24204:11;;;24198:18;24185:11;;;24178:39;24150:2;24143:10;24114:113;;;24245:6;24242:1;24239:13;24236:48;;;-1:-1:-1;;24280:1:1;24262:16;;24255:27;24032:258::o;24295:380::-;24374:1;24370:12;;;;24417;;;24438:61;;24492:4;24484:6;24480:17;24470:27;;24438:61;24545:2;24537:6;24534:14;24514:18;24511:38;24508:161;;;24591:10;24586:3;24582:20;24579:1;24572:31;24626:4;24623:1;24616:15;24654:4;24651:1;24644:15;24508:161;;24295:380;;;:::o;24680:135::-;24719:3;-1:-1:-1;;24740:17:1;;24737:43;;;24760:18;;:::i;:::-;-1:-1:-1;24807:1:1;24796:13;;24680:135::o;24820:112::-;24852:1;24878;24868:35;;24883:18;;:::i;:::-;-1:-1:-1;24917:9:1;;24820:112::o;24937:127::-;24998:10;24993:3;24989:20;24986:1;24979:31;25029:4;25026:1;25019:15;25053:4;25050:1;25043:15;25069:127;25130:10;25125:3;25121:20;25118:1;25111:31;25161:4;25158:1;25151:15;25185:4;25182:1;25175:15;25201:127;25262:10;25257:3;25253:20;25250:1;25243:31;25293:4;25290:1;25283:15;25317:4;25314:1;25307:15;25333:127;25394:10;25389:3;25385:20;25382:1;25375:31;25425:4;25422:1;25415:15;25449:4;25446:1;25439:15;25465:127;25526:10;25521:3;25517:20;25514:1;25507:31;25557:4;25554:1;25547:15;25581:4;25578:1;25571:15;25597:131;-1:-1:-1;;;;;25672:31:1;;25662:42;;25652:70;;25718:1;25715;25708:12;25733:131;-1:-1:-1;;;;;;25807:32:1;;25797:43;;25787:71;;25854:1;25851;25844:12

Swarm Source

ipfs://cc0ae4f1fd5288f4b67edf271f3c2025003fc897554bbba208bd74e63dfdd243
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.