@dedot/chaintypes 0.244.0 → 0.246.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,16 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
4
- import type { AccountId32Like } from 'dedot/codecs';
5
- import type { AssetHubKusamaRuntimeRuntimeCallLike, AssetHubKusamaRuntimeProxyType } from './types.js';
4
+ import type { AccountId32Like, Result } from 'dedot/codecs';
5
+ import type {
6
+ AssetHubKusamaRuntimeRuntimeCallLike,
7
+ AssetHubKusamaRuntimeProxyType,
8
+ PalletAssetsAssetDetails,
9
+ PalletAssetsAssetMetadata,
10
+ StagingXcmV5Location,
11
+ AssetsCommonLocalAndForeignAssetsForeignAssetReserveData,
12
+ PalletAssetConversionError,
13
+ } from './types.js';
6
14
 
7
15
  export interface ChainViewFunctions extends GenericChainViewFunctions {
8
16
  /**
@@ -34,6 +42,191 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
34
42
  **/
35
43
  [name: string]: GenericViewFunction;
36
44
  };
45
+ /**
46
+ * Pallet `Assets`'s view functions
47
+ **/
48
+ assets: {
49
+ /**
50
+ * Provide the asset details for asset `id`.
51
+ *
52
+ * @param {number} id
53
+ **/
54
+ assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
55
+
56
+ /**
57
+ * Provide the balance of `who` for asset `id`.
58
+ *
59
+ * @param {AccountId32Like} who
60
+ * @param {number} id
61
+ **/
62
+ balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
63
+
64
+ /**
65
+ * Provide the configured metadata for asset `id`.
66
+ *
67
+ * @param {number} id
68
+ **/
69
+ getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
70
+
71
+ /**
72
+ * Provide the configured reserves data for asset `id`.
73
+ *
74
+ * @param {number} id
75
+ **/
76
+ getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
77
+
78
+ /**
79
+ * Generic pallet view function
80
+ **/
81
+ [name: string]: GenericViewFunction;
82
+ };
83
+ /**
84
+ * Pallet `ForeignAssets`'s view functions
85
+ **/
86
+ foreignAssets: {
87
+ /**
88
+ * Provide the asset details for asset `id`.
89
+ *
90
+ * @param {StagingXcmV5Location} id
91
+ **/
92
+ assetDetails: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetDetails | undefined>>;
93
+
94
+ /**
95
+ * Provide the balance of `who` for asset `id`.
96
+ *
97
+ * @param {AccountId32Like} who
98
+ * @param {StagingXcmV5Location} id
99
+ **/
100
+ balanceOf: GenericViewFunction<(who: AccountId32Like, id: StagingXcmV5Location) => Promise<bigint | undefined>>;
101
+
102
+ /**
103
+ * Provide the configured metadata for asset `id`.
104
+ *
105
+ * @param {StagingXcmV5Location} id
106
+ **/
107
+ getMetadata: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetMetadata | undefined>>;
108
+
109
+ /**
110
+ * Provide the configured reserves data for asset `id`.
111
+ *
112
+ * @param {StagingXcmV5Location} id
113
+ **/
114
+ getReservesData: GenericViewFunction<
115
+ (id: StagingXcmV5Location) => Promise<Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>>
116
+ >;
117
+
118
+ /**
119
+ * Generic pallet view function
120
+ **/
121
+ [name: string]: GenericViewFunction;
122
+ };
123
+ /**
124
+ * Pallet `PoolAssets`'s view functions
125
+ **/
126
+ poolAssets: {
127
+ /**
128
+ * Provide the asset details for asset `id`.
129
+ *
130
+ * @param {number} id
131
+ **/
132
+ assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
133
+
134
+ /**
135
+ * Provide the balance of `who` for asset `id`.
136
+ *
137
+ * @param {AccountId32Like} who
138
+ * @param {number} id
139
+ **/
140
+ balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
141
+
142
+ /**
143
+ * Provide the configured metadata for asset `id`.
144
+ *
145
+ * @param {number} id
146
+ **/
147
+ getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
148
+
149
+ /**
150
+ * Provide the configured reserves data for asset `id`.
151
+ *
152
+ * @param {number} id
153
+ **/
154
+ getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
155
+
156
+ /**
157
+ * Generic pallet view function
158
+ **/
159
+ [name: string]: GenericViewFunction;
160
+ };
161
+ /**
162
+ * Pallet `AssetConversion`'s view functions
163
+ **/
164
+ assetConversion: {
165
+ /**
166
+ * Returns the balance of each asset in the pool.
167
+ * The tuple result is in the order requested (not necessarily the same as pool order).
168
+ *
169
+ * @param {StagingXcmV5Location} asset1
170
+ * @param {StagingXcmV5Location} asset2
171
+ **/
172
+ getReserves: GenericViewFunction<
173
+ (
174
+ asset1: StagingXcmV5Location,
175
+ asset2: StagingXcmV5Location,
176
+ ) => Promise<Result<[bigint, bigint], PalletAssetConversionError>>
177
+ >;
178
+
179
+ /**
180
+ * Gets a quote for swapping an exact amount of `asset1` for `asset2`.
181
+ *
182
+ * If `include_fee` is true, the quote will include the liquidity provider fee.
183
+ * If the pool does not exist or has no liquidity, `None` is returned.
184
+ * Note that the price may have changed by the time the transaction is executed.
185
+ * (Use `amount_out_min` to control slippage.)
186
+ * Returns `Some(quoted_amount)` on success.
187
+ *
188
+ * @param {StagingXcmV5Location} asset1
189
+ * @param {StagingXcmV5Location} asset2
190
+ * @param {bigint} amount
191
+ * @param {boolean} includeFee
192
+ **/
193
+ quotePriceExactTokensForTokens: GenericViewFunction<
194
+ (
195
+ asset1: StagingXcmV5Location,
196
+ asset2: StagingXcmV5Location,
197
+ amount: bigint,
198
+ includeFee: boolean,
199
+ ) => Promise<bigint | undefined>
200
+ >;
201
+
202
+ /**
203
+ * Gets a quote for swapping `amount` of `asset1` for an exact amount of `asset2`.
204
+ *
205
+ * If `include_fee` is true, the quote will include the liquidity provider fee.
206
+ * If the pool does not exist or has no liquidity, `None` is returned.
207
+ * Note that the price may have changed by the time the transaction is executed.
208
+ * (Use `amount_in_max` to control slippage.)
209
+ * Returns `Some(quoted_amount)` on success.
210
+ *
211
+ * @param {StagingXcmV5Location} asset1
212
+ * @param {StagingXcmV5Location} asset2
213
+ * @param {bigint} amount
214
+ * @param {boolean} includeFee
215
+ **/
216
+ quotePriceTokensForExactTokens: GenericViewFunction<
217
+ (
218
+ asset1: StagingXcmV5Location,
219
+ asset2: StagingXcmV5Location,
220
+ amount: bigint,
221
+ includeFee: boolean,
222
+ ) => Promise<bigint | undefined>
223
+ >;
224
+
225
+ /**
226
+ * Generic pallet view function
227
+ **/
228
+ [name: string]: GenericViewFunction;
229
+ };
37
230
  /**
38
231
  * Pallet `VoterList`'s view functions
39
232
  **/
