@dedot/chaintypes 0.221.0 → 0.226.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/paseo/json-rpc.d.ts +0 -9
- package/paseo-asset-hub/json-rpc.d.ts +0 -9
- package/paseo-asset-hub/types.d.ts +2 -4
- package/paseo-hydration/consts.d.ts +114 -47
- package/paseo-hydration/errors.d.ts +90 -129
- package/paseo-hydration/events.d.ts +340 -432
- package/paseo-hydration/index.d.ts +2 -3
- package/paseo-hydration/json-rpc.d.ts +13 -7
- package/paseo-hydration/query.d.ts +157 -277
- package/paseo-hydration/runtime.d.ts +21 -123
- package/paseo-hydration/tx.d.ts +500 -314
- package/paseo-hydration/types.d.ts +1361 -1281
- package/polkadot/index.d.ts +1 -1
- package/polkadot-asset-hub/index.d.ts +1 -1
- package/polkadot-asset-hub/tx.d.ts +22 -4
- package/polkadot-asset-hub/types.d.ts +14 -10
package/polkadot/index.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ import type {
|
|
|
84
84
|
PalletNominationPoolsCommissionClaimPermission,
|
|
85
85
|
PalletStakingAsyncRcClientSessionReport,
|
|
86
86
|
PalletStakingAsyncRcClientOffence,
|
|
87
|
+
PalletElectionProviderMultiBlockManagerOperation,
|
|
87
88
|
PalletElectionProviderMultiBlockAdminOperation,
|
|
88
89
|
PalletElectionProviderMultiBlockPagedRawSolution,
|
|
89
90
|
SpNposElectionsElectionScore,
|
|
@@ -12783,18 +12784,35 @@ export interface ChainTx<
|
|
|
12783
12784
|
/**
|
|
12784
12785
|
* Manage this pallet.
|
|
12785
12786
|
*
|
|
12786
|
-
* The origin of this call must be [`Config::
|
|
12787
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
12787
12788
|
*
|
|
12788
|
-
* See [`
|
|
12789
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
12789
12790
|
*
|
|
12790
|
-
* @param {
|
|
12791
|
+
* @param {PalletElectionProviderMultiBlockManagerOperation} op
|
|
12791
12792
|
**/
|
|
12792
12793
|
manage: GenericTxCall<
|
|
12793
|
-
(op:
|
|
12794
|
+
(op: PalletElectionProviderMultiBlockManagerOperation) => ChainSubmittableExtrinsic<
|
|
12794
12795
|
{
|
|
12795
12796
|
pallet: 'MultiBlockElection';
|
|
12796
12797
|
palletCall: {
|
|
12797
12798
|
name: 'Manage';
|
|
12799
|
+
params: { op: PalletElectionProviderMultiBlockManagerOperation };
|
|
12800
|
+
};
|
|
12801
|
+
},
|
|
12802
|
+
ChainKnownTypes
|
|
12803
|
+
>
|
|
12804
|
+
>;
|
|
12805
|
+
|
|
12806
|
+
/**
|
|
12807
|
+
*
|
|
12808
|
+
* @param {PalletElectionProviderMultiBlockAdminOperation} op
|
|
12809
|
+
**/
|
|
12810
|
+
admin: GenericTxCall<
|
|
12811
|
+
(op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
|
|
12812
|
+
{
|
|
12813
|
+
pallet: 'MultiBlockElection';
|
|
12814
|
+
palletCall: {
|
|
12815
|
+
name: 'Admin';
|
|
12798
12816
|
params: { op: PalletElectionProviderMultiBlockAdminOperation };
|
|
12799
12817
|
};
|
|
12800
12818
|
},
|
|
@@ -13113,28 +13113,28 @@ export type PalletElectionProviderMultiBlockCall =
|
|
|
13113
13113
|
/**
|
|
13114
13114
|
* Manage this pallet.
|
|
13115
13115
|
*
|
|
13116
|
-
* The origin of this call must be [`Config::
|
|
13116
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
13117
13117
|
*
|
|
13118
|
-
* See [`
|
|
13118
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
13119
13119
|
**/
|
|
13120
|
-
{ name: 'Manage'; params: { op:
|
|
13120
|
+
| { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockManagerOperation } }
|
|
13121
|
+
| { name: 'Admin'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
|
|
13121
13122
|
|
|
13122
13123
|
export type PalletElectionProviderMultiBlockCallLike =
|
|
13123
13124
|
/**
|
|
13124
13125
|
* Manage this pallet.
|
|
13125
13126
|
*
|
|
13126
|
-
* The origin of this call must be [`Config::
|
|
13127
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
13127
13128
|
*
|
|
13128
|
-
* See [`
|
|
13129
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
13129
13130
|
**/
|
|
13130
|
-
{ name: 'Manage'; params: { op:
|
|
13131
|
+
| { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockManagerOperation } }
|
|
13132
|
+
| { name: 'Admin'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
|
|
13131
13133
|
|
|
13132
|
-
export type
|
|
13134
|
+
export type PalletElectionProviderMultiBlockManagerOperation =
|
|
13133
13135
|
| { type: 'ForceRotateRound' }
|
|
13134
13136
|
| { type: 'ForceSetPhase'; value: PalletElectionProviderMultiBlockPhase }
|
|
13135
|
-
| { type: '
|
|
13136
|
-
| { type: 'EmergencyFallback' }
|
|
13137
|
-
| { type: 'SetMinUntrustedScore'; value: SpNposElectionsElectionScore };
|
|
13137
|
+
| { type: 'EmergencyFallback' };
|
|
13138
13138
|
|
|
13139
13139
|
export type PalletElectionProviderMultiBlockPhase =
|
|
13140
13140
|
| { type: 'Off' }
|
|
@@ -13146,6 +13146,10 @@ export type PalletElectionProviderMultiBlockPhase =
|
|
|
13146
13146
|
| { type: 'Export'; value: number }
|
|
13147
13147
|
| { type: 'Emergency' };
|
|
13148
13148
|
|
|
13149
|
+
export type PalletElectionProviderMultiBlockAdminOperation =
|
|
13150
|
+
| { type: 'EmergencySetSolution'; value: [FrameElectionProviderSupportBoundedSupports, SpNposElectionsElectionScore] }
|
|
13151
|
+
| { type: 'SetMinUntrustedScore'; value: SpNposElectionsElectionScore };
|
|
13152
|
+
|
|
13149
13153
|
export type FrameElectionProviderSupportBoundedSupports = Array<
|
|
13150
13154
|
[AccountId32, FrameElectionProviderSupportBoundedSupport]
|
|
13151
13155
|
>;
|