Contract 0x6c55ff094ee25103f82ba810ff5d3f130438e0f2

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc6dfc9c3213d97f1e9eb30c2823b04500400f6ded068595826335534ea3614a6Set Approval For...229370062021-12-25 7:26:19343 days 12 hrs ago0xea3df8c77423d98342c4ca8d7a76a5c0dcf1dcf1 IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.0013852530
0x89dddc37751199dcc983956c9f97b128c071664638f0b0b0d61a76762d219a14Mint To Caller228858032021-12-23 23:50:44344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02012077783
0xccc45d7387caad7b45ae70e09ab8282d464c12202780eed0016282354d32679cMint To Caller228858022021-12-23 23:50:42344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02012077783
0x986556d82b97f6e05e1b27a60506ae67cf1191dcd91a6a8bbb80d728d984dcb8Mint To Caller228858012021-12-23 23:50:40344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0xc6077b9beed8d58ffe4f19976854318d79cb436b84f8c6f2f9fc4fedd1d5523eMint To Caller228858002021-12-23 23:50:38344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0x38487ee5bf10d46ea190671210b3a807956aef7459542cccb40b3ee786f6c21bMint To Caller228857992021-12-23 23:50:36344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02012077783
0x7be5f37ea95d3ddbd462b101d6caf1982365db0a84b16528f6d431afe8a1b7e7Mint To Caller228857982021-12-23 23:50:34344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02012077783
0x52a7075aaa9d12c5b4ebea6f4fa94a7322933026466809f96a44b70e46e3dab3Mint To Caller228857972021-12-23 23:50:32344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02012077783
0xb1342433d2ea7f6efc347b07bbbebbe1246834c351dcf60a637cb926a42f3853Mint To Caller228857962021-12-23 23:50:30344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.023466159296.8
0x061a7a9ea3ace6f0fb203545dfbe44a71cf40c89f2b3cbb34b8960ba24268751Mint To Caller228857952021-12-23 23:50:28344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.023466159296.8
0x70c94fa54bbae914619dbd2af601619b3399e71cdc003681385c82dd420a5544Mint To Caller228857942021-12-23 23:50:26344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02060561585
0x9b2e77bcc72f21e74f9c1bc605ea8858a7a55fc4bbe53316996d815bfd440622Mint To Caller228857932021-12-23 23:50:24344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02060561585
0x2d6a9a2b89b116e901733b83eb99c70ea2699c9807a51eb529aa9818193e2fecMint To Caller228857922021-12-23 23:50:22344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02060561585
0xb0c2e26c08b2901daa305f306895e7d1792a9d9c6e3a5c76dfd001c03375cbafMint To Caller228857912021-12-23 23:50:20344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02084803486
0x8e9ae8ffb2675e1994b7708f258089348a40e50309007ac2a40b4207f483a444Mint To Caller228857902021-12-23 23:50:18344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02084803486
0x5a2c93a2c82f3ae461a0295da16878183a7dd274bf90c4c18066c73561ad3597Mint To Caller228857892021-12-23 23:50:16344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02206012991
0x9197c237acc1d8d73739449b260240827c40c3a1d645398817cbda028d4cce2bMint To Caller228857882021-12-23 23:50:14344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02206012991
0xadf64bd9fd0d28f6ea5fb38593b7dba11a0d25f9339f43e0928ad8e422003f74Mint To Caller228857872021-12-23 23:50:12344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02206012991
0xd6a9bd31ff26f76cbc774a5e120328b3cbd2a898b3d6f271ebb887dc461c3da1Mint To Caller228857862021-12-23 23:50:10344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0x1d404969d63464301c7e5cf981e8e72c5a2b284c81d60c11a4b1aeddc13d3585Mint To Caller228857852021-12-23 23:50:08344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0x0924e48b42df102cc32abee8bc28b89c85270529114def25d72eeec6ed272baaMint To Caller228857842021-12-23 23:50:06344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0x6d6373efaec634870a90b4a0663261266f8d9c2fd07b466971f9e1fcf3f3def7Mint To Caller228857832021-12-23 23:50:04344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0x2fe3a98ff683c5420ddf1d2cb54108070f8821fd9fc21fa34ec5d56e6ac4e02eMint To Caller228857822021-12-23 23:50:02344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02036319684
0xb999f8ae1031d25a7837e045177096194e16dd0428060bb20c9c977b3fb49605Mint To Caller228857492021-12-23 23:48:32344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02302980595
0xdf8507c955a57783615c7074c0920d3eed9fd3f2d9c3b35b4229138096817df3Mint To Caller228857492021-12-23 23:48:32344 days 20 hrs agoUrbanUpriseCrew: Deployer IN  0x6c55ff094ee25103f82ba810ff5d3f130438e0f20 MATIC0.02278738694
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x926538F777c7037C711B7339a163b77884E776Bb

Contract Name:
NftCustom

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-11-29
*/

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






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






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




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




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









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







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





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





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









/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}









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





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












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

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

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


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


