@dedot/chaintypes 0.0.1-alpha.64 → 0.0.1-alpha.66

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/kusama/rpc.d.ts CHANGED
@@ -186,49 +186,49 @@ export interface RpcCalls extends GenericRpcCalls {
186
186
  };
187
187
  chainHead: {
188
188
  /**
189
- * @rpcname: chainHead_unstable_body
189
+ * @rpcname: chainHead_v1_body
190
190
  **/
191
- unstable_body: GenericRpcCall;
191
+ v1_body: GenericRpcCall;
192
192
 
193
193
  /**
194
- * @rpcname: chainHead_unstable_call
194
+ * @rpcname: chainHead_v1_call
195
195
  **/
196
- unstable_call: GenericRpcCall;
196
+ v1_call: GenericRpcCall;
197
197
 
198
198
  /**
199
- * @rpcname: chainHead_unstable_continue
199
+ * @rpcname: chainHead_v1_continue
200
200
  **/
201
- unstable_continue: GenericRpcCall;
201
+ v1_continue: GenericRpcCall;
202
202
 
203
203
  /**
204
- * @rpcname: chainHead_unstable_follow
204
+ * @rpcname: chainHead_v1_follow
205
205
  **/
206
- unstable_follow: GenericRpcCall;
206
+ v1_follow: GenericRpcCall;
207
207
 
208
208
  /**
209
- * @rpcname: chainHead_unstable_header
209
+ * @rpcname: chainHead_v1_header
210
210
  **/
211
- unstable_header: GenericRpcCall;
211
+ v1_header: GenericRpcCall;
212
212
 
213
213
  /**
214
- * @rpcname: chainHead_unstable_stopOperation
214
+ * @rpcname: chainHead_v1_stopOperation
215
215
  **/
216
- unstable_stopOperation: GenericRpcCall;
216
+ v1_stopOperation: GenericRpcCall;
217
217
 
218
218
  /**
219
- * @rpcname: chainHead_unstable_storage
219
+ * @rpcname: chainHead_v1_storage
220
220
  **/
221
- unstable_storage: GenericRpcCall;
221
+ v1_storage: GenericRpcCall;
222
222
 
223
223
  /**
224
- * @rpcname: chainHead_unstable_unfollow
224
+ * @rpcname: chainHead_v1_unfollow
225
225
  **/
226
- unstable_unfollow: GenericRpcCall;
226
+ v1_unfollow: GenericRpcCall;
227
227
 
228
228
  /**
229
- * @rpcname: chainHead_unstable_unpin
229
+ * @rpcname: chainHead_v1_unpin
230
230
  **/
231
- unstable_unpin: GenericRpcCall;
231
+ v1_unpin: GenericRpcCall;
232
232
 
233
233
  [method: string]: GenericRpcCall;
234
234
  };
@@ -890,27 +890,27 @@ export interface RpcCalls extends GenericRpcCalls {
890
890
  };
891
891
  transactionWatch: {
892
892
  /**
893
- * @rpcname: transactionWatch_unstable_submitAndWatch
893
+ * @rpcname: transactionWatch_v1_submitAndWatch
894
894
  **/
895
- unstable_submitAndWatch: GenericRpcCall;
895
+ v1_submitAndWatch: GenericRpcCall;
896
896
 
897
897
  /**
898
- * @rpcname: transactionWatch_unstable_unwatch
898
+ * @rpcname: transactionWatch_v1_unwatch
899
899
  **/
900
- unstable_unwatch: GenericRpcCall;
900
+ v1_unwatch: GenericRpcCall;
901
901
 
902
902
  [method: string]: GenericRpcCall;
903
903
  };
904
904
  transaction: {
905
905
  /**
906
- * @rpcname: transaction_unstable_broadcast
906
+ * @rpcname: transaction_v1_broadcast
907
907
  **/
908
- unstable_broadcast: GenericRpcCall;
908
+ v1_broadcast: GenericRpcCall;
909
909
 
910
910
  /**
911
- * @rpcname: transaction_unstable_stop
911
+ * @rpcname: transaction_v1_stop
912
912
  **/
913
- unstable_stop: GenericRpcCall;
913
+ v1_stop: GenericRpcCall;
914
914
 
915
915
  [method: string]: GenericRpcCall;
916
916
  };
