ETH Price: $3,519.58 (+0.39%)
Gas: 3 Gwei

Contract

0x40768adfb13F5d8Bb18D2D9199BF4EB52F17E39A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint203238032024-07-17 4:17:233 days ago1721189843IN
0x40768adf...52F17E39A
0 ETH0.00108075.41882252
Mint203139652024-07-15 19:21:235 days ago1721071283IN
0x40768adf...52F17E39A
0 ETH0.0064554732.36867515
Mint203139352024-07-15 19:15:235 days ago1721070923IN
0x40768adf...52F17E39A
0 ETH0.0065633332.90950125
Mint203139012024-07-15 19:08:355 days ago1721070515IN
0x40768adf...52F17E39A
0 ETH0.0040948620.5322256
Mint203137802024-07-15 18:44:235 days ago1721069063IN
0x40768adf...52F17E39A
0 ETH0.0039021519.56593431
Mint203137522024-07-15 18:38:475 days ago1721068727IN
0x40768adf...52F17E39A
0 ETH0.0040220320.16706271
Mint203135682024-07-15 18:01:475 days ago1721066507IN
0x40768adf...52F17E39A
0 ETH0.0051459825.80424328
Mint203128992024-07-15 15:46:595 days ago1721058419IN
0x40768adf...52F17E39A
0 ETH0.0042800721.46089897
Mint203128432024-07-15 15:35:475 days ago1721057747IN
0x40768adf...52F17E39A
0 ETH0.0034179517.1381155
Mint203127942024-07-15 15:25:355 days ago1721057135IN
0x40768adf...52F17E39A
0 ETH0.0035426917.76358944
Mint203084202024-07-15 0:46:595 days ago1721004419IN
0x40768adf...52F17E39A
0 ETH0.000456222.28757608
Mint203083862024-07-15 0:40:115 days ago1721004011IN
0x40768adf...52F17E39A
0 ETH0.00047972.40531483
Mint203067772024-07-14 19:17:236 days ago1720984643IN
0x40768adf...52F17E39A
0 ETH0.000471132.36232471
Mint203061882024-07-14 17:18:236 days ago1720977503IN
0x40768adf...52F17E39A
0 ETH0.000948954.75818245
Mint203061642024-07-14 17:13:356 days ago1720977215IN
0x40768adf...52F17E39A
0 ETH0.000977044.89905348
Mint203061372024-07-14 17:08:116 days ago1720976891IN
0x40768adf...52F17E39A
0 ETH0.001322736.63239709
Mint203008732024-07-13 23:30:116 days ago1720913411IN
0x40768adf...52F17E39A
0 ETH0.0058587429.37656117
Mint202995382024-07-13 19:01:597 days ago1720897319IN
0x40768adf...52F17E39A
0 ETH0.00034221.71586195
Mint202917592024-07-12 16:56:238 days ago1720803383IN
0x40768adf...52F17E39A
0 ETH0.000974424.88587866
Mint202857352024-07-11 20:44:239 days ago1720730663IN
0x40768adf...52F17E39A
0 ETH0.001171655.87484077
Mint202856992024-07-11 20:36:599 days ago1720730219IN
0x40768adf...52F17E39A
0 ETH0.001322016.62876271
Mint202856772024-07-11 20:32:359 days ago1720729955IN
0x40768adf...52F17E39A
0 ETH0.001448467.26280936
Mint202856572024-07-11 20:28:359 days ago1720729715IN
0x40768adf...52F17E39A
0 ETH0.001049465.26214919
Mint202792112024-07-10 22:53:4710 days ago1720652027IN
0x40768adf...52F17E39A
0 ETH0.000615673.08707536
Mint202791642024-07-10 22:44:2310 days ago1720651463IN
0x40768adf...52F17E39A
0 ETH0.000645733.23779177
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VerificationV0

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-04-19
*/

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

// SPDX-License-Identifier: MIT

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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)

pragma solidity ^0.8.24;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev The `account` is missing a role.
     */
    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);

    /**
     * @dev The caller of a function is not the expected one.
     *
     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
     */
    error AccessControlBadConfirmation();

    /**
     * @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.
     */
    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 `callerConfirmation`.
     */
    function renounceRole(bytes32 role, address callerConfirmation) external;
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)


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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)