contract NftCustom is ERC721URIStorage, AccessControl {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    address private _owner;

    bool public isFreezeTokenUris;
    mapping (uint256 => bool) public freezeTokenUris;

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

    string public baseURI;

    event PermanentURI(string _value, uint256 indexed _id); // https://docs.opensea.io/docs/metadata-standards
    event PermanentURIGlobal();

    constructor(string memory _name, string memory _symbol, address owner, bool _isFreezeTokenUris, string memory _initBaseURI) ERC721(_name, _symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, owner);
        _setupRole(MINTER_ROLE, owner);
        _setupRole(MINTER_ROLE, msg.sender);
        isFreezeTokenUris = _isFreezeTokenUris;
        baseURI = _initBaseURI;
        _owner = owner;
    }

    function mintToCaller(address caller, uint256 tokenId, string memory tokenURI)
    public onlyRole(MINTER_ROLE)
    returns (uint256)
    {
        _safeMint(caller, tokenId);
        _setTokenURI(tokenId, tokenURI);
        return tokenId;
    }

    function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721, AccessControl)
    returns (bool)
    {
        return ERC721.supportsInterface(interfaceId);
    }

    function owner() public view returns (address) {
        return _owner;
    }

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


    function updateTokenUri(uint256 _tokenId, string memory _tokenUri, bool _isFreezeTokenUri)
    public
    onlyRole(MINTER_ROLE) {
        require(_exists(_tokenId), "NFT: update URI query for nonexistent token");
        require(isFreezeTokenUris == false, "NFT: Token uris are frozen globally");
        require(freezeTokenUris[_tokenId] != true, "NFT: Token is frozen");
        require(_isFreezeTokenUri || (bytes(_tokenUri).length != 0), "NFT: Either _tokenUri or _isFreezeTokenUri=true required");

        if (bytes(_tokenUri).length != 0) {
            require(keccak256(bytes(tokenURI(_tokenId))) != keccak256(bytes(string(abi.encodePacked(_baseURI(), _tokenUri)))), "NFT: New token URI is same as updated");
            _setTokenURI(_tokenId, _tokenUri);
        }
        if (_isFreezeTokenUri) {
            freezeTokenUris[_tokenId] = true;
            emit PermanentURI(tokenURI(_tokenId), _tokenId);
        }
    }

    function burn(uint256 _tokenId)
    public
    onlyRole(MINTER_ROLE) {
        require(_exists(_tokenId), "Burn for nonexistent token");
        _burn(_tokenId);
    }

    function update(string memory _newBaseURI, bool _freezeAllTokenUris)
    public
    onlyRole(MINTER_ROLE) {
        require(isFreezeTokenUris == false, "NFT: Token uris are already frozen");
        baseURI = _newBaseURI;
        if (_freezeAllTokenUris) {
            freezeAllTokenUris();
        }
    }

    function freezeAllTokenUris()
    public
    onlyRole(MINTER_ROLE) {
        require(isFreezeTokenUris == false, "NFT: Token uris are already frozen");
        isFreezeTokenUris = true;

        emit PermanentURIGlobal();
    }

    function totalSupply() public view virtual returns (uint256) {
        return _allTokens.length;
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256) {
        require(index < balanceOf(owner), "ERC721: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    function tokenByIndex(uint256 index) public view virtual returns (uint256) {
        require(index < totalSupply(), "ERC721: global index out of bounds");
        return _allTokens[index];
    }

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

    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"bool","name":"_isFreezeTokenUris","type":"bool"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[],"name":"PermanentURIGlobal","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":"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":"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeAllTokenUris","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"freezeTokenUris","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":[],"name":"isFreezeTokenUris","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"mintToCaller","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"},{"internalType":"bool","name":"_freezeAllTokenUris","type":"bool"}],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenUri","type":"string"},{"internalType":"bool","name":"_isFreezeTokenUri","type":"bool"}],"name":"updateTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002d0638038062002d0683398101604081905262000034916200032b565b8451859085906200004d906000906020850190620001b8565b50805162000063906001906020840190620001b8565b50620000759150600090508462000104565b6200009060008051602062002ce68339815191528462000104565b620000ab60008051602062002ce68339815191523362000104565b6008805460ff60a01b1916600160a01b841515021790558051620000d790600e906020840190620001b8565b5050600880546001600160a01b0319166001600160a01b0393909316929092179091555062000435915050565b62000110828262000114565b5050565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff16620001105760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001743390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001c690620003f8565b90600052602060002090601f016020900481019282620001ea576000855562000235565b82601f106200020557805160ff191683800117855562000235565b8280016001018555821562000235579182015b828111156200023557825182559160200191906001019062000218565b506200024392915062000247565b5090565b5b8082111562000243576000815560010162000248565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028657600080fd5b81516001600160401b0380821115620002a357620002a36200025e565b604051601f8301601f19908116603f01168101908282118183101715620002ce57620002ce6200025e565b81604052838152602092508683858801011115620002eb57600080fd5b600091505b838210156200030f5785820183015181830184015290820190620002f0565b83821115620003215760008385830101525b9695505050505050565b600080600080600060a086880312156200034457600080fd5b85516001600160401b03808211156200035c57600080fd5b6200036a89838a0162000274565b965060208801519150808211156200038157600080fd5b6200038f89838a0162000274565b604089015190965091506001600160a01b0382168214620003af57600080fd5b60608801519194508115158214620003c657600080fd5b608088015191935080821115620003dc57600080fd5b50620003eb8882890162000274565b9150509295509295909350565b600181811c908216806200040d57607f821691505b602082108114156200042f57634e487b7160e01b600052602260045260246000fd5b50919050565b6128a180620004456000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80637105a69c1161010f578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd1461042c578063d53913931461043f578063d547741f14610454578063e985e9c51461046757600080fd5b8063a22cb465146103eb578063a2f551ec146103fe578063af53931214610411578063b88d4fde1461041957600080fd5b80638da5cb5b116100de5780638da5cb5b146103b757806391d14854146103c857806395d89b41146103db578063a217fddf146103e357600080fd5b80637105a69c1461035a57806375cee1c61461036e5780637afdcdbb146103815780638d010db31461039457600080fd5b80632f745c59116101875780634f6ccce7116101565780634f6ccce7146103195780636352211e1461032c5780636c0360eb1461033f57806370a082311461034757600080fd5b80632f745c59146102cd57806336568abe146102e057806342842e0e146102f357806342966c681461030657600080fd5b806318160ddd116101c357806318160ddd1461027257806323b872dd14610284578063248a9ca3146102975780632f2ff15d146102ba57600080fd5b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063095ea7b31461025d575b600080fd5b610208610203366004612144565b6104a3565b60405190151581526020015b60405180910390f35b6102256104b4565b60405161021491906121b9565b6102456102403660046121cc565b610546565b6040516001600160a01b039091168152602001610214565b61027061026b366004612201565b6105d3565b005b600c545b604051908152602001610214565b61027061029236600461222b565b6106e9565b6102766102a53660046121cc565b60009081526007602052604090206001015490565b6102706102c8366004612267565b61071a565b6102766102db366004612201565b610740565b6102706102ee366004612267565b6107cc565b61027061030136600461222b565b61084a565b6102706103143660046121cc565b610865565b6102766103273660046121cc565b6108dc565b61024561033a3660046121cc565b610965565b6102256109dc565b610276610355366004612293565b610a6a565b60085461020890600160a01b900460ff1681565b61027061037c36600461236a565b610af1565b61027661038f3660046123af565b610b56565b6102086103a23660046121cc565b60096020526000908152604090205460ff1681565b6008546001600160a01b0316610245565b6102086103d6366004612267565b610b8e565b610225610bb9565b610276600081565b6102706103f9366004612406565b610bc8565b61027061040c366004612430565b610c8d565b610270610f61565b610270610427366004612487565b610fe3565b61022561043a3660046121cc565b611015565b61027660008051602061284c83398151915281565b610270610462366004612267565b61117f565b610208610475366004612503565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006104ae826111a5565b92915050565b6060600080546104c39061252d565b80601f01602080910402602001604051908101604052809291908181526020018280546104ef9061252d565b801561053c5780601f106105115761010080835404028352916020019161053c565b820191906000526020600020905b81548152906001019060200180831161051f57829003601f168201915b5050505050905090565b6000610551826111f5565b6105b75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105de82610965565b9050806001600160a01b0316836001600160a01b0316141561064c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ae565b336001600160a01b038216148061066857506106688133610475565b6106da5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ae565b6106e48383611212565b505050565b6106f33382611280565b61070f5760405162461bcd60e51b81526004016105ae90612568565b6106e4838383611366565b6000828152600760205260409020600101546107368133611511565b6106e48383611575565b600061074b83610a6a565b82106107a35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a206f776e657220696e646578206f7574206f6620626f756e646044820152607360f81b60648201526084016105ae565b506001600160a01b03919091166000908152600a60209081526040808320938352929052205490565b6001600160a01b038116331461083c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105ae565b61084682826115fb565b5050565b6106e483838360405180602001604052806000815250610fe3565b60008051602061284c83398151915261087e8133611511565b610887826111f5565b6108d35760405162461bcd60e51b815260206004820152601a60248201527f4275726e20666f72206e6f6e6578697374656e7420746f6b656e00000000000060448201526064016105ae565b61084682611662565b60006108e7600c5490565b82106109405760405162461bcd60e51b815260206004820152602260248201527f4552433732313a20676c6f62616c20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016105ae565b600c8281548110610953576109536125b9565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104ae5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ae565b600e80546109e99061252d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a159061252d565b8015610a625780601f10610a3757610100808354040283529160200191610a62565b820191906000526020600020905b815481529060010190602001808311610a4557829003601f168201915b505050505081565b60006001600160a01b038216610ad55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ae565b506001600160a01b031660009081526003602052604090205490565b60008051602061284c833981519152610b0a8133611511565b600854600160a01b900460ff1615610b345760405162461bcd60e51b81526004016105ae906125cf565b8251610b4790600e90602086019061205f565b5081156106e4576106e4610f61565b600060008051602061284c833981519152610b718133611511565b610b7b85856116a5565b610b8584846116bf565b50919392505050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546104c39061252d565b6001600160a01b038216331415610c215760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ae565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008051602061284c833981519152610ca68133611511565b610caf846111f5565b610d0f5760405162461bcd60e51b815260206004820152602b60248201527f4e46543a207570646174652055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016105ae565b600854600160a01b900460ff1615610d755760405162461bcd60e51b815260206004820152602360248201527f4e46543a20546f6b656e2075726973206172652066726f7a656e20676c6f62616044820152626c6c7960e81b60648201526084016105ae565b60008481526009602052604090205460ff16151560011415610dd05760405162461bcd60e51b815260206004820152601460248201527327232a1d102a37b5b2b71034b990333937bd32b760611b60448201526064016105ae565b8180610ddc5750825115155b610e4e5760405162461bcd60e51b815260206004820152603860248201527f4e46543a20456974686572205f746f6b656e557269206f72205f69734672656560448201527f7a65546f6b656e5572693d74727565207265717569726564000000000000000060648201526084016105ae565b825115610efb57610e5d61174a565b83604051602001610e6f929190612611565b60405160208183030381529060405280519060200120610e8e85611015565b805190602001201415610ef15760405162461bcd60e51b815260206004820152602560248201527f4e46543a204e657720746f6b656e205552492069732073616d6520617320757060448201526419185d195960da1b60648201526084016105ae565b610efb84846116bf565b8115610f5b576000848152600960205260409020805460ff19166001179055837fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610f4582611015565b604051610f5291906121b9565b60405180910390a25b50505050565b60008051602061284c833981519152610f7a8133611511565b600854600160a01b900460ff1615610fa45760405162461bcd60e51b81526004016105ae906125cf565b6008805460ff60a01b1916600160a01b1790556040517fb59f45df38ec0d34114b1248c38a29cdbccbf3e745ae3ef310ac66199a4ceccf90600090a150565b610fed3383611280565b6110095760405162461bcd60e51b81526004016105ae90612568565b610f5b84848484611759565b6060611020826111f5565b6110865760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016105ae565b6000828152600660205260408120805461109f9061252d565b80601f01602080910402602001604051908101604052809291908181526020018280546110cb9061252d565b80156111185780601f106110ed57610100808354040283529160200191611118565b820191906000526020600020905b8154815290600101906020018083116110fb57829003601f168201915b50505050509050600061112961174a565b905080516000141561113c575092915050565b81511561116e578082604051602001611156929190612611565b60405160208183030381529060405292505050919050565b6111778461178c565b949350505050565b60008281526007602052604090206001015461119b8133611511565b6106e483836115fb565b60006001600160e01b031982166380ac58cd60e01b14806111d657506001600160e01b03198216635b5e139f60e01b145b806104ae57506301ffc9a760e01b6001600160e01b03198316146104ae565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061124782610965565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061128b826111f5565b6112ec5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ae565b60006112f783610965565b9050806001600160a01b0316846001600160a01b031614806113325750836001600160a01b031661132784610546565b6001600160a01b0316145b8061117757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611177565b826001600160a01b031661137982610965565b6001600160a01b0316146113e15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105ae565b6001600160a01b0382166114435760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ae565b61144e838383611857565b611459600082611212565b6001600160a01b0383166000908152600360205260408120805460019290611482908490612656565b90915550506001600160a01b03821660009081526003602052604081208054600192906114b090849061266d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61151b8282610b8e565b61084657611533816001600160a01b0316601461190f565b61153e83602061190f565b60405160200161154f929190612685565b60408051601f198184030181529082905262461bcd60e51b82526105ae916004016121b9565b61157f8282610b8e565b6108465760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556115b73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6116058282610b8e565b156108465760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b61166b81611aab565b600081815260066020526040902080546116849061252d565b1590506116a25760008181526006602052604081206116a2916120e3565b50565b610846828260405180602001604052806000815250611b52565b6116c8826111f5565b61172b5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016105ae565b600082815260066020908152604090912082516106e49284019061205f565b6060600e80546104c39061252d565b611764848484611366565b61177084848484611b85565b610f5b5760405162461bcd60e51b81526004016105ae906126fa565b6060611797826111f5565b6117fb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105ae565b600061180561174a565b905060008151116118255760405180602001604052806000815250611850565b8061182f84611c92565b604051602001611840929190612611565b6040516020818303038152906040525b9392505050565b6001600160a01b0383166118b2576118ad81600c80546000838152600d60205260408120829055600182018355919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70155565b6118d5565b816001600160a01b0316836001600160a01b0316146118d5576118d58382611d90565b6001600160a01b0382166118ec576106e481611e2d565b826001600160a01b0316826001600160a01b0316146106e4576106e48282611edc565b6060600061191e83600261274c565b61192990600261266d565b67ffffffffffffffff811115611941576119416122ae565b6040519080825280601f01601f19166020018201604052801561196b576020820181803683370190505b509050600360fc1b81600081518110611986576119866125b9565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106119b5576119b56125b9565b60200101906001600160f81b031916908160001a90535060006119d984600261274c565b6119e490600161266d565b90505b6001811115611a5c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611a1857611a186125b9565b1a60f81b828281518110611a2e57611a2e6125b9565b60200101906001600160f81b031916908160001a90535060049490941c93611a558161276b565b90506119e7565b5083156118505760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105ae565b6000611ab682610965565b9050611ac481600084611857565b611acf600083611212565b6001600160a01b0381166000908152600360205260408120805460019290611af8908490612656565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611b5c8383611f20565b611b696000848484611b85565b6106e45760405162461bcd60e51b81526004016105ae906126fa565b60006001600160a01b0384163b15611c8757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bc9903390899088908890600401612782565b602060405180830381600087803b158015611be357600080fd5b505af1925050508015611c13575060408051601f3d908101601f19168201909252611c10918101906127bf565b60015b611c6d573d808015611c41576040519150601f19603f3d011682016040523d82523d6000602084013e611c46565b606091505b508051611c655760405162461bcd60e51b81526004016105ae906126fa565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611177565b506001949350505050565b606081611cb65750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ce05780611cca816127dc565b9150611cd99050600a8361280d565b9150611cba565b60008167ffffffffffffffff811115611cfb57611cfb6122ae565b6040519080825280601f01601f191660200182016040528015611d25576020820181803683370190505b5090505b841561117757611d3a600183612656565b9150611d47600a86612821565b611d5290603061266d565b60f81b818381518110611d6757611d676125b9565b60200101906001600160f81b031916908160001a905350611d89600a8661280d565b9450611d29565b60006001611d9d84610a6a565b611da79190612656565b6000838152600b6020526040902054909150808214611dfa576001600160a01b0384166000908152600a602090815260408083208584528252808320548484528184208190558352600b90915290208190555b506000918252600b602090815260408084208490556001600160a01b039094168352600a81528383209183525290812055565b600c54600090611e3f90600190612656565b6000838152600d6020526040812054600c8054939450909284908110611e6757611e676125b9565b9060005260206000200154905080600c8381548110611e8857611e886125b9565b6000918252602080832090910192909255828152600d9091526040808220849055858252812055600c805480611ec057611ec0612835565b6001900381819060005260206000200160009055905550505050565b6000611ee783610a6a565b6001600160a01b039093166000908152600a602090815260408083208684528252808320859055938252600b9052919091209190915550565b6001600160a01b038216611f765760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ae565b611f7f816111f5565b15611fcc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ae565b611fd860008383611857565b6001600160a01b038216600090815260036020526040812080546001929061200190849061266d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461206b9061252d565b90600052602060002090601f01602090048101928261208d57600085556120d3565b82601f106120a657805160ff19168380011785556120d3565b828001600101855582156120d3579182015b828111156120d35782518255916020019190600101906120b8565b506120df929150612119565b5090565b5080546120ef9061252d565b6000825580601f106120ff575050565b601f0160209004906000526020600020908101906116a291905b5b808211156120df576000815560010161211a565b6001600160e01b0319811681146116a257600080fd5b60006020828403121561215657600080fd5b81356118508161212e565b60005b8381101561217c578181015183820152602001612164565b83811115610f5b5750506000910152565b600081518084526121a5816020860160208601612161565b601f01601f19169290920160200192915050565b602081526000611850602083018461218d565b6000602082840312156121de57600080fd5b5035919050565b80356001600160a01b03811681146121fc57600080fd5b919050565b6000806040838503121561221457600080fd5b61221d836121e5565b946020939093013593505050565b60008060006060848603121561224057600080fd5b612249846121e5565b9250612257602085016121e5565b9150604084013590509250925092565b6000806040838503121561227a57600080fd5b8235915061228a602084016121e5565b90509250929050565b6000602082840312156122a557600080fd5b611850826121e5565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122df576122df6122ae565b604051601f8501601f19908116603f01168101908282118183101715612307576123076122ae565b8160405280935085815286868601111561232057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261234b57600080fd5b611850838335602085016122c4565b803580151581146121fc57600080fd5b6000806040838503121561237d57600080fd5b823567ffffffffffffffff81111561239457600080fd5b6123a08582860161233a565b92505061228a6020840161235a565b6000806000606084860312156123c457600080fd5b6123cd846121e5565b925060208401359150604084013567ffffffffffffffff8111156123f057600080fd5b6123fc8682870161233a565b9150509250925092565b6000806040838503121561241957600080fd5b612422836121e5565b915061228a6020840161235a565b60008060006060848603121561244557600080fd5b83359250602084013567ffffffffffffffff81111561246357600080fd5b61246f8682870161233a565b92505061247e6040850161235a565b90509250925092565b6000806000806080858703121561249d57600080fd5b6124a6856121e5565b93506124b4602086016121e5565b925060408501359150606085013567ffffffffffffffff8111156124d757600080fd5b8501601f810187136124e857600080fd5b6124f7878235602084016122c4565b91505092959194509250565b6000806040838503121561251657600080fd5b61251f836121e5565b915061228a602084016121e5565b600181811c9082168061254157607f821691505b6020821081141561256257634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526022908201527f4e46543a20546f6b656e20757269732061726520616c72656164792066726f7a60408201526132b760f11b606082015260800190565b60008351612623818460208801612161565b835190830190612637818360208801612161565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561266857612668612640565b500390565b6000821982111561268057612680612640565b500190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516126bd816017850160208801612161565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516126ee816028840160208801612161565b01602801949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600081600019048311821515161561276657612766612640565b500290565b60008161277a5761277a612640565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127b59083018461218d565b9695505050505050565b6000602082840312156127d157600080fd5b81516118508161212e565b60006000198214156127f0576127f0612640565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261281c5761281c6127f7565b500490565b600082612830576128306127f7565b500690565b634e487b7160e01b600052603160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a264697066735822122032058bad4a62dcca7d06437cdefafbe287a0afc1fbf2f18308c140689d626cc764736f6c634300080900339f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a600000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000005fdd0881ef284d6fbb2ed97b01cb13d707f91e42000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000008457069636e657373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445504943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed ByteCode Sourcemap