@@ -150,49 +150,49 @@ export interface RpcCalls extends GenericRpcCalls {
150
150
  };
151
151
  chainHead: {
152
152
  /**
153
- * @rpcname: chainHead_unstable_body
153
+ * @rpcname: chainHead_v1_body
154
154
  **/
155
- unstable_body: GenericRpcCall;
155
+ v1_body: GenericRpcCall;
156
156
 
157
157
  /**
158
- * @rpcname: chainHead_unstable_call
158
+ * @rpcname: chainHead_v1_call
159
159
  **/
160
- unstable_call: GenericRpcCall;
160
+ v1_call: GenericRpcCall;
161
161
 
162
162
  /**
163
- * @rpcname: chainHead_unstable_continue
163
+ * @rpcname: chainHead_v1_continue
164
164
  **/
165
- unstable_continue: GenericRpcCall;
165
+ v1_continue: GenericRpcCall;
166
166
 
167
167
  /**
168
- * @rpcname: chainHead_unstable_follow
168
+ * @rpcname: chainHead_v1_follow
169
169
  **/
170
- unstable_follow: GenericRpcCall;
170
+ v1_follow: GenericRpcCall;
171
171
 
172
172
  /**
173
- * @rpcname: chainHead_unstable_header
173
+ * @rpcname: chainHead_v1_header
174
174
  **/
175
- unstable_header: GenericRpcCall;
175
+ v1_header: GenericRpcCall;
176
176
 
177
177
  /**
178
- * @rpcname: chainHead_unstable_stopOperation
178
+ * @rpcname: chainHead_v1_stopOperation
179
179
  **/
180
- unstable_stopOperation: GenericRpcCall;
180
+ v1_stopOperation: GenericRpcCall;
181
181
 
182
182
  /**
183
- * @rpcname: chainHead_unstable_storage
183
+ * @rpcname: chainHead_v1_storage
184
184
  **/
185
- unstable_storage: GenericRpcCall;
185
+ v1_storage: GenericRpcCall;
186
186
 
187
187
  /**
188
- * @rpcname: chainHead_unstable_unfollow
188
+ * @rpcname: chainHead_v1_unfollow
189
189
  **/
190
- unstable_unfollow: GenericRpcCall;
190
+ v1_unfollow: GenericRpcCall;
191
191
 
192
192
  /**
193
- * @rpcname: chainHead_unstable_unpin
193
+ * @rpcname: chainHead_v1_unpin
194
194
  **/
195
- unstable_unpin: GenericRpcCall;
195
+ v1_unpin: GenericRpcCall;
196
196
 
197
197
  [method: string]: GenericRpcCall;
198
198
  };
@@ -732,27 +732,27 @@ export interface RpcCalls extends GenericRpcCalls {
732
732
  };
733
733
  transactionWatch: {
734
734
  /**
735
- * @rpcname: transactionWatch_unstable_submitAndWatch
735
+ * @rpcname: transactionWatch_v1_submitAndWatch
736
736
  **/
737
- unstable_submitAndWatch: GenericRpcCall;
737
+ v1_submitAndWatch: GenericRpcCall;
738
738
 
739
739
  /**
740
- * @rpcname: transactionWatch_unstable_unwatch
740
+ * @rpcname: transactionWatch_v1_unwatch
741
741
  **/
742
- unstable_unwatch: GenericRpcCall;
742
+ v1_unwatch: GenericRpcCall;
743
743
 
744
744
  [method: string]: GenericRpcCall;
745
745
  };
746
746
  transaction: {
747
747
  /**
748
- * @rpcname: transaction_unstable_broadcast
748
+ * @rpcname: transaction_v1_broadcast
749
749
  **/
750
- unstable_broadcast: GenericRpcCall;
750
+ v1_broadcast: GenericRpcCall;
751
751
 
752
752
  /**
753
- * @rpcname: transaction_unstable_stop
753
+ * @rpcname: transaction_v1_stop
754
754
  **/
755
- unstable_stop: GenericRpcCall;
755
+ v1_stop: GenericRpcCall;
756
756
 
757
757
  [method: string]: GenericRpcCall;
758
758
  };
