difftreelog
fix the behavior of the `appPromotion::payoutStakers` extrinsic, in which one staker could be skipped when called sequentially.
in: master
3 files changed
pallets/app-promotion/src/lib.rsdiffbeforeafterboth--- a/pallets/app-promotion/src/lib.rs
+++ b/pallets/app-promotion/src/lib.rs
@@ -255,11 +255,11 @@
ValueQuery,
>;
- /// Stores a key for record for which the next revenue recalculation would be performed.
+ /// Stores a key for record for which the revenue recalculation was performed.
/// If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.
#[pallet::storage]
#[pallet::getter(fn get_next_calculated_record)]
- pub type NextCalculatedRecord<T: Config> =
+ pub type PreviousCalculatedRecord<T: Config> =
StorageValue<Value = (T::AccountId, T::BlockNumber), QueryKind = OptionQuery>;
#[pallet::hooks]
@@ -577,7 +577,7 @@
let mut stakers_number = stakers_number.unwrap_or(DEFAULT_NUMBER_PAYOUTS);
ensure!(
- stakers_number <= config.max_stakers_per_calculation,
+ stakers_number <= config.max_stakers_per_calculation && stakers_number != 0,
Error::<T>::NoPermission
);
@@ -595,7 +595,7 @@
let mut storage_iterator = Self::get_next_calculated_key()
.map_or(Staked::<T>::iter(), |key| Staked::<T>::iter_from(key));
- NextCalculatedRecord::<T>::set(None);
+ PreviousCalculatedRecord::<T>::set(None);
{
let last_id = RefCell::new(None);
@@ -640,10 +640,6 @@
(amount, next_recalc_block_for_stake),
)) = storage_iterator.next()
{
- if stakers_number == 0 {
- NextCalculatedRecord::<T>::set(Some((current_id, staked_block)));
- break;
- }
if last_id.borrow().as_ref() != Some(¤t_id) {
flush_stake()?;
*last_id.borrow_mut() = Some(current_id.clone());
@@ -662,6 +658,13 @@
&mut *income_acc.borrow_mut(),
);
}
+
+ if stakers_number == 0 {
+ if storage_iterator.next().is_some() {
+ PreviousCalculatedRecord::<T>::set(Some((current_id, staked_block)));
+ }
+ break;
+ }
}
flush_stake()?;
}
tests/src/app-promotion.test.tsdiffbeforeafterboth--- a/tests/src/app-promotion.test.ts
+++ b/tests/src/app-promotion.test.ts
@@ -33,40 +33,21 @@
requirePalletsOrSkip(this, helper, [Pallets.AppPromotion]);
donor = await privateKey({filename: __filename});
palletAddress = helper.arrange.calculatePalletAddress('appstake');
- palletAdmin = await privateKey('//PromotionAdmin');
+ palletAdmin = await privateKey('//Alice');
nominal = helper.balance.getOneTokenNominal();
- const accountBalances = new Array(100);
- accountBalances.fill(1000n);
- accounts = await helper.arrange.createAccounts(accountBalances, donor); // create accounts-pool to speed up tests
+ await helper.executeExtrinsic(palletAdmin, 'api.tx.sudo.sudo', [helper.api!.tx.appPromotion.setAdminAddress({Substrate: palletAdmin.address})]);
+ await helper.executeExtrinsic(palletAdmin, 'api.tx.sudo.sudo', [helper.api!.tx.configuration
+ .setAppPromotionConfigurationOverride({
+ recalculationInterval: LOCKING_PERIOD,
+ pendingInterval: UNLOCKING_PERIOD})], true);
});
});
describe('stake extrinsic', () => {
itSub('should "lock" staking balance, add it to "staked" map, and increase "totalStaked" amount', async ({helper}) => {
- const [staker, recepient] = [accounts.pop()!, accounts.pop()!];
- const totalStakedBefore = await helper.staking.getTotalStaked();
-
- // Minimum stake amount is 100:
- await expect(helper.staking.stake(staker, 100n * nominal - 1n)).to.be.rejected;
- await helper.staking.stake(staker, 100n * nominal);
-
- // Staker balance is: miscFrozen: 100, feeFrozen: 100, reserved: 0n...
- // ...so he can not transfer 900
- expect (await helper.balance.getSubstrateFull(staker.address)).to.contain({miscFrozen: 100n * nominal, feeFrozen: 100n * nominal, reserved: 0n});
- await expect(helper.balance.transferToSubstrate(staker, recepient.address, 900n * nominal)).to.be.rejectedWith('balances.LiquidityRestrictions');
-
- expect(await helper.staking.getTotalStaked({Substrate: staker.address})).to.be.equal(100n * nominal);
- expect(await helper.balance.getSubstrate(staker.address) / nominal).to.be.equal(999n);
- // it is potentially flaky test. Promotion can credited some tokens. Maybe we need to use closeTo?
- expect(await helper.staking.getTotalStaked()).to.be.equal(totalStakedBefore + 100n * nominal); // total tokens amount staked in app-promotion increased
-
-
- await helper.staking.stake(staker, 200n * nominal);
- expect(await helper.staking.getTotalStaked({Substrate: staker.address})).to.be.equal(300n * nominal);
- const totalStakedPerBlock = await helper.staking.getTotalStakedPerBlock({Substrate: staker.address});
- expect(totalStakedPerBlock[0].amount).to.equal(100n * nominal);
- expect(totalStakedPerBlock[1].amount).to.equal(200n * nominal);
+
+
});
itSub('should allow to create maximum 10 stakes for account', async ({helper}) => {
tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth1// 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, U8aFixed, 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, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, 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 a key for record for which the next revenue recalculation would be performed.27 * If `None`, then recalculation has not yet been performed or calculations have been completed for all stakers.28 **/29 nextCalculatedRecord: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;30 /**31 * Stores amount of stakes for an `Account`.32 * 33 * * **Key** - Staker account.34 * * **Value** - Amount of stakes.35 **/36 pendingUnstake: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, u128]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;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 * Any liquidity locks on some account balances.92 * NOTE: Should only be accessed when setting, changing and freeing a lock.93 **/94 locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;95 /**96 * Named reserves on some account balances.97 **/98 reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;99 /**100 * Storage version of the pallet.101 * 102 * This is set to v2.0.0 for new networks.103 **/104 storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;105 /**106 * The total units issued in the system.107 **/108 totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;109 /**110 * Generic query111 **/112 [key: string]: QueryableStorageEntry<ApiType>;113 };114 charging: {115 /**116 * Generic query117 **/118 [key: string]: QueryableStorageEntry<ApiType>;119 };120 common: {121 /**122 * Storage of the amount of collection admins.123 **/124 adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;125 /**126 * Allowlisted collection users.127 **/128 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;129 /**130 * Storage of collection info.131 **/132 collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;133 /**134 * Storage of collection properties.135 **/136 collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;137 /**138 * Storage of token property permissions of a collection.139 **/140 collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;141 /**142 * Storage of the count of created collections. Essentially contains the last collection ID.143 **/144 createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;145 /**146 * Storage of the count of deleted collections.147 **/148 destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;149 /**150 * Not used by code, exists only to provide some types to metadata.151 **/152 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;153 /**154 * List of collection admins.155 **/156 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;157 /**158 * Generic query159 **/160 [key: string]: QueryableStorageEntry<ApiType>;161 };162 configuration: {163 appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;164 minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;165 weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;166 xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;167 /**168 * Generic query169 **/170 [key: string]: QueryableStorageEntry<ApiType>;171 };172 dmpQueue: {173 /**174 * The configuration.175 **/176 configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;177 /**178 * The overweight messages.179 **/180 overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;181 /**182 * The page index.183 **/184 pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;185 /**186 * The queue pages.187 **/188 pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;189 /**190 * Generic query191 **/192 [key: string]: QueryableStorageEntry<ApiType>;193 };194 ethereum: {195 blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;196 /**197 * The current Ethereum block.198 **/199 currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;200 /**201 * The current Ethereum receipts.202 **/203 currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;204 /**205 * The current transaction statuses.206 **/207 currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;208 /**209 * Injected transactions should have unique nonce, here we store current210 **/211 injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;212 /**213 * Current building block's transactions and receipts.214 **/215 pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;216 /**217 * Generic query218 **/219 [key: string]: QueryableStorageEntry<ApiType>;220 };221 evm: {222 accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;223 accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;224 /**225 * Written on log, reset after transaction226 * Should be empty between transactions227 **/228 currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;229 /**230 * Generic query231 **/232 [key: string]: QueryableStorageEntry<ApiType>;233 };234 evmCoderSubstrate: {235 /**236 * Generic query237 **/238 [key: string]: QueryableStorageEntry<ApiType>;239 };240 evmContractHelpers: {241 /**242 * Storage for users that allowed for sponsorship.243 * 244 * ### Usage245 * Prefer to delete record from storage if user no more allowed for sponsorship.246 * 247 * * **Key1** - contract address.248 * * **Key2** - user that allowed for sponsorship.249 * * **Value** - allowance for sponsorship.250 **/251 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;252 /**253 * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.254 * 255 * ### Usage256 * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.257 * 258 * * **Key** - contract address.259 * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.260 **/261 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;262 /**263 * Store owner for contract.264 * 265 * * **Key** - contract address.266 * * **Value** - owner for contract.267 **/268 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;269 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;270 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;271 /**272 * Store for contract sponsorship state.273 * 274 * * **Key** - contract address.275 * * **Value** - sponsorship state.276 **/277 sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;278 /**279 * Storage for last sponsored block.280 * 281 * * **Key1** - contract address.282 * * **Key2** - sponsored user address.283 * * **Value** - last sponsored block number.284 **/285 sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;286 /**287 * Store for sponsoring mode.288 * 289 * ### Usage290 * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).291 * 292 * * **Key** - contract address.293 * * **Value** - [`sponsoring mode`](SponsoringModeT).294 **/295 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;296 /**297 * Storage for sponsoring rate limit in blocks.298 * 299 * * **Key** - contract address.300 * * **Value** - amount of sponsored blocks.301 **/302 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;303 /**304 * Generic query305 **/306 [key: string]: QueryableStorageEntry<ApiType>;307 };308 evmMigration: {309 migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;310 /**311 * Generic query312 **/313 [key: string]: QueryableStorageEntry<ApiType>;314 };315 foreignAssets: {316 /**317 * The storages for assets to fungible collection binding318 * 319 **/320 assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;321 /**322 * The storages for AssetMetadatas.323 * 324 * AssetMetadatas: map AssetIds => Option<AssetMetadata>325 **/326 assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;327 /**328 * The storages for MultiLocations.329 * 330 * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>331 **/332 foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;333 /**334 * The storages for CurrencyIds.335 * 336 * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>337 **/338 locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;339 /**340 * Next available Foreign AssetId ID.341 * 342 * NextForeignAssetId: ForeignAssetId343 **/344 nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;345 /**346 * Generic query347 **/348 [key: string]: QueryableStorageEntry<ApiType>;349 };350 fungible: {351 /**352 * Storage for assets delegated to a limited extent to other users.353 **/354 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]>;355 /**356 * Amount of tokens owned by an account inside a collection.357 **/358 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;359 /**360 * Total amount of fungible tokens inside a collection.361 **/362 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;363 /**364 * Generic query365 **/366 [key: string]: QueryableStorageEntry<ApiType>;367 };368 inflation: {369 /**370 * Current inflation for `InflationBlockInterval` number of blocks371 **/372 blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;373 /**374 * Next target (relay) block when inflation will be applied375 **/376 nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;377 /**378 * Next target (relay) block when inflation is recalculated379 **/380 nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;381 /**382 * Relay block when inflation has started383 **/384 startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;385 /**386 * starting year total issuance387 **/388 startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;389 /**390 * Generic query391 **/392 [key: string]: QueryableStorageEntry<ApiType>;393 };394 maintenance: {395 enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;396 /**397 * Generic query398 **/399 [key: string]: QueryableStorageEntry<ApiType>;400 };401 nonfungible: {402 /**403 * Amount of tokens owned by an account in a collection.404 **/405 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;406 /**407 * Allowance set by a token owner for another user to perform one of certain transactions on a token.408 **/409 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;410 /**411 * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.412 **/413 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]>;414 /**415 * Used to enumerate tokens owned by account.416 **/417 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]>;418 /**419 * Custom data of a token that is serialized to bytes,420 * primarily reserved for on-chain operations,421 * normally obscured from the external users.422 * 423 * Auxiliary properties are slightly different from424 * usual [`TokenProperties`] due to an unlimited number425 * and separately stored and written-to key-value pairs.426 * 427 * Currently used to store RMRK data.428 **/429 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]>;430 /**431 * Used to enumerate token's children.432 **/433 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]>]>;434 /**435 * Token data, used to partially describe a token.436 **/437 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;438 /**439 * Map of key-value pairs, describing the metadata of a token.440 **/441 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;442 /**443 * Amount of burnt tokens in a collection.444 **/445 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;446 /**447 * Total amount of minted tokens in a collection.448 **/449 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;450 /**451 * Generic query452 **/453 [key: string]: QueryableStorageEntry<ApiType>;454 };455 parachainInfo: {456 parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;457 /**458 * Generic query459 **/460 [key: string]: QueryableStorageEntry<ApiType>;461 };462 parachainSystem: {463 /**464 * The number of HRMP messages we observed in `on_initialize` and thus used that number for465 * announcing the weight of `on_initialize` and `on_finalize`.466 **/467 announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;468 /**469 * The next authorized upgrade, if there is one.470 **/471 authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;472 /**473 * A custom head data that should be returned as result of `validate_block`.474 * 475 * See [`Pallet::set_custom_validation_head_data`] for more information.476 **/477 customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;478 /**479 * Were the validation data set to notify the relay chain?480 **/481 didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;482 /**483 * The parachain host configuration that was obtained from the relay parent.484 * 485 * This field is meant to be updated each block with the validation data inherent. Therefore,486 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.487 * 488 * This data is also absent from the genesis.489 **/490 hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;491 /**492 * HRMP messages that were sent in a block.493 * 494 * This will be cleared in `on_initialize` of each new block.495 **/496 hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;497 /**498 * HRMP watermark that was set in a block.499 * 500 * This will be cleared in `on_initialize` of each new block.501 **/502 hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;503 /**504 * The last downward message queue chain head we have observed.505 * 506 * This value is loaded before and saved after processing inbound downward messages carried507 * by the system inherent.508 **/509 lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;510 /**511 * The message queue chain heads we have observed per each channel incoming channel.512 * 513 * This value is loaded before and saved after processing inbound downward messages carried514 * by the system inherent.515 **/516 lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;517 /**518 * The relay chain block number associated with the last parachain block.519 **/520 lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;521 /**522 * Validation code that is set by the parachain and is to be communicated to collator and523 * consequently the relay-chain.524 * 525 * This will be cleared in `on_initialize` of each new block if no other pallet already set526 * the value.527 **/528 newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;529 /**530 * Upward messages that are still pending and not yet send to the relay chain.531 **/532 pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;533 /**534 * In case of a scheduled upgrade, this storage field contains the validation code to be applied.535 * 536 * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]537 * which will result the next block process with the new validation code. This concludes the upgrade process.538 * 539 * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE540 **/541 pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;542 /**543 * Number of downward messages processed in a block.544 * 545 * This will be cleared in `on_initialize` of each new block.546 **/547 processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;548 /**549 * The state proof for the last relay parent block.550 * 551 * This field is meant to be updated each block with the validation data inherent. Therefore,552 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.553 * 554 * This data is also absent from the genesis.555 **/556 relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;557 /**558 * The snapshot of some state related to messaging relevant to the current parachain as per559 * the relay parent.560 * 561 * This field is meant to be updated each block with the validation data inherent. Therefore,562 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.563 * 564 * This data is also absent from the genesis.565 **/566 relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;567 /**568 * The weight we reserve at the beginning of the block for processing DMP messages. This569 * overrides the amount set in the Config trait.570 **/571 reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;572 /**573 * The weight we reserve at the beginning of the block for processing XCMP messages. This574 * overrides the amount set in the Config trait.575 **/576 reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;577 /**578 * An option which indicates if the relay-chain restricts signalling a validation code upgrade.579 * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced580 * candidate will be invalid.581 * 582 * This storage item is a mirror of the corresponding value for the current parachain from the583 * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is584 * set after the inherent.585 **/586 upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;587 /**588 * Upward messages that were sent in a block.589 * 590 * This will be cleared in `on_initialize` of each new block.591 **/592 upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;593 /**594 * The [`PersistedValidationData`] set for this block.595 * This value is expected to be set only once per block and it's never stored596 * in the trie.597 **/598 validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;599 /**600 * Generic query601 **/602 [key: string]: QueryableStorageEntry<ApiType>;603 };604 randomnessCollectiveFlip: {605 /**606 * Series of block headers from the last 81 blocks that acts as random seed material. This607 * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of608 * the oldest hash.609 **/610 randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;611 /**612 * Generic query613 **/614 [key: string]: QueryableStorageEntry<ApiType>;615 };616 refungible: {617 /**618 * Amount of tokens (not pieces) partially owned by an account within a collection.619 **/620 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;621 /**622 * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.623 **/624 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]>;625 /**626 * Amount of token pieces owned by account.627 **/628 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]>;629 /**630 * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.631 **/632 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]>;633 /**634 * Used to enumerate tokens owned by account.635 **/636 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]>;637 /**638 * Token data, used to partially describe a token.639 **/640 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;641 /**642 * Amount of pieces a refungible token is split into.643 **/644 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;645 /**646 * Amount of tokens burnt in a collection.647 **/648 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;649 /**650 * Total amount of minted tokens in a collection.651 **/652 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;653 /**654 * Total amount of pieces for token655 **/656 totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;657 /**658 * Generic query659 **/660 [key: string]: QueryableStorageEntry<ApiType>;661 };662 rmrkCore: {663 /**664 * Latest yet-unused collection ID.665 **/666 collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;667 /**668 * Mapping from RMRK collection ID to Unique's.669 **/670 uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;671 /**672 * Generic query673 **/674 [key: string]: QueryableStorageEntry<ApiType>;675 };676 rmrkEquip: {677 /**678 * Checkmark that a Base has a Theme NFT named "default".679 **/680 baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;681 /**682 * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.683 **/684 inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;685 /**686 * Generic query687 **/688 [key: string]: QueryableStorageEntry<ApiType>;689 };690 scheduler: {691 /**692 * Items to be executed, indexed by the block number that they should be executed on.693 **/694 agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletUniqueSchedulerV2BlockAgenda>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;695 /**696 * It contains the block number from which we should service tasks.697 * It's used for delaying the servicing of future blocks' agendas if we had overweight tasks.698 **/699 incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;700 /**701 * Lookup from a name to the block number and index of the task.702 **/703 lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;704 /**705 * Generic query706 **/707 [key: string]: QueryableStorageEntry<ApiType>;708 };709 structure: {710 /**711 * Generic query712 **/713 [key: string]: QueryableStorageEntry<ApiType>;714 };715 sudo: {716 /**717 * The `AccountId` of the sudo key.718 **/719 key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;720 /**721 * Generic query722 **/723 [key: string]: QueryableStorageEntry<ApiType>;724 };725 system: {726 /**727 * The full account information for a particular account ID.728 **/729 account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;730 /**731 * Total length (in bytes) for all extrinsics put together, for the current block.732 **/733 allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;734 /**735 * Map of block numbers to block hashes.736 **/737 blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;738 /**739 * The current weight for the block.740 **/741 blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;742 /**743 * Digest of the current block, also part of the block header.744 **/745 digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;746 /**747 * The number of events in the `Events<T>` list.748 **/749 eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;750 /**751 * Events deposited for the current block.752 * 753 * NOTE: The item is unbound and should therefore never be read on chain.754 * It could otherwise inflate the PoV size of a block.755 * 756 * Events have a large in-memory size. Box the events to not go out-of-memory757 * just in case someone still reads them from within the runtime.758 **/759 events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;760 /**761 * Mapping between a topic (represented by T::Hash) and a vector of indexes762 * of events in the `<Events<T>>` list.763 * 764 * All topic vectors have deterministic storage locations depending on the topic. This765 * allows light-clients to leverage the changes trie storage tracking mechanism and766 * in case of changes fetch the list of events of interest.767 * 768 * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just769 * the `EventIndex` then in case if the topic has the same contents on the next block770 * no notification will be triggered thus the event might be lost.771 **/772 eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;773 /**774 * The execution phase of the block.775 **/776 executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;777 /**778 * Total extrinsics count for the current block.779 **/780 extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;781 /**782 * Extrinsics data for the current block (maps an extrinsic's index to its data).783 **/784 extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;785 /**786 * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.787 **/788 lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;789 /**790 * The current block number being processed. Set by `execute_block`.791 **/792 number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;793 /**794 * Hash of the previous block.795 **/796 parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;797 /**798 * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False799 * (default) if not.800 **/801 upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;802 /**803 * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.804 **/805 upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;806 /**807 * Generic query808 **/809 [key: string]: QueryableStorageEntry<ApiType>;810 };811 testUtils: {812 enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;813 testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;814 /**815 * Generic query816 **/817 [key: string]: QueryableStorageEntry<ApiType>;818 };819 timestamp: {820 /**821 * Did the timestamp get updated in this block?822 **/823 didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;824 /**825 * Current time for the current block.826 **/827 now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;828 /**829 * Generic query830 **/831 [key: string]: QueryableStorageEntry<ApiType>;832 };833 tokens: {834 /**835 * The balance of a token type under an account.836 * 837 * NOTE: If the total is ever zero, decrease account ref account.838 * 839 * NOTE: This is only used in the case that this module is used to store840 * balances.841 **/842 accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;843 /**844 * Any liquidity locks of a token type under an account.845 * NOTE: Should only be accessed when setting, changing and freeing a lock.846 **/847 locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;848 /**849 * Named reserves on some account balances.850 **/851 reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;852 /**853 * The total issuance of a token type.854 **/855 totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;856 /**857 * Generic query858 **/859 [key: string]: QueryableStorageEntry<ApiType>;860 };861 transactionPayment: {862 nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;863 storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;864 /**865 * Generic query866 **/867 [key: string]: QueryableStorageEntry<ApiType>;868 };869 treasury: {870 /**871 * Proposal indices that have been approved but not yet awarded.872 **/873 approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;874 /**875 * Number of proposals that have been made.876 **/877 proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;878 /**879 * Proposals that have been made.880 **/881 proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;882 /**883 * Generic query884 **/885 [key: string]: QueryableStorageEntry<ApiType>;886 };887 unique: {888 /**889 * Used for migrations890 **/891 chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;892 /**893 * (Collection id (controlled?2), who created (real))894 * TODO: Off chain worker should remove from this map when collection gets removed895 **/896 createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;897 /**898 * Last sponsoring of fungible tokens approval in a collection899 **/900 fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;901 /**902 * Collection id (controlled?2), owning user (real)903 **/904 fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;905 /**906 * Last sponsoring of NFT approval in a collection907 **/908 nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;909 /**910 * Collection id (controlled?2), token id (controlled?2)911 **/912 nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;913 /**914 * Last sponsoring of RFT approval in a collection915 **/916 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]>;917 /**918 * Collection id (controlled?2), token id (controlled?2)919 **/920 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]>;921 /**922 * Last sponsoring of token property setting // todo:doc rephrase this and the following923 **/924 tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;925 /**926 * Variable metadata sponsoring927 * Collection id (controlled?2), token id (controlled?2)928 **/929 variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;930 /**931 * Generic query932 **/933 [key: string]: QueryableStorageEntry<ApiType>;934 };935 vesting: {936 /**937 * Vesting schedules of an account.938 * 939 * VestingSchedules: map AccountId => Vec<VestingSchedule>940 **/941 vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;942 /**943 * Generic query944 **/945 [key: string]: QueryableStorageEntry<ApiType>;946 };947 xcmpQueue: {948 /**949 * Inbound aggregate XCMP messages. It can only be one per ParaId/block.950 **/951 inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;952 /**953 * Status of the inbound XCMP channels.954 **/955 inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;956 /**957 * The messages outbound in a given XCMP channel.958 **/959 outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;960 /**961 * The non-empty XCMP channels in order of becoming non-empty, and the index of the first962 * and last outbound message. If the two indices are equal, then it indicates an empty963 * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater964 * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in965 * case of the need to send a high-priority signal message this block.966 * The bool is true if there is a signal message waiting to be sent.967 **/968 outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;969 /**970 * The messages that exceeded max individual message weight budget.971 * 972 * These message stay in this storage map until they are manually dispatched via973 * `service_overweight`.974 **/975 overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;976 /**977 * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next978 * available free overweight index.979 **/980 overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;981 /**982 * The configuration which controls the dynamics of the outbound queue.983 **/984 queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;985 /**986 * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.987 **/988 queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;989 /**990 * Any signal messages waiting to be sent.991 **/992 signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;993 /**994 * Generic query995 **/996 [key: string]: QueryableStorageEntry<ApiType>;997 };998 } // AugmentedQueries999} // declare module1// 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, U8aFixed, 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, PalletBalancesReleases, PalletBalancesReserveData, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletUniqueSchedulerV2BlockAgenda, 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 next revenue recalculation would be 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 * Any liquidity locks on some account balances.92 * NOTE: Should only be accessed when setting, changing and freeing a lock.93 **/94 locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;95 /**96 * Named reserves on some account balances.97 **/98 reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;99 /**100 * Storage version of the pallet.101 * 102 * This is set to v2.0.0 for new networks.103 **/104 storageVersion: AugmentedQuery<ApiType, () => Observable<PalletBalancesReleases>, []> & QueryableStorageEntry<ApiType, []>;105 /**106 * The total units issued in the system.107 **/108 totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;109 /**110 * Generic query111 **/112 [key: string]: QueryableStorageEntry<ApiType>;113 };114 charging: {115 /**116 * Generic query117 **/118 [key: string]: QueryableStorageEntry<ApiType>;119 };120 common: {121 /**122 * Storage of the amount of collection admins.123 **/124 adminAmount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;125 /**126 * Allowlisted collection users.127 **/128 allowlist: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;129 /**130 * Storage of collection info.131 **/132 collectionById: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<UpDataStructsCollection>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;133 /**134 * Storage of collection properties.135 **/136 collectionProperties: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;137 /**138 * Storage of token property permissions of a collection.139 **/140 collectionPropertyPermissions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<BTreeMap<Bytes, UpDataStructsPropertyPermission>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;141 /**142 * Storage of the count of created collections. Essentially contains the last collection ID.143 **/144 createdCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;145 /**146 * Storage of the count of deleted collections.147 **/148 destroyedCollectionCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;149 /**150 * Not used by code, exists only to provide some types to metadata.151 **/152 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;153 /**154 * List of collection admins.155 **/156 isAdmin: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;157 /**158 * Generic query159 **/160 [key: string]: QueryableStorageEntry<ApiType>;161 };162 configuration: {163 appPromomotionConfigurationOverride: AugmentedQuery<ApiType, () => Observable<PalletConfigurationAppPromotionConfiguration>, []> & QueryableStorageEntry<ApiType, []>;164 minGasPriceOverride: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;165 weightToFeeCoefficientOverride: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;166 xcmAllowedLocationsOverride: AugmentedQuery<ApiType, () => Observable<Option<Vec<XcmV1MultiLocation>>>, []> & QueryableStorageEntry<ApiType, []>;167 /**168 * Generic query169 **/170 [key: string]: QueryableStorageEntry<ApiType>;171 };172 dmpQueue: {173 /**174 * The configuration.175 **/176 configuration: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;177 /**178 * The overweight messages.179 **/180 overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;181 /**182 * The page index.183 **/184 pageIndex: AugmentedQuery<ApiType, () => Observable<CumulusPalletDmpQueuePageIndexData>, []> & QueryableStorageEntry<ApiType, []>;185 /**186 * The queue pages.187 **/188 pages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, Bytes]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;189 /**190 * Generic query191 **/192 [key: string]: QueryableStorageEntry<ApiType>;193 };194 ethereum: {195 blockHash: AugmentedQuery<ApiType, (arg: U256 | AnyNumber | Uint8Array) => Observable<H256>, [U256]> & QueryableStorageEntry<ApiType, [U256]>;196 /**197 * The current Ethereum block.198 **/199 currentBlock: AugmentedQuery<ApiType, () => Observable<Option<EthereumBlock>>, []> & QueryableStorageEntry<ApiType, []>;200 /**201 * The current Ethereum receipts.202 **/203 currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;204 /**205 * The current transaction statuses.206 **/207 currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;208 /**209 * Injected transactions should have unique nonce, here we store current210 **/211 injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;212 /**213 * Current building block's transactions and receipts.214 **/215 pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;216 /**217 * Generic query218 **/219 [key: string]: QueryableStorageEntry<ApiType>;220 };221 evm: {222 accountCodes: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Bytes>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;223 accountStorages: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<H256>, [H160, H256]> & QueryableStorageEntry<ApiType, [H160, H256]>;224 /**225 * Written on log, reset after transaction226 * Should be empty between transactions227 **/228 currentLogs: AugmentedQuery<ApiType, () => Observable<Vec<EthereumLog>>, []> & QueryableStorageEntry<ApiType, []>;229 /**230 * Generic query231 **/232 [key: string]: QueryableStorageEntry<ApiType>;233 };234 evmCoderSubstrate: {235 /**236 * Generic query237 **/238 [key: string]: QueryableStorageEntry<ApiType>;239 };240 evmContractHelpers: {241 /**242 * Storage for users that allowed for sponsorship.243 * 244 * ### Usage245 * Prefer to delete record from storage if user no more allowed for sponsorship.246 * 247 * * **Key1** - contract address.248 * * **Key2** - user that allowed for sponsorship.249 * * **Value** - allowance for sponsorship.250 **/251 allowlist: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<bool>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;252 /**253 * Storege for contracts with [`Allowlisted`](SponsoringModeT::Allowlisted) sponsoring mode.254 * 255 * ### Usage256 * Prefer to delete collection from storage if mode chaged to non `Allowlisted`, than set **Value** to **false**.257 * 258 * * **Key** - contract address.259 * * **Value** - is contract in [`Allowlisted`](SponsoringModeT::Allowlisted) mode.260 **/261 allowlistEnabled: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;262 /**263 * Store owner for contract.264 * 265 * * **Key** - contract address.266 * * **Value** - owner for contract.267 **/268 owner: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<H160>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;269 selfSponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;270 sponsorBasket: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: H160 | string | Uint8Array) => Observable<Option<u32>>, [H160, H160]> & QueryableStorageEntry<ApiType, [H160, H160]>;271 /**272 * Store for contract sponsorship state.273 * 274 * * **Key** - contract address.275 * * **Value** - sponsorship state.276 **/277 sponsoring: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<UpDataStructsSponsorshipStateBasicCrossAccountIdRepr>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;278 /**279 * Storage for last sponsored block.280 * 281 * * **Key1** - contract address.282 * * **Key2** - sponsored user address.283 * * **Value** - last sponsored block number.284 **/285 sponsoringFeeLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<BTreeMap<u32, U256>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;286 /**287 * Store for sponsoring mode.288 * 289 * ### Usage290 * Prefer to delete collection from storage if mode chaged to [`Disabled`](SponsoringModeT::Disabled).291 * 292 * * **Key** - contract address.293 * * **Value** - [`sponsoring mode`](SponsoringModeT).294 **/295 sponsoringMode: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletEvmContractHelpersSponsoringModeT>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;296 /**297 * Storage for sponsoring rate limit in blocks.298 * 299 * * **Key** - contract address.300 * * **Value** - amount of sponsored blocks.301 **/302 sponsoringRateLimit: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<u32>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;303 /**304 * Generic query305 **/306 [key: string]: QueryableStorageEntry<ApiType>;307 };308 evmMigration: {309 migrationPending: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<bool>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;310 /**311 * Generic query312 **/313 [key: string]: QueryableStorageEntry<ApiType>;314 };315 foreignAssets: {316 /**317 * The storages for assets to fungible collection binding318 * 319 **/320 assetBinding: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;321 /**322 * The storages for AssetMetadatas.323 * 324 * AssetMetadatas: map AssetIds => Option<AssetMetadata>325 **/326 assetMetadatas: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Option<PalletForeignAssetsModuleAssetMetadata>>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;327 /**328 * The storages for MultiLocations.329 * 330 * ForeignAssetLocations: map ForeignAssetId => Option<MultiLocation>331 **/332 foreignAssetLocations: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<XcmV1MultiLocation>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;333 /**334 * The storages for CurrencyIds.335 * 336 * LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>337 **/338 locationToCurrencyIds: AugmentedQuery<ApiType, (arg: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array) => Observable<Option<u32>>, [XcmV1MultiLocation]> & QueryableStorageEntry<ApiType, [XcmV1MultiLocation]>;339 /**340 * Next available Foreign AssetId ID.341 * 342 * NextForeignAssetId: ForeignAssetId343 **/344 nextForeignAssetId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;345 /**346 * Generic query347 **/348 [key: string]: QueryableStorageEntry<ApiType>;349 };350 fungible: {351 /**352 * Storage for assets delegated to a limited extent to other users.353 **/354 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]>;355 /**356 * Amount of tokens owned by an account inside a collection.357 **/358 balance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u128>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;359 /**360 * Total amount of fungible tokens inside a collection.361 **/362 totalSupply: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;363 /**364 * Generic query365 **/366 [key: string]: QueryableStorageEntry<ApiType>;367 };368 inflation: {369 /**370 * Current inflation for `InflationBlockInterval` number of blocks371 **/372 blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;373 /**374 * Next target (relay) block when inflation will be applied375 **/376 nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;377 /**378 * Next target (relay) block when inflation is recalculated379 **/380 nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;381 /**382 * Relay block when inflation has started383 **/384 startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;385 /**386 * starting year total issuance387 **/388 startingYearTotalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;389 /**390 * Generic query391 **/392 [key: string]: QueryableStorageEntry<ApiType>;393 };394 maintenance: {395 enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;396 /**397 * Generic query398 **/399 [key: string]: QueryableStorageEntry<ApiType>;400 };401 nonfungible: {402 /**403 * Amount of tokens owned by an account in a collection.404 **/405 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;406 /**407 * Allowance set by a token owner for another user to perform one of certain transactions on a token.408 **/409 allowance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletEvmAccountBasicCrossAccountIdRepr>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;410 /**411 * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.412 **/413 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]>;414 /**415 * Used to enumerate tokens owned by account.416 **/417 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]>;418 /**419 * Custom data of a token that is serialized to bytes,420 * primarily reserved for on-chain operations,421 * normally obscured from the external users.422 * 423 * Auxiliary properties are slightly different from424 * usual [`TokenProperties`] due to an unlimited number425 * and separately stored and written-to key-value pairs.426 * 427 * Currently used to store RMRK data.428 **/429 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]>;430 /**431 * Used to enumerate token's children.432 **/433 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]>]>;434 /**435 * Token data, used to partially describe a token.436 **/437 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;438 /**439 * Map of key-value pairs, describing the metadata of a token.440 **/441 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;442 /**443 * Amount of burnt tokens in a collection.444 **/445 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;446 /**447 * Total amount of minted tokens in a collection.448 **/449 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;450 /**451 * Generic query452 **/453 [key: string]: QueryableStorageEntry<ApiType>;454 };455 parachainInfo: {456 parachainId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;457 /**458 * Generic query459 **/460 [key: string]: QueryableStorageEntry<ApiType>;461 };462 parachainSystem: {463 /**464 * The number of HRMP messages we observed in `on_initialize` and thus used that number for465 * announcing the weight of `on_initialize` and `on_finalize`.466 **/467 announcedHrmpMessagesPerCandidate: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;468 /**469 * The next authorized upgrade, if there is one.470 **/471 authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;472 /**473 * A custom head data that should be returned as result of `validate_block`.474 * 475 * See [`Pallet::set_custom_validation_head_data`] for more information.476 **/477 customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;478 /**479 * Were the validation data set to notify the relay chain?480 **/481 didSetValidationCode: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;482 /**483 * The parachain host configuration that was obtained from the relay parent.484 * 485 * This field is meant to be updated each block with the validation data inherent. Therefore,486 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.487 * 488 * This data is also absent from the genesis.489 **/490 hostConfiguration: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2AbridgedHostConfiguration>>, []> & QueryableStorageEntry<ApiType, []>;491 /**492 * HRMP messages that were sent in a block.493 * 494 * This will be cleared in `on_initialize` of each new block.495 **/496 hrmpOutboundMessages: AugmentedQuery<ApiType, () => Observable<Vec<PolkadotCorePrimitivesOutboundHrmpMessage>>, []> & QueryableStorageEntry<ApiType, []>;497 /**498 * HRMP watermark that was set in a block.499 * 500 * This will be cleared in `on_initialize` of each new block.501 **/502 hrmpWatermark: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;503 /**504 * The last downward message queue chain head we have observed.505 * 506 * This value is loaded before and saved after processing inbound downward messages carried507 * by the system inherent.508 **/509 lastDmqMqcHead: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;510 /**511 * The message queue chain heads we have observed per each channel incoming channel.512 * 513 * This value is loaded before and saved after processing inbound downward messages carried514 * by the system inherent.515 **/516 lastHrmpMqcHeads: AugmentedQuery<ApiType, () => Observable<BTreeMap<u32, H256>>, []> & QueryableStorageEntry<ApiType, []>;517 /**518 * The relay chain block number associated with the last parachain block.519 **/520 lastRelayChainBlockNumber: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;521 /**522 * Validation code that is set by the parachain and is to be communicated to collator and523 * consequently the relay-chain.524 * 525 * This will be cleared in `on_initialize` of each new block if no other pallet already set526 * the value.527 **/528 newValidationCode: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;529 /**530 * Upward messages that are still pending and not yet send to the relay chain.531 **/532 pendingUpwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;533 /**534 * In case of a scheduled upgrade, this storage field contains the validation code to be applied.535 * 536 * As soon as the relay chain gives us the go-ahead signal, we will overwrite the [`:code`][well_known_keys::CODE]537 * which will result the next block process with the new validation code. This concludes the upgrade process.538 * 539 * [well_known_keys::CODE]: sp_core::storage::well_known_keys::CODE540 **/541 pendingValidationCode: AugmentedQuery<ApiType, () => Observable<Bytes>, []> & QueryableStorageEntry<ApiType, []>;542 /**543 * Number of downward messages processed in a block.544 * 545 * This will be cleared in `on_initialize` of each new block.546 **/547 processedDownwardMessages: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;548 /**549 * The state proof for the last relay parent block.550 * 551 * This field is meant to be updated each block with the validation data inherent. Therefore,552 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.553 * 554 * This data is also absent from the genesis.555 **/556 relayStateProof: AugmentedQuery<ApiType, () => Observable<Option<SpTrieStorageProof>>, []> & QueryableStorageEntry<ApiType, []>;557 /**558 * The snapshot of some state related to messaging relevant to the current parachain as per559 * the relay parent.560 * 561 * This field is meant to be updated each block with the validation data inherent. Therefore,562 * before processing of the inherent, e.g. in `on_initialize` this data may be stale.563 * 564 * This data is also absent from the genesis.565 **/566 relevantMessagingState: AugmentedQuery<ApiType, () => Observable<Option<CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot>>, []> & QueryableStorageEntry<ApiType, []>;567 /**568 * The weight we reserve at the beginning of the block for processing DMP messages. This569 * overrides the amount set in the Config trait.570 **/571 reservedDmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;572 /**573 * The weight we reserve at the beginning of the block for processing XCMP messages. This574 * overrides the amount set in the Config trait.575 **/576 reservedXcmpWeightOverride: AugmentedQuery<ApiType, () => Observable<Option<SpWeightsWeightV2Weight>>, []> & QueryableStorageEntry<ApiType, []>;577 /**578 * An option which indicates if the relay-chain restricts signalling a validation code upgrade.579 * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced580 * candidate will be invalid.581 * 582 * This storage item is a mirror of the corresponding value for the current parachain from the583 * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is584 * set after the inherent.585 **/586 upgradeRestrictionSignal: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2UpgradeRestriction>>, []> & QueryableStorageEntry<ApiType, []>;587 /**588 * Upward messages that were sent in a block.589 * 590 * This will be cleared in `on_initialize` of each new block.591 **/592 upwardMessages: AugmentedQuery<ApiType, () => Observable<Vec<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;593 /**594 * The [`PersistedValidationData`] set for this block.595 * This value is expected to be set only once per block and it's never stored596 * in the trie.597 **/598 validationData: AugmentedQuery<ApiType, () => Observable<Option<PolkadotPrimitivesV2PersistedValidationData>>, []> & QueryableStorageEntry<ApiType, []>;599 /**600 * Generic query601 **/602 [key: string]: QueryableStorageEntry<ApiType>;603 };604 randomnessCollectiveFlip: {605 /**606 * Series of block headers from the last 81 blocks that acts as random seed material. This607 * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of608 * the oldest hash.609 **/610 randomMaterial: AugmentedQuery<ApiType, () => Observable<Vec<H256>>, []> & QueryableStorageEntry<ApiType, []>;611 /**612 * Generic query613 **/614 [key: string]: QueryableStorageEntry<ApiType>;615 };616 refungible: {617 /**618 * Amount of tokens (not pieces) partially owned by an account within a collection.619 **/620 accountBalance: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => Observable<u32>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;621 /**622 * Allowance set by a token owner for another user to perform one of certain transactions on a number of pieces of a token.623 **/624 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]>;625 /**626 * Amount of token pieces owned by account.627 **/628 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]>;629 /**630 * Operator set by a wallet owner that could perform certain transactions on all tokens in the wallet.631 **/632 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]>;633 /**634 * Used to enumerate tokens owned by account.635 **/636 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]>;637 /**638 * Token data, used to partially describe a token.639 **/640 tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PalletRefungibleItemData>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;641 /**642 * Amount of pieces a refungible token is split into.643 **/644 tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;645 /**646 * Amount of tokens burnt in a collection.647 **/648 tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;649 /**650 * Total amount of minted tokens in a collection.651 **/652 tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;653 /**654 * Total amount of pieces for token655 **/656 totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;657 /**658 * Generic query659 **/660 [key: string]: QueryableStorageEntry<ApiType>;661 };662 rmrkCore: {663 /**664 * Latest yet-unused collection ID.665 **/666 collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;667 /**668 * Mapping from RMRK collection ID to Unique's.669 **/670 uniqueCollectionId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;671 /**672 * Generic query673 **/674 [key: string]: QueryableStorageEntry<ApiType>;675 };676 rmrkEquip: {677 /**678 * Checkmark that a Base has a Theme NFT named "default".679 **/680 baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;681 /**682 * Map of a Base ID and a Part ID to an NFT in the Base collection serving as the Part.683 **/684 inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;685 /**686 * Generic query687 **/688 [key: string]: QueryableStorageEntry<ApiType>;689 };690 scheduler: {691 /**692 * Items to be executed, indexed by the block number that they should be executed on.693 **/694 agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletUniqueSchedulerV2BlockAgenda>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;695 /**696 * It contains the block number from which we should service tasks.697 * It's used for delaying the servicing of future blocks' agendas if we had overweight tasks.698 **/699 incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;700 /**701 * Lookup from a name to the block number and index of the task.702 **/703 lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>;704 /**705 * Generic query706 **/707 [key: string]: QueryableStorageEntry<ApiType>;708 };709 structure: {710 /**711 * Generic query712 **/713 [key: string]: QueryableStorageEntry<ApiType>;714 };715 sudo: {716 /**717 * The `AccountId` of the sudo key.718 **/719 key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;720 /**721 * Generic query722 **/723 [key: string]: QueryableStorageEntry<ApiType>;724 };725 system: {726 /**727 * The full account information for a particular account ID.728 **/729 account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;730 /**731 * Total length (in bytes) for all extrinsics put together, for the current block.732 **/733 allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;734 /**735 * Map of block numbers to block hashes.736 **/737 blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;738 /**739 * The current weight for the block.740 **/741 blockWeight: AugmentedQuery<ApiType, () => Observable<FrameSupportDispatchPerDispatchClassWeight>, []> & QueryableStorageEntry<ApiType, []>;742 /**743 * Digest of the current block, also part of the block header.744 **/745 digest: AugmentedQuery<ApiType, () => Observable<SpRuntimeDigest>, []> & QueryableStorageEntry<ApiType, []>;746 /**747 * The number of events in the `Events<T>` list.748 **/749 eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;750 /**751 * Events deposited for the current block.752 * 753 * NOTE: The item is unbound and should therefore never be read on chain.754 * It could otherwise inflate the PoV size of a block.755 * 756 * Events have a large in-memory size. Box the events to not go out-of-memory757 * just in case someone still reads them from within the runtime.758 **/759 events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;760 /**761 * Mapping between a topic (represented by T::Hash) and a vector of indexes762 * of events in the `<Events<T>>` list.763 * 764 * All topic vectors have deterministic storage locations depending on the topic. This765 * allows light-clients to leverage the changes trie storage tracking mechanism and766 * in case of changes fetch the list of events of interest.767 * 768 * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just769 * the `EventIndex` then in case if the topic has the same contents on the next block770 * no notification will be triggered thus the event might be lost.771 **/772 eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;773 /**774 * The execution phase of the block.775 **/776 executionPhase: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemPhase>>, []> & QueryableStorageEntry<ApiType, []>;777 /**778 * Total extrinsics count for the current block.779 **/780 extrinsicCount: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;781 /**782 * Extrinsics data for the current block (maps an extrinsic's index to its data).783 **/784 extrinsicData: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;785 /**786 * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened.787 **/788 lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>;789 /**790 * The current block number being processed. Set by `execute_block`.791 **/792 number: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;793 /**794 * Hash of the previous block.795 **/796 parentHash: AugmentedQuery<ApiType, () => Observable<H256>, []> & QueryableStorageEntry<ApiType, []>;797 /**798 * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False799 * (default) if not.800 **/801 upgradedToTripleRefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;802 /**803 * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not.804 **/805 upgradedToU32RefCount: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;806 /**807 * Generic query808 **/809 [key: string]: QueryableStorageEntry<ApiType>;810 };811 testUtils: {812 enabled: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;813 testValue: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;814 /**815 * Generic query816 **/817 [key: string]: QueryableStorageEntry<ApiType>;818 };819 timestamp: {820 /**821 * Did the timestamp get updated in this block?822 **/823 didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;824 /**825 * Current time for the current block.826 **/827 now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;828 /**829 * Generic query830 **/831 [key: string]: QueryableStorageEntry<ApiType>;832 };833 tokens: {834 /**835 * The balance of a token type under an account.836 * 837 * NOTE: If the total is ever zero, decrease account ref account.838 * 839 * NOTE: This is only used in the case that this module is used to store840 * balances.841 **/842 accounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<OrmlTokensAccountData>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;843 /**844 * Any liquidity locks of a token type under an account.845 * NOTE: Should only be accessed when setting, changing and freeing a lock.846 **/847 locks: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensBalanceLock>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;848 /**849 * Named reserves on some account balances.850 **/851 reserves: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<Vec<OrmlTokensReserveData>>, [AccountId32, PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [AccountId32, PalletForeignAssetsAssetIds]>;852 /**853 * The total issuance of a token type.854 **/855 totalIssuance: AugmentedQuery<ApiType, (arg: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array) => Observable<u128>, [PalletForeignAssetsAssetIds]> & QueryableStorageEntry<ApiType, [PalletForeignAssetsAssetIds]>;856 /**857 * Generic query858 **/859 [key: string]: QueryableStorageEntry<ApiType>;860 };861 transactionPayment: {862 nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;863 storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, []> & QueryableStorageEntry<ApiType, []>;864 /**865 * Generic query866 **/867 [key: string]: QueryableStorageEntry<ApiType>;868 };869 treasury: {870 /**871 * Proposal indices that have been approved but not yet awarded.872 **/873 approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;874 /**875 * Number of proposals that have been made.876 **/877 proposalCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;878 /**879 * Proposals that have been made.880 **/881 proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;882 /**883 * Generic query884 **/885 [key: string]: QueryableStorageEntry<ApiType>;886 };887 unique: {888 /**889 * Used for migrations890 **/891 chainVersion: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;892 /**893 * (Collection id (controlled?2), who created (real))894 * TODO: Off chain worker should remove from this map when collection gets removed895 **/896 createItemBasket: AugmentedQuery<ApiType, (arg: ITuple<[u32, AccountId32]> | [u32 | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => Observable<Option<u32>>, [ITuple<[u32, AccountId32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, AccountId32]>]>;897 /**898 * Last sponsoring of fungible tokens approval in a collection899 **/900 fungibleApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;901 /**902 * Collection id (controlled?2), owning user (real)903 **/904 fungibleTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;905 /**906 * Last sponsoring of NFT approval in a collection907 **/908 nftApproveBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;909 /**910 * Collection id (controlled?2), token id (controlled?2)911 **/912 nftTransferBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;913 /**914 * Last sponsoring of RFT approval in a collection915 **/916 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]>;917 /**918 * Collection id (controlled?2), token id (controlled?2)919 **/920 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]>;921 /**922 * Last sponsoring of token property setting // todo:doc rephrase this and the following923 **/924 tokenPropertyBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;925 /**926 * Variable metadata sponsoring927 * Collection id (controlled?2), token id (controlled?2)928 **/929 variableMetaDataBasket: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;930 /**931 * Generic query932 **/933 [key: string]: QueryableStorageEntry<ApiType>;934 };935 vesting: {936 /**937 * Vesting schedules of an account.938 * 939 * VestingSchedules: map AccountId => Vec<VestingSchedule>940 **/941 vestingSchedules: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<OrmlVestingVestingSchedule>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;942 /**943 * Generic query944 **/945 [key: string]: QueryableStorageEntry<ApiType>;946 };947 xcmpQueue: {948 /**949 * Inbound aggregate XCMP messages. It can only be one per ParaId/block.950 **/951 inboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;952 /**953 * Status of the inbound XCMP channels.954 **/955 inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;956 /**957 * The messages outbound in a given XCMP channel.958 **/959 outboundXcmpMessages: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32, u16]> & QueryableStorageEntry<ApiType, [u32, u16]>;960 /**961 * The non-empty XCMP channels in order of becoming non-empty, and the index of the first962 * and last outbound message. If the two indices are equal, then it indicates an empty963 * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater964 * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in965 * case of the need to send a high-priority signal message this block.966 * The bool is true if there is a signal message waiting to be sent.967 **/968 outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;969 /**970 * The messages that exceeded max individual message weight budget.971 * 972 * These message stay in this storage map until they are manually dispatched via973 * `service_overweight`.974 **/975 overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;976 /**977 * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next978 * available free overweight index.979 **/980 overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;981 /**982 * The configuration which controls the dynamics of the outbound queue.983 **/984 queueConfig: AugmentedQuery<ApiType, () => Observable<CumulusPalletXcmpQueueQueueConfigData>, []> & QueryableStorageEntry<ApiType, []>;985 /**986 * Whether or not the XCMP queue is suspended from executing incoming XCMs or not.987 **/988 queueSuspended: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>;989 /**990 * Any signal messages waiting to be sent.991 **/992 signalMessages: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;993 /**994 * Generic query995 **/996 [key: string]: QueryableStorageEntry<ApiType>;997 };998 } // AugmentedQueries999} // declare module