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

difftreelog

source

tests/src/interfaces/augment-api-query.ts54.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, u8 } 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, FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsPropertyScope, UpDataStructsSponsorshipStateBasicCrossAccountIdRepr, UpDataStructsTokenChild, XcmV1MultiLocation } 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    appPromotion: {21      /**22       * Stores the `admin` account. Some extrinsics can only be executed if they were signed by `admin`.23       **/24      admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;25      /**26       * Stores amount of stakes for an `Account`.27       * 28       * * **Key** - Staker account.29       * * **Value** - Amount of stakes.30       **/31      pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;32      /**33       * Stores a key for record for which the revenue recalculation was performed.34       * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.35       **/36      previousCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;37      /**38       * Stores the amount of tokens staked by account in the blocknumber.39       * 40       * * **Key1** - Staker account.41       * * **Key2** - Relay block number when the stake was made.42       * * **(Balance, BlockNumber)** - Balance of the stake.43       * The number of the relay block in which we must perform the interest recalculation44       **/45      staked: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[u128, u32]>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;46      /**47       * Stores amount of stakes for an `Account`.48       * 49       * * **Key** - Staker account.50       * * **Value** - Amount of stakes.51       **/52      stakesPerAccount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u8>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;53      /**54       * Stores the total staked amount.55       **/56      totalStaked: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;57      /**58       * Generic query59       **/60      [key: string]: QueryableStorageEntry<ApiType>;61    };62    balances: {63      /**64       * The Balances pallet example of storing the balance of an account.65       * 66       * # Example67       * 68       * ```nocompile69       * impl pallet_balances::Config for Runtime {70       * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>>71       * }72       * ```73       * 74       * You can also store the balance of an account in the `System` pallet.75       * 76       * # Example77       * 78       * ```nocompile79       * impl pallet_balances::Config for Runtime {80       * type AccountStore = System81       * }82       * ```83       * 84       * But this comes with tradeoffs, storing account balances in the system pallet stores85       * `frame_system` data alongside the account data contrary to storing account balances in the86       * `Balances` pallet, which uses a `StorageMap` to store balances data only.87       * NOTE: This is only used in the case that this pallet is used to store balances.88       **/89      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;90      /**91       * The total units of outstanding deactivated balance in the system.92       **/93      inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;94      /**95       * Any liquidity locks on some account balances.96       * NOTE: Should only be accessed when setting, changing and freeing a lock.97       **/98      locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;99      /**100       * Named reserves on some account balances.101       **/102      reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;103      /**104       * The total units issued in the system.105       **/106      totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;107      /**108       * Generic query109       **/110      [key: string]: QueryableStorageEntry<ApiType>;111    };112    charging: {113      /**114       * Generic query115       **/116      [key: string]: QueryableStorageEntry<ApiType>;117    };118    common: {119      /**120       * Storage of the amount of collection admins.121       **/122      adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;123      /**124       * Allowlisted collection users.125       **/126      allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;127      /**128       * Storage of collection info.129       **/130      collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;131      /**132       * Storage of collection properties.133       **/134      collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;135      /**136       * Storage of token property permissions of a collection.137       **/138      collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;139      /**140       * Storage of the count of created collections. Essentially contains the last collection ID.141       **/142      createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;143      /**144       * Storage of the count of deleted collections.145       **/146      destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;147      /**148       * Not used by code, exists only to provide some types to metadata.149       **/150      dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;151      /**152       * List of collection admins.153       **/154      isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;155      /**156       * Generic query157       **/158      [key: string]: QueryableStorageEntry<ApiType>;159    };160    configuration: {161      appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;162      collatorSelectionDesiredCollatorsOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;163      collatorSelectionKickThresholdOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;164      collatorSelectionLicenseBondOverride: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;165      minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;166      weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;167      xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;168      /**169       * Generic query170       **/171      [key: string]: QueryableStorageEntry<ApiType>;172    };173    dmpQueue: {174      /**175       * The configuration.176       **/177      configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;178      /**179       * The overweight messages.180       **/181      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;182      /**183       * The page index.184       **/185      pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;186      /**187       * The queue pages.188       **/189      pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;190      /**191       * Generic query192       **/193      [key: string]: QueryableStorageEntry<ApiType>;194    };195    ethereum: {196      blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;197      /**198       * The current Ethereum block.199       **/200      currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;201      /**202       * The current Ethereum receipts.203       **/204      currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;205      /**206       * The current transaction statuses.207       **/208      currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;209      /**210       * Injected transactions should have unique nonce, here we store current211       **/212      injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;213      /**214       * Current building block's transactions and receipts.215       **/216      pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;217      /**218       * Generic query219       **/220      [key: string]: QueryableStorageEntry<ApiType>;221    };222    evm: {223      accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;224      accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;225      /**226       * Written on log, reset after transaction227       * Should be empty between transactions228       **/229      currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;230      /**231       * Generic query232       **/233      [key: string]: QueryableStorageEntry<ApiType>;234    };235    evmCoderSubstrate: {236      /**237       * Generic query238       **/239      [key: string]: QueryableStorageEntry<ApiType>;240    };241    evmContractHelpers: {242      /**243       * Storage for users that allowed for sponsorship.244       * 245       * ### Usage246       * Prefer to delete record from storage if user no more allowed for sponsorship.247       * 248       * * **Key1** - contract address.249       * * **Key2** - user that allowed for sponsorship.250       * * **Value** - allowance for sponsorship.251       **/252      allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;253      /**254       * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.255       * 256       * ### Usage257       * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.258       * 259       * * **Key** - contract address.260       * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.261       **/262      allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;263      /**264       * Store owner for contract.265       * 266       * * **Key** - contract address.267       * * **Value** - owner for contract.268       **/269      owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;270      selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;271      sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;272      /**273       * Store for contract sponsorship state.274       * 275       * * **Key** - contract address.276       * * **Value** - sponsorship state.277       **/278      sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;279      /**280       * Storage for last sponsored block.281       * 282       * * **Key1** - contract address.283       * * **Key2** - sponsored user address.284       * * **Value** - last sponsored block number.285       **/286      sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;287      /**288       * Store for sponsoring mode.289       * 290       * ### Usage291       * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).292       * 293       * * **Key** - contract address.294       * * **Value** - [`sponsoring mode`](SponsoringModeT).295       **/296      sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;297      /**298       * Storage for sponsoring rate limit in blocks.299       * 300       * * **Key** - contract address.301       * * **Value** - amount of sponsored blocks.302       **/303      sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;304      /**305       * Generic query306       **/307      [key: string]: QueryableStorageEntry<ApiType>;308    };309    evmMigration: {310      migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;311      /**312       * Generic query313       **/314      [key: string]: QueryableStorageEntry<ApiType>;315    };316    foreignAssets: {317      /**318       * The storages for assets to fungible collection binding319       * 320       **/321      assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;322      /**323       * The storages for AssetMetadatas.324       * 325       * AssetMetadatas: map AssetIds => Option<AssetMetadata>326       **/327      assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;328      /**329       * The storages for MultiLocations.330       * 331       * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>332       **/333      foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;334      /**335       * The storages for CurrencyIds.336       * 337       * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>338       **/339      locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;340      /**341       * Next available Foreign AssetId ID.342       * 343       * NextForeignAssetId: ForeignAssetId344       **/345      nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;346      /**347       * Generic query348       **/349      [key: string]: QueryableStorageEntry<ApiType>;350    };351    fungible: {352      /**353       * Storage for assets delegated to a limited extent to other users.354       **/355      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]>;356      /**357       * Amount of tokens owned by an account inside a collection.358       **/359      balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;360      /**361       * Total amount of fungible tokens inside a collection.362       **/363      totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;364      /**365       * Generic query366       **/367      [key: string]: QueryableStorageEntry<ApiType>;368    };369    inflation: {370      /**371       * Current inflation for `InflationBlockInterval` number of blocks372       **/373      blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;374      /**375       * Next target (relay) block when inflation will be applied376       **/377      nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;378      /**379       * Next target (relay) block when inflation is recalculated380       **/381      nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;382      /**383       * Relay block when inflation has started384       **/385      startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;386      /**387       * starting year total issuance388       **/389      startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;390      /**391       * Generic query392       **/393      [key: string]: QueryableStorageEntry<ApiType>;394    };395    maintenance: {396      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;397      /**398       * Generic query399       **/400      [key: string]: QueryableStorageEntry<ApiType>;401    };402    nonfungible: {403      /**404       * Amount of tokens owned by an account in a collection.405       **/406      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;407      /**408       * Allowance set by a token owner for another user to perform one of certain transactions on a token.409       **/410      allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;411      /**412       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.413       **/414      collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;415      /**416       * Used to enumerate tokens owned by account.417       **/418      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]>;419      /**420       * Custom data of a token that is serialized to bytes,421       * primarily reserved for on-chain operations,422       * normally obscured from the external users.423       * 424       * Auxiliary properties are slightly different from425       * usual [`TokenProperties`] due to an unlimited number426       * and separately stored and written-to key-value pairs.427       * 428       * Currently used to store RMRK data.429       **/430      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]>;431      /**432       * Used to enumerate token's children.433       **/434      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]>]>;435      /**436       * Token data, used to partially describe a token.437       **/438      tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;439      /**440       * Map of key-value pairs, describing the metadata of a token.441       **/442      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;443      /**444       * Amount of burnt tokens in a collection.445       **/446      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;447      /**448       * Total amount of minted tokens in a collection.449       **/450      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;451      /**452       * Generic query453       **/454      [key: string]: QueryableStorageEntry<ApiType>;455    };456    parachainInfo: {457      parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;458      /**459       * Generic query460       **/461      [key: string]: QueryableStorageEntry<ApiType>;462    };463    parachainSystem: {464      /**465       * The number of HRMP messages we observed in `on_initialize` and thus used that number for466       * announcing the weight of `on_initialize` and `on_finalize`.467       **/468      announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;469      /**470       * The next authorized upgrade, if there is one.471       **/472      authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;473      /**474       * A custom head data that should be returned as result of `validate_block`.475       * 476       * See [`Pallet::set_custom_validation_head_data`] for more information.477       **/478      customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;479      /**480       * Were the validation data set to notify the relay chain?481       **/482      didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;483      /**484       * The parachain host configuration that was obtained from the relay parent.485       * 486       * This field is meant to be updated each block with the validation data inherent. Therefore,487       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.488       * 489       * This data is also absent from the genesis.490       **/491      hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;492      /**493       * HRMP messages that were sent in a block.494       * 495       * This will be cleared in `on_initialize` of each new block.496       **/497      hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;498      /**499       * HRMP watermark that was set in a block.500       * 501       * This will be cleared in `on_initialize` of each new block.502       **/503      hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;504      /**505       * The last downward message queue chain head we have observed.506       * 507       * This value is loaded before and saved after processing inbound downward messages carried508       * by the system inherent.509       **/510      lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;511      /**512       * The message queue chain heads we have observed per each channel incoming channel.513       * 514       * This value is loaded before and saved after processing inbound downward messages carried515       * by the system inherent.516       **/517      lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;518      /**519       * The relay chain block number associated with the last parachain block.520       **/521      lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;522      /**523       * Validation code that is set by the parachain and is to be communicated to collator and524       * consequently the relay-chain.525       * 526       * This will be cleared in `on_initialize` of each new block if no other pallet already set527       * the value.528       **/529      newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;530      /**531       * Upward messages that are still pending and not yet send to the relay chain.532       **/533      pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;534      /**535       * In case of a scheduled upgrade, this storage field contains the validation code to be applied.536       * 537       * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]538       * which will result the next block process with the new validation code. This concludes the upgrade process.539       * 540       * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE541       **/542      pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;543      /**544       * Number of downward messages processed in a block.545       * 546       * This will be cleared in `on_initialize` of each new block.547       **/548      processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;549      /**550       * The state proof for the last relay parent block.551       * 552       * This field is meant to be updated each block with the validation data inherent. Therefore,553       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.554       * 555       * This data is also absent from the genesis.556       **/557      relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;558      /**559       * The snapshot of some state related to messaging relevant to the current parachain as per560       * the relay parent.561       * 562       * This field is meant to be updated each block with the validation data inherent. Therefore,563       * before processing of the inherent, e.g. in `on_initialize` this data may be stale.564       * 565       * This data is also absent from the genesis.566       **/567      relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;568      /**569       * The weight we reserve at the beginning of the block for processing DMP messages. This570       * overrides the amount set in the Config trait.571       **/572      reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;573      /**574       * The weight we reserve at the beginning of the block for processing XCMP messages. This575       * overrides the amount set in the Config trait.576       **/577      reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;578      /**579       * An option which indicates if the relay-chain restricts signalling a validation code upgrade.580       * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced581       * candidate will be invalid.582       * 583       * This storage item is a mirror of the corresponding value for the current parachain from the584       * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is585       * set after the inherent.586       **/587      upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;588      /**589       * Upward messages that were sent in a block.590       * 591       * This will be cleared in `on_initialize` of each new block.592       **/593      upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;594      /**595       * The [`PersistedValidationData`] set for this block.596       * This value is expected to be set only once per block and it's never stored597       * in the trie.598       **/599      validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;600      /**601       * Generic query602       **/603      [key: string]: QueryableStorageEntry<ApiType>;604    };605    randomnessCollectiveFlip: {606      /**607       * Series of block headers from the last 81 blocks that acts as random seed material. This608       * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of609       * the oldest hash.610       **/611      randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;612      /**613       * Generic query614       **/615      [key: string]: QueryableStorageEntry<ApiType>;616    };617    refungible: {618      /**619       * Amount of tokens (not pieces) partially owned by an account within a collection.620       **/621      accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;622      /**623       * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.624       **/625      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]>;626      /**627       * Amount of token pieces owned by account.628       **/629      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]>;630      /**631       * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.632       **/633      collectionAllowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr]>;634      /**635       * Used to enumerate tokens owned by account.636       **/637      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]>;638      /**639       * Amount of pieces a refungible token is split into.640       **/641      tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;642      /**643       * Amount of tokens burnt in a collection.644       **/645      tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;646      /**647       * Total amount of minted tokens in a collection.648       **/649      tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;650      /**651       * Total amount of pieces for token652       **/653      totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;654      /**655       * Generic query656       **/657      [key: string]: QueryableStorageEntry<ApiType>;658    };659    rmrkCore: {660      /**661       * Latest yet-unused collection ID.662       **/663      collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;664      /**665       * Mapping from RMRK collection ID to Unique's.666       **/667      uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;668      /**669       * Generic query670       **/671      [key: string]: QueryableStorageEntry<ApiType>;672    };673    rmrkEquip: {674      /**675       * Checkmark that a Base has a Theme NFT named "default".676       **/677      baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;678      /**679       * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.680       **/681      inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;682      /**683       * Generic query684       **/685      [key: string]: QueryableStorageEntry<ApiType>;686    };687    structure: {688      /**689       * Generic query690       **/691      [key: string]: QueryableStorageEntry<ApiType>;692    };693    sudo: {694      /**695       * The `AccountId` of the sudo key.696       **/697      key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;698      /**699       * Generic query700       **/701      [key: string]: QueryableStorageEntry<ApiType>;702    };703    system: {704      /**705       * The full account information for a particular account ID.706       **/707      account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;708      /**709       * Total length (in bytes) for all extrinsics put together, for the current block.710       **/711      allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;712      /**713       * Map of block numbers to block hashes.714       **/715      blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;716      /**717       * The current weight for the block.718       **/719      blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;720      /**721       * Digest of the current block, also part of the block header.722       **/723      digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;724      /**725       * The number of events in the `Events<T>` list.726       **/727      eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;728      /**729       * Events deposited for the current block.730       * 731       * NOTE: The item is unbound and should therefore never be read on chain.732       * It could otherwise inflate the PoV size of a block.733       * 734       * Events have a large in-memory size. Box the events to not go out-of-memory735       * just in case someone still reads them from within the runtime.736       **/737      events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;738      /**739       * Mapping between a topic (represented by T::Hash) and a vector of indexes740       * of events in the `<Events<T>>` list.741       * 742       * All topic vectors have deterministic storage locations depending on the topic. This743       * allows light-clients to leverage the changes trie storage tracking mechanism and744       * in case of changes fetch the list of events of interest.745       * 746       * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just747       * the `EventIndex` then in case if the topic has the same contents on the next block748       * no notification will be triggered thus the event might be lost.749       **/750      eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;751      /**752       * The execution phase of the block.753       **/754      executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;755      /**756       * Total extrinsics count for the current block.757       **/758      extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;759      /**760       * Extrinsics data for the current block (maps an extrinsic's index to its data).761       **/762      extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;763      /**764       * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.765       **/766      lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;767      /**768       * The current block number being processed. Set by `execute_block`.769       **/770      number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;771      /**772       * Hash of the previous block.773       **/774      parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;775      /**776       * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False777       * (default) if not.778       **/779      upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;780      /**781       * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.782       **/783      upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;784      /**785       * Generic query786       **/787      [key: string]: QueryableStorageEntry<ApiType>;788    };789    testUtils: {790      enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;791      testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;792      /**793       * Generic query794       **/795      [key: string]: QueryableStorageEntry<ApiType>;796    };797    timestamp: {798      /**799       * Did the timestamp get updated in this block?800       **/801      didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;802      /**803       * Current time for the current block.804       **/805      now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;806      /**807       * Generic query808       **/809      [key: string]: QueryableStorageEntry<ApiType>;810    };811    tokens: {812      /**813       * The balance of a token type under an account.814       * 815       * NOTE: If the total is ever zero, decrease account ref account.816       * 817       * NOTE: This is only used in the case that this module is used to store818       * balances.819       **/820      accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;821      /**822       * Any liquidity locks of a token type under an account.823       * NOTE: Should only be accessed when setting, changing and freeing a lock.824       **/825      locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;826      /**827       * Named reserves on some account balances.828       **/829      reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;830      /**831       * The total issuance of a token type.832       **/833      totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;834      /**835       * Generic query836       **/837      [key: string]: QueryableStorageEntry<ApiType>;838    };839    transactionPayment: {840      nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;841      storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;842      /**843       * Generic query844       **/845      [key: string]: QueryableStorageEntry<ApiType>;846    };847    treasury: {848      /**849       * Proposal indices that have been approved but not yet awarded.850       **/851      approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;852      /**853       * The amount which has been reported as inactive to Currency.854       **/855      inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;856      /**857       * Number of proposals that have been made.858       **/859      proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;860      /**861       * Proposals that have been made.862       **/863      proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;864      /**865       * Generic query866       **/867      [key: string]: QueryableStorageEntry<ApiType>;868    };869    unique: {870      /**871       * Used for migrations872       **/873      chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;874      /**875       * (Collection id (controlled?2), who created (real))876       * TODO: Off chain worker should remove from this map when collection gets removed877       **/878      createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;879      /**880       * Last sponsoring of fungible tokens approval in a collection881       **/882      fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;883      /**884       * Collection id (controlled?2), owning user (real)885       **/886      fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;887      /**888       * Last sponsoring of NFT approval in a collection889       **/890      nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;891      /**892       * Collection id (controlled?2), token id (controlled?2)893       **/894      nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;895      /**896       * Last sponsoring of RFT approval in a collection897       **/898      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]>;899      /**900       * Collection id (controlled?2), token id (controlled?2)901       **/902      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]>;903      /**904       * Last sponsoring of token property setting // todo:doc rephrase this and the following905       **/906      tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;907      /**908       * Variable metadata sponsoring909       * Collection id (controlled?2), token id (controlled?2)910       **/911      variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;912      /**913       * Generic query914       **/915      [key: string]: QueryableStorageEntry<ApiType>;916    };917    vesting: {918      /**919       * Vesting schedules of an account.920       * 921       * VestingSchedules: map AccountId => Vec<VestingSchedule>922       **/923      vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;924      /**925       * Generic query926       **/927      [key: string]: QueryableStorageEntry<ApiType>;928    };929    xcmpQueue: {930      /**931       * Inbound aggregate XCMP messages. It can only be one per ParaId/block.932       **/933      inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;934      /**935       * Status of the inbound XCMP channels.936       **/937      inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;938      /**939       * The messages outbound in a given XCMP channel.940       **/941      outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;942      /**943       * The non-empty XCMP channels in order of becoming non-empty, and the index of the first944       * and last outbound message. If the two indices are equal, then it indicates an empty945       * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater946       * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in947       * case of the need to send a high-priority signal message this block.948       * The bool is true if there is a signal message waiting to be sent.949       **/950      outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;951      /**952       * The messages that exceeded max individual message weight budget.953       * 954       * These message stay in this storage map until they are manually dispatched via955       * `service_overweight`.956       **/957      overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;958      /**959       * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next960       * available free overweight index.961       **/962      overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;963      /**964       * The configuration which controls the dynamics of the outbound queue.965       **/966      queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;967      /**968       * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.969       **/970      queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;971      /**972       * Any signal messages waiting to be sent.973       **/974      signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;975      /**976       * Generic query977       **/978      [key: string]: QueryableStorageEntry<ApiType>;979    };980  } // AugmentedQueries981} // declare module