package/moonbeam/rpc.d.ts CHANGED
@@ -307,24 +307,6 @@ export interface RpcCalls extends GenericRpcCalls {
307
307
 
308
308
  [method: string]: GenericRpcCall;
309
309
  };
310
- debug: {
311
- /**
312
- * @rpcname: debug_traceBlockByHash
313
- **/
314
- traceBlockByHash: GenericRpcCall;
315
-
316
- /**
317
- * @rpcname: debug_traceBlockByNumber
318
- **/
319
- traceBlockByNumber: GenericRpcCall;
320
-
321
- /**
322
- * @rpcname: debug_traceTransaction
323
- **/
324
- traceTransaction: GenericRpcCall;
325
-
326
- [method: string]: GenericRpcCall;
327
- };
328
310
  eth: {
329
311
  /**
330
312
  * @rpcname: eth_accounts
@@ -960,14 +942,6 @@ export interface RpcCalls extends GenericRpcCalls {
960
942
 
961
943
  [method: string]: GenericRpcCall;
962
944
  };
963
- trace: {
964
- /**
965
- * @rpcname: trace_filter
966
- **/
967
- filter: GenericRpcCall;
968
-
969
- [method: string]: GenericRpcCall;
970
- };
971
945
  transaction: {
972
946
  /**
973
947
  * @rpcname: transaction_unstable_submitAndWatch
@@ -981,24 +955,6 @@ export interface RpcCalls extends GenericRpcCalls {
981
955
 
982
956
  [method: string]: GenericRpcCall;
983
957
  };
984
- txpool: {
985
- /**
986
- * @rpcname: txpool_content
987
- **/
988
- content: GenericRpcCall;
989
-
990
- /**
991
- * @rpcname: txpool_inspect
992
- **/
993
- inspect: GenericRpcCall;
994
-
995
- /**
996
- * @rpcname: txpool_status
997
- **/
998
- status: GenericRpcCall;
999
-
1000
- [method: string]: GenericRpcCall;
1001
- };
1002
958
  web3: {
1003
959
  /**
1004
960
  * @rpcname: web3_clientVersion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.0.1-alpha.64",
3
+ "version": "0.0.1-alpha.66",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -20,7 +20,7 @@
20
20
  "directory": "dist"
21
21
  },
22
22
  "license": "Apache-2.0",
23
- "gitHead": "492c89c5331c72880a7ff592303065177e05a04d",
23
+ "gitHead": "496e067e850866bccf0f901e759c43486cf09c30",
24
24
  "module": "./index.js",
25
25
  "types": "./index.d.ts"
26
26
  }
package/polkadot/rpc.d.ts CHANGED
@@ -186,49 +186,49 @@ export interface RpcCalls extends GenericRpcCalls {
186
186
  };
187
187
  chainHead: {
188
188
  /**
189
- * @rpcname: chainHead_unstable_body
189
+ * @rpcname: chainHead_v1_body
190
190
  **/
191
- unstable_body: GenericRpcCall;
191
+ v1_body: GenericRpcCall;
192
192
 
193
193
  /**
194
- * @rpcname: chainHead_unstable_call
194
+ * @rpcname: chainHead_v1_call
195
195
  **/
196
- unstable_call: GenericRpcCall;
196
+ v1_call: GenericRpcCall;
197
197
 
198
198
  /**
199
- * @rpcname: chainHead_unstable_continue
199
+ * @rpcname: chainHead_v1_continue
200
200
  **/
201
- unstable_continue: GenericRpcCall;
201
+ v1_continue: GenericRpcCall;
202
202
 
203
203
  /**
204
- * @rpcname: chainHead_unstable_follow
204
+ * @rpcname: chainHead_v1_follow
205
205
  **/
206
- unstable_follow: GenericRpcCall;
206
+ v1_follow: GenericRpcCall;
207
207
 
208
208
  /**
209
- * @rpcname: chainHead_unstable_header
209
+ * @rpcname: chainHead_v1_header
210
210
  **/
211
- unstable_header: GenericRpcCall;
211
+ v1_header: GenericRpcCall;
212
212
 
213
213
  /**
214
- * @rpcname: chainHead_unstable_stopOperation
214
+ * @rpcname: chainHead_v1_stopOperation
215
215
  **/
216
- unstable_stopOperation: GenericRpcCall;
216
+ v1_stopOperation: GenericRpcCall;
217
217
 
218
218
  /**
219
- * @rpcname: chainHead_unstable_storage
219
+ * @rpcname: chainHead_v1_storage
220
220
  **/
221
- unstable_storage: GenericRpcCall;
221
+ v1_storage: GenericRpcCall;
222
222
 
223
223
  /**
224
- * @rpcname: chainHead_unstable_unfollow
224
+ * @rpcname: chainHead_v1_unfollow
225
225
  **/
226
- unstable_unfollow: GenericRpcCall;
226
+ v1_unfollow: GenericRpcCall;
227
227
 
228
228
  /**
229
- * @rpcname: chainHead_unstable_unpin
229
+ * @rpcname: chainHead_v1_unpin
230
230
  **/
231
- unstable_unpin: GenericRpcCall;
231
+ v1_unpin: GenericRpcCall;
232
232
 
233
233
  [method: string]: GenericRpcCall;
234
234
  };
