@dedot/chaintypes 0.211.0 → 0.213.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/hydration/consts.d.ts +83 -0
- package/hydration/errors.d.ts +183 -17
- package/hydration/events.d.ts +172 -1
- package/hydration/index.d.ts +1 -1
- package/hydration/query.d.ts +100 -0
- package/hydration/runtime.d.ts +18 -0
- package/hydration/tx.d.ts +418 -41
- package/hydration/types.d.ts +621 -70
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +10 -0
- package/paseo/tx.d.ts +10 -10
- package/paseo/types.d.ts +9237 -9233
- package/paseo-asset-hub/consts.d.ts +61 -1
- package/paseo-asset-hub/errors.d.ts +61 -1
- package/paseo-asset-hub/events.d.ts +10 -0
- package/paseo-asset-hub/index.d.ts +3 -1
- package/paseo-asset-hub/query.d.ts +77 -0
- package/paseo-asset-hub/runtime.d.ts +68 -1
- package/paseo-asset-hub/tx.d.ts +126 -47
- package/paseo-asset-hub/types.d.ts +14174 -13760
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +10 -0
- package/paseo-people/types.d.ts +4131 -4127
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.213.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": "
|
|
28
|
+
"gitHead": "8fa9789f2720f2f1c68682c9ddd199bdb6b6adb4",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/index.d.ts
CHANGED
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
|
-
|
|
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 {
|
|
5900
|
-
* @param {
|
|
5901
|
-
* @param {
|
|
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:
|
|
5907
|
-
newNominator:
|
|
5908
|
-
newBouncer:
|
|
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:
|
|
5917
|
-
newNominator:
|
|
5918
|
-
newBouncer:
|
|
5916
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32;
|
|
5917
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32;
|
|
5918
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32;
|
|
5919
5919
|
};
|
|
5920
5920
|
};
|
|
5921
5921
|
},
|