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

difftreelog

source

tests/src/interfaces/augment-api-query.ts44.2 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { BTreeMap, Bytes, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerScheduledV3, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsTokenChild } from '@polkadot/types/lookup';9import type { Observable } from '@polkadot/types/types';1011declare module '@polkadot/api-base/types/storage' {12  export interface AugmentedQueries<ApiType extends ApiTypes> {13    balances: {14      /**15       * The Balances pallet example of storing the balance of an account.16       * 17       * # Example18       * 19       * ```nocompile20       * impl pallet_balances::Config for Runtime {21       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>22       * }23       * ```24       * 25       * You can also store the balance of an account in the `System` pallet.26       * 27       * # Example28       * 29       * ```nocompile30       * impl pallet_balances::Config for Runtime {31       * type AccountStore = System32       * }33       * ```34       * 35       * But this comes with tradeoffs, storing account balances in the system pallet stores36       * `frame_system` data alongside the account data contrary to storing account balances in the37       * `Balances` pallet, which uses a `StorageMap` to store balances data only.38       * NOTE: This is only used in the case that this pallet is used to store balances.39       **/40      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;41      /**42       * Any liquidity locks on some account balances.43       * NOTE: Should only be accessed when setting, changing and freeing a lock.44       **/45      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;46      /**47       * Named reserves on some account balances.48       **/49      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;50      /**51       * Storage version of the pallet.52       * 53       * This is set to v2.0.0 for new networks.54       **/55      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;56      /**57       * The total units issued in the system.58       **/59      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;60      /**61       * Generic query62       **/63      [key: string]: QueryableStorageEntry<ApiType>;64    };65    charging: {66      /**67       * Generic query68       **/69      [key: string]: QueryableStorageEntry<ApiType>;70    };71    common: {72      /**73       * Storage of the amount of collection admins.74       **/75      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;76      /**77       * Allowlisted collection users.78       **/79      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;80      /**81       * Storage of collection info.82       **/83      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;84      /**85       * Storage of collection properties.86       **/87      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;88      /**89       * Storage of token property permissions of a collection.90       **/91      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;92      /**93       * Storage of the count of created collections. Essentially contains the last collection ID.94       **/95      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;96      /**97       * Storage of the count of deleted collections.98       **/99      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;100      /**101       * Not used by code, exists only to provide some types to metadata.102       **/103      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;104      /**105       * List of collection admins.106       **/107      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;108      /**109       * Generic query110       **/111      [key: string]: QueryableStorageEntry<ApiType>;112    };113    configuration: {114      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;115      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;116      /**117       * Generic query118       **/119      [key: string]: QueryableStorageEntry<ApiType>;120    };121    dmpQueue: {122      /**123       * The configuration.124       **/125      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;126      /**127       * The overweight messages.128       **/129      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;130      /**131       * The page index.132       **/133      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;134      /**135       * The queue pages.136       **/137      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;138      /**139       * Generic query140       **/141      [key: string]: QueryableStorageEntry<ApiType>;142    };143    ethereum: {144      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;145      /**146       * The current Ethereum block.147       **/148      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;149      /**150       * The current Ethereum receipts.151       **/152      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;153      /**154       * The current transaction statuses.155       **/156      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;157      /**158       * Injected transactions should have unique nonce, here we store current159       **/160      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;161      /**162       * Current building block's transactions and receipts.163       **/164      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;165      /**166       * Generic query167       **/168      [key: string]: QueryableStorageEntry<ApiType>;169    };170    evm: {171      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;172      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;173      /**174       * Written on log, reset after transaction175       * Should be empty between transactions176       **/177      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;178      /**179       * Generic query180       **/181      [key: string]: QueryableStorageEntry<ApiType>;182    };183    evmCoderSubstrate: {184      /**185       * Generic query186       **/187      [key: string]: QueryableStorageEntry<ApiType>;188    };189    evmContractHelpers: {190      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;191      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;192      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;193      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;194      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;195      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;196      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;197      /**198       * Generic query199       **/200      [key: string]: QueryableStorageEntry<ApiType>;201    };202    evmMigration: {203      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;204      /**205       * Generic query206       **/207      [key: string]: QueryableStorageEntry<ApiType>;208    };209    fungible: {210      /**211       * Storage for assets delegated to a limited extent to other users.212       **/213      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;214      /**215       * Amount of tokens owned by an account inside a collection.216       **/217      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;218      /**219       * Total amount of fungible tokens inside a collection.220       **/221      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;222      /**223       * Generic query224       **/225      [key: string]: QueryableStorageEntry<ApiType>;226    };227    inflation: {228      /**229       * Current inflation for `InflationBlockInterval` number of blocks230       **/231      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;232      /**233       * Next target (relay) block when inflation will be applied234       **/235      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;236      /**237       * Next target (relay) block when inflation is recalculated238       **/239      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;240      /**241       * Relay block when inflation has started242       **/243      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;244      /**245       * starting year total issuance246       **/247      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;248      /**249       * Generic query250       **/251      [key: string]: QueryableStorageEntry<ApiType>;252    };253    nonfungible: {254      /**255       * Amount of tokens owned by an account in a collection.256       **/257      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;258      /**259       * Allowance set by a token owner for another user to perform one of certain transactions on a token.260       **/261      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;262      /**263       * Used to enumerate tokens owned by account.264       **/265      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;266      /**267       * Custom data of a token that is serialized to bytes,268       * primarily reserved for on-chain operations,269       * normally obscured from the external users.270       * 271       * Auxiliary properties are slightly different from272       * usual [`TokenProperties`] due to an unlimited number273       * and separately stored and written-to key-value pairs.274       * 275       * Currently used to store RMRK data.276       **/277      tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | 'Eth' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;278      /**279       * Used to enumerate token's children.280       **/281      tokenChildren: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<bool>, [u32, u32, ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, u32, ITuple<[u32, u32]>]>;282      /**283       * Token data, used to partially describe a token.284       **/285      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;286      /**287       * Map of key-value pairs, describing the metadata of a token.288       **/289      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;290      /**291       * Amount of burnt tokens in a collection.292       **/293      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;294      /**295       * Total amount of minted tokens in a collection.296       **/297      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;298      /**299       * Generic query300       **/301      [key: string]: QueryableStorageEntry<ApiType>;302    };303    parachainInfo: {304      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;305      /**306       * Generic query307       **/308      [key: string]: QueryableStorageEntry<ApiType>;309    };310    parachainSystem: {311      /**312       * The number of HRMP messages we observed in `on_initialize` and thus used that number for313       * announcing the weight of `on_initialize` and `on_finalize`.314       **/315      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;316      /**317       * The next authorized upgrade, if there is one.318       **/319      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;320      /**321       * A custom head data that should be returned as result of `validate_block`.322       * 323       * See [`Pallet::set_custom_validation_head_data`] for more information.324       **/325      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;326      /**327       * Were the validation data set to notify the relay chain?328       **/329      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;330      /**331       * The parachain host configuration that was obtained from the relay parent.332       * 333       * This field is meant to be updated each block with the validation data inherent. Therefore,334       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.335       * 336       * This data is also absent from the genesis.337       **/338      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;339      /**340       * HRMP messages that were sent in a block.341       * 342       * This will be cleared in `on_initialize` of each new block.343       **/344      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;345      /**346       * HRMP watermark that was set in a block.347       * 348       * This will be cleared in `on_initialize` of each new block.349       **/350      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;351      /**352       * The last downward message queue chain head we have observed.353       * 354       * This value is loaded before and saved after processing inbound downward messages carried355       * by the system inherent.356       **/357      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;358      /**359       * The message queue chain heads we have observed per each channel incoming channel.360       * 361       * This value is loaded before and saved after processing inbound downward messages carried362       * by the system inherent.363       **/364      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;365      /**366       * Validation code that is set by the parachain and is to be communicated to collator and367       * consequently the relay-chain.368       * 369       * This will be cleared in `on_initialize` of each new block if no other pallet already set370       * the value.371       **/372      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;373      /**374       * Upward messages that are still pending and not yet send to the relay chain.375       **/376      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;377      /**378       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.379       * 380       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]381       * which will result the next block process with the new validation code. This concludes the upgrade process.382       * 383       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE384       **/385      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;386      /**387       * Number of downward messages processed in a block.388       * 389       * This will be cleared in `on_initialize` of each new block.390       **/391      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;392      /**393       * The state proof for the last relay parent block.394       * 395       * This field is meant to be updated each block with the validation data inherent. Therefore,396       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.397       * 398       * This data is also absent from the genesis.399       **/400      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;401      /**402       * The snapshot of some state related to messaging relevant to the current parachain as per403       * the relay parent.404       * 405       * This field is meant to be updated each block with the validation data inherent. Therefore,406       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.407       * 408       * This data is also absent from the genesis.409       **/410      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;411      /**412       * The weight we reserve at the beginning of the block for processing DMP messages. This413       * overrides the amount set in the Config trait.414       **/415      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;416      /**417       * The weight we reserve at the beginning of the block for processing XCMP messages. This418       * overrides the amount set in the Config trait.419       **/420      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;421      /**422       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.423       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced424       * candidate will be invalid.425       * 426       * This storage item is a mirror of the corresponding value for the current parachain from the427       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is428       * set after the inherent.429       **/430      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;431      /**432       * Upward messages that were sent in a block.433       * 434       * This will be cleared in `on_initialize` of each new block.435       **/436      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;437      /**438       * The [`PersistedValidationData`] set for this block.439       * This value is expected to be set only once per block and it's never stored440       * in the trie.441       **/442      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;443      /**444       * Generic query445       **/446      [key: string]: QueryableStorageEntry<ApiType>;447    };448    randomnessCollectiveFlip: {449      /**450       * Series of block headers from the last 81 blocks that acts as random seed material. This451       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of452       * the oldest hash.453       **/454      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;455      /**456       * Generic query457       **/458      [key: string]: QueryableStorageEntry<ApiType>;459    };460    refungible: {461      /**462       * Amount of tokens (not pieces) partially owned by an account within a collection.463       **/464      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;465      /**466       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.467       **/468      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg4: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;469      /**470       * Amount of token pieces owned by account.471       **/472      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr]>;473      /**474       * Used to enumerate tokens owned by account.475       **/476      owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;477      /**478       * Token data, used to partially describe a token.479       **/480      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;481      /**482       * Amount of pieces a refungible token is split into.483       **/484      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;485      /**486       * Amount of tokens burnt in a collection.487       **/488      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;489      /**490       * Total amount of minted tokens in a collection.491       **/492      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;493      /**494       * Total amount of pieces for token495       **/496      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;497      /**498       * Generic query499       **/500      [key: string]: QueryableStorageEntry<ApiType>;501    };502    rmrkCore: {503      /**504       * Latest yet-unused collection ID.505       **/506      collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;507      /**508       * Mapping from RMRK collection ID to Unique's.509       **/510      uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;511      /**512       * Generic query513       **/514      [key: string]: QueryableStorageEntry<ApiType>;515    };516    rmrkEquip: {517      /**518       * Checkmark that a Base has a Theme NFT named "default".519       **/520      baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;521      /**522       * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.523       **/524      inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;525      /**526       * Generic query527       **/528      [key: string]: QueryableStorageEntry<ApiType>;529    };530    scheduler: {531      /**532       * Items to be executed, indexed by the block number that they should be executed on.533       **/534      agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUniqueSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;535      /**536       * Lookup from identity to the block number and index of the task.537       **/538      lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;539      /**540       * Generic query541       **/542      [key: string]: QueryableStorageEntry<ApiType>;543    };544    structure: {545      /**546       * Generic query547       **/548      [key: string]: QueryableStorageEntry<ApiType>;549    };550    sudo: {551      /**552       * The `AccountId` of the sudo key.553       **/554      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;555      /**556       * Generic query557       **/558      [key: string]: QueryableStorageEntry<ApiType>;559    };560    system: {561      /**562       * The full account information for a particular account ID.563       **/564      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;565      /**566       * Total length (in bytes) for all extrinsics put together, for the current block.567       **/568      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;569      /**570       * Map of block numbers to block hashes.571       **/572      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;573      /**574       * The current weight for the block.575       **/576      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;577      /**578       * Digest of the current block, also part of the block header.579       **/580      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;581      /**582       * The number of events in the `Events<T>` list.583       **/584      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;585      /**586       * Events deposited for the current block.587       * 588       * NOTE: The item is unbound and should therefore never be read on chain.589       * It could otherwise inflate the PoV size of a block.590       * 591       * Events have a large in-memory size. Box the events to not go out-of-memory592       * just in case someone still reads them from within the runtime.593       **/594      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;595      /**596       * Mapping between a topic (represented by T::Hash) and a vector of indexes597       * of events in the `<Events<T>>` list.598       * 599       * All topic vectors have deterministic storage locations depending on the topic. This600       * allows light-clients to leverage the changes trie storage tracking mechanism and601       * in case of changes fetch the list of events of interest.602       * 603       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just604       * the `EventIndex` then in case if the topic has the same contents on the next block605       * no notification will be triggered thus the event might be lost.606       **/607      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;608      /**609       * The execution phase of the block.610       **/611      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;612      /**613       * Total extrinsics count for the current block.614       **/615      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;616      /**617       * Extrinsics data for the current block (maps an extrinsic's index to its data).618       **/619      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;620      /**621       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.622       **/623      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;624      /**625       * The current block number being processed. Set by `execute_block`.626       **/627      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;628      /**629       * Hash of the previous block.630       **/631      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;632      /**633       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False634       * (default) if not.635       **/636      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;637      /**638       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.639       **/640      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;641      /**642       * Generic query643       **/644      [key: string]: QueryableStorageEntry<ApiType>;645    };646    timestamp: {647      /**648       * Did the timestamp get updated in this block?649       **/650      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;651      /**652       * Current time for the current block.653       **/654      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;655      /**656       * Generic query657       **/658      [key: string]: QueryableStorageEntry<ApiType>;659    };660    transactionPayment: {661      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;662      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;663      /**664       * Generic query665       **/666      [key: string]: QueryableStorageEntry<ApiType>;667    };668    treasury: {669      /**670       * Proposal indices that have been approved but not yet awarded.671       **/672      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;673      /**674       * Number of proposals that have been made.675       **/676      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;677      /**678       * Proposals that have been made.679       **/680      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;681      /**682       * Generic query683       **/684      [key: string]: QueryableStorageEntry<ApiType>;685    };686    unique: {687      /**688       * Used for migrations689       **/690      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;691      /**692       * (Collection id (controlled?2), who created (real))693       * TODO: Off chain worker should remove from this map when collection gets removed694       **/695      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;696      /**697       * Last sponsoring of fungible tokens approval in a collection698       **/699      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;700      /**701       * Collection id (controlled?2), owning user (real)702       **/703      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;704      /**705       * Last sponsoring of NFT approval in a collection706       **/707      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;708      /**709       * Collection id (controlled?2), token id (controlled?2)710       **/711      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;712      /**713       * Last sponsoring of RFT approval in a collection714       **/715      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]>;716      /**717       * Collection id (controlled?2), token id (controlled?2)718       **/719      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]>;720      /**721       * Last sponsoring of token property setting // todo:doc rephrase this and the following722       **/723      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;724      /**725       * Variable metadata sponsoring726       * Collection id (controlled?2), token id (controlled?2)727       **/728      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;729      /**730       * Generic query731       **/732      [key: string]: QueryableStorageEntry<ApiType>;733    };734    vesting: {735      /**736       * Vesting schedules of an account.737       * 738       * VestingSchedules: map AccountId => Vec<VestingSchedule>739       **/740      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;741      /**742       * Generic query743       **/744      [key: string]: QueryableStorageEntry<ApiType>;745    };746    xcmpQueue: {747      /**748       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.749       **/750      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;751      /**752       * Status of the inbound XCMP channels.753       **/754      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;755      /**756       * The messages outbound in a given XCMP channel.757       **/758      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;759      /**760       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first761       * and last outbound message. If the two indices are equal, then it indicates an empty762       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater763       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in764       * case of the need to send a high-priority signal message this block.765       * The bool is true if there is a signal message waiting to be sent.766       **/767      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;768      /**769       * The messages that exceeded max individual message weight budget.770       * 771       * These message stay in this storage map until they are manually dispatched via772       * `service_overweight`.773       **/774      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;775      /**776       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next777       * available free overweight index.778       **/779      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;780      /**781       * The configuration which controls the dynamics of the outbound queue.782       **/783      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;784      /**785       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.786       **/787      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;788      /**789       * Any signal messages waiting to be sent.790       **/791      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;792      /**793       * Generic query794       **/795      [key: string]: QueryableStorageEntry<ApiType>;796    };797  } // AugmentedQueries798} // declare module