git.delta.rocks / unique-network / refs/commits / 9fe4c05e564b

difftreelog

source

tests/src/interfaces/augment-api-query.ts43.9 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    dmpQueue: {114      /**115       * The configuration.116       **/117      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;118      /**119       * The overweight messages.120       **/121      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;122      /**123       * The page index.124       **/125      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;126      /**127       * The queue pages.128       **/129      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;130      /**131       * Generic query132       **/133      [key: string]: QueryableStorageEntry<ApiType>;134    };135    ethereum: {136      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;137      /**138       * The current Ethereum block.139       **/140      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;141      /**142       * The current Ethereum receipts.143       **/144      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;145      /**146       * The current transaction statuses.147       **/148      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;149      /**150       * Injected transactions should have unique nonce, here we store current151       **/152      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;153      /**154       * Current building block's transactions and receipts.155       **/156      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;157      /**158       * Generic query159       **/160      [key: string]: QueryableStorageEntry<ApiType>;161    };162    evm: {163      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;164      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;165      /**166       * Written on log, reset after transaction167       * Should be empty between transactions168       **/169      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;170      /**171       * Generic query172       **/173      [key: string]: QueryableStorageEntry<ApiType>;174    };175    evmCoderSubstrate: {176      /**177       * Generic query178       **/179      [key: string]: QueryableStorageEntry<ApiType>;180    };181    evmContractHelpers: {182      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;183      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;184      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;185      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;186      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;187      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;188      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;189      /**190       * Generic query191       **/192      [key: string]: QueryableStorageEntry<ApiType>;193    };194    evmMigration: {195      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;196      /**197       * Generic query198       **/199      [key: string]: QueryableStorageEntry<ApiType>;200    };201    fungible: {202      /**203       * Storage for assets delegated to a limited extent to other users.204       **/205      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]>;206      /**207       * Amount of tokens owned by an account inside a collection.208       **/209      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;210      /**211       * Total amount of fungible tokens inside a collection.212       **/213      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;214      /**215       * Generic query216       **/217      [key: string]: QueryableStorageEntry<ApiType>;218    };219    inflation: {220      /**221       * Current inflation for `InflationBlockInterval` number of blocks222       **/223      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;224      /**225       * Next target (relay) block when inflation will be applied226       **/227      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;228      /**229       * Next target (relay) block when inflation is recalculated230       **/231      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;232      /**233       * Relay block when inflation has started234       **/235      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;236      /**237       * starting year total issuance238       **/239      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;240      /**241       * Generic query242       **/243      [key: string]: QueryableStorageEntry<ApiType>;244    };245    nonfungible: {246      /**247       * Amount of tokens owned by an account in a collection.248       **/249      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;250      /**251       * Allowance set by a token owner for another user to perform one of certain transactions on a token.252       **/253      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;254      /**255       * Used to enumerate tokens owned by account.256       **/257      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]>;258      /**259       * Custom data of a token that is serialized to bytes,260       * primarily reserved for on-chain operations,261       * normally obscured from the external users.262       * 263       * Auxiliary properties are slightly different from264       * usual [`TokenProperties`] due to an unlimited number265       * and separately stored and written-to key-value pairs.266       * 267       * Currently used to store RMRK data.268       **/269      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]>;270      /**271       * Used to enumerate token's children.272       **/273      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]>]>;274      /**275       * Token data, used to partially describe a token.276       **/277      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;278      /**279       * Map of key-value pairs, describing the metadata of a token.280       **/281      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;282      /**283       * Amount of burnt tokens in a collection.284       **/285      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;286      /**287       * Total amount of minted tokens in a collection.288       **/289      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;290      /**291       * Generic query292       **/293      [key: string]: QueryableStorageEntry<ApiType>;294    };295    parachainInfo: {296      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;297      /**298       * Generic query299       **/300      [key: string]: QueryableStorageEntry<ApiType>;301    };302    parachainSystem: {303      /**304       * The number of HRMP messages we observed in `on_initialize` and thus used that number for305       * announcing the weight of `on_initialize` and `on_finalize`.306       **/307      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;308      /**309       * The next authorized upgrade, if there is one.310       **/311      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;312      /**313       * A custom head data that should be returned as result of `validate_block`.314       * 315       * See [`Pallet::set_custom_validation_head_data`] for more information.316       **/317      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;318      /**319       * Were the validation data set to notify the relay chain?320       **/321      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;322      /**323       * The parachain host configuration that was obtained from the relay parent.324       * 325       * This field is meant to be updated each block with the validation data inherent. Therefore,326       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.327       * 328       * This data is also absent from the genesis.329       **/330      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;331      /**332       * HRMP messages that were sent in a block.333       * 334       * This will be cleared in `on_initialize` of each new block.335       **/336      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;337      /**338       * HRMP watermark that was set in a block.339       * 340       * This will be cleared in `on_initialize` of each new block.341       **/342      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;343      /**344       * The last downward message queue chain head we have observed.345       * 346       * This value is loaded before and saved after processing inbound downward messages carried347       * by the system inherent.348       **/349      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;350      /**351       * The message queue chain heads we have observed per each channel incoming channel.352       * 353       * This value is loaded before and saved after processing inbound downward messages carried354       * by the system inherent.355       **/356      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;357      /**358       * Validation code that is set by the parachain and is to be communicated to collator and359       * consequently the relay-chain.360       * 361       * This will be cleared in `on_initialize` of each new block if no other pallet already set362       * the value.363       **/364      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;365      /**366       * Upward messages that are still pending and not yet send to the relay chain.367       **/368      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;369      /**370       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.371       * 372       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]373       * which will result the next block process with the new validation code. This concludes the upgrade process.374       * 375       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE376       **/377      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;378      /**379       * Number of downward messages processed in a block.380       * 381       * This will be cleared in `on_initialize` of each new block.382       **/383      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;384      /**385       * The state proof for the last relay parent block.386       * 387       * This field is meant to be updated each block with the validation data inherent. Therefore,388       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.389       * 390       * This data is also absent from the genesis.391       **/392      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;393      /**394       * The snapshot of some state related to messaging relevant to the current parachain as per395       * the relay parent.396       * 397       * This field is meant to be updated each block with the validation data inherent. Therefore,398       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.399       * 400       * This data is also absent from the genesis.401       **/402      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;403      /**404       * The weight we reserve at the beginning of the block for processing DMP messages. This405       * overrides the amount set in the Config trait.406       **/407      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;408      /**409       * The weight we reserve at the beginning of the block for processing XCMP messages. This410       * overrides the amount set in the Config trait.411       **/412      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []> & QueryableStorageEntry<ApiType, []>;413      /**414       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.415       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced416       * candidate will be invalid.417       * 418       * This storage item is a mirror of the corresponding value for the current parachain from the419       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is420       * set after the inherent.421       **/422      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;423      /**424       * Upward messages that were sent in a block.425       * 426       * This will be cleared in `on_initialize` of each new block.427       **/428      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;429      /**430       * The [`PersistedValidationData`] set for this block.431       * This value is expected to be set only once per block and it's never stored432       * in the trie.433       **/434      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;435      /**436       * Generic query437       **/438      [key: string]: QueryableStorageEntry<ApiType>;439    };440    randomnessCollectiveFlip: {441      /**442       * Series of block headers from the last 81 blocks that acts as random seed material. This443       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of444       * the oldest hash.445       **/446      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;447      /**448       * Generic query449       **/450      [key: string]: QueryableStorageEntry<ApiType>;451    };452    refungible: {453      /**454       * Amount of tokens (not pieces) partially owned by an account within a collection.455       **/456      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;457      /**458       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.459       **/460      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]>;461      /**462       * Amount of token pieces owned by account.463       **/464      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]>;465      /**466       * Used to enumerate tokens owned by account.467       **/468      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]>;469      /**470       * Token data, used to partially describe a token.471       **/472      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;473      /**474       * Amount of pieces a refungible token is split into.475       **/476      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;477      /**478       * Amount of tokens burnt in a collection.479       **/480      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;481      /**482       * Total amount of minted tokens in a collection.483       **/484      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;485      /**486       * Total amount of pieces for token487       **/488      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;489      /**490       * Generic query491       **/492      [key: string]: QueryableStorageEntry<ApiType>;493    };494    rmrkCore: {495      /**496       * Latest yet-unused collection ID.497       **/498      collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;499      /**500       * Mapping from RMRK collection ID to Unique's.501       **/502      uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;503      /**504       * Generic query505       **/506      [key: string]: QueryableStorageEntry<ApiType>;507    };508    rmrkEquip: {509      /**510       * Checkmark that a Base has a Theme NFT named "default".511       **/512      baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;513      /**514       * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.515       **/516      inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;517      /**518       * Generic query519       **/520      [key: string]: QueryableStorageEntry<ApiType>;521    };522    scheduler: {523      /**524       * Items to be executed, indexed by the block number that they should be executed on.525       **/526      agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletUniqueSchedulerScheduledV3>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;527      /**528       * Lookup from identity to the block number and index of the task.529       **/530      lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;531      /**532       * Generic query533       **/534      [key: string]: QueryableStorageEntry<ApiType>;535    };536    structure: {537      /**538       * Generic query539       **/540      [key: string]: QueryableStorageEntry<ApiType>;541    };542    sudo: {543      /**544       * The `AccountId` of the sudo key.545       **/546      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;547      /**548       * Generic query549       **/550      [key: string]: QueryableStorageEntry<ApiType>;551    };552    system: {553      /**554       * The full account information for a particular account ID.555       **/556      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;557      /**558       * Total length (in bytes) for all extrinsics put together, for the current block.559       **/560      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;561      /**562       * Map of block numbers to block hashes.563       **/564      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;565      /**566       * The current weight for the block.567       **/568      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportWeightsPerDispatchClassU64>, []> & QueryableStorageEntry<ApiType, []>;569      /**570       * Digest of the current block, also part of the block header.571       **/572      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;573      /**574       * The number of events in the `Events<T>` list.575       **/576      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;577      /**578       * Events deposited for the current block.579       * 580       * NOTE: The item is unbound and should therefore never be read on chain.581       * It could otherwise inflate the PoV size of a block.582       * 583       * Events have a large in-memory size. Box the events to not go out-of-memory584       * just in case someone still reads them from within the runtime.585       **/586      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;587      /**588       * Mapping between a topic (represented by T::Hash) and a vector of indexes589       * of events in the `<Events<T>>` list.590       * 591       * All topic vectors have deterministic storage locations depending on the topic. This592       * allows light-clients to leverage the changes trie storage tracking mechanism and593       * in case of changes fetch the list of events of interest.594       * 595       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just596       * the `EventIndex` then in case if the topic has the same contents on the next block597       * no notification will be triggered thus the event might be lost.598       **/599      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;600      /**601       * The execution phase of the block.602       **/603      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;604      /**605       * Total extrinsics count for the current block.606       **/607      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;608      /**609       * Extrinsics data for the current block (maps an extrinsic's index to its data).610       **/611      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;612      /**613       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.614       **/615      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;616      /**617       * The current block number being processed. Set by `execute_block`.618       **/619      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;620      /**621       * Hash of the previous block.622       **/623      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;624      /**625       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False626       * (default) if not.627       **/628      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;629      /**630       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.631       **/632      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;633      /**634       * Generic query635       **/636      [key: string]: QueryableStorageEntry<ApiType>;637    };638    timestamp: {639      /**640       * Did the timestamp get updated in this block?641       **/642      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;643      /**644       * Current time for the current block.645       **/646      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;647      /**648       * Generic query649       **/650      [key: string]: QueryableStorageEntry<ApiType>;651    };652    transactionPayment: {653      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;654      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;655      /**656       * Generic query657       **/658      [key: string]: QueryableStorageEntry<ApiType>;659    };660    treasury: {661      /**662       * Proposal indices that have been approved but not yet awarded.663       **/664      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;665      /**666       * Number of proposals that have been made.667       **/668      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;669      /**670       * Proposals that have been made.671       **/672      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;673      /**674       * Generic query675       **/676      [key: string]: QueryableStorageEntry<ApiType>;677    };678    unique: {679      /**680       * Used for migrations681       **/682      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;683      /**684       * (Collection id (controlled?2), who created (real))685       * TODO: Off chain worker should remove from this map when collection gets removed686       **/687      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;688      /**689       * Last sponsoring of fungible tokens approval in a collection690       **/691      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;692      /**693       * Collection id (controlled?2), owning user (real)694       **/695      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;696      /**697       * Last sponsoring of NFT approval in a collection698       **/699      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;700      /**701       * Collection id (controlled?2), token id (controlled?2)702       **/703      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;704      /**705       * Last sponsoring of RFT approval in a collection706       **/707      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]>;708      /**709       * Collection id (controlled?2), token id (controlled?2)710       **/711      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]>;712      /**713       * Last sponsoring of token property setting // todo:doc rephrase this and the following714       **/715      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;716      /**717       * Variable metadata sponsoring718       * Collection id (controlled?2), token id (controlled?2)719       **/720      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;721      /**722       * Generic query723       **/724      [key: string]: QueryableStorageEntry<ApiType>;725    };726    vesting: {727      /**728       * Vesting schedules of an account.729       * 730       * VestingSchedules: map AccountId => Vec<VestingSchedule>731       **/732      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;733      /**734       * Generic query735       **/736      [key: string]: QueryableStorageEntry<ApiType>;737    };738    xcmpQueue: {739      /**740       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.741       **/742      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;743      /**744       * Status of the inbound XCMP channels.745       **/746      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;747      /**748       * The messages outbound in a given XCMP channel.749       **/750      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;751      /**752       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first753       * and last outbound message. If the two indices are equal, then it indicates an empty754       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater755       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in756       * case of the need to send a high-priority signal message this block.757       * The bool is true if there is a signal message waiting to be sent.758       **/759      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;760      /**761       * The messages that exceeded max individual message weight budget.762       * 763       * These message stay in this storage map until they are manually dispatched via764       * `service_overweight`.765       **/766      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;767      /**768       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next769       * available free overweight index.770       **/771      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;772      /**773       * The configuration which controls the dynamics of the outbound queue.774       **/775      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;776      /**777       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.778       **/779      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;780      /**781       * Any signal messages waiting to be sent.782       **/783      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;784      /**785       * Generic query786       **/787      [key: string]: QueryableStorageEntry<ApiType>;788    };789  } // AugmentedQueries790} // declare module