@@ -890,27 +890,27 @@ export interface RpcCalls extends GenericRpcCalls {
890
890
  };
891
891
  transactionWatch: {
892
892
  /**
893
- * @rpcname: transactionWatch_unstable_submitAndWatch
893
+ * @rpcname: transactionWatch_v1_submitAndWatch
894
894
  **/
895
- unstable_submitAndWatch: GenericRpcCall;
895
+ v1_submitAndWatch: GenericRpcCall;
896
896
 
897
897
  /**
898
- * @rpcname: transactionWatch_unstable_unwatch
898
+ * @rpcname: transactionWatch_v1_unwatch
899
899
  **/
900
- unstable_unwatch: GenericRpcCall;
900
+ v1_unwatch: GenericRpcCall;
901
901
 
902
902
  [method: string]: GenericRpcCall;
903
903
  };
904
904
  transaction: {
905
905
  /**
906
- * @rpcname: transaction_unstable_broadcast
906
+ * @rpcname: transaction_v1_broadcast
907
907
  **/
908
- unstable_broadcast: GenericRpcCall;
908
+ v1_broadcast: GenericRpcCall;
909
909
 
910
910
  /**
911
- * @rpcname: transaction_unstable_stop
911
+ * @rpcname: transaction_v1_stop
912
912
  **/
913
- unstable_stop: GenericRpcCall;
913
+ v1_stop: GenericRpcCall;
914
914
 
915
915
  [method: string]: GenericRpcCall;
916
916
  };
@@ -150,49 +150,49 @@ export interface RpcCalls extends GenericRpcCalls {
150
150
  };