/**
 * @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]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)


/**
 * @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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)




/**
 * @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:
 *
 * ```solidity
 * 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}:
 *
 * ```solidity
 * 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. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address account => bool) hasRole;
        bytes32 adminRole;
    }

    mapping(bytes32 role => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with an {AccessControlUnauthorizedAccount} error including the required role.
     */
    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 returns (bool) {
        return _roles[role].hasRole[account];
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
     * is missing `role`.
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert AccessControlUnauthorizedAccount(account, role);
        }
    }

    /**
     * @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 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 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 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 `callerConfirmation`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address callerConfirmation) public virtual {
        if (callerConfirmation != _msgSender()) {
            revert AccessControlBadConfirmation();
        }

        _revokeRole(role, callerConfirmation);
    }

    /**
     * @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 Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
        if (!hasRole(role, account)) {
            _roles[role].hasRole[account] = true;
            emit RoleGranted(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
        if (hasRole(role, account)) {
            _roles[role].hasRole[account] = false;
            emit RoleRevoked(role, account, _msgSender());
            return true;
        } else {
            return false;
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (token/ERC1155/IERC1155.sol)


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the value of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external;
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)


/**
 * @dev Interface that must be implemented by smart contracts in order to receive
 * ERC-1155 token transfers.
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)


/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.


/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Arrays.sol)



/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        // We use assembly to calculate the storage slot of the element at index `pos` of the dynamic array `arr`
        // following https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays.

        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/ERC1155.sol)








/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 */
abstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {
    using Arrays for uint256[];
    using Arrays for address[];

    mapping(uint256 id => mapping(address account => uint256)) private _balances;

    mapping(address account => mapping(address operator => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256 /* id */) public view virtual returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     */
    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual returns (uint256[] memory) {
        if (accounts.length != ids.length) {
            revert ERC1155InvalidArrayLength(ids.length, accounts.length);
        }

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts.unsafeMemoryAccess(i), ids.unsafeMemoryAccess(i));
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeTransferFrom(from, to, id, value, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeBatchTransferFrom(from, to, ids, values, data);
    }

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`
     * (or `to`) is the zero address.
     *
     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}
     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.
     * - `ids` and `values` must have the same length.
     *
     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.
     */
    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {
        if (ids.length != values.length) {
            revert ERC1155InvalidArrayLength(ids.length, values.length);
        }

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids.unsafeMemoryAccess(i);
            uint256 value = values.unsafeMemoryAccess(i);

            if (from != address(0)) {
                uint256 fromBalance = _balances[id][from];
                if (fromBalance < value) {
                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);
                }
                unchecked {
                    // Overflow not possible: value <= fromBalance
                    _balances[id][from] = fromBalance - value;
                }
            }

            if (to != address(0)) {
                _balances[id][to] += value;
            }
        }

        if (ids.length == 1) {
            uint256 id = ids.unsafeMemoryAccess(0);
            uint256 value = values.unsafeMemoryAccess(0);
            emit TransferSingle(operator, from, to, id, value);
        } else {
            emit TransferBatch(operator, from, to, ids, values);
        }
    }

    /**
     * @dev Version of {_update} that performs the token acceptance check by calling
     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it
     * contains code (eg. is a smart contract at the moment of execution).
     *
     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any
     * update to the contract state after this function would break the check-effect-interaction pattern. Consider
     * overriding {_update} instead.
     */
    function _updateWithAcceptanceCheck(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal virtual {
        _update(from, to, ids, values);
        if (to != address(0)) {
            address operator = _msgSender();
            if (ids.length == 1) {
                uint256 id = ids.unsafeMemoryAccess(0);
                uint256 value = values.unsafeMemoryAccess(0);
                _doSafeTransferAcceptanceCheck(operator, from, to, id, value, data);
            } else {
                _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, values, data);
            }
        }
    }

    /**
     * @dev Transfers a `value` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     * - `ids` and `values` must have the same length.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, to, ids, values, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the values in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates a `value` amount of tokens of type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory values, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev Destroys a `value` amount of tokens of type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     */
    function _burn(address from, uint256 id, uint256 value) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     * - `ids` and `values` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the zero address.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC1155InvalidOperator(address(0));
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Performs an acceptance check by calling {IERC1155-onERC1155Received} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Performs a batch acceptance check by calling {IERC1155-onERC1155BatchReceived} on the `to` address
     * if it contains code at the moment of execution.
     */
    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    // Tokens rejected
                    revert ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-ERC1155Receiver implementer
                    revert ERC1155InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Creates an array in memory with only one value for each of the elements provided.
     */
    function _asSingletonArrays(
        uint256 element1,
        uint256 element2
    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {
        /// @solidity memory-safe-assembly
        assembly {
            // Load the free memory pointer
            array1 := mload(0x40)
            // Set array length to 1
            mstore(array1, 1)
            // Store the single element at the next word after the length (where content starts)
            mstore(add(array1, 0x20), element1)

            // Repeat for next array locating it right after the first array
            array2 := add(array1, 0x40)
            mstore(array2, 1)
            mstore(add(array2, 0x20), element2)

            // Update the free memory pointer by pointing after the second array
            mstore(0x40, add(array2, 0x40))
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)


/**
 * @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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 address zero.
     *
     * 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]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)


/**
 * @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]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)


/**
 * @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/utils/math/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)


/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)



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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)








/**
 * @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}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => 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 returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {
        return _requireOwned(tokenId);
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        _requireOwned(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(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 {
        _approve(to, tokenId, _msgSender());
    }

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

        return _getApproved(tokenId);
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * 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 {
        _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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - 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) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. 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
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol)


/**
 * @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]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/ERC721Enumerable.sol)




/**
 * @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.
 *
 * CAUTION: `ERC721` extensions that implement custom `balanceOf` logic, such as `ERC721Consecutive`,
 * interfere with enumerability and should not be used together with `ERC721Enumerable`.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    mapping(address owner => mapping(uint256 index => uint256)) private _ownedTokens;
    mapping(uint256 tokenId => uint256) private _ownedTokensIndex;

    uint256[] private _allTokens;
    mapping(uint256 tokenId => uint256) private _allTokensIndex;

    /**
     * @dev An `owner`'s token query was out of bounds for `index`.
     *
     * NOTE: The owner being `address(0)` indicates a global out of bounds index.
     */
    error ERC721OutOfBoundsIndex(address owner, uint256 index);

    /**
     * @dev Batch mint is not allowed.
     */
    error ERC721EnumerableForbiddenBatchMint();

    /**
     * @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 returns (uint256) {
        if (index >= balanceOf(owner)) {
            revert ERC721OutOfBoundsIndex(owner, index);
        }
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual returns (uint256) {
        if (index >= totalSupply()) {
            revert ERC721OutOfBoundsIndex(address(0), index);
        }
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_update}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual override returns (address) {
        address previousOwner = super._update(to, tokenId, auth);

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

        return previousOwner;
    }

    /**
     * @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 = balanceOf(to) - 1;
        _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 = balanceOf(from);
        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();
    }

    /**
     * See {ERC721-_increaseBalance}. We need that to account tokens that were minted in batch
     */
    function _increaseBalance(address account, uint128 amount) internal virtual override {
        if (amount > 0) {
            revert ERC721EnumerableForbiddenBatchMint();
        }
        super._increaseBalance(account, amount);
    }
}


// File contracts/libs/Structs.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity 0.8.24;

/**
 * @title Library Struts
 * @dev This lib exposes Structs used within the VerificationV0 contract.
 */
library Structs {
  /**
   * @dev Service consolidates data for a verification service such as Plaid.
   *
   * @param name the name of the verification service, e.g. "Plaid"
   * @param serviceType the type of the verification service, e.g. "KYC"
   * @param coutry the ISO 3166-2 code of the juridiction for which the verification applies, e.g. "US"
   */
  struct Service {
    string name;
    string serviceType;
    string country;
  }

  /**
   * @dev Service is DTO consolidating data for am individual verification binding a VerificationV0 tokenId to a verification service.
   *
   * @param tokenId the id of the token
   * @param service the name of the verification service
   */
  struct Verification {
    uint256 tokenId;
    string service;
  }

  /**
   * @dev VerificationV0 is a DTO consolidating data for am individual verification.
   * See VerificationV0::verifications(address owner)
   *
   * @param tokenId the id of the token
   * @param service the name of the service, e.g. "Plaid"
   * @param timestamp the UNIX timestamp of when the verification was issued
   */
  struct VerificationData {
    uint256 tokenId;
    string service;
    uint256 timestamp;
  }
}


// File contracts/VerificationV0.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity 0.8.24;




/**
 * @title Contract VeriricationV2
 * @dev ERC-721 compliant NFT contract that stores wallet verification on chain
 *  WARNING: this is an UNAUDITED smart contract.
 *  NO WARRANTY IS OFFERED OR IMPLIED.
 *  USE AT YOUR OWN RISK.
 */
contract VerificationV0 is ERC721Enumerable, AccessControl {
  /// @dev token id counter
  uint256 private _tokenIdCounter = 1;

  /// @dev role constant. See @openzeppelin/contracts/access/AccessControl.sol
  bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

  /// @dev The base URI for call tokenURI() calls
  string public constant BASE_TOKEN_URI = "https://arweave.net/";

  /// @dev The type name for all NFT's minting out of this contract
  string private _typeName;

  /// @dev maps tokens to their respective verification services
  mapping(uint256 => string) _tokenServices;

  /// @dev maps tokens to their respective verification timestamps
  mapping(uint256 => uint256) _tokenTimestamps;

  /**
   * @dev Creates a new VerificationV0 ERC721 contract.
   * VerificationV0 binds a wallet address to verification service.
   *
   * Token URIs will be autogenerated based on `baseURI` and their token IDs.
   * See {ERC721-tokenURI}.
   */
  constructor(
    string memory name,
    string memory symbol,
    string memory typeName
  ) ERC721(name, symbol) {
    _typeName = typeName;
    _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _grantRole(MINTER_ROLE, msg.sender);
  }

  /**
   * @dev Returns the base URI for all tokens minting. Currently set to arweave.
   *
   */
  function _baseURI() internal view virtual override returns (string memory) {
    return BASE_TOKEN_URI;
  }

  /**
   * @dev Returns the same metadata URI for all owned tokens.
   *
   */
  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    _requireOwned(tokenId);
    return "https://arweave.net/QhsCULISvUp0C2TgVLaQlBPbn00l7CZoTNGs0z59BzU";
  }

  /**
   * @dev Returns the base URI for all tokens minting. Emits transfer.
   * Must be MINTER_ROLE to call.
   *
   * @param to the address receiving the minted token
   * @param service the name of the verification service, e.g. "Plaid"
   * @param timestamp the UNIX timestamp of when the verification was issued
   */
  function mint(
    address to,
    string memory service,
    uint256 timestamp
  ) public onlyRole(MINTER_ROLE) {
    _safeMint(to, _tokenIdCounter);
    _tokenServices[_tokenIdCounter] = service;
    _tokenTimestamps[_tokenIdCounter] = timestamp;
    _tokenIdCounter++;
  }

  /**
   * @dev Returns the base URI for all tokens minting. Emits transfer.
   * Must be MINTER_ROLE to call.
   *
   * @param tokenId the id of the token to be burned
   */
  function burn(uint256 tokenId) public onlyRole(MINTER_ROLE) {
    _burn(tokenId);
  }

  /**
   * @dev Returns an array of verifications to the given wallet address
   *
   * @param owner the wallet address to query for verifications
   * @return Structs.VerificationData[]
   */
  function verifications(address owner)
    public
    view
    returns (Structs.VerificationData[] memory)
  {
    uint256 bal = balanceOf(owner);
    require(bal > 0, "no verifications");

    Structs.VerificationData[] memory vers = new Structs.VerificationData[](
      bal
    );
    for (uint256 i = 0; i < bal; i++) {
      uint256 tokenId = tokenOfOwnerByIndex(owner, i);
      vers[i] = Structs.VerificationData(
        tokenId,
        _tokenServices[tokenId],
        _tokenTimestamps[tokenId]
      );
    }
    return vers;
  }

  /**
   * @dev Unimplemented. Reverts for all inputs.
   *
   */
  // function transferFrom(
  //   address,
  //   address,
  //   uint256
  // ) public pure virtual override(ERC721, IERC721) {
  //   revert("tokens non-transferrable");
  // }

  /**
   * @dev Unimplemented. Reverts for all inputs.
   *
   */
  function safeTransferFrom(
    address,
    address,
    uint256,
    bytes memory
  ) public pure virtual override(ERC721, IERC721) {
    revert("tokens non-transferrable");
  }

  /**
   * @dev Returns the verification service type
   *
   * @return string
   */
  function getTypeName() public view returns (string memory) {
    return _typeName;
  }

  /**
   * @dev Required by superclass. Passes through to superclass.
   *
   * @param interfaceId the interface id
   * @return bool
   */
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC721Enumerable, AccessControl)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"typeName","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ERC721EnumerableForbiddenBatchMint","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"ERC721OutOfBoundsIndex","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"BASE_TOKEN_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[],"name":"getTypeName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"service","type":"string"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"verifications","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"service","type":"string"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct Structs.VerificationData[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"}]

60806040526001600b553480156200001657600080fd5b5060405162001f3e38038062001f3e83398101604081905262000039916200022b565b828260006200004983826200034d565b5060016200005882826200034d565b50600c91506200006b905082826200034d565b5062000079600033620000b0565b50620000a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000b0565b5050505062000419565b6000828152600a602090815260408083206001600160a01b038516845290915281205460ff1662000159576000838152600a602090815260408083206001600160a01b03861684529091529020805460ff19166001179055620001103390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016200015d565b5060005b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018b57600080fd5b81516001600160401b0380821115620001a857620001a862000163565b604051601f8301601f19908116603f01168101908282118183101715620001d357620001d362000163565b8160405283815260209250866020858801011115620001f157600080fd5b600091505b83821015620002155785820183015181830184015290820190620001f6565b6000602085830101528094505050505092915050565b6000806000606084860312156200024157600080fd5b83516001600160401b03808211156200025957600080fd5b620002678783880162000179565b945060208601519150808211156200027e57600080fd5b6200028c8783880162000179565b93506040860151915080821115620002a357600080fd5b50620002b28682870162000179565b9150509250925092565b600181811c90821680620002d157607f821691505b602082108103620002f257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000348576000816000526020600020601f850160051c81016020861015620003235750805b601f850160051c820191505b8181101562000344578281556001016200032f565b5050505b505050565b81516001600160401b0381111562000369576200036962000163565b62000381816200037a8454620002bc565b84620002f8565b602080601f831160018114620003b95760008415620003a05750858301515b600019600386901b1c1916600185901b17855562000344565b600085815260208120601f198616915b82811015620003ea57888601518255948401946001909101908401620003c9565b5085821015620004095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b1580620004296000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063b88d4fde11610097578063d539139311610071578063d5391393146103e8578063d547741f1461040f578063db0a087c14610422578063e985e9c51461042a57600080fd5b8063b88d4fde146103af578063ba7aef43146103c2578063c87b56dd146103d557600080fd5b806391d14854116100d357806391d148541461037957806395d89b411461038c578063a217fddf14610394578063a22cb4651461039c57600080fd5b80636352211e146103205780636f4581331461033357806370a082311461036657600080fd5b8063248a9ca31161016657806336568abe1161014057806336568abe146102d457806342842e0e146102e757806342966c68146102fa5780634f6ccce71461030d57600080fd5b8063248a9ca31461028b5780632f2ff15d146102ae5780632f745c59146102c157600080fd5b8063081812fc116101a2578063081812fc14610226578063095ea7b31461025157806318160ddd1461026657806323b872dd1461027857600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063080c98da14610206575b600080fd5b6101dc6101d73660046114d3565b61043d565b60405190151581526020015b60405180910390f35b6101f961044e565b6040516101e8919061153d565b61021961021436600461156c565b6104e0565b6040516101e89190611587565b61023961023436600461160a565b6106ba565b6040516001600160a01b0390911681526020016101e8565b61026461025f366004611623565b6106e3565b005b6008545b6040519081526020016101e8565b61026461028636600461164d565b6106f2565b61026a61029936600461160a565b6000908152600a602052604090206001015490565b6102646102bc366004611689565b61077d565b61026a6102cf366004611623565b6107a2565b6102646102e2366004611689565b610807565b6102646102f536600461164d565b61083f565b61026461030836600461160a565b61085a565b61026a61031b36600461160a565b61088d565b61023961032e36600461160a565b6108e6565b6101f96040518060400160405280601481526020017368747470733a2f2f617277656176652e6e65742f60601b81525081565b61026a61037436600461156c565b6108f1565b6101dc610387366004611689565b610939565b6101f9610964565b61026a600081565b6102646103aa3660046116b5565b610973565b6102646103bd36600461177d565b61097e565b6102646103d03660046117f9565b6109c6565b6101f96103e336600461160a565b610a45565b61026a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61026461041d366004611689565b610a70565b6101f9610a95565b6101dc610438366004611864565b610aa4565b600061044882610ad2565b92915050565b60606000805461045d9061188e565b80601f01602080910402602001604051908101604052809291908181526020018280546104899061188e565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b606060006104ed836108f1565b9050600081116105375760405162461bcd60e51b815260206004820152601060248201526f6e6f20766572696669636174696f6e7360801b60448201526064015b60405180910390fd5b60008167ffffffffffffffff811115610552576105526116f1565b6040519080825280602002602001820160405280156105a757816020015b61059460405180606001604052806000815260200160608152602001600081525090565b8152602001906001900390816105705790505b50905060005b828110156106b25760006105c186836107a2565b90506040518060600160405280828152602001600d600084815260200190815260200160002080546105f29061188e565b80601f016020809104026020016040519081016040528092919081815260200182805461061e9061188e565b801561066b5780601f106106405761010080835404028352916020019161066b565b820191906000526020600020905b81548152906001019060200180831161064e57829003601f168201915b50505050508152602001600e60008481526020019081526020016000205481525083838151811061069e5761069e6118c8565b6020908102919091010152506001016105ad565b509392505050565b60006106c582610af7565b506000828152600460205260409020546001600160a01b0316610448565b6106ee828233610b30565b5050565b6001600160a01b03821661071c57604051633250574960e11b81526000600482015260240161052e565b6000610729838333610b3d565b9050836001600160a01b0316816001600160a01b031614610777576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161052e565b50505050565b6000828152600a602052604090206001015461079881610c12565b6107778383610c1f565b60006107ad836108f1565b82106107de5760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161052e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108305760405163334bd91960e11b815260040160405180910390fd5b61083a8282610cb3565b505050565b61083a8383836040518060200160405280600081525061097e565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661088481610c12565b6106ee82610d20565b600061089860085490565b82106108c15760405163295f44f760e21b8152600060048201526024810183905260440161052e565b600882815481106108d4576108d46118c8565b90600052602060002001549050919050565b600061044882610af7565b60006001600160a01b03821661091d576040516322718ad960e21b81526000600482015260240161052e565b506001600160a01b031660009081526003602052604090205490565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461045d9061188e565b6106ee338383610d5b565b60405162461bcd60e51b815260206004820152601860248201527f746f6b656e73206e6f6e2d7472616e736665727261626c650000000000000000604482015260640161052e565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109f081610c12565b6109fc84600b54610dfa565b600b546000908152600d60205260409020610a17848261192e565b50600b80546000908152600e6020526040812084905581549190610a3a83611a04565b919050555050505050565b6060610a5082610af7565b506040518060600160405280603f8152602001611aa1603f913992915050565b6000828152600a6020526040902060010154610a8b81610c12565b6107778383610cb3565b6060600c805461045d9061188e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b03198216637965db0b60e01b1480610448575061044882610e14565b6000818152600260205260408120546001600160a01b03168061044857604051637e27328960e01b81526004810184905260240161052e565b61083a8383836001610e39565b600080610b4b858585610f3f565b90506001600160a01b038116610ba857610ba384600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610bcb565b846001600160a01b0316816001600160a01b031614610bcb57610bcb8185611038565b6001600160a01b038516610be757610be2846110c9565b610c0a565b846001600160a01b0316816001600160a01b031614610c0a57610c0a8585611178565b949350505050565b610c1c81336111c8565b50565b6000610c2b8383610939565b610cab576000838152600a602090815260408083206001600160a01b03861684529091529020805460ff19166001179055610c633390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610448565b506000610448565b6000610cbf8383610939565b15610cab576000838152600a602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610448565b6000610d2f6000836000610b3d565b90506001600160a01b0381166106ee57604051637e27328960e01b81526004810183905260240161052e565b6001600160a01b038216610d8d57604051630b61174360e31b81526001600160a01b038316600482015260240161052e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6106ee828260405180602001604052806000815250611201565b60006001600160e01b0319821663780e9d6360e01b1480610448575061044882611218565b8080610e4d57506001600160a01b03821615155b15610f0f576000610e5d84610af7565b90506001600160a01b03831615801590610e895750826001600160a01b0316816001600160a01b031614155b8015610e9c5750610e9a8184610aa4565b155b15610ec55760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161052e565b8115610f0d5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120546001600160a01b0390811690831615610f6c57610f6c818486611268565b6001600160a01b03811615610faa57610f89600085600080610e39565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610fd9576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6000611043836108f1565b600083815260076020526040902054909150808214611096576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906110db90600190611a1d565b60008381526009602052604081205460088054939450909284908110611103576111036118c8565b906000526020600020015490508060088381548110611124576111246118c8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061115c5761115c611a30565b6001900381819060005260206000200160009055905550505050565b60006001611185846108f1565b61118f9190611a1d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6111d28282610939565b6106ee5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161052e565b61120b83836112cc565b61083a6000848484611331565b60006001600160e01b031982166380ac58cd60e01b148061124957506001600160e01b03198216635b5e139f60e01b145b8061044857506301ffc9a760e01b6001600160e01b0319831614610448565b61127383838361145a565b61083a576001600160a01b0383166112a157604051637e27328960e01b81526004810182905260240161052e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161052e565b6001600160a01b0382166112f657604051633250574960e11b81526000600482015260240161052e565b600061130483836000610b3d565b90506001600160a01b0381161561083a576040516339e3563760e11b81526000600482015260240161052e565b6001600160a01b0383163b1561077757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290611373903390889087908790600401611a46565b6020604051808303816000875af19250505080156113ae575060408051601f3d908101601f191682019092526113ab91810190611a83565b60015b611417573d8080156113dc576040519150601f19603f3d011682016040523d82523d6000602084013e6113e1565b606091505b50805160000361140f57604051633250574960e11b81526001600160a01b038516600482015260240161052e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461145357604051633250574960e11b81526001600160a01b038516600482015260240161052e565b5050505050565b60006001600160a01b03831615801590610c0a5750826001600160a01b0316846001600160a01b0316148061149457506114948484610aa4565b80610c0a5750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160e01b031981168114610c1c57600080fd5b6000602082840312156114e557600080fd5b81356114f0816114bd565b9392505050565b6000815180845260005b8181101561151d57602081850181015186830182015201611501565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006114f060208301846114f7565b80356001600160a01b038116811461156757600080fd5b919050565b60006020828403121561157e57600080fd5b6114f082611550565b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b838110156115fc57603f19898403018552815160608151855288820151818a8701526115de828701826114f7565b928901519589019590955250948701949250908601906001016115b0565b509098975050505050505050565b60006020828403121561161c57600080fd5b5035919050565b6000806040838503121561163657600080fd5b61163f83611550565b946020939093013593505050565b60008060006060848603121561166257600080fd5b61166b84611550565b925061167960208501611550565b9150604084013590509250925092565b6000806040838503121561169c57600080fd5b823591506116ac60208401611550565b90509250929050565b600080604083850312156116c857600080fd5b6116d183611550565b9150602083013580151581146116e657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611722576117226116f1565b604051601f8501601f19908116603f0116810190828211818310171561174a5761174a6116f1565b8160405280935085815286868601111561176357600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561179357600080fd5b61179c85611550565b93506117aa60208601611550565b925060408501359150606085013567ffffffffffffffff8111156117cd57600080fd5b8501601f810187136117de57600080fd5b6117ed87823560208401611707565b91505092959194509250565b60008060006060848603121561180e57600080fd5b61181784611550565b9250602084013567ffffffffffffffff81111561183357600080fd5b8401601f8101861361184457600080fd5b61185386823560208401611707565b925050604084013590509250925092565b6000806040838503121561187757600080fd5b61188083611550565b91506116ac60208401611550565b600181811c908216806118a257607f821691505b6020821081036118c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b601f82111561083a576000816000526020600020601f850160051c810160208610156119075750805b601f850160051c820191505b8181101561192657828155600101611913565b505050505050565b815167ffffffffffffffff811115611948576119486116f1565b61195c81611956845461188e565b846118de565b602080601f83116001811461199157600084156119795750858301515b600019600386901b1c1916600185901b178555611926565b600085815260208120601f198616915b828110156119c0578886015182559484019460019091019084016119a1565b50858210156119de5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201611a1657611a166119ee565b5060010190565b81810381811115610448576104486119ee565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a79908301846114f7565b9695505050505050565b600060208284031215611a9557600080fd5b81516114f0816114bd56fe68747470733a2f2f617277656176652e6e65742f51687343554c49537655703043325467564c61516c4250626e30306c37435a6f544e4773307a3539427a55a26469706673582212201c85f796fa53737026550d0d649d2adc1ca77489194d6975e4cf3be94224826e64736f6c63430008180033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000006434f532d563000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018436f7369676e656420563020566572696669636174696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063b88d4fde11610097578063d539139311610071578063d5391393146103e8578063d547741f1461040f578063db0a087c14610422578063e985e9c51461042a57600080fd5b8063b88d4fde146103af578063ba7aef43146103c2578063c87b56dd146103d557600080fd5b806391d14854116100d357806391d148541461037957806395d89b411461038c578063a217fddf14610394578063a22cb4651461039c57600080fd5b80636352211e146103205780636f4581331461033357806370a082311461036657600080fd5b8063248a9ca31161016657806336568abe1161014057806336568abe146102d457806342842e0e146102e757806342966c68146102fa5780634f6ccce71461030d57600080fd5b8063248a9ca31461028b5780632f2ff15d146102ae5780632f745c59146102c157600080fd5b8063081812fc116101a2578063081812fc14610226578063095ea7b31461025157806318160ddd1461026657806323b872dd1461027857600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063080c98da14610206575b600080fd5b6101dc6101d73660046114d3565b61043d565b60405190151581526020015b60405180910390f35b6101f961044e565b6040516101e8919061153d565b61021961021436600461156c565b6104e0565b6040516101e89190611587565b61023961023436600461160a565b6106ba565b6040516001600160a01b0390911681526020016101e8565b61026461025f366004611623565b6106e3565b005b6008545b6040519081526020016101e8565b61026461028636600461164d565b6106f2565b61026a61029936600461160a565b6000908152600a602052604090206001015490565b6102646102bc366004611689565b61077d565b61026a6102cf366004611623565b6107a2565b6102646102e2366004611689565b610807565b6102646102f536600461164d565b61083f565b61026461030836600461160a565b61085a565b61026a61031b36600461160a565b61088d565b61023961032e36600461160a565b6108e6565b6101f96040518060400160405280601481526020017368747470733a2f2f617277656176652e6e65742f60601b81525081565b61026a61037436600461156c565b6108f1565b6101dc610387366004611689565b610939565b6101f9610964565b61026a600081565b6102646103aa3660046116b5565b610973565b6102646103bd36600461177d565b61097e565b6102646103d03660046117f9565b6109c6565b6101f96103e336600461160a565b610a45565b61026a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61026461041d366004611689565b610a70565b6101f9610a95565b6101dc610438366004611864565b610aa4565b600061044882610ad2565b92915050565b60606000805461045d9061188e565b80601f01602080910402602001604051908101604052809291908181526020018280546104899061188e565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b606060006104ed836108f1565b9050600081116105375760405162461bcd60e51b815260206004820152601060248201526f6e6f20766572696669636174696f6e7360801b60448201526064015b60405180910390fd5b60008167ffffffffffffffff811115610552576105526116f1565b6040519080825280602002602001820160405280156105a757816020015b61059460405180606001604052806000815260200160608152602001600081525090565b8152602001906001900390816105705790505b50905060005b828110156106b25760006105c186836107a2565b90506040518060600160405280828152602001600d600084815260200190815260200160002080546105f29061188e565b80601f016020809104026020016040519081016040528092919081815260200182805461061e9061188e565b801561066b5780601f106106405761010080835404028352916020019161066b565b820191906000526020600020905b81548152906001019060200180831161064e57829003601f168201915b50505050508152602001600e60008481526020019081526020016000205481525083838151811061069e5761069e6118c8565b6020908102919091010152506001016105ad565b509392505050565b60006106c582610af7565b506000828152600460205260409020546001600160a01b0316610448565b6106ee828233610b30565b5050565b6001600160a01b03821661071c57604051633250574960e11b81526000600482015260240161052e565b6000610729838333610b3d565b9050836001600160a01b0316816001600160a01b031614610777576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161052e565b50505050565b6000828152600a602052604090206001015461079881610c12565b6107778383610c1f565b60006107ad836108f1565b82106107de5760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161052e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108305760405163334bd91960e11b815260040160405180910390fd5b61083a8282610cb3565b505050565b61083a8383836040518060200160405280600081525061097e565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661088481610c12565b6106ee82610d20565b600061089860085490565b82106108c15760405163295f44f760e21b8152600060048201526024810183905260440161052e565b600882815481106108d4576108d46118c8565b90600052602060002001549050919050565b600061044882610af7565b60006001600160a01b03821661091d576040516322718ad960e21b81526000600482015260240161052e565b506001600160a01b031660009081526003602052604090205490565b6000918252600a602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461045d9061188e565b6106ee338383610d5b565b60405162461bcd60e51b815260206004820152601860248201527f746f6b656e73206e6f6e2d7472616e736665727261626c650000000000000000604482015260640161052e565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109f081610c12565b6109fc84600b54610dfa565b600b546000908152600d60205260409020610a17848261192e565b50600b80546000908152600e6020526040812084905581549190610a3a83611a04565b919050555050505050565b6060610a5082610af7565b506040518060600160405280603f8152602001611aa1603f913992915050565b6000828152600a6020526040902060010154610a8b81610c12565b6107778383610cb3565b6060600c805461045d9061188e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b03198216637965db0b60e01b1480610448575061044882610e14565b6000818152600260205260408120546001600160a01b03168061044857604051637e27328960e01b81526004810184905260240161052e565b61083a8383836001610e39565b600080610b4b858585610f3f565b90506001600160a01b038116610ba857610ba384600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610bcb565b846001600160a01b0316816001600160a01b031614610bcb57610bcb8185611038565b6001600160a01b038516610be757610be2846110c9565b610c0a565b846001600160a01b0316816001600160a01b031614610c0a57610c0a8585611178565b949350505050565b610c1c81336111c8565b50565b6000610c2b8383610939565b610cab576000838152600a602090815260408083206001600160a01b03861684529091529020805460ff19166001179055610c633390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610448565b506000610448565b6000610cbf8383610939565b15610cab576000838152600a602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610448565b6000610d2f6000836000610b3d565b90506001600160a01b0381166106ee57604051637e27328960e01b81526004810183905260240161052e565b6001600160a01b038216610d8d57604051630b61174360e31b81526001600160a01b038316600482015260240161052e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6106ee828260405180602001604052806000815250611201565b60006001600160e01b0319821663780e9d6360e01b1480610448575061044882611218565b8080610e4d57506001600160a01b03821615155b15610f0f576000610e5d84610af7565b90506001600160a01b03831615801590610e895750826001600160a01b0316816001600160a01b031614155b8015610e9c5750610e9a8184610aa4565b155b15610ec55760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161052e565b8115610f0d5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6000828152600260205260408120546001600160a01b0390811690831615610f6c57610f6c818486611268565b6001600160a01b03811615610faa57610f89600085600080610e39565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615610fd9576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b6000611043836108f1565b600083815260076020526040902054909150808214611096576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906110db90600190611a1d565b60008381526009602052604081205460088054939450909284908110611103576111036118c8565b906000526020600020015490508060088381548110611124576111246118c8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061115c5761115c611a30565b6001900381819060005260206000200160009055905550505050565b60006001611185846108f1565b61118f9190611a1d565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6111d28282610939565b6106ee5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440161052e565b61120b83836112cc565b61083a6000848484611331565b60006001600160e01b031982166380ac58cd60e01b148061124957506001600160e01b03198216635b5e139f60e01b145b8061044857506301ffc9a760e01b6001600160e01b0319831614610448565b61127383838361145a565b61083a576001600160a01b0383166112a157604051637e27328960e01b81526004810182905260240161052e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161052e565b6001600160a01b0382166112f657604051633250574960e11b81526000600482015260240161052e565b600061130483836000610b3d565b90506001600160a01b0381161561083a576040516339e3563760e11b81526000600482015260240161052e565b6001600160a01b0383163b1561077757604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290611373903390889087908790600401611a46565b6020604051808303816000875af19250505080156113ae575060408051601f3d908101601f191682019092526113ab91810190611a83565b60015b611417573d8080156113dc576040519150601f19603f3d011682016040523d82523d6000602084013e6113e1565b606091505b50805160000361140f57604051633250574960e11b81526001600160a01b038516600482015260240161052e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b1461145357604051633250574960e11b81526001600160a01b038516600482015260240161052e565b5050505050565b60006001600160a01b03831615801590610c0a5750826001600160a01b0316846001600160a01b0316148061149457506114948484610aa4565b80610c0a5750506000908152600460205260409020546001600160a01b03908116911614919050565b6001600160e01b031981168114610c1c57600080fd5b6000602082840312156114e557600080fd5b81356114f0816114bd565b9392505050565b6000815180845260005b8181101561151d57602081850181015186830182015201611501565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006114f060208301846114f7565b80356001600160a01b038116811461156757600080fd5b919050565b60006020828403121561157e57600080fd5b6114f082611550565b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b838110156115fc57603f19898403018552815160608151855288820151818a8701526115de828701826114f7565b928901519589019590955250948701949250908601906001016115b0565b509098975050505050505050565b60006020828403121561161c57600080fd5b5035919050565b6000806040838503121561163657600080fd5b61163f83611550565b946020939093013593505050565b60008060006060848603121561166257600080fd5b61166b84611550565b925061167960208501611550565b9150604084013590509250925092565b6000806040838503121561169c57600080fd5b823591506116ac60208401611550565b90509250929050565b600080604083850312156116c857600080fd5b6116d183611550565b9150602083013580151581146116e657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611722576117226116f1565b604051601f8501601f19908116603f0116810190828211818310171561174a5761174a6116f1565b8160405280935085815286868601111561176357600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561179357600080fd5b61179c85611550565b93506117aa60208601611550565b925060408501359150606085013567ffffffffffffffff8111156117cd57600080fd5b8501601f810187136117de57600080fd5b6117ed87823560208401611707565b91505092959194509250565b60008060006060848603121561180e57600080fd5b61181784611550565b9250602084013567ffffffffffffffff81111561183357600080fd5b8401601f8101861361184457600080fd5b61185386823560208401611707565b925050604084013590509250925092565b6000806040838503121561187757600080fd5b61188083611550565b91506116ac60208401611550565b600181811c908216806118a257607f821691505b6020821081036118c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b601f82111561083a576000816000526020600020601f850160051c810160208610156119075750805b601f850160051c820191505b8181101561192657828155600101611913565b505050505050565b815167ffffffffffffffff811115611948576119486116f1565b61195c81611956845461188e565b846118de565b602080601f83116001811461199157600084156119795750858301515b600019600386901b1c1916600185901b178555611926565b600085815260208120601f198616915b828110156119c0578886015182559484019460019091019084016119a1565b50858210156119de5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201611a1657611a166119ee565b5060010190565b81810381811115610448576104486119ee565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a79908301846114f7565b9695505050505050565b600060208284031215611a9557600080fd5b81516114f0816114bd56fe68747470733a2f2f617277656176652e6e65742f51687343554c49537655703043325467564c61516c4250626e30306c37435a6f544e4773307a3539427a55a26469706673582212201c85f796fa53737026550d0d649d2adc1ca77489194d6975e4cf3be94224826e64736f6c63430008180033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000006434f532d563000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018436f7369676e656420563020566572696669636174696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): COS-V0
Arg [1] : symbol (string): Cosigned V0 Verification
Arg [2] : typeName (string):

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 434f532d56300000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [6] : 436f7369676e656420563020566572696669636174696f6e0000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

110160:4484:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114433:208;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;114433:208:0;;;;;;;;84087:91;;;:::i;:::-;;;;;;;:::i;113018:559::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;85259:158::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3129:32:1;;;3111:51;;3099:2;3084:18;85259:158:0;2965:203:1;85078:115:0;;;;;;:::i;:::-;;:::i;:::-;;102982:104;103061:10;:17;102982:104;;;3578:25:1;;;3566:2;3551:18;102982:104:0;3432:177:1;85928:588:0;;;;;;:::i;:::-;;:::i;10339:122::-;;;;;;:::i;:::-;10404:7;10431:12;;;:6;:12;;;;;:22;;;;10339:122;10771:138;;;;;;:::i;:::-;;:::i;102646:260::-;;;;;;:::i;:::-;;:::i;11908:251::-;;;;;;:::i;:::-;;:::i;86587:134::-;;;;;;:::i;:::-;;:::i;112726:87::-;;;;;;:::i;:::-;;:::i;103163:231::-;;;;;;:::i;:::-;;:::i;83900:120::-;;;;;;:::i;:::-;;:::i;110495:62::-;;;;;;;;;;;;;;;-1:-1:-1;;;110495:62:0;;;;;83625:213;;;;;;:::i;:::-;;:::i;9355:138::-;;;;;;:::i;:::-;;:::i;84247:95::-;;;:::i;8667:49::-;;8712:4;8667:49;;85489:146;;;;;;:::i;:::-;;:::i;113912:185::-;;;;;;:::i;:::-;;:::i;112255:284::-;;;;;;:::i;:::-;;:::i;111700:217::-;;;;;;:::i;:::-;;:::i;110375:62::-;;110413:24;110375:62;;11202:140;;;;;;:::i;:::-;;:::i;114193:88::-;;;:::i;85706:155::-;;;;;;:::i;:::-;;:::i;114433:208::-;114576:4;114599:36;114623:11;114599:23;:36::i;:::-;114592:43;114433:208;-1:-1:-1;;114433:208:0:o;84087:91::-;84132:13;84165:5;84158:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84087:91;:::o;113018:559::-;113092:33;113137:11;113151:16;113161:5;113151:9;:16::i;:::-;113137:30;;113188:1;113182:3;:7;113174:36;;;;-1:-1:-1;;;113174:36:0;;7813:2:1;113174:36:0;;;7795:21:1;7852:2;7832:18;;;7825:30;-1:-1:-1;;;7871:18:1;;;7864:46;7927:18;;113174:36:0;;;;;;;;;113219:38;113299:3;113260:49;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;113260:49:0;;;;;;;;;;;;;;;;;113219:90;;113321:9;113316:238;113340:3;113336:1;:7;113316:238;;;113359:15;113377:29;113397:5;113404:1;113377:19;:29::i;:::-;113359:47;;113425:121;;;;;;;;113460:7;113425:121;;;;113478:14;:23;113493:7;113478:23;;;;;;;;;;;113425:121;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;113512:16;:25;113529:7;113512:25;;;;;;;;;;;;113425:121;;;113415:4;113420:1;113415:7;;;;;;;;:::i;:::-;;;;;;;;;;:131;-1:-1:-1;113345:3:0;;113316:238;;;-1:-1:-1;113567:4:0;113018:559;-1:-1:-1;;;113018:559:0:o;85259:158::-;85326:7;85346:22;85360:7;85346:13;:22::i;:::-;-1:-1:-1;87835:7:0;87862:24;;;:15;:24;;;;;;-1:-1:-1;;;;;87862:24:0;85388:21;87765:129;85078:115;85150:35;85159:2;85163:7;4351:10;85150:8;:35::i;:::-;85078:115;;:::o;85928:588::-;-1:-1:-1;;;;;86023:16:0;;86019:89;;86063:33;;-1:-1:-1;;;86063:33:0;;86093:1;86063:33;;;3111:51:1;3084:18;;86063:33:0;2965:203:1;86019:89:0;86329:21;86353:34;86361:2;86365:7;4351:10;86353:7;:34::i;:::-;86329:58;;86419:4;-1:-1:-1;;;;;86402:21:0;:13;-1:-1:-1;;;;;86402:21:0;;86398:111;;86447:50;;-1:-1:-1;;;86447:50:0;;-1:-1:-1;;;;;8346:15:1;;;86447:50:0;;;8328:34:1;8378:18;;;8371:34;;;8441:15;;8421:18;;;8414:43;8263:18;;86447:50:0;8088:375:1;86398:111:0;86008:508;85928:588;;;:::o;10771:138::-;10404:7;10431:12;;;:6;:12;;;;;:22;;;8951:16;8962:4;8951:10;:16::i;:::-;10876:25:::1;10887:4;10893:7;10876:10;:25::i;102646:260::-:0;102734:7;102767:16;102777:5;102767:9;:16::i;:::-;102758:5;:25;102754:101;;102807:36;;-1:-1:-1;;;102807:36:0;;-1:-1:-1;;;;;8660:32:1;;102807:36:0;;;8642:51:1;8709:18;;;8702:34;;;8615:18;;102807:36:0;8468:274:1;102754:101:0;-1:-1:-1;;;;;;102872:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;102646:260::o;11908:251::-;-1:-1:-1;;;;;12002:34:0;;4351:10;12002:34;11998:104;;12060:30;;-1:-1:-1;;;12060:30:0;;;;;;;;;;;11998:104;12114:37;12126:4;12132:18;12114:11;:37::i;:::-;;11908:251;;:::o;86587:134::-;86674:39;86691:4;86697:2;86701:7;86674:39;;;;;;;;;;;;:16;:39::i;112726:87::-;110413:24;8951:16;8962:4;8951:10;:16::i;:::-;112793:14:::1;112799:7;112793:5;:14::i;103163:231::-:0;103229:7;103262:13;103061:10;:17;;102982:104;103262:13;103253:5;:22;103249:103;;103299:41;;-1:-1:-1;;;103299:41:0;;103330:1;103299:41;;;8642:51:1;8709:18;;;8702:34;;;8615:18;;103299:41:0;8468:274:1;103249:103:0;103369:10;103380:5;103369:17;;;;;;;;:::i;:::-;;;;;;;;;103362:24;;103163:231;;;:::o;83900:120::-;83963:7;83990:22;84004:7;83990:13;:22::i;83625:213::-;83688:7;-1:-1:-1;;;;;83712:19:0;;83708:89;;83755:30;;-1:-1:-1;;;83755:30:0;;83782:1;83755:30;;;3111:51:1;3084:18;;83755:30:0;2965:203:1;83708:89:0;-1:-1:-1;;;;;;83814:16:0;;;;;:9;:16;;;;;;;83625:213::o;9355:138::-;9432:4;9456:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;9456:29:0;;;;;;;;;;;;;;;9355:138::o;84247:95::-;84294:13;84327:7;84320:14;;;;;:::i;85489:146::-;85575:52;4351:10;85608:8;85618;85575:18;:52::i;113912:185::-;114057:34;;-1:-1:-1;;;114057:34:0;;8949:2:1;114057:34:0;;;8931:21:1;8988:2;8968:18;;;8961:30;9027:26;9007:18;;;9000:54;9071:18;;114057:34:0;8747:348:1;112255:284:0;110413:24;8951:16;8962:4;8951:10;:16::i;:::-;112379:30:::1;112389:2;112393:15;;112379:9;:30::i;:::-;112431:15;::::0;112416:31:::1;::::0;;;:14:::1;:31;::::0;;;;:41:::1;112450:7:::0;112416:31;:41:::1;:::i;:::-;-1:-1:-1::0;112481:15:0::1;::::0;;112464:33:::1;::::0;;;:16:::1;:33;::::0;;;;:45;;;112516:17;;;112481:15;112516:17:::1;::::0;::::1;:::i;:::-;;;;;;112255:284:::0;;;;:::o;111700:217::-;111785:13;111810:22;111824:7;111810:13;:22::i;:::-;;111839:72;;;;;;;;;;;;;;;;;;111700:217;-1:-1:-1;;111700:217:0:o;11202:140::-;10404:7;10431:12;;;:6;:12;;;;;:22;;;8951:16;8962:4;8951:10;:16::i;:::-;11308:26:::1;11320:4;11326:7;11308:11;:26::i;114193:88::-:0;114237:13;114266:9;114259:16;;;;;:::i;85706:155::-;-1:-1:-1;;;;;85818:25:0;;;85794:4;85818:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;85706:155::o;9059:204::-;9144:4;-1:-1:-1;;;;;;9168:47:0;;-1:-1:-1;;;9168:47:0;;:87;;;9219:36;9243:11;9219:23;:36::i;98234:247::-;98297:7;87620:16;;;:7;:16;;;;;;-1:-1:-1;;;;;87620:16:0;;98361:90;;98408:31;;-1:-1:-1;;;98408:31:0;;;;;3578:25:1;;;3551:18;;98408:31:0;3432:177:1;96466:122:0;96547:33;96556:2;96560:7;96569:4;96575;96547:8;:33::i;103455:640::-;103550:7;103570:21;103594:32;103608:2;103612:7;103621:4;103594:13;:32::i;:::-;103570:56;-1:-1:-1;;;;;;103643:27:0;;103639:214;;103687:40;103719:7;104919:10;:17;;104892:24;;;;:15;:24;;;;;:44;;;104947:24;;;;;;;;;;;;104815:164;103687:40;103639:214;;;103766:2;-1:-1:-1;;;;;103749:19:0;:13;-1:-1:-1;;;;;103749:19:0;;103745:108;;103785:56;103818:13;103833:7;103785:32;:56::i;:::-;-1:-1:-1;;;;;103867:16:0;;103863:192;;103900:45;103937:7;103900:36;:45::i;:::-;103863:192;;;103984:2;-1:-1:-1;;;;;103967:19:0;:13;-1:-1:-1;;;;;103967:19:0;;103963:92;;104003:40;104031:2;104035:7;104003:27;:40::i;:::-;104074:13;103455:640;-1:-1:-1;;;;103455:640:0:o;9708:105::-;9775:30;9786:4;4351:10;9775;:30::i;:::-;9708:105;:::o;12785:324::-;12862:4;12884:22;12892:4;12898:7;12884;:22::i;:::-;12879:223;;12923:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;12923:29:0;;;;;;;;;:36;;-1:-1:-1;;12923:36:0;12955:4;12923:36;;;13006:12;4351:10;;4271:98;13006:12;-1:-1:-1;;;;;12979:40:0;12997:7;-1:-1:-1;;;;;12979:40:0;12991:4;12979:40;;;;;;;;;;-1:-1:-1;13041:4:0;13034:11;;12879:223;-1:-1:-1;13085:5:0;13078:12;;13353:325;13431:4;13452:22;13460:4;13466:7;13452;:22::i;:::-;13448:223;;;13523:5;13491:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13491:29:0;;;;;;;;;;:37;;-1:-1:-1;;13491:37:0;;;13548:40;4351:10;;13491:12;;13548:40;;13523:5;13548:40;-1:-1:-1;13610:4:0;13603:11;;93438:232;93490:21;93514:40;93530:1;93534:7;93551:1;93514:7;:40::i;:::-;93490:64;-1:-1:-1;;;;;;93569:27:0;;93565:98;;93620:31;;-1:-1:-1;;;93620:31:0;;;;;3578:25:1;;;3551:18;;93620:31:0;3432:177:1;97673:318:0;-1:-1:-1;;;;;97781:22:0;;97777:93;;97827:31;;-1:-1:-1;;;97827:31:0;;-1:-1:-1;;;;;3129:32:1;;97827:31:0;;;3111:51:1;3084:18;;97827:31:0;2965:203:1;97777:93:0;-1:-1:-1;;;;;97880:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;97880:46:0;;;;;;;;;;97942:41;;540::1;;;97942::0;;513:18:1;97942:41:0;;;;;;;97673:318;;;:::o;92585:102::-;92653:26;92663:2;92667:7;92653:26;;;;;;;;;;;;:9;:26::i;102338:224::-;102440:4;-1:-1:-1;;;;;;102464:50:0;;-1:-1:-1;;;102464:50:0;;:90;;;102518:36;102542:11;102518:23;:36::i;96776:678::-;96938:9;:31;;;-1:-1:-1;;;;;;96951:18:0;;;;96938:31;96934:471;;;96986:13;97002:22;97016:7;97002:13;:22::i;:::-;96986:38;-1:-1:-1;;;;;;97155:18:0;;;;;;:35;;;97186:4;-1:-1:-1;;;;;97177:13:0;:5;-1:-1:-1;;;;;97177:13:0;;;97155:35;:69;;;;;97195:29;97212:5;97219:4;97195:16;:29::i;:::-;97194:30;97155:69;97151:144;;;97252:27;;-1:-1:-1;;;97252:27:0;;-1:-1:-1;;;;;3129:32:1;;97252:27:0;;;3111:51:1;3084:18;;97252:27:0;2965:203:1;97151:144:0;97315:9;97311:83;;;97370:7;97366:2;-1:-1:-1;;;;;97350:28:0;97359:5;-1:-1:-1;;;;;97350:28:0;;;;;;;;;;;97311:83;96971:434;96934:471;-1:-1:-1;;97417:24:0;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;97417:29:0;-1:-1:-1;;;;;97417:29:0;;;;;;;;;;96776:678::o;90727:824::-;90813:7;87620:16;;;:7;:16;;;;;;-1:-1:-1;;;;;87620:16:0;;;;90928:18;;;90924:88;;90963:37;90980:4;90986;90992:7;90963:16;:37::i;:::-;-1:-1:-1;;;;;91059:18:0;;;91055:263;;91177:48;91194:1;91198:7;91215:1;91219:5;91177:8;:48::i;:::-;-1:-1:-1;;;;;91271:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;91271:20:0;;;91055:263;-1:-1:-1;;;;;91334:16:0;;;91330:111;;-1:-1:-1;;;;;91396:13:0;;;;;;:9;:13;;;;;:18;;91413:1;91396:18;;;91330:111;91453:16;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;91453:21:0;-1:-1:-1;;;;;91453:21:0;;;;;;;;;91492:27;;91453:16;;91492:27;;;;;;;91539:4;90727:824;-1:-1:-1;;;;90727:824:0:o;105606:977::-;105872:22;105897:15;105907:4;105897:9;:15::i;:::-;105923:18;105944:26;;;:17;:26;;;;;;105872:40;;-1:-1:-1;106077:28:0;;;106073:328;;-1:-1:-1;;;;;106144:18:0;;106122:19;106144:18;;;:12;:18;;;;;;;;:34;;;;;;;;;106195:30;;;;;;:44;;;106312:30;;:17;:30;;;;;:43;;;106073:328;-1:-1:-1;106497:26:0;;;;:17;:26;;;;;;;;106490:33;;;-1:-1:-1;;;;;106541:18:0;;;;;:12;:18;;;;;:34;;;;;;;106534:41;105606:977::o;106878:1079::-;107156:10;:17;107131:22;;107156:21;;107176:1;;107156:21;:::i;:::-;107188:18;107209:24;;;:15;:24;;;;;;107582:10;:26;;107131:46;;-1:-1:-1;107209:24:0;;107131:46;;107582:26;;;;;;:::i;:::-;;;;;;;;;107560:48;;107646:11;107621:10;107632;107621:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;107726:28;;;:15;:28;;;;;;;:41;;;107898:24;;;;;107891:31;107933:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;106949:1008;;;106878:1079;:::o;104396:218::-;104481:14;104514:1;104498:13;104508:2;104498:9;:13::i;:::-;:17;;;;:::i;:::-;-1:-1:-1;;;;;104526:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;104571:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;104396:218:0:o;9949:201::-;10038:22;10046:4;10052:7;10038;:22::i;:::-;10033:110;;10084:47;;-1:-1:-1;;;10084:47:0;;-1:-1:-1;;;;;8660:32:1;;10084:47:0;;;8642:51:1;8709:18;;;8702:34;;;8615:18;;10084:47:0;8468:274:1;92914:185:0;93009:18;93015:2;93019:7;93009:5;:18::i;:::-;93038:53;93069:1;93073:2;93077:7;93086:4;93038:22;:53::i;83256:305::-;83358:4;-1:-1:-1;;;;;;83395:40:0;;-1:-1:-1;;;83395:40:0;;:105;;-1:-1:-1;;;;;;;83452:48:0;;-1:-1:-1;;;83452:48:0;83395:105;:158;;;-1:-1:-1;;;;;;;;;;6466:40:0;;;83517:36;6366:148;88934:376;89047:38;89061:5;89068:7;89077;89047:13;:38::i;:::-;89042:261;;-1:-1:-1;;;;;89106:19:0;;89102:190;;89153:31;;-1:-1:-1;;;89153:31:0;;;;;3578:25:1;;;3551:18;;89153:31:0;3432:177:1;89102:190:0;89232:44;;-1:-1:-1;;;89232:44:0;;-1:-1:-1;;;;;8660:32:1;;89232:44:0;;;8642:51:1;8709:18;;;8702:34;;;8615:18;;89232:44:0;8468:274:1;91887:335:0;-1:-1:-1;;;;;91955:16:0;;91951:89;;91995:33;;-1:-1:-1;;;91995:33:0;;92025:1;91995:33;;;3111:51:1;3084:18;;91995:33:0;2965:203:1;91951:89:0;92050:21;92074:32;92082:2;92086:7;92103:1;92074:7;:32::i;:::-;92050:56;-1:-1:-1;;;;;;92121:27:0;;;92117:98;;92172:31;;-1:-1:-1;;;92172:31:0;;92200:1;92172:31;;;3111:51:1;3084:18;;92172:31:0;2965:203:1;99031:799:0;-1:-1:-1;;;;;99148:14:0;;;:18;99144:679;;99187:71;;-1:-1:-1;;;99187:71:0;;-1:-1:-1;;;;;99187:36:0;;;;;:71;;4351:10;;99238:4;;99244:7;;99253:4;;99187:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99187:71:0;;;;;;;;-1:-1:-1;;99187:71:0;;;;;;;;;;;;:::i;:::-;;;99183:629;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99501:6;:13;99518:1;99501:18;99497:300;;99551:25;;-1:-1:-1;;;99551:25:0;;-1:-1:-1;;;;;3129:32:1;;99551:25:0;;;3111:51:1;3084:18;;99551:25:0;2965:203:1;99497:300:0;99747:6;99741:13;99732:6;99728:2;99724:15;99717:38;99183:629;-1:-1:-1;;;;;;99306:51:0;;-1:-1:-1;;;99306:51:0;99302:132;;99389:25;;-1:-1:-1;;;99389:25:0;;-1:-1:-1;;;;;3129:32:1;;99389:25:0;;;3111:51:1;3084:18;;99389:25:0;2965:203:1;99302:132:0;99259:190;99031:799;;;;:::o;88214:276::-;88317:4;-1:-1:-1;;;;;88354:21:0;;;;;;:128;;;88402:7;-1:-1:-1;;;;;88393:16:0;:5;-1:-1:-1;;;;;88393:16:0;;:52;;;;88413:32;88430:5;88437:7;88413:16;:32::i;:::-;88393:88;;;-1:-1:-1;;87835:7:0;87862:24;;;:15;:24;;;;;;-1:-1:-1;;;;;87862:24:0;;;88449:32;;;;88334:148;-1:-1:-1;88214:276:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:423::-;634:3;672:5;666:12;699:6;694:3;687:19;724:1;734:162;748:6;745:1;742:13;734:162;;;810:4;866:13;;;862:22;;856:29;838:11;;;834:20;;827:59;763:12;734:162;;;738:3;941:1;934:4;925:6;920:3;916:16;912:27;905:38;1004:4;997:2;993:7;988:2;980:6;976:15;972:29;967:3;963:39;959:50;952:57;;;592:423;;;;:::o;1020:220::-;1169:2;1158:9;1151:21;1132:4;1189:45;1230:2;1219:9;1215:18;1207:6;1189:45;:::i;1245:173::-;1313:20;;-1:-1:-1;;;;;1362:31:1;;1352:42;;1342:70;;1408:1;1405;1398:12;1342:70;1245:173;;;:::o;1423:186::-;1482:6;1535:2;1523:9;1514:7;1510:23;1506:32;1503:52;;;1551:1;1548;1541:12;1503:52;1574:29;1593:9;1574:29;:::i;1614:1161::-;1824:4;1853:2;1893;1882:9;1878:18;1923:2;1912:9;1905:21;1946:6;1981;1975:13;2012:6;2004;1997:22;2038:2;2028:12;;2071:2;2060:9;2056:18;2049:25;;2133:2;2123:6;2120:1;2116:14;2105:9;2101:30;2097:39;2171:2;2163:6;2159:15;2192:1;2202:544;2216:6;2213:1;2210:13;2202:544;;;2309:2;2305:7;2293:9;2285:6;2281:22;2277:36;2272:3;2265:49;2343:6;2337:13;2373:4;2411:2;2405:9;2397:6;2390:25;2462:2;2458;2454:11;2448:18;2503:2;2498;2490:6;2486:15;2479:27;2533:48;2577:2;2569:6;2565:15;2551:12;2533:48;:::i;:::-;2624:11;;;2618:18;2601:15;;;2594:43;;;;-1:-1:-1;2724:12:1;;;;2519:62;-1:-1:-1;2689:15:1;;;;2238:1;2231:9;2202:544;;;-1:-1:-1;2763:6:1;;1614:1161;-1:-1:-1;;;;;;;;1614:1161:1:o;2780:180::-;2839:6;2892:2;2880:9;2871:7;2867:23;2863:32;2860:52;;;2908:1;2905;2898:12;2860:52;-1:-1:-1;2931:23:1;;2780:180;-1:-1:-1;2780:180:1:o;3173:254::-;3241:6;3249;3302:2;3290:9;3281:7;3277:23;3273:32;3270:52;;;3318:1;3315;3308:12;3270:52;3341:29;3360:9;3341:29;:::i;:::-;3331:39;3417:2;3402:18;;;;3389:32;;-1:-1:-1;;;3173:254:1:o;3614:328::-;3691:6;3699;3707;3760:2;3748:9;3739:7;3735:23;3731:32;3728:52;;;3776:1;3773;3766:12;3728:52;3799:29;3818:9;3799:29;:::i;:::-;3789:39;;3847:38;3881:2;3870:9;3866:18;3847:38;:::i;:::-;3837:48;;3932:2;3921:9;3917:18;3904:32;3894:42;;3614:328;;;;;:::o;4314:254::-;4382:6;4390;4443:2;4431:9;4422:7;4418:23;4414:32;4411:52;;;4459:1;4456;4449:12;4411:52;4495:9;4482:23;4472:33;;4524:38;4558:2;4547:9;4543:18;4524:38;:::i;:::-;4514:48;;4314:254;;;;;:::o;4573:347::-;4638:6;4646;4699:2;4687:9;4678:7;4674:23;4670:32;4667:52;;;4715:1;4712;4705:12;4667:52;4738:29;4757:9;4738:29;:::i;:::-;4728:39;;4817:2;4806:9;4802:18;4789:32;4864:5;4857:13;4850:21;4843:5;4840:32;4830:60;;4886:1;4883;4876:12;4830:60;4909:5;4899:15;;;4573:347;;;;;:::o;4925:127::-;4986:10;4981:3;4977:20;4974:1;4967:31;5017:4;5014:1;5007:15;5041:4;5038:1;5031:15;5057:631;5121:5;5151:18;5192:2;5184:6;5181:14;5178:40;;;5198:18;;:::i;:::-;5273:2;5267:9;5241:2;5327:15;;-1:-1:-1;;5323:24:1;;;5349:2;5319:33;5315:42;5303:55;;;5373:18;;;5393:22;;;5370:46;5367:72;;;5419:18;;:::i;:::-;5459:10;5455:2;5448:22;5488:6;5479:15;;5518:6;5510;5503:22;5558:3;5549:6;5544:3;5540:16;5537:25;5534:45;;;5575:1;5572;5565:12;5534:45;5625:6;5620:3;5613:4;5605:6;5601:17;5588:44;5680:1;5673:4;5664:6;5656;5652:19;5648:30;5641:41;;;;5057:631;;;;;:::o;5693:666::-;5788:6;5796;5804;5812;5865:3;5853:9;5844:7;5840:23;5836:33;5833:53;;;5882:1;5879;5872:12;5833:53;5905:29;5924:9;5905:29;:::i;:::-;5895:39;;5953:38;5987:2;5976:9;5972:18;5953:38;:::i;:::-;5943:48;;6038:2;6027:9;6023:18;6010:32;6000:42;;6093:2;6082:9;6078:18;6065:32;6120:18;6112:6;6109:30;6106:50;;;6152:1;6149;6142:12;6106:50;6175:22;;6228:4;6220:13;;6216:27;-1:-1:-1;6206:55:1;;6257:1;6254;6247:12;6206:55;6280:73;6345:7;6340:2;6327:16;6322:2;6318;6314:11;6280:73;:::i;:::-;6270:83;;;5693:666;;;;;;;:::o;6364:592::-;6451:6;6459;6467;6520:2;6508:9;6499:7;6495:23;6491:32;6488:52;;;6536:1;6533;6526:12;6488:52;6559:29;6578:9;6559:29;:::i;:::-;6549:39;;6639:2;6628:9;6624:18;6611:32;6666:18;6658:6;6655:30;6652:50;;;6698:1;6695;6688:12;6652:50;6721:22;;6774:4;6766:13;;6762:27;-1:-1:-1;6752:55:1;;6803:1;6800;6793:12;6752:55;6826:73;6891:7;6886:2;6873:16;6868:2;6864;6860:11;6826:73;:::i;:::-;6816:83;;;6946:2;6935:9;6931:18;6918:32;6908:42;;6364:592;;;;;:::o;6961:260::-;7029:6;7037;7090:2;7078:9;7069:7;7065:23;7061:32;7058:52;;;7106:1;7103;7096:12;7058:52;7129:29;7148:9;7129:29;:::i;:::-;7119:39;;7177:38;7211:2;7200:9;7196:18;7177:38;:::i;7226:380::-;7305:1;7301:12;;;;7348;;;7369:61;;7423:4;7415:6;7411:17;7401:27;;7369:61;7476:2;7468:6;7465:14;7445:18;7442:38;7439:161;;7522:10;7517:3;7513:20;7510:1;7503:31;7557:4;7554:1;7547:15;7585:4;7582:1;7575:15;7439:161;;7226:380;;;:::o;7956:127::-;8017:10;8012:3;8008:20;8005:1;7998:31;8048:4;8045:1;8038:15;8072:4;8069:1;8062:15;9226:543;9328:2;9323:3;9320:11;9317:446;;;9364:1;9388:5;9385:1;9378:16;9432:4;9429:1;9419:18;9502:2;9490:10;9486:19;9483:1;9479:27;9473:4;9469:38;9538:4;9526:10;9523:20;9520:47;;;-1:-1:-1;9561:4:1;9520:47;9616:2;9611:3;9607:12;9604:1;9600:20;9594:4;9590:31;9580:41;;9671:82;9689:2;9682:5;9679:13;9671:82;;;9734:17;;;9715:1;9704:13;9671:82;;;9675:3;;;9226:543;;;:::o;9945:1345::-;10071:3;10065:10;10098:18;10090:6;10087:30;10084:56;;;10120:18;;:::i;:::-;10149:97;10239:6;10199:38;10231:4;10225:11;10199:38;:::i;:::-;10193:4;10149:97;:::i;:::-;10301:4;;10358:2;10347:14;;10375:1;10370:663;;;;11077:1;11094:6;11091:89;;;-1:-1:-1;11146:19:1;;;11140:26;11091:89;-1:-1:-1;;9902:1:1;9898:11;;;9894:24;9890:29;9880:40;9926:1;9922:11;;;9877:57;11193:81;;10340:944;;10370:663;9173:1;9166:14;;;9210:4;9197:18;;-1:-1:-1;;10406:20:1;;;10524:236;10538:7;10535:1;10532:14;10524:236;;;10627:19;;;10621:26;10606:42;;10719:27;;;;10687:1;10675:14;;;;10554:19;;10524:236;;;10528:3;10788:6;10779:7;10776:19;10773:201;;;10849:19;;;10843:26;-1:-1:-1;;10932:1:1;10928:14;;;10944:3;10924:24;10920:37;10916:42;10901:58;10886:74;;10773:201;-1:-1:-1;;;;;11020:1:1;11004:14;;;11000:22;10987:36;;-1:-1:-1;9945:1345:1:o;11295:127::-;11356:10;11351:3;11347:20;11344:1;11337:31;11387:4;11384:1;11377:15;11411:4;11408:1;11401:15;11427:135;11466:3;11487:17;;;11484:43;;11507:18;;:::i;:::-;-1:-1:-1;11554:1:1;11543:13;;11427:135::o;11567:128::-;11634:9;;;11655:11;;;11652:37;;;11669:18;;:::i;11700:127::-;11761:10;11756:3;11752:20;11749:1;11742:31;11792:4;11789:1;11782:15;11816:4;11813:1;11806:15;12111:489;-1:-1:-1;;;;;12380:15:1;;;12362:34;;12432:15;;12427:2;12412:18;;12405:43;12479:2;12464:18;;12457:34;;;12527:3;12522:2;12507:18;;12500:31;;;12305:4;;12548:46;;12574:19;;12566:6;12548:46;:::i;:::-;12540:54;12111:489;-1:-1:-1;;;;;;12111:489:1:o;12605:249::-;12674:6;12727:2;12715:9;12706:7;12702:23;12698:32;12695:52;;;12743:1;12740;12733:12;12695:52;12775:9;12769:16;12794:30;12818:5;12794:30;:::i

Swarm Source

ipfs://1c85f796fa53737026550d0d649d2adc1ca77489194d6975e4cf3be94224826e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.