Contract 0x8953cb47cf2a711d9e5aa84600004f5870cd76f5 2

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x95e6eec314c8a1bdc23eb632621c4343012d3c40f863ba1e10a1232818718b16Set Approval For...106406312021-12-06 18:38:452 days 5 hrs ago0x6464cbe07095addb9b2cf7c58eac6a842e9f5691 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00011547252.5
0x8ad65b56e787f900dc8a718c699631d1bc5bb5e34954e958a86544341df89903Set Approval For...106224672021-12-06 3:30:332 days 21 hrs ago0xded5b4caf5059bfefccf12d464cea2cd47ff7996 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00011547252.5
0x23eb3a531b4f7fb7aab46bf0b9a97dabcce7c9b6b6e6b39e755aac6cb6c0d709Approve106070762021-12-05 14:41:003 days 9 hrs ago0xbf230e9f6f12b315645364c333cdf2ff8b814e75 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x2ef5613d0e936e8bc5d9414a2914751fcc520a55cbd28d46e0173291af942326Approve105602902021-12-03 23:41:425 days 56 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xf1d78be993275f44e9a062aeba632d57ac5e5e93771f035cd94c08586639fd2eApprove105602872021-12-03 23:41:335 days 56 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xbc26f056b38a8734b85b75cb37b17d5091c496dac04325da55734e31763b086eApprove105602842021-12-03 23:41:245 days 56 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x87c0afdd301dc9272a207939a60983548c630f1b65da6ea68e4bbe14e302b4cfApprove105602802021-12-03 23:41:125 days 56 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x3befd313ac68f6e1a816b0a59c9505ff3482f4029227485a80f7927465efe3f9Approve105602772021-12-03 23:41:035 days 56 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xe16cb68eb4e078ed25fa9acd63f4eb39e675858f51fa9bd15b5e4e3e59ecbee2Approve105602742021-12-03 23:40:545 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x8b53d84300f3151b25aaa997d491cb4e75d24174d7cf04e039b8342cd38eac41Approve105602712021-12-03 23:40:455 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x77aeea7741b6344c932e56ce7ed566f93d553f60015b76d415f120d2007e479bApprove105602682021-12-03 23:40:365 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xce8444fbd67005e14dc308fd70c097cf5f021d6b1bcbd2e3d3eff4698a11a9a1Approve105602652021-12-03 23:40:275 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xdb19c5367e047ef072594c81ebde91749c99118fdcbfa7f4afd5fa5e5806b317Approve105602622021-12-03 23:40:185 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xb5781f5e71668b4207f275c1df0bd8dee9a062a39ba6973bc5b894828162deeaApprove105602592021-12-03 23:40:095 days 57 mins ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x0ad062dee1584f2d51ff28f713bf41aab4522f045d78633c3ae8789284d948ceSet Approval For...104025782021-11-28 12:16:0610 days 12 hrs ago0x874fa454e9394ebe0bfadbb06f86482d4df3b758 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00006069252.5
0x2e99375930019041bbf03da5630a786449002891dce8b09cb780be92e7bc982bApprove103497632021-11-26 16:15:2112 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x428978a38d5bd2454976c2aef9aa605992347030ea70f12b5ad80ac3c58d8e2cApprove103497572021-11-26 16:15:0312 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x1215021d4e1135f04562f2d67405bbbaacabf8a0a6d0517d0bfe0a0484197452Approve103497532021-11-26 16:14:5112 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00007214252.5
0x3feac621474778d6f53923b9f3f256250b5af760e12eacabfc66f96a571e00dbApprove103497472021-11-26 16:14:3312 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xf6ce7004e2ba3e3a6eae995bdaffeb8dfbdab1809e0975b914c5241f05e066c0Approve103497422021-11-26 16:14:1812 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x3622b0cf1759236bad11a6e34983c3838d72384072c320909fdcea81a189be40Approve103497372021-11-26 16:14:0312 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xafe07cf9c51597c857470f01557b23959cebf0cdb6e9b6e7a0490dfbf48051f0Approve103497332021-11-26 16:13:5112 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x6aeb47bfdd19e3527fdef97dc4c9f467d47767cbf457cc881e5fa1887856cdacApprove103497292021-11-26 16:13:3912 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0xbbbcd9b05aedeb33e1e59a4ec296d00d6f7087c2b3b339d513b2a7ed460d21cfApprove103496782021-11-26 16:11:0612 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
0x9bc6e45a34bac601f6c5fb11a085ce5b9e1cebc439b84c0f7a00e8ecf63d6bd3Approve103496742021-11-26 16:10:5412 days 8 hrs ago0x2d221aac1a77deef4d66c917e8d59ec96e4e4d00 IN  0x8953cb47cf2a711d9e5aa84600004f5870cd76f50 HT0.00012189252.5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
STBNft

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-09-17
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

// File: node_modules\@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\IERC721Enumerable.sol

interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

pragma solidity ^0.8.0;



// File: contracts\interfaces\ISTBNft.sol


pragma solidity ^0.8.0;


interface ISTBNft is IERC721Enumerable {
  function mint(
    address to,
    uint256 champion_,
    uint256 level_,
    uint256 remainingTime_
  ) external;

  function level(uint256 tokenId) external view returns (uint256);

  function remainingTime(uint256 tokenId) external view returns (uint256);

  function champion(uint256 tokenId) external view returns (uint256);

  function frozenUntil(uint256 tokenId) external view returns (uint256);

  function tier(uint256 champion_) external view returns (uint256);

  function tierSetSize(uint256 tier_) external view returns (uint256);

  function tierSet(uint256 tier_, uint256 index) external view returns (uint256);

  function tokenTier(uint256 tokenId) external view returns (uint256);

  function championSetSize() external view returns (uint256);

  function championSet(uint256 index) external view returns (uint256);

  function setTier(uint256 champion_, uint256 tier_) external;

  function decreaseRemainingTime(uint256 tokenId, uint256 value) external;

  function burn(uint256 tokenId) external;

  event SetTier(uint256 indexed champion, uint256 indexed tier);

  event AddChampion(uint256 indexed champion);
}

// File: node_modules\@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: node_modules\@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: node_modules\@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: node_modules\@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: node_modules\@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: node_modules\@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: node_modules\@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: node_modules\@openzeppelin\contracts\token\ERC721\extensions\IERC721Enumerable.sol



pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */


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



pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\token\ERC721\extensions\ERC721Burnable.sol



pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

// File: node_modules\@openzeppelin\contracts\access\IAccessControl.sol



pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: node_modules\@openzeppelin\contracts\access\IAccessControlEnumerable.sol



pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

// File: node_modules\@openzeppelin\contracts\access\AccessControl.sol



pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: node_modules\@openzeppelin\contracts\utils\structs\EnumerableSet.sol



pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */

// File: @openzeppelin\contracts\access\AccessControlEnumerable.sol



pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override(AccessControl, IAccessControl) {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

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



pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin\contracts\utils\structs\EnumerableSet.sol



pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

// 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: contracts\STBNft.sol


pragma solidity ^0.8.0;








contract STBNft is AccessControlEnumerable, ERC721Enumerable, ERC721Burnable, ISTBNft {
  using SafeMath for uint256;

  using Counters for Counters.Counter;

  using EnumerableSet for EnumerableSet.UintSet;

  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

  bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

  bytes32 public constant CA_ROLE = keccak256("CA_ROLE");

  Counters.Counter private _tokenIdTracker;

  string private _baseTokenURI;

  mapping(uint256 => uint256) private _level;

  mapping(uint256 => uint256) private _remainingTime;

  mapping(uint256 => uint256) private _champion;

  mapping(uint256 => uint256) private _frozenUntil;

  mapping(uint256 => uint256) private _tier; // tier of champions, 1 for white, 2 for blue, 3 for purple, 4 for golden

  mapping(uint256 => EnumerableSet.UintSet) private _tierSet;

  EnumerableSet.UintSet private _championSet;

  constructor(
    string memory name,
    string memory symbol,
    string memory baseTokenURI
  ) ERC721(name, symbol) {
    _baseTokenURI = baseTokenURI;

    _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    _setupRole(CA_ROLE, _msgSender());
  }

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

  function level(uint256 tokenId) public view override returns (uint256) {
    return _level[tokenId];
  }

  function remainingTime(uint256 tokenId) public view override returns (uint256) {
    return _remainingTime[tokenId];
  }

  function champion(uint256 tokenId) public view override returns (uint256) {
    return _champion[tokenId];
  }

  function frozenUntil(uint256 tokenId) public view override returns (uint256) {
    return _frozenUntil[tokenId];
  }

  function tier(uint256 champion_) public view override returns (uint256) {
    return _tier[champion_];
  }

  function tierSetSize(uint256 tier_) public view override returns (uint256) {
    return _tierSet[tier_].length();
  }

  function tierSet(uint256 tier_, uint256 index) public view override returns (uint256) {
    return _tierSet[tier_].at(index);
  }

  function tokenTier(uint256 tokenId) public view override returns (uint256) {
    return _tier[_champion[tokenId]];
  }

  function championSetSize() public view override returns (uint256) {
    return _championSet.length();
  }

  function championSet(uint256 index) public view override returns (uint256) {
    return _championSet.at(index);
  }

  function setTier(uint256 champion_, uint256 tier_) public override onlyRole(CA_ROLE) {
    require(tier_ > 0, "Tier must be greater than zero.");
    require(_tier[champion_] != tier_, "Already that tier.");
    if (_tier[champion_] > 0) {
      _tierSet[_tier[champion_]].remove(champion_);
    } else {
      _championSet.add(champion_);
      _tier[champion_] = tier_;

      emit AddChampion(champion_);
    }
    _tierSet[tier_].add(champion_);

    emit SetTier(champion_, tier_);
  }

  function mint(
    address to,
    uint256 champion_,
    uint256 level_,
    uint256 remainingTime_
  ) public override onlyRole(MINTER_ROLE) {
    // We cannot just use balanceOf to create the new tokenId because tokens
    // can be burned (destroyed), so we need a separate counter.
    uint256 currentId = _tokenIdTracker.current();

    _mint(to, currentId);
    _level[currentId] = level_;
    _remainingTime[currentId] = remainingTime_;
    _champion[currentId] = champion_;
    _tokenIdTracker.increment();
  }

  function burn(uint256 tokenId) public override(ISTBNft, ERC721Burnable) {
    ERC721Burnable.burn(tokenId);
  }

  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(AccessControlEnumerable, ERC721, ERC721Enumerable, IERC165)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }

  function decreaseRemainingTime(uint256 tokenId, uint256 value) external override onlyRole(CA_ROLE) {
    _remainingTime[tokenId] = _remainingTime[tokenId].sub(value);
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function setUpMinter(address minter) public onlyRole(DEFAULT_ADMIN_ROLE) {
    grantRole(MINTER_ROLE, minter);
  }

  function revokeMinter(address minter) public onlyRole(DEFAULT_ADMIN_ROLE) {
    revokeRole(MINTER_ROLE, minter);
  }

  function setUpBurner(address burner) public onlyRole(DEFAULT_ADMIN_ROLE) {
    grantRole(BURNER_ROLE, burner);
  }

  function revokeBurner(address burner) public onlyRole(DEFAULT_ADMIN_ROLE) {
    revokeRole(BURNER_ROLE, burner);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"champion","type":"uint256"}],"name":"AddChampion","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"champion","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tier","type":"uint256"}],"name":"SetTier","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CA_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"champion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"championSet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"championSetSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"decreaseRemainingTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"frozenUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"level","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"champion_","type":"uint256"},{"internalType":"uint256","name":"level_","type":"uint256"},{"internalType":"uint256","name":"remainingTime_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"remainingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"}],"name":"revokeBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"champion_","type":"uint256"},{"internalType":"uint256","name":"tier_","type":"uint256"}],"name":"setTier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"}],"name":"setUpBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"setUpMinter","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":"champion_","type":"uint256"}],"name":"tier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tierSet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier_","type":"uint256"}],"name":"tierSetSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenTier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002cba38038062002cba833981016040819052620000349162000380565b8251839083906200004d90600290602085019062000223565b5080516200006390600390602084019062000223565b505081516200007b9150600d90602084019062000223565b5062000089600033620000be565b620000b57f57f8092dc777863fb9f3f635b7bf838aba889249106b50a88ef89f54a4ecb26033620000be565b50505062000464565b620000d582826200010160201b6200117d1760201c565b6000828152600160209081526040909120620000fc9183906200118762000111821b17901c565b505050565b6200010d828262000131565b5050565b600062000128836001600160a01b038416620001d1565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200010d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200018d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200021a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200012b565b5060006200012b565b828054620002319062000411565b90600052602060002090601f016020900481019282620002555760008555620002a0565b82601f106200027057805160ff1916838001178555620002a0565b82800160010185558215620002a0579182015b82811115620002a057825182559160200191906001019062000283565b50620002ae929150620002b2565b5090565b5b80821115620002ae5760008155600101620002b3565b600082601f830112620002db57600080fd5b81516001600160401b0380821115620002f857620002f86200044e565b604051601f8301601f19908116603f011681019082821181831017156200032357620003236200044e565b816040528381526020925086838588010111156200034057600080fd5b600091505b8382101562000364578582018301518183018401529082019062000345565b83821115620003765760008385830101525b9695505050505050565b6000806000606084860312156200039657600080fd5b83516001600160401b0380821115620003ae57600080fd5b620003bc87838801620002c9565b94506020860151915080821115620003d357600080fd5b620003e187838801620002c9565b93506040860151915080821115620003f857600080fd5b506200040786828701620002c9565b9150509250925092565b600181811c908216806200042657607f821691505b602082108114156200044857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61284680620004746000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c80638c74cf911161015c578063b88d4fde116100ce578063d53f2f5d11610087578063d53f2f5d1461061c578063d547741f1461062f578063e985e9c514610642578063f1e237261461067e578063fa41e8ec14610691578063faa3c6a91461069957600080fd5b8063b88d4fde146105a8578063bd7ddef5146105bb578063c87b56dd146105ce578063ca15c873146105e1578063cfbd4885146105f4578063d53913931461060757600080fd5b80639e293f22116101205780639e293f2214610534578063a217fddf14610547578063a22cb4651461054f578063a34e599014610562578063a647e8ec14610575578063a8bbc0c01461058857600080fd5b80638c74cf91146104cc5780639010d07c146104df57806391d14854146104f257806395d89b411461050557806397068f0c1461050d57600080fd5b80632f2ff15d116101f55780634f6ccce7116101b95780634f6ccce7146104265780636080d841146104395780636352211e14610459578063649e705f1461046c5780636dda34db1461049957806370a08231146104b957600080fd5b80632f2ff15d146103c75780632f745c59146103da57806336568abe146103ed57806342842e0e1461040057806342966c681461041357600080fd5b8063095ea7b311610247578063095ea7b31461032f5780630c64a7f21461034257806318160ddd1461036257806323b872dd1461036a578063248a9ca31461037d578063282c51f3146103a057600080fd5b806301ffc9a71461028457806305c58df2146102ac57806306fdde03146102da578063081812fc146102ef5780630900cc331461031a575b600080fd5b610297610292366004612460565b6106ac565b60405190151581526020015b60405180910390f35b6102cc6102ba366004612402565b6000908152600e602052604090205490565b6040519081526020016102a3565b6102e26106bd565b6040516102a391906125a7565b6103026102fd366004612402565b61074f565b6040516001600160a01b0390911681526020016102a3565b61032d6103283660046121fd565b6107e9565b005b61032d61033d36600461239f565b610823565b6102cc610350366004612402565b6000908152600f602052604090205490565b600a546102cc565b61032d61037836600461224b565b610939565b6102cc61038b366004612402565b60009081526020819052604090206001015490565b6102cc7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61032d6103d536600461241b565b61096b565b6102cc6103e836600461239f565b61098d565b61032d6103fb36600461241b565b610a23565b61032d61040e36600461224b565b610a45565b61032d610421366004612402565b610a60565b6102cc610434366004612402565b610a6c565b6102cc610447366004612402565b60009081526010602052604090205490565b610302610467366004612402565b610aff565b6102cc61047a366004612402565b6000908152601060209081526040808320548352601290915290205490565b6102cc6104a7366004612402565b60009081526012602052604090205490565b6102cc6104c73660046121fd565b610b76565b6102cc6104da36600461243e565b610bfd565b6103026104ed36600461243e565b610c1c565b61029761050036600461241b565b610c34565b6102e2610c5d565b6102cc7f57f8092dc777863fb9f3f635b7bf838aba889249106b50a88ef89f54a4ecb26081565b61032d61054236600461243e565b610c6c565b6102cc600081565b61032d61055d366004612363565b610cc7565b61032d61057036600461243e565b610d8c565b61032d6105833660046123c9565b610f29565b6102cc610596366004612402565b60009081526011602052604090205490565b61032d6105b6366004612287565b610f97565b61032d6105c93660046121fd565b610fcf565b6102e26105dc366004612402565b610ff3565b6102cc6105ef366004612402565b6110cd565b61032d6106023660046121fd565b6110e4565b6102cc6000805160206127f183398151915281565b6102cc61062a366004612402565b611108565b61032d61063d36600461241b565b61111f565b610297610650366004612218565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61032d61068c3660046121fd565b611129565b6102cc61115f565b6102cc6106a7366004612402565b611170565b60006106b78261119c565b92915050565b6060600280546106cc90612702565b80601f01602080910402602001604051908101604052809291908181526020018280546106f890612702565b80156107455780601f1061071a57610100808354040283529160200191610745565b820191906000526020600020905b81548152906001019060200180831161072857829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b03166107cd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f581336111c1565b61081f7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8488361111f565b5050565b600061082e82610aff565b9050806001600160a01b0316836001600160a01b0316141561089c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107c4565b336001600160a01b03821614806108b857506108b88133610650565b61092a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107c4565b6109348383611225565b505050565b610944335b82611293565b6109605760405162461bcd60e51b81526004016107c49061260c565b61093483838361138a565b6109758282611535565b60008281526001602052604090206109349082611187565b600061099883610b76565b82106109fa5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107c4565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b610a2d828261155b565b600082815260016020526040902061093490826115d5565b61093483838360405180602001604052806000815250610f97565b610a69816115ea565b50565b6000610a77600a5490565b8210610ada5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107c4565b600a8281548110610aed57610aed6127ae565b90600052602060002001549050919050565b6000818152600460205260408120546001600160a01b0316806106b75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107c4565b60006001600160a01b038216610be15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107c4565b506001600160a01b031660009081526005602052604090205490565b6000828152601360205260408120610c159083611661565b9392505050565b6000828152600160205260408120610c159083611661565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600380546106cc90612702565b7f57f8092dc777863fb9f3f635b7bf838aba889249106b50a88ef89f54a4ecb260610c9781336111c1565b6000838152600f6020526040902054610cb0908361166d565b6000938452600f6020526040909320929092555050565b6001600160a01b038216331415610d205760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107c4565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b7f57f8092dc777863fb9f3f635b7bf838aba889249106b50a88ef89f54a4ecb260610db781336111c1565b60008211610e075760405162461bcd60e51b815260206004820152601f60248201527f54696572206d7573742062652067726561746572207468616e207a65726f2e0060448201526064016107c4565b600083815260126020526040902054821415610e5a5760405162461bcd60e51b815260206004820152601260248201527120b63932b0b23c903a3430ba103a34b2b91760711b60448201526064016107c4565b60008381526012602052604090205415610e9957600083815260126020908152604080832054835260139091529020610e939084611679565b50610ede565b610ea4601484611685565b506000838152601260205260408082208490555184917facc58b083f25413442108a73054e3dc6c314ebc3ef5284e791b719330a30871c91a25b6000828152601360205260409020610ef69084611685565b50604051829084907fa753985ba400e02c9a9211a0d1bd11e7d5bea4e7ef7b0bd996d5e02ec8d9ade890600090a3505050565b6000805160206127f1833981519152610f4281336111c1565b6000610f4d600c5490565b9050610f598682611691565b6000818152600e60209081526040808320879055600f825280832086905560109091529020859055610f8f600c80546001019055565b505050505050565b610fa13383611293565b610fbd5760405162461bcd60e51b81526004016107c49061260c565b610fc9848484846117df565b50505050565b6000610fdb81336111c1565b61081f6000805160206127f18339815191528361096b565b6000818152600460205260409020546060906001600160a01b03166110725760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107c4565b600061107c611812565b9050600081511161109c5760405180602001604052806000815250610c15565b806110a684611821565b6040516020016110b79291906124c6565b6040516020818303038152906040529392505050565b60008181526001602052604081206106b79061191f565b60006110f081336111c1565b61081f6000805160206127f18339815191528361111f565b60008181526013602052604081206106b79061191f565b610a2d8282611929565b600061113581336111c1565b61081f7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8488361096b565b600061116b601461191f565b905090565b60006106b7601483611661565b61081f828261194f565b6000610c15836001600160a01b0384166119d3565b60006001600160e01b0319821663780e9d6360e01b14806106b757506106b782611a22565b6111cb8282610c34565b61081f576111e3816001600160a01b03166014611a62565b6111ee836020611a62565b6040516020016111ff9291906124f5565b60408051601f198184030181529082905262461bcd60e51b82526107c4916004016125a7565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061125a82610aff565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b031661130c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107c4565b600061131783610aff565b9050806001600160a01b0316846001600160a01b031614806113525750836001600160a01b03166113478461074f565b6001600160a01b0316145b8061138257506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661139d82610aff565b6001600160a01b0316146114055760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107c4565b6001600160a01b0382166114675760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107c4565b611472838383611bfe565b61147d600082611225565b6001600160a01b03831660009081526005602052604081208054600192906114a69084906126a8565b90915550506001600160a01b03821660009081526005602052604081208054600192906114d490849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526020819052604090206001015461155181336111c1565b610934838361194f565b6001600160a01b03811633146115cb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107c4565b61081f8282611c09565b6000610c15836001600160a01b038416611c6e565b6115f33361093e565b6116585760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107c4565b610a6981611d61565b6000610c158383611e08565b6000610c1582846126a8565b6000610c158383611c6e565b6000610c1583836119d3565b6001600160a01b0382166116e75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107c4565b6000818152600460205260409020546001600160a01b03161561174c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107c4565b61175860008383611bfe565b6001600160a01b038216600090815260056020526040812080546001929061178190849061265d565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6117ea84848461138a565b6117f684848484611e32565b610fc95760405162461bcd60e51b81526004016107c4906125ba565b6060600d80546106cc90612702565b6060816118455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561186f57806118598161273d565b91506118689050600a83612675565b9150611849565b60008167ffffffffffffffff81111561188a5761188a6127c4565b6040519080825280601f01601f1916602001820160405280156118b4576020820181803683370190505b5090505b8415611382576118c96001836126a8565b91506118d6600a86612758565b6118e190603061265d565b60f81b8183815181106118f6576118f66127ae565b60200101906001600160f81b031916908160001a905350611918600a86612675565b94506118b8565b60006106b7825490565b60008281526020819052604090206001015461194581336111c1565b6109348383611c09565b6119598282610c34565b61081f576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561198f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611a1a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106b7565b5060006106b7565b60006001600160e01b031982166380ac58cd60e01b1480611a5357506001600160e01b03198216635b5e139f60e01b145b806106b757506106b782611f3f565b60606000611a71836002612689565b611a7c90600261265d565b67ffffffffffffffff811115611a9457611a946127c4565b6040519080825280601f01601f191660200182016040528015611abe576020820181803683370190505b509050600360fc1b81600081518110611ad957611ad96127ae565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611b0857611b086127ae565b60200101906001600160f81b031916908160001a9053506000611b2c846002612689565b611b3790600161265d565b90505b6001811115611baf576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b6b57611b6b6127ae565b1a60f81b828281518110611b8157611b816127ae565b60200101906001600160f81b031916908160001a90535060049490941c93611ba8816126eb565b9050611b3a565b508315610c155760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107c4565b610934838383611f64565b611c138282610c34565b1561081f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611d57576000611c926001836126a8565b8554909150600090611ca6906001906126a8565b9050818114611d0b576000866000018281548110611cc657611cc66127ae565b9060005260206000200154905080876000018481548110611ce957611ce96127ae565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611d1c57611d1c612798565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106b7565b60009150506106b7565b6000611d6c82610aff565b9050611d7a81600084611bfe565b611d85600083611225565b6001600160a01b0381166000908152600560205260408120805460019290611dae9084906126a8565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826000018281548110611e1f57611e1f6127ae565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611f3457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e7690339089908890889060040161256a565b602060405180830381600087803b158015611e9057600080fd5b505af1925050508015611ec0575060408051601f3d908101601f19168201909252611ebd9181019061247d565b60015b611f1a573d808015611eee576040519150601f19603f3d011682016040523d82523d6000602084013e611ef3565b606091505b508051611f125760405162461bcd60e51b81526004016107c4906125ba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611382565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b14806106b757506106b78261201c565b6001600160a01b038316611fbf57611fba81600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b611fe2565b816001600160a01b0316836001600160a01b031614611fe257611fe28382612051565b6001600160a01b038216611ff957610934816120ee565b826001600160a01b0316826001600160a01b03161461093457610934828261219d565b60006001600160e01b03198216637965db0b60e01b14806106b757506301ffc9a760e01b6001600160e01b03198316146106b7565b6000600161205e84610b76565b61206891906126a8565b6000838152600960205260409020549091508082146120bb576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612100906001906126a8565b6000838152600b6020526040812054600a8054939450909284908110612128576121286127ae565b9060005260206000200154905080600a8381548110612149576121496127ae565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061218157612181612798565b6001900381819060005260206000200160009055905550505050565b60006121a883610b76565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b80356001600160a01b03811681146121f857600080fd5b919050565b60006020828403121561220f57600080fd5b610c15826121e1565b6000806040838503121561222b57600080fd5b612234836121e1565b9150612242602084016121e1565b90509250929050565b60008060006060848603121561226057600080fd5b612269846121e1565b9250612277602085016121e1565b9150604084013590509250925092565b6000806000806080858703121561229d57600080fd5b6122a6856121e1565b93506122b4602086016121e1565b925060408501359150606085013567ffffffffffffffff808211156122d857600080fd5b818701915087601f8301126122ec57600080fd5b8135818111156122fe576122fe6127c4565b604051601f8201601f19908116603f01168101908382118183101715612326576123266127c4565b816040528281528a602084870101111561233f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561237657600080fd5b61237f836121e1565b91506020830135801515811461239457600080fd5b809150509250929050565b600080604083850312156123b257600080fd5b6123bb836121e1565b946020939093013593505050565b600080600080608085870312156123df57600080fd5b6123e8856121e1565b966020860135965060408601359560600135945092505050565b60006020828403121561241457600080fd5b5035919050565b6000806040838503121561242e57600080fd5b82359150612242602084016121e1565b6000806040838503121561245157600080fd5b50508035926020909101359150565b60006020828403121561247257600080fd5b8135610c15816127da565b60006020828403121561248f57600080fd5b8151610c15816127da565b600081518084526124b28160208601602086016126bf565b601f01601f19169290920160200192915050565b600083516124d88184602088016126bf565b8351908301906124ec8183602088016126bf565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161252d8160178501602088016126bf565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161255e8160288401602088016126bf565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061259d9083018461249a565b9695505050505050565b602081526000610c15602083018461249a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126705761267061276c565b500190565b60008261268457612684612782565b500490565b60008160001904831182151516156126a3576126a361276c565b500290565b6000828210156126ba576126ba61276c565b500390565b60005b838110156126da5781810151838201526020016126c2565b83811115610fc95750506000910152565b6000816126fa576126fa61276c565b506000190190565b600181811c9082168061271657607f821691505b6020821081141561273757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127515761275161276c565b5060010190565b60008261276757612767612782565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a6957600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122051251f8fd1962ee0b82f233d8c4214ea999d5f8548f6361ff1e2ea3ccbb5034e64736f6c63430008060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000007535442204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065354424e667400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017687474703a2f2f68737467616d652e636f6d2f6e66742f000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000007535442204e46540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065354424e667400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000017687474703a2f2f68737467616d652e636f6d2f6e66742f000000000000000000

