@dedot/chaintypes 0.215.0 → 0.217.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/index.d.ts +1 -1
- package/package.json +2 -2
- package/paseo/index.d.ts +1 -1
- package/paseo-asset-hub/consts.d.ts +9 -0
- package/paseo-asset-hub/errors.d.ts +20 -0
- package/paseo-asset-hub/events.d.ts +8 -3
- package/paseo-asset-hub/index.d.ts +2 -1
- package/paseo-asset-hub/tx.d.ts +41 -0
- package/paseo-asset-hub/types.d.ts +79 -7
- package/paseo-people/consts.d.ts +9 -0
- package/paseo-people/index.d.ts +2 -1
- package/paseo-people/types.d.ts +12 -0
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +10 -0
- package/polkadot/runtime.d.ts +0 -20
- package/polkadot/tx.d.ts +10 -10
- package/polkadot/types.d.ts +6970 -6969
- package/polkadot-asset-hub/consts.d.ts +130 -1
- package/polkadot-asset-hub/errors.d.ts +333 -0
- package/polkadot-asset-hub/events.d.ts +59 -3
- package/polkadot-asset-hub/index.d.ts +4 -1
- package/polkadot-asset-hub/query.d.ts +154 -0
- package/polkadot-asset-hub/runtime.d.ts +320 -0
- package/polkadot-asset-hub/tx.d.ts +555 -19
- package/polkadot-asset-hub/types.d.ts +14152 -12878
- package/polkadot-people/consts.d.ts +9 -0
- package/polkadot-people/index.d.ts +2 -1
- package/polkadot-people/query.d.ts +10 -0
- package/polkadot-people/types.d.ts +4313 -4297
package/hydration/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.217.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": "62075daf2dd6f23344d775eaaa751492ffdd2540",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/index.d.ts
CHANGED
|
@@ -167,6 +167,15 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
167
167
|
**/
|
|
168
168
|
[name: string]: any;
|
|
169
169
|
};
|
|
170
|
+
/**
|
|
171
|
+
* Pallet `WeightReclaim`'s constants
|
|
172
|
+
**/
|
|
173
|
+
weightReclaim: {
|
|
174
|
+
/**
|
|
175
|
+
* Generic pallet constant
|
|
176
|
+
**/
|
|
177
|
+
[name: string]: any;
|
|
178
|
+
};
|
|
170
179
|
/**
|
|
171
180
|
* Pallet `Balances`'s constants
|
|
172
181
|
**/
|
|
@@ -3212,6 +3212,26 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3212
3212
|
**/
|
|
3213
3213
|
ZeroBalance: GenericPalletError;
|
|
3214
3214
|
|
|
3215
|
+
/**
|
|
3216
|
+
* Failed to transfer balance.
|
|
3217
|
+
**/
|
|
3218
|
+
FailedToTransfer: GenericPalletError;
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* The account has already been translated.
|
|
3222
|
+
**/
|
|
3223
|
+
AlreadyTranslated: GenericPalletError;
|
|
3224
|
+
|
|
3225
|
+
/**
|
|
3226
|
+
* The derivation path is too long.
|
|
3227
|
+
**/
|
|
3228
|
+
TooLongDerivationPath: GenericPalletError;
|
|
3229
|
+
|
|
3230
|
+
/**
|
|
3231
|
+
* Failed to force unstake.
|
|
3232
|
+
**/
|
|
3233
|
+
FailedToForceUnstake: GenericPalletError;
|
|
3234
|
+
|
|
3215
3235
|
/**
|
|
3216
3236
|
* Generic pallet error
|
|
3217
3237
|
**/
|
|
@@ -4256,7 +4256,7 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4256
4256
|
/**
|
|
4257
4257
|
* The parachain ID that had its account migrated.
|
|
4258
4258
|
**/
|
|
4259
|
-
paraId:
|
|
4259
|
+
paraId: number;
|
|
4260
4260
|
|
|
4261
4261
|
/**
|
|
4262
4262
|
* The old account that was migrated out of.
|
|
@@ -4269,12 +4269,17 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
4269
4269
|
to: AccountId32;
|
|
4270
4270
|
|
|
4271
4271
|
/**
|
|
4272
|
-
*
|
|
4272
|
+
* The derivation path that was used to translate the account.
|
|
4273
4273
|
**/
|
|
4274
|
-
|
|
4274
|
+
derivationPath: Array<number>;
|
|
4275
4275
|
}
|
|
4276
4276
|
>;
|
|
4277
4277
|
|
|
4278
|
+
/**
|
|
4279
|
+
* Failed to re-bond some migrated funds.
|
|
4280
|
+
**/
|
|
4281
|
+
FailedToBond: GenericPalletEvent<'AhOps', 'FailedToBond', { account: AccountId32; amount: bigint }>;
|
|
4282
|
+
|
|
4278
4283
|
/**
|
|
4279
4284
|
* Generic pallet event
|
|
4280
4285
|
**/
|
|
@@ -44,6 +44,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
|
44
44
|
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
45
45
|
FrameMetadataHashExtensionCheckMetadataHash,
|
|
46
46
|
PalletReviveEvmTxExtensionSetOrigin,
|
|
47
|
+
[],
|
|
47
48
|
];
|
|
48
49
|
AssetId: StagingXcmV5Location;
|
|
49
50
|
EventRecord: FrameSystemEventRecord;
|
|
@@ -51,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
|
51
52
|
|
|
52
53
|
/**
|
|
53
54
|
* @name: PaseoAssetHubApi
|
|
54
|
-
* @specVersion:
|
|
55
|
+
* @specVersion: 2000005
|
|
55
56
|
**/
|
|
56
57
|
export interface PaseoAssetHubApi extends GenericSubstrateApi {
|
|
57
58
|
rpc: ChainJsonRpcApis;
|
package/paseo-asset-hub/tx.d.ts
CHANGED
|
@@ -14783,6 +14783,47 @@ export interface ChainTx<
|
|
|
14783
14783
|
>
|
|
14784
14784
|
>;
|
|
14785
14785
|
|
|
14786
|
+
/**
|
|
14787
|
+
* Translate recursively derived parachain sovereign child account to its sibling.
|
|
14788
|
+
*
|
|
14789
|
+
* Uses the same derivation path on the sibling. The old and new account arguments are only
|
|
14790
|
+
* witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
|
|
14791
|
+
*
|
|
14792
|
+
* This migrates:
|
|
14793
|
+
* - Native DOT balance
|
|
14794
|
+
* - All assets listed in `T::RelevantAssets`
|
|
14795
|
+
* - Staked balances
|
|
14796
|
+
*
|
|
14797
|
+
* Things like non-relevant assets or vested transfers may remain on the old account.
|
|
14798
|
+
*
|
|
14799
|
+
* @param {number} paraId
|
|
14800
|
+
* @param {Array<number>} derivationPath
|
|
14801
|
+
* @param {AccountId32Like} oldAccount
|
|
14802
|
+
* @param {AccountId32Like} newAccount
|
|
14803
|
+
**/
|
|
14804
|
+
translateParaSovereignChildToSiblingDerived: GenericTxCall<
|
|
14805
|
+
(
|
|
14806
|
+
paraId: number,
|
|
14807
|
+
derivationPath: Array<number>,
|
|
14808
|
+
oldAccount: AccountId32Like,
|
|
14809
|
+
newAccount: AccountId32Like,
|
|
14810
|
+
) => ChainSubmittableExtrinsic<
|
|
14811
|
+
{
|
|
14812
|
+
pallet: 'AhOps';
|
|
14813
|
+
palletCall: {
|
|
14814
|
+
name: 'TranslateParaSovereignChildToSiblingDerived';
|
|
14815
|
+
params: {
|
|
14816
|
+
paraId: number;
|
|
14817
|
+
derivationPath: Array<number>;
|
|
14818
|
+
oldAccount: AccountId32Like;
|
|
14819
|
+
newAccount: AccountId32Like;
|
|
14820
|
+
};
|
|
14821
|
+
};
|
|
14822
|
+
},
|
|
14823
|
+
ChainKnownTypes
|
|
14824
|
+
>
|
|
14825
|
+
>;
|
|
14826
|
+
|
|
14786
14827
|
/**
|
|
14787
14828
|
* Generic pallet tx call
|
|
14788
14829
|
**/
|
|
@@ -14964,7 +14964,24 @@ export type PalletAhOpsCall =
|
|
|
14964
14964
|
*
|
|
14965
14965
|
* This call can only be called after the migration is completed.
|
|
14966
14966
|
**/
|
|
14967
|
-
| { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
|
|
14967
|
+
| { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
|
|
14968
|
+
/**
|
|
14969
|
+
* Translate recursively derived parachain sovereign child account to its sibling.
|
|
14970
|
+
*
|
|
14971
|
+
* Uses the same derivation path on the sibling. The old and new account arguments are only
|
|
14972
|
+
* witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
|
|
14973
|
+
*
|
|
14974
|
+
* This migrates:
|
|
14975
|
+
* - Native DOT balance
|
|
14976
|
+
* - All assets listed in `T::RelevantAssets`
|
|
14977
|
+
* - Staked balances
|
|
14978
|
+
*
|
|
14979
|
+
* Things like non-relevant assets or vested transfers may remain on the old account.
|
|
14980
|
+
**/
|
|
14981
|
+
| {
|
|
14982
|
+
name: 'TranslateParaSovereignChildToSiblingDerived';
|
|
14983
|
+
params: { paraId: number; derivationPath: Array<number>; oldAccount: AccountId32; newAccount: AccountId32 };
|
|
14984
|
+
};
|
|
14968
14985
|
|
|
14969
14986
|
export type PalletAhOpsCallLike =
|
|
14970
14987
|
/**
|
|
@@ -15026,7 +15043,29 @@ export type PalletAhOpsCallLike =
|
|
|
15026
15043
|
*
|
|
15027
15044
|
* This call can only be called after the migration is completed.
|
|
15028
15045
|
**/
|
|
15029
|
-
| { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
|
|
15046
|
+
| { name: 'TransferToPostMigrationTreasury'; params: { assetId: StagingXcmV5Location } }
|
|
15047
|
+
/**
|
|
15048
|
+
* Translate recursively derived parachain sovereign child account to its sibling.
|
|
15049
|
+
*
|
|
15050
|
+
* Uses the same derivation path on the sibling. The old and new account arguments are only
|
|
15051
|
+
* witness data to ensure correct usage. Can only be called by the `MigrateOrigin`.
|
|
15052
|
+
*
|
|
15053
|
+
* This migrates:
|
|
15054
|
+
* - Native DOT balance
|
|
15055
|
+
* - All assets listed in `T::RelevantAssets`
|
|
15056
|
+
* - Staked balances
|
|
15057
|
+
*
|
|
15058
|
+
* Things like non-relevant assets or vested transfers may remain on the old account.
|
|
15059
|
+
**/
|
|
15060
|
+
| {
|
|
15061
|
+
name: 'TranslateParaSovereignChildToSiblingDerived';
|
|
15062
|
+
params: {
|
|
15063
|
+
paraId: number;
|
|
15064
|
+
derivationPath: Array<number>;
|
|
15065
|
+
oldAccount: AccountId32Like;
|
|
15066
|
+
newAccount: AccountId32Like;
|
|
15067
|
+
};
|
|
15068
|
+
};
|
|
15030
15069
|
|
|
15031
15070
|
/**
|
|
15032
15071
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -19021,7 +19060,7 @@ export type PalletAhOpsEvent =
|
|
|
19021
19060
|
/**
|
|
19022
19061
|
* The parachain ID that had its account migrated.
|
|
19023
19062
|
**/
|
|
19024
|
-
paraId:
|
|
19063
|
+
paraId: number;
|
|
19025
19064
|
|
|
19026
19065
|
/**
|
|
19027
19066
|
* The old account that was migrated out of.
|
|
@@ -19034,11 +19073,15 @@ export type PalletAhOpsEvent =
|
|
|
19034
19073
|
to: AccountId32;
|
|
19035
19074
|
|
|
19036
19075
|
/**
|
|
19037
|
-
*
|
|
19076
|
+
* The derivation path that was used to translate the account.
|
|
19038
19077
|
**/
|
|
19039
|
-
|
|
19078
|
+
derivationPath: Array<number>;
|
|
19040
19079
|
};
|
|
19041
|
-
}
|
|
19080
|
+
}
|
|
19081
|
+
/**
|
|
19082
|
+
* Failed to re-bond some migrated funds.
|
|
19083
|
+
**/
|
|
19084
|
+
| { name: 'FailedToBond'; data: { account: AccountId32; amount: bigint } };
|
|
19042
19085
|
|
|
19043
19086
|
/**
|
|
19044
19087
|
* The `Event` enum of this pallet
|
|
@@ -19331,6 +19374,19 @@ export type FrameSystemError =
|
|
|
19331
19374
|
|
|
19332
19375
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
19333
19376
|
|
|
19377
|
+
export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
19378
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
19379
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
19380
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
19381
|
+
FrameSystemExtensionsCheckGenesis,
|
|
19382
|
+
FrameSystemExtensionsCheckMortality,
|
|
19383
|
+
FrameSystemExtensionsCheckNonce,
|
|
19384
|
+
FrameSystemExtensionsCheckWeight,
|
|
19385
|
+
PalletAssetConversionTxPaymentChargeAssetTxPayment,
|
|
19386
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
19387
|
+
PalletReviveEvmTxExtensionSetOrigin,
|
|
19388
|
+
];
|
|
19389
|
+
|
|
19334
19390
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
19335
19391
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
19336
19392
|
paraHeadHash?: H256 | undefined;
|
|
@@ -22378,7 +22434,23 @@ export type PalletAhOpsError =
|
|
|
22378
22434
|
/**
|
|
22379
22435
|
* The balance is zero.
|
|
22380
22436
|
**/
|
|
22381
|
-
| 'ZeroBalance'
|
|
22437
|
+
| 'ZeroBalance'
|
|
22438
|
+
/**
|
|
22439
|
+
* Failed to transfer balance.
|
|
22440
|
+
**/
|
|
22441
|
+
| 'FailedToTransfer'
|
|
22442
|
+
/**
|
|
22443
|
+
* The account has already been translated.
|
|
22444
|
+
**/
|
|
22445
|
+
| 'AlreadyTranslated'
|
|
22446
|
+
/**
|
|
22447
|
+
* The derivation path is too long.
|
|
22448
|
+
**/
|
|
22449
|
+
| 'TooLongDerivationPath'
|
|
22450
|
+
/**
|
|
22451
|
+
* Failed to force unstake.
|
|
22452
|
+
**/
|
|
22453
|
+
| 'FailedToForceUnstake';
|
|
22382
22454
|
|
|
22383
22455
|
export type PalletAhMigratorBalancesBefore = { checkingAccount: bigint; totalIssuance: bigint };
|
|
22384
22456
|
|
package/paseo-people/consts.d.ts
CHANGED
|
@@ -123,6 +123,15 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
123
123
|
**/
|
|
124
124
|
[name: string]: any;
|
|
125
125
|
};
|
|
126
|
+
/**
|
|
127
|
+
* Pallet `WeightReclaim`'s constants
|
|
128
|
+
**/
|
|
129
|
+
weightReclaim: {
|
|
130
|
+
/**
|
|
131
|
+
* Generic pallet constant
|
|
132
|
+
**/
|
|
133
|
+
[name: string]: any;
|
|
134
|
+
};
|
|
126
135
|
/**
|
|
127
136
|
* Pallet `Balances`'s constants
|
|
128
137
|
**/
|
package/paseo-people/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
|
41
41
|
FrameSystemExtensionsCheckWeight,
|
|
42
42
|
PalletTransactionPaymentChargeTransactionPayment,
|
|
43
43
|
FrameMetadataHashExtensionCheckMetadataHash,
|
|
44
|
+
[],
|
|
44
45
|
];
|
|
45
46
|
AssetId: undefined;
|
|
46
47
|
EventRecord: FrameSystemEventRecord;
|
|
@@ -48,7 +49,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
|
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
51
|
* @name: PaseoPeopleApi
|
|
51
|
-
* @specVersion:
|
|
52
|
+
* @specVersion: 2000005
|
|
52
53
|
**/
|
|
53
54
|
export interface PaseoPeopleApi extends GenericSubstrateApi {
|
|
54
55
|
rpc: ChainJsonRpcApis;
|
package/paseo-people/types.d.ts
CHANGED
|
@@ -5211,6 +5211,18 @@ export type SpRuntimeBlakeTwo256 = {};
|
|
|
5211
5211
|
|
|
5212
5212
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
5213
5213
|
|
|
5214
|
+
export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
5215
|
+
FrameSystemExtensionsCheckNonZeroSender,
|
|
5216
|
+
FrameSystemExtensionsCheckSpecVersion,
|
|
5217
|
+
FrameSystemExtensionsCheckTxVersion,
|
|
5218
|
+
FrameSystemExtensionsCheckGenesis,
|
|
5219
|
+
FrameSystemExtensionsCheckMortality,
|
|
5220
|
+
FrameSystemExtensionsCheckNonce,
|
|
5221
|
+
FrameSystemExtensionsCheckWeight,
|
|
5222
|
+
PalletTransactionPaymentChargeTransactionPayment,
|
|
5223
|
+
FrameMetadataHashExtensionCheckMetadataHash,
|
|
5224
|
+
];
|
|
5225
|
+
|
|
5214
5226
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
5215
5227
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
5216
5228
|
paraHeadHash?: H256 | undefined;
|
package/polkadot/index.d.ts
CHANGED
package/polkadot/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/polkadot/runtime.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ import type {
|
|
|
16
16
|
BytesLike,
|
|
17
17
|
} from 'dedot/codecs';
|
|
18
18
|
import type {
|
|
19
|
-
RelayCommonApisInflationInfo,
|
|
20
19
|
SpRuntimeBlock,
|
|
21
20
|
SpRuntimeExtrinsicInclusionMode,
|
|
22
21
|
SpCoreOpaqueMetadata,
|
|
@@ -93,25 +92,6 @@ import type {
|
|
|
93
92
|
} from './types.js';
|
|
94
93
|
|
|
95
94
|
export interface RuntimeApis extends GenericRuntimeApis {
|
|
96
|
-
/**
|
|
97
|
-
* @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
|
|
98
|
-
**/
|
|
99
|
-
inflation: {
|
|
100
|
-
/**
|
|
101
|
-
* Return the current estimates of the inflation amount.
|
|
102
|
-
*
|
|
103
|
-
* This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly
|
|
104
|
-
* recommended over trying to read-storage, or re-create the onchain logic.
|
|
105
|
-
*
|
|
106
|
-
* @callname: Inflation_experimental_inflation_prediction_info
|
|
107
|
-
**/
|
|
108
|
-
experimentalInflationPredictionInfo: GenericRuntimeApiMethod<() => Promise<RelayCommonApisInflationInfo>>;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Generic runtime api call
|
|
112
|
-
**/
|
|
113
|
-
[method: string]: GenericRuntimeApiMethod;
|
|
114
|
-
};
|
|
115
95
|
/**
|
|
116
96
|
* @runtimeapi: Core - 0xdf6acb689907609b
|
|
117
97
|
**/
|
package/polkadot/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,
|
|
@@ -5895,16 +5895,16 @@ export interface ChainTx<
|
|
|
5895
5895
|
* most pool members and they should be informed of changes to pool roles.
|
|
5896
5896
|
*
|
|
5897
5897
|
* @param {number} poolId
|
|
5898
|
-
* @param {
|
|
5899
|
-
* @param {
|
|
5900
|
-
* @param {
|
|
5898
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newRoot
|
|
5899
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newNominator
|
|
5900
|
+
* @param {PalletNominationPoolsConfigOpAccountId32} newBouncer
|
|
5901
5901
|
**/
|
|
5902
5902
|
updateRoles: GenericTxCall<
|
|
5903
5903
|
(
|
|
5904
5904
|
poolId: number,
|
|
5905
|
-
newRoot:
|
|
5906
|
-
newNominator:
|
|
5907
|
-
newBouncer:
|
|
5905
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32,
|
|
5906
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32,
|
|
5907
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32,
|
|
5908
5908
|
) => ChainSubmittableExtrinsic<
|
|
5909
5909
|
{
|
|
5910
5910
|
pallet: 'NominationPools';
|
|
@@ -5912,9 +5912,9 @@ export interface ChainTx<
|
|
|
5912
5912
|
name: 'UpdateRoles';
|
|
5913
5913
|
params: {
|
|
5914
5914
|
poolId: number;
|
|
5915
|
-
newRoot:
|
|
5916
|
-
newNominator:
|
|
5917
|
-
newBouncer:
|
|
5915
|
+
newRoot: PalletNominationPoolsConfigOpAccountId32;
|
|
5916
|
+
newNominator: PalletNominationPoolsConfigOpAccountId32;
|
|
5917
|
+
newBouncer: PalletNominationPoolsConfigOpAccountId32;
|
|
5918
5918
|
};
|
|
5919
5919
|
};
|
|
5920
5920
|
},
|