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

difftreelog

source

tests/src/interfaces/augment-api-query.ts34.2 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumBlock, EthereumReceipt, EthereumTransactionLegacyTransaction, FpRpcTransactionStatus } from './ethereum';5import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, PolkadotParachainPrimitivesXcmpMessageFormat, 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<EthereumReceipt>>>, []> & 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<[EthereumTransactionLegacyTransaction, FpRpcTransactionStatus, EthereumReceipt]>>>, []> & 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       * Were the validation data set to notify the relay chain?224       **/225      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;226      /**227       * The parachain host configuration that was obtained from the relay parent.228       * 229       * This field is meant to be updated each block with the validation data inherent. Therefore,230       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.231       * 232       * This data is also absent from the genesis.233       **/234      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;235      /**236       * HRMP messages that were sent in a block.237       * 238       * This will be cleared in `on_initialize` of each new block.239       **/240      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;241      /**242       * HRMP watermark that was set in a block.243       * 244       * This will be cleared in `on_initialize` of each new block.245       **/246      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;247      /**248       * The last downward message queue chain head we have observed.249       * 250       * This value is loaded before and saved after processing inbound downward messages carried251       * by the system inherent.252       **/253      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;254      /**255       * The message queue chain heads we have observed per each channel incoming channel.256       * 257       * This value is loaded before and saved after processing inbound downward messages carried258       * by the system inherent.259       **/260      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;261      /**262       * Validation code that is set by the parachain and is to be communicated to collator and263       * consequently the relay-chain.264       * 265       * This will be cleared in `on_initialize` of each new block if no other pallet already set266       * the value.267       **/268      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;269      /**270       * Upward messages that are still pending and not yet send to the relay chain.271       **/272      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;273      /**274       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.275       * 276       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]277       * which will result the next block process with the new validation code. This concludes the upgrade process.278       * 279       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE280       **/281      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;282      /**283       * Number of downward messages processed in a block.284       * 285       * This will be cleared in `on_initialize` of each new block.286       **/287      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;288      /**289       * The snapshot of some state related to messaging relevant to the current parachain as per290       * the relay parent.291       * 292       * This field is meant to be updated each block with the validation data inherent. Therefore,293       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.294       * 295       * This data is also absent from the genesis.296       **/297      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;298      /**299       * The weight we reserve at the beginning of the block for processing DMP messages. This300       * overrides the amount set in the Config trait.301       **/302      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;303      /**304       * The weight we reserve at the beginning of the block for processing XCMP messages. This305       * overrides the amount set in the Config trait.306       **/307      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;308      /**309       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.310       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced311       * candidate will be invalid.312       * 313       * This storage item is a mirror of the corresponding value for the current parachain from the314       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is315       * set after the inherent.316       **/317      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;318      /**319       * Upward messages that were sent in a block.320       * 321       * This will be cleared in `on_initialize` of each new block.322       **/323      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;324      /**325       * The [`PersistedValidationData`] set for this block.326       * This value is expected to be set only once per block and it's never stored327       * in the trie.328       **/329      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;330      /**331       * Generic query332       **/333      [key: string]: QueryableStorageEntry<ApiType>;334    };335    randomnessCollectiveFlip: {336      /**337       * Series of block headers from the last 81 blocks that acts as random seed material. This338       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of339       * the oldest hash.340       **/341      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;342      /**343       * Generic query344       **/345      [key: string]: QueryableStorageEntry<ApiType>;346    };347    refungible: {348      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;349      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]>;350      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]>;351      /**352       * Used to enumerate tokens owned by account353       **/354      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]>;355      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;356      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;357      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;358      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;359      /**360       * Generic query361       **/362      [key: string]: QueryableStorageEntry<ApiType>;363    };364    sudo: {365      /**366       * The `AccountId` of the sudo key.367       **/368      key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []> & QueryableStorageEntry<ApiType, []>;369      /**370       * Generic query371       **/372      [key: string]: QueryableStorageEntry<ApiType>;373    };374    system: {375      /**376       * The full account information for a particular account ID.377       **/378      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;379      /**380       * Total length (in bytes) for all extrinsics put together, for the current block.381       **/382      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;383      /**384       * Map of block numbers to block hashes.385       **/386      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;387      /**388       * The current weight for the block.389       **/390      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;391      /**392       * Digest of the current block, also part of the block header.393       **/394      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeGenericDigest>, []> & QueryableStorageEntry<ApiType, []>;395      /**396       * The number of events in the `Events<T>` list.397       **/398      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;399      /**400       * Events deposited for the current block.401       * 402       * NOTE: This storage item is explicitly unbounded since it is never intended to be read403       * from within the runtime.404       **/405      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;406      /**407       * Mapping between a topic (represented by T::Hash) and a vector of indexes408       * of events in the `<Events<T>>` list.409       * 410       * All topic vectors have deterministic storage locations depending on the topic. This411       * allows light-clients to leverage the changes trie storage tracking mechanism and412       * in case of changes fetch the list of events of interest.413       * 414       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just415       * the `EventIndex` then in case if the topic has the same contents on the next block416       * no notification will be triggered thus the event might be lost.417       **/418      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;419      /**420       * The execution phase of the block.421       **/422      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;423      /**424       * Total extrinsics count for the current block.425       **/426      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;427      /**428       * Extrinsics data for the current block (maps an extrinsic's index to its data).429       **/430      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;431      /**432       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.433       **/434      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;435      /**436       * The current block number being processed. Set by `execute_block`.437       **/438      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;439      /**440       * Hash of the previous block.441       **/442      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;443      /**444       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False445       * (default) if not.446       **/447      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;448      /**449       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.450       **/451      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;452      /**453       * Generic query454       **/455      [key: string]: QueryableStorageEntry<ApiType>;456    };457    timestamp: {458      /**459       * Did the timestamp get updated in this block?460       **/461      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;462      /**463       * Current time for the current block.464       **/465      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;466      /**467       * Generic query468       **/469      [key: string]: QueryableStorageEntry<ApiType>;470    };471    transactionPayment: {472      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;473      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;474      /**475       * Generic query476       **/477      [key: string]: QueryableStorageEntry<ApiType>;478    };479    treasury: {480      /**481       * Proposal indices that have been approved but not yet awarded.482       **/483      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;484      /**485       * Number of proposals that have been made.486       **/487      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;488      /**489       * Proposals that have been made.490       **/491      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;492      /**493       * Generic query494       **/495      [key: string]: QueryableStorageEntry<ApiType>;496    };497    unique: {498      /**499       * Used for migrations500       **/501      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;502      /**503       * (Collection id (controlled?2), who created (real))504       * TODO: Off chain worker should remove from this map when collection gets removed505       **/506      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;507      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;508      /**509       * Collection id (controlled?2), owning user (real)510       **/511      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;512      /**513       * Approval sponsoring514       **/515      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;516      /**517       * Collection id (controlled?2), token id (controlled?2)518       **/519      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;520      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]>;521      /**522       * Collection id (controlled?2), token id (controlled?2)523       **/524      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]>;525      /**526       * Variable metadata sponsoring527       * Collection id (controlled?2), token id (controlled?2)528       **/529      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;530      /**531       * Generic query532       **/533      [key: string]: QueryableStorageEntry<ApiType>;534    };535    vesting: {536      /**537       * Vesting schedules of an account.538       * 539       * VestingSchedules: map AccountId => Vec<VestingSchedule>540       **/541      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;542      /**543       * Generic query544       **/545      [key: string]: QueryableStorageEntry<ApiType>;546    };547    xcmpQueue: {548      /**549       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.550       **/551      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;552      /**553       * Status of the inbound XCMP channels.554       **/555      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueInboundStatus, Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>]>>>, []> & QueryableStorageEntry<ApiType, []>;556      /**557       * The messages outbound in a given XCMP channel.558       **/559      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;560      /**561       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first562       * and last outbound message. If the two indices are equal, then it indicates an empty563       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater564       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in565       * case of the need to send a high-priority signal message this block.566       * The bool is true if there is a signal message waiting to be sent.567       **/568      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueOutboundStatus, bool, u16, u16]>>>, []> & QueryableStorageEntry<ApiType, []>;569      /**570       * The configuration which controls the dynamics of the outbound queue.571       **/572      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;573      /**574       * Any signal messages waiting to be sent.575       **/576      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;577      /**578       * Generic query579       **/580      [key: string]: QueryableStorageEntry<ApiType>;581    };582  }583584  export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {585    [key: string]: QueryableModuleStorage<ApiType>;586  }587}