@dedot/chaintypes 0.243.0 → 0.245.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/kusama/tx.d.ts CHANGED
@@ -66,19 +66,19 @@ import type {
66
66
  PalletNominationPoolsCommissionClaimPermission,
67
67
  PalletStakingAsyncRcClientValidatorSetReport,
68
68
  PalletStakingAsyncAhClientOperatingMode,
69
- PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
70
- PolkadotPrimitivesV8ExecutorParams,
71
- PolkadotPrimitivesV8ApprovalVotingParams,
72
- PolkadotPrimitivesV8SchedulerParams,
73
- PolkadotPrimitivesVstagingInherentData,
69
+ PolkadotPrimitivesV9AsyncBackingAsyncBackingParams,
70
+ PolkadotPrimitivesV9ExecutorParams,
71
+ PolkadotPrimitivesV9ApprovalVotingParams,
72
+ PolkadotPrimitivesV9SchedulerParams,
73
+ PolkadotPrimitivesV9InherentData,
74
74
  PolkadotParachainPrimitivesPrimitivesId,
75
75
  PolkadotParachainPrimitivesPrimitivesValidationCode,
76
76
  PolkadotParachainPrimitivesPrimitivesHeadData,
77
77
  PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
78
- PolkadotPrimitivesV8PvfCheckStatement,
79
- PolkadotPrimitivesV8ValidatorAppSignature,
78
+ PolkadotPrimitivesV9PvfCheckStatement,
79
+ PolkadotPrimitivesV9ValidatorAppSignature,
80
80
  PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
81
- PolkadotPrimitivesVstagingDisputeProof,
81
+ PolkadotPrimitivesV9SlashingDisputeProof,
82
82
  SpRuntimeMultiSigner,
83
83
  PalletBrokerCoretimeInterfaceCoreAssignment,
84
84
  PolkadotRuntimeParachainsAssignerCoretimePartsOf57600,
@@ -4356,6 +4356,30 @@ export interface ChainTx<
4356
4356
  >
4357
4357
  >;
4358
4358
 
4359
+ /**
4360
+ * Kick a member from the society. Callable only by the Signed origin of the Founder.
4361
+ *
4362
+ * The member is fully removed (not suspended). All unclaimed payouts are slashed and
4363
+ * returned to the society pot.
4364
+ *
4365
+ * Parameters:
4366
+ * - `who`: The member to be removed.
4367
+ *
4368
+ * @param {MultiAddressLike} who
4369
+ **/
4370
+ kickMember: GenericTxCall<
4371
+ (who: MultiAddressLike) => ChainSubmittableExtrinsic<
4372
+ {
4373
+ pallet: 'Society';
4374
+ palletCall: {
4375
+ name: 'KickMember';
4376
+ params: { who: MultiAddressLike };
4377
+ };
4378
+ },
4379
+ ChainKnownTypes
4380
+ >
4381
+ >;
4382
+
4359
4383
  /**
4360
4384
  * Generic pallet tx call
4361
4385
  **/
@@ -7762,6 +7786,55 @@ export interface ChainTx<
7762
7786
  >
7763
7787
  >;
7764
7788
 
7789
+ /**
7790
+ * Set session keys for a validator, forwarded from AssetHub.
7791
+ *
7792
+ * This is called when a validator sets their session keys on AssetHub, which forwards
7793
+ * the request to the RelayChain via XCM.
7794
+ *
7795
+ * AssetHub validates both keys and ownership proof before sending.
7796
+ * RC trusts AH's validation and does not re-validate.
7797
+ *
7798
+ * @param {AccountId32Like} stash
7799
+ * @param {BytesLike} keys
7800
+ **/
7801
+ setKeysFromAh: GenericTxCall<
7802
+ (
7803
+ stash: AccountId32Like,
7804
+ keys: BytesLike,
7805
+ ) => ChainSubmittableExtrinsic<
7806
+ {
7807
+ pallet: 'StakingAhClient';
7808
+ palletCall: {
7809
+ name: 'SetKeysFromAh';
7810
+ params: { stash: AccountId32Like; keys: BytesLike };
7811
+ };
7812
+ },
7813
+ ChainKnownTypes
7814
+ >
7815
+ >;
7816
+
7817
+ /**
7818
+ * Purge session keys for a validator, forwarded from AssetHub.
7819
+ *
7820
+ * This is called when a validator purges their session keys on AssetHub, which forwards
7821
+ * the request to the RelayChain via XCM.
7822
+ *
7823
+ * @param {AccountId32Like} stash
7824
+ **/
7825
+ purgeKeysFromAh: GenericTxCall<
7826
+ (stash: AccountId32Like) => ChainSubmittableExtrinsic<
7827
+ {
7828
+ pallet: 'StakingAhClient';
7829
+ palletCall: {
7830
+ name: 'PurgeKeysFromAh';
7831
+ params: { stash: AccountId32Like };
7832
+ };
7833
+ },
7834
+ ChainKnownTypes
7835
+ >
7836
+ >;
7837
+
7765
7838
  /**
7766
7839
  * Generic pallet tx call
7767
7840
  **/
@@ -8432,15 +8505,15 @@ export interface ChainTx<
8432
8505
  /**
8433
8506
  * Set the asynchronous backing parameters.
8434
8507
  *
8435
- * @param {PolkadotPrimitivesV8AsyncBackingAsyncBackingParams} new_
8508
+ * @param {PolkadotPrimitivesV9AsyncBackingAsyncBackingParams} new_
8436
8509
  **/
8437
8510
  setAsyncBackingParams: GenericTxCall<
8438
- (new_: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
8511
+ (new_: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams) => ChainSubmittableExtrinsic<
8439
8512
  {
8440
8513
  pallet: 'Configuration';
8441
8514
  palletCall: {
8442
8515
  name: 'SetAsyncBackingParams';
8443
- params: { new: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams };
8516
+ params: { new: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams };
8444
8517
  };
8445
8518
  },
8446
8519
  ChainKnownTypes
@@ -8450,15 +8523,15 @@ export interface ChainTx<
8450
8523
  /**
8451
8524
  * Set PVF executor parameters.
8452
8525
  *
8453
- * @param {PolkadotPrimitivesV8ExecutorParams} new_
8526
+ * @param {PolkadotPrimitivesV9ExecutorParams} new_
8454
8527
  **/
8455
8528
  setExecutorParams: GenericTxCall<
8456
- (new_: PolkadotPrimitivesV8ExecutorParams) => ChainSubmittableExtrinsic<
8529
+ (new_: PolkadotPrimitivesV9ExecutorParams) => ChainSubmittableExtrinsic<
8457
8530
  {
8458
8531
  pallet: 'Configuration';
8459
8532
  palletCall: {
8460
8533
  name: 'SetExecutorParams';
8461
- params: { new: PolkadotPrimitivesV8ExecutorParams };
8534
+ params: { new: PolkadotPrimitivesV9ExecutorParams };
8462
8535
  };
8463
8536
  },
8464
8537
  ChainKnownTypes
@@ -8580,15 +8653,15 @@ export interface ChainTx<
8580
8653
  /**
8581
8654
  * Set approval-voting-params.
8582
8655
  *
8583
- * @param {PolkadotPrimitivesV8ApprovalVotingParams} new_
8656
+ * @param {PolkadotPrimitivesV9ApprovalVotingParams} new_
8584
8657
  **/
8585
8658
  setApprovalVotingParams: GenericTxCall<
8586
- (new_: PolkadotPrimitivesV8ApprovalVotingParams) => ChainSubmittableExtrinsic<
8659
+ (new_: PolkadotPrimitivesV9ApprovalVotingParams) => ChainSubmittableExtrinsic<
8587
8660
  {
8588
8661
  pallet: 'Configuration';
8589
8662
  palletCall: {
8590
8663
  name: 'SetApprovalVotingParams';
8591
- params: { new: PolkadotPrimitivesV8ApprovalVotingParams };
8664
+ params: { new: PolkadotPrimitivesV9ApprovalVotingParams };
8592
8665
  };
8593
8666
  },
8594
8667
  ChainKnownTypes
@@ -8598,15 +8671,15 @@ export interface ChainTx<
8598
8671
  /**
8599
8672
  * Set scheduler-params.
8600
8673
  *
8601
- * @param {PolkadotPrimitivesV8SchedulerParams} new_
8674
+ * @param {PolkadotPrimitivesV9SchedulerParams} new_
8602
8675
  **/
8603
8676
  setSchedulerParams: GenericTxCall<
8604
- (new_: PolkadotPrimitivesV8SchedulerParams) => ChainSubmittableExtrinsic<
8677
+ (new_: PolkadotPrimitivesV9SchedulerParams) => ChainSubmittableExtrinsic<
8605
8678
  {
8606
8679
  pallet: 'Configuration';
8607
8680
  palletCall: {
8608
8681
  name: 'SetSchedulerParams';
8609
- params: { new: PolkadotPrimitivesV8SchedulerParams };
8682
+ params: { new: PolkadotPrimitivesV9SchedulerParams };
8610
8683
  };
8611
8684
  },
8612
8685
  ChainKnownTypes
@@ -8643,15 +8716,15 @@ export interface ChainTx<
8643
8716
  /**
8644
8717
  * Enter the paras inherent. This will process bitfields and backed candidates.
8645
8718
  *
8646
- * @param {PolkadotPrimitivesVstagingInherentData} data
8719
+ * @param {PolkadotPrimitivesV9InherentData} data
8647
8720
  **/
8648
8721
  enter: GenericTxCall<
8649
- (data: PolkadotPrimitivesVstagingInherentData) => ChainSubmittableExtrinsic<
8722
+ (data: PolkadotPrimitivesV9InherentData) => ChainSubmittableExtrinsic<
8650
8723
  {
8651
8724
  pallet: 'ParaInherent';
8652
8725
  palletCall: {
8653
8726
  name: 'Enter';
8654
- params: { data: PolkadotPrimitivesVstagingInherentData };
8727
+ params: { data: PolkadotPrimitivesV9InherentData };
8655
8728
  };
8656
8729
  },
8657
8730
  ChainKnownTypes
@@ -8847,21 +8920,21 @@ export interface ChainTx<
8847
8920
  * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
8848
8921
  * enacts the results if that was the last vote before achieving the supermajority.
8849
8922
  *
8850
- * @param {PolkadotPrimitivesV8PvfCheckStatement} stmt
8851
- * @param {PolkadotPrimitivesV8ValidatorAppSignature} signature
8923
+ * @param {PolkadotPrimitivesV9PvfCheckStatement} stmt
8924
+ * @param {PolkadotPrimitivesV9ValidatorAppSignature} signature
8852
8925
  **/
8853
8926
  includePvfCheckStatement: GenericTxCall<
8854
8927
  (
8855
- stmt: PolkadotPrimitivesV8PvfCheckStatement,
8856
- signature: PolkadotPrimitivesV8ValidatorAppSignature,
8928
+ stmt: PolkadotPrimitivesV9PvfCheckStatement,
8929
+ signature: PolkadotPrimitivesV9ValidatorAppSignature,
8857
8930
  ) => ChainSubmittableExtrinsic<
8858
8931
  {
8859
8932
  pallet: 'Paras';
8860
8933
  palletCall: {
8861
8934
  name: 'IncludePvfCheckStatement';
8862
8935
  params: {
8863
- stmt: PolkadotPrimitivesV8PvfCheckStatement;
8864
- signature: PolkadotPrimitivesV8ValidatorAppSignature;
8936
+ stmt: PolkadotPrimitivesV9PvfCheckStatement;
8937
+ signature: PolkadotPrimitivesV9ValidatorAppSignature;
8865
8938
  };
8866
8939
  };
8867
8940
  },
@@ -9365,19 +9438,19 @@ export interface ChainTx<
9365
9438
  parasSlashing: {
9366
9439
  /**
9367
9440
  *
9368
- * @param {PolkadotPrimitivesVstagingDisputeProof} disputeProof
9441
+ * @param {PolkadotPrimitivesV9SlashingDisputeProof} disputeProof
9369
9442
  * @param {SpSessionMembershipProof} keyOwnerProof
9370
9443
  **/
9371
9444
  reportDisputeLostUnsigned: GenericTxCall<
9372
9445
  (
9373
- disputeProof: PolkadotPrimitivesVstagingDisputeProof,
9446
+ disputeProof: PolkadotPrimitivesV9SlashingDisputeProof,
9374
9447
  keyOwnerProof: SpSessionMembershipProof,
9375
9448
  ) => ChainSubmittableExtrinsic<
9376
9449
  {
9377
9450
  pallet: 'ParasSlashing';
9378
9451
  palletCall: {
9379
9452
  name: 'ReportDisputeLostUnsigned';
9380
- params: { disputeProof: PolkadotPrimitivesVstagingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9453
+ params: { disputeProof: PolkadotPrimitivesV9SlashingDisputeProof; keyOwnerProof: SpSessionMembershipProof };
9381
9454
  };
9382
9455
  },
9383
9456
  ChainKnownTypes