Mumbai Testnet

Contract

0x7fd98c2f2d167fA3Cec8f5CB26E26252861Ec6fa

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...285955642022-10-13 10:36:22531 days ago1665657382IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0070634478.95377138
Batch Mint285955462022-10-13 10:34:52531 days ago1665657292IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0172538897.84995402
Safe Transfer Fr...285807732022-10-12 13:59:42532 days ago1665583182IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.00981301101.20998291
Batch Mint285805202022-10-12 13:38:33532 days ago1665581913IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0199478113.32046682
Batch Mint285637212022-10-11 14:14:13533 days ago1665497653IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.02404891136.39513522
Safe Transfer Fr...285594032022-10-11 8:13:15534 days ago1665475995IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0060100367.17905315
Batch Mint285593952022-10-11 8:12:35534 days ago1665475955IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0091702452.00616295
Safe Transfer Fr...285591692022-10-11 7:53:42534 days ago1665474822IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0067477575.42503839
Batch Mint285591332022-10-11 7:50:41534 days ago1665474641IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0147566383.68759164
Batch Mint285466602022-10-10 14:28:01534 days ago1665412081IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.01981546112.38483759
Batch Mint285463192022-10-10 13:59:31534 days ago1665410371IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0110903562.89974573
Batch Mint285461502022-10-10 13:45:23534 days ago1665409523IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0095550554.18846049
Batch Mint285455952022-10-10 12:58:59534 days ago1665406739IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0153050186.79755647
Safe Transfer Fr...285453362022-10-10 12:37:20534 days ago1665405440IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.00888617115.1611453
Safe Transfer Fr...285452352022-10-10 12:28:54534 days ago1665404934IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.01195462119.83746527
Batch Mint285451322022-10-10 12:20:17534 days ago1665404417IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0143179181.19954674
Batch Mint285451282022-10-10 12:19:57534 days ago1665404397IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.0135780877.00909655
Batch Mint285442652022-10-10 11:07:49534 days ago1665400069IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.002144112.1595921
Batch Mint285442622022-10-10 11:07:34534 days ago1665400054IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.002100911.9154081
Safe Transfer Fr...285439442022-10-10 10:40:59534 days ago1665398459IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000231563.00097295
Safe Transfer Fr...285439362022-10-10 10:40:19534 days ago1665398419IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000268473.00094745
Batch Mint285438242022-10-10 10:30:57534 days ago1665397857IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000581983.30051791
Batch Mint285438082022-10-10 10:29:37534 days ago1665397777IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000529053.00056513
Safe Transfer Fr...285436582022-10-10 10:17:04534 days ago1665397024IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000231493.00008044
Batch Mint285436542022-10-10 10:16:44534 days ago1665397004IN
0x7fd98c2f...2861Ec6fa
0 MATIC0.000528963.00006843
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xB5774971...3B8b4A21D
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
BasicERC721

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at mumbai.polygonscan.com on 2022-10-03
*/

// Sources flattened with hardhat v2.11.1 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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 Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// File @openzeppelin/contracts/access/[email protected]

// License: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


