git.delta.rocks / unique-network / refs/commits / 2b5c24e2aa92

difftreelog

source

tests/src/interfaces/augment-api-query.ts34.0 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 { NftDataStructsCollection, PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, PalletUnqSchedulerCallSpec, PalletUnqSchedulerReleases, PalletUnqSchedulerScheduledV2 } from './nft';6import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';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, PalletVestingReleases, PalletVestingVestingInfo, 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<NftDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;62      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;63      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;64      /**65       * List of collection admins66       **/67      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;68      /**69       * Generic query70       **/71      [key: string]: QueryableStorageEntry<ApiType>;72    };73    dmpQueue: {74      /**75       * The configuration.76       **/77      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;78      /**79       * The overweight messages.80       **/81      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;82      /**83       * The page index.84       **/85      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;86      /**87       * The queue pages.88       **/89      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;90      /**91       * Generic query92       **/93      [key: string]: QueryableStorageEntry<ApiType>;94    };95    ethereum: {96      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;97      /**98       * The current Ethereum block.99       **/100      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;101      /**102       * The current Ethereum receipts.103       **/104      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceipt>>>, []> & QueryableStorageEntry<ApiType, []>;105      /**106       * The current transaction statuses.107       **/108      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;109      /**110       * Current building block's transactions and receipts.111       **/112      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionLegacyTransaction, FpRpcTransactionStatus, EthereumReceipt]>>>, []> & QueryableStorageEntry<ApiType, []>;113      /**114       * Generic query115       **/116      [key: string]: QueryableStorageEntry<ApiType>;117    };118    evm: {119      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;120      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;121      /**122       * Generic query123       **/124      [key: string]: QueryableStorageEntry<ApiType>;125    };126    evmCoderSubstrate: {127      /**128       * Generic query129       **/130      [key: string]: QueryableStorageEntry<ApiType>;131    };132    evmContractHelpers: {133      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;134      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;135      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;136      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;137      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;138      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;139      /**140       * Generic query141       **/142      [key: string]: QueryableStorageEntry<ApiType>;143    };144    evmMigration: {145      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;146      /**147       * Generic query148       **/149      [key: string]: QueryableStorageEntry<ApiType>;150    };151    fungible: {152      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]>;153      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;154      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;155      /**156       * Generic query157       **/158      [key: string]: QueryableStorageEntry<ApiType>;159    };160    inflation: {161      /**162       * Current block inflation163       **/164      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;165      /**166       * starting year total issuance167       **/168      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;169      /**170       * Generic query171       **/172      [key: string]: QueryableStorageEntry<ApiType>;173    };174    nft: {175      /**176       * Used for migrations177       **/178      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;179      /**180       * (Collection id (controlled?2), who created (real))181       * TODO: Off chain worker should remove from this map when collection gets removed182       **/183      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<u32>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;184      /**185       * Collection id (controlled?2), owning user (real)186       **/187      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;188      /**189       * Collection id (controlled?2), token id (controlled?2)190       **/191      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;192      /**193       * Collection id (controlled?2), token id (controlled?2)194       **/195      reFungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;196      /**197       * Variable metadata sponsoring198       * Collection id (controlled?2), token id (controlled?2)199       **/200      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;201      /**202       * Generic query203       **/204      [key: string]: QueryableStorageEntry<ApiType>;205    };206    nftPayment: {207      /**208       * Generic query209       **/210      [key: string]: QueryableStorageEntry<ApiType>;211    };212    nonfungible: {213      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;214      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCommonAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;215      /**216       * Used to enumerate tokens owned by account217       **/218      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]>;219      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;220      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;221      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;222      /**223       * Generic query224       **/225      [key: string]: QueryableStorageEntry<ApiType>;226    };227    parachainInfo: {228      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;229      /**230       * Generic query231       **/232      [key: string]: QueryableStorageEntry<ApiType>;233    };234    parachainSystem: {235      /**236       * The number of HRMP messages we observed in `on_initialize` and thus used that number for237       * announcing the weight of `on_initialize` and `on_finalize`.238       **/239      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;240      /**241       * The next authorized upgrade, if there is one.242       **/243      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;244      /**245       * Were the validation data set to notify the relay chain?246       **/247      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;248      /**249       * The parachain host configuration that was obtained from the relay parent.250       * 251       * This field is meant to be updated each block with the validation data inherent. Therefore,252       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.253       * 254       * This data is also absent from the genesis.255       **/256      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;257      /**258       * HRMP messages that were sent in a block.259       * 260       * This will be cleared in `on_initialize` of each new block.261       **/262      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;263      /**264       * HRMP watermark that was set in a block.265       * 266       * This will be cleared in `on_initialize` of each new block.267       **/268      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;269      /**270       * The last downward message queue chain head we have observed.271       * 272       * This value is loaded before and saved after processing inbound downward messages carried273       * by the system inherent.274       **/275      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;276      /**277       * The message queue chain heads we have observed per each channel incoming channel.278       * 279       * This value is loaded before and saved after processing inbound downward messages carried280       * by the system inherent.281       **/282      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;283      /**284       * Validation code that is set by the parachain and is to be communicated to collator and285       * consequently the relay-chain.286       * 287       * This will be cleared in `on_initialize` of each new block if no other pallet already set288       * the value.289       **/290      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;291      /**292       * Upward messages that are still pending and not yet send to the relay chain.293       **/294      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;295      /**296       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.297       * 298       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]299       * which will result the next block process with the new validation code. This concludes the upgrade process.300       * 301       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE302       **/303      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;304      /**305       * Number of downward messages processed in a block.306       * 307       * This will be cleared in `on_initialize` of each new block.308       **/309      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;310      /**311       * The snapshot of some state related to messaging relevant to the current parachain as per312       * the relay parent.313       * 314       * This field is meant to be updated each block with the validation data inherent. Therefore,315       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.316       * 317       * This data is also absent from the genesis.318       **/319      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;320      /**321       * The weight we reserve at the beginning of the block for processing DMP messages. This322       * overrides the amount set in the Config trait.323       **/324      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;325      /**326       * The weight we reserve at the beginning of the block for processing XCMP messages. This327       * overrides the amount set in the Config trait.328       **/329      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;330      /**331       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.332       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced333       * candidate will be invalid.334       * 335       * This storage item is a mirror of the corresponding value for the current parachain from the336       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is337       * set after the inherent.338       **/339      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;340      /**341       * Upward messages that were sent in a block.342       * 343       * This will be cleared in `on_initialize` of each new block.344       **/345      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;346      /**347       * The [`PersistedValidationData`] set for this block.348       * This value is expected to be set only once per block and it's never stored349       * in the trie.350       **/351      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV1PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;352      /**353       * Generic query354       **/355      [key: string]: QueryableStorageEntry<ApiType>;356    };357    randomnessCollectiveFlip: {358      /**359       * Series of block headers from the last 81 blocks that acts as random seed material. This360       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of361       * the oldest hash.362       **/363      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;364      /**365       * Generic query366       **/367      [key: string]: QueryableStorageEntry<ApiType>;368    };369    refungible: {370      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;371      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]>;372      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]>;373      /**374       * Used to enumerate tokens owned by account375       **/376      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]>;377      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;378      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;379      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;380      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;381      /**382       * Generic query383       **/384      [key: string]: QueryableStorageEntry<ApiType>;385    };386    scheduler: {387      /**388       * Items to be executed, indexed by the block number that they should be executed on.389       **/390      agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerScheduledV2>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;391      /**392       * Lookup from identity to the block number and index of the task.393       **/394      lookup: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>;395      specAgenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUnqSchedulerCallSpec>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;396      /**397       * Storage version of the pallet.398       * 399       * New networks start with last version.400       **/401      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletUnqSchedulerReleases>, []> & QueryableStorageEntry<ApiType, []>;402      /**403       * Generic query404       **/405      [key: string]: QueryableStorageEntry<ApiType>;406    };407    sudo: {408      /**409       * The `AccountId` of the sudo key.410       **/411      key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []> & QueryableStorageEntry<ApiType, []>;412      /**413       * Generic query414       **/415      [key: string]: QueryableStorageEntry<ApiType>;416    };417    system: {418      /**419       * The full account information for a particular account ID.420       **/421      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;422      /**423       * Total length (in bytes) for all extrinsics put together, for the current block.424       **/425      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;426      /**427       * Map of block numbers to block hashes.428       **/429      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;430      /**431       * The current weight for the block.432       **/433      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;434      /**435       * Digest of the current block, also part of the block header.436       **/437      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeGenericDigest>, []> & QueryableStorageEntry<ApiType, []>;438      /**439       * The number of events in the `Events<T>` list.440       **/441      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;442      /**443       * Events deposited for the current block.444       * 445       * NOTE: This storage item is explicitly unbounded since it is never intended to be read446       * from within the runtime.447       **/448      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;449      /**450       * Mapping between a topic (represented by T::Hash) and a vector of indexes451       * of events in the `<Events<T>>` list.452       * 453       * All topic vectors have deterministic storage locations depending on the topic. This454       * allows light-clients to leverage the changes trie storage tracking mechanism and455       * in case of changes fetch the list of events of interest.456       * 457       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just458       * the `EventIndex` then in case if the topic has the same contents on the next block459       * no notification will be triggered thus the event might be lost.460       **/461      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;462      /**463       * The execution phase of the block.464       **/465      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;466      /**467       * Total extrinsics count for the current block.468       **/469      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;470      /**471       * Extrinsics data for the current block (maps an extrinsic's index to its data).472       **/473      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;474      /**475       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.476       **/477      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;478      /**479       * The current block number being processed. Set by `execute_block`.480       **/481      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;482      /**483       * Hash of the previous block.484       **/485      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;486      /**487       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False488       * (default) if not.489       **/490      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;491      /**492       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.493       **/494      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;495      /**496       * Generic query497       **/498      [key: string]: QueryableStorageEntry<ApiType>;499    };500    timestamp: {501      /**502       * Did the timestamp get updated in this block?503       **/504      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;505      /**506       * Current time for the current block.507       **/508      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;509      /**510       * Generic query511       **/512      [key: string]: QueryableStorageEntry<ApiType>;513    };514    transactionPayment: {515      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;516      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;517      /**518       * Generic query519       **/520      [key: string]: QueryableStorageEntry<ApiType>;521    };522    treasury: {523      /**524       * Proposal indices that have been approved but not yet awarded.525       **/526      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;527      /**528       * Number of proposals that have been made.529       **/530      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;531      /**532       * Proposals that have been made.533       **/534      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;535      /**536       * Generic query537       **/538      [key: string]: QueryableStorageEntry<ApiType>;539    };540    vesting: {541      /**542       * Storage version of the pallet.543       * 544       * New networks start with latest version, as determined by the genesis build.545       **/546      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletVestingReleases>, []> & QueryableStorageEntry<ApiType, []>;547      /**548       * Information regarding the vesting of a given account.549       **/550      vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;551      /**552       * Generic query553       **/554      [key: string]: QueryableStorageEntry<ApiType>;555    };556    xcmpQueue: {557      /**558       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.559       **/560      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;561      /**562       * Status of the inbound XCMP channels.563       **/564      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueInboundStatus, Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>]>>>, []> & QueryableStorageEntry<ApiType, []>;565      /**566       * The messages outbound in a given XCMP channel.567       **/568      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;569      /**570       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first571       * and last outbound message. If the two indices are equal, then it indicates an empty572       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater573       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in574       * case of the need to send a high-priority signal message this block.575       * The bool is true if there is a signal message waiting to be sent.576       **/577      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueOutboundStatus, bool, u16, u16]>>>, []> & QueryableStorageEntry<ApiType, []>;578      /**579       * The configuration which controls the dynamics of the outbound queue.580       **/581      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;582      /**583       * Any signal messages waiting to be sent.584       **/585      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;586      /**587       * Generic query588       **/589      [key: string]: QueryableStorageEntry<ApiType>;590    };591  }592593  export interface QueryableStorage<ApiType extends ApiTypes> extends AugmentedQueries<ApiType> {594    [key: string]: QueryableModuleStorage<ApiType>;595  }596}