git.delta.rocks / unique-network / refs/commits / 7b6dca1f6320

difftreelog

source

tests/src/interfaces/augment-api-query.ts60.0 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/storage';78import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';9import type { Data } from '@polkadot/types';10import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';11import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';12import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';13import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';14import type { Observable } from '@polkadot/types/types';1516export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;17export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;1819declare module '@polkadot/api-base/types/storage' {20  interface AugmentedQueries<ApiType extends ApiTypes> {21    appPromotion: {22      /**23       * Stores the `admin` account. Some extrinsics can only be executed if they were signed by `admin`.24       **/25      admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;26      /**27       * Pending unstake records for an `Account`.28       * 29       * * **Key** - Staker account.30       * * **Value** - Amount of stakes.31       **/32      pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;33      /**34       * Stores a key for record for which the revenue recalculation was performed.35       * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.36       **/37      previousCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;38      /**39       * Stores the amount of tokens staked by account in the blocknumber.40       * 41       * * **Key1** - Staker account.42       * * **Key2** - Relay block number when the stake was made.43       * * **(Balance, BlockNumber)** - Balance of the stake.44       * The number of the relay block in which we must perform the interest recalculation45       **/46      staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;47      /**48       * Stores number of stake records for an `Account`.49       * 50       * * **Key** - Staker account.51       * * **Value** - Amount of stakes.52       **/53      stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;54      /**55       * Stores the total staked amount.56       **/57      totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;58      upgradedToReserves: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;59      /**60       * Generic query61       **/62      [key: string]: QueryableStorageEntry<ApiType>;63    };64    authorship: {65      /**66       * Author of current block.67       **/68      author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;69      /**70       * Whether uncles were already set in this block.71       **/72      didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;73      /**74       * Uncles75       **/76      uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;77      /**78       * Generic query79       **/80      [key: string]: QueryableStorageEntry<ApiType>;81    };82    balances: {83      /**84       * The Balances pallet example of storing the balance of an account.85       * 86       * # Example87       * 88       * ```nocompile89       * impl pallet_balances::Config for Runtime {90       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>91       * }92       * ```93       * 94       * You can also store the balance of an account in the `System` pallet.95       * 96       * # Example97       * 98       * ```nocompile99       * impl pallet_balances::Config for Runtime {100       * type AccountStore = System101       * }102       * ```103       * 104       * But this comes with tradeoffs, storing account balances in the system pallet stores105       * `frame_system` data alongside the account data contrary to storing account balances in the106       * `Balances` pallet, which uses a `StorageMap` to store balances data only.107       * NOTE: This is only used in the case that this pallet is used to store balances.108       **/109      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;110      /**111       * The total units of outstanding deactivated balance in the system.112       **/113      inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;114      /**115       * Any liquidity locks on some account balances.116       * NOTE: Should only be accessed when setting, changing and freeing a lock.117       **/118      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;119      /**120       * Named reserves on some account balances.121       **/122      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;123      /**124       * The total units issued in the system.125       **/126      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;127      /**128       * Generic query129       **/130      [key: string]: QueryableStorageEntry<ApiType>;131    };132    charging: {133      /**134       * Generic query135       **/136      [key: string]: QueryableStorageEntry<ApiType>;137    };138    collatorSelection: {139      /**140       * The (community, limited) collation candidates.141       **/142      candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;143      /**144       * The invulnerable, fixed collators.145       **/146      invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;147      /**148       * Last block authored by collator.149       **/150      lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;151      /**152       * The (community) collation license holders.153       **/154      licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;155      /**156       * Generic query157       **/158      [key: string]: QueryableStorageEntry<ApiType>;159    };160    common: {161      /**162       * Storage of the amount of collection admins.163       **/164      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;165      /**166       * Allowlisted collection users.167       **/168      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;169      /**170       * Storage of collection info.171       **/172      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;173      /**174       * Storage of collection properties.175       **/176      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;177      /**178       * Storage of token property permissions of a collection.179       **/180      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;181      /**182       * Storage of the count of created collections. Essentially contains the last collection ID.183       **/184      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;185      /**186       * Storage of the count of deleted collections.187       **/188      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;189      /**190       * Not used by code, exists only to provide some types to metadata.191       **/192      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;193      /**194       * List of collection admins.195       **/196      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;197      /**198       * Generic query199       **/200      [key: string]: QueryableStorageEntry<ApiType>;201    };202    configuration: {203      appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;204      collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;205      collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;206      collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;207      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;208      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;209      xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;210      /**211       * Generic query212       **/213      [key: string]: QueryableStorageEntry<ApiType>;214    };215    dmpQueue: {216      /**217       * The configuration.218       **/219      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;220      /**221       * The overweight messages.222       **/223      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;224      /**225       * The page index.226       **/227      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;228      /**229       * The queue pages.230       **/231      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;232      /**233       * Generic query234       **/235      [key: string]: QueryableStorageEntry<ApiType>;236    };237    ethereum: {238      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;239      /**240       * The current Ethereum block.241       **/242      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;243      /**244       * The current Ethereum receipts.245       **/246      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;247      /**248       * The current transaction statuses.249       **/250      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;251      /**252       * Injected transactions should have unique nonce, here we store current253       **/254      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;255      /**256       * Current building block's transactions and receipts.257       **/258      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;259      /**260       * Generic query261       **/262      [key: string]: QueryableStorageEntry<ApiType>;263    };264    evm: {265      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;266      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;267      /**268       * Written on log, reset after transaction269       * Should be empty between transactions270       **/271      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;272      /**273       * Generic query274       **/275      [key: string]: QueryableStorageEntry<ApiType>;276    };277    evmCoderSubstrate: {278      /**279       * Generic query280       **/281      [key: string]: QueryableStorageEntry<ApiType>;282    };283    evmContractHelpers: {284      /**285       * Storage for users that allowed for sponsorship.286       * 287       * ### Usage288       * Prefer to delete record from storage if user no more allowed for sponsorship.289       * 290       * * **Key1** - contract address.291       * * **Key2** - user that allowed for sponsorship.292       * * **Value** - allowance for sponsorship.293       **/294      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;295      /**296       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.297       * 298       * ### Usage299       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.300       * 301       * * **Key** - contract address.302       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.303       **/304      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;305      /**306       * Store owner for contract.307       * 308       * * **Key** - contract address.309       * * **Value** - owner for contract.310       **/311      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;312      /**313       * Deprecated: this storage is deprecated314       **/315      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;316      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;317      /**318       * Store for contract sponsorship state.319       * 320       * * **Key** - contract address.321       * * **Value** - sponsorship state.322       **/323      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;324      /**325       * Storage for last sponsored block.326       * 327       * * **Key1** - contract address.328       * * **Key2** - sponsored user address.329       * * **Value** - last sponsored block number.330       **/331      sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;332      /**333       * Store for sponsoring mode.334       * 335       * ### Usage336       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).337       * 338       * * **Key** - contract address.339       * * **Value** - [`sponsoring mode`](SponsoringModeT).340       **/341      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;342      /**343       * Storage for sponsoring rate limit in blocks.344       * 345       * * **Key** - contract address.346       * * **Value** - amount of sponsored blocks.347       **/348      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;349      /**350       * Generic query351       **/352      [key: string]: QueryableStorageEntry<ApiType>;353    };354    evmMigration: {355      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;356      /**357       * Generic query358       **/359      [key: string]: QueryableStorageEntry<ApiType>;360    };361    foreignAssets: {362      /**363       * The storages for assets to fungible collection binding364       * 365       **/366      assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;367      /**368       * The storages for AssetMetadatas.369       * 370       * AssetMetadatas: map AssetIds => Option<AssetMetadata>371       **/372      assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;373      /**374       * The storages for MultiLocations.375       * 376       * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>377       **/378      foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;379      /**380       * The storages for CurrencyIds.381       * 382       * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>383       **/384      locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;385      /**386       * Next available Foreign AssetId ID.387       * 388       * NextForeignAssetId: ForeignAssetId389       **/390      nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;391      /**392       * Generic query393       **/394      [key: string]: QueryableStorageEntry<ApiType>;395    };396    fungible: {397      /**398       * Storage for assets delegated to a limited extent to other users.399       **/400      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;401      /**402       * Amount of tokens owned by an account inside a collection.403       **/404      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;405      /**406       * Total amount of fungible tokens inside a collection.407       **/408      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;409      /**410       * Generic query411       **/412      [key: string]: QueryableStorageEntry<ApiType>;413    };414    identity: {415      /**416       * Information that is pertinent to identify the entity behind an account.417       * 418       * TWOX-NOTE: OK ― `AccountId` is a secure hash.419       **/420      identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;421      /**422       * The set of registrars. Not expected to get very big as can only be added through a423       * special origin (likely a council motion).424       * 425       * The index into this can be cast to `RegistrarIndex` to get a valid value.426       **/427      registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;428      /**429       * Alternative "sub" identities of this account.430       * 431       * The first item is the deposit, the second is a vector of the accounts.432       * 433       * TWOX-NOTE: OK ― `AccountId` is a secure hash.434       **/435      subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;436      /**437       * The super-identity of an alternative "sub" identity together with its name, within that438       * context. If the account is not some other account's sub-identity, then just `None`.439       **/440      superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;441      /**442       * Generic query443       **/444      [key: string]: QueryableStorageEntry<ApiType>;445    };446    inflation: {447      /**448       * Current inflation for `InflationBlockInterval` number of blocks449       **/450      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;451      /**452       * Next target (relay) block when inflation will be applied453       **/454      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;455      /**456       * Next target (relay) block when inflation is recalculated457       **/458      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;459      /**460       * Relay block when inflation has started461       **/462      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;463      /**464       * starting year total issuance465       **/466      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;467      /**468       * Generic query469       **/470      [key: string]: QueryableStorageEntry<ApiType>;471    };472    maintenance: {473      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;474      /**475       * Generic query476       **/477      [key: string]: QueryableStorageEntry<ApiType>;478    };479    nonfungible: {480      /**481       * Amount of tokens owned by an account in a collection.482       **/483      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;484      /**485       * Allowance set by a token owner for another user to perform one of certain transactions on a token.486       **/487      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;488      /**489       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.490       **/491      collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;492      /**493       * Used to enumerate tokens owned by account.494       **/495      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;496      /**497       * Custom data of a token that is serialized to bytes,498       * primarily reserved for on-chain operations,499       * normally obscured from the external users.500       * 501       * Auxiliary properties are slightly different from502       * usual [`TokenProperties`] due to an unlimited number503       * and separately stored and written-to key-value pairs.504       * 505       * Currently unused.506       **/507      tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;508      /**509       * Used to enumerate token's children.510       **/511      tokenChildren: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<bool>, [u32, u32, ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, u32, ITuple<[u32, u32]>]>;512      /**513       * Token data, used to partially describe a token.514       **/515      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;516      /**517       * Map of key-value pairs, describing the metadata of a token.518       **/519      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;520      /**521       * Amount of burnt tokens in a collection.522       **/523      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;524      /**525       * Total amount of minted tokens in a collection.526       **/527      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;528      /**529       * Generic query530       **/531      [key: string]: QueryableStorageEntry<ApiType>;532    };533    parachainInfo: {534      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;535      /**536       * Generic query537       **/538      [key: string]: QueryableStorageEntry<ApiType>;539    };540    parachainSystem: {541      /**542       * The number of HRMP messages we observed in `on_initialize` and thus used that number for543       * announcing the weight of `on_initialize` and `on_finalize`.544       **/545      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;546      /**547       * The next authorized upgrade, if there is one.548       **/549      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;550      /**551       * A custom head data that should be returned as result of `validate_block`.552       * 553       * See [`Pallet::set_custom_validation_head_data`] for more information.554       **/555      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;556      /**557       * Were the validation data set to notify the relay chain?558       **/559      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;560      /**561       * The parachain host configuration that was obtained from the relay parent.562       * 563       * This field is meant to be updated each block with the validation data inherent. Therefore,564       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.565       * 566       * This data is also absent from the genesis.567       **/568      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;569      /**570       * HRMP messages that were sent in a block.571       * 572       * This will be cleared in `on_initialize` of each new block.573       **/574      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;575      /**576       * HRMP watermark that was set in a block.577       * 578       * This will be cleared in `on_initialize` of each new block.579       **/580      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;581      /**582       * The last downward message queue chain head we have observed.583       * 584       * This value is loaded before and saved after processing inbound downward messages carried585       * by the system inherent.586       **/587      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;588      /**589       * The message queue chain heads we have observed per each channel incoming channel.590       * 591       * This value is loaded before and saved after processing inbound downward messages carried592       * by the system inherent.593       **/594      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;595      /**596       * The relay chain block number associated with the last parachain block.597       **/598      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;599      /**600       * Validation code that is set by the parachain and is to be communicated to collator and601       * consequently the relay-chain.602       * 603       * This will be cleared in `on_initialize` of each new block if no other pallet already set604       * the value.605       **/606      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;607      /**608       * Upward messages that are still pending and not yet send to the relay chain.609       **/610      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;611      /**612       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.613       * 614       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]615       * which will result the next block process with the new validation code. This concludes the upgrade process.616       * 617       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE618       **/619      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;620      /**621       * Number of downward messages processed in a block.622       * 623       * This will be cleared in `on_initialize` of each new block.624       **/625      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;626      /**627       * The state proof for the last relay parent block.628       * 629       * This field is meant to be updated each block with the validation data inherent. Therefore,630       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.631       * 632       * This data is also absent from the genesis.633       **/634      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;635      /**636       * The snapshot of some state related to messaging relevant to the current parachain as per637       * the relay parent.638       * 639       * This field is meant to be updated each block with the validation data inherent. Therefore,640       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.641       * 642       * This data is also absent from the genesis.643       **/644      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;645      /**646       * The weight we reserve at the beginning of the block for processing DMP messages. This647       * overrides the amount set in the Config trait.648       **/649      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;650      /**651       * The weight we reserve at the beginning of the block for processing XCMP messages. This652       * overrides the amount set in the Config trait.653       **/654      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;655      /**656       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.657       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced658       * candidate will be invalid.659       * 660       * This storage item is a mirror of the corresponding value for the current parachain from the661       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is662       * set after the inherent.663       **/664      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;665      /**666       * Upward messages that were sent in a block.667       * 668       * This will be cleared in `on_initialize` of each new block.669       **/670      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;671      /**672       * The [`PersistedValidationData`] set for this block.673       * This value is expected to be set only once per block and it's never stored674       * in the trie.675       **/676      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;677      /**678       * Generic query679       **/680      [key: string]: QueryableStorageEntry<ApiType>;681    };682    preimage: {683      preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;684      /**685       * The request status of a given hash.686       **/687      statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;688      /**689       * Generic query690       **/691      [key: string]: QueryableStorageEntry<ApiType>;692    };693    randomnessCollectiveFlip: {694      /**695       * Series of block headers from the last 81 blocks that acts as random seed material. This696       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of697       * the oldest hash.698       **/699      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;700      /**701       * Generic query702       **/703      [key: string]: QueryableStorageEntry<ApiType>;704    };705    refungible: {706      /**707       * Amount of tokens (not pieces) partially owned by an account within a collection.708       **/709      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;710      /**711       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.712       **/713      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;714      /**715       * Amount of token pieces owned by account.716       **/717      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;718      /**719       * Spender set by a wallet owner that could perform certain transactions on all tokens in the wallet.720       **/721      collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;722      /**723       * Used to enumerate tokens owned by account.724       **/725      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;726      /**727       * Amount of pieces a refungible token is split into.728       **/729      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;730      /**731       * Amount of tokens burnt in a collection.732       **/733      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;734      /**735       * Total amount of minted tokens in a collection.736       **/737      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;738      /**739       * Total amount of pieces for token740       **/741      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;742      /**743       * Generic query744       **/745      [key: string]: QueryableStorageEntry<ApiType>;746    };747    session: {748      /**749       * Current index of the session.750       **/751      currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;752      /**753       * Indices of disabled validators.754       * 755       * The vec is always kept sorted so that we can find whether a given validator is756       * disabled using binary search. It gets cleared when `on_session_ending` returns757       * a new set of identities.758       **/759      disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;760      /**761       * The owner of a key. The key is the `KeyTypeId` + the encoded key.762       **/763      keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;764      /**765       * The next session keys for a validator.766       **/767      nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;768      /**769       * True if the underlying economic identities or weighting behind the validators770       * has changed in the queued validator set.771       **/772      queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;773      /**774       * The queued keys for the next session. When the next session begins, these keys775       * will be used to determine the validator's session keys.776       **/777      queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;778      /**779       * The current set of validators.780       **/781      validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;782      /**783       * Generic query784       **/785      [key: string]: QueryableStorageEntry<ApiType>;786    };787    structure: {788      /**789       * Generic query790       **/791      [key: string]: QueryableStorageEntry<ApiType>;792    };793    sudo: {794      /**795       * The `AccountId` of the sudo key.796       **/797      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;798      /**799       * Generic query800       **/801      [key: string]: QueryableStorageEntry<ApiType>;802    };803    system: {804      /**805       * The full account information for a particular account ID.806       **/807      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;808      /**809       * Total length (in bytes) for all extrinsics put together, for the current block.810       **/811      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;812      /**813       * Map of block numbers to block hashes.814       **/815      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;816      /**817       * The current weight for the block.818       **/819      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;820      /**821       * Digest of the current block, also part of the block header.822       **/823      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;824      /**825       * The number of events in the `Events<T>` list.826       **/827      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;828      /**829       * Events deposited for the current block.830       * 831       * NOTE: The item is unbound and should therefore never be read on chain.832       * It could otherwise inflate the PoV size of a block.833       * 834       * Events have a large in-memory size. Box the events to not go out-of-memory835       * just in case someone still reads them from within the runtime.836       **/837      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;838      /**839       * Mapping between a topic (represented by T::Hash) and a vector of indexes840       * of events in the `<Events<T>>` list.841       * 842       * All topic vectors have deterministic storage locations depending on the topic. This843       * allows light-clients to leverage the changes trie storage tracking mechanism and844       * in case of changes fetch the list of events of interest.845       * 846       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just847       * the `EventIndex` then in case if the topic has the same contents on the next block848       * no notification will be triggered thus the event might be lost.849       **/850      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;851      /**852       * The execution phase of the block.853       **/854      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;855      /**856       * Total extrinsics count for the current block.857       **/858      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;859      /**860       * Extrinsics data for the current block (maps an extrinsic's index to its data).861       **/862      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;863      /**864       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.865       **/866      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;867      /**868       * The current block number being processed. Set by `execute_block`.869       **/870      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;871      /**872       * Hash of the previous block.873       **/874      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;875      /**876       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False877       * (default) if not.878       **/879      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;880      /**881       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.882       **/883      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;884      /**885       * Generic query886       **/887      [key: string]: QueryableStorageEntry<ApiType>;888    };889    testUtils: {890      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;891      testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;892      /**893       * Generic query894       **/895      [key: string]: QueryableStorageEntry<ApiType>;896    };897    timestamp: {898      /**899       * Did the timestamp get updated in this block?900       **/901      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;902      /**903       * Current time for the current block.904       **/905      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;906      /**907       * Generic query908       **/909      [key: string]: QueryableStorageEntry<ApiType>;910    };911    tokens: {912      /**913       * The balance of a token type under an account.914       * 915       * NOTE: If the total is ever zero, decrease account ref account.916       * 917       * NOTE: This is only used in the case that this module is used to store918       * balances.919       **/920      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;921      /**922       * Any liquidity locks of a token type under an account.923       * NOTE: Should only be accessed when setting, changing and freeing a lock.924       **/925      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;926      /**927       * Named reserves on some account balances.928       **/929      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;930      /**931       * The total issuance of a token type.932       **/933      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;934      /**935       * Generic query936       **/937      [key: string]: QueryableStorageEntry<ApiType>;938    };939    transactionPayment: {940      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;941      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;942      /**943       * Generic query944       **/945      [key: string]: QueryableStorageEntry<ApiType>;946    };947    treasury: {948      /**949       * Proposal indices that have been approved but not yet awarded.950       **/951      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;952      /**953       * The amount which has been reported as inactive to Currency.954       **/955      deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;956      /**957       * Number of proposals that have been made.958       **/959      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;960      /**961       * Proposals that have been made.962       **/963      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;964      /**965       * Generic query966       **/967      [key: string]: QueryableStorageEntry<ApiType>;968    };969    unique: {970      /**971       * Used for migrations972       **/973      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;974      /**975       * (Collection id (controlled?2), who created (real))976       * TODO: Off chain worker should remove from this map when collection gets removed977       **/978      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;979      /**980       * Last sponsoring of fungible tokens approval in a collection981       **/982      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;983      /**984       * Collection id (controlled?2), owning user (real)985       **/986      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;987      /**988       * Last sponsoring of NFT approval in a collection989       **/990      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;991      /**992       * Collection id (controlled?2), token id (controlled?2)993       **/994      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;995      /**996       * Last sponsoring of RFT approval in a collection997       **/998      refungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;999      /**1000       * Collection id (controlled?2), token id (controlled?2)1001       **/1002      reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;1003      /**1004       * Last sponsoring of token property setting // todo:doc rephrase this and the following1005       **/1006      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1007      /**1008       * Variable metadata sponsoring1009       * Collection id (controlled?2), token id (controlled?2)1010       **/1011      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1012      /**1013       * Generic query1014       **/1015      [key: string]: QueryableStorageEntry<ApiType>;1016    };1017    vesting: {1018      /**1019       * Vesting schedules of an account.1020       * 1021       * VestingSchedules: map AccountId => Vec<VestingSchedule>1022       **/1023      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;1024      /**1025       * Generic query1026       **/1027      [key: string]: QueryableStorageEntry<ApiType>;1028    };1029    xcmpQueue: {1030      /**1031       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.1032       **/1033      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1034      /**1035       * Status of the inbound XCMP channels.1036       **/1037      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1038      /**1039       * The messages outbound in a given XCMP channel.1040       **/1041      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;1042      /**1043       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first1044       * and last outbound message. If the two indices are equal, then it indicates an empty1045       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater1046       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in1047       * case of the need to send a high-priority signal message this block.1048       * The bool is true if there is a signal message waiting to be sent.1049       **/1050      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1051      /**1052       * The messages that exceeded max individual message weight budget.1053       * 1054       * These message stay in this storage map until they are manually dispatched via1055       * `service_overweight`.1056       **/1057      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;1058      /**1059       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next1060       * available free overweight index.1061       **/1062      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;1063      /**1064       * The configuration which controls the dynamics of the outbound queue.1065       **/1066      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;1067      /**1068       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.1069       **/1070      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;1071      /**1072       * Any signal messages waiting to be sent.1073       **/1074      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;1075      /**1076       * Generic query1077       **/1078      [key: string]: QueryableStorageEntry<ApiType>;1079    };1080  } // AugmentedQueries1081} // declare module