git.delta.rocks / unique-network / refs/commits / e56bec09d887

difftreelog

source

tests/src/interfaces/augment-api-query.ts59.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 { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';11<<<<<<< HEAD12<<<<<<< HEAD13import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';14import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';15=======16import type { AccountId32, H160, H256, Perbill, Weight } from '@polkadot/types/interfaces/runtime';17import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';18>>>>>>> added the  ability to configure pallet `app-promotion` via the `configuration` palette19=======20import type { AccountId32, H160, H256, Weight } from '@polkadot/types/interfaces/runtime';21import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } from '@polkadot/types/lookup';22>>>>>>> refactor: `app-promotion` configuration pallet23import type { Observable } from '@polkadot/types/types';2425export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;26export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;2728declare module '@polkadot/api-base/types/storage' {29  interface AugmentedQueries<ApiType extends ApiTypes> {30    appPromotion: {31      /**32       * Stores the `admin` account. Some extrinsics can only be executed if they were signed by `admin`.33       **/34      admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;35      /**36       * Stores a key for record for which the next revenue recalculation would be performed.37       * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.38       **/39      nextCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;40      /**41       * Stores amount of stakes for an `Account`.42       * 43       * * **Key** - Staker account.44       * * **Value** - Amount of stakes.45       **/46      pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;47      /**48       * Stores the amount of tokens staked by account in the blocknumber.49       * 50       * * **Key1** - Staker account.51       * * **Key2** - Relay block number when the stake was made.52       * * **(Balance, BlockNumber)** - Balance of the stake.53       * The number of the relay block in which we must perform the interest recalculation54       **/55      staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;56      /**57       * Stores amount of stakes for an `Account`.58       * 59       * * **Key** - Staker account.60       * * **Value** - Amount of stakes.61       **/62      stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;63      /**64       * Stores the total staked amount.65       **/66      totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;67      /**68       * Generic query69       **/70      [key: string]: QueryableStorageEntry<ApiType>;71    };72    balances: {73      /**74       * The Balances pallet example of storing the balance of an account.75       * 76       * # Example77       * 78       * ```nocompile79       * impl pallet_balances::Config for Runtime {80       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>81       * }82       * ```83       * 84       * You can also store the balance of an account in the `System` pallet.85       * 86       * # Example87       * 88       * ```nocompile89       * impl pallet_balances::Config for Runtime {90       * type AccountStore = System91       * }92       * ```93       * 94       * But this comes with tradeoffs, storing account balances in the system pallet stores95       * `frame_system` data alongside the account data contrary to storing account balances in the96       * `Balances` pallet, which uses a `StorageMap` to store balances data only.97       * NOTE: This is only used in the case that this pallet is used to store balances.98       **/99      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;100      /**101       * Any liquidity locks on some account balances.102       * NOTE: Should only be accessed when setting, changing and freeing a lock.103       **/104      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;105      /**106       * Named reserves on some account balances.107       **/108      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;109      /**110       * Storage version of the pallet.111       * 112       * This is set to v2.0.0 for new networks.113       **/114      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;115      /**116       * The total units issued in the system.117       **/118      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;119      /**120       * Generic query121       **/122      [key: string]: QueryableStorageEntry<ApiType>;123    };124    charging: {125      /**126       * Generic query127       **/128      [key: string]: QueryableStorageEntry<ApiType>;129    };130    common: {131      /**132       * Storage of the amount of collection admins.133       **/134      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;135      /**136       * Allowlisted collection users.137       **/138      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;139      /**140       * Storage of collection info.141       **/142      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;143      /**144       * Storage of collection properties.145       **/146      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;147      /**148       * Storage of token property permissions of a collection.149       **/150      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;151      /**152       * Storage of the count of created collections. Essentially contains the last collection ID.153       **/154      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;155      /**156       * Storage of the count of deleted collections.157       **/158      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;159      /**160       * Not used by code, exists only to provide some types to metadata.161       **/162      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;163      /**164       * List of collection admins.165       **/166      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;167      /**168       * Generic query169       **/170      [key: string]: QueryableStorageEntry<ApiType>;171    };172    configuration: {173      appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;174      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;175      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;176      xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;177      /**178       * Generic query179       **/180      [key: string]: QueryableStorageEntry<ApiType>;181    };182    dmpQueue: {183      /**184       * The configuration.185       **/186      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;187      /**188       * The overweight messages.189       **/190      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;191      /**192       * The page index.193       **/194      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;195      /**196       * The queue pages.197       **/198      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;199      /**200       * Generic query201       **/202      [key: string]: QueryableStorageEntry<ApiType>;203    };204    ethereum: {205      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;206      /**207       * The current Ethereum block.208       **/209      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;210      /**211       * The current Ethereum receipts.212       **/213      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;214      /**215       * The current transaction statuses.216       **/217      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;218      /**219       * Injected transactions should have unique nonce, here we store current220       **/221      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;222      /**223       * Current building block's transactions and receipts.224       **/225      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;226      /**227       * Generic query228       **/229      [key: string]: QueryableStorageEntry<ApiType>;230    };231    evm: {232      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;233      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;234      /**235       * Written on log, reset after transaction236       * Should be empty between transactions237       **/238      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;239      /**240       * Generic query241       **/242      [key: string]: QueryableStorageEntry<ApiType>;243    };244    evmCoderSubstrate: {245      /**246       * Generic query247       **/248      [key: string]: QueryableStorageEntry<ApiType>;249    };250    evmContractHelpers: {251      /**252       * Storage for users that allowed for sponsorship.253       * 254       * ### Usage255       * Prefer to delete record from storage if user no more allowed for sponsorship.256       * 257       * * **Key1** - contract address.258       * * **Key2** - user that allowed for sponsorship.259       * * **Value** - allowance for sponsorship.260       **/261      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;262      /**263       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.264       * 265       * ### Usage266       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.267       * 268       * * **Key** - contract address.269       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.270       **/271      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;272      /**273       * Store owner for contract.274       * 275       * * **Key** - contract address.276       * * **Value** - owner for contract.277       **/278      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;279      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;280      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;281      /**282       * Store for contract sponsorship state.283       * 284       * * **Key** - contract address.285       * * **Value** - sponsorship state.286       **/287      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;288      /**289       * Storage for last sponsored block.290       * 291       * * **Key1** - contract address.292       * * **Key2** - sponsored user address.293       * * **Value** - last sponsored block number.294       **/295      sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;296      /**297       * Store for sponsoring mode.298       * 299       * ### Usage300       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).301       * 302       * * **Key** - contract address.303       * * **Value** - [`sponsoring mode`](SponsoringModeT).304       **/305      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;306      /**307       * Storage for sponsoring rate limit in blocks.308       * 309       * * **Key** - contract address.310       * * **Value** - amount of sponsored blocks.311       **/312      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;313      /**314       * Generic query315       **/316      [key: string]: QueryableStorageEntry<ApiType>;317    };318    evmMigration: {319      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;320      /**321       * Generic query322       **/323      [key: string]: QueryableStorageEntry<ApiType>;324    };325    foreignAssets: {326      /**327       * The storages for assets to fungible collection binding328       * 329       **/330      assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;331      /**332       * The storages for AssetMetadatas.333       * 334       * AssetMetadatas: map AssetIds => Option<AssetMetadata>335       **/336      assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;337      /**338       * The storages for MultiLocations.339       * 340       * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>341       **/342      foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;343      /**344       * The storages for CurrencyIds.345       * 346       * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>347       **/348      locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;349      /**350       * Next available Foreign AssetId ID.351       * 352       * NextForeignAssetId: ForeignAssetId353       **/354      nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;355      /**356       * Generic query357       **/358      [key: string]: QueryableStorageEntry<ApiType>;359    };360    fungible: {361      /**362       * Storage for assets delegated to a limited extent to other users.363       **/364      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]>;365      /**366       * Amount of tokens owned by an account inside a collection.367       **/368      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;369      /**370       * Total amount of fungible tokens inside a collection.371       **/372      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;373      /**374       * Generic query375       **/376      [key: string]: QueryableStorageEntry<ApiType>;377    };378    inflation: {379      /**380       * Current inflation for `InflationBlockInterval` number of blocks381       **/382      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;383      /**384       * Next target (relay) block when inflation will be applied385       **/386      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;387      /**388       * Next target (relay) block when inflation is recalculated389       **/390      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;391      /**392       * Relay block when inflation has started393       **/394      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;395      /**396       * starting year total issuance397       **/398      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;399      /**400       * Generic query401       **/402      [key: string]: QueryableStorageEntry<ApiType>;403    };404    maintenance: {405      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;406      /**407       * Generic query408       **/409      [key: string]: QueryableStorageEntry<ApiType>;410    };411    nonfungible: {412      /**413       * Amount of tokens owned by an account in a collection.414       **/415      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;416      /**417       * Allowance set by a token owner for another user to perform one of certain transactions on a token.418       **/419      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;420      /**421       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.422       **/423      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]>;424      /**425       * Used to enumerate tokens owned by account.426       **/427      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]>;428      /**429       * Custom data of a token that is serialized to bytes,430       * primarily reserved for on-chain operations,431       * normally obscured from the external users.432       * 433       * Auxiliary properties are slightly different from434       * usual [`TokenProperties`] due to an unlimited number435       * and separately stored and written-to key-value pairs.436       * 437       * Currently used to store RMRK data.438       **/439      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]>;440      /**441       * Used to enumerate token's children.442       **/443      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]>]>;444      /**445       * Token data, used to partially describe a token.446       **/447      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;448      /**449       * Map of key-value pairs, describing the metadata of a token.450       **/451      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;452      /**453       * Amount of burnt tokens in a collection.454       **/455      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;456      /**457       * Total amount of minted tokens in a collection.458       **/459      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;460      /**461       * Generic query462       **/463      [key: string]: QueryableStorageEntry<ApiType>;464    };465    parachainInfo: {466      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;467      /**468       * Generic query469       **/470      [key: string]: QueryableStorageEntry<ApiType>;471    };472    parachainSystem: {473      /**474       * The number of HRMP messages we observed in `on_initialize` and thus used that number for475       * announcing the weight of `on_initialize` and `on_finalize`.476       **/477      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;478      /**479       * The next authorized upgrade, if there is one.480       **/481      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;482      /**483       * A custom head data that should be returned as result of `validate_block`.484       * 485       * See [`Pallet::set_custom_validation_head_data`] for more information.486       **/487      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;488      /**489       * Were the validation data set to notify the relay chain?490       **/491      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;492      /**493       * The parachain host configuration that was obtained from the relay parent.494       * 495       * This field is meant to be updated each block with the validation data inherent. Therefore,496       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.497       * 498       * This data is also absent from the genesis.499       **/500      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;501      /**502       * HRMP messages that were sent in a block.503       * 504       * This will be cleared in `on_initialize` of each new block.505       **/506      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;507      /**508       * HRMP watermark that was set in a block.509       * 510       * This will be cleared in `on_initialize` of each new block.511       **/512      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;513      /**514       * The last downward message queue chain head we have observed.515       * 516       * This value is loaded before and saved after processing inbound downward messages carried517       * by the system inherent.518       **/519      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;520      /**521       * The message queue chain heads we have observed per each channel incoming channel.522       * 523       * This value is loaded before and saved after processing inbound downward messages carried524       * by the system inherent.525       **/526      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;527      /**528       * The relay chain block number associated with the last parachain block.529       **/530      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;531      /**532       * Validation code that is set by the parachain and is to be communicated to collator and533       * consequently the relay-chain.534       * 535       * This will be cleared in `on_initialize` of each new block if no other pallet already set536       * the value.537       **/538      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;539      /**540       * Upward messages that are still pending and not yet send to the relay chain.541       **/542      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;543      /**544       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.545       * 546       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]547       * which will result the next block process with the new validation code. This concludes the upgrade process.548       * 549       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE550       **/551      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;552      /**553       * Number of downward messages processed in a block.554       * 555       * This will be cleared in `on_initialize` of each new block.556       **/557      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;558      /**559       * The state proof for the last relay parent block.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      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;567      /**568       * The snapshot of some state related to messaging relevant to the current parachain as per569       * the relay parent.570       * 571       * This field is meant to be updated each block with the validation data inherent. Therefore,572       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.573       * 574       * This data is also absent from the genesis.575       **/576      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;577      /**578       * The weight we reserve at the beginning of the block for processing DMP messages. This579       * overrides the amount set in the Config trait.580       **/581      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;582      /**583       * The weight we reserve at the beginning of the block for processing XCMP messages. This584       * overrides the amount set in the Config trait.585       **/586      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;587      /**588       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.589       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced590       * candidate will be invalid.591       * 592       * This storage item is a mirror of the corresponding value for the current parachain from the593       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is594       * set after the inherent.595       **/596      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;597      /**598       * Upward messages that were sent in a block.599       * 600       * This will be cleared in `on_initialize` of each new block.601       **/602      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;603      /**604       * The [`PersistedValidationData`] set for this block.605       * This value is expected to be set only once per block and it's never stored606       * in the trie.607       **/608      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;609      /**610       * Generic query611       **/612      [key: string]: QueryableStorageEntry<ApiType>;613    };614    randomnessCollectiveFlip: {615      /**616       * Series of block headers from the last 81 blocks that acts as random seed material. This617       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of618       * the oldest hash.619       **/620      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;621      /**622       * Generic query623       **/624      [key: string]: QueryableStorageEntry<ApiType>;625    };626    refungible: {627      /**628       * Amount of tokens (not pieces) partially owned by an account within a collection.629       **/630      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;631      /**632       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.633       **/634      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]>;635      /**636       * Amount of token pieces owned by account.637       **/638      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]>;639      /**640       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.641       **/642      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]>;643      /**644       * Used to enumerate tokens owned by account.645       **/646      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]>;647      /**648       * Token data, used to partially describe a token.649       **/650      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;651      /**652       * Amount of pieces a refungible token is split into.653       **/654      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;655      /**656       * Amount of tokens burnt in a collection.657       **/658      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;659      /**660       * Total amount of minted tokens in a collection.661       **/662      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;663      /**664       * Total amount of pieces for token665       **/666      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;667      /**668       * Generic query669       **/670      [key: string]: QueryableStorageEntry<ApiType>;671    };672    rmrkCore: {673      /**674       * Latest yet-unused collection ID.675       **/676      collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;677      /**678       * Mapping from RMRK collection ID to Unique's.679       **/680      uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;681      /**682       * Generic query683       **/684      [key: string]: QueryableStorageEntry<ApiType>;685    };686    rmrkEquip: {687      /**688       * Checkmark that a Base has a Theme NFT named "default".689       **/690      baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;691      /**692       * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.693       **/694      inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;695      /**696       * Generic query697       **/698      [key: string]: QueryableStorageEntry<ApiType>;699    };700    scheduler: {701      /**702       * Items to be executed, indexed by the block number that they should be executed on.703       **/704      agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletUniqueSchedulerV2BlockAgenda>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;705      /**706       * It contains the block number from which we should service tasks.707       * It's used for delaying the servicing of future blocks' agendas if we had overweight tasks.708       **/709      incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;710      /**711       * Lookup from a name to the block number and index of the task.712       **/713      lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;714      /**715       * Generic query716       **/717      [key: string]: QueryableStorageEntry<ApiType>;718    };719    structure: {720      /**721       * Generic query722       **/723      [key: string]: QueryableStorageEntry<ApiType>;724    };725    sudo: {726      /**727       * The `AccountId` of the sudo key.728       **/729      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;730      /**731       * Generic query732       **/733      [key: string]: QueryableStorageEntry<ApiType>;734    };735    system: {736      /**737       * The full account information for a particular account ID.738       **/739      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;740      /**741       * Total length (in bytes) for all extrinsics put together, for the current block.742       **/743      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;744      /**745       * Map of block numbers to block hashes.746       **/747      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;748      /**749       * The current weight for the block.750       **/751      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;752      /**753       * Digest of the current block, also part of the block header.754       **/755      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;756      /**757       * The number of events in the `Events<T>` list.758       **/759      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;760      /**761       * Events deposited for the current block.762       * 763       * NOTE: The item is unbound and should therefore never be read on chain.764       * It could otherwise inflate the PoV size of a block.765       * 766       * Events have a large in-memory size. Box the events to not go out-of-memory767       * just in case someone still reads them from within the runtime.768       **/769      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;770      /**771       * Mapping between a topic (represented by T::Hash) and a vector of indexes772       * of events in the `<Events<T>>` list.773       * 774       * All topic vectors have deterministic storage locations depending on the topic. This775       * allows light-clients to leverage the changes trie storage tracking mechanism and776       * in case of changes fetch the list of events of interest.777       * 778       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just779       * the `EventIndex` then in case if the topic has the same contents on the next block780       * no notification will be triggered thus the event might be lost.781       **/782      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;783      /**784       * The execution phase of the block.785       **/786      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;787      /**788       * Total extrinsics count for the current block.789       **/790      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;791      /**792       * Extrinsics data for the current block (maps an extrinsic's index to its data).793       **/794      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;795      /**796       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.797       **/798      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;799      /**800       * The current block number being processed. Set by `execute_block`.801       **/802      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;803      /**804       * Hash of the previous block.805       **/806      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;807      /**808       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False809       * (default) if not.810       **/811      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;812      /**813       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.814       **/815      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;816      /**817       * Generic query818       **/819      [key: string]: QueryableStorageEntry<ApiType>;820    };821    testUtils: {822      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;823      testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;824      /**825       * Generic query826       **/827      [key: string]: QueryableStorageEntry<ApiType>;828    };829    timestamp: {830      /**831       * Did the timestamp get updated in this block?832       **/833      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;834      /**835       * Current time for the current block.836       **/837      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;838      /**839       * Generic query840       **/841      [key: string]: QueryableStorageEntry<ApiType>;842    };843    tokens: {844      /**845       * The balance of a token type under an account.846       * 847       * NOTE: If the total is ever zero, decrease account ref account.848       * 849       * NOTE: This is only used in the case that this module is used to store850       * balances.851       **/852      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;853      /**854       * Any liquidity locks of a token type under an account.855       * NOTE: Should only be accessed when setting, changing and freeing a lock.856       **/857      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;858      /**859       * Named reserves on some account balances.860       **/861      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;862      /**863       * The total issuance of a token type.864       **/865      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;866      /**867       * Generic query868       **/869      [key: string]: QueryableStorageEntry<ApiType>;870    };871    transactionPayment: {872      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;873      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;874      /**875       * Generic query876       **/877      [key: string]: QueryableStorageEntry<ApiType>;878    };879    treasury: {880      /**881       * Proposal indices that have been approved but not yet awarded.882       **/883      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;884      /**885       * Number of proposals that have been made.886       **/887      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;888      /**889       * Proposals that have been made.890       **/891      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;892      /**893       * Generic query894       **/895      [key: string]: QueryableStorageEntry<ApiType>;896    };897    unique: {898      /**899       * Used for migrations900       **/901      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;902      /**903       * (Collection id (controlled?2), who created (real))904       * TODO: Off chain worker should remove from this map when collection gets removed905       **/906      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;907      /**908       * Last sponsoring of fungible tokens approval in a collection909       **/910      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;911      /**912       * Collection id (controlled?2), owning user (real)913       **/914      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;915      /**916       * Last sponsoring of NFT approval in a collection917       **/918      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;919      /**920       * Collection id (controlled?2), token id (controlled?2)921       **/922      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;923      /**924       * Last sponsoring of RFT approval in a collection925       **/926      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]>;927      /**928       * Collection id (controlled?2), token id (controlled?2)929       **/930      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]>;931      /**932       * Last sponsoring of token property setting // todo:doc rephrase this and the following933       **/934      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;935      /**936       * Variable metadata sponsoring937       * Collection id (controlled?2), token id (controlled?2)938       **/939      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;940      /**941       * Generic query942       **/943      [key: string]: QueryableStorageEntry<ApiType>;944    };945    vesting: {946      /**947       * Vesting schedules of an account.948       * 949       * VestingSchedules: map AccountId => Vec<VestingSchedule>950       **/951      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;952      /**953       * Generic query954       **/955      [key: string]: QueryableStorageEntry<ApiType>;956    };957    xcmpQueue: {958      /**959       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.960       **/961      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;962      /**963       * Status of the inbound XCMP channels.964       **/965      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;966      /**967       * The messages outbound in a given XCMP channel.968       **/969      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;970      /**971       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first972       * and last outbound message. If the two indices are equal, then it indicates an empty973       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater974       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in975       * case of the need to send a high-priority signal message this block.976       * The bool is true if there is a signal message waiting to be sent.977       **/978      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;979      /**980       * The messages that exceeded max individual message weight budget.981       * 982       * These message stay in this storage map until they are manually dispatched via983       * `service_overweight`.984       **/985      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;986      /**987       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next988       * available free overweight index.989       **/990      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;991      /**992       * The configuration which controls the dynamics of the outbound queue.993       **/994      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;995      /**996       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.997       **/998      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;999      /**1000       * Any signal messages waiting to be sent.1001       **/1002      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;1003      /**1004       * Generic query1005       **/1006      [key: string]: QueryableStorageEntry<ApiType>;1007    };1008  } // AugmentedQueries1009} // declare module