@dedot/chaintypes 0.233.0 → 0.234.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.
- package/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.234.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "bfb8d791ba0072d4a4bc5c3f97e8ab995cb04b6e",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
|
@@ -142,31 +142,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
142
142
|
**/
|
|
143
143
|
[name: string]: any;
|
|
144
144
|
};
|
|
145
|
-
/**
|
|
146
|
-
* Pallet `MultiBlockMigrations`'s constants
|
|
147
|
-
**/
|
|
148
|
-
multiBlockMigrations: {
|
|
149
|
-
/**
|
|
150
|
-
* The maximal length of an encoded cursor.
|
|
151
|
-
*
|
|
152
|
-
* A good default needs to selected such that no migration will ever have a cursor with MEL
|
|
153
|
-
* above this limit. This is statically checked in `integrity_test`.
|
|
154
|
-
**/
|
|
155
|
-
cursorMaxLen: number;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* The maximal length of an encoded identifier.
|
|
159
|
-
*
|
|
160
|
-
* A good default needs to selected such that no migration will ever have an identifier
|
|
161
|
-
* with MEL above this limit. This is statically checked in `integrity_test`.
|
|
162
|
-
**/
|
|
163
|
-
identifierMaxLen: number;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Generic pallet constant
|
|
167
|
-
**/
|
|
168
|
-
[name: string]: any;
|
|
169
|
-
};
|
|
170
145
|
/**
|
|
171
146
|
* Pallet `WeightReclaim`'s constants
|
|
172
147
|
**/
|
|
@@ -1668,15 +1643,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1668
1643
|
**/
|
|
1669
1644
|
[name: string]: any;
|
|
1670
1645
|
};
|
|
1671
|
-
/**
|
|
1672
|
-
* Pallet `Sudo`'s constants
|
|
1673
|
-
**/
|
|
1674
|
-
sudo: {
|
|
1675
|
-
/**
|
|
1676
|
-
* Generic pallet constant
|
|
1677
|
-
**/
|
|
1678
|
-
[name: string]: any;
|
|
1679
|
-
};
|
|
1680
1646
|
/**
|
|
1681
1647
|
* Pallet `AhOps`'s constants
|
|
1682
1648
|
**/
|
|
@@ -194,20 +194,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
194
194
|
**/
|
|
195
195
|
[error: string]: GenericPalletError;
|
|
196
196
|
};
|
|
197
|
-
/**
|
|
198
|
-
* Pallet `MultiBlockMigrations`'s errors
|
|
199
|
-
**/
|
|
200
|
-
multiBlockMigrations: {
|
|
201
|
-
/**
|
|
202
|
-
* The operation cannot complete since some MBMs are ongoing.
|
|
203
|
-
**/
|
|
204
|
-
Ongoing: GenericPalletError;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Generic pallet error
|
|
208
|
-
**/
|
|
209
|
-
[error: string]: GenericPalletError;
|
|
210
|
-
};
|
|
211
197
|
/**
|
|
212
198
|
* Pallet `Balances`'s errors
|
|
213
199
|
**/
|
|
@@ -3139,20 +3125,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3139
3125
|
**/
|
|
3140
3126
|
[error: string]: GenericPalletError;
|
|
3141
3127
|
};
|
|
3142
|
-
/**
|
|
3143
|
-
* Pallet `Sudo`'s errors
|
|
3144
|
-
**/
|
|
3145
|
-
sudo: {
|
|
3146
|
-
/**
|
|
3147
|
-
* Sender must be the Sudo account.
|
|
3148
|
-
**/
|
|
3149
|
-
RequireSudo: GenericPalletError;
|
|
3150
|
-
|
|
3151
|
-
/**
|
|
3152
|
-
* Generic pallet error
|
|
3153
|
-
**/
|
|
3154
|
-
[error: string]: GenericPalletError;
|
|
3155
|
-
};
|
|
3156
3128
|
/**
|
|
3157
3129
|
* Pallet `AhOps`'s errors
|
|
3158
3130
|
**/
|
|
@@ -7,19 +7,19 @@ import type {
|
|
|
7
7
|
H256,
|
|
8
8
|
FixedBytes,
|
|
9
9
|
Result,
|
|
10
|
-
Bytes,
|
|
11
10
|
EthereumAddress,
|
|
12
11
|
FixedU128,
|
|
12
|
+
Bytes,
|
|
13
13
|
Permill,
|
|
14
14
|
Perbill,
|
|
15
15
|
H160,
|
|
16
16
|
} from 'dedot/codecs';
|
|
17
17
|
import type {
|
|
18
18
|
FrameSystemDispatchEventInfo,
|
|
19
|
-
|
|
19
|
+
AssetHubPolkadotRuntimeRuntimeTask,
|
|
20
20
|
SpWeightsWeightV2Weight,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
AssetHubPolkadotRuntimeRuntimeParametersKey,
|
|
22
|
+
AssetHubPolkadotRuntimeRuntimeParametersValue,
|
|
23
23
|
FrameSupportTokensMiscBalanceStatus,
|
|
24
24
|
PalletBalancesUnexpectedKind,
|
|
25
25
|
StagingXcmV5Location,
|
|
@@ -35,7 +35,7 @@ import type {
|
|
|
35
35
|
FrameSupportMessagesProcessMessageError,
|
|
36
36
|
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
37
37
|
PalletMultisigTimepoint,
|
|
38
|
-
|
|
38
|
+
AssetHubPolkadotRuntimeProxyType,
|
|
39
39
|
PalletProxyDepositKind,
|
|
40
40
|
PalletNftsAttributeNamespace,
|
|
41
41
|
PalletNftsPriceWithDirection,
|
|
@@ -109,12 +109,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
109
109
|
/**
|
|
110
110
|
* A [`Task`] has started executing
|
|
111
111
|
**/
|
|
112
|
-
TaskStarted: GenericPalletEvent<'System', 'TaskStarted', { task:
|
|
112
|
+
TaskStarted: GenericPalletEvent<'System', 'TaskStarted', { task: AssetHubPolkadotRuntimeRuntimeTask }>;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* A [`Task`] has finished executing.
|
|
116
116
|
**/
|
|
117
|
-
TaskCompleted: GenericPalletEvent<'System', 'TaskCompleted', { task:
|
|
117
|
+
TaskCompleted: GenericPalletEvent<'System', 'TaskCompleted', { task: AssetHubPolkadotRuntimeRuntimeTask }>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
120
|
* A [`Task`] failed during execution.
|
|
@@ -122,7 +122,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
122
122
|
TaskFailed: GenericPalletEvent<
|
|
123
123
|
'System',
|
|
124
124
|
'TaskFailed',
|
|
125
|
-
{ task:
|
|
125
|
+
{ task: AssetHubPolkadotRuntimeRuntimeTask; err: DispatchError }
|
|
126
126
|
>;
|
|
127
127
|
|
|
128
128
|
/**
|
|
@@ -323,146 +323,17 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
323
323
|
/**
|
|
324
324
|
* The key that was updated.
|
|
325
325
|
**/
|
|
326
|
-
key:
|
|
326
|
+
key: AssetHubPolkadotRuntimeRuntimeParametersKey;
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* The old value before this call.
|
|
330
330
|
**/
|
|
331
|
-
oldValue?:
|
|
331
|
+
oldValue?: AssetHubPolkadotRuntimeRuntimeParametersValue | undefined;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* The new value after this call.
|
|
335
335
|
**/
|
|
336
|
-
newValue?:
|
|
337
|
-
}
|
|
338
|
-
>;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Generic pallet event
|
|
342
|
-
**/
|
|
343
|
-
[prop: string]: GenericPalletEvent;
|
|
344
|
-
};
|
|
345
|
-
/**
|
|
346
|
-
* Pallet `MultiBlockMigrations`'s events
|
|
347
|
-
**/
|
|
348
|
-
multiBlockMigrations: {
|
|
349
|
-
/**
|
|
350
|
-
* A Runtime upgrade started.
|
|
351
|
-
*
|
|
352
|
-
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
353
|
-
**/
|
|
354
|
-
UpgradeStarted: GenericPalletEvent<
|
|
355
|
-
'MultiBlockMigrations',
|
|
356
|
-
'UpgradeStarted',
|
|
357
|
-
{
|
|
358
|
-
/**
|
|
359
|
-
* The number of migrations that this upgrade contains.
|
|
360
|
-
*
|
|
361
|
-
* This can be used to design a progress indicator in combination with counting the
|
|
362
|
-
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
363
|
-
**/
|
|
364
|
-
migrations: number;
|
|
365
|
-
}
|
|
366
|
-
>;
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* The current runtime upgrade completed.
|
|
370
|
-
*
|
|
371
|
-
* This implies that all of its migrations completed successfully as well.
|
|
372
|
-
**/
|
|
373
|
-
UpgradeCompleted: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeCompleted', null>;
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* Runtime upgrade failed.
|
|
377
|
-
*
|
|
378
|
-
* This is very bad and will require governance intervention.
|
|
379
|
-
**/
|
|
380
|
-
UpgradeFailed: GenericPalletEvent<'MultiBlockMigrations', 'UpgradeFailed', null>;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* A migration was skipped since it was already executed in the past.
|
|
384
|
-
**/
|
|
385
|
-
MigrationSkipped: GenericPalletEvent<
|
|
386
|
-
'MultiBlockMigrations',
|
|
387
|
-
'MigrationSkipped',
|
|
388
|
-
{
|
|
389
|
-
/**
|
|
390
|
-
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
391
|
-
**/
|
|
392
|
-
index: number;
|
|
393
|
-
}
|
|
394
|
-
>;
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* A migration progressed.
|
|
398
|
-
**/
|
|
399
|
-
MigrationAdvanced: GenericPalletEvent<
|
|
400
|
-
'MultiBlockMigrations',
|
|
401
|
-
'MigrationAdvanced',
|
|
402
|
-
{
|
|
403
|
-
/**
|
|
404
|
-
* The index of the migration within the [`Config::Migrations`] list.
|
|
405
|
-
**/
|
|
406
|
-
index: number;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* The number of blocks that this migration took so far.
|
|
410
|
-
**/
|
|
411
|
-
took: number;
|
|
412
|
-
}
|
|
413
|
-
>;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* A Migration completed.
|
|
417
|
-
**/
|
|
418
|
-
MigrationCompleted: GenericPalletEvent<
|
|
419
|
-
'MultiBlockMigrations',
|
|
420
|
-
'MigrationCompleted',
|
|
421
|
-
{
|
|
422
|
-
/**
|
|
423
|
-
* The index of the migration within the [`Config::Migrations`] list.
|
|
424
|
-
**/
|
|
425
|
-
index: number;
|
|
426
|
-
|
|
427
|
-
/**
|
|
428
|
-
* The number of blocks that this migration took so far.
|
|
429
|
-
**/
|
|
430
|
-
took: number;
|
|
431
|
-
}
|
|
432
|
-
>;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* A Migration failed.
|
|
436
|
-
*
|
|
437
|
-
* This implies that the whole upgrade failed and governance intervention is required.
|
|
438
|
-
**/
|
|
439
|
-
MigrationFailed: GenericPalletEvent<
|
|
440
|
-
'MultiBlockMigrations',
|
|
441
|
-
'MigrationFailed',
|
|
442
|
-
{
|
|
443
|
-
/**
|
|
444
|
-
* The index of the migration within the [`Config::Migrations`] list.
|
|
445
|
-
**/
|
|
446
|
-
index: number;
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* The number of blocks that this migration took so far.
|
|
450
|
-
**/
|
|
451
|
-
took: number;
|
|
452
|
-
}
|
|
453
|
-
>;
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* The set of historical migrations has been cleared.
|
|
457
|
-
**/
|
|
458
|
-
HistoricCleared: GenericPalletEvent<
|
|
459
|
-
'MultiBlockMigrations',
|
|
460
|
-
'HistoricCleared',
|
|
461
|
-
{
|
|
462
|
-
/**
|
|
463
|
-
* Should be passed to `clear_historic` in a successive call.
|
|
464
|
-
**/
|
|
465
|
-
nextCursor?: Bytes | undefined;
|
|
336
|
+
newValue?: AssetHubPolkadotRuntimeRuntimeParametersValue | undefined;
|
|
466
337
|
}
|
|
467
338
|
>;
|
|
468
339
|
|
|
@@ -1468,7 +1339,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1468
1339
|
PureCreated: GenericPalletEvent<
|
|
1469
1340
|
'Proxy',
|
|
1470
1341
|
'PureCreated',
|
|
1471
|
-
{ pure: AccountId32; who: AccountId32; proxyType:
|
|
1342
|
+
{ pure: AccountId32; who: AccountId32; proxyType: AssetHubPolkadotRuntimeProxyType; disambiguationIndex: number }
|
|
1472
1343
|
>;
|
|
1473
1344
|
|
|
1474
1345
|
/**
|
|
@@ -1477,7 +1348,12 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1477
1348
|
PureKilled: GenericPalletEvent<
|
|
1478
1349
|
'Proxy',
|
|
1479
1350
|
'PureKilled',
|
|
1480
|
-
{
|
|
1351
|
+
{
|
|
1352
|
+
pure: AccountId32;
|
|
1353
|
+
spawner: AccountId32;
|
|
1354
|
+
proxyType: AssetHubPolkadotRuntimeProxyType;
|
|
1355
|
+
disambiguationIndex: number;
|
|
1356
|
+
}
|
|
1481
1357
|
>;
|
|
1482
1358
|
|
|
1483
1359
|
/**
|
|
@@ -1491,7 +1367,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1491
1367
|
ProxyAdded: GenericPalletEvent<
|
|
1492
1368
|
'Proxy',
|
|
1493
1369
|
'ProxyAdded',
|
|
1494
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1370
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubPolkadotRuntimeProxyType; delay: number }
|
|
1495
1371
|
>;
|
|
1496
1372
|
|
|
1497
1373
|
/**
|
|
@@ -1500,7 +1376,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
1500
1376
|
ProxyRemoved: GenericPalletEvent<
|
|
1501
1377
|
'Proxy',
|
|
1502
1378
|
'ProxyRemoved',
|
|
1503
|
-
{ delegator: AccountId32; delegatee: AccountId32; proxyType:
|
|
1379
|
+
{ delegator: AccountId32; delegatee: AccountId32; proxyType: AssetHubPolkadotRuntimeProxyType; delay: number }
|
|
1504
1380
|
>;
|
|
1505
1381
|
|
|
1506
1382
|
/**
|
|
@@ -4162,67 +4038,6 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4162
4038
|
**/
|
|
4163
4039
|
[prop: string]: GenericPalletEvent;
|
|
4164
4040
|
};
|
|
4165
|
-
/**
|
|
4166
|
-
* Pallet `Sudo`'s events
|
|
4167
|
-
**/
|
|
4168
|
-
sudo: {
|
|
4169
|
-
/**
|
|
4170
|
-
* A sudo call just took place.
|
|
4171
|
-
**/
|
|
4172
|
-
Sudid: GenericPalletEvent<
|
|
4173
|
-
'Sudo',
|
|
4174
|
-
'Sudid',
|
|
4175
|
-
{
|
|
4176
|
-
/**
|
|
4177
|
-
* The result of the call made by the sudo user.
|
|
4178
|
-
**/
|
|
4179
|
-
sudoResult: Result<[], DispatchError>;
|
|
4180
|
-
}
|
|
4181
|
-
>;
|
|
4182
|
-
|
|
4183
|
-
/**
|
|
4184
|
-
* The sudo key has been updated.
|
|
4185
|
-
**/
|
|
4186
|
-
KeyChanged: GenericPalletEvent<
|
|
4187
|
-
'Sudo',
|
|
4188
|
-
'KeyChanged',
|
|
4189
|
-
{
|
|
4190
|
-
/**
|
|
4191
|
-
* The old sudo key (if one was previously set).
|
|
4192
|
-
**/
|
|
4193
|
-
old?: AccountId32 | undefined;
|
|
4194
|
-
|
|
4195
|
-
/**
|
|
4196
|
-
* The new sudo key (if one was set).
|
|
4197
|
-
**/
|
|
4198
|
-
new: AccountId32;
|
|
4199
|
-
}
|
|
4200
|
-
>;
|
|
4201
|
-
|
|
4202
|
-
/**
|
|
4203
|
-
* The key was permanently removed.
|
|
4204
|
-
**/
|
|
4205
|
-
KeyRemoved: GenericPalletEvent<'Sudo', 'KeyRemoved', null>;
|
|
4206
|
-
|
|
4207
|
-
/**
|
|
4208
|
-
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
4209
|
-
**/
|
|
4210
|
-
SudoAsDone: GenericPalletEvent<
|
|
4211
|
-
'Sudo',
|
|
4212
|
-
'SudoAsDone',
|
|
4213
|
-
{
|
|
4214
|
-
/**
|
|
4215
|
-
* The result of the call made by the sudo user.
|
|
4216
|
-
**/
|
|
4217
|
-
sudoResult: Result<[], DispatchError>;
|
|
4218
|
-
}
|
|
4219
|
-
>;
|
|
4220
|
-
|
|
4221
|
-
/**
|
|
4222
|
-
* Generic pallet event
|
|
4223
|
-
**/
|
|
4224
|
-
[prop: string]: GenericPalletEvent;
|
|
4225
|
-
};
|
|
4226
4041
|
/**
|
|
4227
4042
|
* Pallet `AhOps`'s events
|
|
4228
4043
|
**/
|
|
@@ -4,7 +4,7 @@ import type { GenericSubstrateApi, GenericChainKnownTypes } from 'dedot/types';
|
|
|
4
4
|
import type { MultiAddress } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemEventRecord,
|
|
7
|
-
|
|
7
|
+
AssetHubPolkadotRuntimeRuntimeCall,
|
|
8
8
|
SpRuntimeMultiSignature,
|
|
9
9
|
FrameSystemExtensionsCheckNonZeroSender,
|
|
10
10
|
FrameSystemExtensionsCheckSpecVersion,
|
|
@@ -32,7 +32,7 @@ export * from './types.js';
|
|
|
32
32
|
interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
33
33
|
Address: MultiAddress;
|
|
34
34
|
Signature: SpRuntimeMultiSignature;
|
|
35
|
-
RuntimeCall:
|
|
35
|
+
RuntimeCall: AssetHubPolkadotRuntimeRuntimeCall;
|
|
36
36
|
Extra: [
|
|
37
37
|
FrameSystemExtensionsCheckNonZeroSender,
|
|
38
38
|
FrameSystemExtensionsCheckSpecVersion,
|
|
@@ -52,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* @name: PaseoAssetHubApi
|
|
55
|
-
* @specVersion:
|
|
55
|
+
* @specVersion: 2000006
|
|
56
56
|
**/
|
|
57
57
|
export interface PaseoAssetHubApi extends GenericSubstrateApi {
|
|
58
58
|
rpc: ChainJsonRpcApis;
|
|
@@ -10,9 +10,9 @@ import type {
|
|
|
10
10
|
Phase,
|
|
11
11
|
FixedU128,
|
|
12
12
|
FixedBytes,
|
|
13
|
-
BytesLike,
|
|
14
13
|
EthereumAddress,
|
|
15
14
|
EthereumAddressLike,
|
|
15
|
+
BytesLike,
|
|
16
16
|
Perbill,
|
|
17
17
|
Percent,
|
|
18
18
|
H160,
|
|
@@ -40,9 +40,8 @@ import type {
|
|
|
40
40
|
PalletPreimageRequestStatus,
|
|
41
41
|
PalletSchedulerScheduled,
|
|
42
42
|
PalletSchedulerRetryConfig,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
PalletMigrationsMigrationCursor,
|
|
43
|
+
AssetHubPolkadotRuntimeRuntimeParametersValue,
|
|
44
|
+
AssetHubPolkadotRuntimeRuntimeParametersKey,
|
|
46
45
|
PalletBalancesAccountData,
|
|
47
46
|
PalletBalancesBalanceLock,
|
|
48
47
|
PalletBalancesReserveData,
|
|
@@ -54,10 +53,10 @@ import type {
|
|
|
54
53
|
PalletVestingReleases,
|
|
55
54
|
PolkadotRuntimeCommonClaimsStatementKind,
|
|
56
55
|
PalletCollatorSelectionCandidateInfo,
|
|
57
|
-
|
|
56
|
+
AssetHubPolkadotRuntimeSessionKeys,
|
|
58
57
|
SpStakingOffenceOffenceSeverity,
|
|
59
58
|
SpCoreCryptoKeyTypeId,
|
|
60
|
-
|
|
59
|
+
SpConsensusAuraEd25519AppEd25519Public,
|
|
61
60
|
SpConsensusSlotsSlot,
|
|
62
61
|
CumulusPalletXcmpQueueOutboundChannelDetails,
|
|
63
62
|
CumulusPalletXcmpQueueQueueConfigData,
|
|
@@ -122,7 +121,7 @@ import type {
|
|
|
122
121
|
PalletElectionProviderMultiBlockVerifierImplsPartialBackings,
|
|
123
122
|
SpNposElectionsElectionScore,
|
|
124
123
|
PalletElectionProviderMultiBlockVerifierImplsStatus,
|
|
125
|
-
|
|
124
|
+
AssetHubPolkadotRuntimeStakingNposCompactSolution16,
|
|
126
125
|
PalletElectionProviderMultiBlockSignedSubmissionMetadata,
|
|
127
126
|
PalletStakingAsyncLedgerStakingLedger,
|
|
128
127
|
PalletStakingAsyncRewardDestination,
|
|
@@ -712,12 +711,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
712
711
|
/**
|
|
713
712
|
* Stored parameters.
|
|
714
713
|
*
|
|
715
|
-
* @param {
|
|
716
|
-
* @param {Callback<
|
|
714
|
+
* @param {AssetHubPolkadotRuntimeRuntimeParametersKey} arg
|
|
715
|
+
* @param {Callback<AssetHubPolkadotRuntimeRuntimeParametersValue | undefined> =} callback
|
|
717
716
|
**/
|
|
718
717
|
parameters: GenericStorageQuery<
|
|
719
|
-
(arg:
|
|
720
|
-
|
|
718
|
+
(arg: AssetHubPolkadotRuntimeRuntimeParametersKey) => AssetHubPolkadotRuntimeRuntimeParametersValue | undefined,
|
|
719
|
+
AssetHubPolkadotRuntimeRuntimeParametersKey
|
|
721
720
|
>;
|
|
722
721
|
|
|
723
722
|
/**
|
|
@@ -725,35 +724,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
725
724
|
**/
|
|
726
725
|
[storage: string]: GenericStorageQuery;
|
|
727
726
|
};
|
|
728
|
-
/**
|
|
729
|
-
* Pallet `MultiBlockMigrations`'s storage queries
|
|
730
|
-
**/
|
|
731
|
-
multiBlockMigrations: {
|
|
732
|
-
/**
|
|
733
|
-
* The currently active migration to run and its cursor.
|
|
734
|
-
*
|
|
735
|
-
* `None` indicates that no migration is running.
|
|
736
|
-
*
|
|
737
|
-
* @param {Callback<PalletMigrationsMigrationCursor | undefined> =} callback
|
|
738
|
-
**/
|
|
739
|
-
cursor: GenericStorageQuery<() => PalletMigrationsMigrationCursor | undefined>;
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* Set of all successfully executed migrations.
|
|
743
|
-
*
|
|
744
|
-
* This is used as blacklist, to not re-execute migrations that have not been removed from the
|
|
745
|
-
* codebase yet. Governance can regularly clear this out via `clear_historic`.
|
|
746
|
-
*
|
|
747
|
-
* @param {BytesLike} arg
|
|
748
|
-
* @param {Callback<[] | undefined> =} callback
|
|
749
|
-
**/
|
|
750
|
-
historic: GenericStorageQuery<(arg: BytesLike) => [] | undefined, Bytes>;
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* Generic pallet storage query
|
|
754
|
-
**/
|
|
755
|
-
[storage: string]: GenericStorageQuery;
|
|
756
|
-
};
|
|
757
727
|
/**
|
|
758
728
|
* Pallet `Balances`'s storage queries
|
|
759
729
|
**/
|
|
@@ -1058,9 +1028,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1058
1028
|
* The queued keys for the next session. When the next session begins, these keys
|
|
1059
1029
|
* will be used to determine the validator's session keys.
|
|
1060
1030
|
*
|
|
1061
|
-
* @param {Callback<Array<[AccountId32,
|
|
1031
|
+
* @param {Callback<Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>> =} callback
|
|
1062
1032
|
**/
|
|
1063
|
-
queuedKeys: GenericStorageQuery<() => Array<[AccountId32,
|
|
1033
|
+
queuedKeys: GenericStorageQuery<() => Array<[AccountId32, AssetHubPolkadotRuntimeSessionKeys]>>;
|
|
1064
1034
|
|
|
1065
1035
|
/**
|
|
1066
1036
|
* Indices of disabled validators.
|
|
@@ -1077,9 +1047,12 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1077
1047
|
* The next session keys for a validator.
|
|
1078
1048
|
*
|
|
1079
1049
|
* @param {AccountId32Like} arg
|
|
1080
|
-
* @param {Callback<
|
|
1050
|
+
* @param {Callback<AssetHubPolkadotRuntimeSessionKeys | undefined> =} callback
|
|
1081
1051
|
**/
|
|
1082
|
-
nextKeys: GenericStorageQuery<
|
|
1052
|
+
nextKeys: GenericStorageQuery<
|
|
1053
|
+
(arg: AccountId32Like) => AssetHubPolkadotRuntimeSessionKeys | undefined,
|
|
1054
|
+
AccountId32
|
|
1055
|
+
>;
|
|
1083
1056
|
|
|
1084
1057
|
/**
|
|
1085
1058
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
@@ -1104,9 +1077,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1104
1077
|
/**
|
|
1105
1078
|
* The current authority set.
|
|
1106
1079
|
*
|
|
1107
|
-
* @param {Callback<Array<
|
|
1080
|
+
* @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
|
|
1108
1081
|
**/
|
|
1109
|
-
authorities: GenericStorageQuery<() => Array<
|
|
1082
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraEd25519AppEd25519Public>>;
|
|
1110
1083
|
|
|
1111
1084
|
/**
|
|
1112
1085
|
* The current slot of this block.
|
|
@@ -1133,9 +1106,9 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
1133
1106
|
* but we require the old authorities to verify the seal when validating a PoV. This will
|
|
1134
1107
|
* always be updated to the latest AuRa authorities in `on_finalize`.
|
|
1135
1108
|
*
|
|
1136
|
-
* @param {Callback<Array<
|
|
1109
|
+
* @param {Callback<Array<SpConsensusAuraEd25519AppEd25519Public>> =} callback
|
|
1137
1110
|
**/
|
|
1138
|
-
authorities: GenericStorageQuery<() => Array<
|
|
1111
|
+
authorities: GenericStorageQuery<() => Array<SpConsensusAuraEd25519AppEd25519Public>>;
|
|
1139
1112
|
|
|
1140
1113
|
/**
|
|
1141
1114
|
* Current relay chain slot paired with a number of authored blocks.
|
|
@@ -2890,10 +2863,10 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
2890
2863
|
* Triple map from (round, account, page) to a solution page.
|
|
2891
2864
|
*
|
|
2892
2865
|
* @param {[number, AccountId32Like, number]} arg
|
|
2893
|
-
* @param {Callback<
|
|
2866
|
+
* @param {Callback<AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined> =} callback
|
|
2894
2867
|
**/
|
|
2895
2868
|
submissionStorage: GenericStorageQuery<
|
|
2896
|
-
(arg: [number, AccountId32Like, number]) =>
|
|
2869
|
+
(arg: [number, AccountId32Like, number]) => AssetHubPolkadotRuntimeStakingNposCompactSolution16 | undefined,
|
|
2897
2870
|
[number, AccountId32, number]
|
|
2898
2871
|
>;
|
|
2899
2872
|
|
|
@@ -3524,22 +3497,6 @@ export interface ChainStorage extends GenericChainStorage {
|
|
|
3524
3497
|
**/
|
|
3525
3498
|
[storage: string]: GenericStorageQuery;
|
|
3526
3499
|
};
|
|
3527
|
-
/**
|
|
3528
|
-
* Pallet `Sudo`'s storage queries
|
|
3529
|
-
**/
|
|
3530
|
-
sudo: {
|
|
3531
|
-
/**
|
|
3532
|
-
* The `AccountId` of the sudo key.
|
|
3533
|
-
*
|
|
3534
|
-
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3535
|
-
**/
|
|
3536
|
-
key: GenericStorageQuery<() => AccountId32 | undefined>;
|
|
3537
|
-
|
|
3538
|
-
/**
|
|
3539
|
-
* Generic pallet storage query
|
|
3540
|
-
**/
|
|
3541
|
-
[storage: string]: GenericStorageQuery;
|
|
3542
|
-
};
|
|
3543
3500
|
/**
|
|
3544
3501
|
* Pallet `AhOps`'s storage queries
|
|
3545
3502
|
**/
|