git.delta.rocks / unique-network / refs/commits / 201fa4df0026

difftreelog

source

tests/src/interfaces/augment-api-query.ts34.9 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumBlock, FpRpcTransactionStatus } from './ethereum';5import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueQueueConfigData, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';6import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';7import type { ApiTypes } from '@polkadot/api/types';8import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';9import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';10import type { FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV1UpgradeRestriction, SpRuntimeGenericDigest } from '@polkadot/types/lookup';11import type { AnyNumber, ITuple, Observable } from '@polkadot/types/types';1213declare module '@polkadot/api/types/storage' {14  export interface AugmentedQueries<ApiType> {15    balances: {16      /**17       * The balance of an account.18       * 19       * NOTE: This is only used in the case that this pallet is used to store balances.20       **/21      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;22      /**23       * Any liquidity locks on some account balances.24       * NOTE: Should only be accessed when setting, changing and freeing a lock.25       **/26      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;27      /**28       * Named reserves on some account balances.29       **/30      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;31      /**32       * Storage version of the pallet.33       * 34       * This is set to v2.0.0 for new networks.35       **/36      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;37      /**38       * The total units issued in the system.39       **/40      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;41      /**42       * Generic query43       **/44      [key: string]: QueryableStorageEntry<ApiType>;45    };46    charging: {47      /**48       * Generic query49       **/50      [key: string]: QueryableStorageEntry<ApiType>;51    };52    common: {53      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;54      /**55       * Allowlisted collection users56       **/57      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;58      /**59       * Collection info60       **/61      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;62      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;63      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;64      /**65       * Not used by code, exists only to provide some types to metadata66       **/67      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;68      /**69       * List of collection admins70       **/71      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;72      /**73       * Generic query74       **/75      [key: string]: QueryableStorageEntry<ApiType>;76    };77    dmpQueue: {78      /**79       * The configuration.80       **/81      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;82      /**83       * The overweight messages.84       **/85      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;86      /**87       * The page index.88       **/89      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;90      /**91       * The queue pages.92       **/93      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;94      /**95       * Generic query96       **/97      [key: string]: QueryableStorageEntry<ApiType>;98    };99    ethereum: {100      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;101      /**102       * The current Ethereum block.103       **/104      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;105      /**106       * The current Ethereum receipts.107       **/108      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;109      /**110       * The current transaction statuses.111       **/112      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;113      /**114       * Current building block's transactions and receipts.115       **/116      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;117      /**118       * Generic query119       **/120      [key: string]: QueryableStorageEntry<ApiType>;121    };122    evm: {123      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;124      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;125      /**126       * Generic query127       **/128      [key: string]: QueryableStorageEntry<ApiType>;129    };130    evmCoderSubstrate: {131      /**132       * Generic query133       **/134      [key: string]: QueryableStorageEntry<ApiType>;135    };136    evmContractHelpers: {137      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;138      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;139      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;140      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;141      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;142      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;143      /**144       * Generic query145       **/146      [key: string]: QueryableStorageEntry<ApiType>;147    };148    evmMigration: {149      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;150      /**151       * Generic query152       **/153      [key: string]: QueryableStorageEntry<ApiType>;154    };155    fungible: {156      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;157      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;158      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;159      /**160       * Generic query161       **/162      [key: string]: QueryableStorageEntry<ApiType>;163    };164    inflation: {165      /**166       * Current inflation for `InflationBlockInterval` number of blocks167       **/168      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;169      /**170       * Next target (relay) block when inflation will be applied171       **/172      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;173      /**174       * Next target (relay) block when inflation is recalculated175       **/176      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;177      /**178       * Relay block when inflation has started179       **/180      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;181      /**182       * starting year total issuance183       **/184      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;185      /**186       * Generic query187       **/188      [key: string]: QueryableStorageEntry<ApiType>;189    };190    nonfungible: {191      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;192      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCommonAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;193      /**194       * Used to enumerate tokens owned by account195       **/196      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;197      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;198      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;199      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;200      /**201       * Generic query202       **/203      [key: string]: QueryableStorageEntry<ApiType>;204    };205    parachainInfo: {206      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;207      /**208       * Generic query209       **/210      [key: string]: QueryableStorageEntry<ApiType>;211    };212    parachainSystem: {213      /**214       * The number of HRMP messages we observed in `on_initialize` and thus used that number for215       * announcing the weight of `on_initialize` and `on_finalize`.216       **/217      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;218      /**219       * The next authorized upgrade, if there is one.220       **/221      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;222      /**223       * A custom head data that should be returned as result of `validate_block`.224       * 225       * See [`Pallet::set_custom_validation_head_data`] for more information.226       **/227      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;228      /**229       * Were the validation data set to notify the relay chain?230       **/231      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;232      /**233       * The parachain host configuration that was obtained from the relay parent.234       * 235       * This field is meant to be updated each block with the validation data inherent. Therefore,236       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.237       * 238       * This data is also absent from the genesis.239       **/240      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;241      /**242       * HRMP messages that were sent in a block.243       * 244       * This will be cleared in `on_initialize` of each new block.245       **/246      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;247      /**248       * HRMP watermark that was set in a block.249       * 250       * This will be cleared in `on_initialize` of each new block.251       **/252      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;253      /**254       * The last downward message queue chain head we have observed.255       * 256       * This value is loaded before and saved after processing inbound downward messages carried257       * by the system inherent.258       **/259      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;260      /**261       * The message queue chain heads we have observed per each channel incoming channel.262       * 263       * This value is loaded before and saved after processing inbound downward messages carried264       * by the system inherent.265       **/266      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;267      /**268       * Validation code that is set by the parachain and is to be communicated to collator and269       * consequently the relay-chain.270       * 271       * This will be cleared in `on_initialize` of each new block if no other pallet already set272       * the value.273       **/274      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;275      /**276       * Upward messages that are still pending and not yet send to the relay chain.277       **/278      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;279      /**280       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.281       * 282       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]283       * which will result the next block process with the new validation code. This concludes the upgrade process.284       * 285       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE286       **/287      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;288      /**289       * Number of downward messages processed in a block.290       * 291       * This will be cleared in `on_initialize` of each new block.292       **/293      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;294      /**295       * The snapshot of some state related to messaging relevant to the current parachain as per296       * the relay parent.297       * 298       * This field is meant to be updated each block with the validation data inherent. Therefore,299       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.300       * 301       * This data is also absent from the genesis.302       **/303      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;304      /**305       * The weight we reserve at the beginning of the block for processing DMP messages. This306       * overrides the amount set in the Config trait.307       **/308      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;309      /**310       * The weight we reserve at the beginning of the block for processing XCMP messages. This311       * overrides the amount set in the Config trait.312       **/313      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;314      /**315       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.316       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced317       * candidate will be invalid.318       * 319       * This storage item is a mirror of the corresponding value for the current parachain from the320       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is321       * set after the inherent.322       **/323      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;324      /**325       * Upward messages that were sent in a block.326       * 327       * This will be cleared in `on_initialize` of each new block.328       **/329      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;330      /**331       * The [`PersistedValidationData`] set for this block.332       * This value is expected to be set only once per block and it's never stored333       * in the trie.334       **/335      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;336      /**337       * Generic query338       **/339      [key: string]: QueryableStorageEntry<ApiType>;340    };341    randomnessCollectiveFlip: {342      /**343       * Series of block headers from the last 81 blocks that acts as random seed material. This344       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of345       * the oldest hash.346       **/347      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;348      /**349       * Generic query350       **/351      [key: string]: QueryableStorageEntry<ApiType>;352    };353    refungible: {354      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;355      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr]>;356      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr]>;357      /**358       * Used to enumerate tokens owned by account359       **/360      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32]>;361      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;362      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;363      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;364      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;365      /**366       * Generic query367       **/368      [key: string]: QueryableStorageEntry<ApiType>;369    };370    sudo: {371      /**372       * The `AccountId` of the sudo key.373       **/374      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;375      /**376       * Generic query377       **/378      [key: string]: QueryableStorageEntry<ApiType>;379    };380    system: {381      /**382       * The full account information for a particular account ID.383       **/384      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;385      /**386       * Total length (in bytes) for all extrinsics put together, for the current block.387       **/388      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;389      /**390       * Map of block numbers to block hashes.391       **/392      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;393      /**394       * The current weight for the block.395       **/396      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;397      /**398       * Digest of the current block, also part of the block header.399       **/400      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeGenericDigest>, []> & QueryableStorageEntry<ApiType, []>;401      /**402       * The number of events in the `Events<T>` list.403       **/404      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;405      /**406       * Events deposited for the current block.407       * 408       * NOTE: This storage item is explicitly unbounded since it is never intended to be read409       * from within the runtime.410       **/411      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;412      /**413       * Mapping between a topic (represented by T::Hash) and a vector of indexes414       * of events in the `<Events<T>>` list.415       * 416       * All topic vectors have deterministic storage locations depending on the topic. This417       * allows light-clients to leverage the changes trie storage tracking mechanism and418       * in case of changes fetch the list of events of interest.419       * 420       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just421       * the `EventIndex` then in case if the topic has the same contents on the next block422       * no notification will be triggered thus the event might be lost.423       **/424      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;425      /**426       * The execution phase of the block.427       **/428      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;429      /**430       * Total extrinsics count for the current block.431       **/432      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;433      /**434       * Extrinsics data for the current block (maps an extrinsic's index to its data).435       **/436      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;437      /**438       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.439       **/440      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;441      /**442       * The current block number being processed. Set by `execute_block`.443       **/444      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;445      /**446       * Hash of the previous block.447       **/448      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;449      /**450       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False451       * (default) if not.452       **/453      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;454      /**455       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.456       **/457      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;458      /**459       * Generic query460       **/461      [key: string]: QueryableStorageEntry<ApiType>;462    };463    timestamp: {464      /**465       * Did the timestamp get updated in this block?466       **/467      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;468      /**469       * Current time for the current block.470       **/471      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;472      /**473       * Generic query474       **/475      [key: string]: QueryableStorageEntry<ApiType>;476    };477    transactionPayment: {478      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;479      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;480      /**481       * Generic query482       **/483      [key: string]: QueryableStorageEntry<ApiType>;484    };485    treasury: {486      /**487       * Proposal indices that have been approved but not yet awarded.488       **/489      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;490      /**491       * Number of proposals that have been made.492       **/493      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;494      /**495       * Proposals that have been made.496       **/497      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;498      /**499       * Generic query500       **/501      [key: string]: QueryableStorageEntry<ApiType>;502    };503    unique: {504      /**505       * Used for migrations506       **/507      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;508      /**509       * (Collection id (controlled?2), who created (real))510       * TODO: Off chain worker should remove from this map when collection gets removed511       **/512      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;513      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;514      /**515       * Collection id (controlled?2), owning user (real)516       **/517      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;518      /**519       * Approval sponsoring520       **/521      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;522      /**523       * Collection id (controlled?2), token id (controlled?2)524       **/525      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;526      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]>;527      /**528       * Collection id (controlled?2), token id (controlled?2)529       **/530      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]>;531      /**532       * Variable metadata sponsoring533       * Collection id (controlled?2), token id (controlled?2)534       **/535      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;536      /**537       * Generic query538       **/539      [key: string]: QueryableStorageEntry<ApiType>;540    };541    vesting: {542      /**543       * Vesting schedules of an account.544       * 545       * VestingSchedules: map AccountId => Vec<VestingSchedule>546       **/547      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;548      /**549       * Generic query550       **/551      [key: string]: QueryableStorageEntry<ApiType>;552    };553    xcmpQueue: {554      /**555       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.556       **/557      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;558      /**559       * Status of the inbound XCMP channels.560       **/561      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;562      /**563       * The messages outbound in a given XCMP channel.564       **/565      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;566      /**567       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first568       * and last outbound message. If the two indices are equal, then it indicates an empty569       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater570       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in571       * case of the need to send a high-priority signal message this block.572       * The bool is true if there is a signal message waiting to be sent.573       **/574      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;575      /**576       * The messages that exceeded max individual message weight budget.577       * 578       * These message stay in this storage map until they are manually dispatched via579       * `service_overweight`.580       **/581      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;582      /**583       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next584       * available free overweight index.585       **/586      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;587      /**588       * The configuration which controls the dynamics of the outbound queue.589       **/590      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;591      /**592       * Any signal messages waiting to be sent.593       **/594      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;595      /**596       * Generic query597       **/598      [key: string]: QueryableStorageEntry<ApiType>;599    };600  }601602  export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {603    [key: string]: QueryableModuleStorage<ApiType>;604  }605}