// File @openzeppelin/contracts/access/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

    /**
     * @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 virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @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 virtual {
        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 virtual 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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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 revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// File @openzeppelin/contracts/token/ERC721/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;







/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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


// File @openzeppelin/contracts/access/[email protected]

// License: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/structs/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}


// File @openzeppelin/contracts/access/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// License: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/interfaces/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}


// File @openzeppelin/contracts/token/common/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]

// License: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}


// File contracts/baseErc721/erc721.sol

// License: MIT
pragma solidity ^0.8.4;
contract BasicERC721 is ERC721, ERC721Royalty, ERC721Enumerable, AccessControlEnumerable {
    bytes32 public immutable MINTER_ROLE = keccak256("MINTER_ROLE");
    mapping(uint256 => string) private tokenURIMap;
    bool public metadataLocked;
    bool public useBaseUri;
    uint256 public maxTokenAmount = 0;
    // save gas, using reordering of state parameters
    string public baseURI;

    event PermanentURI(string _value, uint256 indexed _id);

    modifier metadataNotLocked() {
        require(metadataLocked==false, "Metadata was locked.");
        _;
    }

    modifier metadataIsLocked() {
        require(metadataLocked, "Metadata must be locked for this operation.");
        _;
    }

    constructor(address _admin,address _minter,string memory name_, string memory symbol_, string memory _baseURI, uint256 _maxTokenAmount, address _royalReceiver, uint96 _royalFeeNumerator) ERC721(name_, symbol_) {
        baseURI = _baseURI;
        maxTokenAmount = _maxTokenAmount;
        _grantRole(DEFAULT_ADMIN_ROLE, _admin);
        _grantRole(MINTER_ROLE, _admin);
        _grantRole(MINTER_ROLE, _minter);
        if(_royalReceiver != address(0)){
            _setDefaultRoyalty(_royalReceiver,_royalFeeNumerator);
        }
    }

    function grantAdmin(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
        grantRole(DEFAULT_ADMIN_ROLE, account);
    }

    function revokeAdmin(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
        revokeRole(DEFAULT_ADMIN_ROLE, account);
    }

    function grantMinter(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
        grantRole(MINTER_ROLE, account);
    }

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

    function lockMetaData() public onlyRole(MINTER_ROLE) metadataNotLocked {
        metadataLocked=true;
    }

    function emitTokenMetadataLockedEvent(uint256[] calldata _tokenIds) public onlyRole(MINTER_ROLE) metadataIsLocked {
        uint256 len = _tokenIds.length;
        // save gas
        for (uint256 i; i < len; ++i) {
            emit PermanentURI(tokenURI(_tokenIds[i]), _tokenIds[i]);
        }
    }

    function batchMint(address[] calldata _tos, uint256[] calldata _tokenIds, string[] calldata _tokenUris) public onlyRole(MINTER_ROLE) {
        require(_tos.length == _tokenIds.length && _tos.length == _tokenUris.length, "Size input arrays is not equal!");
        uint256 len = _tos.length;
        require(len + totalSupply() <= maxTokenAmount, "Mint action will exceed maximal allowed token amount");
        for (uint256 i; i < len; ++i) {
            _safeMint(_tos[i], _tokenIds[i]);
            tokenURIMap[_tokenIds[i]] = _tokenUris[i];
        }
    }

    function batchUpdateTokenUri(uint256[] calldata _tokenIds, string[] calldata _tokenUris) public onlyRole(MINTER_ROLE) metadataNotLocked {
        require(_tokenIds.length == _tokenUris.length, "Size input arrays is not equal!");
        uint256 len = _tokenIds.length;
        for (uint256 i; i < len; ++i) {
            tokenURIMap[_tokenIds[i]] = _tokenUris[i];
        }
    }

    function getRoleMembers(bytes32 role) public view returns (address[] memory) {
        uint256 roleCount = getRoleMemberCount(role);
        address[] memory members = new address[](roleCount);
        for (uint256 i; i < roleCount; ++i) {
            members[i] = getRoleMember(role, i);
        }
        return members;
    }

    function updateBaseURI(string memory _baseURI) public onlyRole(MINTER_ROLE) metadataNotLocked {
        baseURI = _baseURI;
    }

    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        if (bytes(tokenURIMap[tokenId]).length > 0) {
            return string(abi.encodePacked(baseURI, tokenURIMap[tokenId]));
        }
        return baseURI;
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyRole(DEFAULT_ADMIN_ROLE){
        super._setDefaultRoyalty(receiver,feeNumerator);
    }


    function _burn(uint256 tokenId) internal override(ERC721Royalty,ERC721) {
        super._burn(tokenId);
    }

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


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

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"_maxTokenAmount","type":"uint256"},{"internalType":"address","name":"_royalReceiver","type":"address"},{"internalType":"uint96","name":"_royalFeeNumerator","type":"uint96"}],"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":[{"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":"address[]","name":"_tos","type":"address[]"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_tokenUris","type":"string[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_tokenUris","type":"string[]"}],"name":"batchUpdateTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"emitTokenMetadataLockedEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinter","outputs":[],"stateMutability":"nonpayable","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":"lockMetaData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","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":"_baseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useBaseUri","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e35760003560e01c806301ffc9a7146101e857806304634d8d1461021057806306fdde0314610225578063081812fc1461023a578063095ea7b31461026557806318160ddd1461027857806323b872dd1461028a578063248a9ca31461029d578063261707fa146102b057806327fd95c9146102c35780632a55205a146102d65780632d345670146103085780632f2ff15d1461031b5780632f745c591461032e57806335bb3e161461034157806336568abe1461035457806342842e0e146103675780634f6ccce71461037a5780636352211e1461038d57806369d2ceb1146103a05780636c0360eb146103ad57806370a08231146103b55780638a926d0f146103c85780639010d07c146103d157806391d14854146103e4578063931688cb146103f757806395d89b411461040a5780639e25175814610412578063a217fddf1461041a578063a22cb46514610422578063a3246ad314610435578063a81d9b3614610455578063b88d4fde14610467578063bde7b57a1461047a578063c87b56dd1461048d578063ca15c873146104a0578063cfbd4885146104b3578063d5391393146104c6578063d547741f146104ed578063e985e9c514610500578063efb14c4d14610513575b600080fd5b6101fb6101f6366004612344565b610526565b60405190151581526020015b60405180910390f35b61022361021e36600461237d565b610537565b005b61022d610551565b6040516102079190612418565b61024d61024836600461242b565b6105e3565b6040516001600160a01b039091168152602001610207565b610223610273366004612444565b61060a565b600a545b604051908152602001610207565b61022361029836600461246e565b610720565b61027c6102ab36600461242b565b610751565b6102236102be3660046124aa565b610766565b6102236102d1366004612509565b61079f565b6102e96102e43660046125a2565b610941565b604080516001600160a01b039093168352602083019190915201610207565b6102236103163660046124aa565b6109ef565b6102236103293660046125c4565b610a05565b61027c61033c366004612444565b610a21565b61022361034f3660046124aa565b610ab7565b6102236103623660046125c4565b610acd565b61022361037536600461246e565b610b47565b61027c61038836600461242b565b610b62565b61024d61039b36600461242b565b610bf5565b600f546101fb9060ff1681565b61022d610c2a565b61027c6103c33660046124aa565b610cb8565b61027c60105481565b61024d6103df3660046125a2565b610d3e565b6101fb6103f23660046125c4565b610d5d565b61022361040536600461267b565b610d88565b61022d610de8565b610223610df7565b61027c600081565b6102236104303660046126c3565b610e54565b61044861044336600461242b565b610e5f565b60405161020791906126f4565b600f546101fb90610100900460ff1681565b610223610475366004612741565b610f0b565b6102236104883660046127bc565b610f43565b61022d61049b36600461242b565b611066565b61027c6104ae36600461242b565b61115a565b6102236104c13660046124aa565b611171565b61027c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102236104fb3660046125c4565b6111a2565b6101fb61050e3660046127fd565b6111be565b610223610521366004612827565b6111ec565b600061053182611375565b92915050565b60006105428161139a565b61054c83836113a7565b505050565b60606002805461056090612892565b80601f016020809104026020016040519081016040528092919081815260200182805461058c90612892565b80156105d95780601f106105ae576101008083540402835291602001916105d9565b820191906000526020600020905b8154815290600101906020018083116105bc57829003601f168201915b5050505050905090565b60006105ee826114a0565b506000908152600660205260409020546001600160a01b031690565b600061061582610bf5565b9050806001600160a01b0316836001600160a01b031614156106885760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106a457506106a481336111be565b6107165760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161067f565b61054c83836114c5565b61072a3382611533565b6107465760405162461bcd60e51b815260040161067f906128cd565b61054c838383611592565b6000908152600c602052604090206001015490565b60006107718161139a565b61079b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610a05565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107c98161139a565b85841480156107d757508582145b6107f35760405162461bcd60e51b815260040161067f9061291b565b6010548690610801600a5490565b61080b9083612968565b11156108765760405162461bcd60e51b815260206004820152603460248201527f4d696e7420616374696f6e2077696c6c20657863656564206d6178696d616c20604482015273185b1b1bddd959081d1bdad95b88185b5bdd5b9d60621b606482015260840161067f565b60005b81811015610936576108c989898381811061089657610896612980565b90506020020160208101906108ab91906124aa565b8888848181106108bd576108bd612980565b90506020020135611727565b8484828181106108db576108db612980565b90506020028101906108ed9190612996565b600e60008a8a8681811061090357610903612980565b9050602002013581526020019081526020016000209190610925929190612221565b5061092f816129dc565b9050610879565b505050505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109b65750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109d5906001600160601b0316876129f7565b6109df9190612a16565b91519350909150505b9250929050565b60006109fa8161139a565b61079b6000836111a2565b610a0e82610751565b610a178161139a565b61054c8383611741565b6000610a2c83610cb8565b8210610a8e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161067f565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6000610ac28161139a565b61079b600083610a05565b6001600160a01b0381163314610b3d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161067f565b61079b8282611763565b61054c83838360405180602001604052806000815250610f0b565b6000610b6d600a5490565b8210610bd05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161067f565b600a8281548110610be357610be3612980565b90600052602060002001549050919050565b6000818152600460205260408120546001600160a01b0316806105315760405162461bcd60e51b815260040161067f90612a38565b60118054610c3790612892565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6390612892565b8015610cb05780601f10610c8557610100808354040283529160200191610cb0565b820191906000526020600020905b815481529060010190602001808311610c9357829003601f168201915b505050505081565b60006001600160a01b038216610d225760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161067f565b506001600160a01b031660009081526005602052604090205490565b6000828152600d60205260408120610d569083611785565b9392505050565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610db28161139a565b600f5460ff1615610dd55760405162461bcd60e51b815260040161067f90612a6a565b815161054c9060119060208501906122a5565b60606003805461056090612892565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e218161139a565b600f5460ff1615610e445760405162461bcd60e51b815260040161067f90612a6a565b50600f805460ff19166001179055565b61079b338383611791565b60606000610e6c8361115a565b90506000816001600160401b03811115610e8857610e886125f0565b604051908082528060200260200182016040528015610eb1578160200160208202803683370190505b50905060005b82811015610f0357610ec98582610d3e565b828281518110610edb57610edb612980565b6001600160a01b0390921660209283029190910190910152610efc816129dc565b9050610eb7565b509392505050565b610f153383611533565b610f315760405162461bcd60e51b815260040161067f906128cd565b610f3d8484848461185c565b50505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f6d8161139a565b600f5460ff16610fd35760405162461bcd60e51b815260206004820152602b60248201527f4d65746164617461206d757374206265206c6f636b656420666f72207468697360448201526a1037b832b930ba34b7b71760a91b606482015260840161067f565b8160005b8181101561105f57848482818110610ff157610ff1612980565b905060200201357fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761103a87878581811061102e5761102e612980565b90506020020135611066565b6040516110479190612418565b60405180910390a2611058816129dc565b9050610fd7565b5050505050565b6000818152600e602052604081208054606092919061108490612892565b905011156110c8576011600e60008481526020019081526020016000206040516020016110b2929190612b32565b6040516020818303038152906040529050919050565b601180546110d590612892565b80601f016020809104026020016040519081016040528092919081815260200182805461110190612892565b801561114e5780601f106111235761010080835404028352916020019161114e565b820191906000526020600020905b81548152906001019060200180831161113157829003601f168201915b50505050509050919050565b6000818152600d602052604081206105319061188f565b600061117c8161139a565b61079b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6835b6111ab82610751565b6111b48161139a565b61054c8383611763565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66112168161139a565b600f5460ff16156112395760405162461bcd60e51b815260040161067f90612a6a565b8382146112585760405162461bcd60e51b815260040161067f9061291b565b8360005b818110156112d15784848281811061127657611276612980565b90506020028101906112889190612996565b600e60008a8a8681811061129e5761129e612980565b90506020020135815260200190815260200160002091906112c0929190612221565b506112ca816129dc565b905061125c565b50505050505050565b6112e48282610d5d565b61079b576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561131c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d56836001600160a01b038416611899565b60006001600160e01b03198216635a05180f60e01b14806105315750610531826118e8565b6113a4813361190d565b50565b6127106001600160601b03821611156114155760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161067f565b6001600160a01b0382166114675760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b604482015260640161067f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6114a981611971565b6113a45760405162461bcd60e51b815260040161067f90612a38565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114fa82610bf5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061153f83610bf5565b9050806001600160a01b0316846001600160a01b03161480611566575061156681856111be565b8061158a5750836001600160a01b031661157f846105e3565b6001600160a01b0316145b949350505050565b826001600160a01b03166115a582610bf5565b6001600160a01b0316146116095760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161067f565b6001600160a01b03821661166b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161067f565b61167683838361198e565b6116816000826114c5565b6001600160a01b03831660009081526005602052604081208054600192906116aa908490612b47565b90915550506001600160a01b03821660009081526005602052604081208054600192906116d8908490612968565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612ca783398151915291a4505050565b61079b828260405180602001604052806000815250611999565b61174b82826112da565b6000828152600d6020526040902061054c9082611360565b61176d82826119cc565b6000828152600d6020526040902061054c9082611a33565b6000610d568383611a48565b816001600160a01b0316836001600160a01b031614156117ef5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161067f565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611867848484611592565b61187384848484611a72565b610f3d5760405162461bcd60e51b815260040161067f90612b5e565b6000610531825490565b60008181526001830160205260408120546118e057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610531565b506000610531565b60006001600160e01b03198216637965db0b60e01b1480610531575061053182611b7f565b6119178282610d5d565b61079b5761192f816001600160a01b03166014611ba4565b61193a836020611ba4565b60405160200161194b929190612bb0565b60408051601f198184030181529082905262461bcd60e51b825261067f91600401612418565b6000908152600460205260409020546001600160a01b0316151590565b61054c838383611d3f565b6119a38383611df7565b6119b06000848484611a72565b61054c5760405162461bcd60e51b815260040161067f90612b5e565b6119d68282610d5d565b1561079b576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610d56836001600160a01b038416611f23565b6000826000018281548110611a5f57611a5f612980565b9060005260206000200154905092915050565b60006001600160a01b0384163b15611b7457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ab6903390899088908890600401612c1f565b602060405180830381600087803b158015611ad057600080fd5b505af1925050508015611b00575060408051601f3d908101601f19168201909252611afd91810190612c5c565b60015b611b5a573d808015611b2e576040519150601f19603f3d011682016040523d82523d6000602084013e611b33565b606091505b508051611b525760405162461bcd60e51b815260040161067f90612b5e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061158a565b506001949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610531575061053182612016565b60606000611bb38360026129f7565b611bbe906002612968565b6001600160401b03811115611bd557611bd56125f0565b6040519080825280601f01601f191660200182016040528015611bff576020820181803683370190505b509050600360fc1b81600081518110611c1a57611c1a612980565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c4957611c49612980565b60200101906001600160f81b031916908160001a9053506000611c6d8460026129f7565b611c78906001612968565b90505b6001811115611cf0576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cac57611cac612980565b1a60f81b828281518110611cc257611cc2612980565b60200101906001600160f81b031916908160001a90535060049490941c93611ce981612c79565b9050611c7b565b508315610d565760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161067f565b6001600160a01b038316611d9a57611d9581600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b611dbd565b816001600160a01b0316836001600160a01b031614611dbd57611dbd8382612021565b6001600160a01b038216611dd45761054c816120be565b826001600160a01b0316826001600160a01b03161461054c5761054c828261216d565b6001600160a01b038216611e4d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161067f565b611e5681611971565b15611ea25760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161067f565b611eae6000838361198e565b6001600160a01b0382166000908152600560205260408120805460019290611ed7908490612968565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612ca7833981519152908290a45050565b6000818152600183016020526040812054801561200c576000611f47600183612b47565b8554909150600090611f5b90600190612b47565b9050818114611fc0576000866000018281548110611f7b57611f7b612980565b9060005260206000200154905080876000018481548110611f9e57611f9e612980565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611fd157611fd1612c90565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610531565b6000915050610531565b6000610531826121b1565b6000600161202e84610cb8565b6120389190612b47565b60008381526009602052604090205490915080821461208b576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906120d090600190612b47565b6000838152600b6020526040812054600a80549394509092849081106120f8576120f8612980565b9060005260206000200154905080600a838154811061211957612119612980565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061215157612151612c90565b6001900381819060005260206000200160009055905550505050565b600061217883610cb8565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b14806121e257506001600160e01b03198216635b5e139f60e01b145b8061053157506105318260006001600160e01b0319821663152a902d60e11b148061053157506301ffc9a760e01b6001600160e01b0319831614610531565b82805461222d90612892565b90600052602060002090601f01602090048101928261224f5760008555612295565b82601f106122685782800160ff19823516178555612295565b82800160010185558215612295579182015b8281111561229557823582559160200191906001019061227a565b506122a1929150612319565b5090565b8280546122b190612892565b90600052602060002090601f0160209004810192826122d35760008555612295565b82601f106122ec57805160ff1916838001178555612295565b82800160010185558215612295579182015b828111156122955782518255916020019190600101906122fe565b5b808211156122a1576000815560010161231a565b6001600160e01b0319811681146113a457600080fd5b60006020828403121561235657600080fd5b8135610d568161232e565b80356001600160a01b038116811461237857600080fd5b919050565b6000806040838503121561239057600080fd5b61239983612361565b915060208301356001600160601b03811681146123b557600080fd5b809150509250929050565b60005b838110156123db5781810151838201526020016123c3565b83811115610f3d5750506000910152565b600081518084526124048160208601602086016123c0565b601f01601f19169290920160200192915050565b602081526000610d5660208301846123ec565b60006020828403121561243d57600080fd5b5035919050565b6000806040838503121561245757600080fd5b61246083612361565b946020939093013593505050565b60008060006060848603121561248357600080fd5b61248c84612361565b925061249a60208501612361565b9150604084013590509250925092565b6000602082840312156124bc57600080fd5b610d5682612361565b60008083601f8401126124d757600080fd5b5081356001600160401b038111156124ee57600080fd5b6020830191508360208260051b85010111156109e857600080fd5b6000806000806000806060878903121561252257600080fd5b86356001600160401b038082111561253957600080fd5b6125458a838b016124c5565b9098509650602089013591508082111561255e57600080fd5b61256a8a838b016124c5565b9096509450604089013591508082111561258357600080fd5b5061259089828a016124c5565b979a9699509497509295939492505050565b600080604083850312156125b557600080fd5b50508035926020909101359150565b600080604083850312156125d757600080fd5b823591506125e760208401612361565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115612620576126206125f0565b604051601f8501601f19908116603f01168101908282118183101715612648576126486125f0565b8160405280935085815286868601111561266157600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561268d57600080fd5b81356001600160401b038111156126a357600080fd5b8201601f810184136126b457600080fd5b61158a84823560208401612606565b600080604083850312156126d657600080fd5b6126df83612361565b9150602083013580151581146123b557600080fd5b6020808252825182820181905260009190848201906040850190845b818110156127355783516001600160a01b031683529284019291840191600101612710565b50909695505050505050565b6000806000806080858703121561275757600080fd5b61276085612361565b935061276e60208601612361565b92506040850135915060608501356001600160401b0381111561279057600080fd5b8501601f810187136127a157600080fd5b6127b087823560208401612606565b91505092959194509250565b600080602083850312156127cf57600080fd5b82356001600160401b038111156127e557600080fd5b6127f1858286016124c5565b90969095509350505050565b6000806040838503121561281057600080fd5b61281983612361565b91506125e760208401612361565b6000806000806040858703121561283d57600080fd5b84356001600160401b038082111561285457600080fd5b612860888389016124c5565b9096509450602087013591508082111561287957600080fd5b50612886878288016124c5565b95989497509550505050565b600181811c908216806128a657607f821691505b602082108114156128c757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252601f908201527f53697a6520696e70757420617272617973206973206e6f7420657175616c2100604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561297b5761297b612952565b500190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126129ad57600080fd5b8301803591506001600160401b038211156129c757600080fd5b6020019150368190038213156109e857600080fd5b60006000198214156129f0576129f0612952565b5060010190565b6000816000190483118215151615612a1157612a11612952565b500290565b600082612a3357634e487b7160e01b600052601260045260246000fd5b500490565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b60208082526014908201527326b2ba30b230ba30903bb0b9903637b1b5b2b21760611b604082015260600190565b8054600090600181811c9080831680612ab257607f831692505b6020808410821415612ad457634e487b7160e01b600052602260045260246000fd5b818015612ae85760018114612af957612b26565b60ff19861689528489019650612b26565b60008881526020902060005b86811015612b1e5781548b820152908501908301612b05565b505084890196505b50505050505092915050565b600061158a612b418386612a98565b84612a98565b600082821015612b5957612b59612952565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351612be28160178501602088016123c0565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c138160288401602088016123c0565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c52908301846123ec565b9695505050505050565b600060208284031215612c6e57600080fd5b8151610d568161232e565b600081612c8857612c88612952565b506000190190565b634e487b7160e01b600052603160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b4346fc20a2b868bd1942df2becd7236d6dac8f28b15d37f054783202de8344864736f6c63430008090033

Deployed Bytecode Sourcemap

78653:4721:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83134:235;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;83134:235:0;;;;;;;;82632:167;;;;;;:::i;:::-;;:::i;:::-;;34586:100;;;:::i;:::-;;;;;;;:::i;36099:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2233:32:1;;;2215:51;;2203:2;2188:18;36099:171:0;2069:203:1;35616:417:0;;;;;;:::i;:::-;;:::i;66436:113::-;66524:10;:17;66436:113;;;2682:25:1;;;2670:2;2655:18;66436:113:0;2536:177:1;36799:336:0;;;;;;:::i;:::-;;:::i;13003:131::-;;;;;;:::i;:::-;;:::i;80213:124::-;;;;;;:::i;:::-;;:::i;80910:567::-;;;;;;:::i;:::-;;:::i;74540:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5531:32:1;;;5513:51;;5595:2;5580:18;;5573:34;;;;5486:18;74540:442:0;5339:274:1;80073:132:0;;;;;;:::i;:::-;;:::i;13444:147::-;;;;;;:::i;:::-;;:::i;66104:256::-;;;;;;:::i;:::-;;:::i;79935:130::-;;;;;;:::i;:::-;;:::i;14588:218::-;;;;;;:::i;:::-;;:::i;37206:185::-;;;;;;:::i;:::-;;:::i;66626:233::-;;;;;;:::i;:::-;;:::i;34297:222::-;;;;;;:::i;:::-;;:::i;78872:26::-;;;;;;;;;79029:21;;;:::i;34028:207::-;;;;;;:::i;:::-;;:::i;78934:33::-;;;;;;62657:153;;;;;;:::i;:::-;;:::i;11463:147::-;;;;;;:::i;:::-;;:::i;82221:131::-;;;;;;:::i;:::-;;:::i;34755:104::-;;;:::i;80479:109::-;;;:::i;10568:49::-;;10613:4;10568:49;;36342:155;;;;;;:::i;:::-;;:::i;81878:335::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;78905:22::-;;;;;;;;;;;;37462:323;;;;;;:::i;:::-;;:::i;80596:306::-;;;;;;:::i;:::-;;:::i;82360:264::-;;;;;;:::i;:::-;;:::i;62984:142::-;;;;;;:::i;:::-;;:::i;80345:126::-;;;;;;:::i;:::-;;:::i;78749:63::-;;;;;13884:149;;;;;;:::i;:::-;;:::i;36568:164::-;;;;;;:::i;:::-;;:::i;81485:385::-;;;;;;:::i;:::-;;:::i;83134:235::-;83296:4;83325:36;83349:11;83325:23;:36::i;:::-;83318:43;83134:235;-1:-1:-1;;83134:235:0:o;82632:167::-;10613:4;11059:16;10613:4;11059:10;:16::i;:::-;82744:47:::1;82769:8;82778:12;82744:24;:47::i;:::-;82632:167:::0;;;:::o;34586:100::-;34640:13;34673:5;34666:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34586:100;:::o;36099:171::-;36175:7;36195:23;36210:7;36195:14;:23::i;:::-;-1:-1:-1;36238:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36238:24:0;;36099:171::o;35616:417::-;35697:13;35713:23;35728:7;35713:14;:23::i;:::-;35697:39;;35761:5;-1:-1:-1;;;;;35755:11:0;:2;-1:-1:-1;;;;;35755:11:0;;;35747:57;;;;-1:-1:-1;;;35747:57:0;;11126:2:1;35747:57:0;;;11108:21:1;11165:2;11145:18;;;11138:30;11204:34;11184:18;;;11177:62;-1:-1:-1;;;11255:18:1;;;11248:31;11296:19;;35747:57:0;;;;;;;;;861:10;-1:-1:-1;;;;;35839:21:0;;;;:62;;-1:-1:-1;35864:37:0;35881:5;861:10;36568:164;:::i;35864:37::-;35817:174;;;;-1:-1:-1;;;35817:174:0;;11528:2:1;35817:174:0;;;11510:21:1;11567:2;11547:18;;;11540:30;11606:34;11586:18;;;11579:62;11677:32;11657:18;;;11650:60;11727:19;;35817:174:0;11326:426:1;35817:174:0;36004:21;36013:2;36017:7;36004:8;:21::i;36799:336::-;36994:41;861:10;37027:7;36994:18;:41::i;:::-;36986:100;;;;-1:-1:-1;;;36986:100:0;;;;;;;:::i;:::-;37099:28;37109:4;37115:2;37119:7;37099:9;:28::i;13003:131::-;13077:7;13104:12;;;:6;:12;;;;;:22;;;;13003:131::o;80213:124::-;10613:4;11059:16;10613:4;11059:10;:16::i;:::-;80298:31:::1;80308:11;80321:7;80298:9;:31::i;:::-;80213:124:::0;;:::o;80910:567::-;81030:11;11059:16;11070:4;11059:10;:16::i;:::-;81062:31;;::::1;:67:::0;::::1;;;-1:-1:-1::0;81097:32:0;;::::1;81062:67;81054:111;;;;-1:-1:-1::0;;;81054:111:0::1;;;;;;;:::i;:::-;81243:14;::::0;81190:4;;81226:13:::1;66524:10:::0;:17;;66436:113;81226:13:::1;81220:19;::::0;:3;:19:::1;:::i;:::-;:37;;81212:102;;;::::0;-1:-1:-1;;;81212:102:0;;12999:2:1;81212:102:0::1;::::0;::::1;12981:21:1::0;13038:2;13018:18;;;13011:30;13077:34;13057:18;;;13050:62;-1:-1:-1;;;13128:18:1;;;13121:50;13188:19;;81212:102:0::1;12797:416:1::0;81212:102:0::1;81330:9;81325:145;81345:3;81341:1;:7;81325:145;;;81370:32;81380:4;;81385:1;81380:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;81389:9;;81399:1;81389:12;;;;;;;:::i;:::-;;;;;;;81370:9;:32::i;:::-;81445:10;;81456:1;81445:13;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;81417:11;:25;81429:9;;81439:1;81429:12;;;;;;;:::i;:::-;;;;;;;81417:25;;;;;;;;;;;:41;;;;;;;:::i;:::-;-1:-1:-1::0;81350:3:0::1;::::0;::::1;:::i;:::-;;;81325:145;;;;81043:434;80910:567:::0;;;;;;;:::o;74540:442::-;74637:7;74695:27;;;:17;:27;;;;;;;;74666:56;;;;;;;;;-1:-1:-1;;;;;74666:56:0;;;;;-1:-1:-1;;;74666:56:0;;;-1:-1:-1;;;;;74666:56:0;;;;;;;;74637:7;;74735:92;;-1:-1:-1;74786:29:0;;;;;;;;;-1:-1:-1;74786:29:0;-1:-1:-1;;;;;74786:29:0;;;;-1:-1:-1;;;74786:29:0;;-1:-1:-1;;;;;74786:29:0;;;;;74735:92;74877:23;;;;74839:21;;75348:5;;74864:36;;-1:-1:-1;;;;;74864:36:0;:10;:36;:::i;:::-;74863:58;;;;:::i;:::-;74942:16;;;-1:-1:-1;74839:82:0;;-1:-1:-1;;74540:442:0;;;;;;:::o;80073:132::-;10613:4;11059:16;10613:4;11059:10;:16::i;:::-;80158:39:::1;10613:4;80189:7:::0;80158:10:::1;:39::i;13444:147::-:0;13527:18;13540:4;13527:12;:18::i;:::-;11059:16;11070:4;11059:10;:16::i;:::-;13558:25:::1;13569:4;13575:7;13558:10;:25::i;66104:256::-:0;66201:7;66237:23;66254:5;66237:16;:23::i;:::-;66229:5;:31;66221:87;;;;-1:-1:-1;;;66221:87:0;;14614:2:1;66221:87:0;;;14596:21:1;14653:2;14633:18;;;14626:30;14692:34;14672:18;;;14665:62;-1:-1:-1;;;14743:18:1;;;14736:41;14794:19;;66221:87:0;14412:407:1;66221:87:0;-1:-1:-1;;;;;;66326:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;66104:256::o;79935:130::-;10613:4;11059:16;10613:4;11059:10;:16::i;:::-;80019:38:::1;10613:4;80049:7:::0;80019:9:::1;:38::i;14588:218::-:0;-1:-1:-1;;;;;14684:23:0;;861:10;14684:23;14676:83;;;;-1:-1:-1;;;14676:83:0;;15026:2:1;14676:83:0;;;15008:21:1;15065:2;15045:18;;;15038:30;15104:34;15084:18;;;15077:62;-1:-1:-1;;;15155:18:1;;;15148:45;15210:19;;14676:83:0;14824:411:1;14676:83:0;14772:26;14784:4;14790:7;14772:11;:26::i;37206:185::-;37344:39;37361:4;37367:2;37371:7;37344:39;;;;;;;;;;;;:16;:39::i;66626:233::-;66701:7;66737:30;66524:10;:17;;66436:113;66737:30;66729:5;:38;66721:95;;;;-1:-1:-1;;;66721:95:0;;15442:2:1;66721:95:0;;;15424:21:1;15481:2;15461:18;;;15454:30;15520:34;15500:18;;;15493:62;-1:-1:-1;;;15571:18:1;;;15564:42;15623:19;;66721:95:0;15240:408:1;66721:95:0;66834:10;66845:5;66834:17;;;;;;;;:::i;:::-;;;;;;;;;66827:24;;66626:233;;;:::o;34297:222::-;34369:7;34405:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34405:16:0;34440:19;34432:56;;;;-1:-1:-1;;;34432:56:0;;;;;;;:::i;79029:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;34028:207::-;34100:7;-1:-1:-1;;;;;34128:19:0;;34120:73;;;;-1:-1:-1;;;34120:73:0;;16208:2:1;34120:73:0;;;16190:21:1;16247:2;16227:18;;;16220:30;16286:34;16266:18;;;16259:62;-1:-1:-1;;;16337:18:1;;;16330:39;16386:19;;34120:73:0;16006:405:1;34120:73:0;-1:-1:-1;;;;;;34211:16:0;;;;;:9;:16;;;;;;;34028:207::o;62657:153::-;62747:7;62774:18;;;:12;:18;;;;;:28;;62796:5;62774:21;:28::i;:::-;62767:35;62657:153;-1:-1:-1;;;62657:153:0:o;11463:147::-;11549:4;11573:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;11573:29:0;;;;;;;;;;;;;;;11463:147::o;82221:131::-;82284:11;11059:16;11070:4;11059:10;:16::i;:::-;79170:14:::1;::::0;::::1;;:21;79162:54;;;;-1:-1:-1::0;;;79162:54:0::1;;;;;;;:::i;:::-;82326:18:::0;;::::2;::::0;:7:::2;::::0;:18:::2;::::0;::::2;::::0;::::2;:::i;34755:104::-:0;34811:13;34844:7;34837:14;;;;;:::i;80479:109::-;80519:11;11059:16;11070:4;11059:10;:16::i;:::-;79170:14:::1;::::0;::::1;;:21;79162:54;;;;-1:-1:-1::0;;;79162:54:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;80561:14:0::2;:19:::0;;-1:-1:-1;;80561:19:0::2;80576:4;80561:19;::::0;;80479:109::o;36342:155::-;36437:52;861:10;36470:8;36480;36437:18;:52::i;81878:335::-;81937:16;81966:17;81986:24;82005:4;81986:18;:24::i;:::-;81966:44;;82021:24;82062:9;-1:-1:-1;;;;;82048:24:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82048:24:0;;82021:51;;82088:9;82083:98;82103:9;82099:1;:13;82083:98;;;82147:22;82161:4;82167:1;82147:13;:22::i;:::-;82134:7;82142:1;82134:10;;;;;;;;:::i;:::-;-1:-1:-1;;;;;82134:35:0;;;:10;;;;;;;;;;;:35;82114:3;;;:::i;:::-;;;82083:98;;;-1:-1:-1;82198:7:0;81878:335;-1:-1:-1;;;81878:335:0:o;37462:323::-;37636:41;861:10;37669:7;37636:18;:41::i;:::-;37628:100;;;;-1:-1:-1;;;37628:100:0;;;;;;;:::i;:::-;37739:38;37753:4;37759:2;37763:7;37772:4;37739:13;:38::i;:::-;37462:323;;;;:::o;80596:306::-;80680:11;11059:16;11070:4;11059:10;:16::i;:::-;79291:14:::1;::::0;::::1;;79283:70;;;::::0;-1:-1:-1;;;79283:70:0;;16967:2:1;79283:70:0::1;::::0;::::1;16949:21:1::0;17006:2;16986:18;;;16979:30;17045:34;17025:18;;;17018:62;-1:-1:-1;;;17096:18:1;;;17089:41;17147:19;;79283:70:0::1;16765:407:1::0;79283:70:0::1;80735:9:::0;80721:11:::2;80783:112;80803:3;80799:1;:7;80783:112;;;80870:9;;80880:1;80870:12;;;;;;;:::i;:::-;;;;;;;80833:50;80846:22;80855:9;;80865:1;80855:12;;;;;;;:::i;:::-;;;;;;;80846:8;:22::i;:::-;80833:50;;;;;;:::i;:::-;;;;;;;;80808:3;::::0;::::2;:::i;:::-;;;80783:112;;;;80710:192;80596:306:::0;;;:::o;82360:264::-;82500:1;82469:20;;;:11;:20;;;;;82463:34;;82433:13;;82500:1;82469:20;82463:34;;;:::i;:::-;;;:38;82459:133;;;82549:7;82558:11;:20;82570:7;82558:20;;;;;;;;;;;82532:47;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82518:62;;82360:264;;;:::o;82459:133::-;82609:7;82602:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82360:264;;;:::o;62984:142::-;63064:7;63091:18;;;:12;:18;;;;;:27;;:25;:27::i;80345:126::-;10613:4;11059:16;10613:4;11059:10;:16::i;:::-;80431:32:::1;80442:11;80455:7;13884:149:::0;13968:18;13981:4;13968:12;:18::i;:::-;11059:16;11070:4;11059:10;:16::i;:::-;13999:26:::1;14011:4;14017:7;13999:11;:26::i;36568:164::-:0;-1:-1:-1;;;;;36689:25:0;;;36665:4;36689:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36568:164::o;81485:385::-;81590:11;11059:16;11070:4;11059:10;:16::i;:::-;79170:14:::1;::::0;::::1;;:21;79162:54;;;;-1:-1:-1::0;;;79162:54:0::1;;;;;;;:::i;:::-;81640:37:::0;;::::2;81632:81;;;;-1:-1:-1::0;;;81632:81:0::2;;;;;;;:::i;:::-;81738:9:::0;81724:11:::2;81765:98;81785:3;81781:1;:7;81765:98;;;81838:10;;81849:1;81838:13;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;81810:11;:25;81822:9;;81832:1;81822:12;;;;;;;:::i;:::-;;;;;;;81810:25;;;;;;;;;;;:41;;;;;;;:::i;:::-;-1:-1:-1::0;81790:3:0::2;::::0;::::2;:::i;:::-;;;81765:98;;;;81621:249;81485:385:::0;;;;;:::o;16185:238::-;16269:22;16277:4;16283:7;16269;:22::i;:::-;16264:152;;16308:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;16308:29:0;;;;;;;;;:36;;-1:-1:-1;;16308:36:0;16340:4;16308:36;;;16391:12;861:10;;781:98;16391:12;-1:-1:-1;;;;;16364:40:0;16382:7;-1:-1:-1;;;;;16364:40:0;16376:4;16364:40;;;;;;;;;;16185:238;;:::o;56451:152::-;56521:4;56545:50;56550:3;-1:-1:-1;;;;;56570:23:0;;56545:4;:50::i;61844:214::-;61929:4;-1:-1:-1;;;;;;61953:57:0;;-1:-1:-1;;;61953:57:0;;:97;;;62014:36;62038:11;62014:23;:36::i;11914:105::-;11981:30;11992:4;861:10;11981;:30::i;:::-;11914:105;:::o;75632:332::-;75348:5;-1:-1:-1;;;;;75735:33:0;;;;75727:88;;;;-1:-1:-1;;;75727:88:0;;18765:2:1;75727:88:0;;;18747:21:1;18804:2;18784:18;;;18777:30;18843:34;18823:18;;;18816:62;-1:-1:-1;;;18894:18:1;;;18887:40;18944:19;;75727:88:0;18563:406:1;75727:88:0;-1:-1:-1;;;;;75834:22:0;;75826:60;;;;-1:-1:-1;;;75826:60:0;;19176:2:1;75826:60:0;;;19158:21:1;19215:2;19195:18;;;19188:30;-1:-1:-1;;;19234:18:1;;;19227:55;19299:18;;75826:60:0;18974:349:1;75826:60:0;75921:35;;;;;;;;;-1:-1:-1;;;;;75921:35:0;;;;;;-1:-1:-1;;;;;75921:35:0;;;;;;;;;;-1:-1:-1;;;75899:57:0;;;;-1:-1:-1;75899:57:0;75632:332::o;44074:135::-;44156:16;44164:7;44156;:16::i;:::-;44148:53;;;;-1:-1:-1;;;44148:53:0;;;;;;;:::i;43353:174::-;43428:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;43428:29:0;-1:-1:-1;;;;;43428:29:0;;;;;;;;:24;;43482:23;43428:24;43482:14;:23::i;:::-;-1:-1:-1;;;;;43473:46:0;;;;;;;;;;;43353:174;;:::o;39586:264::-;39679:4;39696:13;39712:23;39727:7;39712:14;:23::i;:::-;39696:39;;39765:5;-1:-1:-1;;;;;39754:16:0;:7;-1:-1:-1;;;;;39754:16:0;;:52;;;;39774:32;39791:5;39798:7;39774:16;:32::i;:::-;39754:87;;;;39834:7;-1:-1:-1;;;;;39810:31:0;:20;39822:7;39810:11;:20::i;:::-;-1:-1:-1;;;;;39810:31:0;;39754:87;39746:96;39586:264;-1:-1:-1;;;;39586:264:0:o;42609:625::-;42768:4;-1:-1:-1;;;;;42741:31:0;:23;42756:7;42741:14;:23::i;:::-;-1:-1:-1;;;;;42741:31:0;;42733:81;;;;-1:-1:-1;;;42733:81:0;;19530:2:1;42733:81:0;;;19512:21:1;19569:2;19549:18;;;19542:30;19608:34;19588:18;;;19581:62;-1:-1:-1;;;19659:18:1;;;19652:35;19704:19;;42733:81:0;19328:401:1;42733:81:0;-1:-1:-1;;;;;42833:16:0;;42825:65;;;;-1:-1:-1;;;42825:65:0;;19936:2:1;42825:65:0;;;19918:21:1;19975:2;19955:18;;;19948:30;20014:34;19994:18;;;19987:62;-1:-1:-1;;;20065:18:1;;;20058:34;20109:19;;42825:65:0;19734:400:1;42825:65:0;42903:39;42924:4;42930:2;42934:7;42903:20;:39::i;:::-;43007:29;43024:1;43028:7;43007:8;:29::i;:::-;-1:-1:-1;;;;;43049:15:0;;;;;;:9;:15;;;;;:20;;43068:1;;43049:15;:20;;43068:1;;43049:20;:::i;:::-;;;;-1:-1:-1;;;;;;;43080:13:0;;;;;;:9;:13;;;;;:18;;43097:1;;43080:13;:18;;43097:1;;43080:18;:::i;:::-;;;;-1:-1:-1;;43109:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;43109:21:0;-1:-1:-1;;;;;43109:21:0;;;;;;;;;43148:27;;43109:16;;43148:27;;;;-1:-1:-1;;;;;;;;;;;43148:27:0;;82632:167;;;:::o;40192:110::-;40268:26;40278:2;40282:7;40268:26;;;;;;;;;;;;:9;:26::i;63219:169::-;63307:31;63324:4;63330:7;63307:16;:31::i;:::-;63349:18;;;;:12;:18;;;;;:31;;63372:7;63349:22;:31::i;63482:174::-;63571:32;63589:4;63595:7;63571:17;:32::i;:::-;63614:18;;;;:12;:18;;;;;:34;;63640:7;63614:25;:34::i;57747:158::-;57821:7;57872:22;57876:3;57888:5;57872:3;:22::i;43670:315::-;43825:8;-1:-1:-1;;;;;43816:17:0;:5;-1:-1:-1;;;;;43816:17:0;;;43808:55;;;;-1:-1:-1;;;43808:55:0;;20471:2:1;43808:55:0;;;20453:21:1;20510:2;20490:18;;;20483:30;-1:-1:-1;;;20529:18:1;;;20522:55;20594:18;;43808:55:0;20269:349:1;43808:55:0;-1:-1:-1;;;;;43874:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;43874:46:0;;;;;;;;;;43936:41;;540::1;;;43936::0;;513:18:1;43936:41:0;;;;;;;43670:315;;;:::o;38666:313::-;38822:28;38832:4;38838:2;38842:7;38822:9;:28::i;:::-;38869:47;38892:4;38898:2;38902:7;38911:4;38869:22;:47::i;:::-;38861:110;;;;-1:-1:-1;;;38861:110:0;;;;;;;:::i;57276:117::-;57339:7;57366:19;57374:3;52760:18;;52677:109;50366:414;50429:4;52559:19;;;:12;;;:19;;;;;;50446:327;;-1:-1:-1;50489:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;50672:18;;50650:19;;;:12;;;:19;;;;;;:40;;;;50705:11;;50446:327;-1:-1:-1;50756:5:0;50749:12;;11167:204;11252:4;-1:-1:-1;;;;;;11276:47:0;;-1:-1:-1;;;11276:47:0;;:87;;;11327:36;11351:11;11327:23;:36::i;12309:505::-;12398:22;12406:4;12412:7;12398;:22::i;:::-;12393:414;;12586:41;12614:7;-1:-1:-1;;;;;12586:41:0;12624:2;12586:19;:41::i;:::-;12700:38;12728:4;12735:2;12700:19;:38::i;:::-;12491:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;12491:270:0;;;;;;;;;;-1:-1:-1;;;12437:358:0;;;;;;;:::i;39292:127::-;39357:4;39381:16;;;:7;:16;;;;;;-1:-1:-1;;;;;39381:16:0;:30;;;39292:127::o;82928:196::-;83071:45;83098:4;83104:2;83108:7;83071:26;:45::i;40529:319::-;40658:18;40664:2;40668:7;40658:5;:18::i;:::-;40709:53;40740:1;40744:2;40748:7;40757:4;40709:22;:53::i;:::-;40687:153;;;;-1:-1:-1;;;40687:153:0;;;;;;;:::i;16603:239::-;16687:22;16695:4;16701:7;16687;:22::i;:::-;16683:152;;;16758:5;16726:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;16726:29:0;;;;;;;;;;:37;;-1:-1:-1;;16726:37:0;;;16783:40;861:10;;16726:12;;16783:40;;16758:5;16783:40;16603:239;;:::o;56779:158::-;56852:4;56876:53;56884:3;-1:-1:-1;;;;;56904:23:0;;56876:7;:53::i;53140:120::-;53207:7;53234:3;:11;;53246:5;53234:18;;;;;;;;:::i;:::-;;;;;;;;;53227:25;;53140:120;;;;:::o;44773:853::-;44927:4;-1:-1:-1;;;;;44948:13:0;;18400:19;:23;44944:675;;44984:71;;-1:-1:-1;;;44984:71:0;;-1:-1:-1;;;;;44984:36:0;;;;;:71;;861:10;;45035:4;;45041:7;;45050:4;;44984:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44984:71:0;;;;;;;;-1:-1:-1;;44984:71:0;;;;;;;;;;;;:::i;:::-;;;44980:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45225:13:0;;45221:328;;45268:60;;-1:-1:-1;;;45268:60:0;;;;;;;:::i;45221:328::-;45499:6;45493:13;45484:6;45480:2;45476:15;45469:38;44980:584;-1:-1:-1;;;;;;45106:51:0;-1:-1:-1;;;45106:51:0;;-1:-1:-1;45099:58:0;;44944:675;-1:-1:-1;45603:4:0;44773:853;;;;;;:::o;65796:224::-;65898:4;-1:-1:-1;;;;;;65922:50:0;;-1:-1:-1;;;65922:50:0;;:90;;;65976:36;66000:11;65976:23;:36::i;2749:451::-;2824:13;2850:19;2882:10;2886:6;2882:1;:10;:::i;:::-;:14;;2895:1;2882:14;:::i;:::-;-1:-1:-1;;;;;2872:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2872:25:0;;2850:47;;-1:-1:-1;;;2908:6:0;2915:1;2908:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;2908:15:0;;;;;;;;;-1:-1:-1;;;2934:6:0;2941:1;2934:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;2934:15:0;;;;;;;;-1:-1:-1;2965:9:0;2977:10;2981:6;2977:1;:10;:::i;:::-;:14;;2990:1;2977:14;:::i;:::-;2965:26;;2960:135;2997:1;2993;:5;2960:135;;;-1:-1:-1;;;3045:5:0;3053:3;3045:11;3032:25;;;;;;;:::i;:::-;;;;3020:6;3027:1;3020:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;3020:37:0;;;;;;;;-1:-1:-1;3082:1:0;3072:11;;;;;3000:3;;;:::i;:::-;;;2960:135;;;-1:-1:-1;3113:10:0;;3105:55;;;;-1:-1:-1;;;3105:55:0;;22924:2:1;3105:55:0;;;22906:21:1;;;22943:18;;;22936:30;23002:34;22982:18;;;22975:62;23054:18;;3105:55:0;22722:356:1;67472:589:0;-1:-1:-1;;;;;67678:18:0;;67674:187;;67713:40;67745:7;68888:10;:17;;68861:24;;;;:15;:24;;;;;:44;;;68916:24;;;;;;;;;;;;68784:164;67713:40;67674:187;;;67783:2;-1:-1:-1;;;;;67775:10:0;:4;-1:-1:-1;;;;;67775:10:0;;67771:90;;67802:47;67835:4;67841:7;67802:32;:47::i;:::-;-1:-1:-1;;;;;67875:16:0;;67871:183;;67908:45;67945:7;67908:36;:45::i;67871:183::-;67981:4;-1:-1:-1;;;;;67975:10:0;:2;-1:-1:-1;;;;;67975:10:0;;67971:83;;68002:40;68030:2;68034:7;68002:27;:40::i;41184:439::-;-1:-1:-1;;;;;41264:16:0;;41256:61;;;;-1:-1:-1;;;41256:61:0;;23285:2:1;41256:61:0;;;23267:21:1;;;23304:18;;;23297:30;23363:34;23343:18;;;23336:62;23415:18;;41256:61:0;23083:356:1;41256:61:0;41337:16;41345:7;41337;:16::i;:::-;41336:17;41328:58;;;;-1:-1:-1;;;41328:58:0;;23646:2:1;41328:58:0;;;23628:21:1;23685:2;23665:18;;;23658:30;-1:-1:-1;;;23704:18:1;;;23697:58;23772:18;;41328:58:0;23444:352:1;41328:58:0;41399:45;41428:1;41432:2;41436:7;41399:20;:45::i;:::-;-1:-1:-1;;;;;41457:13:0;;;;;;:9;:13;;;;;:18;;41474:1;;41457:13;:18;;41474:1;;41457:18;:::i;:::-;;;;-1:-1:-1;;41486:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;41486:21:0;-1:-1:-1;;;;;41486:21:0;;;;;;;;41525:33;;41486:16;;;-1:-1:-1;;;;;;;;;;;41525:33:0;41486:16;;41525:33;80213:124;;:::o;50956:1420::-;51022:4;51161:19;;;:12;;;:19;;;;;;51197:15;;51193:1176;;51572:21;51596:14;51609:1;51596:10;:14;:::i;:::-;51645:18;;51572:38;;-1:-1:-1;51625:17:0;;51645:22;;51666:1;;51645:22;:::i;:::-;51625:42;;51701:13;51688:9;:26;51684:405;;51735:17;51755:3;:11;;51767:9;51755:22;;;;;;;;:::i;:::-;;;;;;;;;51735:42;;51909:9;51880:3;:11;;51892:13;51880:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;51994:23;;;:12;;;:23;;;;;:36;;;51684:405;52170:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;52265:3;:12;;:19;52278:5;52265:19;;;;;;;;;;;52258:26;;;52308:4;52301:11;;;;;;;51193:1176;52352:5;52345:12;;;;;78122:170;78224:4;78248:36;78272:11;78248:23;:36::i;69575:988::-;69841:22;69891:1;69866:22;69883:4;69866:16;:22::i;:::-;:26;;;;:::i;:::-;69903:18;69924:26;;;:17;:26;;;;;;69841:51;;-1:-1:-1;70057:28:0;;;70053:328;;-1:-1:-1;;;;;70124:18:0;;70102:19;70124:18;;;:12;:18;;;;;;;;:34;;;;;;;;;70175:30;;;;;;:44;;;70292:30;;:17;:30;;;;;:43;;;70053:328;-1:-1:-1;70477:26:0;;;;:17;:26;;;;;;;;70470:33;;;-1:-1:-1;;;;;70521:18:0;;;;;:12;:18;;;;;:34;;;;;;;70514:41;69575:988::o;70858:1079::-;71136:10;:17;71111:22;;71136:21;;71156:1;;71136:21;:::i;:::-;71168:18;71189:24;;;:15;:24;;;;;;71562:10;:26;;71111:46;;-1:-1:-1;71189:24:0;;71111:46;;71562:26;;;;;;:::i;:::-;;;;;;;;;71540:48;;71626:11;71601:10;71612;71601:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;71706:28;;;:15;:28;;;;;;;:41;;;71878:24;;;;;71871:31;71913:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;70929:1008;;;70858:1079;:::o;68362:221::-;68447:14;68464:20;68481:2;68464:16;:20::i;:::-;-1:-1:-1;;;;;68495:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;68540:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;68362:221:0:o;33659:305::-;33761:4;-1:-1:-1;;;;;;33798:40:0;;-1:-1:-1;;;33798:40:0;;:105;;-1:-1:-1;;;;;;;33855:48:0;;-1:-1:-1;;;33855:48:0;33798:105;:158;;;;33920:36;33944:11;74372:4;-1:-1:-1;;;;;;74396:41:0;;-1:-1:-1;;;74396:41:0;;:81;;-1:-1:-1;;;;;;;;;;8514:40:0;;;74441:36;8405:157;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:358::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;-1:-1:-1;1016:2:1;1001:18;;988:32;-1:-1:-1;;;;;1049:30:1;;1039:41;;1029:69;;1094:1;1091;1084:12;1029:69;1117:5;1107:15;;;770:358;;;;;:::o;1133:258::-;1205:1;1215:113;1229:6;1226:1;1223:13;1215:113;;;1305:11;;;1299:18;1286:11;;;1279:39;1251:2;1244:10;1215:113;;;1346:6;1343:1;1340:13;1337:48;;;-1:-1:-1;;1381:1:1;1363:16;;1356:27;1133:258::o;1396:::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:63;1575:6;1568:4;1563:3;1559:14;1552:4;1545:5;1541:16;1519:63;:::i;:::-;1636:2;1615:15;-1:-1:-1;;1611:29:1;1602:39;;;;1643:4;1598:50;;1396:258;-1:-1:-1;;1396:258:1:o;1659:220::-;1808:2;1797:9;1790:21;1771:4;1828:45;1869:2;1858:9;1854:18;1846:6;1828:45;:::i;1884:180::-;1943:6;1996:2;1984:9;1975:7;1971:23;1967:32;1964:52;;;2012:1;2009;2002:12;1964:52;-1:-1:-1;2035:23:1;;1884:180;-1:-1:-1;1884:180:1:o;2277:254::-;2345:6;2353;2406:2;2394:9;2385:7;2381:23;2377:32;2374:52;;;2422:1;2419;2412:12;2374:52;2445:29;2464:9;2445:29;:::i;:::-;2435:39;2521:2;2506:18;;;;2493:32;;-1:-1:-1;;;2277:254:1:o;2718:328::-;2795:6;2803;2811;2864:2;2852:9;2843:7;2839:23;2835:32;2832:52;;;2880:1;2877;2870:12;2832:52;2903:29;2922:9;2903:29;:::i;:::-;2893:39;;2951:38;2985:2;2974:9;2970:18;2951:38;:::i;:::-;2941:48;;3036:2;3025:9;3021:18;3008:32;2998:42;;2718:328;;;;;:::o;3418:186::-;3477:6;3530:2;3518:9;3509:7;3505:23;3501:32;3498:52;;;3546:1;3543;3536:12;3498:52;3569:29;3588:9;3569:29;:::i;3609:367::-;3672:8;3682:6;3736:3;3729:4;3721:6;3717:17;3713:27;3703:55;;3754:1;3751;3744:12;3703:55;-1:-1:-1;3777:20:1;;-1:-1:-1;;;;;3809:30:1;;3806:50;;;3852:1;3849;3842:12;3806:50;3889:4;3881:6;3877:17;3865:29;;3949:3;3942:4;3932:6;3929:1;3925:14;3917:6;3913:27;3909:38;3906:47;3903:67;;;3966:1;3963;3956:12;3981:1100;4151:6;4159;4167;4175;4183;4191;4244:2;4232:9;4223:7;4219:23;4215:32;4212:52;;;4260:1;4257;4250:12;4212:52;4287:23;;-1:-1:-1;;;;;4359:14:1;;;4356:34;;;4386:1;4383;4376:12;4356:34;4425:70;4487:7;4478:6;4467:9;4463:22;4425:70;:::i;:::-;4514:8;;-1:-1:-1;4399:96:1;-1:-1:-1;4602:2:1;4587:18;;4574:32;;-1:-1:-1;4618:16:1;;;4615:36;;;4647:1;4644;4637:12;4615:36;4686:72;4750:7;4739:8;4728:9;4724:24;4686:72;:::i;:::-;4777:8;;-1:-1:-1;4660:98:1;-1:-1:-1;4865:2:1;4850:18;;4837:32;;-1:-1:-1;4881:16:1;;;4878:36;;;4910:1;4907;4900:12;4878:36;;4949:72;5013:7;5002:8;4991:9;4987:24;4949:72;:::i;:::-;3981:1100;;;;-1:-1:-1;3981:1100:1;;-1:-1:-1;3981:1100:1;;5040:8;;3981:1100;-1:-1:-1;;;3981:1100:1:o;5086:248::-;5154:6;5162;5215:2;5203:9;5194:7;5190:23;5186:32;5183:52;;;5231:1;5228;5221:12;5183:52;-1:-1:-1;;5254:23:1;;;5324:2;5309:18;;;5296:32;;-1:-1:-1;5086:248:1:o;5618:254::-;5686:6;5694;5747:2;5735:9;5726:7;5722:23;5718:32;5715:52;;;5763:1;5760;5753:12;5715:52;5799:9;5786:23;5776:33;;5828:38;5862:2;5851:9;5847:18;5828:38;:::i;:::-;5818:48;;5618:254;;;;;:::o;6130:127::-;6191:10;6186:3;6182:20;6179:1;6172:31;6222:4;6219:1;6212:15;6246:4;6243:1;6236:15;6262:632;6327:5;-1:-1:-1;;;;;6387:14:1;;;6384:40;;;6404:18;;:::i;:::-;6479:2;6473:9;6447:2;6533:15;;-1:-1:-1;;6529:24:1;;;6555:2;6525:33;6521:42;6509:55;;;6579:18;;;6599:22;;;6576:46;6573:72;;;6625:18;;:::i;:::-;6665:10;6661:2;6654:22;6694:6;6685:15;;6724:6;6716;6709:22;6764:3;6755:6;6750:3;6746:16;6743:25;6740:45;;;6781:1;6778;6771:12;6740:45;6831:6;6826:3;6819:4;6811:6;6807:17;6794:44;6886:1;6879:4;6870:6;6862;6858:19;6854:30;6847:41;;;;6262:632;;;;;:::o;6899:451::-;6968:6;7021:2;7009:9;7000:7;6996:23;6992:32;6989:52;;;7037:1;7034;7027:12;6989:52;7064:23;;-1:-1:-1;;;;;7099:30:1;;7096:50;;;7142:1;7139;7132:12;7096:50;7165:22;;7218:4;7210:13;;7206:27;-1:-1:-1;7196:55:1;;7247:1;7244;7237:12;7196:55;7270:74;7336:7;7331:2;7318:16;7313:2;7309;7305:11;7270:74;:::i;7355:347::-;7420:6;7428;7481:2;7469:9;7460:7;7456:23;7452:32;7449:52;;;7497:1;7494;7487:12;7449:52;7520:29;7539:9;7520:29;:::i;:::-;7510:39;;7599:2;7588:9;7584:18;7571:32;7646:5;7639:13;7632:21;7625:5;7622:32;7612:60;;7668:1;7665;7658:12;7707:658;7878:2;7930:21;;;8000:13;;7903:18;;;8022:22;;;7849:4;;7878:2;8101:15;;;;8075:2;8060:18;;;7849:4;8144:195;8158:6;8155:1;8152:13;8144:195;;;8223:13;;-1:-1:-1;;;;;8219:39:1;8207:52;;8314:15;;;;8279:12;;;;8255:1;8173:9;8144:195;;;-1:-1:-1;8356:3:1;;7707:658;-1:-1:-1;;;;;;7707:658:1:o;8370:667::-;8465:6;8473;8481;8489;8542:3;8530:9;8521:7;8517:23;8513:33;8510:53;;;8559:1;8556;8549:12;8510:53;8582:29;8601:9;8582:29;:::i;:::-;8572:39;;8630:38;8664:2;8653:9;8649:18;8630:38;:::i;:::-;8620:48;-1:-1:-1;8715:2:1;8700:18;;8687:32;;-1:-1:-1;8770:2:1;8755:18;;8742:32;-1:-1:-1;;;;;8786:30:1;;8783:50;;;8829:1;8826;8819:12;8783:50;8852:22;;8905:4;8897:13;;8893:27;-1:-1:-1;8883:55:1;;8934:1;8931;8924:12;8883:55;8957:74;9023:7;9018:2;9005:16;9000:2;8996;8992:11;8957:74;:::i;:::-;8947:84;;;8370:667;;;;;;;:::o;9042:437::-;9128:6;9136;9189:2;9177:9;9168:7;9164:23;9160:32;9157:52;;;9205:1;9202;9195:12;9157:52;9232:23;;-1:-1:-1;;;;;9267:30:1;;9264:50;;;9310:1;9307;9300:12;9264:50;9349:70;9411:7;9402:6;9391:9;9387:22;9349:70;:::i;:::-;9438:8;;9323:96;;-1:-1:-1;9042:437:1;-1:-1:-1;;;;9042:437:1:o;9484:260::-;9552:6;9560;9613:2;9601:9;9592:7;9588:23;9584:32;9581:52;;;9629:1;9626;9619:12;9581:52;9652:29;9671:9;9652:29;:::i;:::-;9642:39;;9700:38;9734:2;9723:9;9719:18;9700:38;:::i;9749:785::-;9883:6;9891;9899;9907;9960:2;9948:9;9939:7;9935:23;9931:32;9928:52;;;9976:1;9973;9966:12;9928:52;10003:23;;-1:-1:-1;;;;;10075:14:1;;;10072:34;;;10102:1;10099;10092:12;10072:34;10141:70;10203:7;10194:6;10183:9;10179:22;10141:70;:::i;:::-;10230:8;;-1:-1:-1;10115:96:1;-1:-1:-1;10318:2:1;10303:18;;10290:32;;-1:-1:-1;10334:16:1;;;10331:36;;;10363:1;10360;10353:12;10331:36;;10402:72;10466:7;10455:8;10444:9;10440:24;10402:72;:::i;:::-;9749:785;;;;-1:-1:-1;10493:8:1;-1:-1:-1;;;;9749:785:1:o;10539:380::-;10618:1;10614:12;;;;10661;;;10682:61;;10736:4;10728:6;10724:17;10714:27;;10682:61;10789:2;10781:6;10778:14;10758:18;10755:38;10752:161;;;10835:10;10830:3;10826:20;10823:1;10816:31;10870:4;10867:1;10860:15;10898:4;10895:1;10888:15;10752:161;;10539:380;;;:::o;11757:410::-;11959:2;11941:21;;;11998:2;11978:18;;;11971:30;12037:34;12032:2;12017:18;;12010:62;-1:-1:-1;;;12103:2:1;12088:18;;12081:44;12157:3;12142:19;;11757:410::o;12172:355::-;12374:2;12356:21;;;12413:2;12393:18;;;12386:30;12452:33;12447:2;12432:18;;12425:61;12518:2;12503:18;;12172:355::o;12532:127::-;12593:10;12588:3;12584:20;12581:1;12574:31;12624:4;12621:1;12614:15;12648:4;12645:1;12638:15;12664:128;12704:3;12735:1;12731:6;12728:1;12725:13;12722:39;;;12741:18;;:::i;:::-;-1:-1:-1;12777:9:1;;12664:128::o;13218:127::-;13279:10;13274:3;13270:20;13267:1;13260:31;13310:4;13307:1;13300:15;13334:4;13331:1;13324:15;13350:522;13428:4;13434:6;13494:11;13481:25;13588:2;13584:7;13573:8;13557:14;13553:29;13549:43;13529:18;13525:68;13515:96;;13607:1;13604;13597:12;13515:96;13634:33;;13686:20;;;-1:-1:-1;;;;;;13718:30:1;;13715:50;;;13761:1;13758;13751:12;13715:50;13794:4;13782:17;;-1:-1:-1;13825:14:1;13821:27;;;13811:38;;13808:58;;;13862:1;13859;13852:12;13877:135;13916:3;-1:-1:-1;;13937:17:1;;13934:43;;;13957:18;;:::i;:::-;-1:-1:-1;14004:1:1;13993:13;;13877:135::o;14017:168::-;14057:7;14123:1;14119;14115:6;14111:14;14108:1;14105:21;14100:1;14093:9;14086:17;14082:45;14079:71;;;14130:18;;:::i;:::-;-1:-1:-1;14170:9:1;;14017:168::o;14190:217::-;14230:1;14256;14246:132;;14300:10;14295:3;14291:20;14288:1;14281:31;14335:4;14332:1;14325:15;14363:4;14360:1;14353:15;14246:132;-1:-1:-1;14392:9:1;;14190:217::o;15653:348::-;15855:2;15837:21;;;15894:2;15874:18;;;15867:30;-1:-1:-1;;;15928:2:1;15913:18;;15906:54;15992:2;15977:18;;15653:348::o;16416:344::-;16618:2;16600:21;;;16657:2;16637:18;;;16630:30;-1:-1:-1;;;16691:2:1;16676:18;;16669:50;16751:2;16736:18;;16416:344::o;17303:973::-;17388:12;;17353:3;;17443:1;17463:18;;;;17516;;;;17543:61;;17597:4;17589:6;17585:17;17575:27;;17543:61;17623:2;17671;17663:6;17660:14;17640:18;17637:38;17634:161;;;17717:10;17712:3;17708:20;17705:1;17698:31;17752:4;17749:1;17742:15;17780:4;17777:1;17770:15;17634:161;17811:18;17838:104;;;;17956:1;17951:319;;;;17804:466;;17838:104;-1:-1:-1;;17871:24:1;;17859:37;;17916:16;;;;-1:-1:-1;17838:104:1;;17951:319;17250:1;17243:14;;;17287:4;17274:18;;18045:1;18059:165;18073:6;18070:1;18067:13;18059:165;;;18151:14;;18138:11;;;18131:35;18194:16;;;;18088:10;;18059:165;;;18063:3;;18253:6;18248:3;18244:16;18237:23;;17804:466;;;;;;;17303:973;;;;:::o;18281:277::-;18454:3;18479:73;18513:38;18547:3;18539:6;18513:38;:::i;:::-;18505:6;18479:73;:::i;20139:125::-;20179:4;20207:1;20204;20201:8;20198:34;;;20212:18;;:::i;:::-;-1:-1:-1;20249:9:1;;20139:125::o;20623:414::-;20825:2;20807:21;;;20864:2;20844:18;;;20837:30;20903:34;20898:2;20883:18;;20876:62;-1:-1:-1;;;20969:2:1;20954:18;;20947:48;21027:3;21012:19;;20623:414::o;21042:786::-;-1:-1:-1;;;21448:3:1;21441:38;21423:3;21508:6;21502:13;21524:62;21579:6;21574:2;21569:3;21565:12;21558:4;21550:6;21546:17;21524:62;:::i;:::-;-1:-1:-1;;;21645:2:1;21605:16;;;21637:11;;;21630:40;21695:13;;21717:63;21695:13;21766:2;21758:11;;21751:4;21739:17;;21717:63;:::i;:::-;21800:17;21819:2;21796:26;;21042:786;-1:-1:-1;;;;21042:786:1:o;21833:489::-;-1:-1:-1;;;;;22102:15:1;;;22084:34;;22154:15;;22149:2;22134:18;;22127:43;22201:2;22186:18;;22179:34;;;22249:3;22244:2;22229:18;;22222:31;;;22027:4;;22270:46;;22296:19;;22288:6;22270:46;:::i;:::-;22262:54;21833:489;-1:-1:-1;;;;;;21833:489:1:o;22327:249::-;22396:6;22449:2;22437:9;22428:7;22424:23;22420:32;22417:52;;;22465:1;22462;22455:12;22417:52;22497:9;22491:16;22516:30;22540:5;22516:30;:::i;22581:136::-;22620:3;22648:5;22638:39;;22657:18;;:::i;:::-;-1:-1:-1;;;22693:18:1;;22581:136::o;23801:127::-;23862:10;23857:3;23853:20;23850:1;23843:31;23893:4;23890:1;23883:15;23917:4;23914:1;23907:15

Swarm Source

ipfs://b4346fc20a2b868bd1942df2becd7236d6dac8f28b15d37f054783202de83448

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.