@dedot/chaintypes 0.112.0 → 0.114.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/package.json +2 -2
- package/westend/consts.d.ts +2 -2
- package/westend/errors.d.ts +2 -2
- package/westend/events.d.ts +6 -6
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +2 -2
- package/westend/tx.d.ts +5 -5
- package/westend/types.d.ts +4 -4
- package/westend-asset-hub/consts.d.ts +10 -10
- package/westend-asset-hub/errors.d.ts +6 -6
- package/westend-asset-hub/events.d.ts +28 -23
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +8 -8
- package/westend-asset-hub/tx.d.ts +18 -18
- package/westend-asset-hub/types.d.ts +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.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": "c3068eb83fb1db64058fe9669e30fc6a347b78fd",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/westend/consts.d.ts
CHANGED
|
@@ -1262,9 +1262,9 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1262
1262
|
[name: string]: any;
|
|
1263
1263
|
};
|
|
1264
1264
|
/**
|
|
1265
|
-
* Pallet `
|
|
1265
|
+
* Pallet `StakingAhClient`'s constants
|
|
1266
1266
|
**/
|
|
1267
|
-
|
|
1267
|
+
stakingAhClient: {
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Generic pallet constant
|
|
1270
1270
|
**/
|
package/westend/errors.d.ts
CHANGED
|
@@ -2518,9 +2518,9 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2518
2518
|
[error: string]: GenericPalletError<Rv>;
|
|
2519
2519
|
};
|
|
2520
2520
|
/**
|
|
2521
|
-
* Pallet `
|
|
2521
|
+
* Pallet `StakingAhClient`'s errors
|
|
2522
2522
|
**/
|
|
2523
|
-
|
|
2523
|
+
stakingAhClient: {
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Could not process incoming message because incoming messages are blocked.
|
|
2526
2526
|
**/
|
package/westend/events.d.ts
CHANGED
|
@@ -2755,15 +2755,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2755
2755
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
2756
2756
|
};
|
|
2757
2757
|
/**
|
|
2758
|
-
* Pallet `
|
|
2758
|
+
* Pallet `StakingAhClient`'s events
|
|
2759
2759
|
**/
|
|
2760
|
-
|
|
2760
|
+
stakingAhClient: {
|
|
2761
2761
|
/**
|
|
2762
2762
|
* A new validator set has been received.
|
|
2763
2763
|
**/
|
|
2764
2764
|
ValidatorSetReceived: GenericPalletEvent<
|
|
2765
2765
|
Rv,
|
|
2766
|
-
'
|
|
2766
|
+
'StakingAhClient',
|
|
2767
2767
|
'ValidatorSetReceived',
|
|
2768
2768
|
{ id: number; newValidatorSetCount: number; pruneUpTo?: number | undefined; leftover: boolean }
|
|
2769
2769
|
>;
|
|
@@ -2774,19 +2774,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2774
2774
|
* Note that this event is more resembling an error, but we use an event because in this
|
|
2775
2775
|
* pallet we need to mutate storage upon some failures.
|
|
2776
2776
|
**/
|
|
2777
|
-
CouldNotMergeAndDropped: GenericPalletEvent<Rv, '
|
|
2777
|
+
CouldNotMergeAndDropped: GenericPalletEvent<Rv, 'StakingAhClient', 'CouldNotMergeAndDropped', null>;
|
|
2778
2778
|
|
|
2779
2779
|
/**
|
|
2780
2780
|
* The validator set received is way too small, as per
|
|
2781
2781
|
* [`Config::MinimumValidatorSetSize`].
|
|
2782
2782
|
**/
|
|
2783
|
-
SetTooSmallAndDropped: GenericPalletEvent<Rv, '
|
|
2783
|
+
SetTooSmallAndDropped: GenericPalletEvent<Rv, 'StakingAhClient', 'SetTooSmallAndDropped', null>;
|
|
2784
2784
|
|
|
2785
2785
|
/**
|
|
2786
2786
|
* Something occurred that should never happen under normal operation. Logged as an event
|
|
2787
2787
|
* for fail-safe observability.
|
|
2788
2788
|
**/
|
|
2789
|
-
Unexpected: GenericPalletEvent<Rv, '
|
|
2789
|
+
Unexpected: GenericPalletEvent<Rv, 'StakingAhClient', 'Unexpected', PalletStakingAsyncAhClientUnexpectedKind>;
|
|
2790
2790
|
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Generic pallet event
|
package/westend/index.d.ts
CHANGED
package/westend/query.d.ts
CHANGED
|
@@ -3594,9 +3594,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3594
3594
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
3595
3595
|
};
|
|
3596
3596
|
/**
|
|
3597
|
-
* Pallet `
|
|
3597
|
+
* Pallet `StakingAhClient`'s storage queries
|
|
3598
3598
|
**/
|
|
3599
|
-
|
|
3599
|
+
stakingAhClient: {
|
|
3600
3600
|
/**
|
|
3601
3601
|
* The queued validator sets for a given planning session index.
|
|
3602
3602
|
*
|
package/westend/tx.d.ts
CHANGED
|
@@ -9748,9 +9748,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9748
9748
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
9749
9749
|
};
|
|
9750
9750
|
/**
|
|
9751
|
-
* Pallet `
|
|
9751
|
+
* Pallet `StakingAhClient`'s transaction calls
|
|
9752
9752
|
**/
|
|
9753
|
-
|
|
9753
|
+
stakingAhClient: {
|
|
9754
9754
|
/**
|
|
9755
9755
|
*
|
|
9756
9756
|
* @param {PalletStakingAsyncRcClientValidatorSetReport} report
|
|
@@ -9760,7 +9760,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9760
9760
|
(report: PalletStakingAsyncRcClientValidatorSetReport) => ChainSubmittableExtrinsic<
|
|
9761
9761
|
Rv,
|
|
9762
9762
|
{
|
|
9763
|
-
pallet: '
|
|
9763
|
+
pallet: 'StakingAhClient';
|
|
9764
9764
|
palletCall: {
|
|
9765
9765
|
name: 'ValidatorSet';
|
|
9766
9766
|
params: { report: PalletStakingAsyncRcClientValidatorSetReport };
|
|
@@ -9779,7 +9779,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9779
9779
|
(mode: PalletStakingAsyncAhClientOperatingMode) => ChainSubmittableExtrinsic<
|
|
9780
9780
|
Rv,
|
|
9781
9781
|
{
|
|
9782
|
-
pallet: '
|
|
9782
|
+
pallet: 'StakingAhClient';
|
|
9783
9783
|
palletCall: {
|
|
9784
9784
|
name: 'SetMode';
|
|
9785
9785
|
params: { mode: PalletStakingAsyncAhClientOperatingMode };
|
|
@@ -9797,7 +9797,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
9797
9797
|
() => ChainSubmittableExtrinsic<
|
|
9798
9798
|
Rv,
|
|
9799
9799
|
{
|
|
9800
|
-
pallet: '
|
|
9800
|
+
pallet: 'StakingAhClient';
|
|
9801
9801
|
palletCall: {
|
|
9802
9802
|
name: 'ForceOnMigrationEnd';
|
|
9803
9803
|
};
|
package/westend/types.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export type WestendRuntimeRuntimeEvent =
|
|
|
93
93
|
| { pallet: 'Crowdloan'; palletEvent: PolkadotRuntimeCommonCrowdloanPalletEvent }
|
|
94
94
|
| { pallet: 'AssignedSlots'; palletEvent: PolkadotRuntimeCommonAssignedSlotsPalletEvent }
|
|
95
95
|
| { pallet: 'Coretime'; palletEvent: PolkadotRuntimeParachainsCoretimePalletEvent }
|
|
96
|
-
| { pallet: '
|
|
96
|
+
| { pallet: 'StakingAhClient'; palletEvent: PalletStakingAsyncAhClientEvent }
|
|
97
97
|
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
|
|
98
98
|
| { pallet: 'XcmPallet'; palletEvent: PalletXcmEvent }
|
|
99
99
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
@@ -1594,7 +1594,7 @@ export type WestendRuntimeRuntimeCall =
|
|
|
1594
1594
|
| { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCall }
|
|
1595
1595
|
| { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCall }
|
|
1596
1596
|
| { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCall }
|
|
1597
|
-
| { pallet: '
|
|
1597
|
+
| { pallet: 'StakingAhClient'; palletCall: PalletStakingAsyncAhClientCall }
|
|
1598
1598
|
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
1599
1599
|
| { pallet: 'XcmPallet'; palletCall: PalletXcmCall }
|
|
1600
1600
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
@@ -1649,7 +1649,7 @@ export type WestendRuntimeRuntimeCallLike =
|
|
|
1649
1649
|
| { pallet: 'Crowdloan'; palletCall: PolkadotRuntimeCommonCrowdloanPalletCallLike }
|
|
1650
1650
|
| { pallet: 'AssignedSlots'; palletCall: PolkadotRuntimeCommonAssignedSlotsPalletCallLike }
|
|
1651
1651
|
| { pallet: 'Coretime'; palletCall: PolkadotRuntimeParachainsCoretimePalletCallLike }
|
|
1652
|
-
| { pallet: '
|
|
1652
|
+
| { pallet: 'StakingAhClient'; palletCall: PalletStakingAsyncAhClientCallLike }
|
|
1653
1653
|
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
1654
1654
|
| { pallet: 'XcmPallet'; palletCall: PalletXcmCallLike }
|
|
1655
1655
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
@@ -16484,7 +16484,7 @@ export type WestendRuntimeRuntimeError =
|
|
|
16484
16484
|
| { pallet: 'Crowdloan'; palletError: PolkadotRuntimeCommonCrowdloanPalletError }
|
|
16485
16485
|
| { pallet: 'AssignedSlots'; palletError: PolkadotRuntimeCommonAssignedSlotsPalletError }
|
|
16486
16486
|
| { pallet: 'Coretime'; palletError: PolkadotRuntimeParachainsCoretimePalletError }
|
|
16487
|
-
| { pallet: '
|
|
16487
|
+
| { pallet: 'StakingAhClient'; palletError: PalletStakingAsyncAhClientError }
|
|
16488
16488
|
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
|
|
16489
16489
|
| { pallet: 'XcmPallet'; palletError: PalletXcmError }
|
|
16490
16490
|
| { pallet: 'MessageQueue'; palletError: PalletMessageQueueError }
|
|
@@ -1318,18 +1318,18 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1318
1318
|
[name: string]: any;
|
|
1319
1319
|
};
|
|
1320
1320
|
/**
|
|
1321
|
-
* Pallet `
|
|
1321
|
+
* Pallet `StakingRcClient`'s constants
|
|
1322
1322
|
**/
|
|
1323
|
-
|
|
1323
|
+
stakingRcClient: {
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Generic pallet constant
|
|
1326
1326
|
**/
|
|
1327
1327
|
[name: string]: any;
|
|
1328
1328
|
};
|
|
1329
1329
|
/**
|
|
1330
|
-
* Pallet `
|
|
1330
|
+
* Pallet `MultiBlockElection`'s constants
|
|
1331
1331
|
**/
|
|
1332
|
-
|
|
1332
|
+
multiBlockElection: {
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Duration of the unsigned phase.
|
|
1335
1335
|
**/
|
|
@@ -1375,9 +1375,9 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1375
1375
|
[name: string]: any;
|
|
1376
1376
|
};
|
|
1377
1377
|
/**
|
|
1378
|
-
* Pallet `
|
|
1378
|
+
* Pallet `MultiBlockElectionVerifier`'s constants
|
|
1379
1379
|
**/
|
|
1380
|
-
|
|
1380
|
+
multiBlockElectionVerifier: {
|
|
1381
1381
|
/**
|
|
1382
1382
|
* The minimum amount of improvement to the solution score that defines a solution as
|
|
1383
1383
|
* "better".
|
|
@@ -1410,18 +1410,18 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1410
1410
|
[name: string]: any;
|
|
1411
1411
|
};
|
|
1412
1412
|
/**
|
|
1413
|
-
* Pallet `
|
|
1413
|
+
* Pallet `MultiBlockElectionUnsigned`'s constants
|
|
1414
1414
|
**/
|
|
1415
|
-
|
|
1415
|
+
multiBlockElectionUnsigned: {
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Generic pallet constant
|
|
1418
1418
|
**/
|
|
1419
1419
|
[name: string]: any;
|
|
1420
1420
|
};
|
|
1421
1421
|
/**
|
|
1422
|
-
* Pallet `
|
|
1422
|
+
* Pallet `MultiBlockElectionSigned`'s constants
|
|
1423
1423
|
**/
|
|
1424
|
-
|
|
1424
|
+
multiBlockElectionSigned: {
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Generic pallet constant
|
|
1427
1427
|
**/
|
|
@@ -2748,9 +2748,9 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2748
2748
|
[error: string]: GenericPalletError<Rv>;
|
|
2749
2749
|
};
|
|
2750
2750
|
/**
|
|
2751
|
-
* Pallet `
|
|
2751
|
+
* Pallet `StakingRcClient`'s errors
|
|
2752
2752
|
**/
|
|
2753
|
-
|
|
2753
|
+
stakingRcClient: {
|
|
2754
2754
|
/**
|
|
2755
2755
|
* The session report was not valid, due to a bad end index.
|
|
2756
2756
|
**/
|
|
@@ -2762,9 +2762,9 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2762
2762
|
[error: string]: GenericPalletError<Rv>;
|
|
2763
2763
|
};
|
|
2764
2764
|
/**
|
|
2765
|
-
* Pallet `
|
|
2765
|
+
* Pallet `MultiBlockElection`'s errors
|
|
2766
2766
|
**/
|
|
2767
|
-
|
|
2767
|
+
multiBlockElection: {
|
|
2768
2768
|
/**
|
|
2769
2769
|
* Triggering the `Fallback` failed.
|
|
2770
2770
|
**/
|
|
@@ -2786,9 +2786,9 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2786
2786
|
[error: string]: GenericPalletError<Rv>;
|
|
2787
2787
|
};
|
|
2788
2788
|
/**
|
|
2789
|
-
* Pallet `
|
|
2789
|
+
* Pallet `MultiBlockElectionSigned`'s errors
|
|
2790
2790
|
**/
|
|
2791
|
-
|
|
2791
|
+
multiBlockElectionSigned: {
|
|
2792
2792
|
/**
|
|
2793
2793
|
* The phase is not signed.
|
|
2794
2794
|
**/
|
|
@@ -3957,15 +3957,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3957
3957
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
3958
3958
|
};
|
|
3959
3959
|
/**
|
|
3960
|
-
* Pallet `
|
|
3960
|
+
* Pallet `StakingRcClient`'s events
|
|
3961
3961
|
**/
|
|
3962
|
-
|
|
3962
|
+
stakingRcClient: {
|
|
3963
3963
|
/**
|
|
3964
3964
|
* A said session report was received.
|
|
3965
3965
|
**/
|
|
3966
3966
|
SessionReportReceived: GenericPalletEvent<
|
|
3967
3967
|
Rv,
|
|
3968
|
-
'
|
|
3968
|
+
'StakingRcClient',
|
|
3969
3969
|
'SessionReportReceived',
|
|
3970
3970
|
{
|
|
3971
3971
|
endIndex: number;
|
|
@@ -3980,7 +3980,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3980
3980
|
**/
|
|
3981
3981
|
OffenceReceived: GenericPalletEvent<
|
|
3982
3982
|
Rv,
|
|
3983
|
-
'
|
|
3983
|
+
'StakingRcClient',
|
|
3984
3984
|
'OffenceReceived',
|
|
3985
3985
|
{ slashSession: number; offencesCount: number }
|
|
3986
3986
|
>;
|
|
@@ -3989,7 +3989,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3989
3989
|
* Something occurred that should never happen under normal operation.
|
|
3990
3990
|
* Logged as an event for fail-safe observability.
|
|
3991
3991
|
**/
|
|
3992
|
-
Unexpected: GenericPalletEvent<Rv, '
|
|
3992
|
+
Unexpected: GenericPalletEvent<Rv, 'StakingRcClient', 'Unexpected', PalletStakingAsyncRcClientUnexpectedKind>;
|
|
3993
3993
|
|
|
3994
3994
|
/**
|
|
3995
3995
|
* Generic pallet event
|
|
@@ -3997,16 +3997,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3997
3997
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
3998
3998
|
};
|
|
3999
3999
|
/**
|
|
4000
|
-
* Pallet `
|
|
4000
|
+
* Pallet `MultiBlockElection`'s events
|
|
4001
4001
|
**/
|
|
4002
|
-
|
|
4002
|
+
multiBlockElection: {
|
|
4003
4003
|
/**
|
|
4004
4004
|
* A phase transition happened. Only checks major changes in the variants, not minor inner
|
|
4005
4005
|
* values.
|
|
4006
4006
|
**/
|
|
4007
4007
|
PhaseTransitioned: GenericPalletEvent<
|
|
4008
4008
|
Rv,
|
|
4009
|
-
'
|
|
4009
|
+
'MultiBlockElection',
|
|
4010
4010
|
'PhaseTransitioned',
|
|
4011
4011
|
{
|
|
4012
4012
|
/**
|
|
@@ -4027,13 +4027,18 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4027
4027
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
4028
4028
|
};
|
|
4029
4029
|
/**
|
|
4030
|
-
* Pallet `
|
|
4030
|
+
* Pallet `MultiBlockElectionVerifier`'s events
|
|
4031
4031
|
**/
|
|
4032
|
-
|
|
4032
|
+
multiBlockElectionVerifier: {
|
|
4033
4033
|
/**
|
|
4034
4034
|
* The verification data was unavailable and it could not continue.
|
|
4035
4035
|
**/
|
|
4036
|
-
VerificationDataUnavailable: GenericPalletEvent<
|
|
4036
|
+
VerificationDataUnavailable: GenericPalletEvent<
|
|
4037
|
+
Rv,
|
|
4038
|
+
'MultiBlockElectionVerifier',
|
|
4039
|
+
'VerificationDataUnavailable',
|
|
4040
|
+
null
|
|
4041
|
+
>;
|
|
4037
4042
|
|
|
4038
4043
|
/**
|
|
4039
4044
|
* A verification failed at the given page.
|
|
@@ -4043,7 +4048,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4043
4048
|
**/
|
|
4044
4049
|
VerificationFailed: GenericPalletEvent<
|
|
4045
4050
|
Rv,
|
|
4046
|
-
'
|
|
4051
|
+
'MultiBlockElectionVerifier',
|
|
4047
4052
|
'VerificationFailed',
|
|
4048
4053
|
[number, PalletElectionProviderMultiBlockVerifierFeasibilityError]
|
|
4049
4054
|
>;
|
|
@@ -4052,14 +4057,14 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4052
4057
|
* The given page of a solution has been verified, with the given number of winners being
|
|
4053
4058
|
* found in it.
|
|
4054
4059
|
**/
|
|
4055
|
-
Verified: GenericPalletEvent<Rv, '
|
|
4060
|
+
Verified: GenericPalletEvent<Rv, 'MultiBlockElectionVerifier', 'Verified', [number, number]>;
|
|
4056
4061
|
|
|
4057
4062
|
/**
|
|
4058
4063
|
* A solution with the given score has replaced our current best solution.
|
|
4059
4064
|
**/
|
|
4060
4065
|
Queued: GenericPalletEvent<
|
|
4061
4066
|
Rv,
|
|
4062
|
-
'
|
|
4067
|
+
'MultiBlockElectionVerifier',
|
|
4063
4068
|
'Queued',
|
|
4064
4069
|
[SpNposElectionsElectionScore, SpNposElectionsElectionScore | undefined]
|
|
4065
4070
|
>;
|
|
@@ -4070,15 +4075,15 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4070
4075
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
4071
4076
|
};
|
|
4072
4077
|
/**
|
|
4073
|
-
* Pallet `
|
|
4078
|
+
* Pallet `MultiBlockElectionSigned`'s events
|
|
4074
4079
|
**/
|
|
4075
|
-
|
|
4080
|
+
multiBlockElectionSigned: {
|
|
4076
4081
|
/**
|
|
4077
4082
|
* Upcoming submission has been registered for the given account, with the given score.
|
|
4078
4083
|
**/
|
|
4079
4084
|
Registered: GenericPalletEvent<
|
|
4080
4085
|
Rv,
|
|
4081
|
-
'
|
|
4086
|
+
'MultiBlockElectionSigned',
|
|
4082
4087
|
'Registered',
|
|
4083
4088
|
[number, AccountId32, SpNposElectionsElectionScore]
|
|
4084
4089
|
>;
|
|
@@ -4086,32 +4091,32 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
4086
4091
|
/**
|
|
4087
4092
|
* A page of solution solution with the given index has been stored for the given account.
|
|
4088
4093
|
**/
|
|
4089
|
-
Stored: GenericPalletEvent<Rv, '
|
|
4094
|
+
Stored: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Stored', [number, AccountId32, number]>;
|
|
4090
4095
|
|
|
4091
4096
|
/**
|
|
4092
4097
|
* The given account has been rewarded with the given amount.
|
|
4093
4098
|
**/
|
|
4094
|
-
Rewarded: GenericPalletEvent<Rv, '
|
|
4099
|
+
Rewarded: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Rewarded', [number, AccountId32, bigint]>;
|
|
4095
4100
|
|
|
4096
4101
|
/**
|
|
4097
4102
|
* The given account has been slashed with the given amount.
|
|
4098
4103
|
**/
|
|
4099
|
-
Slashed: GenericPalletEvent<Rv, '
|
|
4104
|
+
Slashed: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Slashed', [number, AccountId32, bigint]>;
|
|
4100
4105
|
|
|
4101
4106
|
/**
|
|
4102
4107
|
* The given solution, for the given round, was ejected.
|
|
4103
4108
|
**/
|
|
4104
|
-
Ejected: GenericPalletEvent<Rv, '
|
|
4109
|
+
Ejected: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Ejected', [number, AccountId32]>;
|
|
4105
4110
|
|
|
4106
4111
|
/**
|
|
4107
4112
|
* The given account has been discarded.
|
|
4108
4113
|
**/
|
|
4109
|
-
Discarded: GenericPalletEvent<Rv, '
|
|
4114
|
+
Discarded: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Discarded', [number, AccountId32]>;
|
|
4110
4115
|
|
|
4111
4116
|
/**
|
|
4112
4117
|
* The given account has bailed.
|
|
4113
4118
|
**/
|
|
4114
|
-
Bailed: GenericPalletEvent<Rv, '
|
|
4119
|
+
Bailed: GenericPalletEvent<Rv, 'MultiBlockElectionSigned', 'Bailed', [number, AccountId32]>;
|
|
4115
4120
|
|
|
4116
4121
|
/**
|
|
4117
4122
|
* Generic pallet event
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1018011
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -3084,9 +3084,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3084
3084
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
3085
3085
|
};
|
|
3086
3086
|
/**
|
|
3087
|
-
* Pallet `
|
|
3087
|
+
* Pallet `StakingRcClient`'s storage queries
|
|
3088
3088
|
**/
|
|
3089
|
-
|
|
3089
|
+
stakingRcClient: {
|
|
3090
3090
|
/**
|
|
3091
3091
|
* An incomplete incoming session report that we have not acted upon yet.
|
|
3092
3092
|
*
|
|
@@ -3114,9 +3114,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3114
3114
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
3115
3115
|
};
|
|
3116
3116
|
/**
|
|
3117
|
-
* Pallet `
|
|
3117
|
+
* Pallet `MultiBlockElection`'s storage queries
|
|
3118
3118
|
**/
|
|
3119
|
-
|
|
3119
|
+
multiBlockElection: {
|
|
3120
3120
|
/**
|
|
3121
3121
|
* Internal counter for the number of rounds.
|
|
3122
3122
|
*
|
|
@@ -3232,9 +3232,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3232
3232
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
3233
3233
|
};
|
|
3234
3234
|
/**
|
|
3235
|
-
* Pallet `
|
|
3235
|
+
* Pallet `MultiBlockElectionVerifier`'s storage queries
|
|
3236
3236
|
**/
|
|
3237
|
-
|
|
3237
|
+
multiBlockElectionVerifier: {
|
|
3238
3238
|
/**
|
|
3239
3239
|
* The `X` variant of the current queued solution. Might be the valid one or not.
|
|
3240
3240
|
*
|
|
@@ -3329,9 +3329,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3329
3329
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
3330
3330
|
};
|
|
3331
3331
|
/**
|
|
3332
|
-
* Pallet `
|
|
3332
|
+
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
3333
3333
|
**/
|
|
3334
|
-
|
|
3334
|
+
multiBlockElectionSigned: {
|
|
3335
3335
|
/**
|
|
3336
3336
|
*
|
|
3337
3337
|
* @param {number} arg
|
|
@@ -13270,9 +13270,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13270
13270
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
13271
13271
|
};
|
|
13272
13272
|
/**
|
|
13273
|
-
* Pallet `
|
|
13273
|
+
* Pallet `StakingRcClient`'s transaction calls
|
|
13274
13274
|
**/
|
|
13275
|
-
|
|
13275
|
+
stakingRcClient: {
|
|
13276
13276
|
/**
|
|
13277
13277
|
* Called to indicate the start of a new session on the relay chain.
|
|
13278
13278
|
*
|
|
@@ -13283,7 +13283,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13283
13283
|
(report: PalletStakingAsyncRcClientSessionReport) => ChainSubmittableExtrinsic<
|
|
13284
13284
|
Rv,
|
|
13285
13285
|
{
|
|
13286
|
-
pallet: '
|
|
13286
|
+
pallet: 'StakingRcClient';
|
|
13287
13287
|
palletCall: {
|
|
13288
13288
|
name: 'RelaySessionReport';
|
|
13289
13289
|
params: { report: PalletStakingAsyncRcClientSessionReport };
|
|
@@ -13306,7 +13306,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13306
13306
|
) => ChainSubmittableExtrinsic<
|
|
13307
13307
|
Rv,
|
|
13308
13308
|
{
|
|
13309
|
-
pallet: '
|
|
13309
|
+
pallet: 'StakingRcClient';
|
|
13310
13310
|
palletCall: {
|
|
13311
13311
|
name: 'RelayNewOffence';
|
|
13312
13312
|
params: { slashSession: number; offences: Array<PalletStakingAsyncRcClientOffence> };
|
|
@@ -13321,9 +13321,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13321
13321
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
13322
13322
|
};
|
|
13323
13323
|
/**
|
|
13324
|
-
* Pallet `
|
|
13324
|
+
* Pallet `MultiBlockElection`'s transaction calls
|
|
13325
13325
|
**/
|
|
13326
|
-
|
|
13326
|
+
multiBlockElection: {
|
|
13327
13327
|
/**
|
|
13328
13328
|
* Manage this pallet.
|
|
13329
13329
|
*
|
|
@@ -13338,7 +13338,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13338
13338
|
(op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
|
|
13339
13339
|
Rv,
|
|
13340
13340
|
{
|
|
13341
|
-
pallet: '
|
|
13341
|
+
pallet: 'MultiBlockElection';
|
|
13342
13342
|
palletCall: {
|
|
13343
13343
|
name: 'Manage';
|
|
13344
13344
|
params: { op: PalletElectionProviderMultiBlockAdminOperation };
|
|
@@ -13353,18 +13353,18 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13353
13353
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
13354
13354
|
};
|
|
13355
13355
|
/**
|
|
13356
|
-
* Pallet `
|
|
13356
|
+
* Pallet `MultiBlockElectionVerifier`'s transaction calls
|
|
13357
13357
|
**/
|
|
13358
|
-
|
|
13358
|
+
multiBlockElectionVerifier: {
|
|
13359
13359
|
/**
|
|
13360
13360
|
* Generic pallet tx call
|
|
13361
13361
|
**/
|
|
13362
13362
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
13363
13363
|
};
|
|
13364
13364
|
/**
|
|
13365
|
-
* Pallet `
|
|
13365
|
+
* Pallet `MultiBlockElectionUnsigned`'s transaction calls
|
|
13366
13366
|
**/
|
|
13367
|
-
|
|
13367
|
+
multiBlockElectionUnsigned: {
|
|
13368
13368
|
/**
|
|
13369
13369
|
* Submit an unsigned solution.
|
|
13370
13370
|
*
|
|
@@ -13389,7 +13389,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13389
13389
|
(pagedSolution: PalletElectionProviderMultiBlockPagedRawSolution) => ChainSubmittableExtrinsic<
|
|
13390
13390
|
Rv,
|
|
13391
13391
|
{
|
|
13392
|
-
pallet: '
|
|
13392
|
+
pallet: 'MultiBlockElectionUnsigned';
|
|
13393
13393
|
palletCall: {
|
|
13394
13394
|
name: 'SubmitUnsigned';
|
|
13395
13395
|
params: { pagedSolution: PalletElectionProviderMultiBlockPagedRawSolution };
|
|
@@ -13404,9 +13404,9 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13404
13404
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
13405
13405
|
};
|
|
13406
13406
|
/**
|
|
13407
|
-
* Pallet `
|
|
13407
|
+
* Pallet `MultiBlockElectionSigned`'s transaction calls
|
|
13408
13408
|
**/
|
|
13409
|
-
|
|
13409
|
+
multiBlockElectionSigned: {
|
|
13410
13410
|
/**
|
|
13411
13411
|
* Register oneself for an upcoming signed election.
|
|
13412
13412
|
*
|
|
@@ -13417,7 +13417,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13417
13417
|
(claimedScore: SpNposElectionsElectionScore) => ChainSubmittableExtrinsic<
|
|
13418
13418
|
Rv,
|
|
13419
13419
|
{
|
|
13420
|
-
pallet: '
|
|
13420
|
+
pallet: 'MultiBlockElectionSigned';
|
|
13421
13421
|
palletCall: {
|
|
13422
13422
|
name: 'Register';
|
|
13423
13423
|
params: { claimedScore: SpNposElectionsElectionScore };
|
|
@@ -13447,7 +13447,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13447
13447
|
) => ChainSubmittableExtrinsic<
|
|
13448
13448
|
Rv,
|
|
13449
13449
|
{
|
|
13450
|
-
pallet: '
|
|
13450
|
+
pallet: 'MultiBlockElectionSigned';
|
|
13451
13451
|
palletCall: {
|
|
13452
13452
|
name: 'SubmitPage';
|
|
13453
13453
|
params: { page: number; maybeSolution: AssetHubWestendRuntimeStakingNposCompactSolution16 | undefined };
|
|
@@ -13469,7 +13469,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13469
13469
|
() => ChainSubmittableExtrinsic<
|
|
13470
13470
|
Rv,
|
|
13471
13471
|
{
|
|
13472
|
-
pallet: '
|
|
13472
|
+
pallet: 'MultiBlockElectionSigned';
|
|
13473
13473
|
palletCall: {
|
|
13474
13474
|
name: 'Bail';
|
|
13475
13475
|
};
|
|
@@ -13496,7 +13496,7 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
13496
13496
|
) => ChainSubmittableExtrinsic<
|
|
13497
13497
|
Rv,
|
|
13498
13498
|
{
|
|
13499
|
-
pallet: '
|
|
13499
|
+
pallet: 'MultiBlockElectionSigned';
|
|
13500
13500
|
palletCall: {
|
|
13501
13501
|
name: 'ClearOldRoundData';
|
|
13502
13502
|
params: { round: number; witnessPages: number };
|
|
@@ -94,10 +94,10 @@ export type AssetHubWestendRuntimeRuntimeEvent =
|
|
|
94
94
|
| { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
|
|
95
95
|
| { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
|
|
96
96
|
| { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
|
|
97
|
-
| { pallet: '
|
|
98
|
-
| { pallet: '
|
|
99
|
-
| { pallet: '
|
|
100
|
-
| { pallet: '
|
|
97
|
+
| { pallet: 'StakingRcClient'; palletEvent: PalletStakingAsyncRcClientEvent }
|
|
98
|
+
| { pallet: 'MultiBlockElection'; palletEvent: PalletElectionProviderMultiBlockEvent }
|
|
99
|
+
| { pallet: 'MultiBlockElectionVerifier'; palletEvent: PalletElectionProviderMultiBlockVerifierImplsPalletEvent }
|
|
100
|
+
| { pallet: 'MultiBlockElectionSigned'; palletEvent: PalletElectionProviderMultiBlockSignedPalletEvent }
|
|
101
101
|
| { pallet: 'ConvictionVoting'; palletEvent: PalletConvictionVotingEvent }
|
|
102
102
|
| { pallet: 'Referenda'; palletEvent: PalletReferendaEvent }
|
|
103
103
|
| { pallet: 'Whitelist'; palletEvent: PalletWhitelistEvent }
|
|
@@ -3659,11 +3659,11 @@ export type AssetHubWestendRuntimeRuntimeCall =
|
|
|
3659
3659
|
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCall }
|
|
3660
3660
|
| { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCall }
|
|
3661
3661
|
| { pallet: 'VoterList'; palletCall: PalletBagsListCall }
|
|
3662
|
-
| { pallet: '
|
|
3663
|
-
| { pallet: '
|
|
3664
|
-
| { pallet: '
|
|
3665
|
-
| { pallet: '
|
|
3666
|
-
| { pallet: '
|
|
3662
|
+
| { pallet: 'StakingRcClient'; palletCall: PalletStakingAsyncRcClientCall }
|
|
3663
|
+
| { pallet: 'MultiBlockElection'; palletCall: PalletElectionProviderMultiBlockCall }
|
|
3664
|
+
| { pallet: 'MultiBlockElectionVerifier'; palletCall: PalletElectionProviderMultiBlockVerifierImplsPalletCall }
|
|
3665
|
+
| { pallet: 'MultiBlockElectionUnsigned'; palletCall: PalletElectionProviderMultiBlockUnsignedPalletCall }
|
|
3666
|
+
| { pallet: 'MultiBlockElectionSigned'; palletCall: PalletElectionProviderMultiBlockSignedPalletCall }
|
|
3667
3667
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCall }
|
|
3668
3668
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCall }
|
|
3669
3669
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCall }
|
|
@@ -3710,11 +3710,11 @@ export type AssetHubWestendRuntimeRuntimeCallLike =
|
|
|
3710
3710
|
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCallLike }
|
|
3711
3711
|
| { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCallLike }
|
|
3712
3712
|
| { pallet: 'VoterList'; palletCall: PalletBagsListCallLike }
|
|
3713
|
-
| { pallet: '
|
|
3714
|
-
| { pallet: '
|
|
3715
|
-
| { pallet: '
|
|
3716
|
-
| { pallet: '
|
|
3717
|
-
| { pallet: '
|
|
3713
|
+
| { pallet: 'StakingRcClient'; palletCall: PalletStakingAsyncRcClientCallLike }
|
|
3714
|
+
| { pallet: 'MultiBlockElection'; palletCall: PalletElectionProviderMultiBlockCallLike }
|
|
3715
|
+
| { pallet: 'MultiBlockElectionVerifier'; palletCall: PalletElectionProviderMultiBlockVerifierImplsPalletCallLike }
|
|
3716
|
+
| { pallet: 'MultiBlockElectionUnsigned'; palletCall: PalletElectionProviderMultiBlockUnsignedPalletCallLike }
|
|
3717
|
+
| { pallet: 'MultiBlockElectionSigned'; palletCall: PalletElectionProviderMultiBlockSignedPalletCallLike }
|
|
3718
3718
|
| { pallet: 'ConvictionVoting'; palletCall: PalletConvictionVotingCallLike }
|
|
3719
3719
|
| { pallet: 'Referenda'; palletCall: PalletReferendaCallLike }
|
|
3720
3720
|
| { pallet: 'Whitelist'; palletCall: PalletWhitelistCallLike }
|
|
@@ -17381,7 +17381,7 @@ export type AssetHubWestendRuntimeRuntimeHoldReason =
|
|
|
17381
17381
|
| { type: 'StateTrieMigration'; value: PalletStateTrieMigrationHoldReason }
|
|
17382
17382
|
| { type: 'Staking'; value: PalletStakingAsyncPalletHoldReason }
|
|
17383
17383
|
| { type: 'DelegatedStaking'; value: PalletDelegatedStakingHoldReason }
|
|
17384
|
-
| { type: '
|
|
17384
|
+
| { type: 'MultiBlockElectionSigned'; value: PalletElectionProviderMultiBlockSignedPalletHoldReason };
|
|
17385
17385
|
|
|
17386
17386
|
export type PalletPreimageHoldReason = 'Preimage';
|
|
17387
17387
|
|
|
@@ -21360,9 +21360,9 @@ export type AssetHubWestendRuntimeRuntimeError =
|
|
|
21360
21360
|
| { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
|
|
21361
21361
|
| { pallet: 'VoterList'; palletError: PalletBagsListError }
|
|
21362
21362
|
| { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
|
|
21363
|
-
| { pallet: '
|
|
21364
|
-
| { pallet: '
|
|
21365
|
-
| { pallet: '
|
|
21363
|
+
| { pallet: 'StakingRcClient'; palletError: PalletStakingAsyncRcClientError }
|
|
21364
|
+
| { pallet: 'MultiBlockElection'; palletError: PalletElectionProviderMultiBlockError }
|
|
21365
|
+
| { pallet: 'MultiBlockElectionSigned'; palletError: PalletElectionProviderMultiBlockSignedPalletError }
|
|
21366
21366
|
| { pallet: 'ConvictionVoting'; palletError: PalletConvictionVotingError }
|
|
21367
21367
|
| { pallet: 'Referenda'; palletError: PalletReferendaError }
|
|
21368
21368
|
| { pallet: 'Whitelist'; palletError: PalletWhitelistError }
|