@dedot/chaintypes 0.14.0 → 0.16.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.
Files changed (51) hide show
  1. package/kusama/consts.d.ts +48 -30
  2. package/kusama/errors.d.ts +89 -100
  3. package/kusama/events.d.ts +87 -28
  4. package/kusama/index.d.ts +1 -1
  5. package/kusama/query.d.ts +241 -130
  6. package/kusama/runtime.d.ts +347 -95
  7. package/kusama/tx.d.ts +3309 -456
  8. package/kusama/types.d.ts +6341 -1092
  9. package/kusama-asset-hub/consts.d.ts +52 -3
  10. package/kusama-asset-hub/errors.d.ts +30 -5
  11. package/kusama-asset-hub/events.d.ts +61 -1
  12. package/kusama-asset-hub/index.d.ts +1 -1
  13. package/kusama-asset-hub/query.d.ts +100 -18
  14. package/kusama-asset-hub/runtime.d.ts +186 -15
  15. package/kusama-asset-hub/tx.d.ts +3074 -254
  16. package/kusama-asset-hub/types.d.ts +6190 -551
  17. package/package.json +2 -2
  18. package/paseo/index.d.ts +1 -1
  19. package/rococo/errors.d.ts +0 -10
  20. package/rococo/events.d.ts +33 -12
  21. package/rococo/index.d.ts +1 -1
  22. package/rococo/query.d.ts +52 -52
  23. package/rococo/runtime.d.ts +117 -58
  24. package/rococo/tx.d.ts +33 -33
  25. package/rococo/types.d.ts +191 -185
  26. package/rococo-asset-hub/consts.d.ts +2 -2
  27. package/rococo-asset-hub/events.d.ts +87 -80
  28. package/rococo-asset-hub/index.d.ts +1 -1
  29. package/rococo-asset-hub/query.d.ts +66 -54
  30. package/rococo-asset-hub/runtime.d.ts +12 -15
  31. package/rococo-asset-hub/tx.d.ts +250 -241
  32. package/rococo-asset-hub/types.d.ts +353 -404
  33. package/westend/consts.d.ts +9 -0
  34. package/westend/errors.d.ts +0 -10
  35. package/westend/events.d.ts +79 -13
  36. package/westend/index.d.ts +1 -1
  37. package/westend/query.d.ts +75 -52
  38. package/westend/runtime.d.ts +133 -58
  39. package/westend/tx.d.ts +72 -35
  40. package/westend/types.d.ts +308 -190
  41. package/westend-asset-hub/consts.d.ts +2 -2
  42. package/westend-asset-hub/events.d.ts +87 -80
  43. package/westend-asset-hub/index.d.ts +1 -1
  44. package/westend-asset-hub/query.d.ts +66 -54
  45. package/westend-asset-hub/runtime.d.ts +12 -15
  46. package/westend-asset-hub/tx.d.ts +250 -241
  47. package/westend-asset-hub/types.d.ts +353 -404
  48. package/westend-people/index.d.ts +1 -1
  49. package/westend-people/query.d.ts +12 -12
  50. package/westend-people/tx.d.ts +1 -58
  51. package/westend-people/types.d.ts +16 -62
