@dedot/chaintypes 0.211.0 → 0.212.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.211.0",
3
+ "version": "0.212.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@dedot.dev>",
6
6
  "homepage": "https://dedot.dev",
@@ -25,7 +25,7 @@
25
25
  "directory": "dist"
26
26
  },
27
27
  "license": "Apache-2.0",
28
- "gitHead": "59367590477b4a502787f2f70c7b0ef2ec75cf93",
28
+ "gitHead": "4af78fb60d78c493a5a838a16c98c810a5ba2ff7",
29
29
  "module": "./index.js",
30
30
  "types": "./index.d.ts",
31
31
  "exports": {
package/paseo/index.d.ts CHANGED
@@ -50,7 +50,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
50
50
 
51
51
  /**
52
52
  * @name: PaseoApi
53
- * @specVersion: 2000002
53
+ * @specVersion: 2000004
54
54
  **/
55
55
  export interface PaseoApi extends GenericSubstrateApi {
56
56
  rpc: ChainJsonRpcApis;
package/paseo/query.d.ts CHANGED
@@ -39,6 +39,7 @@ import type {
39
39
  FrameSupportTokensMiscIdAmount,
40
40
  FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
41
41
  PalletTransactionPaymentReleases,
42
+ FrameSupportStorageNoDrop,
42
43
  PalletStakingStakingLedger,
43
44
  PalletStakingRewardDestination,
44
45
  PalletStakingValidatorPrefs,
@@ -722,6 +723,15 @@ export interface ChainStorage extends GenericChainStorage {
722
723
  **/
723
724
  storageVersion: GenericStorageQuery<() => PalletTransactionPaymentReleases>;
724
725
 
726
+ /**
727
+ * The `OnChargeTransaction` stores the withdrawn tx fee here.
728
+ *
729
+ * Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
730
+ *
731
+ * @param {Callback<FrameSupportStorageNoDrop | undefined> =} callback
732
+ **/
733
+ txPaymentCredit: GenericStorageQuery<() => FrameSupportStorageNoDrop | undefined>;
734
+
725
735
  /**
726
736
  * Generic pallet storage query
727
737
  **/
package/paseo/tx.d.ts CHANGED
@@ -59,7 +59,7 @@ import type {
59
59
  PalletNominationPoolsConfigOp,
60
60
  PalletNominationPoolsConfigOpU32,
61
61
  PalletNominationPoolsConfigOpPerbill,
62
- PalletNominationPoolsConfigOp004,
62
+ PalletNominationPoolsConfigOpAccountId32,
63
63
  PalletNominationPoolsClaimPermission,
64
64
  PalletNominationPoolsCommissionChangeRate,
65
65
  PalletNominationPoolsCommissionClaimPermission,
@@ -5896,16 +5896,16 @@ export interface ChainTx<
5896
5896
  * most pool members and they should be informed of changes to pool roles.
5897
5897
  *
5898
5898
  * @param {number} poolId
5899
- * @param {PalletNominationPoolsConfigOp004} newRoot
5900
- * @param {PalletNominationPoolsConfigOp004} newNominator
5901
- * @param {PalletNominationPoolsConfigOp004} newBouncer
5899
+ * @param {PalletNominationPoolsConfigOpAccountId32} newRoot
5900
+ * @param {PalletNominationPoolsConfigOpAccountId32} newNominator
5901
+ * @param {PalletNominationPoolsConfigOpAccountId32} newBouncer
5902
5902
  **/
5903
5903
  updateRoles: GenericTxCall<
5904
5904
  (
5905
5905
  poolId: number,
5906
- newRoot: PalletNominationPoolsConfigOp004,
5907
- newNominator: PalletNominationPoolsConfigOp004,
5908
- newBouncer: PalletNominationPoolsConfigOp004,
5906
+ newRoot: PalletNominationPoolsConfigOpAccountId32,
5907
+ newNominator: PalletNominationPoolsConfigOpAccountId32,
5908
+ newBouncer: PalletNominationPoolsConfigOpAccountId32,
5909
5909
  ) => ChainSubmittableExtrinsic<
5910
5910
  {
5911
5911
  pallet: 'NominationPools';
@@ -5913,9 +5913,9 @@ export interface ChainTx<
5913
5913
  name: 'UpdateRoles';
5914
5914
  params: {
5915
5915
  poolId: number;
5916
- newRoot: PalletNominationPoolsConfigOp004;
5917
- newNominator: PalletNominationPoolsConfigOp004;
5918
- newBouncer: PalletNominationPoolsConfigOp004;
5916
+ newRoot: PalletNominationPoolsConfigOpAccountId32;
5917
+ newNominator: PalletNominationPoolsConfigOpAccountId32;
5918
+ newBouncer: PalletNominationPoolsConfigOpAccountId32;
5919
5919
  };
5920
5920
  };
5921
5921
  },