@dedot/chaintypes 0.222.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.
@@ -50,7 +50,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
50
50
 
51
51
  /**
52
52
  * @name: PolkadotApi
53
- * @specVersion: 2000005
53
+ * @specVersion: 2000006
54
54
  **/
55
55
  export interface PolkadotApi extends GenericSubstrateApi {
56
56
  rpc: ChainJsonRpcApis;
@@ -52,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
52
52
 
53
53
  /**
54
54
  * @name: PolkadotAssetHubApi
55
- * @specVersion: 2000005
55
+ * @specVersion: 2000006
56
56
  **/
57
57
  export interface PolkadotAssetHubApi extends GenericSubstrateApi {
58
58
  rpc: ChainJsonRpcApis;
@@ -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::AdminOrigin`].
12787
+ * The origin of this call must be [`Config::ManagerOrigin`].
12787
12788
  *
12788
- * See [`AdminOperation`] for various operations that are possible.
12789
+ * See [`ManagerOperation`] for various operations that are possible.
12789
12790
  *
12790
- * @param {PalletElectionProviderMultiBlockAdminOperation} op
12791
+ * @param {PalletElectionProviderMultiBlockManagerOperation} op
12791
12792
  **/
12792
12793
  manage: GenericTxCall<
12793
- (op: PalletElectionProviderMultiBlockAdminOperation) => ChainSubmittableExtrinsic<
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::AdminOrigin`].
13116
+ * The origin of this call must be [`Config::ManagerOrigin`].
13117
13117
  *
13118
- * See [`AdminOperation`] for various operations that are possible.
13118
+ * See [`ManagerOperation`] for various operations that are possible.
13119
13119
  **/
13120
- { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
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::AdminOrigin`].
13127
+ * The origin of this call must be [`Config::ManagerOrigin`].
13127
13128
  *
13128
- * See [`AdminOperation`] for various operations that are possible.
13129
+ * See [`ManagerOperation`] for various operations that are possible.
13129
13130
  **/
13130
- { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
13131
+ | { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockManagerOperation } }
13132
+ | { name: 'Admin'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
13131
13133
 
13132
- export type PalletElectionProviderMultiBlockAdminOperation =
13134
+ export type PalletElectionProviderMultiBlockManagerOperation =
13133
13135
  | { type: 'ForceRotateRound' }
13134
13136
  | { type: 'ForceSetPhase'; value: PalletElectionProviderMultiBlockPhase }
13135
- | { type: 'EmergencySetSolution'; value: [FrameElectionProviderSupportBoundedSupports, SpNposElectionsElectionScore] }
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
  >;