51677:7591:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53248:194;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;53248:194:0;;;;;;;;20862:100;;;:::i;:::-;;;;;;;:::i;22421:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;22421:221:0;1528:203:1;21944:411:0;;;;;;:::i;:::-;;:::i;:::-;;55388:104;55467:10;:17;55388:104;;;2319:25:1;;;2307:2;2292:18;55388:104:0;2173:177:1;23311:339:0;;;;;;:::i;:::-;;:::i;40602:123::-;;;;;;:::i;:::-;40668:7;40695:12;;;:6;:12;;;;;:22;;;;40602:123;40987:147;;;;;;:::i;:::-;;:::i;55500:230::-;;;;;;:::i;:::-;;:::i;42035:218::-;;;;;;:::i;:::-;;:::i;23721:185::-;;;;;;:::i;:::-;;:::i;54644:172::-;;;;;;:::i;:::-;;:::i;55738:197::-;;;;;;:::i;:::-;;:::i;20556:239::-;;;;;;:::i;:::-;;:::i;52405:21::-;;;:::i;20286:208::-;;;;;;:::i;:::-;;:::i;51838:29::-;;;;;-1:-1:-1;;;51838:29:0;;;;;;54824:314;;;;;;:::i;:::-;;:::i;52987:253::-;;;;;;:::i;:::-;;:::i;51874:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;53450:79;53515:6;;-1:-1:-1;;;;;53515:6:0;53450:79;;39487:139;;;;;;:::i;:::-;;:::i;21031:104::-;;;:::i;38578:49::-;;38623:4;38578:49;;22714:295;;;;;;:::i;:::-;;:::i;53691:945::-;;;;;;:::i;:::-;;:::i;55146:234::-;;;:::i;23977:328::-;;;;;;:::i;:::-;;:::i;32372:679::-;;;;;;:::i;:::-;;:::i;51738:62::-;;-1:-1:-1;;;;;;;;;;;51738:62:0;;41379:149;;;;;;:::i;:::-;;:::i;23080:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23201:25:0;;;23177:4;23201:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23080:164;53248:194;53368:4;53397:37;53422:11;53397:24;:37::i;:::-;53390:44;53248:194;-1:-1:-1;;53248:194:0:o;20862:100::-;20916:13;20949:5;20942:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20862:100;:::o;22421:221::-;22497:7;22525:16;22533:7;22525;:16::i;:::-;22517:73;;;;-1:-1:-1;;;22517:73:0;;7776:2:1;22517:73:0;;;7758:21:1;7815:2;7795:18;;;7788:30;7854:34;7834:18;;;7827:62;-1:-1:-1;;;7905:18:1;;;7898:42;7957:19;;22517:73:0;;;;;;;;;-1:-1:-1;22610:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22610:24:0;;22421:221::o;21944:411::-;22025:13;22041:23;22056:7;22041:14;:23::i;:::-;22025:39;;22089:5;-1:-1:-1;;;;;22083:11:0;:2;-1:-1:-1;;;;;22083:11:0;;;22075:57;;;;-1:-1:-1;;;22075:57:0;;8189:2:1;22075:57:0;;;8171:21:1;8228:2;8208:18;;;8201:30;8267:34;8247:18;;;8240:62;-1:-1:-1;;;8318:18:1;;;8311:31;8359:19;;22075:57:0;7987:397:1;22075:57:0;9018:10;-1:-1:-1;;;;;22167:21:0;;;;:62;;-1:-1:-1;22192:37:0;22209:5;9018:10;23080:164;:::i;22192:37::-;22145:168;;;;-1:-1:-1;;;22145:168:0;;8591:2:1;22145:168:0;;;8573:21:1;8630:2;8610:18;;;8603:30;8669:34;8649:18;;;8642:62;8740:26;8720:18;;;8713:54;8784:19;;22145:168:0;8389:420:1;22145:168:0;22326:21;22335:2;22339:7;22326:8;:21::i;:::-;22014:341;21944:411;;:::o;23311:339::-;23506:41;9018:10;23539:7;23506:18;:41::i;:::-;23498:103;;;;-1:-1:-1;;;23498:103:0;;;;;;;:::i;:::-;23614:28;23624:4;23630:2;23634:7;23614:9;:28::i;40987:147::-;40668:7;40695:12;;;:6;:12;;;;;:22;;;39069:30;39080:4;9018:10;39069;:30::i;:::-;41101:25:::1;41112:4;41118:7;41101:10;:25::i;55500:230::-:0;55588:7;55624:16;55634:5;55624:9;:16::i;:::-;55616:5;:24;55608:70;;;;-1:-1:-1;;;55608:70:0;;9434:2:1;55608:70:0;;;9416:21:1;9473:2;9453:18;;;9446:30;9512:34;9492:18;;;9485:62;-1:-1:-1;;;9563:18:1;;;9556:31;9604:19;;55608:70:0;9232:397:1;55608:70:0;-1:-1:-1;;;;;;55696:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;55500:230::o;42035:218::-;-1:-1:-1;;;;;42131:23:0;;9018:10;42131:23;42123:83;;;;-1:-1:-1;;;42123:83:0;;9836:2:1;42123:83:0;;;9818:21:1;9875:2;9855:18;;;9848:30;9914:34;9894:18;;;9887:62;-1:-1:-1;;;9965:18:1;;;9958:45;10020:19;;42123:83:0;9634:411:1;42123:83:0;42219:26;42231:4;42237:7;42219:11;:26::i;:::-;42035:218;;:::o;23721:185::-;23859:39;23876:4;23882:2;23886:7;23859:39;;;;;;;;;;;;:16;:39::i;54644:172::-;-1:-1:-1;;;;;;;;;;;39069:30:0;51776:24;9018:10;39069;:30::i;:::-;54734:17:::1;54742:8;54734:7;:17::i;:::-;54726:56;;;::::0;-1:-1:-1;;;54726:56:0;;10252:2:1;54726:56:0::1;::::0;::::1;10234:21:1::0;10291:2;10271:18;;;10264:30;10330:28;10310:18;;;10303:56;10376:18;;54726:56:0::1;10050:350:1::0;54726:56:0::1;54793:15;54799:8;54793:5;:15::i;55738:197::-:0;55804:7;55840:13;55467:10;:17;;55388:104;55840:13;55832:5;:21;55824:68;;;;-1:-1:-1;;;55824:68:0;;10607:2:1;55824:68:0;;;10589:21:1;10646:2;10626:18;;;10619:30;10685:34;10665:18;;;10658:62;-1:-1:-1;;;10736:18:1;;;10729:32;10778:19;;55824:68:0;10405:398:1;55824:68:0;55910:10;55921:5;55910:17;;;;;;;;:::i;:::-;;;;;;;;;55903:24;;55738:197;;;:::o;20556:239::-;20628:7;20664:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20664:16:0;20699:19;20691:73;;;;-1:-1:-1;;;20691:73:0;;11142:2:1;20691:73:0;;;11124:21:1;11181:2;11161:18;;;11154:30;11220:34;11200:18;;;11193:62;-1:-1:-1;;;11271:18:1;;;11264:39;11320:19;;20691:73:0;10940:405:1;52405:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20286:208::-;20358:7;-1:-1:-1;;;;;20386:19:0;;20378:74;;;;-1:-1:-1;;;20378:74:0;;11552:2:1;20378:74:0;;;11534:21:1;11591:2;11571:18;;;11564:30;11630:34;11610:18;;;11603:62;-1:-1:-1;;;11681:18:1;;;11674:40;11731:19;;20378:74:0;11350:406:1;20378:74:0;-1:-1:-1;;;;;;20470:16:0;;;;;:9;:16;;;;;;;20286:208::o;54824:314::-;-1:-1:-1;;;;;;;;;;;39069:30:0;51776:24;9018:10;39069;:30::i;:::-;54951:17:::1;::::0;-1:-1:-1;;;54951:17:0;::::1;;;:26;54943:73;;;;-1:-1:-1::0;;;54943:73:0::1;;;;;;;:::i;:::-;55027:21:::0;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;55063:19;55059:72;;;55099:20;:18;:20::i;52987:253::-:0;53114:7;-1:-1:-1;;;;;;;;;;;39069:30:0;51776:24;9018:10;39069;:30::i;:::-;53139:26:::1;53149:6;53157:7;53139:9;:26::i;:::-;53176:31;53189:7;53198:8;53176:12;:31::i;:::-;-1:-1:-1::0;53225:7:0;;52987:253;-1:-1:-1;;;52987:253:0:o;39487:139::-;39565:4;39589:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;39589:29:0;;;;;;;;;;;;;;;39487:139::o;21031:104::-;21087:13;21120:7;21113:14;;;;;:::i;22714:295::-;-1:-1:-1;;;;;22817:24:0;;9018:10;22817:24;;22809:62;;;;-1:-1:-1;;;22809:62:0;;12366:2:1;22809:62:0;;;12348:21:1;12405:2;12385:18;;;12378:30;12444:27;12424:18;;;12417:55;12489:18;;22809:62:0;12164:349:1;22809:62:0;9018:10;22884:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;22884:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;22884:53:0;;;;;;;;;;22953:48;;540:41:1;;;22884:42:0;;9018:10;22953:48;;513:18:1;22953:48:0;;;;;;;22714:295;;:::o;53691:945::-;-1:-1:-1;;;;;;;;;;;39069:30:0;51776:24;9018:10;39069;:30::i;:::-;53840:17:::1;53848:8;53840:7;:17::i;:::-;53832:73;;;::::0;-1:-1:-1;;;53832:73:0;;12720:2:1;53832:73:0::1;::::0;::::1;12702:21:1::0;12759:2;12739:18;;;12732:30;12798:34;12778:18;;;12771:62;-1:-1:-1;;;12849:18:1;;;12842:41;12900:19;;53832:73:0::1;12518:407:1::0;53832:73:0::1;53924:17;::::0;-1:-1:-1;;;53924:17:0;::::1;;;:26;53916:74;;;::::0;-1:-1:-1;;;53916:74:0;;13132:2:1;53916:74:0::1;::::0;::::1;13114:21:1::0;13171:2;13151:18;;;13144:30;13210:34;13190:18;;;13183:62;-1:-1:-1;;;13261:18:1;;;13254:33;13304:19;;53916:74:0::1;12930:399:1::0;53916:74:0::1;54009:25;::::0;;;:15:::1;:25;::::0;;;;;::::1;;:33;;:25:::0;:33:::1;;54001:66;;;::::0;-1:-1:-1;;;54001:66:0;;13536:2:1;54001:66:0::1;::::0;::::1;13518:21:1::0;13575:2;13555:18;;;13548:30;-1:-1:-1;;;13594:18:1;;;13587:50;13654:18;;54001:66:0::1;13334:344:1::0;54001:66:0::1;54086:17;:51;;;-1:-1:-1::0;54108:23:0;;:28;::::1;54086:51;54078:120;;;::::0;-1:-1:-1;;;54078:120:0;;13885:2:1;54078:120:0::1;::::0;::::1;13867:21:1::0;13924:2;13904:18;;;13897:30;13963:34;13943:18;;;13936:62;14034:26;14014:18;;;14007:54;14078:19;;54078:120:0::1;13683:420:1::0;54078:120:0::1;54215:23:::0;;:28;54211:264:::1;;54348:10;:8;:10::i;:::-;54360:9;54331:39;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54308:65;;;;;;54284:18;54293:8;54284;:18::i;:::-;54268:36;;;;;;:105;;54260:155;;;::::0;-1:-1:-1;;;54260:155:0;;14785:2:1;54260:155:0::1;::::0;::::1;14767:21:1::0;14824:2;14804:18;;;14797:30;14863:34;14843:18;;;14836:62;-1:-1:-1;;;14914:18:1;;;14907:35;14959:19;;54260:155:0::1;14583:401:1::0;54260:155:0::1;54430:33;54443:8;54453:9;54430:12;:33::i;:::-;54489:17;54485:144;;;54523:25;::::0;;;:15:::1;:25;::::0;;;;:32;;-1:-1:-1;;54523:32:0::1;54551:4;54523:32;::::0;;54539:8;54575:42:::1;54588:18;54539:8:::0;54588::::1;:18::i;:::-;54575:42;;;;;;:::i;:::-;;;;;;;;54485:144;53691:945:::0;;;;:::o;55146:234::-;-1:-1:-1;;;;;;;;;;;39069:30:0;51776:24;9018:10;39069;:30::i;:::-;55234:17:::1;::::0;-1:-1:-1;;;55234:17:0;::::1;;;:26;55226:73;;;;-1:-1:-1::0;;;55226:73:0::1;;;;;;;:::i;:::-;55310:17;:24:::0;;-1:-1:-1;;;;55310:24:0::1;-1:-1:-1::0;;;55310:24:0::1;::::0;;55352:20:::1;::::0;::::1;::::0;55310:24;;55352:20:::1;55146:234:::0;:::o;23977:328::-;24152:41;9018:10;24185:7;24152:18;:41::i;:::-;24144:103;;;;-1:-1:-1;;;24144:103:0;;;;;;;:::i;:::-;24258:39;24272:4;24278:2;24282:7;24291:5;24258:13;:39::i;32372:679::-;32445:13;32479:16;32487:7;32479;:16::i;:::-;32471:78;;;;-1:-1:-1;;;32471:78:0;;15191:2:1;32471:78:0;;;15173:21:1;15230:2;15210:18;;;15203:30;15269:34;15249:18;;;15242:62;-1:-1:-1;;;15320:18:1;;;15313:47;15377:19;;32471:78:0;14989:413:1;32471:78:0;32562:23;32588:19;;;:10;:19;;;;;32562:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32618:18;32639:10;:8;:10::i;:::-;32618:31;;32731:4;32725:18;32747:1;32725:23;32721:72;;;-1:-1:-1;32772:9:0;32372:679;-1:-1:-1;;32372:679:0:o;32721:72::-;32897:23;;:27;32893:108;;32972:4;32978:9;32955:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32941:48;;;;32372:679;;;:::o;32893:108::-;33020:23;33035:7;33020:14;:23::i;:::-;33013:30;32372:679;-1:-1:-1;;;;32372:679:0:o;41379:149::-;40668:7;40695:12;;;:6;:12;;;;;:22;;;39069:30;39080:4;9018:10;39069;:30::i;:::-;41494:26:::1;41506:4;41512:7;41494:11;:26::i;19917:305::-:0;20019:4;-1:-1:-1;;;;;;20056:40:0;;-1:-1:-1;;;20056:40:0;;:105;;-1:-1:-1;;;;;;;20113:48:0;;-1:-1:-1;;;20113:48:0;20056:105;:158;;;-1:-1:-1;;;;;;;;;;6346:40:0;;;20178:36;6237:157;25815:127;25880:4;25904:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25904:16:0;:30;;;25815:127::o;29797:174::-;29872:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29872:29:0;-1:-1:-1;;;;;29872:29:0;;;;;;;;:24;;29926:23;29872:24;29926:14;:23::i;:::-;-1:-1:-1;;;;;29917:46:0;;;;;;;;;;;29797:174;;:::o;26109:348::-;26202:4;26227:16;26235:7;26227;:16::i;:::-;26219:73;;;;-1:-1:-1;;;26219:73:0;;15609:2:1;26219:73:0;;;15591:21:1;15648:2;15628:18;;;15621:30;15687:34;15667:18;;;15660:62;-1:-1:-1;;;15738:18:1;;;15731:42;15790:19;;26219:73:0;15407:408:1;26219:73:0;26303:13;26319:23;26334:7;26319:14;:23::i;:::-;26303:39;;26372:5;-1:-1:-1;;;;;26361:16:0;:7;-1:-1:-1;;;;;26361:16:0;;:51;;;;26405:7;-1:-1:-1;;;;;26381:31:0;:20;26393:7;26381:11;:20::i;:::-;-1:-1:-1;;;;;26381:31:0;;26361:51;:87;;;-1:-1:-1;;;;;;23201:25:0;;;23177:4;23201:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26416:32;23080:164;29101:578;29260:4;-1:-1:-1;;;;;29233:31:0;:23;29248:7;29233:14;:23::i;:::-;-1:-1:-1;;;;;29233:31:0;;29225:85;;;;-1:-1:-1;;;29225:85:0;;16022:2:1;29225:85:0;;;16004:21:1;16061:2;16041:18;;;16034:30;16100:34;16080:18;;;16073:62;-1:-1:-1;;;16151:18:1;;;16144:39;16200:19;;29225:85:0;15820:405:1;29225:85:0;-1:-1:-1;;;;;29329:16:0;;29321:65;;;;-1:-1:-1;;;29321:65:0;;16432:2:1;29321:65:0;;;16414:21:1;16471:2;16451:18;;;16444:30;16510:34;16490:18;;;16483:62;-1:-1:-1;;;16561:18:1;;;16554:34;16605:19;;29321:65:0;16230:400:1;29321:65:0;29399:39;29420:4;29426:2;29430:7;29399:20;:39::i;:::-;29503:29;29520:1;29524:7;29503:8;:29::i;:::-;-1:-1:-1;;;;;29545:15:0;;;;;;:9;:15;;;;;:20;;29564:1;;29545:15;:20;;29564:1;;29545:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29576:13:0;;;;;;:9;:13;;;;;:18;;29593:1;;29576:13;:18;;29593:1;;29576:18;:::i;:::-;;;;-1:-1:-1;;29605:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29605:21:0;-1:-1:-1;;;;;29605:21:0;;;;;;;;;29644:27;;29605:16;;29644:27;;;;;;;29101:578;;;:::o;39916:497::-;39997:22;40005:4;40011:7;39997;:22::i;:::-;39992:414;;40185:41;40213:7;-1:-1:-1;;;;;40185:41:0;40223:2;40185:19;:41::i;:::-;40299:38;40327:4;40334:2;40299:19;:38::i;:::-;40090:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;40090:270:0;;;;;;;;;;-1:-1:-1;;;40036:358:0;;;;;;;:::i;43339:229::-;43414:22;43422:4;43428:7;43414;:22::i;:::-;43409:152;;43453:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43453:29:0;;;;;;;;;:36;;-1:-1:-1;;43453:36:0;43485:4;43453:36;;;43536:12;9018:10;;8938:98;43536:12;-1:-1:-1;;;;;43509:40:0;43527:7;-1:-1:-1;;;;;43509:40:0;43521:4;43509:40;;;;;;;;;;43339:229;;:::o;43576:230::-;43651:22;43659:4;43665:7;43651;:22::i;:::-;43647:152;;;43722:5;43690:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43690:29:0;;;;;;;;;;:37;;-1:-1:-1;;43690:37:0;;;43747:40;9018:10;;43690:12;;43747:40;;43722:5;43747:40;43576:230;;:::o;33653:206::-;33722:20;33734:7;33722:11;:20::i;:::-;33765:19;;;;:10;:19;;;;;33759:33;;;;;:::i;:::-;:38;;-1:-1:-1;33755:97:0;;33821:19;;;;:10;:19;;;;;33814:26;;;:::i;:::-;33653:206;:::o;26799:110::-;26875:26;26885:2;26889:7;26875:26;;;;;;;;;;;;:9;:26::i;33207:217::-;33307:16;33315:7;33307;:16::i;:::-;33299:75;;;;-1:-1:-1;;;33299:75:0;;18023:2:1;33299:75:0;;;18005:21:1;18062:2;18042:18;;;18035:30;18101:34;18081:18;;;18074:62;-1:-1:-1;;;18152:18:1;;;18145:44;18206:19;;33299:75:0;17821:410:1;33299:75:0;33385:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;53537:144::-;53633:13;53666:7;53659:14;;;;;:::i;25187:315::-;25344:28;25354:4;25360:2;25364:7;25344:9;:28::i;:::-;25391:48;25414:4;25420:2;25424:7;25433:5;25391:22;:48::i;:::-;25383:111;;;;-1:-1:-1;;;25383:111:0;;;;;;;:::i;21206:334::-;21279:13;21313:16;21321:7;21313;:16::i;:::-;21305:76;;;;-1:-1:-1;;;21305:76:0;;18857:2:1;21305:76:0;;;18839:21:1;18896:2;18876:18;;;18869:30;18935:34;18915:18;;;18908:62;-1:-1:-1;;;18986:18:1;;;18979:45;19041:19;;21305:76:0;18655:411:1;21305:76:0;21394:21;21418:10;:8;:10::i;:::-;21394:34;;21470:1;21452:7;21446:21;:25;:86;;;;;;;;;;;;;;;;;21498:7;21507:18;:7;:16;:18::i;:::-;21481:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21446:86;21439:93;21206:334;-1:-1:-1;;;21206:334:0:o;55943:589::-;-1:-1:-1;;;;;56149:18:0;;56145:187;;56184:40;56216:7;56873:10;:17;;56846:24;;;;:15;:24;;;;;:44;;;56901:24;;;;;;;;;;;;56769:164;56184:40;56145:187;;;56254:2;-1:-1:-1;;;;;56246:10:0;:4;-1:-1:-1;;;;;56246:10:0;;56242:90;;56273:47;56306:4;56312:7;56273:32;:47::i;:::-;-1:-1:-1;;;;;56346:16:0;;56342:183;;56379:45;56416:7;56379:36;:45::i;56342:183::-;56452:4;-1:-1:-1;;;;;56446:10:0;:2;-1:-1:-1;;;;;56446:10:0;;56442:83;;56473:40;56501:2;56505:7;56473:27;:40::i;7934:451::-;8009:13;8035:19;8067:10;8071:6;8067:1;:10;:::i;:::-;:14;;8080:1;8067:14;:::i;:::-;8057:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8057:25:0;;8035:47;;-1:-1:-1;;;8093:6:0;8100:1;8093:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;8093:15:0;;;;;;;;;-1:-1:-1;;;8119:6:0;8126:1;8119:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;8119:15:0;;;;;;;;-1:-1:-1;8150:9:0;8162:10;8166:6;8162:1;:10;:::i;:::-;:14;;8175:1;8162:14;:::i;:::-;8150:26;;8145:135;8182:1;8178;:5;8145:135;;;-1:-1:-1;;;8230:5:0;8238:3;8230:11;8217:25;;;;;;;:::i;:::-;;;;8205:6;8212:1;8205:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;8205:37:0;;;;;;;;-1:-1:-1;8267:1:0;8257:11;;;;;8185:3;;;:::i;:::-;;;8145:135;;;-1:-1:-1;8298:10:0;;8290:55;;;;-1:-1:-1;;;8290:55:0;;19587:2:1;8290:55:0;;;19569:21:1;;;19606:18;;;19599:30;19665:34;19645:18;;;19638:62;19717:18;;8290:55:0;19385:356:1;28404:360:0;28464:13;28480:23;28495:7;28480:14;:23::i;:::-;28464:39;;28516:48;28537:5;28552:1;28556:7;28516:20;:48::i;:::-;28605:29;28622:1;28626:7;28605:8;:29::i;:::-;-1:-1:-1;;;;;28647:16:0;;;;;;:9;:16;;;;;:21;;28667:1;;28647:16;:21;;28667:1;;28647:21;:::i;:::-;;;;-1:-1:-1;;28686:16:0;;;;:7;:16;;;;;;28679:23;;-1:-1:-1;;;;;;28679:23:0;;;28720:36;28694:7;;28686:16;-1:-1:-1;;;;;28720:36:0;;;;;28686:16;;28720:36;28453:311;28404:360;:::o;27136:321::-;27266:18;27272:2;27276:7;27266:5;:18::i;:::-;27317:54;27348:1;27352:2;27356:7;27365:5;27317:22;:54::i;:::-;27295:154;;;;-1:-1:-1;;;27295:154:0;;;;;;;:::i;30536:799::-;30691:4;-1:-1:-1;;;;;30712:13:0;;11674:20;11722:8;30708:620;;30748:72;;-1:-1:-1;;;30748:72:0;;-1:-1:-1;;;;;30748:36:0;;;;;:72;;9018:10;;30799:4;;30805:7;;30814:5;;30748:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30748:72:0;;;;;;;;-1:-1:-1;;30748:72:0;;;;;;;;;;;;:::i;:::-;;;30744:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30990:13:0;;30986:272;;31033:60;;-1:-1:-1;;;31033:60:0;;;;;;;:::i;30986:272::-;31208:6;31202:13;31193:6;31189:2;31185:15;31178:38;30744:529;-1:-1:-1;;;;;;30871:51:0;-1:-1:-1;;;30871:51:0;;-1:-1:-1;30864:58:0;;30708:620;-1:-1:-1;31312:4:0;30536:799;;;;;;:::o;6633:723::-;6689:13;6910:10;6906:53;;-1:-1:-1;;6937:10:0;;;;;;;;;;;;-1:-1:-1;;;6937:10:0;;;;;6633:723::o;6906:53::-;6984:5;6969:12;7025:78;7032:9;;7025:78;;7058:8;;;;:::i;:::-;;-1:-1:-1;7081:10:0;;-1:-1:-1;7089:2:0;7081:10;;:::i;:::-;;;7025:78;;;7113:19;7145:6;7135:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7135:17:0;;7113:39;;7163:154;7170:10;;7163:154;;7197:11;7207:1;7197:11;;:::i;:::-;;-1:-1:-1;7266:10:0;7274:2;7266:5;:10;:::i;:::-;7253:24;;:2;:24;:::i;:::-;7240:39;;7223:6;7230;7223:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7223:56:0;;;;;;;;-1:-1:-1;7294:11:0;7303:2;7294:11;;:::i;:::-;;;7163:154;;57190:988;57456:22;57506:1;57481:22;57498:4;57481:16;:22::i;:::-;:26;;;;:::i;:::-;57518:18;57539:26;;;:17;:26;;;;;;57456:51;;-1:-1:-1;57672:28:0;;;57668:328;;-1:-1:-1;;;;;57739:18:0;;57717:19;57739:18;;;:12;:18;;;;;;;;:34;;;;;;;;;57790:30;;;;;;:44;;;57907:30;;:17;:30;;;;;:43;;;57668:328;-1:-1:-1;58092:26:0;;;;:17;:26;;;;;;;;58085:33;;;-1:-1:-1;;;;;58136:18:0;;;;;:12;:18;;;;;:34;;;;;;;58129:41;57190:988::o;58186:1079::-;58464:10;:17;58439:22;;58464:21;;58484:1;;58464:21;:::i;:::-;58496:18;58517:24;;;:15;:24;;;;;;58890:10;:26;;58439:46;;-1:-1:-1;58517:24:0;;58439:46;;58890:26;;;;;;:::i;:::-;;;;;;;;;58868:48;;58954:11;58929:10;58940;58929:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;59034:28;;;:15;:28;;;;;;;:41;;;59206:24;;;;;59199:31;59241:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;58257:1008;;;58186:1079;:::o;56540:221::-;56625:14;56642:20;56659:2;56642:16;:20::i;:::-;-1:-1:-1;;;;;56673:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;56718:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;56540:221:0:o;27793:382::-;-1:-1:-1;;;;;27873:16:0;;27865:61;;;;-1:-1:-1;;;27865:61:0;;21342:2:1;27865:61:0;;;21324:21:1;;;21361:18;;;21354:30;21420:34;21400:18;;;21393:62;21472:18;;27865:61:0;21140:356:1;27865:61:0;27946:16;27954:7;27946;:16::i;:::-;27945:17;27937:58;;;;-1:-1:-1;;;27937:58:0;;21703:2:1;27937:58:0;;;21685:21:1;21742:2;21722:18;;;21715:30;21781;21761:18;;;21754:58;21829:18;;27937:58:0;21501:352:1;27937:58:0;28008:45;28037:1;28041:2;28045:7;28008:20;:45::i;:::-;-1:-1:-1;;;;;28066:13:0;;;;;;:9;:13;;;;;:18;;28083:1;;28066:13;:18;;28083:1;;28066:18;:::i;:::-;;;;-1:-1:-1;;28095:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28095:21:0;-1:-1:-1;;;;;28095:21:0;;;;;;;;28134:33;;28095:16;;;28134:33;;28095:16;;28134:33;27793:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;3055:254::-;3123:6;3131;3184:2;3172:9;3163:7;3159:23;3155:32;3152:52;;;3200:1;3197;3190:12;3152:52;3236:9;3223:23;3213:33;;3265:38;3299:2;3288:9;3284:18;3265:38;:::i;:::-;3255:48;;3055:254;;;;;:::o;3314:186::-;3373:6;3426:2;3414:9;3405:7;3401:23;3397:32;3394:52;;;3442:1;3439;3432:12;3394:52;3465:29;3484:9;3465:29;:::i;3505:127::-;3566:10;3561:3;3557:20;3554:1;3547:31;3597:4;3594:1;3587:15;3621:4;3618:1;3611:15;3637:632;3702:5;3732:18;3773:2;3765:6;3762:14;3759:40;;;3779:18;;:::i;:::-;3854:2;3848:9;3822:2;3908:15;;-1:-1:-1;;3904:24:1;;;3930:2;3900:33;3896:42;3884:55;;;3954:18;;;3974:22;;;3951:46;3948:72;;;4000:18;;:::i;:::-;4040:10;4036:2;4029:22;4069:6;4060:15;;4099:6;4091;4084:22;4139:3;4130:6;4125:3;4121:16;4118:25;4115:45;;;4156:1;4153;4146:12;4115:45;4206:6;4201:3;4194:4;4186:6;4182:17;4169:44;4261:1;4254:4;4245:6;4237;4233:19;4229:30;4222:41;;;;3637:632;;;;;:::o;4274:222::-;4317:5;4370:3;4363:4;4355:6;4351:17;4347:27;4337:55;;4388:1;4385;4378:12;4337:55;4410:80;4486:3;4477:6;4464:20;4457:4;4449:6;4445:17;4410:80;:::i;4501:160::-;4566:20;;4622:13;;4615:21;4605:32;;4595:60;;4651:1;4648;4641:12;4666:390;4741:6;4749;4802:2;4790:9;4781:7;4777:23;4773:32;4770:52;;;4818:1;4815;4808:12;4770:52;4858:9;4845:23;4891:18;4883:6;4880:30;4877:50;;;4923:1;4920;4913:12;4877:50;4946;4988:7;4979:6;4968:9;4964:22;4946:50;:::i;:::-;4936:60;;;5015:35;5046:2;5035:9;5031:18;5015:35;:::i;5061:464::-;5148:6;5156;5164;5217:2;5205:9;5196:7;5192:23;5188:32;5185:52;;;5233:1;5230;5223:12;5185:52;5256:29;5275:9;5256:29;:::i;:::-;5246:39;;5332:2;5321:9;5317:18;5304:32;5294:42;;5387:2;5376:9;5372:18;5359:32;5414:18;5406:6;5403:30;5400:50;;;5446:1;5443;5436:12;5400:50;5469;5511:7;5502:6;5491:9;5487:22;5469:50;:::i;:::-;5459:60;;;5061:464;;;;;:::o;5530:254::-;5595:6;5603;5656:2;5644:9;5635:7;5631:23;5627:32;5624:52;;;5672:1;5669;5662:12;5624:52;5695:29;5714:9;5695:29;:::i;:::-;5685:39;;5743:35;5774:2;5763:9;5759:18;5743:35;:::i;5789:458::-;5873:6;5881;5889;5942:2;5930:9;5921:7;5917:23;5913:32;5910:52;;;5958:1;5955;5948:12;5910:52;5994:9;5981:23;5971:33;;6055:2;6044:9;6040:18;6027:32;6082:18;6074:6;6071:30;6068:50;;;6114:1;6111;6104:12;6068:50;6137;6179:7;6170:6;6159:9;6155:22;6137:50;:::i;:::-;6127:60;;;6206:35;6237:2;6226:9;6222:18;6206:35;:::i;:::-;6196:45;;5789:458;;;;;:::o;6252:667::-;6347:6;6355;6363;6371;6424:3;6412:9;6403:7;6399:23;6395:33;6392:53;;;6441:1;6438;6431:12;6392:53;6464:29;6483:9;6464:29;:::i;:::-;6454:39;;6512:38;6546:2;6535:9;6531:18;6512:38;:::i;:::-;6502:48;;6597:2;6586:9;6582:18;6569:32;6559:42;;6652:2;6641:9;6637:18;6624:32;6679:18;6671:6;6668:30;6665:50;;;6711:1;6708;6701:12;6665:50;6734:22;;6787:4;6779:13;;6775:27;-1:-1:-1;6765:55:1;;6816:1;6813;6806:12;6765:55;6839:74;6905:7;6900:2;6887:16;6882:2;6878;6874:11;6839:74;:::i;:::-;6829:84;;;6252:667;;;;;;;:::o;6924:260::-;6992:6;7000;7053:2;7041:9;7032:7;7028:23;7024:32;7021:52;;;7069:1;7066;7059:12;7021:52;7092:29;7111:9;7092:29;:::i;:::-;7082:39;;7140:38;7174:2;7163:9;7159:18;7140:38;:::i;7189:380::-;7268:1;7264:12;;;;7311;;;7332:61;;7386:4;7378:6;7374:17;7364:27;;7332:61;7439:2;7431:6;7428:14;7408:18;7405:38;7402:161;;;7485:10;7480:3;7476:20;7473:1;7466:31;7520:4;7517:1;7510:15;7548:4;7545:1;7538:15;7402:161;;7189:380;;;:::o;8814:413::-;9016:2;8998:21;;;9055:2;9035:18;;;9028:30;9094:34;9089:2;9074:18;;9067:62;-1:-1:-1;;;9160:2:1;9145:18;;9138:47;9217:3;9202:19;;8814:413::o;10808:127::-;10869:10;10864:3;10860:20;10857:1;10850:31;10900:4;10897:1;10890:15;10924:4;10921:1;10914:15;11761:398;11963:2;11945:21;;;12002:2;11982:18;;;11975:30;12041:34;12036:2;12021:18;;12014:62;-1:-1:-1;;;12107:2:1;12092:18;;12085:32;12149:3;12134:19;;11761:398::o;14108:470::-;14287:3;14325:6;14319:13;14341:53;14387:6;14382:3;14375:4;14367:6;14363:17;14341:53;:::i;:::-;14457:13;;14416:16;;;;14479:57;14457:13;14416:16;14513:4;14501:17;;14479:57;:::i;:::-;14552:20;;14108:470;-1:-1:-1;;;;14108:470:1:o;16635:127::-;16696:10;16691:3;16687:20;16684:1;16677:31;16727:4;16724:1;16717:15;16751:4;16748:1;16741:15;16767:125;16807:4;16835:1;16832;16829:8;16826:34;;;16840:18;;:::i;:::-;-1:-1:-1;16877:9:1;;16767:125::o;16897:128::-;16937:3;16968:1;16964:6;16961:1;16958:13;16955:39;;;16974:18;;:::i;:::-;-1:-1:-1;17010:9:1;;16897:128::o;17030:786::-;17441:25;17436:3;17429:38;17411:3;17496:6;17490:13;17512:62;17567:6;17562:2;17557:3;17553:12;17546:4;17538:6;17534:17;17512:62;:::i;:::-;-1:-1:-1;;;17633:2:1;17593:16;;;17625:11;;;17618:40;17683:13;;17705:63;17683:13;17754:2;17746:11;;17739:4;17727:17;;17705:63;:::i;:::-;17788:17;17807:2;17784:26;;17030:786;-1:-1:-1;;;;17030:786:1:o;18236:414::-;18438:2;18420:21;;;18477:2;18457:18;;;18450:30;18516:34;18511:2;18496:18;;18489:62;-1:-1:-1;;;18582:2:1;18567:18;;18560:48;18640:3;18625:19;;18236:414::o;19071:168::-;19111:7;19177:1;19173;19169:6;19165:14;19162:1;19159:21;19154:1;19147:9;19140:17;19136:45;19133:71;;;19184:18;;:::i;:::-;-1:-1:-1;19224:9:1;;19071:168::o;19244:136::-;19283:3;19311:5;19301:39;;19320:18;;:::i;:::-;-1:-1:-1;;;19356:18:1;;19244:136::o;19746:489::-;-1:-1:-1;;;;;20015:15:1;;;19997:34;;20067:15;;20062:2;20047:18;;20040:43;20114:2;20099:18;;20092:34;;;20162:3;20157:2;20142:18;;20135:31;;;19940:4;;20183:46;;20209:19;;20201:6;20183:46;:::i;:::-;20175:54;19746:489;-1:-1:-1;;;;;;19746:489:1:o;20240:249::-;20309:6;20362:2;20350:9;20341:7;20337:23;20333:32;20330:52;;;20378:1;20375;20368:12;20330:52;20410:9;20404:16;20429:30;20453:5;20429:30;:::i;20494:135::-;20533:3;-1:-1:-1;;20554:17:1;;20551:43;;;20574:18;;:::i;:::-;-1:-1:-1;20621:1:1;20610:13;;20494:135::o;20634:127::-;20695:10;20690:3;20686:20;20683:1;20676:31;20726:4;20723:1;20716:15;20750:4;20747:1;20740:15;20766:120;20806:1;20832;20822:35;;20837:18;;:::i;:::-;-1:-1:-1;20871:9:1;;20766:120::o;20891:112::-;20923:1;20949;20939:35;;20954:18;;:::i;:::-;-1:-1:-1;20988:9:1;;20891:112::o;21008:127::-;21069:10;21064:3;21060:20;21057:1;21050:31;21100:4;21097:1;21090:15;21124:4;21121:1;21114:15

Swarm Source

ipfs://32058bad4a62dcca7d06437cdefafbe287a0afc1fbf2f18308c140689d626cc7
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.