@@ -28,6 +28,8 @@ import type {
28
28
  PalletRankedCollectiveTally,
29
29
  FrameSupportDispatchPostDispatchInfo,
30
30
  SpRuntimeDispatchErrorWithPostInfo,
31
+ StagingKusamaRuntimeRuntimeParametersKey,
32
+ StagingKusamaRuntimeRuntimeParametersValue,
31
33
  PalletSocietyGroupParams,
32
34
  StagingKusamaRuntimeProxyType,
33
35
  PalletMultisigTimepoint,
@@ -37,10 +39,10 @@ import type {
37
39
  PalletNominationPoolsPoolState,
38
40
  PalletNominationPoolsCommissionChangeRate,
39
41
  PalletNominationPoolsCommissionClaimPermission,
40
- PolkadotPrimitivesV6CandidateReceipt,
42
+ PolkadotPrimitivesV7CandidateReceipt,
41
43
  PolkadotParachainPrimitivesPrimitivesHeadData,
42
- PolkadotPrimitivesV6CoreIndex,
43
- PolkadotPrimitivesV6GroupIndex,
44
+ PolkadotPrimitivesV7CoreIndex,
45
+ PolkadotPrimitivesV7GroupIndex,
44
46
  PolkadotParachainPrimitivesPrimitivesId,
45
47
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
46
48
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
@@ -479,11 +481,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
479
481
  * Pallet `Treasury`'s events
480
482
  **/
481
483
  treasury: {
482
- /**
483
- * New proposal.
484
- **/
485
- Proposed: GenericPalletEvent<Rv, 'Treasury', 'Proposed', { proposalIndex: number }>;
486
-
487
484
  /**
488
485
  * We have ended a spend period and will now allocate funds.
489
486
  **/
@@ -499,11 +496,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
499
496
  { proposalIndex: number; award: bigint; account: AccountId32 }
500
497
  >;
501
498
 
502
- /**
503
- * A proposal was rejected; funds were slashed.
504
- **/
505
- Rejected: GenericPalletEvent<Rv, 'Treasury', 'Rejected', { proposalIndex: number; slashed: bigint }>;
506
-
507
499
  /**
508
500
  * Some of our funds have been burnt.
509
501
  **/
@@ -1336,6 +1328,42 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1336
1328
  **/
1337
1329
  [prop: string]: GenericPalletEvent<Rv>;
1338
1330
  };
1331
+ /**
1332
+ * Pallet `Parameters`'s events
1333
+ **/
1334
+ parameters: {
1335
+ /**
1336
+ * A Parameter was set.
1337
+ *
1338
+ * Is also emitted when the value was not changed.
1339
+ **/
1340
+ Updated: GenericPalletEvent<
1341
+ Rv,
1342
+ 'Parameters',
1343
+ 'Updated',
1344
+ {
1345
+ /**
1346
+ * The key that was updated.
1347
+ **/
1348
+ key: StagingKusamaRuntimeRuntimeParametersKey;
1349
+
1350
+ /**
1351
+ * The old value before this call.
1352
+ **/
1353
+ oldValue?: StagingKusamaRuntimeRuntimeParametersValue | undefined;
1354
+
1355
+ /**
1356
+ * The new value after this call.
1357
+ **/
1358
+ newValue?: StagingKusamaRuntimeRuntimeParametersValue | undefined;
1359
+ }
1360
+ >;
1361
+
1362
+ /**
1363
+ * Generic pallet event
1364
+ **/
1365
+ [prop: string]: GenericPalletEvent<Rv>;
1366
+ };
1339
1367
  /**
1340
1368
  * Pallet `Claims`'s events
1341
1369
  **/
@@ -1605,6 +1633,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1605
1633
  { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
1606
1634
  >;
1607
1635
 
1636
+ /**
1637
+ * Set a retry configuration for some task.
1638
+ **/
1639
+ RetrySet: GenericPalletEvent<
1640
+ Rv,
1641
+ 'Scheduler',
1642
+ 'RetrySet',
1643
+ { task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
1644
+ >;
1645
+
1646
+ /**
1647
+ * Cancel a retry configuration for some task.
1648
+ **/
1649
+ RetryCancelled: GenericPalletEvent<
1650
+ Rv,
1651
+ 'Scheduler',
1652
+ 'RetryCancelled',
1653
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
1654
+ >;
1655
+
1608
1656
  /**
1609
1657
  * The call for the provided hash was not found so the task has been aborted.
1610
1658
  **/
@@ -1625,6 +1673,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1625
1673
  { task: [number, number]; id?: FixedBytes<32> | undefined }
1626
1674
  >;
1627
1675
 
1676
+ /**
1677
+ * The given task was unable to be retried since the agenda is full at that block or there
1678
+ * was not enough weight to reschedule it.
1679
+ **/
1680
+ RetryFailed: GenericPalletEvent<
1681
+ Rv,
1682
+ 'Scheduler',
1683
+ 'RetryFailed',
1684
+ { task: [number, number]; id?: FixedBytes<32> | undefined }
1685
+ >;
1686
+
1628
1687
  /**
1629
1688
  * The given task can never be executed since it is overweight.
1630
1689
  **/
@@ -1885,7 +1944,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
1885
1944
  * A solution was stored with the given compute.
1886
1945
  *
1887
1946
  * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
1888
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
1947
+ * the stored solution was submitted in the signed phase by a miner with the `AccountId`.
1889
1948
  * Otherwise, the solution was stored either during the unsigned phase or by
1890
1949
  * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
1891
1950
  * room for this one.
@@ -2038,7 +2097,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2038
2097
  Funded: GenericPalletEvent<Rv, 'Nis', 'Funded', { deficit: bigint }>;
2039
2098
 
2040
2099
  /**
2041
- * A receipt was transfered.
2100
+ * A receipt was transferred.
2042
2101
  **/
2043
2102
  Transferred: GenericPalletEvent<Rv, 'Nis', 'Transferred', { from: AccountId32; to: AccountId32; index: number }>;
2044
2103
 
@@ -2443,10 +2502,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2443
2502
  'ParaInclusion',
2444
2503
  'CandidateBacked',
2445
2504
  [
2446
- PolkadotPrimitivesV6CandidateReceipt,
2505
+ PolkadotPrimitivesV7CandidateReceipt,
2447
2506
  PolkadotParachainPrimitivesPrimitivesHeadData,
2448
- PolkadotPrimitivesV6CoreIndex,
2449
- PolkadotPrimitivesV6GroupIndex,
2507
+ PolkadotPrimitivesV7CoreIndex,
2508
+ PolkadotPrimitivesV7GroupIndex,
2450
2509
  ]
2451
2510
  >;
2452
2511
 
@@ -2458,10 +2517,10 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2458
2517
  'ParaInclusion',
2459
2518
  'CandidateIncluded',
2460
2519
  [
2461
- PolkadotPrimitivesV6CandidateReceipt,
2520
+ PolkadotPrimitivesV7CandidateReceipt,
2462
2521
  PolkadotParachainPrimitivesPrimitivesHeadData,
2463
- PolkadotPrimitivesV6CoreIndex,
2464
- PolkadotPrimitivesV6GroupIndex,
2522
+ PolkadotPrimitivesV7CoreIndex,
2523
+ PolkadotPrimitivesV7GroupIndex,
2465
2524
  ]
2466
2525
  >;
2467
2526
 
@@ -2473,9 +2532,9 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2473
2532
  'ParaInclusion',
2474
2533
  'CandidateTimedOut',
2475
2534
  [
2476
- PolkadotPrimitivesV6CandidateReceipt,
2535
+ PolkadotPrimitivesV7CandidateReceipt,
2477
2536
  PolkadotParachainPrimitivesPrimitivesHeadData,
2478
- PolkadotPrimitivesV6CoreIndex,
2537
+ PolkadotPrimitivesV7CoreIndex,
2479
2538
  ]
2480
2539
  >;
2481
2540
 
@@ -2709,19 +2768,19 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2709
2768
  **/
2710
2769
  onDemandAssignmentProvider: {
2711
2770
  /**
2712
- * An order was placed at some spot price amount.
2771
+ * An order was placed at some spot price amount by orderer ordered_by
2713
2772
  **/
2714
2773
  OnDemandOrderPlaced: GenericPalletEvent<
2715
2774
  Rv,
2716
2775
  'OnDemandAssignmentProvider',
2717
2776
  'OnDemandOrderPlaced',
2718
- { paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint }
2777
+ { paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint; orderedBy: AccountId32 }
2719
2778
  >;
2720
2779
 
2721
2780
  /**
2722
- * The value of the spot traffic multiplier changed.
2781
+ * The value of the spot price has likely changed
2723
2782
  **/
2724
- SpotTrafficSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotTrafficSet', { traffic: FixedU128 }>;
2783
+ SpotPriceSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotPriceSet', { spotPrice: bigint }>;
2725
2784
 
2726
2785
  /**
2727
2786
  * Generic pallet event
@@ -2976,7 +3035,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
2976
3035
  /**
2977
3036
  * A core has received a new assignment from the broker chain.
2978
3037
  **/
2979
- CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV6CoreIndex }>;
3038
+ CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV7CoreIndex }>;
2980
3039
 
2981
3040
  /**
2982
3041
  * Generic pallet event
package/kusama/index.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
23
23
 
24
24
  /**
25
25
  * @name: KusamaApi
26
- * @specVersion: 1002006
26
+ * @specVersion: 1003000
27
27
  **/
28
28
  export interface KusamaApi {
29
29
  legacy: VersionedKusamaApi<RpcLegacy>;