@@ -6,6 +6,7 @@ import type {
6
6
  FrameSystemDispatchEventInfo,
7
7
  SpWeightsWeightV2Weight,
8
8
  FrameSupportTokensMiscBalanceStatus,
9
+ PeopleKusamaRuntimeRuntimeHoldReason,
9
10
  PalletBalancesUnexpectedKind,
10
11
  StagingXcmV5TraitsOutcome,
11
12
  StagingXcmV5Location,
@@ -326,11 +327,21 @@ export interface ChainEvents extends GenericChainEvents {
326
327
  **/
327
328
  Minted: GenericPalletEvent<'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
328
329
 
330
+ /**
331
+ * Some credit was balanced and added to the TotalIssuance.
332
+ **/
333
+ MintedCredit: GenericPalletEvent<'Balances', 'MintedCredit', { amount: bigint }>;
334
+
329
335
  /**
330
336
  * Some amount was burned from an account.
331
337
  **/
332
338
  Burned: GenericPalletEvent<'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
333
339
 
340
+ /**
341
+ * Some debt has been dropped from the Total Issuance.
342
+ **/
343
+ BurnedDebt: GenericPalletEvent<'Balances', 'BurnedDebt', { amount: bigint }>;
344
+
334
345
  /**
335
346
  * Some amount was suspended from an account (it can be restored later).
336
347
  **/
@@ -381,6 +392,51 @@ export interface ChainEvents extends GenericChainEvents {
381
392
  **/
382
393
  TotalIssuanceForced: GenericPalletEvent<'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
383
394
 
395
+ /**
396
+ * Some balance was placed on hold.
397
+ **/
398
+ Held: GenericPalletEvent<
399
+ 'Balances',
400
+ 'Held',
401
+ { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
402
+ >;
403
+
404
+ /**
405
+ * Held balance was burned from an account.
406
+ **/
407
+ BurnedHeld: GenericPalletEvent<
408
+ 'Balances',
409
+ 'BurnedHeld',
410
+ { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
411
+ >;
412
+
413
+ /**
414
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
415
+ **/
416
+ TransferOnHold: GenericPalletEvent<
417
+ 'Balances',
418
+ 'TransferOnHold',
419
+ { reason: PeopleKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint }
420
+ >;
421
+
422
+ /**
423
+ * The `transferred` balance is placed on hold at the `dest` account.
424
+ **/
425
+ TransferAndHold: GenericPalletEvent<
426
+ 'Balances',
427
+ 'TransferAndHold',
428
+ { reason: PeopleKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; transferred: bigint }
429
+ >;
430
+
431
+ /**
432
+ * Some balance was released from hold.
433
+ **/
434
+ Released: GenericPalletEvent<
435
+ 'Balances',
436
+ 'Released',
437
+ { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint }
438
+ >;
439
+
384
440
  /**
385
441
  * An unexpected/defensive event was triggered.
386
442
  **/
@@ -1122,7 +1178,14 @@ export interface ChainEvents extends GenericChainEvents {
1122
1178
  PureCreated: GenericPalletEvent<
1123
1179
  'Proxy',
1124
1180
  'PureCreated',
1125
- { pure: AccountId32; who: AccountId32; proxyType: PeopleKusamaRuntimeProxyType; disambiguationIndex: number }
1181
+ {
1182
+ pure: AccountId32;
1183
+ who: AccountId32;
1184
+ proxyType: PeopleKusamaRuntimeProxyType;
1185
+ disambiguationIndex: number;
1186
+ at: number;
1187
+ extrinsicIndex: number;
1188
+ }
1126
1189
  >;
1127
1190
 
1128
1191
  /**
@@ -49,7 +49,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
49
49
 
50
50
  /**
51
51
  * @name: KusamaPeopleApi
52
- * @specVersion: 2000007
52
+ * @specVersion: 2001000
53
53
  **/
54
54
  export interface KusamaPeopleApi extends GenericSubstrateApi {
55
55
  rpc: ChainJsonRpcApis;
@@ -22,12 +22,12 @@ import type {
22
22
  SpWeightsWeightV2Weight,
23
23
  CumulusPalletParachainSystemUnincludedSegmentAncestor,
24
24
  CumulusPalletParachainSystemUnincludedSegmentSegmentTracker,
25
- PolkadotPrimitivesV8PersistedValidationData,
26
- PolkadotPrimitivesV8UpgradeRestriction,
27
- PolkadotPrimitivesV8UpgradeGoAhead,
25
+ PolkadotPrimitivesV9PersistedValidationData,
26
+ PolkadotPrimitivesV9UpgradeRestriction,
27
+ PolkadotPrimitivesV9UpgradeGoAhead,
28
28
  SpTrieStorageProof,
29
29
  CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot,
30
- PolkadotPrimitivesV8AbridgedHostConfiguration,
30
+ PolkadotPrimitivesV9AbridgedHostConfiguration,
31
31
  CumulusPrimitivesParachainInherentMessageQueueChain,
32
32
  PolkadotParachainPrimitivesPrimitivesId,
33
33
  CumulusPalletParachainSystemParachainInherentInboundMessageId,
@@ -289,12 +289,12 @@ export interface ChainStorage extends GenericChainStorage {
289
289
 
290
290
  /**
291
291
  * The [`PersistedValidationData`] set for this block.
292
- * This value is expected to be set only once per block and it's never stored
293
- * in the trie.
294
292
  *
295
- * @param {Callback<PolkadotPrimitivesV8PersistedValidationData | undefined> =} callback
293
+ * This value is expected to be set only once by the [`Pallet::set_validation_data`] inherent.
294
+ *
295
+ * @param {Callback<PolkadotPrimitivesV9PersistedValidationData | undefined> =} callback
296
296
  **/
297
- validationData: GenericStorageQuery<() => PolkadotPrimitivesV8PersistedValidationData | undefined>;
297
+ validationData: GenericStorageQuery<() => PolkadotPrimitivesV9PersistedValidationData | undefined>;
298
298
 
299
299
  /**
300
300
  * Were the validation data set to notify the relay chain?
@@ -321,9 +321,9 @@ export interface ChainStorage extends GenericChainStorage {
321
321
  * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
322
322
  * set after the inherent.
323
323
  *
324
- * @param {Callback<PolkadotPrimitivesV8UpgradeRestriction | undefined> =} callback
324
+ * @param {Callback<PolkadotPrimitivesV9UpgradeRestriction | undefined> =} callback
325
325
  **/
326
- upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeRestriction | undefined>;
326
+ upgradeRestrictionSignal: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeRestriction | undefined>;
327
327
 
328
328
  /**
329
329
  * Optional upgrade go-ahead signal from the relay-chain.
@@ -332,9 +332,9 @@ export interface ChainStorage extends GenericChainStorage {
332
332
  * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is
333
333
  * set after the inherent.
334
334
  *
335
- * @param {Callback<PolkadotPrimitivesV8UpgradeGoAhead | undefined> =} callback
335
+ * @param {Callback<PolkadotPrimitivesV9UpgradeGoAhead | undefined> =} callback
336
336
  **/
337
- upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV8UpgradeGoAhead | undefined>;
337
+ upgradeGoAhead: GenericStorageQuery<() => PolkadotPrimitivesV9UpgradeGoAhead | undefined>;
338
338
 
339
339
  /**
340
340
  * The state proof for the last relay parent block.
@@ -371,9 +371,9 @@ export interface ChainStorage extends GenericChainStorage {
371
371
  *
372
372
  * This data is also absent from the genesis.
373
373
  *
374
- * @param {Callback<PolkadotPrimitivesV8AbridgedHostConfiguration | undefined> =} callback
374
+ * @param {Callback<PolkadotPrimitivesV9AbridgedHostConfiguration | undefined> =} callback
375
375
  **/
376
- hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV8AbridgedHostConfiguration | undefined>;
376
+ hostConfiguration: GenericStorageQuery<() => PolkadotPrimitivesV9AbridgedHostConfiguration | undefined>;
377
377
 
378
378
  /**
379
379
  * The last downward message queue chain head we have observed.
@@ -447,19 +447,28 @@ export interface ChainStorage extends GenericChainStorage {
447
447
  /**
448
448
  * Upward messages that were sent in a block.
449
449
  *
450
- * This will be cleared in `on_initialize` of each new block.
450
+ * This will be cleared in `on_initialize` for each new block.
451
451
  *
452
452
  * @param {Callback<Array<Bytes>> =} callback
453
453
  **/
454
454
  upwardMessages: GenericStorageQuery<() => Array<Bytes>>;
455
455
 
456
456
  /**
457
- * Upward messages that are still pending and not yet send to the relay chain.
457
+ * Upward messages that are still pending and not yet sent to the relay chain.
458
458
  *
459
459
  * @param {Callback<Array<Bytes>> =} callback
460
460
  **/
461
461
  pendingUpwardMessages: GenericStorageQuery<() => Array<Bytes>>;
462
462
 
463
+ /**
464
+ * Upward signals that are still pending and not yet sent to the relay chain.
465
+ *
466
+ * This will be cleared in `on_finalize` for each block.
467
+ *
468
+ * @param {Callback<Array<Bytes>> =} callback
469
+ **/
470
+ pendingUpwardSignals: GenericStorageQuery<() => Array<Bytes>>;
471
+
463
472
  /**
464
473
  * The factor to multiply the base delivery fee by for UMP.
465
474
  *
@@ -829,6 +838,17 @@ export interface ChainStorage extends GenericChainStorage {
829
838
  [SpCoreCryptoKeyTypeId, Bytes]
830
839
  >;
831
840
 
841
+ /**
842
+ * Accounts whose keys were set via `SessionInterface` (external path) without
843
+ * incrementing the consumer reference or placing a key deposit. `do_purge_keys`
844
+ * only decrements consumers for accounts that were registered through the local
845
+ * session pallet.
846
+ *
847
+ * @param {AccountId32Like} arg
848
+ * @param {Callback<[] | undefined> =} callback
849
+ **/
850
+ externallySetKeys: GenericStorageQuery<(arg: AccountId32Like) => [] | undefined, AccountId32>;
851
+
832
852
  /**
833
853
  * Generic pallet storage query
834
854
  **/
@@ -18,7 +18,7 @@ import type {
18
18
  SpConsensusSlotsSlotDuration,
19
19
  SpConsensusAuraSr25519AppSr25519Public,
20
20
  SpConsensusSlotsSlot,
21
- SpRuntimeBlock,
21
+ SpRuntimeBlockLazyBlock,
22
22
  SpRuntimeExtrinsicInclusionMode,
23
23
  SpCoreOpaqueMetadata,
24
24
  SpRuntimeTransactionValidityTransactionValidityError,
@@ -135,9 +135,9 @@ export interface RuntimeApis extends GenericRuntimeApis {
135
135
  * Execute the given block.
136
136
  *
137
137
  * @callname: Core_execute_block
138
- * @param {SpRuntimeBlock} block
138
+ * @param {SpRuntimeBlockLazyBlock} block
139
139
  **/
140
- executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
140
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlockLazyBlock) => Promise<[]>>;
141
141
 
142
142
  /**
143
143
  * Initialize a block with the given header and return the runtime executive mode.
@@ -228,11 +228,11 @@ export interface RuntimeApis extends GenericRuntimeApis {
228
228
  * Check that the inherents are valid. The inherent data will vary from chain to chain.
229
229
  *
230
230
  * @callname: BlockBuilder_check_inherents
231
- * @param {SpRuntimeBlock} block
231
+ * @param {SpRuntimeBlockLazyBlock} block
232
232
  * @param {SpInherentsInherentData} data
233
233
  **/
234
234
  checkInherents: GenericRuntimeApiMethod<
235
- (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
235
+ (block: SpRuntimeBlockLazyBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
236
236
  >;
237
237
 
238
238
  /**
@@ -506,6 +506,8 @@ export interface RuntimeApis extends GenericRuntimeApis {
506
506
  >;
507
507
 
508
508
  /**
509
+ * Query delivery fees V2.
510
+ *
509
511
  * Get delivery fees for sending a specific `message` to a `destination`.
510
512
  * These always come in a specific asset, defined by the chain.
511
513
  *
@@ -518,11 +520,13 @@ export interface RuntimeApis extends GenericRuntimeApis {
518
520
  * @callname: XcmPaymentApi_query_delivery_fees
519
521
  * @param {XcmVersionedLocation} destination
520
522
  * @param {XcmVersionedXcm} message
523
+ * @param {XcmVersionedAssetId} asset_id
521
524
  **/
522
525
  queryDeliveryFees: GenericRuntimeApiMethod<
523
526
  (
524
527
  destination: XcmVersionedLocation,
525
528
  message: XcmVersionedXcm,
529
+ assetId: XcmVersionedAssetId,
526
530
  ) => Promise<Result<XcmVersionedAssets, XcmRuntimeApisFeesError>>
527
531
  >;
528
532
 
@@ -249,13 +249,13 @@ export type CumulusPalletParachainSystemCallLike =
249
249
  | { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
250
250
 
251
251
  export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
252
- validationData: PolkadotPrimitivesV8PersistedValidationData;
252
+ validationData: PolkadotPrimitivesV9PersistedValidationData;
253
253
  relayChainState: SpTrieStorageProof;
254
254
  relayParentDescendants: Array<Header>;
255
255
  collatorPeerId?: Bytes | undefined;
256
256
  };
257
257
 
258
- export type PolkadotPrimitivesV8PersistedValidationData = {
258
+ export type PolkadotPrimitivesV9PersistedValidationData = {
259
259
  parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
260
260
  relayParentNumber: number;
261
261
  relayParentStorageRoot: H256;
@@ -3940,7 +3940,8 @@ export type PalletIdentityJudgement =
3940
3940
  export type SpRuntimeMultiSignature =
3941
3941
  | { type: 'Ed25519'; value: FixedBytes<64> }
3942
3942
  | { type: 'Sr25519'; value: FixedBytes<64> }
3943
- | { type: 'Ecdsa'; value: FixedBytes<65> };
3943
+ | { type: 'Ecdsa'; value: FixedBytes<65> }
3944
+ | { type: 'Eth'; value: FixedBytes<65> };
3944
3945
 
3945
3946
  export type FrameSystemExtensionsCheckNonZeroSender = {};
3946
3947
 
@@ -4265,10 +4266,18 @@ export type PalletBalancesEvent =
4265
4266
  * Some amount was minted into an account.
4266
4267
  **/
4267
4268
  | { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
4269
+ /**
4270
+ * Some credit was balanced and added to the TotalIssuance.
4271
+ **/
4272
+ | { name: 'MintedCredit'; data: { amount: bigint } }
4268
4273
  /**
4269
4274
  * Some amount was burned from an account.
4270
4275
  **/
4271
4276
  | { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
4277
+ /**
4278
+ * Some debt has been dropped from the Total Issuance.
4279
+ **/
4280
+ | { name: 'BurnedDebt'; data: { amount: bigint } }
4272
4281
  /**
4273
4282
  * Some amount was suspended from an account (it can be restored later).
4274
4283
  **/
@@ -4309,6 +4318,37 @@ export type PalletBalancesEvent =
4309
4318
  * The `TotalIssuance` was forcefully changed.
4310
4319
  **/
4311
4320
  | { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
4321
+ /**
4322
+ * Some balance was placed on hold.
4323
+ **/
4324
+ | { name: 'Held'; data: { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
4325
+ /**
4326
+ * Held balance was burned from an account.
4327
+ **/
4328
+ | { name: 'BurnedHeld'; data: { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
4329
+ /**
4330
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
4331
+ **/
4332
+ | {
4333
+ name: 'TransferOnHold';
4334
+ data: { reason: PeopleKusamaRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint };
4335
+ }
4336
+ /**
4337
+ * The `transferred` balance is placed on hold at the `dest` account.
4338
+ **/
4339
+ | {
4340
+ name: 'TransferAndHold';
4341
+ data: {
4342
+ reason: PeopleKusamaRuntimeRuntimeHoldReason;
4343
+ source: AccountId32;
4344
+ dest: AccountId32;
4345
+ transferred: bigint;
4346
+ };
4347
+ }
4348
+ /**
4349
+ * Some balance was released from hold.
4350
+ **/
4351
+ | { name: 'Released'; data: { reason: PeopleKusamaRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
4312
4352
  /**
4313
4353
  * An unexpected/defensive event was triggered.
4314
4354
  **/
@@ -4316,6 +4356,14 @@ export type PalletBalancesEvent =
4316
4356
 
4317
4357
  export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
4318
4358
 
4359
+ export type PeopleKusamaRuntimeRuntimeHoldReason =
4360
+ | { type: 'Session'; value: PalletSessionHoldReason }
4361
+ | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
4362
+
4363
+ export type PalletSessionHoldReason = 'Keys';
4364
+
4365
+ export type PalletXcmHoldReason = 'AuthorizeAlias';
4366
+
4319
4367
  export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
4320
4368
 
4321
4369
  /**
@@ -4879,6 +4927,8 @@ export type PalletProxyEvent =
4879
4927
  who: AccountId32;
4880
4928
  proxyType: PeopleKusamaRuntimeProxyType;
4881
4929
  disambiguationIndex: number;
4930
+ at: number;
4931
+ extrinsicIndex: number;
4882
4932
  };
4883
4933
  }
4884
4934
  /**
@@ -5109,7 +5159,7 @@ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
5109
5159
  export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
5110
5160
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5111
5161
  paraHeadHash?: H256 | undefined;
5112
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5162
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
5113
5163
  };
5114
5164
 
5115
5165
  export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
@@ -5122,21 +5172,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
5122
5172
 
5123
5173
  export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
5124
5174
 
5125
- export type PolkadotPrimitivesV8UpgradeGoAhead = 'Abort' | 'GoAhead';
5175
+ export type PolkadotPrimitivesV9UpgradeGoAhead = 'Abort' | 'GoAhead';
5126
5176
 
5127
5177
  export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
5128
5178
  usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
5129
5179
  hrmpWatermark?: number | undefined;
5130
- consumedGoAheadSignal?: PolkadotPrimitivesV8UpgradeGoAhead | undefined;
5180
+ consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
5131
5181
  };
5132
5182
 
5133
- export type PolkadotPrimitivesV8UpgradeRestriction = 'Present';
5183
+ export type PolkadotPrimitivesV9UpgradeRestriction = 'Present';
5134
5184
 
5135
5185
  export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
5136
5186
  dmqMqcHead: H256;
5137
5187
  relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
5138
- ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5139
- egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV8AbridgedHrmpChannel]>;
5188
+ ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
5189
+ egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
5140
5190
  };
5141
5191
 
5142
5192
  export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
@@ -5144,7 +5194,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
5144
5194
  remainingSize: number;
5145
5195
  };
5146
5196
 
5147
- export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
5197
+ export type PolkadotPrimitivesV9AbridgedHrmpChannel = {
5148
5198
  maxCapacity: number;
5149
5199
  maxTotalSize: number;
5150
5200
  maxMessageSize: number;
@@ -5153,7 +5203,7 @@ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
5153
5203
  mqcHead?: H256 | undefined;
5154
5204
  };
5155
5205
 
5156
- export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
5206
+ export type PolkadotPrimitivesV9AbridgedHostConfiguration = {
5157
5207
  maxCodeSize: number;
5158
5208
  maxHeadDataSize: number;
5159
5209
  maxUpwardQueueCount: number;
@@ -5163,10 +5213,10 @@ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
5163
5213
  hrmpMaxMessageNumPerCandidate: number;
5164
5214
  validationUpgradeCooldown: number;
5165
5215
  validationUpgradeDelay: number;
5166
- asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
5216
+ asyncBackingParams: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams;
5167
5217
  };
5168
5218
 
5169
- export type PolkadotPrimitivesV8AsyncBackingAsyncBackingParams = {
5219
+ export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
5170
5220
  maxCandidateDepth: number;
5171
5221
  allowedAncestryLen: number;
5172
5222
  };
@@ -5227,14 +5277,6 @@ export type PalletBalancesReserveData = { id: FixedBytes<8>; amount: bigint };
5227
5277
 
5228
5278
  export type FrameSupportTokensMiscIdAmount = { id: PeopleKusamaRuntimeRuntimeHoldReason; amount: bigint };
5229
5279
 
5230
- export type PeopleKusamaRuntimeRuntimeHoldReason =
5231
- | { type: 'Session'; value: PalletSessionHoldReason }
5232
- | { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
5233
-
5234
- export type PalletSessionHoldReason = 'Keys';
5235
-
5236
- export type PalletXcmHoldReason = 'AuthorizeAlias';
5237
-
5238
5280
  export type FrameSupportTokensMiscIdAmount002 = { id: []; amount: bigint };
5239
5281
 
5240
5282
  /**
@@ -5992,6 +6034,10 @@ export type PalletIdentityError =
5992
6034
 
5993
6035
  export type SpConsensusSlotsSlotDuration = bigint;
5994
6036
 
6037
+ export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
6038
+
6039
+ export type SpRuntimeOpaqueExtrinsic = Bytes;
6040
+
5995
6041
  export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
5996
6042
 
5997
6043
  export type SpCoreOpaqueMetadata = Bytes;