151
151
  chainHead: {
152
152
  /**
153
- * @rpcname: chainHead_unstable_body
153
+ * @rpcname: chainHead_v1_body
154
154
  **/
155
- unstable_body: GenericRpcCall;
155
+ v1_body: GenericRpcCall;
156
156
 
157
157
  /**
158
- * @rpcname: chainHead_unstable_call
158
+ * @rpcname: chainHead_v1_call
159
159
  **/
160
- unstable_call: GenericRpcCall;
160
+ v1_call: GenericRpcCall;
161
161
 
162
162
  /**
163
- * @rpcname: chainHead_unstable_continue
163
+ * @rpcname: chainHead_v1_continue
164
164
  **/
165
- unstable_continue: GenericRpcCall;
165
+ v1_continue: GenericRpcCall;
166
166
 
167
167
  /**
168
- * @rpcname: chainHead_unstable_follow
168
+ * @rpcname: chainHead_v1_follow
169
169
  **/
170
- unstable_follow: GenericRpcCall;
170
+ v1_follow: GenericRpcCall;
171
171
 
172
172
  /**
173
- * @rpcname: chainHead_unstable_header
173
+ * @rpcname: chainHead_v1_header
174
174
  **/
175
- unstable_header: GenericRpcCall;
175
+ v1_header: GenericRpcCall;
176
176
 
177
177
  /**
178
- * @rpcname: chainHead_unstable_stopOperation
178
+ * @rpcname: chainHead_v1_stopOperation
179
179
  **/
180
- unstable_stopOperation: GenericRpcCall;
180
+ v1_stopOperation: GenericRpcCall;
181
181
 
182
182
  /**
183
- * @rpcname: chainHead_unstable_storage
183
+ * @rpcname: chainHead_v1_storage
184
184
  **/
185
- unstable_storage: GenericRpcCall;
185
+ v1_storage: GenericRpcCall;
186
186
 
187
187
  /**
188
- * @rpcname: chainHead_unstable_unfollow
188
+ * @rpcname: chainHead_v1_unfollow
189
189
  **/
190
- unstable_unfollow: GenericRpcCall;
190
+ v1_unfollow: GenericRpcCall;
191
191
 
192
192
  /**
193
- * @rpcname: chainHead_unstable_unpin
193
+ * @rpcname: chainHead_v1_unpin
194
194
  **/
195
- unstable_unpin: GenericRpcCall;
195
+ v1_unpin: GenericRpcCall;
196
196
 
197
197
  [method: string]: GenericRpcCall;
198
198
  };
@@ -732,27 +732,27 @@ export interface RpcCalls extends GenericRpcCalls {
732
732
  };
733
733
  transactionWatch: {
734
734
  /**
735
- * @rpcname: transactionWatch_unstable_submitAndWatch
735
+ * @rpcname: transactionWatch_v1_submitAndWatch
736
736
  **/
737
- unstable_submitAndWatch: GenericRpcCall;
737
+ v1_submitAndWatch: GenericRpcCall;
738
738
 
739
739
  /**
740
- * @rpcname: transactionWatch_unstable_unwatch
740
+ * @rpcname: transactionWatch_v1_unwatch
741
741
  **/
742
- unstable_unwatch: GenericRpcCall;
742
+ v1_unwatch: GenericRpcCall;
743
743
 
744
744
  [method: string]: GenericRpcCall;
745
745
  };
746
746
  transaction: {
747
747
  /**
748
- * @rpcname: transaction_unstable_broadcast
748
+ * @rpcname: transaction_v1_broadcast
749
749
  **/
750
- unstable_broadcast: GenericRpcCall;
750
+ v1_broadcast: GenericRpcCall;
751
751
 
752
752
  /**
753
- * @rpcname: transaction_unstable_stop
753
+ * @rpcname: transaction_v1_stop
754
754
  **/
755
- unstable_stop: GenericRpcCall;
755
+ v1_stop: GenericRpcCall;
756
756
 
757
757
  [method: string]: GenericRpcCall;
758
758
  };
@@ -164,6 +164,15 @@ export interface ChainConsts extends GenericChainConsts {
164
164
  **/
165
165
  [name: string]: any;
166
166
  };
167
+ /**
168
+ * Pallet `Parameters`'s constants
169
+ **/
170
+ parameters: {
171
+ /**
172
+ * Generic pallet constant
173
+ **/
174
+ [name: string]: any;
175
+ };
167
176
  /**
168
177
  * Pallet `TransactionPayment`'s constants
169
178
  **/
