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

difftreelog

source

tests/src/interfaces/augment-api-query.ts43.7 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/storage';78import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';9import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';10import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';12import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletNonfungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild } from '@polkadot/types/lookup';13import type { Observable } from '@polkadot/types/types';1415export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;16export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;1718declare module '@polkadot/api-base/types/storage' {19  interface AugmentedQueries<ApiType extends ApiTypes> {20    balances: {21      /**22       * The Balances pallet example of storing the balance of an account.23       * 24       * # Example25       * 26       * ```nocompile27       * impl pallet_balances::Config for Runtime {28       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>29       * }30       * ```31       * 32       * You can also store the balance of an account in the `System` pallet.33       * 34       * # Example35       * 36       * ```nocompile37       * impl pallet_balances::Config for Runtime {38       * type AccountStore = System39       * }40       * ```41       * 42       * But this comes with tradeoffs, storing account balances in the system pallet stores43       * `frame_system` data alongside the account data contrary to storing account balances in the44       * `Balances` pallet, which uses a `StorageMap` to store balances data only.45       * NOTE: This is only used in the case that this pallet is used to store balances.46       **/47      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;48      /**49       * Any liquidity locks on some account balances.50       * NOTE: Should only be accessed when setting, changing and freeing a lock.51       **/52      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;53      /**54       * Named reserves on some account balances.55       **/56      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;57      /**58       * Storage version of the pallet.59       * 60       * This is set to v2.0.0 for new networks.61       **/62      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;63      /**64       * The total units issued in the system.65       **/66      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;67      /**68       * Generic query69       **/70      [key: string]: QueryableStorageEntry<ApiType>;71    };72    charging: {73      /**74       * Generic query75       **/76      [key: string]: QueryableStorageEntry<ApiType>;77    };78    common: {79      /**80       * Storage of the amount of collection admins.81       **/82      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;83      /**84       * Allowlisted collection users.85       **/86      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;87      /**88       * Storage of collection info.89       **/90      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;91      /**92       * Storage of collection properties.93       **/94      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;95      /**96       * Storage of token property permissions of a collection.97       **/98      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;99      /**100       * Storage of the count of created collections. Essentially contains the last collection ID.101       **/102      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;103      /**104       * Storage of the count of deleted collections.105       **/106      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;107      /**108       * Not used by code, exists only to provide some types to metadata.109       **/110      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;111      /**112       * List of collection admins.113       **/114      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;115      /**116       * Generic query117       **/118      [key: string]: QueryableStorageEntry<ApiType>;119    };120    configuration: {121      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;122      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;123      /**124       * Generic query125       **/126      [key: string]: QueryableStorageEntry<ApiType>;127    };128    dmpQueue: {129      /**130       * The configuration.131       **/132      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;133      /**134       * The overweight messages.135       **/136      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;137      /**138       * The page index.139       **/140      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;141      /**142       * The queue pages.143       **/144      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;145      /**146       * Generic query147       **/148      [key: string]: QueryableStorageEntry<ApiType>;149    };150    ethereum: {151      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;152      /**153       * The current Ethereum block.154       **/155      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;156      /**157       * The current Ethereum receipts.158       **/159      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;160      /**161       * The current transaction statuses.162       **/163      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;164      /**165       * Injected transactions should have unique nonce, here we store current166       **/167      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;168      /**169       * Current building block's transactions and receipts.170       **/171      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;172      /**173       * Generic query174       **/175      [key: string]: QueryableStorageEntry<ApiType>;176    };177    evm: {178      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;179      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;180      /**181       * Written on log, reset after transaction182       * Should be empty between transactions183       **/184      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;185      /**186       * Generic query187       **/188      [key: string]: QueryableStorageEntry<ApiType>;189    };190    evmCoderSubstrate: {191      /**192       * Generic query193       **/194      [key: string]: QueryableStorageEntry<ApiType>;195    };196    evmContractHelpers: {197      /**198       * Storage for users that allowed for sponsorship.199       * 200       * ### Usage201       * Prefer to delete record from storage if user no more allowed for sponsorship.202       * 203       * * **Key1** - contract address.204       * * **Key2** - user that allowed for sponsorship.205       * * **Value** - allowance for sponsorship.206       **/207      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;208      /**209       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.210       * 211       * ### Usage212       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.213       * 214       * * **Key** - contract address.215       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.216       **/217      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;218      /**219       * Store owner for contract.220       * 221       * * **Key** - contract address.222       * * **Value** - owner for contract.223       **/224      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;225      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;226      /**227       * Storage for last sponsored block.228       * 229       * * **Key1** - contract address.230       * * **Key2** - sponsored user address.231       * * **Value** - last sponsored block number.232       **/233      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;234      /**235       * Store for contract sponsorship state.236       * 237       * * **Key** - contract address.238       * * **Value** - sponsorship state.239       **/240      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;241      /**242       * Store for sponsoring mode.243       * 244       * ### Usage245       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).246       * 247       * * **Key** - contract address.248       * * **Value** - [`sponsoring mode`](SponsoringModeT).249       **/250      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;251      /**252       * Storage for sponsoring rate limit in blocks.253       * 254       * * **Key** - contract address.255       * * **Value** - amount of sponsored blocks.256       **/257      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;258      /**259       * Generic query260       **/261      [key: string]: QueryableStorageEntry<ApiType>;262    };263    evmMigration: {264      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;265      /**266       * Generic query267       **/268      [key: string]: QueryableStorageEntry<ApiType>;269    };270    fungible: {271      /**272       * Storage for assets delegated to a limited extent to other users.273       **/274      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]>;275      /**276       * Amount of tokens owned by an account inside a collection.277       **/278      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;279      /**280       * Foreign collection flag281       **/282      foreignCollection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;283      /**284       * Total amount of fungible tokens inside a collection.285       **/286      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;287      /**288       * Generic query289       **/290      [key: string]: QueryableStorageEntry<ApiType>;291    };292    inflation: {293      /**294       * Current inflation for `InflationBlockInterval` number of blocks295       **/296      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;297      /**298       * Next target (relay) block when inflation will be applied299       **/300      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;301      /**302       * Next target (relay) block when inflation is recalculated303       **/304      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;305      /**306       * Relay block when inflation has started307       **/308      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;309      /**310       * starting year total issuance311       **/312      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;313      /**314       * Generic query315       **/316      [key: string]: QueryableStorageEntry<ApiType>;317    };318    nonfungible: {319      /**320       * Amount of tokens owned by an account in a collection.321       **/322      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;323      /**324       * Allowance set by a token owner for another user to perform one of certain transactions on a token.325       **/326      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;327      /**328       * Used to enumerate tokens owned by account.329       **/330      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]>;331      /**332       * Custom data of a token that is serialized to bytes,333       * primarily reserved for on-chain operations,334       * normally obscured from the external users.335       * 336       * Auxiliary properties are slightly different from337       * usual [`TokenProperties`] due to an unlimited number338       * and separately stored and written-to key-value pairs.339       * 340       * Currently used to store RMRK data.341       **/342      tokenAuxProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: UpDataStructsPropertyScope | 'None' | 'Rmrk' | number | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<Bytes>>, [u32, u32, UpDataStructsPropertyScope, Bytes]> & QueryableStorageEntry<ApiType, [u32, u32, UpDataStructsPropertyScope, Bytes]>;343      /**344       * Used to enumerate token's children.345       **/346      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]>]>;347      /**348       * Token data, used to partially describe a token.349       **/350      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;351      /**352       * Map of key-value pairs, describing the metadata of a token.353       **/354      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;355      /**356       * Amount of burnt tokens in a collection.357       **/358      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;359      /**360       * Total amount of minted tokens in a collection.361       **/362      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;363      /**364       * Generic query365       **/366      [key: string]: QueryableStorageEntry<ApiType>;367    };368    parachainInfo: {369      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;370      /**371       * Generic query372       **/373      [key: string]: QueryableStorageEntry<ApiType>;374    };375    parachainSystem: {376      /**377       * The number of HRMP messages we observed in `on_initialize` and thus used that number for378       * announcing the weight of `on_initialize` and `on_finalize`.379       **/380      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;381      /**382       * The next authorized upgrade, if there is one.383       **/384      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;385      /**386       * A custom head data that should be returned as result of `validate_block`.387       * 388       * See [`Pallet::set_custom_validation_head_data`] for more information.389       **/390      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;391      /**392       * Were the validation data set to notify the relay chain?393       **/394      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;395      /**396       * The parachain host configuration that was obtained from the relay parent.397       * 398       * This field is meant to be updated each block with the validation data inherent. Therefore,399       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.400       * 401       * This data is also absent from the genesis.402       **/403      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;404      /**405       * HRMP messages that were sent in a block.406       * 407       * This will be cleared in `on_initialize` of each new block.408       **/409      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;410      /**411       * HRMP watermark that was set in a block.412       * 413       * This will be cleared in `on_initialize` of each new block.414       **/415      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;416      /**417       * The last downward message queue chain head we have observed.418       * 419       * This value is loaded before and saved after processing inbound downward messages carried420       * by the system inherent.421       **/422      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;423      /**424       * The message queue chain heads we have observed per each channel incoming channel.425       * 426       * This value is loaded before and saved after processing inbound downward messages carried427       * by the system inherent.428       **/429      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;430      /**431       * The relay chain block number associated with the last parachain block.432       **/433      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;434      /**435       * Validation code that is set by the parachain and is to be communicated to collator and436       * consequently the relay-chain.437       * 438       * This will be cleared in `on_initialize` of each new block if no other pallet already set439       * the value.440       **/441      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;442      /**443       * Upward messages that are still pending and not yet send to the relay chain.444       **/445      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;446      /**447       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.448       * 449       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]450       * which will result the next block process with the new validation code. This concludes the upgrade process.451       * 452       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE453       **/454      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;455      /**456       * Number of downward messages processed in a block.457       * 458       * This will be cleared in `on_initialize` of each new block.459       **/460      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;461      /**462       * The state proof for the last relay parent block.463       * 464       * This field is meant to be updated each block with the validation data inherent. Therefore,465       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.466       * 467       * This data is also absent from the genesis.468       **/469      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;470      /**471       * The snapshot of some state related to messaging relevant to the current parachain as per472       * the relay parent.473       * 474       * This field is meant to be updated each block with the validation data inherent. Therefore,475       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.476       * 477       * This data is also absent from the genesis.478       **/479      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;480      /**481       * The weight we reserve at the beginning of the block for processing DMP messages. This482       * overrides the amount set in the Config trait.483       **/484      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;485      /**486       * The weight we reserve at the beginning of the block for processing XCMP messages. This487       * overrides the amount set in the Config trait.488       **/489      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;490      /**491       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.492       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced493       * candidate will be invalid.494       * 495       * This storage item is a mirror of the corresponding value for the current parachain from the496       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is497       * set after the inherent.498       **/499      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;500      /**501       * Upward messages that were sent in a block.502       * 503       * This will be cleared in `on_initialize` of each new block.504       **/505      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;506      /**507       * The [`PersistedValidationData`] set for this block.508       * This value is expected to be set only once per block and it's never stored509       * in the trie.510       **/511      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;512      /**513       * Generic query514       **/515      [key: string]: QueryableStorageEntry<ApiType>;516    };517    randomnessCollectiveFlip: {518      /**519       * Series of block headers from the last 81 blocks that acts as random seed material. This520       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of521       * the oldest hash.522       **/523      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;524      /**525       * Generic query526       **/527      [key: string]: QueryableStorageEntry<ApiType>;528    };529    structure: {530      /**531       * Generic query532       **/533      [key: string]: QueryableStorageEntry<ApiType>;534    };535    sudo: {536      /**537       * The `AccountId` of the sudo key.538       **/539      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;540      /**541       * Generic query542       **/543      [key: string]: QueryableStorageEntry<ApiType>;544    };545    system: {546      /**547       * The full account information for a particular account ID.548       **/549      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;550      /**551       * Total length (in bytes) for all extrinsics put together, for the current block.552       **/553      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;554      /**555       * Map of block numbers to block hashes.556       **/557      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;558      /**559       * The current weight for the block.560       **/561      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;562      /**563       * Digest of the current block, also part of the block header.564       **/565      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;566      /**567       * The number of events in the `Events<T>` list.568       **/569      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;570      /**571       * Events deposited for the current block.572       * 573       * NOTE: The item is unbound and should therefore never be read on chain.574       * It could otherwise inflate the PoV size of a block.575       * 576       * Events have a large in-memory size. Box the events to not go out-of-memory577       * just in case someone still reads them from within the runtime.578       **/579      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;580      /**581       * Mapping between a topic (represented by T::Hash) and a vector of indexes582       * of events in the `<Events<T>>` list.583       * 584       * All topic vectors have deterministic storage locations depending on the topic. This585       * allows light-clients to leverage the changes trie storage tracking mechanism and586       * in case of changes fetch the list of events of interest.587       * 588       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just589       * the `EventIndex` then in case if the topic has the same contents on the next block590       * no notification will be triggered thus the event might be lost.591       **/592      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;593      /**594       * The execution phase of the block.595       **/596      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;597      /**598       * Total extrinsics count for the current block.599       **/600      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;601      /**602       * Extrinsics data for the current block (maps an extrinsic's index to its data).603       **/604      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;605      /**606       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.607       **/608      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;609      /**610       * The current block number being processed. Set by `execute_block`.611       **/612      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;613      /**614       * Hash of the previous block.615       **/616      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;617      /**618       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False619       * (default) if not.620       **/621      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;622      /**623       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.624       **/625      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;626      /**627       * Generic query628       **/629      [key: string]: QueryableStorageEntry<ApiType>;630    };631    timestamp: {632      /**633       * Did the timestamp get updated in this block?634       **/635      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;636      /**637       * Current time for the current block.638       **/639      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;640      /**641       * Generic query642       **/643      [key: string]: QueryableStorageEntry<ApiType>;644    };645    tokens: {646      /**647       * The balance of a token type under an account.648       * 649       * NOTE: If the total is ever zero, decrease account ref account.650       * 651       * NOTE: This is only used in the case that this module is used to store652       * balances.653       **/654      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;655      /**656       * Any liquidity locks of a token type under an account.657       * NOTE: Should only be accessed when setting, changing and freeing a lock.658       **/659      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;660      /**661       * Named reserves on some account balances.662       **/663      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;664      /**665       * The total issuance of a token type.666       **/667      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;668      /**669       * Generic query670       **/671      [key: string]: QueryableStorageEntry<ApiType>;672    };673    transactionPayment: {674      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;675      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;676      /**677       * Generic query678       **/679      [key: string]: QueryableStorageEntry<ApiType>;680    };681    treasury: {682      /**683       * Proposal indices that have been approved but not yet awarded.684       **/685      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;686      /**687       * Number of proposals that have been made.688       **/689      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;690      /**691       * Proposals that have been made.692       **/693      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;694      /**695       * Generic query696       **/697      [key: string]: QueryableStorageEntry<ApiType>;698    };699    unique: {700      /**701       * Used for migrations702       **/703      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;704      /**705       * (Collection id (controlled?2), who created (real))706       * TODO: Off chain worker should remove from this map when collection gets removed707       **/708      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;709      /**710       * Last sponsoring of fungible tokens approval in a collection711       **/712      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;713      /**714       * Collection id (controlled?2), owning user (real)715       **/716      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;717      /**718       * Last sponsoring of NFT approval in a collection719       **/720      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;721      /**722       * Collection id (controlled?2), token id (controlled?2)723       **/724      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;725      /**726       * Last sponsoring of RFT approval in a collection727       **/728      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]>;729      /**730       * Collection id (controlled?2), token id (controlled?2)731       **/732      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]>;733      /**734       * Last sponsoring of token property setting // todo:doc rephrase this and the following735       **/736      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;737      /**738       * Variable metadata sponsoring739       * Collection id (controlled?2), token id (controlled?2)740       **/741      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;742      /**743       * Generic query744       **/745      [key: string]: QueryableStorageEntry<ApiType>;746    };747    vesting: {748      /**749       * Vesting schedules of an account.750       * 751       * VestingSchedules: map AccountId => Vec<VestingSchedule>752       **/753      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;754      /**755       * Generic query756       **/757      [key: string]: QueryableStorageEntry<ApiType>;758    };759    xcmpQueue: {760      /**761       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.762       **/763      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;764      /**765       * Status of the inbound XCMP channels.766       **/767      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;768      /**769       * The messages outbound in a given XCMP channel.770       **/771      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;772      /**773       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first774       * and last outbound message. If the two indices are equal, then it indicates an empty775       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater776       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in777       * case of the need to send a high-priority signal message this block.778       * The bool is true if there is a signal message waiting to be sent.779       **/780      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;781      /**782       * The messages that exceeded max individual message weight budget.783       * 784       * These message stay in this storage map until they are manually dispatched via785       * `service_overweight`.786       **/787      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;788      /**789       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next790       * available free overweight index.791       **/792      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;793      /**794       * The configuration which controls the dynamics of the outbound queue.795       **/796      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;797      /**798       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.799       **/800      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;801      /**802       * Any signal messages waiting to be sent.803       **/804      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;805      /**806       * Generic query807       **/808      [key: string]: QueryableStorageEntry<ApiType>;809    };810  } // AugmentedQueries811} // declare module