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

difftreelog

source

tests/src/interfaces/augment-api-query.ts65.8 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, CumulusPalletParachainSystemCodeUpgradeAuthorization, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OpalRuntimeRuntimeCommonSessionKeys, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCodeMetadata, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletNonfungibleItemData, PalletPreimageRequestStatus, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV4AbridgedHostConfiguration, PolkadotPrimitivesV4PersistedValidationData, PolkadotPrimitivesV4UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV3MultiLocation, XcmVersionedAssetId, XcmVersionedMultiLocation } from '@polkadot/types/lookup';14import type { Observable } from '@polkadot/types/types';1516export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;17export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;1819declare module '@polkadot/api-base/types/storage' {20  interface AugmentedQueries<ApiType extends ApiTypes> {21    appPromotion: {22      /**23       * Stores the `admin` account. Some extrinsics can only be executed if they were signed by `admin`.24       **/25      admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;26      /**27       * Pending unstake records for an `Account`.28       * 29       * * **Key** - Staker account.30       * * **Value** - Amount of stakes.31       **/32      pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;33      /**34       * Stores a key for record for which the revenue recalculation was performed.35       * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.36       **/37      previousCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;38      /**39       * Stores the amount of tokens staked by account in the blocknumber.40       * 41       * * **Key1** - Staker account.42       * * **Key2** - Relay block number when the stake was made.43       * * **(Balance, BlockNumber)** - Balance of the stake.44       * The number of the relay block in which we must perform the interest recalculation45       **/46      staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;47      /**48       * Stores number of stake records for an `Account`.49       * 50       * * **Key** - Staker account.51       * * **Value** - Amount of stakes.52       **/53      stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;54      /**55       * Stores the total staked amount.56       **/57      totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;58      /**59       * Generic query60       **/61      [key: string]: QueryableStorageEntry<ApiType>;62    };63    aura: {64      /**65       * The current authority set.66       **/67      authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;68      /**69       * The current slot of this block.70       * 71       * This will be set in `on_initialize`.72       **/73      currentSlot: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;74      /**75       * Generic query76       **/77      [key: string]: QueryableStorageEntry<ApiType>;78    };79    auraExt: {80      /**81       * Serves as cache for the authorities.82       * 83       * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session,84       * but we require the old authorities to verify the seal when validating a PoV. This will always85       * be updated to the latest AuRa authorities in `on_finalize`.86       **/87      authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusAuraSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>;88      /**89       * Generic query90       **/91      [key: string]: QueryableStorageEntry<ApiType>;92    };93    authorship: {94      /**95       * Author of current block.96       **/97      author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;98      /**99       * Generic query100       **/101      [key: string]: QueryableStorageEntry<ApiType>;102    };103    balances: {104      /**105       * The Balances pallet example of storing the balance of an account.106       * 107       * # Example108       * 109       * ```nocompile110       * impl pallet_balances::Config for Runtime {111       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>112       * }113       * ```114       * 115       * You can also store the balance of an account in the `System` pallet.116       * 117       * # Example118       * 119       * ```nocompile120       * impl pallet_balances::Config for Runtime {121       * type AccountStore = System122       * }123       * ```124       * 125       * But this comes with tradeoffs, storing account balances in the system pallet stores126       * `frame_system` data alongside the account data contrary to storing account balances in the127       * `Balances` pallet, which uses a `StorageMap` to store balances data only.128       * NOTE: This is only used in the case that this pallet is used to store balances.129       **/130      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;131      /**132       * Freeze locks on account balances.133       **/134      freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;135      /**136       * Holds on account balances.137       **/138      holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;139      /**140       * The total units of outstanding deactivated balance in the system.141       **/142      inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;143      /**144       * Any liquidity locks on some account balances.145       * NOTE: Should only be accessed when setting, changing and freeing a lock.146       **/147      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;148      /**149       * Named reserves on some account balances.150       **/151      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;152      /**153       * The total units issued in the system.154       **/155      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;156      /**157       * Generic query158       **/159      [key: string]: QueryableStorageEntry<ApiType>;160    };161    collatorSelection: {162      /**163       * The (community, limited) collation candidates.164       **/165      candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;166      /**167       * The invulnerable, fixed collators.168       **/169      invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;170      /**171       * Last block authored by collator.172       **/173      lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;174      /**175       * The (community) collation license holders.176       **/177      licenseDepositOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;178      /**179       * Generic query180       **/181      [key: string]: QueryableStorageEntry<ApiType>;182    };183    common: {184      /**185       * Storage of the amount of collection admins.186       **/187      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;188      /**189       * Allowlisted collection users.190       **/191      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;192      /**193       * Storage of collection info.194       **/195      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;196      /**197       * Storage of collection properties.198       **/199      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;200      /**201       * Storage of token property permissions of a collection.202       **/203      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsPropertiesMapPropertyPermission>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;204      /**205       * Storage of the count of created collections. Essentially contains the last collection ID.206       **/207      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;208      /**209       * Storage of the count of deleted collections.210       **/211      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;212      /**213       * Not used by code, exists only to provide some types to metadata.214       **/215      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;216      /**217       * List of collection admins.218       **/219      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;220      /**221       * Generic query222       **/223      [key: string]: QueryableStorageEntry<ApiType>;224    };225    configuration: {226      appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;227      collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;228      collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;229      collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;230      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;231      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;232      /**233       * Generic query234       **/235      [key: string]: QueryableStorageEntry<ApiType>;236    };237    dmpQueue: {238      /**239       * The configuration.240       **/241      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;242      /**243       * Counter for the related counted storage map244       **/245      counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;246      /**247       * The overweight messages.248       **/249      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;250      /**251       * The page index.252       **/253      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;254      /**255       * The queue pages.256       **/257      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;258      /**259       * Generic query260       **/261      [key: string]: QueryableStorageEntry<ApiType>;262    };263    ethereum: {264      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;265      /**266       * The current Ethereum block.267       **/268      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;269      /**270       * The current Ethereum receipts.271       **/272      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;273      /**274       * The current transaction statuses.275       **/276      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;277      /**278       * Injected transactions should have unique nonce, here we store current279       **/280      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;281      /**282       * Current building block's transactions and receipts.283       **/284      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;285      /**286       * Generic query287       **/288      [key: string]: QueryableStorageEntry<ApiType>;289    };290    evm: {291      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;292      accountCodesMetadata: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmCodeMetadata>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;293      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;294      /**295       * Written on log, reset after transaction296       * Should be empty between transactions297       **/298      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;299      /**300       * Generic query301       **/302      [key: string]: QueryableStorageEntry<ApiType>;303    };304    evmContractHelpers: {305      /**306       * Storage for users that allowed for sponsorship.307       * 308       * ### Usage309       * Prefer to delete record from storage if user no more allowed for sponsorship.310       * 311       * * **Key1** - contract address.312       * * **Key2** - user that allowed for sponsorship.313       * * **Value** - allowance for sponsorship.314       **/315      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;316      /**317       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.318       * 319       * ### Usage320       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.321       * 322       * * **Key** - contract address.323       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.324       **/325      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;326      /**327       * Store owner for contract.328       * 329       * * **Key** - contract address.330       * * **Value** - owner for contract.331       **/332      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;333      /**334       * Deprecated: this storage is deprecated335       **/336      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;337      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;338      /**339       * Store for contract sponsorship state.340       * 341       * * **Key** - contract address.342       * * **Value** - sponsorship state.343       **/344      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;345      /**346       * Storage for last sponsored block.347       * 348       * * **Key1** - contract address.349       * * **Key2** - sponsored user address.350       * * **Value** - last sponsored block number.351       **/352      sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;353      /**354       * Store for sponsoring mode.355       * 356       * ### Usage357       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).358       * 359       * * **Key** - contract address.360       * * **Value** - [`sponsoring mode`](SponsoringModeT).361       **/362      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;363      /**364       * Storage for sponsoring rate limit in blocks.365       * 366       * * **Key** - contract address.367       * * **Value** - amount of sponsored blocks.368       **/369      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;370      /**371       * Generic query372       **/373      [key: string]: QueryableStorageEntry<ApiType>;374    };375    evmMigration: {376      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;377      /**378       * Generic query379       **/380      [key: string]: QueryableStorageEntry<ApiType>;381    };382    foreignAssets: {383      /**384       * The storages for assets to fungible collection binding385       * 386       **/387      assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;388      /**389       * The storages for AssetMetadatas.390       * 391       * AssetMetadatas: map AssetIds => Option<AssetMetadata>392       **/393      assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;394      /**395       * The storages for MultiLocations.396       * 397       * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>398       **/399      foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV3MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;400      /**401       * The storages for CurrencyIds.402       * 403       * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>404       **/405      locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV3MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV3MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV3MultiLocation]>;406      /**407       * Next available Foreign AssetId ID.408       * 409       * NextForeignAssetId: ForeignAssetId410       **/411      nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;412      /**413       * Generic query414       **/415      [key: string]: QueryableStorageEntry<ApiType>;416    };417    fungible: {418      /**419       * Storage for assets delegated to a limited extent to other users.420       **/421      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]>;422      /**423       * Amount of tokens owned by an account inside a collection.424       **/425      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;426      /**427       * Total amount of fungible tokens inside a collection.428       **/429      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;430      /**431       * Generic query432       **/433      [key: string]: QueryableStorageEntry<ApiType>;434    };435    identity: {436      /**437       * Information that is pertinent to identify the entity behind an account.438       * 439       * TWOX-NOTE: OK ― `AccountId` is a secure hash.440       **/441      identityOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletIdentityRegistration>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;442      /**443       * The set of registrars. Not expected to get very big as can only be added through a444       * special origin (likely a council motion).445       * 446       * The index into this can be cast to `RegistrarIndex` to get a valid value.447       **/448      registrars: AugmentedQuery<ApiType, () => Observable<Vec<Option<PalletIdentityRegistrarInfo>>>, []> & QueryableStorageEntry<ApiType, []>;449      /**450       * Alternative "sub" identities of this account.451       * 452       * The first item is the deposit, the second is a vector of the accounts.453       * 454       * TWOX-NOTE: OK ― `AccountId` is a secure hash.455       **/456      subsOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[u128, Vec<AccountId32>]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;457      /**458       * The super-identity of an alternative "sub" identity together with its name, within that459       * context. If the account is not some other account's sub-identity, then just `None`.460       **/461      superOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, Data]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;462      /**463       * Generic query464       **/465      [key: string]: QueryableStorageEntry<ApiType>;466    };467    inflation: {468      /**469       * Current inflation for `InflationBlockInterval` number of blocks470       **/471      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;472      /**473       * Next target (relay) block when inflation will be applied474       **/475      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;476      /**477       * Next target (relay) block when inflation is recalculated478       **/479      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;480      /**481       * Relay block when inflation has started482       **/483      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;484      /**485       * starting year total issuance486       **/487      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;488      /**489       * Generic query490       **/491      [key: string]: QueryableStorageEntry<ApiType>;492    };493    maintenance: {494      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;495      /**496       * Generic query497       **/498      [key: string]: QueryableStorageEntry<ApiType>;499    };500    nonfungible: {501      /**502       * Amount of tokens owned by an account in a collection.503       **/504      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;505      /**506       * Allowance set by a token owner for another user to perform one of certain transactions on a token.507       **/508      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;509      /**510       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.511       **/512      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]>;513      /**514       * Used to enumerate tokens owned by account.515       **/516      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]>;517      /**518       * Custom data of a token that is serialized to bytes,519       * primarily reserved for on-chain operations,520       * normally obscured from the external users.521       * 522       * Auxiliary properties are slightly different from523       * usual [`TokenProperties`] due to an unlimited number524       * and separately stored and written-to key-value pairs.525       * 526       * Currently unused.527       **/528      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]>;529      /**530       * Used to enumerate token's children.531       **/532      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]>]>;533      /**534       * Token data, used to partially describe a token.535       **/536      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;537      /**538       * Map of key-value pairs, describing the metadata of a token.539       **/540      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;541      /**542       * Amount of burnt tokens in a collection.543       **/544      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;545      /**546       * Total amount of minted tokens in a collection.547       **/548      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;549      /**550       * Generic query551       **/552      [key: string]: QueryableStorageEntry<ApiType>;553    };554    parachainInfo: {555      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;556      /**557       * Generic query558       **/559      [key: string]: QueryableStorageEntry<ApiType>;560    };561    parachainSystem: {562      /**563       * The number of HRMP messages we observed in `on_initialize` and thus used that number for564       * announcing the weight of `on_initialize` and `on_finalize`.565       **/566      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;567      /**568       * The next authorized upgrade, if there is one.569       **/570      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>;571      /**572       * A custom head data that should be returned as result of `validate_block`.573       * 574       * See [`Pallet::set_custom_validation_head_data`] for more information.575       **/576      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;577      /**578       * Were the validation data set to notify the relay chain?579       **/580      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;581      /**582       * The parachain host configuration that was obtained from the relay parent.583       * 584       * This field is meant to be updated each block with the validation data inherent. Therefore,585       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.586       * 587       * This data is also absent from the genesis.588       **/589      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;590      /**591       * HRMP messages that were sent in a block.592       * 593       * This will be cleared in `on_initialize` of each new block.594       **/595      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;596      /**597       * HRMP watermark that was set in a block.598       * 599       * This will be cleared in `on_initialize` of each new block.600       **/601      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;602      /**603       * The last downward message queue chain head we have observed.604       * 605       * This value is loaded before and saved after processing inbound downward messages carried606       * by the system inherent.607       **/608      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;609      /**610       * The message queue chain heads we have observed per each channel incoming channel.611       * 612       * This value is loaded before and saved after processing inbound downward messages carried613       * by the system inherent.614       **/615      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;616      /**617       * The relay chain block number associated with the last parachain block.618       **/619      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;620      /**621       * Validation code that is set by the parachain and is to be communicated to collator and622       * consequently the relay-chain.623       * 624       * This will be cleared in `on_initialize` of each new block if no other pallet already set625       * the value.626       **/627      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;628      /**629       * Upward messages that are still pending and not yet send to the relay chain.630       **/631      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;632      /**633       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.634       * 635       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]636       * which will result the next block process with the new validation code. This concludes the upgrade process.637       * 638       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE639       **/640      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;641      /**642       * Number of downward messages processed in a block.643       * 644       * This will be cleared in `on_initialize` of each new block.645       **/646      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;647      /**648       * The state proof for the last relay parent block.649       * 650       * This field is meant to be updated each block with the validation data inherent. Therefore,651       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.652       * 653       * This data is also absent from the genesis.654       **/655      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;656      /**657       * The snapshot of some state related to messaging relevant to the current parachain as per658       * the relay parent.659       * 660       * This field is meant to be updated each block with the validation data inherent. Therefore,661       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.662       * 663       * This data is also absent from the genesis.664       **/665      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;666      /**667       * The weight we reserve at the beginning of the block for processing DMP messages. This668       * overrides the amount set in the Config trait.669       **/670      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;671      /**672       * The weight we reserve at the beginning of the block for processing XCMP messages. This673       * overrides the amount set in the Config trait.674       **/675      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;676      /**677       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.678       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced679       * candidate will be invalid.680       * 681       * This storage item is a mirror of the corresponding value for the current parachain from the682       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is683       * set after the inherent.684       **/685      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;686      /**687       * Upward messages that were sent in a block.688       * 689       * This will be cleared in `on_initialize` of each new block.690       **/691      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;692      /**693       * The [`PersistedValidationData`] set for this block.694       * This value is expected to be set only once per block and it's never stored695       * in the trie.696       **/697      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV4PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;698      /**699       * Generic query700       **/701      [key: string]: QueryableStorageEntry<ApiType>;702    };703    polkadotXcm: {704      /**705       * The existing asset traps.706       * 707       * Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of708       * times this pair has been trapped (usually just 1 if it exists at all).709       **/710      assetTraps: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<u32>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;711      /**712       * The current migration's stage, if any.713       **/714      currentMigration: AugmentedQuery<ApiType, () => Observable<Option<PalletXcmVersionMigrationStage>>, []> & QueryableStorageEntry<ApiType, []>;715      /**716       * Fungible assets which we know are locked on this chain.717       **/718      lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedMultiLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;719      /**720       * The ongoing queries.721       **/722      queries: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletXcmQueryStatus>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;723      /**724       * The latest available query index.725       **/726      queryCounter: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;727      /**728       * Fungible assets which we know are locked on a remote chain.729       **/730      remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | string | Uint8Array) => Observable<Option<PalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;731      /**732       * Default version to encode XCM when latest version of destination is unknown. If `None`,733       * then the destinations whose XCM version is unknown are considered unreachable.734       **/735      safeXcmVersion: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;736      /**737       * The Latest versions that we know various locations support.738       **/739      supportedVersion: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<u32>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;740      /**741       * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and742       * the `u32` counter is the number of times that a send to the destination has been attempted,743       * which is used as a prioritization.744       **/745      versionDiscoveryQueue: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[XcmVersionedMultiLocation, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;746      /**747       * All locations that we have requested version notifications from.748       **/749      versionNotifiers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<u64>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;750      /**751       * The target locations that are subscribed to our version changes, as well as the most recent752       * of our versions we informed them of.753       **/754      versionNotifyTargets: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: XcmVersionedMultiLocation | { V2: any } | { V3: any } | string | Uint8Array) => Observable<Option<ITuple<[u64, SpWeightsWeightV2Weight, u32]>>>, [u32, XcmVersionedMultiLocation]> & QueryableStorageEntry<ApiType, [u32, XcmVersionedMultiLocation]>;755      /**756       * Global suspension state of the XCM executor.757       **/758      xcmExecutionSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;759      /**760       * Generic query761       **/762      [key: string]: QueryableStorageEntry<ApiType>;763    };764    preimage: {765      preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;766      /**767       * The request status of a given hash.768       **/769      statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;770      /**771       * Generic query772       **/773      [key: string]: QueryableStorageEntry<ApiType>;774    };775    refungible: {776      /**777       * Amount of tokens (not pieces) partially owned by an account within a collection.778       **/779      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;780      /**781       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.782       **/783      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]>;784      /**785       * Amount of token pieces owned by account.786       **/787      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]>;788      /**789       * Spender set by a wallet owner that could perform certain transactions on all tokens in the wallet.790       **/791      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]>;792      /**793       * Used to enumerate tokens owned by account.794       **/795      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]>;796      /**797       * Amount of pieces a refungible token is split into.798       **/799      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;800      /**801       * Amount of tokens burnt in a collection.802       **/803      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;804      /**805       * Total amount of minted tokens in a collection.806       **/807      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;808      /**809       * Total amount of pieces for token810       **/811      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;812      /**813       * Generic query814       **/815      [key: string]: QueryableStorageEntry<ApiType>;816    };817    session: {818      /**819       * Current index of the session.820       **/821      currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;822      /**823       * Indices of disabled validators.824       * 825       * The vec is always kept sorted so that we can find whether a given validator is826       * disabled using binary search. It gets cleared when `on_session_ending` returns827       * a new set of identities.828       **/829      disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;830      /**831       * The owner of a key. The key is the `KeyTypeId` + the encoded key.832       **/833      keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>;834      /**835       * The next session keys for a validator.836       **/837      nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<OpalRuntimeRuntimeCommonSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;838      /**839       * True if the underlying economic identities or weighting behind the validators840       * has changed in the queued validator set.841       **/842      queuedChanged: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;843      /**844       * The queued keys for the next session. When the next session begins, these keys845       * will be used to determine the validator's session keys.846       **/847      queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, OpalRuntimeRuntimeCommonSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;848      /**849       * The current set of validators.850       **/851      validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;852      /**853       * Generic query854       **/855      [key: string]: QueryableStorageEntry<ApiType>;856    };857    stateTrieMigration: {858      /**859       * The limits that are imposed on automatic migrations.860       * 861       * If set to None, then no automatic migration happens.862       **/863      autoLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;864      /**865       * Migration progress.866       * 867       * This stores the snapshot of the last migrated keys. It can be set into motion and move868       * forward by any of the means provided by this pallet.869       **/870      migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;871      /**872       * The maximum limits that the signed migration could use.873       * 874       * If not set, no signed submission is allowed.875       **/876      signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;877      /**878       * Generic query879       **/880      [key: string]: QueryableStorageEntry<ApiType>;881    };882    sudo: {883      /**884       * The `AccountId` of the sudo key.885       **/886      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;887      /**888       * Generic query889       **/890      [key: string]: QueryableStorageEntry<ApiType>;891    };892    system: {893      /**894       * The full account information for a particular account ID.895       **/896      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;897      /**898       * Total length (in bytes) for all extrinsics put together, for the current block.899       **/900      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;901      /**902       * Map of block numbers to block hashes.903       **/904      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;905      /**906       * The current weight for the block.907       **/908      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;909      /**910       * Digest of the current block, also part of the block header.911       **/912      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;913      /**914       * The number of events in the `Events<T>` list.915       **/916      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;917      /**918       * Events deposited for the current block.919       * 920       * NOTE: The item is unbound and should therefore never be read on chain.921       * It could otherwise inflate the PoV size of a block.922       * 923       * Events have a large in-memory size. Box the events to not go out-of-memory924       * just in case someone still reads them from within the runtime.925       **/926      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;927      /**928       * Mapping between a topic (represented by T::Hash) and a vector of indexes929       * of events in the `<Events<T>>` list.930       * 931       * All topic vectors have deterministic storage locations depending on the topic. This932       * allows light-clients to leverage the changes trie storage tracking mechanism and933       * in case of changes fetch the list of events of interest.934       * 935       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just936       * the `EventIndex` then in case if the topic has the same contents on the next block937       * no notification will be triggered thus the event might be lost.938       **/939      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;940      /**941       * The execution phase of the block.942       **/943      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;944      /**945       * Total extrinsics count for the current block.946       **/947      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;948      /**949       * Extrinsics data for the current block (maps an extrinsic's index to its data).950       **/951      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;952      /**953       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.954       **/955      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;956      /**957       * The current block number being processed. Set by `execute_block`.958       **/959      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;960      /**961       * Hash of the previous block.962       **/963      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;964      /**965       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False966       * (default) if not.967       **/968      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;969      /**970       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.971       **/972      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;973      /**974       * Generic query975       **/976      [key: string]: QueryableStorageEntry<ApiType>;977    };978    testUtils: {979      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;980      testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;981      /**982       * Generic query983       **/984      [key: string]: QueryableStorageEntry<ApiType>;985    };986    timestamp: {987      /**988       * Did the timestamp get updated in this block?989       **/990      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;991      /**992       * Current time for the current block.993       **/994      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;995      /**996       * Generic query997       **/998      [key: string]: QueryableStorageEntry<ApiType>;999    };1000    tokens: {1001      /**1002       * The balance of a token type under an account.1003       * 1004       * NOTE: If the total is ever zero, decrease account ref account.1005       * 1006       * NOTE: This is only used in the case that this module is used to store1007       * balances.1008       **/1009      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;1010      /**1011       * Any liquidity locks of a token type under an account.1012       * NOTE: Should only be accessed when setting, changing and freeing a lock.1013       **/1014      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;1015      /**1016       * Named reserves on some account balances.1017       **/1018      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;1019      /**1020       * The total issuance of a token type.1021       **/1022      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;1023      /**1024       * Generic query1025       **/1026      [key: string]: QueryableStorageEntry<ApiType>;1027    };1028    transactionPayment: {1029      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;1030      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;1031      /**1032       * Generic query1033       **/1034      [key: string]: QueryableStorageEntry<ApiType>;1035    };1036    treasury: {1037      /**1038       * Proposal indices that have been approved but not yet awarded.1039       **/1040      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;1041      /**1042       * The amount which has been reported as inactive to Currency.1043       **/1044      deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;1045      /**1046       * Number of proposals that have been made.1047       **/1048      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;1049      /**1050       * Proposals that have been made.1051       **/1052      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;1053      /**1054       * Generic query1055       **/1056      [key: string]: QueryableStorageEntry<ApiType>;1057    };1058    unique: {1059      /**1060       * Used for migrations1061       **/1062      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;1063      /**1064       * (Collection id (controlled?2), who created (real))1065       * TODO: Off chain worker should remove from this map when collection gets removed1066       **/1067      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;1068      /**1069       * Last sponsoring of fungible tokens approval in a collection1070       **/1071      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;1072      /**1073       * Collection id (controlled?2), owning user (real)1074       **/1075      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;1076      /**1077       * Last sponsoring of NFT approval in a collection1078       **/1079      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1080      /**1081       * Collection id (controlled?2), token id (controlled?2)1082       **/1083      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1084      /**1085       * Last sponsoring of RFT approval in a collection1086       **/1087      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]>;1088      /**1089       * Collection id (controlled?2), token id (controlled?2)1090       **/1091      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]>;1092      /**1093       * Last sponsoring of token property setting // todo:doc rephrase this and the following1094       **/1095      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1096      /**1097       * Generic query1098       **/1099      [key: string]: QueryableStorageEntry<ApiType>;1100    };1101    vesting: {1102      /**1103       * Vesting schedules of an account.1104       * 1105       * VestingSchedules: map AccountId => Vec<VestingSchedule>1106       **/1107      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;1108      /**1109       * Generic query1110       **/1111      [key: string]: QueryableStorageEntry<ApiType>;1112    };1113    xcmpQueue: {1114      /**1115       * Counter for the related counted storage map1116       **/1117      counterForOverweight: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;1118      /**1119       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.1120       **/1121      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;1122      /**1123       * Status of the inbound XCMP channels.1124       **/1125      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1126      /**1127       * The messages outbound in a given XCMP channel.1128       **/1129      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;1130      /**1131       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first1132       * and last outbound message. If the two indices are equal, then it indicates an empty1133       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater1134       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in1135       * case of the need to send a high-priority signal message this block.1136       * The bool is true if there is a signal message waiting to be sent.1137       **/1138      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;1139      /**1140       * The messages that exceeded max individual message weight budget.1141       * 1142       * These message stay in this storage map until they are manually dispatched via1143       * `service_overweight`.1144       **/1145      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;1146      /**1147       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next1148       * available free overweight index.1149       **/1150      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;1151      /**1152       * The configuration which controls the dynamics of the outbound queue.1153       **/1154      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;1155      /**1156       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.1157       **/1158      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;1159      /**1160       * Any signal messages waiting to be sent.1161       **/1162      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;1163      /**1164       * Generic query1165       **/1166      [key: string]: QueryableStorageEntry<ApiType>;1167    };1168  } // AugmentedQueries1169} // declare module