@@ -2564,11 +2564,6 @@ export interface ChainErrors extends GenericChainErrors {
2564
2564
  **/
2565
2565
  InUse: GenericPalletError;
2566
2566
 
2567
- /**
2568
- * Invalid non-concrete asset.
2569
- **/
2570
- InvalidAssetNotConcrete: GenericPalletError;
2571
-
2572
2567
  /**
2573
2568
  * Invalid asset, reserve chain could not be determined for it.
2574
2569
  **/
@@ -2589,17 +2584,6 @@ export interface ChainErrors extends GenericChainErrors {
2589
2584
  **/
2590
2585
  LocalExecutionIncomplete: GenericPalletError;
2591
2586
 
2592
- /**
2593
- * Could not decode XCM.
2594
- **/
2595
- UnableToDecode: GenericPalletError;
2596
-
2597
- /**
2598
- * XCM encoded length is too large.
2599
- * Returned when an XCM encoded length is larger than `MaxXcmEncodedSize`.
2600
- **/
2601
- XcmTooLarge: GenericPalletError;
2602
-
2603
2587
  /**
2604
2588
  * Generic pallet error
2605
2589
  **/
@@ -15,6 +15,8 @@ import type {
15
15
  } from '@dedot/codecs';
16
16
  import type {
17
17
  FrameSupportTokensMiscBalanceStatus,
18
+ RococoRuntimeRuntimeParametersKey,
19
+ RococoRuntimeRuntimeParametersValue,
18
20
  SpConsensusGrandpaAppPublic,
19
21
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
20
22
  XcmVersionedLocation,
@@ -249,6 +251,41 @@ export interface ChainEvents extends GenericChainEvents {
249
251
  **/
250
252
  [prop: string]: GenericPalletEvent;
251
253
  };
254
+ /**
255
+ * Pallet `Parameters`'s events
256
+ **/
257
+ parameters: {
258
+ /**
259
+ * A Parameter was set.
260
+ *
261
+ * Is also emitted when the value was not changed.
262
+ **/
263
+ Updated: GenericPalletEvent<
264
+ 'Parameters',
265
+ 'Updated',
266
+ {
267
+ /**
268
+ * The key that was updated.
269
+ **/
270
+ key: RococoRuntimeRuntimeParametersKey;
271
+
272
+ /**
273
+ * The old value before this call.
274
+ **/
275
+ oldValue?: RococoRuntimeRuntimeParametersValue | undefined;
276
+
277
+ /**
278
+ * The new value after this call.
279
+ **/
280
+ newValue?: RococoRuntimeRuntimeParametersValue | undefined;
281
+ }
282
+ >;
283
+
284
+ /**
285
+ * Generic pallet event
286
+ **/
287
+ [prop: string]: GenericPalletEvent;
288
+ };
252
289
  /**
253
290
  * Pallet `TransactionPayment`'s events
254
291
  **/
@@ -2258,7 +2295,7 @@ export interface ChainEvents extends GenericChainEvents {
2258
2295
  >;
2259
2296
 
2260
2297
  /**
2261
- * An HRMP channel was opened between two system chains.
2298
+ * An HRMP channel was opened with a system chain.
2262
2299
  **/
2263
2300
  HrmpSystemChannelOpened: GenericPalletEvent<
2264
2301
  'Hrmp',
package/rococo/query.d.ts CHANGED
@@ -32,6 +32,8 @@ import type {
32
32
  PalletBalancesReserveData,
33
33
  PalletBalancesIdAmount,
34
34
  PalletBalancesIdAmount002,
35
+ RococoRuntimeRuntimeParametersValue,
36
+ RococoRuntimeRuntimeParametersKey,
35
37
  PalletTransactionPaymentReleases,
36
38
  SpStakingOffenceOffenceDetails,
37
39
  RococoRuntimeSessionKeys,
@@ -588,6 +590,25 @@ export interface ChainStorage extends GenericChainStorage {
588
590
  **/
589
591
  [storage: string]: GenericStorageQuery;
590
592
  };
593
+ /**
594
+ * Pallet `Parameters`'s storage queries
595
+ **/
596
+ parameters: {
597
+ /**
598
+ * Stored parameters.
599
+ *
600
+ * @param {RococoRuntimeRuntimeParametersKey} arg
601
+ * @param {Callback<RococoRuntimeRuntimeParametersValue | undefined> =} callback
602
+ **/
603
+ parameters: GenericStorageQuery<
604
+ (arg: RococoRuntimeRuntimeParametersKey) => RococoRuntimeRuntimeParametersValue | undefined
605
+ >;
606
+
607
+ /**
608
+ * Generic pallet storage query
609
+ **/
610
+ [storage: string]: GenericStorageQuery;
611
+ };
591
612
  /**
592
613
  * Pallet `TransactionPayment`'s storage queries
593
614
  **/