git.delta.rocks / unique-network / refs/commits / 308db1642565

difftreelog

source

tests/src/interfaces/augment-api-query.ts60.5 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, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletRefungibleItemData, 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       * Stores amount of stakes 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 amount of stakes 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      /**59       * Generic query60       **/61      [key: string]: QueryableStorageEntry<ApiType>;62    };63    authorship: {64      /**65       * Author of current block.66       **/67      author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;68      /**69       * Whether uncles were already set in this block.70       **/71      didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;72      /**73       * Uncles74       **/75      uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []> & QueryableStorageEntry<ApiType, []>;76      /**77       * Generic query78       **/79      [key: string]: QueryableStorageEntry<ApiType>;80    };81    balances: {82      /**83       * The Balances pallet example of storing the balance of an account.84       * 85       * # Example86       * 87       * ```nocompile88       * impl pallet_balances::Config for Runtime {89       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>90       * }91       * ```92       * 93       * You can also store the balance of an account in the `System` pallet.94       * 95       * # Example96       * 97       * ```nocompile98       * impl pallet_balances::Config for Runtime {99       * type AccountStore = System100       * }101       * ```102       * 103       * But this comes with tradeoffs, storing account balances in the system pallet stores104       * `frame_system` data alongside the account data contrary to storing account balances in the105       * `Balances` pallet, which uses a `StorageMap` to store balances data only.106       * NOTE: This is only used in the case that this pallet is used to store balances.107       **/108      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;109      /**110       * Any liquidity locks on some account balances.111       * NOTE: Should only be accessed when setting, changing and freeing a lock.112       **/113      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;114      /**115       * Named reserves on some account balances.116       **/117      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;118      /**119       * Storage version of the pallet.120       * 121       * This is set to v2.0.0 for new networks.122       **/123      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;124      /**125       * The total units issued in the system.126       **/127      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;128      /**129       * Generic query130       **/131      [key: string]: QueryableStorageEntry<ApiType>;132    };133    charging: {134      /**135       * Generic query136       **/137      [key: string]: QueryableStorageEntry<ApiType>;138    };139    collatorSelection: {140      /**141       * The (community, limited) collation candidates.142       **/143      candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;144      /**145       * The invulnerable, fixed collators.146       **/147      invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;148      /**149       * Last block authored by collator.150       **/151      lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;152      /**153       * The (community) collation license holders.154       **/155      licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;156      /**157       * Generic query158       **/159      [key: string]: QueryableStorageEntry<ApiType>;160    };161    common: {162      /**163       * Storage of the amount of collection admins.164       **/165      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;166      /**167       * Allowlisted collection users.168       **/169      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;170      /**171       * Storage of collection info.172       **/173      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;174      /**175       * Storage of collection properties.176       **/177      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;178      /**179       * Storage of token property permissions of a collection.180       **/181      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;182      /**183       * Storage of the count of created collections. Essentially contains the last collection ID.184       **/185      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;186      /**187       * Storage of the count of deleted collections.188       **/189      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;190      /**191       * Not used by code, exists only to provide some types to metadata.192       **/193      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;194      /**195       * List of collection admins.196       **/197      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;198      /**199       * Generic query200       **/201      [key: string]: QueryableStorageEntry<ApiType>;202    };203    configuration: {204      appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;205      collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;206      collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;207      collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;208      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;209      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;210      xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;211      /**212       * Generic query213       **/214      [key: string]: QueryableStorageEntry<ApiType>;215    };216    dataManagement: {217      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;218      /**219       * Generic query220       **/221      [key: string]: QueryableStorageEntry<ApiType>;222    };223    dmpQueue: {224      /**225       * The configuration.226       **/227      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;228      /**229       * The overweight messages.230       **/231      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;232      /**233       * The page index.234       **/235      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;236      /**237       * The queue pages.238       **/239      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;240      /**241       * Generic query242       **/243      [key: string]: QueryableStorageEntry<ApiType>;244    };245    ethereum: {246      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;247      /**248       * The current Ethereum block.249       **/250      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;251      /**252       * The current Ethereum receipts.253       **/254      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;255      /**256       * The current transaction statuses.257       **/258      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;259      /**260       * Injected transactions should have unique nonce, here we store current261       **/262      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;263      /**264       * Current building block's transactions and receipts.265       **/266      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;267      /**268       * Generic query269       **/270      [key: string]: QueryableStorageEntry<ApiType>;271    };272    evm: {273      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;274      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;275      /**276       * Written on log, reset after transaction277       * Should be empty between transactions278       **/279      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;280      /**281       * Generic query282       **/283      [key: string]: QueryableStorageEntry<ApiType>;284    };285    evmCoderSubstrate: {286      /**287       * Generic query288       **/289      [key: string]: QueryableStorageEntry<ApiType>;290    };291    evmContractHelpers: {292      /**293       * Storage for users that allowed for sponsorship.294       * 295       * ### Usage296       * Prefer to delete record from storage if user no more allowed for sponsorship.297       * 298       * * **Key1** - contract address.299       * * **Key2** - user that allowed for sponsorship.300       * * **Value** - allowance for sponsorship.301       **/302      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;303      /**304       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.305       * 306       * ### Usage307       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.308       * 309       * * **Key** - contract address.310       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.311       **/312      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;313      /**314       * Store owner for contract.315       * 316       * * **Key** - contract address.317       * * **Value** - owner for contract.318       **/319      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;320      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;321      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;322      /**323       * Store for contract sponsorship state.324       * 325       * * **Key** - contract address.326       * * **Value** - sponsorship state.327       **/328      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;329      /**330       * Storage for last sponsored block.331       * 332       * * **Key1** - contract address.333       * * **Key2** - sponsored user address.334       * * **Value** - last sponsored block number.335       **/336      sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;337      /**338       * Store for sponsoring mode.339       * 340       * ### Usage341       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).342       * 343       * * **Key** - contract address.344       * * **Value** - [`sponsoring mode`](SponsoringModeT).345       **/346      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;347      /**348       * Storage for sponsoring rate limit in blocks.349       * 350       * * **Key** - contract address.351       * * **Value** - amount of sponsored blocks.352       **/353      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;354      /**355       * Generic query356       **/357      [key: string]: QueryableStorageEntry<ApiType>;358    };359    foreignAssets: {360      /**361       * The storages for assets to fungible collection binding362       * 363       **/364      assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;365      /**366       * The storages for AssetMetadatas.367       * 368       * AssetMetadatas: map AssetIds => Option<AssetMetadata>369       **/370      assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;371      /**372       * The storages for MultiLocations.373       * 374       * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>375       **/376      foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;377      /**378       * The storages for CurrencyIds.379       * 380       * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>381       **/382      locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;383      /**384       * Next available Foreign AssetId ID.385       * 386       * NextForeignAssetId: ForeignAssetId387       **/388      nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;389      /**390       * Generic query391       **/392      [key: string]: QueryableStorageEntry<ApiType>;393    };394    fungible: {395      /**396       * Storage for assets delegated to a limited extent to other users.397       **/398      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]>;399      /**400       * Amount of tokens owned by an account inside a collection.401       **/402      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;403      /**404       * Total amount of fungible tokens inside a collection.405       **/406      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;407      /**408       * Generic query409       **/410      [key: string]: QueryableStorageEntry<ApiType>;411    };412    identity: {413      /**414       * Information that is pertinent to identify the entity behind an account.415       * 416       * TWOX-NOTE: OK ― `AccountId` is a secure hash.417       **/418      identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;419      /**420       * The set of registrars. Not expected to get very big as can only be added through a421       * special origin (likely a council motion).422       * 423       * The index into this can be cast to `RegistrarIndex` to get a valid value.424       **/425      registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;426      /**427       * Alternative "sub" identities of this account.428       * 429       * The first item is the deposit, the second is a vector of the accounts.430       * 431       * TWOX-NOTE: OK ― `AccountId` is a secure hash.432       **/433      subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;434      /**435       * The super-identity of an alternative "sub" identity together with its name, within that436       * context. If the account is not some other account's sub-identity, then just `None`.437       **/438      superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;439      /**440       * Generic query441       **/442      [key: string]: QueryableStorageEntry<ApiType>;443    };444    inflation: {445      /**446       * Current inflation for `InflationBlockInterval` number of blocks447       **/448      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;449      /**450       * Next target (relay) block when inflation will be applied451       **/452      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;453      /**454       * Next target (relay) block when inflation is recalculated455       **/456      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;457      /**458       * Relay block when inflation has started459       **/460      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;461      /**462       * starting year total issuance463       **/464      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;465      /**466       * Generic query467       **/468      [key: string]: QueryableStorageEntry<ApiType>;469    };470    maintenance: {471      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;472      /**473       * Generic query474       **/475      [key: string]: QueryableStorageEntry<ApiType>;476    };477    nonfungible: {478      /**479       * Amount of tokens owned by an account in a collection.480       **/481      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;482      /**483       * Allowance set by a token owner for another user to perform one of certain transactions on a token.484       **/485      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;486      /**487       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.488       **/489      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]>;490      /**491       * Used to enumerate tokens owned by account.492       **/493      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]>;494      /**495       * Custom data of a token that is serialized to bytes,496       * primarily reserved for on-chain operations,497       * normally obscured from the external users.498       * 499       * Auxiliary properties are slightly different from500       * usual [`TokenProperties`] due to an unlimited number501       * and separately stored and written-to key-value pairs.502       * 503       * Currently used to store RMRK data.504       **/505      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]>;506      /**507       * Used to enumerate token's children.508       **/509      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]>]>;510      /**511       * Token data, used to partially describe a token.512       **/513      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;514      /**515       * Map of key-value pairs, describing the metadata of a token.516       **/517      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;518      /**519       * Amount of burnt tokens in a collection.520       **/521      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;522      /**523       * Total amount of minted tokens in a collection.524       **/525      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;526      /**527       * Generic query528       **/529      [key: string]: QueryableStorageEntry<ApiType>;530    };531    parachainInfo: {532      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;533      /**534       * Generic query535       **/536      [key: string]: QueryableStorageEntry<ApiType>;537    };538    parachainSystem: {539      /**540       * The number of HRMP messages we observed in `on_initialize` and thus used that number for541       * announcing the weight of `on_initialize` and `on_finalize`.542       **/543      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;544      /**545       * The next authorized upgrade, if there is one.546       **/547      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;548      /**549       * A custom head data that should be returned as result of `validate_block`.550       * 551       * See [`Pallet::set_custom_validation_head_data`] for more information.552       **/553      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;554      /**555       * Were the validation data set to notify the relay chain?556       **/557      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;558      /**559       * The parachain host configuration that was obtained from the relay parent.560       * 561       * This field is meant to be updated each block with the validation data inherent. Therefore,562       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.563       * 564       * This data is also absent from the genesis.565       **/566      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;567      /**568       * HRMP messages that were sent in a block.569       * 570       * This will be cleared in `on_initialize` of each new block.571       **/572      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;573      /**574       * HRMP watermark that was set in a block.575       * 576       * This will be cleared in `on_initialize` of each new block.577       **/578      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;579      /**580       * The last downward message queue chain head we have observed.581       * 582       * This value is loaded before and saved after processing inbound downward messages carried583       * by the system inherent.584       **/585      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;586      /**587       * The message queue chain heads we have observed per each channel incoming channel.588       * 589       * This value is loaded before and saved after processing inbound downward messages carried590       * by the system inherent.591       **/592      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;593      /**594       * The relay chain block number associated with the last parachain block.595       **/596      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;597      /**598       * Validation code that is set by the parachain and is to be communicated to collator and599       * consequently the relay-chain.600       * 601       * This will be cleared in `on_initialize` of each new block if no other pallet already set602       * the value.603       **/604      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;605      /**606       * Upward messages that are still pending and not yet send to the relay chain.607       **/608      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;609      /**610       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.611       * 612       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]613       * which will result the next block process with the new validation code. This concludes the upgrade process.614       * 615       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE616       **/617      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;618      /**619       * Number of downward messages processed in a block.620       * 621       * This will be cleared in `on_initialize` of each new block.622       **/623      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;624      /**625       * The state proof for the last relay parent block.626       * 627       * This field is meant to be updated each block with the validation data inherent. Therefore,628       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.629       * 630       * This data is also absent from the genesis.631       **/632      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;633      /**634       * The snapshot of some state related to messaging relevant to the current parachain as per635       * the relay parent.636       * 637       * This field is meant to be updated each block with the validation data inherent. Therefore,638       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.639       * 640       * This data is also absent from the genesis.641       **/642      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;643      /**644       * The weight we reserve at the beginning of the block for processing DMP messages. This645       * overrides the amount set in the Config trait.646       **/647      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;648      /**649       * The weight we reserve at the beginning of the block for processing XCMP messages. This650       * overrides the amount set in the Config trait.651       **/652      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;653      /**654       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.655       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced656       * candidate will be invalid.657       * 658       * This storage item is a mirror of the corresponding value for the current parachain from the659       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is660       * set after the inherent.661       **/662      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;663      /**664       * Upward messages that were sent in a block.665       * 666       * This will be cleared in `on_initialize` of each new block.667       **/668      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;669      /**670       * The [`PersistedValidationData`] set for this block.671       * This value is expected to be set only once per block and it's never stored672       * in the trie.673       **/674      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;675      /**676       * Generic query677       **/678      [key: string]: QueryableStorageEntry<ApiType>;679    };680    randomnessCollectiveFlip: {681      /**682       * Series of block headers from the last 81 blocks that acts as random seed material. This683       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of684       * the oldest hash.685       **/686      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;687      /**688       * Generic query689       **/690      [key: string]: QueryableStorageEntry<ApiType>;691    };692    refungible: {693      /**694       * Amount of tokens (not pieces) partially owned by an account within a collection.695       **/696      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;697      /**698       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.699       **/700      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]>;701      /**702       * Amount of token pieces owned by account.703       **/704      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]>;705      /**706       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.707       **/708      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]>;709      /**710       * Used to enumerate tokens owned by account.711       **/712      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]>;713      /**714       * Token data, used to partially describe a token.715       **/716      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;717      /**718       * Amount of pieces a refungible token is split into.719       **/720      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;721      /**722       * Amount of tokens burnt in a collection.723       **/724      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;725      /**726       * Total amount of minted tokens in a collection.727       **/728      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;729      /**730       * Total amount of pieces for token731       **/732      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;733      /**734       * Generic query735       **/736      [key: string]: QueryableStorageEntry<ApiType>;737    };738    rmrkCore: {739      /**740       * Latest yet-unused collection ID.741       **/742      collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;743      /**744       * Mapping from RMRK collection ID to Unique's.745       **/746      uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;747      /**748       * Generic query749       **/750      [key: string]: QueryableStorageEntry<ApiType>;751    };752    rmrkEquip: {753      /**754       * Checkmark that a Base has a Theme NFT named "default".755       **/756      baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;757      /**758       * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.759       **/760      inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;761      /**762       * Generic query763       **/764      [key: string]: QueryableStorageEntry<ApiType>;765    };766    session: {767      /**768       * Current index of the session.769       **/770      currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;771      /**772       * Indices of disabled validators.773       * 774       * The vec is always kept sorted so that we can find whether a given validator is775       * disabled using binary search. It gets cleared when `on_session_ending` returns776       * a new set of identities.777       **/778      disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;779      /**780       * The owner of a key. The key is the `KeyTypeId` + the encoded key.781       **/782      keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;783      /**784       * The next session keys for a validator.785       **/786      nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;787      /**788       * True if the underlying economic identities or weighting behind the validators789       * has changed in the queued validator set.790       **/791      queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;792      /**793       * The queued keys for the next session. When the next session begins, these keys794       * will be used to determine the validator's session keys.795       **/796      queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;797      /**798       * The current set of validators.799       **/800      validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;801      /**802       * Generic query803       **/804      [key: string]: QueryableStorageEntry<ApiType>;805    };806    structure: {807      /**808       * Generic query809       **/810      [key: string]: QueryableStorageEntry<ApiType>;811    };812    sudo: {813      /**814       * The `AccountId` of the sudo key.815       **/816      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;817      /**818       * Generic query819       **/820      [key: string]: QueryableStorageEntry<ApiType>;821    };822    system: {823      /**824       * The full account information for a particular account ID.825       **/826      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;827      /**828       * Total length (in bytes) for all extrinsics put together, for the current block.829       **/830      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;831      /**832       * Map of block numbers to block hashes.833       **/834      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;835      /**836       * The current weight for the block.837       **/838      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;839      /**840       * Digest of the current block, also part of the block header.841       **/842      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;843      /**844       * The number of events in the `Events<T>` list.845       **/846      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;847      /**848       * Events deposited for the current block.849       * 850       * NOTE: The item is unbound and should therefore never be read on chain.851       * It could otherwise inflate the PoV size of a block.852       * 853       * Events have a large in-memory size. Box the events to not go out-of-memory854       * just in case someone still reads them from within the runtime.855       **/856      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;857      /**858       * Mapping between a topic (represented by T::Hash) and a vector of indexes859       * of events in the `<Events<T>>` list.860       * 861       * All topic vectors have deterministic storage locations depending on the topic. This862       * allows light-clients to leverage the changes trie storage tracking mechanism and863       * in case of changes fetch the list of events of interest.864       * 865       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just866       * the `EventIndex` then in case if the topic has the same contents on the next block867       * no notification will be triggered thus the event might be lost.868       **/869      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;870      /**871       * The execution phase of the block.872       **/873      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;874      /**875       * Total extrinsics count for the current block.876       **/877      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;878      /**879       * Extrinsics data for the current block (maps an extrinsic's index to its data).880       **/881      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;882      /**883       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.884       **/885      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;886      /**887       * The current block number being processed. Set by `execute_block`.888       **/889      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;890      /**891       * Hash of the previous block.892       **/893      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;894      /**895       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False896       * (default) if not.897       **/898      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;899      /**900       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.901       **/902      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;903      /**904       * Generic query905       **/906      [key: string]: QueryableStorageEntry<ApiType>;907    };908    testUtils: {909      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;910      testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;911      /**912       * Generic query913       **/914      [key: string]: QueryableStorageEntry<ApiType>;915    };916    timestamp: {917      /**918       * Did the timestamp get updated in this block?919       **/920      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;921      /**922       * Current time for the current block.923       **/924      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;925      /**926       * Generic query927       **/928      [key: string]: QueryableStorageEntry<ApiType>;929    };930    tokens: {931      /**932       * The balance of a token type under an account.933       * 934       * NOTE: If the total is ever zero, decrease account ref account.935       * 936       * NOTE: This is only used in the case that this module is used to store937       * balances.938       **/939      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;940      /**941       * Any liquidity locks of a token type under an account.942       * NOTE: Should only be accessed when setting, changing and freeing a lock.943       **/944      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;945      /**946       * Named reserves on some account balances.947       **/948      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;949      /**950       * The total issuance of a token type.951       **/952      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;953      /**954       * Generic query955       **/956      [key: string]: QueryableStorageEntry<ApiType>;957    };958    transactionPayment: {959      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;960      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;961      /**962       * Generic query963       **/964      [key: string]: QueryableStorageEntry<ApiType>;965    };966    treasury: {967      /**968       * Proposal indices that have been approved but not yet awarded.969       **/970      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;971      /**972       * Number of proposals that have been made.973       **/974      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;975      /**976       * Proposals that have been made.977       **/978      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;979      /**980       * Generic query981       **/982      [key: string]: QueryableStorageEntry<ApiType>;983    };984    unique: {985      /**986       * Used for migrations987       **/988      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;989      /**990       * (Collection id (controlled?2), who created (real))991       * TODO: Off chain worker should remove from this map when collection gets removed992       **/993      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;994      /**995       * Last sponsoring of fungible tokens approval in a collection996       **/997      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;998      /**999       * Collection id (controlled?2), owning user (real)1000       **/1001      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;1002      /**1003       * Last sponsoring of NFT approval in a collection1004       **/1005      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1006      /**1007       * Collection id (controlled?2), token id (controlled?2)1008       **/1009      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1010      /**1011       * Last sponsoring of RFT approval in a collection1012       **/1013      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]>;1014      /**1015       * Collection id (controlled?2), token id (controlled?2)1016       **/1017      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]>;1018      /**1019       * Last sponsoring of token property setting // todo:doc rephrase this and the following1020       **/1021      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1022      /**1023       * Variable metadata sponsoring1024       * Collection id (controlled?2), token id (controlled?2)1025       **/1026      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1027      /**1028       * Generic query1029       **/1030      [key: string]: QueryableStorageEntry<ApiType>;1031    };1032    vesting: {1033      /**1034       * Vesting schedules of an account.1035       * 1036       * VestingSchedules: map AccountId => Vec<VestingSchedule>1037       **/1038      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;1039      /**1040       * Generic query1041       **/1042      [key: string]: QueryableStorageEntry<ApiType>;1043    };1044    xcmpQueue: {1045      /**1046       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.1047       **/1048      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1049      /**1050       * Status of the inbound XCMP channels.1051       **/1052      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1053      /**1054       * The messages outbound in a given XCMP channel.1055       **/1056      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;1057      /**1058       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first1059       * and last outbound message. If the two indices are equal, then it indicates an empty1060       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater1061       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in1062       * case of the need to send a high-priority signal message this block.1063       * The bool is true if there is a signal message waiting to be sent.1064       **/1065      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1066      /**1067       * The messages that exceeded max individual message weight budget.1068       * 1069       * These message stay in this storage map until they are manually dispatched via1070       * `service_overweight`.1071       **/1072      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;1073      /**1074       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next1075       * available free overweight index.1076       **/1077      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;1078      /**1079       * The configuration which controls the dynamics of the outbound queue.1080       **/1081      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;1082      /**1083       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.1084       **/1085      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;1086      /**1087       * Any signal messages waiting to be sent.1088       **/1089      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;1090      /**1091       * Generic query1092       **/1093      [key: string]: QueryableStorageEntry<ApiType>;1094    };1095  } // AugmentedQueries1096} // declare module