-----Decoded View---------------
Arg [0] : name (string): STB NFT
Arg [1] : symbol (string): STBNft
Arg [2] : baseTokenURI (string): http://hstgame.com/nft/

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 535442204e465400000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 5354424e66740000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [8] : 687474703a2f2f68737467616d652e636f6d2f6e66742f000000000000000000


Deployed ByteCode Sourcemap

79158:4823:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82864:235;;;;;;:::i;:::-;;:::i;:::-;;;7164:14:1;;7157:22;7139:41;;7127:2;7112:18;82864:235:0;;;;;;;;80475:106;;;;;;:::i;:::-;80537:7;80560:15;;;:6;:15;;;;;;;80475:106;;;;7337:25:1;;;7325:2;7310:18;80475:106:0;7292:76:1;23880:100:0;;;:::i;:::-;;;;;;;:::i;25439:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6462:32:1;;;6444:51;;6432:2;6417:18;25439:221:0;6399:102:1;83860:118:0;;;;;;:::i;:::-;;:::i;:::-;;24962:411;;;;;;:::i;:::-;;:::i;80587:122::-;;;;;;:::i;:::-;80657:7;80680:23;;;:14;:23;;;;;;;80587:122;36901:113;36989:10;:17;36901:113;;26329:339;;;;;;:::i;:::-;;:::i;51260:123::-;;;;;;:::i;:::-;51326:7;51353:12;;;;;;;;;;:22;;;;51260:123;79445:62;;79483:24;79445:62;;57147:196;;;;;;:::i;:::-;;:::i;36569:256::-;;;;;;:::i;:::-;;:::i;57732:205::-;;;;;;:::i;:::-;;:::i;26739:185::-;;;;;;:::i;:::-;;:::i;82745:113::-;;;;;;:::i;:::-;;:::i;37091:233::-;;;;;;:::i;:::-;;:::i;80715:112::-;;;;;;:::i;:::-;80780:7;80803:18;;;:9;:18;;;;;;;80715:112;23574:239;;;;;;:::i;:::-;;:::i;81333:120::-;;;;;;:::i;:::-;81399:7;81428:18;;;:9;:18;;;;;;;;;81422:25;;:5;:25;;;;;;;81333:120;80957:108;;;;;;:::i;:::-;81020:7;81043:16;;;:5;:16;;;;;;;80957:108;23304:208;;;;;;:::i;:::-;;:::i;81196:131::-;;;;;;:::i;:::-;;:::i;56602:145::-;;;;;;:::i;:::-;;:::i;50145:139::-;;;;;;:::i;:::-;;:::i;24049:104::-;;;:::i;79514:54::-;;79548:20;79514:54;;83105:172;;;;;;:::i;:::-;;:::i;49236:49::-;;49281:4;49236:49;;25732:295;;;;;;:::i;:::-;;:::i;81695:504::-;;;;;;:::i;:::-;;:::i;82205:534::-;;;;;;:::i;:::-;;:::i;80833:118::-;;;;;;:::i;:::-;80901:7;80924:21;;;:12;:21;;;;;;;80833:118;26995:328;;;;;;:::i;:::-;;:::i;83492:116::-;;;;;;:::i;:::-;;:::i;24224:334::-;;;;;;:::i;:::-;;:::i;56921:134::-;;;;;;:::i;:::-;;:::i;83614:118::-;;;;;;:::i;:::-;;:::i;79376:62::-;;-1:-1:-1;;;;;;;;;;;79376:62:0;;81071:119;;;;;;:::i;:::-;;:::i;57436:201::-;;;;;;:::i;:::-;;:::i;26098:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;26219:25:0;;;26195:4;26219:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26098:164;83738:116;;;;;;:::i;:::-;;:::i;81459:107::-;;;:::i;81572:117::-;;;;;;:::i;:::-;;:::i;82864:235::-;83034:4;83057:36;83081:11;83057:23;:36::i;:::-;83050:43;82864:235;-1:-1:-1;;82864:235:0:o;23880:100::-;23934:13;23967:5;23960:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23880:100;:::o;25439:221::-;25515:7;28922:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28922:16:0;25535:73;;;;-1:-1:-1;;;25535:73:0;;12834:2:1;25535:73:0;;;12816:21:1;12873:2;12853:18;;;12846:30;12912:34;12892:18;;;12885:62;-1:-1:-1;;;12963:18:1;;;12956:42;13015:19;;25535:73:0;;;;;;;;;-1:-1:-1;25628:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25628:24:0;;25439:221::o;83860:118::-;49281:4;49727:30;49281:4;18398:10;49727;:30::i;:::-;83941:31:::1;79483:24;83965:6;83941:10;:31::i;:::-;83860:118:::0;;:::o;24962:411::-;25043:13;25059:23;25074:7;25059:14;:23::i;:::-;25043:39;;25107:5;-1:-1:-1;;;;;25101:11:0;:2;-1:-1:-1;;;;;25101:11:0;;;25093:57;;;;-1:-1:-1;;;25093:57:0;;14073:2:1;25093:57:0;;;14055:21:1;14112:2;14092:18;;;14085:30;14151:34;14131:18;;;14124:62;-1:-1:-1;;;14202:18:1;;;14195:31;14243:19;;25093:57:0;14045:223:1;25093:57:0;18398:10;-1:-1:-1;;;;;25185:21:0;;;;:62;;-1:-1:-1;25210:37:0;25227:5;18398:10;26098:164;:::i;25210:37::-;25163:168;;;;-1:-1:-1;;;25163:168:0;;11227:2:1;25163:168:0;;;11209:21:1;11266:2;11246:18;;;11239:30;11305:34;11285:18;;;11278:62;11376:26;11356:18;;;11349:54;11420:19;;25163:168:0;11199:246:1;25163:168:0;25344:21;25353:2;25357:7;25344:8;:21::i;:::-;25032:341;24962:411;;:::o;26329:339::-;26524:41;18398:10;26543:12;26557:7;26524:18;:41::i;:::-;26516:103;;;;-1:-1:-1;;;26516:103:0;;;;;;;:::i;:::-;26632:28;26642:4;26648:2;26652:7;26632:9;:28::i;57147:196::-;57263:30;57279:4;57285:7;57263:15;:30::i;:::-;57304:18;;;;:12;:18;;;;;:31;;57327:7;57304:22;:31::i;36569:256::-;36666:7;36702:23;36719:5;36702:16;:23::i;:::-;36694:5;:31;36686:87;;;;-1:-1:-1;;;36686:87:0;;8520:2:1;36686:87:0;;;8502:21:1;8559:2;8539:18;;;8532:30;8598:34;8578:18;;;8571:62;-1:-1:-1;;;8649:18:1;;;8642:41;8700:19;;36686:87:0;8492:233:1;36686:87:0;-1:-1:-1;;;;;;36791:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36569:256::o;57732:205::-;57851:33;57870:4;57876:7;57851:18;:33::i;:::-;57895:18;;;;:12;:18;;;;;:34;;57921:7;57895:25;:34::i;26739:185::-;26877:39;26894:4;26900:2;26904:7;26877:39;;;;;;;;;;;;:16;:39::i;82745:113::-;82824:28;82844:7;82824:19;:28::i;:::-;82745:113;:::o;37091:233::-;37166:7;37202:30;36989:10;:17;;36901:113;37202:30;37194:5;:38;37186:95;;;;-1:-1:-1;;;37186:95:0;;14893:2:1;37186:95:0;;;14875:21:1;14932:2;14912:18;;;14905:30;14971:34;14951:18;;;14944:62;-1:-1:-1;;;15022:18:1;;;15015:42;15074:19;;37186:95:0;14865:234:1;37186:95:0;37299:10;37310:5;37299:17;;;;;;;;:::i;:::-;;;;;;;;;37292:24;;37091:233;;;:::o;23574:239::-;23646:7;23682:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23682:16:0;23717:19;23709:73;;;;-1:-1:-1;;;23709:73:0;;12063:2:1;23709:73:0;;;12045:21:1;12102:2;12082:18;;;12075:30;12141:34;12121:18;;;12114:62;-1:-1:-1;;;12192:18:1;;;12185:39;12241:19;;23709:73:0;12035:231:1;23304:208:0;23376:7;-1:-1:-1;;;;;23404:19:0;;23396:74;;;;-1:-1:-1;;;23396:74:0;;11652:2:1;23396:74:0;;;11634:21:1;11691:2;11671:18;;;11664:30;11730:34;11710:18;;;11703:62;-1:-1:-1;;;11781:18:1;;;11774:40;11831:19;;23396:74:0;11624:232:1;23396:74:0;-1:-1:-1;;;;;;23488:16:0;;;;;:9;:16;;;;;;;23304:208::o;81196:131::-;81273:7;81296:15;;;:8;:15;;;;;:25;;81315:5;81296:18;:25::i;:::-;81289:32;81196:131;-1:-1:-1;;;81196:131:0:o;56602:145::-;56684:7;56711:18;;;:12;:18;;;;;:28;;56733:5;56711:21;:28::i;50145:139::-;50223:4;50247:12;;;;;;;;;;;-1:-1:-1;;;;;50247:29:0;;;;;;;;;;;;;;;50145:139::o;24049:104::-;24105:13;24138:7;24131:14;;;;;:::i;83105:172::-;79548:20;49727:30;79548:20;18398:10;49727;:30::i;:::-;83237:23:::1;::::0;;;:14:::1;:23;::::0;;;;;:34:::1;::::0;83265:5;83237:27:::1;:34::i;:::-;83211:23;::::0;;;:14:::1;:23;::::0;;;;;:60;;;;-1:-1:-1;;83105:172:0:o;25732:295::-;-1:-1:-1;;;;;25835:24:0;;18398:10;25835:24;;25827:62;;;;-1:-1:-1;;;25827:62:0;;10460:2:1;25827:62:0;;;10442:21:1;10499:2;10479:18;;;10472:30;10538:27;10518:18;;;10511:55;10583:18;;25827:62:0;10432:175:1;25827:62:0;18398:10;25902:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;25902:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;25902:53:0;;;;;;;;;;25971:48;;7139:41:1;;;25902:42:0;;18398:10;25971:48;;7112:18:1;25971:48:0;;;;;;;25732:295;;:::o;81695:504::-;79548:20;49727:30;79548:20;18398:10;49727;:30::i;:::-;81803:1:::1;81795:5;:9;81787:53;;;::::0;-1:-1:-1;;;81787:53:0;;7799:2:1;81787:53:0::1;::::0;::::1;7781:21:1::0;7838:2;7818:18;;;7811:30;7877:33;7857:18;;;7850:61;7928:18;;81787:53:0::1;7771:181:1::0;81787:53:0::1;81855:16;::::0;;;:5:::1;:16;::::0;;;;;:25;::::1;;81847:56;;;::::0;-1:-1:-1;;;81847:56:0;;9351:2:1;81847:56:0::1;::::0;::::1;9333:21:1::0;9390:2;9370:18;;;9363:30;-1:-1:-1;;;9409:18:1;;;9402:48;9467:18;;81847:56:0::1;9323:168:1::0;81847:56:0::1;81933:1;81914:16:::0;;;:5:::1;:16;::::0;;;;;:20;81910:208:::1;;81945:26;81954:16:::0;;;:5:::1;:16;::::0;;;;;;;;81945:26;;:8:::1;:26:::0;;;;;:44:::1;::::0;81979:9;81945:33:::1;:44::i;:::-;;81910:208;;;82012:27;:12;82029:9:::0;82012:16:::1;:27::i;:::-;-1:-1:-1::0;82048:16:0::1;::::0;;;:5:::1;:16;::::0;;;;;:24;;;82088:22;82054:9;;82088:22:::1;::::0;::::1;81910:208;82124:15;::::0;;;:8:::1;:15;::::0;;;;:30:::1;::::0;82144:9;82124:19:::1;:30::i;:::-;-1:-1:-1::0;82168:25:0::1;::::0;82187:5;;82176:9;;82168:25:::1;::::0;;;::::1;81695:504:::0;;;:::o;82205:534::-;-1:-1:-1;;;;;;;;;;;49727:30:0;79414:24;18398:10;49727;:30::i;:::-;82504:17:::1;82524:25;:15;59115:14:::0;;59023:114;82524:25:::1;82504:45;;82558:20;82564:2;82568:9;82558:5;:20::i;:::-;82585:17;::::0;;;:6:::1;:17;::::0;;;;;;;:26;;;82618:14:::1;:25:::0;;;;;:42;;;82667:9:::1;:20:::0;;;;;:32;;;82706:27:::1;:15;59234:19:::0;;59252:1;59234:19;;;59145:127;82706:27:::1;82353:386;82205:534:::0;;;;;:::o;26995:328::-;27170:41;18398:10;27203:7;27170:18;:41::i;:::-;27162:103;;;;-1:-1:-1;;;27162:103:0;;;;;;;:::i;:::-;27276:39;27290:4;27296:2;27300:7;27309:5;27276:13;:39::i;:::-;26995:328;;;;:::o;83492:116::-;49281:4;49727:30;49281:4;18398:10;49727;:30::i;:::-;83572::::1;-1:-1:-1::0;;;;;;;;;;;83595:6:0::1;83572:9;:30::i;24224:334::-:0;28898:4;28922:16;;;:7;:16;;;;;;24297:13;;-1:-1:-1;;;;;28922:16:0;24323:76;;;;-1:-1:-1;;;24323:76:0;;13657:2:1;24323:76:0;;;13639:21:1;13696:2;13676:18;;;13669:30;13735:34;13715:18;;;13708:62;-1:-1:-1;;;13786:18:1;;;13779:45;13841:19;;24323:76:0;13629:237:1;24323:76:0;24412:21;24436:10;:8;:10::i;:::-;24412:34;;24488:1;24470:7;24464:21;:25;:86;;;;;;;;;;;;;;;;;24516:7;24525:18;:7;:16;:18::i;:::-;24499:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24457:93;24224:334;-1:-1:-1;;;24224:334:0:o;56921:134::-;56993:7;57020:18;;;:12;:18;;;;;:27;;:25;:27::i;83614:118::-;49281:4;49727:30;49281:4;18398:10;49727;:30::i;:::-;83695:31:::1;-1:-1:-1::0;;;;;;;;;;;83719:6:0::1;83695:10;:31::i;81071:119::-:0;81137:7;81160:15;;;:8;:15;;;;;:24;;:22;:24::i;57436:201::-;57553:31;57570:4;57576:7;57553:16;:31::i;83738:116::-;49281:4;49727:30;49281:4;18398:10;49727;:30::i;:::-;83818::::1;79483:24;83841:6;83818:9;:30::i;81459:107::-:0;81516:7;81539:21;:12;:19;:21::i;:::-;81532:28;;81459:107;:::o;81572:117::-;81638:7;81661:22;:12;81677:5;81661:15;:22::i;53494:112::-;53573:25;53584:4;53590:7;53573:10;:25::i;67420:152::-;67490:4;67514:50;67519:3;-1:-1:-1;;;;;67539:23:0;;67514:4;:50::i;36261:224::-;36363:4;-1:-1:-1;;;;;;36387:50:0;;-1:-1:-1;;;36387:50:0;;:90;;;36441:36;36465:11;36441:23;:36::i;50574:497::-;50655:22;50663:4;50669:7;50655;:22::i;:::-;50650:414;;50843:41;50871:7;-1:-1:-1;;;;;50843:41:0;50881:2;50843:19;:41::i;:::-;50957:38;50985:4;50992:2;50957:19;:38::i;:::-;50748:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;50748:270:0;;;;;;;;;;-1:-1:-1;;;50694:358:0;;;;;;;:::i;32815:174::-;32890:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32890:29:0;-1:-1:-1;;;;;32890:29:0;;;;;;;;:24;;32944:23;32890:24;32944:14;:23::i;:::-;-1:-1:-1;;;;;32935:46:0;;;;;;;;;;;32815:174;;:::o;29127:348::-;29220:4;28922:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28922:16:0;29237:73;;;;-1:-1:-1;;;29237:73:0;;10814:2:1;29237:73:0;;;10796:21:1;10853:2;10833:18;;;10826:30;10892:34;10872:18;;;10865:62;-1:-1:-1;;;10943:18:1;;;10936:42;10995:19;;29237:73:0;10786:234:1;29237:73:0;29321:13;29337:23;29352:7;29337:14;:23::i;:::-;29321:39;;29390:5;-1:-1:-1;;;;;29379:16:0;:7;-1:-1:-1;;;;;29379:16:0;;:51;;;;29423:7;-1:-1:-1;;;;;29399:31:0;:20;29411:7;29399:11;:20::i;:::-;-1:-1:-1;;;;;29399:31:0;;29379:51;:87;;;-1:-1:-1;;;;;;26219:25:0;;;26195:4;26219:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29434:32;29371:96;29127:348;-1:-1:-1;;;;29127:348:0:o;32119:578::-;32278:4;-1:-1:-1;;;;;32251:31:0;:23;32266:7;32251:14;:23::i;:::-;-1:-1:-1;;;;;32251:31:0;;32243:85;;;;-1:-1:-1;;;32243:85:0;;13247:2:1;32243:85:0;;;13229:21:1;13286:2;13266:18;;;13259:30;13325:34;13305:18;;;13298:62;-1:-1:-1;;;13376:18:1;;;13369:39;13425:19;;32243:85:0;13219:231:1;32243:85:0;-1:-1:-1;;;;;32347:16:0;;32339:65;;;;-1:-1:-1;;;32339:65:0;;10055:2:1;32339:65:0;;;10037:21:1;10094:2;10074:18;;;10067:30;10133:34;10113:18;;;10106:62;-1:-1:-1;;;10184:18:1;;;10177:34;10228:19;;32339:65:0;10027:226:1;32339:65:0;32417:39;32438:4;32444:2;32448:7;32417:20;:39::i;:::-;32521:29;32538:1;32542:7;32521:8;:29::i;:::-;-1:-1:-1;;;;;32563:15:0;;;;;;:9;:15;;;;;:20;;32582:1;;32563:15;:20;;32582:1;;32563:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32594:13:0;;;;;;:9;:13;;;;;:18;;32611:1;;32594:13;:18;;32611:1;;32594:18;:::i;:::-;;;;-1:-1:-1;;32623:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32623:21:0;-1:-1:-1;;;;;32623:21:0;;;;;;;;;32662:27;;32623:16;;32662:27;;;;;;;32119:578;;;:::o;51645:147::-;51326:7;51353:12;;;;;;;;;;:22;;;49727:30;49738:4;18398:10;49727;:30::i;:::-;51759:25:::1;51770:4;51776:7;51759:10;:25::i;52693:218::-:0;-1:-1:-1;;;;;52789:23:0;;18398:10;52789:23;52781:83;;;;-1:-1:-1;;;52781:83:0;;15723:2:1;52781:83:0;;;15705:21:1;15762:2;15742:18;;;15735:30;15801:34;15781:18;;;15774:62;-1:-1:-1;;;15852:18:1;;;15845:45;15907:19;;52781:83:0;15695:237:1;52781:83:0;52877:26;52889:4;52895:7;52877:11;:26::i;67748:158::-;67821:4;67845:53;67853:3;-1:-1:-1;;;;;67873:23:0;;67845:7;:53::i;42866:245::-;42984:41;18398:10;43003:12;18318:98;42984:41;42976:102;;;;-1:-1:-1;;;42976:102:0;;15306:2:1;42976:102:0;;;15288:21:1;15345:2;15325:18;;;15318:30;15384:34;15364:18;;;15357:62;-1:-1:-1;;;15435:18:1;;;15428:46;15491:19;;42976:102:0;15278:238:1;42976:102:0;43089:14;43095:7;43089:5;:14::i;71168:137::-;71239:7;71274:22;71278:3;71290:5;71274:3;:22::i;75298:98::-;75356:7;75383:5;75387:1;75383;:5;:::i;70245:137::-;70315:4;70339:35;70347:3;70367:5;70339:7;:35::i;69938:131::-;70005:4;70029:32;70034:3;70054:5;70029:4;:32::i;30811:382::-;-1:-1:-1;;;;;30891:16:0;;30883:61;;;;-1:-1:-1;;;30883:61:0;;12473:2:1;30883:61:0;;;12455:21:1;;;12492:18;;;12485:30;12551:34;12531:18;;;12524:62;12603:18;;30883:61:0;12445:182:1;30883:61:0;28898:4;28922:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28922:16:0;:30;30955:58;;;;-1:-1:-1;;;30955:58:0;;9698:2:1;30955:58:0;;;9680:21:1;9737:2;9717:18;;;9710:30;9776;9756:18;;;9749:58;9824:18;;30955:58:0;9670:178:1;30955:58:0;31026:45;31055:1;31059:2;31063:7;31026:20;:45::i;:::-;-1:-1:-1;;;;;31084:13:0;;;;;;:9;:13;;;;;:18;;31101:1;;31084:13;:18;;31101:1;;31084:18;:::i;:::-;;;;-1:-1:-1;;31113:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31113:21:0;-1:-1:-1;;;;;31113:21:0;;;;;;;;31152:33;;31113:16;;;31152:33;;31113:16;;31152:33;30811:382;;:::o;28205:315::-;28362:28;28372:4;28378:2;28382:7;28362:9;:28::i;:::-;28409:48;28432:4;28438:2;28442:7;28451:5;28409:22;:48::i;:::-;28401:111;;;;-1:-1:-1;;;28401:111:0;;;;;;;:::i;80369:100::-;80421:13;80450;80443:20;;;;;:::i;18856:723::-;18912:13;19133:10;19129:53;;-1:-1:-1;;19160:10:0;;;;;;;;;;;;-1:-1:-1;;;19160:10:0;;;;;18856:723::o;19129:53::-;19207:5;19192:12;19248:78;19255:9;;19248:78;;19281:8;;;;:::i;:::-;;-1:-1:-1;19304:10:0;;-1:-1:-1;19312:2:0;19304:10;;:::i;:::-;;;19248:78;;;19336:19;19368:6;19358:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19358:17:0;;19336:39;;19386:154;19393:10;;19386:154;;19420:11;19430:1;19420:11;;:::i;:::-;;-1:-1:-1;19489:10:0;19497:2;19489:5;:10;:::i;:::-;19476:24;;:2;:24;:::i;:::-;19463:39;;19446:6;19453;19446:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19446:56:0;;;;;;;;-1:-1:-1;19517:11:0;19526:2;19517:11;;:::i;:::-;;;19386:154;;68245:117;68308:7;68335:19;68343:3;63729:18;;63646:109;52037:149;51326:7;51353:12;;;;;;;;;;:22;;;49727:30;49738:4;18398:10;49727;:30::i;:::-;52152:26:::1;52164:4;52170:7;52152:11;:26::i;53997:229::-:0;54072:22;54080:4;54086:7;54072;:22::i;:::-;54067:152;;54111:6;:12;;;;;;;;;;;-1:-1:-1;;;;;54111:29:0;;;;;;;;;:36;;-1:-1:-1;;54111:36:0;54143:4;54111:36;;;54194:12;18398:10;;18318:98;54194:12;-1:-1:-1;;;;;54167:40:0;54185:7;-1:-1:-1;;;;;54167:40:0;54179:4;54167:40;;;;;;;;;;53997:229;;:::o;61335:414::-;61398:4;63528:19;;;:12;;;:19;;;;;;61415:327;;-1:-1:-1;61458:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;61641:18;;61619:19;;;:12;;;:19;;;;;;:40;;;;61674:11;;61415:327;-1:-1:-1;61725:5:0;61718:12;;22935:305;23037:4;-1:-1:-1;;;;;;23074:40:0;;-1:-1:-1;;;23074:40:0;;:105;;-1:-1:-1;;;;;;;23131:48:0;;-1:-1:-1;;;23131:48:0;23074:105;:158;;;;23196:36;23220:11;23196:23;:36::i;20157:451::-;20232:13;20258:19;20290:10;20294:6;20290:1;:10;:::i;:::-;:14;;20303:1;20290:14;:::i;:::-;20280:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20280:25:0;;20258:47;;-1:-1:-1;;;20316:6:0;20323:1;20316:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20316:15:0;;;;;;;;;-1:-1:-1;;;20342:6:0;20349:1;20342:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20342:15:0;;;;;;;;-1:-1:-1;20373:9:0;20385:10;20389:6;20385:1;:10;:::i;:::-;:14;;20398:1;20385:14;:::i;:::-;20373:26;;20368:135;20405:1;20401;:5;20368:135;;;-1:-1:-1;;;20453:5:0;20461:3;20453:11;20440:25;;;;;;;:::i;:::-;;;;20428:6;20435:1;20428:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;20428:37:0;;;;;;;;-1:-1:-1;20490:1:0;20480:11;;;;;20408:3;;;:::i;:::-;;;20368:135;;;-1:-1:-1;20521:10:0;;20513:55;;;;-1:-1:-1;;;20513:55:0;;8159:2:1;20513:55:0;;;8141:21:1;;;8178:18;;;8171:30;8237:34;8217:18;;;8210:62;8289:18;;20513:55:0;8131:182:1;83283:203:0;83435:45;83462:4;83468:2;83472:7;83435:26;:45::i;54234:230::-;54309:22;54317:4;54323:7;54309;:22::i;:::-;54305:152;;;54380:5;54348:12;;;;;;;;;;;-1:-1:-1;;;;;54348:29:0;;;;;;;;;;:37;;-1:-1:-1;;54348:37:0;;;54405:40;18398:10;;54348:12;;54405:40;;54380:5;54405:40;54234:230;;:::o;61925:1420::-;61991:4;62130:19;;;:12;;;:19;;;;;;62166:15;;62162:1176;;62541:21;62565:14;62578:1;62565:10;:14;:::i;:::-;62614:18;;62541:38;;-1:-1:-1;62594:17:0;;62614:22;;62635:1;;62614:22;:::i;:::-;62594:42;;62670:13;62657:9;:26;62653:405;;62704:17;62724:3;:11;;62736:9;62724:22;;;;;;;;:::i;:::-;;;;;;;;;62704:42;;62878:9;62849:3;:11;;62861:13;62849:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;62963:23;;;:12;;;:23;;;;;:36;;;62653:405;63139:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;63234:3;:12;;:19;63247:5;63234:19;;;;;;;;;;;63227:26;;;63277:4;63270:11;;;;;;;62162:1176;63321:5;63314:12;;;;;31422:360;31482:13;31498:23;31513:7;31498:14;:23::i;:::-;31482:39;;31534:48;31555:5;31570:1;31574:7;31534:20;:48::i;:::-;31623:29;31640:1;31644:7;31623:8;:29::i;:::-;-1:-1:-1;;;;;31665:16:0;;;;;;:9;:16;;;;;:21;;31685:1;;31665:16;:21;;31685:1;;31665:21;:::i;:::-;;;;-1:-1:-1;;31704:16:0;;;;:7;:16;;;;;;31697:23;;-1:-1:-1;;;;;;31697:23:0;;;31738:36;31712:7;;31704:16;-1:-1:-1;;;;;31738:36:0;;;;;31704:16;;31738:36;31471:311;31422:360;:::o;64109:120::-;64176:7;64203:3;:11;;64215:5;64203:18;;;;;;;;:::i;:::-;;;;;;;;;64196:25;;64109:120;;;;:::o;33554:799::-;33709:4;-1:-1:-1;;;;;33730:13:0;;10672:20;10720:8;33726:620;;33766:72;;-1:-1:-1;;;33766:72:0;;-1:-1:-1;;;;;33766:36:0;;;;;:72;;18398:10;;33817:4;;33823:7;;33832:5;;33766:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33766:72:0;;;;;;;;-1:-1:-1;;33766:72:0;;;;;;;;;;;;:::i;:::-;;;33762:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34008:13:0;;34004:272;;34051:60;;-1:-1:-1;;;34051:60:0;;;;;;;:::i;34004:272::-;34226:6;34220:13;34211:6;34207:2;34203:15;34196:38;33762:529;-1:-1:-1;;;;;;33889:51:0;-1:-1:-1;;;33889:51:0;;-1:-1:-1;33882:58:0;;33726:620;-1:-1:-1;34330:4:0;33554:799;;;;;;:::o;55789:214::-;55874:4;-1:-1:-1;;;;;;55898:57:0;;-1:-1:-1;;;55898:57:0;;:97;;;55959:36;55983:11;55959:23;:36::i;37937:589::-;-1:-1:-1;;;;;38143:18:0;;38139:187;;38178:40;38210:7;39353:10;:17;;39326:24;;;;:15;:24;;;;;:44;;;39381:24;;;;;;;;;;;;39249:164;38178:40;38139:187;;;38248:2;-1:-1:-1;;;;;38240:10:0;:4;-1:-1:-1;;;;;38240:10:0;;38236:90;;38267:47;38300:4;38306:7;38267:32;:47::i;:::-;-1:-1:-1;;;;;38340:16:0;;38336:183;;38373:45;38410:7;38373:36;:45::i;38336:183::-;38446:4;-1:-1:-1;;;;;38440:10:0;:2;-1:-1:-1;;;;;38440:10:0;;38436:83;;38467:40;38495:2;38499:7;38467:27;:40::i;49849:204::-;49934:4;-1:-1:-1;;;;;;49958:47:0;;-1:-1:-1;;;49958:47:0;;:87;;-1:-1:-1;;;;;;;;;;21535:40:0;;;50009:36;21426:157;40040:988;40306:22;40356:1;40331:22;40348:4;40331:16;:22::i;:::-;:26;;;;:::i;:::-;40368:18;40389:26;;;:17;:26;;;;;;40306:51;;-1:-1:-1;40522:28:0;;;40518:328;;-1:-1:-1;;;;;40589:18:0;;40567:19;40589:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40640:30;;;;;;:44;;;40757:30;;:17;:30;;;;;:43;;;40518:328;-1:-1:-1;40942:26:0;;;;:17;:26;;;;;;;;40935:33;;;-1:-1:-1;;;;;40986:18:0;;;;;:12;:18;;;;;:34;;;;;;;40979:41;40040:988::o;41323:1079::-;41601:10;:17;41576:22;;41601:21;;41621:1;;41601:21;:::i;:::-;41633:18;41654:24;;;:15;:24;;;;;;42027:10;:26;;41576:46;;-1:-1:-1;41654:24:0;;41576:46;;42027:26;;;;;;:::i;:::-;;;;;;;;;42005:48;;42091:11;42066:10;42077;42066:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42171:28;;;:15;:28;;;;;;;:41;;;42343:24;;;;;42336:31;42378:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41394:1008;;;41323:1079;:::o;38827:221::-;38912:14;38929:20;38946:2;38929:16;:20::i;:::-;-1:-1:-1;;;;;38960:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39005:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38827:221:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;320:1;317;310:12;272:2;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:2;;;528:1;525;518:12;480:2;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;470:173;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:2;;;810:1;807;800:12;762:2;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;752:224;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:2;;;1170:1;1167;1160:12;1121:2;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:2;;;1461:1;1458;1451:12;1431:2;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:2;;1566:1;1563;1556:12;1515:2;1602;1589:16;1624:2;1620;1617:10;1614:2;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:2;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:2;;;1985:1;1982;1975:12;1936:2;2041;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;1111:1008;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:2;;;2266:1;2263;2256:12;2218:2;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:2;;2437:1;2434;2427:12;2381:2;2460:5;2450:15;;;2208:263;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:2;;;2621:1;2618;2611:12;2573:2;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2563:167:1:o;2735:391::-;2821:6;2829;2837;2845;2898:3;2886:9;2877:7;2873:23;2869:33;2866:2;;;2915:1;2912;2905:12;2866:2;2938:29;2957:9;2938:29;:::i;:::-;2928:39;3014:2;2999:18;;2986:32;;-1:-1:-1;3065:2:1;3050:18;;3037:32;;3116:2;3101:18;3088:32;;-1:-1:-1;2856:270:1;-1:-1:-1;;;2856:270:1:o;3131:180::-;3190:6;3243:2;3231:9;3222:7;3218:23;3214:32;3211:2;;;3259:1;3256;3249:12;3211:2;-1:-1:-1;3282:23:1;;3201:110;-1:-1:-1;3201:110:1:o;3316:254::-;3384:6;3392;3445:2;3433:9;3424:7;3420:23;3416:32;3413:2;;;3461:1;3458;3451:12;3413:2;3497:9;3484:23;3474:33;;3526:38;3560:2;3549:9;3545:18;3526:38;:::i;3575:248::-;3643:6;3651;3704:2;3692:9;3683:7;3679:23;3675:32;3672:2;;;3720:1;3717;3710:12;3672:2;-1:-1:-1;;3743:23:1;;;3813:2;3798:18;;;3785:32;;-1:-1:-1;3662:161:1:o;3828:245::-;3886:6;3939:2;3927:9;3918:7;3914:23;3910:32;3907:2;;;3955:1;3952;3945:12;3907:2;3994:9;3981:23;4013:30;4037:5;4013:30;:::i;4078:249::-;4147:6;4200:2;4188:9;4179:7;4175:23;4171:32;4168:2;;;4216:1;4213;4206:12;4168:2;4248:9;4242:16;4267:30;4291:5;4267:30;:::i;4770:257::-;4811:3;4849:5;4843:12;4876:6;4871:3;4864:19;4892:63;4948:6;4941:4;4936:3;4932:14;4925:4;4918:5;4914:16;4892:63;:::i;:::-;5009:2;4988:15;-1:-1:-1;;4984:29:1;4975:39;;;;5016:4;4971:50;;4819:208;-1:-1:-1;;4819:208:1:o;5032:470::-;5211:3;5249:6;5243:13;5265:53;5311:6;5306:3;5299:4;5291:6;5287:17;5265:53;:::i;:::-;5381:13;;5340:16;;;;5403:57;5381:13;5340:16;5437:4;5425:17;;5403:57;:::i;:::-;5476:20;;5219:283;-1:-1:-1;;;;5219:283:1:o;5507:786::-;5918:25;5913:3;5906:38;5888:3;5973:6;5967:13;5989:62;6044:6;6039:2;6034:3;6030:12;6023:4;6015:6;6011:17;5989:62;:::i;:::-;-1:-1:-1;;;6110:2:1;6070:16;;;6102:11;;;6095:40;6160:13;;6182:63;6160:13;6231:2;6223:11;;6216:4;6204:17;;6182:63;:::i;:::-;6265:17;6284:2;6261:26;;5896:397;-1:-1:-1;;;;5896:397:1:o;6506:488::-;-1:-1:-1;;;;;6775:15:1;;;6757:34;;6827:15;;6822:2;6807:18;;6800:43;6874:2;6859:18;;6852:34;;;6922:3;6917:2;6902:18;;6895:31;;;6700:4;;6943:45;;6968:19;;6960:6;6943:45;:::i;:::-;6935:53;6709:285;-1:-1:-1;;;;;;6709:285:1:o;7373:219::-;7522:2;7511:9;7504:21;7485:4;7542:44;7582:2;7571:9;7567:18;7559:6;7542:44;:::i;8730:414::-;8932:2;8914:21;;;8971:2;8951:18;;;8944:30;9010:34;9005:2;8990:18;;8983:62;-1:-1:-1;;;9076:2:1;9061:18;;9054:48;9134:3;9119:19;;8904:240::o;14273:413::-;14475:2;14457:21;;;14514:2;14494:18;;;14487:30;14553:34;14548:2;14533:18;;14526:62;-1:-1:-1;;;14619:2:1;14604:18;;14597:47;14676:3;14661:19;;14447:239::o;16119:128::-;16159:3;16190:1;16186:6;16183:1;16180:13;16177:2;;;16196:18;;:::i;:::-;-1:-1:-1;16232:9:1;;16167:80::o;16252:120::-;16292:1;16318;16308:2;;16323:18;;:::i;:::-;-1:-1:-1;16357:9:1;;16298:74::o;16377:168::-;16417:7;16483:1;16479;16475:6;16471:14;16468:1;16465:21;16460:1;16453:9;16446:17;16442:45;16439:2;;;16490:18;;:::i;:::-;-1:-1:-1;16530:9:1;;16429:116::o;16550:125::-;16590:4;16618:1;16615;16612:8;16609:2;;;16623:18;;:::i;:::-;-1:-1:-1;16660:9:1;;16599:76::o;16680:258::-;16752:1;16762:113;16776:6;16773:1;16770:13;16762:113;;;16852:11;;;16846:18;16833:11;;;16826:39;16798:2;16791:10;16762:113;;;16893:6;16890:1;16887:13;16884:2;;;-1:-1:-1;;16928:1:1;16910:16;;16903:27;16733:205::o;16943:136::-;16982:3;17010:5;17000:2;;17019:18;;:::i;:::-;-1:-1:-1;;;17055:18:1;;16990:89::o;17084:380::-;17163:1;17159:12;;;;17206;;;17227:2;;17281:4;17273:6;17269:17;17259:27;;17227:2;17334;17326:6;17323:14;17303:18;17300:38;17297:2;;;17380:10;17375:3;17371:20;17368:1;17361:31;17415:4;17412:1;17405:15;17443:4;17440:1;17433:15;17297:2;;17139:325;;;:::o;17469:135::-;17508:3;-1:-1:-1;;17529:17:1;;17526:2;;;17549:18;;:::i;:::-;-1:-1:-1;17596:1:1;17585:13;;17516:88::o;17609:112::-;17641:1;17667;17657:2;;17672:18;;:::i;:::-;-1:-1:-1;17706:9:1;;17647:74::o;17726:127::-;17787:10;17782:3;17778:20;17775:1;17768:31;17818:4;17815:1;17808:15;17842:4;17839:1;17832:15;17858:127;17919:10;17914:3;17910:20;17907:1;17900:31;17950:4;17947:1;17940:15;17974:4;17971:1;17964:15;17990:127;18051:10;18046:3;18042:20;18039:1;18032:31;18082:4;18079:1;18072:15;18106:4;18103:1;18096:15;18122:127;18183:10;18178:3;18174:20;18171:1;18164:31;18214:4;18211:1;18204:15;18238:4;18235:1;18228:15;18254:127;18315:10;18310:3;18306:20;18303:1;18296:31;18346:4;18343:1;18336:15;18370:4;18367:1;18360:15;18386:131;-1:-1:-1;;;;;;18460:32:1;;18450:43;;18440:2;;18507:1;18504;18497:12

Swarm Source

ipfs://51251f8fd1962ee0b82f233d8c4214ea999d5f8548f6361ff1e2ea3ccbb5034e
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading