@dedot/chaintypes 0.0.1-alpha.122 → 0.0.1-alpha.124
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/events.d.ts +1 -1
- package/kusama/runtime.d.ts +10 -1
- package/kusama/tx.d.ts +19 -0
- package/kusama/types.d.ts +15 -3
- package/kusamaAssetHub/types.d.ts +4 -0
- package/package.json +2 -2
- package/polkadot/tx.d.ts +43 -0
- package/polkadot/types.d.ts +42 -6
- package/polkadotAssetHub/consts.d.ts +15 -9
- package/polkadotAssetHub/errors.d.ts +35 -0
- package/polkadotAssetHub/events.d.ts +20 -68
- package/polkadotAssetHub/query.d.ts +32 -17
- package/polkadotAssetHub/tx.d.ts +183 -9
- package/polkadotAssetHub/types.d.ts +147 -74
- package/westendAssetHub/types.d.ts +4 -0
package/kusama/events.d.ts
CHANGED
|
@@ -2773,7 +2773,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2773
2773
|
>;
|
|
2774
2774
|
|
|
2775
2775
|
/**
|
|
2776
|
-
* An HRMP channel was opened
|
|
2776
|
+
* An HRMP channel was opened with a system chain.
|
|
2777
2777
|
**/
|
|
2778
2778
|
HrmpSystemChannelOpened: GenericPalletEvent<
|
|
2779
2779
|
Rv,
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -1147,7 +1147,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1147
1147
|
nominationsQuota: GenericRuntimeApiMethod<Rv, (balance: bigint) => Promise<number>>;
|
|
1148
1148
|
|
|
1149
1149
|
/**
|
|
1150
|
-
* Returns the page count of exposures for a validator in a given era.
|
|
1150
|
+
* Returns the page count of exposures for a validator `account` in a given era.
|
|
1151
1151
|
*
|
|
1152
1152
|
* @callname: StakingApi_eras_stakers_page_count
|
|
1153
1153
|
* @param {number} era
|
|
@@ -1155,6 +1155,15 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1155
1155
|
**/
|
|
1156
1156
|
erasStakersPageCount: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<number>>;
|
|
1157
1157
|
|
|
1158
|
+
/**
|
|
1159
|
+
* Returns true if validator `account` has pages to be claimed for the given era.
|
|
1160
|
+
*
|
|
1161
|
+
* @callname: StakingApi_pending_rewards
|
|
1162
|
+
* @param {number} era
|
|
1163
|
+
* @param {AccountId32Like} account
|
|
1164
|
+
**/
|
|
1165
|
+
pendingRewards: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<boolean>>;
|
|
1166
|
+
|
|
1158
1167
|
/**
|
|
1159
1168
|
* Generic runtime api call
|
|
1160
1169
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -7626,6 +7626,25 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7626
7626
|
>
|
|
7627
7627
|
>;
|
|
7628
7628
|
|
|
7629
|
+
/**
|
|
7630
|
+
* See [`Pallet::establish_channel_with_system`].
|
|
7631
|
+
*
|
|
7632
|
+
* @param {PolkadotParachainPrimitivesPrimitivesId} targetSystemChain
|
|
7633
|
+
**/
|
|
7634
|
+
establishChannelWithSystem: GenericTxCall<
|
|
7635
|
+
Rv,
|
|
7636
|
+
(targetSystemChain: PolkadotParachainPrimitivesPrimitivesId) => ChainSubmittableExtrinsic<
|
|
7637
|
+
Rv,
|
|
7638
|
+
{
|
|
7639
|
+
pallet: 'Hrmp';
|
|
7640
|
+
palletCall: {
|
|
7641
|
+
name: 'EstablishChannelWithSystem';
|
|
7642
|
+
params: { targetSystemChain: PolkadotParachainPrimitivesPrimitivesId };
|
|
7643
|
+
};
|
|
7644
|
+
}
|
|
7645
|
+
>
|
|
7646
|
+
>;
|
|
7647
|
+
|
|
7629
7648
|
/**
|
|
7630
7649
|
* Generic pallet tx call
|
|
7631
7650
|
**/
|
package/kusama/types.d.ts
CHANGED
|
@@ -4768,7 +4768,11 @@ export type PolkadotRuntimeParachainsHrmpPalletCall =
|
|
|
4768
4768
|
| {
|
|
4769
4769
|
name: 'PokeChannelDeposits';
|
|
4770
4770
|
params: { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId };
|
|
4771
|
-
}
|
|
4771
|
+
}
|
|
4772
|
+
/**
|
|
4773
|
+
* See [`Pallet::establish_channel_with_system`].
|
|
4774
|
+
**/
|
|
4775
|
+
| { name: 'EstablishChannelWithSystem'; params: { targetSystemChain: PolkadotParachainPrimitivesPrimitivesId } };
|
|
4772
4776
|
|
|
4773
4777
|
export type PolkadotRuntimeParachainsHrmpPalletCallLike =
|
|
4774
4778
|
/**
|
|
@@ -4837,7 +4841,11 @@ export type PolkadotRuntimeParachainsHrmpPalletCallLike =
|
|
|
4837
4841
|
| {
|
|
4838
4842
|
name: 'PokeChannelDeposits';
|
|
4839
4843
|
params: { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId };
|
|
4840
|
-
}
|
|
4844
|
+
}
|
|
4845
|
+
/**
|
|
4846
|
+
* See [`Pallet::establish_channel_with_system`].
|
|
4847
|
+
**/
|
|
4848
|
+
| { name: 'EstablishChannelWithSystem'; params: { targetSystemChain: PolkadotParachainPrimitivesPrimitivesId } };
|
|
4841
4849
|
|
|
4842
4850
|
export type PolkadotParachainPrimitivesPrimitivesHrmpChannelId = {
|
|
4843
4851
|
sender: PolkadotParachainPrimitivesPrimitivesId;
|
|
@@ -7498,7 +7506,7 @@ export type PolkadotRuntimeParachainsHrmpPalletEvent =
|
|
|
7498
7506
|
};
|
|
7499
7507
|
}
|
|
7500
7508
|
/**
|
|
7501
|
-
* An HRMP channel was opened
|
|
7509
|
+
* An HRMP channel was opened with a system chain.
|
|
7502
7510
|
**/
|
|
7503
7511
|
| {
|
|
7504
7512
|
name: 'HrmpSystemChannelOpened';
|
|
@@ -11151,6 +11159,10 @@ export type FrameSystemExtensionsCheckWeight = {};
|
|
|
11151
11159
|
|
|
11152
11160
|
export type PalletTransactionPaymentChargeTransactionPayment = bigint;
|
|
11153
11161
|
|
|
11162
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
11163
|
+
|
|
11164
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
11165
|
+
|
|
11154
11166
|
export type StagingKusamaRuntimeRuntime = {};
|
|
11155
11167
|
|
|
11156
11168
|
export type SpRuntimeBlock = { header: Header; extrinsics: Array<UncheckedExtrinsic> };
|
|
@@ -6812,6 +6812,10 @@ export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
|
6812
6812
|
assetId?: StagingXcmV3MultilocationMultiLocation | undefined;
|
|
6813
6813
|
};
|
|
6814
6814
|
|
|
6815
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
6816
|
+
|
|
6817
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
6818
|
+
|
|
6815
6819
|
export type AssetHubKusamaRuntimeRuntime = {};
|
|
6816
6820
|
|
|
6817
6821
|
export type SpConsensusSlotsSlotDuration = bigint;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.124",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "9c83219bd5f1c0318ca4706da971bb098095d3d5",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -90,6 +90,8 @@ import type {
|
|
|
90
90
|
XcmVersionedAssets,
|
|
91
91
|
StagingXcmV4Location,
|
|
92
92
|
XcmV3WeightLimit,
|
|
93
|
+
StagingXcmExecutorAssetTransferTransferType,
|
|
94
|
+
XcmVersionedAssetId,
|
|
93
95
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
94
96
|
SpConsensusBeefyEquivocationProof,
|
|
95
97
|
} from './types';
|
|
@@ -7486,6 +7488,47 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
7486
7488
|
>
|
|
7487
7489
|
>;
|
|
7488
7490
|
|
|
7491
|
+
/**
|
|
7492
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
7493
|
+
*
|
|
7494
|
+
* @param {XcmVersionedLocation} dest
|
|
7495
|
+
* @param {XcmVersionedAssets} assets
|
|
7496
|
+
* @param {StagingXcmExecutorAssetTransferTransferType} assetsTransferType
|
|
7497
|
+
* @param {XcmVersionedAssetId} remoteFeesId
|
|
7498
|
+
* @param {StagingXcmExecutorAssetTransferTransferType} feesTransferType
|
|
7499
|
+
* @param {XcmVersionedXcm} customXcmOnDest
|
|
7500
|
+
* @param {XcmV3WeightLimit} weightLimit
|
|
7501
|
+
**/
|
|
7502
|
+
transferAssetsUsingTypeAndThen: GenericTxCall<
|
|
7503
|
+
Rv,
|
|
7504
|
+
(
|
|
7505
|
+
dest: XcmVersionedLocation,
|
|
7506
|
+
assets: XcmVersionedAssets,
|
|
7507
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType,
|
|
7508
|
+
remoteFeesId: XcmVersionedAssetId,
|
|
7509
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType,
|
|
7510
|
+
customXcmOnDest: XcmVersionedXcm,
|
|
7511
|
+
weightLimit: XcmV3WeightLimit,
|
|
7512
|
+
) => ChainSubmittableExtrinsic<
|
|
7513
|
+
Rv,
|
|
7514
|
+
{
|
|
7515
|
+
pallet: 'XcmPallet';
|
|
7516
|
+
palletCall: {
|
|
7517
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
7518
|
+
params: {
|
|
7519
|
+
dest: XcmVersionedLocation;
|
|
7520
|
+
assets: XcmVersionedAssets;
|
|
7521
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
7522
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
7523
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
7524
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
7525
|
+
weightLimit: XcmV3WeightLimit;
|
|
7526
|
+
};
|
|
7527
|
+
};
|
|
7528
|
+
}
|
|
7529
|
+
>
|
|
7530
|
+
>;
|
|
7531
|
+
|
|
7489
7532
|
/**
|
|
7490
7533
|
* Generic pallet tx call
|
|
7491
7534
|
**/
|
package/polkadot/types.d.ts
CHANGED
|
@@ -5048,7 +5048,22 @@ export type PalletXcmCall =
|
|
|
5048
5048
|
/**
|
|
5049
5049
|
* See [`Pallet::claim_assets`].
|
|
5050
5050
|
**/
|
|
5051
|
-
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
5051
|
+
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
5052
|
+
/**
|
|
5053
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
5054
|
+
**/
|
|
5055
|
+
| {
|
|
5056
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
5057
|
+
params: {
|
|
5058
|
+
dest: XcmVersionedLocation;
|
|
5059
|
+
assets: XcmVersionedAssets;
|
|
5060
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
5061
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
5062
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
5063
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
5064
|
+
weightLimit: XcmV3WeightLimit;
|
|
5065
|
+
};
|
|
5066
|
+
};
|
|
5052
5067
|
|
|
5053
5068
|
export type PalletXcmCallLike =
|
|
5054
5069
|
/**
|
|
@@ -5145,7 +5160,22 @@ export type PalletXcmCallLike =
|
|
|
5145
5160
|
/**
|
|
5146
5161
|
* See [`Pallet::claim_assets`].
|
|
5147
5162
|
**/
|
|
5148
|
-
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
5163
|
+
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
5164
|
+
/**
|
|
5165
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
5166
|
+
**/
|
|
5167
|
+
| {
|
|
5168
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
5169
|
+
params: {
|
|
5170
|
+
dest: XcmVersionedLocation;
|
|
5171
|
+
assets: XcmVersionedAssets;
|
|
5172
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
5173
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
5174
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
5175
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
5176
|
+
weightLimit: XcmV3WeightLimit;
|
|
5177
|
+
};
|
|
5178
|
+
};
|
|
5149
5179
|
|
|
5150
5180
|
export type XcmVersionedXcm =
|
|
5151
5181
|
| { tag: 'V2'; value: XcmV2Xcm }
|
|
@@ -5639,6 +5669,16 @@ export type XcmVersionedAssets =
|
|
|
5639
5669
|
| { tag: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
5640
5670
|
| { tag: 'V4'; value: StagingXcmV4AssetAssets };
|
|
5641
5671
|
|
|
5672
|
+
export type StagingXcmExecutorAssetTransferTransferType =
|
|
5673
|
+
| { tag: 'Teleport' }
|
|
5674
|
+
| { tag: 'LocalReserve' }
|
|
5675
|
+
| { tag: 'DestinationReserve' }
|
|
5676
|
+
| { tag: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
5677
|
+
|
|
5678
|
+
export type XcmVersionedAssetId =
|
|
5679
|
+
| { tag: 'V3'; value: XcmV3MultiassetAssetId }
|
|
5680
|
+
| { tag: 'V4'; value: StagingXcmV4AssetAssetId };
|
|
5681
|
+
|
|
5642
5682
|
/**
|
|
5643
5683
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5644
5684
|
**/
|
|
@@ -9404,10 +9444,6 @@ export type PalletXcmVersionMigrationStage =
|
|
|
9404
9444
|
| { tag: 'NotifyCurrentTargets'; value?: Bytes | undefined }
|
|
9405
9445
|
| { tag: 'MigrateAndNotifyOldTargets' };
|
|
9406
9446
|
|
|
9407
|
-
export type XcmVersionedAssetId =
|
|
9408
|
-
| { tag: 'V3'; value: XcmV3MultiassetAssetId }
|
|
9409
|
-
| { tag: 'V4'; value: StagingXcmV4AssetAssetId };
|
|
9410
|
-
|
|
9411
9447
|
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
9412
9448
|
amount: bigint;
|
|
9413
9449
|
owner: XcmVersionedLocation;
|
|
@@ -173,6 +173,21 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
173
173
|
**/
|
|
174
174
|
[name: string]: any;
|
|
175
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Pallet `Vesting`'s constants
|
|
178
|
+
**/
|
|
179
|
+
vesting: {
|
|
180
|
+
/**
|
|
181
|
+
* The minimum amount transferred to call `vested_transfer`.
|
|
182
|
+
**/
|
|
183
|
+
minVestedTransfer: bigint;
|
|
184
|
+
maxVestingSchedules: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Generic pallet constant
|
|
188
|
+
**/
|
|
189
|
+
[name: string]: any;
|
|
190
|
+
};
|
|
176
191
|
/**
|
|
177
192
|
* Pallet `Authorship`'s constants
|
|
178
193
|
**/
|
|
@@ -254,15 +269,6 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
254
269
|
**/
|
|
255
270
|
[name: string]: any;
|
|
256
271
|
};
|
|
257
|
-
/**
|
|
258
|
-
* Pallet `DmpQueue`'s constants
|
|
259
|
-
**/
|
|
260
|
-
dmpQueue: {
|
|
261
|
-
/**
|
|
262
|
-
* Generic pallet constant
|
|
263
|
-
**/
|
|
264
|
-
[name: string]: any;
|
|
265
|
-
};
|
|
266
272
|
/**
|
|
267
273
|
* Pallet `ToKusamaXcmRouter`'s constants
|
|
268
274
|
**/
|
|
@@ -175,6 +175,41 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
175
175
|
**/
|
|
176
176
|
[error: string]: GenericPalletError<Rv>;
|
|
177
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* Pallet `Vesting`'s errors
|
|
180
|
+
**/
|
|
181
|
+
vesting: {
|
|
182
|
+
/**
|
|
183
|
+
* The account given is not vesting.
|
|
184
|
+
**/
|
|
185
|
+
NotVesting: GenericPalletError<Rv>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
189
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
190
|
+
**/
|
|
191
|
+
AtMaxVestingSchedules: GenericPalletError<Rv>;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
195
|
+
**/
|
|
196
|
+
AmountLow: GenericPalletError<Rv>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* An index was out of bounds of the vesting schedules.
|
|
200
|
+
**/
|
|
201
|
+
ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
205
|
+
**/
|
|
206
|
+
InvalidScheduleParams: GenericPalletError<Rv>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Generic pallet error
|
|
210
|
+
**/
|
|
211
|
+
[error: string]: GenericPalletError<Rv>;
|
|
212
|
+
};
|
|
178
213
|
/**
|
|
179
214
|
* Pallet `CollatorSelection`'s errors
|
|
180
215
|
**/
|
|
@@ -298,6 +298,26 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
298
298
|
**/
|
|
299
299
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
300
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
* Pallet `Vesting`'s events
|
|
303
|
+
**/
|
|
304
|
+
vesting: {
|
|
305
|
+
/**
|
|
306
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
307
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
308
|
+
**/
|
|
309
|
+
VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* An \[account\] has become fully vested.
|
|
313
|
+
**/
|
|
314
|
+
VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Generic pallet event
|
|
318
|
+
**/
|
|
319
|
+
[prop: string]: GenericPalletEvent<Rv>;
|
|
320
|
+
};
|
|
301
321
|
/**
|
|
302
322
|
* Pallet `CollatorSelection`'s events
|
|
303
323
|
**/
|
|
@@ -731,74 +751,6 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
731
751
|
**/
|
|
732
752
|
[prop: string]: GenericPalletEvent<Rv>;
|
|
733
753
|
};
|
|
734
|
-
/**
|
|
735
|
-
* Pallet `DmpQueue`'s events
|
|
736
|
-
**/
|
|
737
|
-
dmpQueue: {
|
|
738
|
-
/**
|
|
739
|
-
* The export of pages started.
|
|
740
|
-
**/
|
|
741
|
-
StartedExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedExport', null>;
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* The export of a page completed.
|
|
745
|
-
**/
|
|
746
|
-
Exported: GenericPalletEvent<Rv, 'DmpQueue', 'Exported', { page: number }>;
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* The export of a page failed.
|
|
750
|
-
*
|
|
751
|
-
* This should never be emitted.
|
|
752
|
-
**/
|
|
753
|
-
ExportFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportFailed', { page: number }>;
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* The export of pages completed.
|
|
757
|
-
**/
|
|
758
|
-
CompletedExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedExport', null>;
|
|
759
|
-
|
|
760
|
-
/**
|
|
761
|
-
* The export of overweight messages started.
|
|
762
|
-
**/
|
|
763
|
-
StartedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'StartedOverweightExport', null>;
|
|
764
|
-
|
|
765
|
-
/**
|
|
766
|
-
* The export of an overweight message completed.
|
|
767
|
-
**/
|
|
768
|
-
ExportedOverweight: GenericPalletEvent<Rv, 'DmpQueue', 'ExportedOverweight', { index: bigint }>;
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* The export of an overweight message failed.
|
|
772
|
-
*
|
|
773
|
-
* This should never be emitted.
|
|
774
|
-
**/
|
|
775
|
-
ExportOverweightFailed: GenericPalletEvent<Rv, 'DmpQueue', 'ExportOverweightFailed', { index: bigint }>;
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* The export of overweight messages completed.
|
|
779
|
-
**/
|
|
780
|
-
CompletedOverweightExport: GenericPalletEvent<Rv, 'DmpQueue', 'CompletedOverweightExport', null>;
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
* The cleanup of remaining pallet storage started.
|
|
784
|
-
**/
|
|
785
|
-
StartedCleanup: GenericPalletEvent<Rv, 'DmpQueue', 'StartedCleanup', null>;
|
|
786
|
-
|
|
787
|
-
/**
|
|
788
|
-
* Some debris was cleaned up.
|
|
789
|
-
**/
|
|
790
|
-
CleanedSome: GenericPalletEvent<Rv, 'DmpQueue', 'CleanedSome', { keysRemoved: number }>;
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* The cleanup of remaining pallet storage completed.
|
|
794
|
-
**/
|
|
795
|
-
Completed: GenericPalletEvent<Rv, 'DmpQueue', 'Completed', { error: boolean }>;
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* Generic pallet event
|
|
799
|
-
**/
|
|
800
|
-
[prop: string]: GenericPalletEvent<Rv>;
|
|
801
|
-
};
|
|
802
754
|
/**
|
|
803
755
|
* Pallet `MessageQueue`'s events
|
|
804
756
|
**/
|
|
@@ -36,6 +36,8 @@ import type {
|
|
|
36
36
|
PalletBalancesIdAmount,
|
|
37
37
|
PalletBalancesIdAmount002,
|
|
38
38
|
PalletTransactionPaymentReleases,
|
|
39
|
+
PalletVestingVestingInfo,
|
|
40
|
+
PalletVestingReleases,
|
|
39
41
|
PalletCollatorSelectionCandidateInfo,
|
|
40
42
|
AssetHubPolkadotRuntimeSessionKeys,
|
|
41
43
|
SpCoreCryptoKeyTypeId,
|
|
@@ -48,7 +50,6 @@ import type {
|
|
|
48
50
|
PalletXcmVersionMigrationStage,
|
|
49
51
|
PalletXcmRemoteLockedFungibleRecord,
|
|
50
52
|
XcmVersionedAssetId,
|
|
51
|
-
CumulusPalletDmpQueueMigrationState,
|
|
52
53
|
BpXcmBridgeHubRouterBridgeState,
|
|
53
54
|
PalletMessageQueueBookState,
|
|
54
55
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
@@ -627,6 +628,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
627
628
|
**/
|
|
628
629
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
629
630
|
};
|
|
631
|
+
/**
|
|
632
|
+
* Pallet `Vesting`'s storage queries
|
|
633
|
+
**/
|
|
634
|
+
vesting: {
|
|
635
|
+
/**
|
|
636
|
+
* Information regarding the vesting of a given account.
|
|
637
|
+
*
|
|
638
|
+
* @param {AccountId32Like} arg
|
|
639
|
+
* @param {Callback<Array<PalletVestingVestingInfo> | undefined> =} callback
|
|
640
|
+
**/
|
|
641
|
+
vesting: GenericStorageQuery<
|
|
642
|
+
Rv,
|
|
643
|
+
(arg: AccountId32Like) => Array<PalletVestingVestingInfo> | undefined,
|
|
644
|
+
AccountId32
|
|
645
|
+
>;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Storage version of the pallet.
|
|
649
|
+
*
|
|
650
|
+
* New networks start with latest version, as determined by the genesis build.
|
|
651
|
+
*
|
|
652
|
+
* @param {Callback<PalletVestingReleases> =} callback
|
|
653
|
+
**/
|
|
654
|
+
storageVersion: GenericStorageQuery<Rv, () => PalletVestingReleases>;
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* Generic pallet storage query
|
|
658
|
+
**/
|
|
659
|
+
[storage: string]: GenericStorageQuery<Rv>;
|
|
660
|
+
};
|
|
630
661
|
/**
|
|
631
662
|
* Pallet `Authorship`'s storage queries
|
|
632
663
|
**/
|
|
@@ -1036,22 +1067,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1036
1067
|
**/
|
|
1037
1068
|
[storage: string]: GenericStorageQuery<Rv>;
|
|
1038
1069
|
};
|
|
1039
|
-
/**
|
|
1040
|
-
* Pallet `DmpQueue`'s storage queries
|
|
1041
|
-
**/
|
|
1042
|
-
dmpQueue: {
|
|
1043
|
-
/**
|
|
1044
|
-
* The migration state of this pallet.
|
|
1045
|
-
*
|
|
1046
|
-
* @param {Callback<CumulusPalletDmpQueueMigrationState> =} callback
|
|
1047
|
-
**/
|
|
1048
|
-
migrationStatus: GenericStorageQuery<Rv, () => CumulusPalletDmpQueueMigrationState>;
|
|
1049
|
-
|
|
1050
|
-
/**
|
|
1051
|
-
* Generic pallet storage query
|
|
1052
|
-
**/
|
|
1053
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
1054
|
-
};
|
|
1055
1070
|
/**
|
|
1056
1071
|
* Pallet `ToKusamaXcmRouter`'s storage queries
|
|
1057
1072
|
**/
|
package/polkadotAssetHub/tx.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import type {
|
|
|
19
19
|
FrameSystemEventRecord,
|
|
20
20
|
CumulusPrimitivesParachainInherentParachainInherentData,
|
|
21
21
|
PalletBalancesAdjustmentDirection,
|
|
22
|
+
PalletVestingVestingInfo,
|
|
22
23
|
AssetHubPolkadotRuntimeSessionKeys,
|
|
23
24
|
XcmVersionedLocation,
|
|
24
25
|
XcmVersionedXcm,
|
|
@@ -26,6 +27,8 @@ import type {
|
|
|
26
27
|
SpWeightsWeightV2Weight,
|
|
27
28
|
StagingXcmV4Location,
|
|
28
29
|
XcmV3WeightLimit,
|
|
30
|
+
StagingXcmExecutorAssetTransferTransferType,
|
|
31
|
+
XcmVersionedAssetId,
|
|
29
32
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
30
33
|
AssetHubPolkadotRuntimeOriginCaller,
|
|
31
34
|
PalletMultisigTimepoint,
|
|
@@ -596,6 +599,145 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
596
599
|
**/
|
|
597
600
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
598
601
|
};
|
|
602
|
+
/**
|
|
603
|
+
* Pallet `Vesting`'s transaction calls
|
|
604
|
+
**/
|
|
605
|
+
vesting: {
|
|
606
|
+
/**
|
|
607
|
+
* See [`Pallet::vest`].
|
|
608
|
+
*
|
|
609
|
+
**/
|
|
610
|
+
vest: GenericTxCall<
|
|
611
|
+
Rv,
|
|
612
|
+
() => ChainSubmittableExtrinsic<
|
|
613
|
+
Rv,
|
|
614
|
+
{
|
|
615
|
+
pallet: 'Vesting';
|
|
616
|
+
palletCall: {
|
|
617
|
+
name: 'Vest';
|
|
618
|
+
};
|
|
619
|
+
}
|
|
620
|
+
>
|
|
621
|
+
>;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* See [`Pallet::vest_other`].
|
|
625
|
+
*
|
|
626
|
+
* @param {MultiAddressLike} target
|
|
627
|
+
**/
|
|
628
|
+
vestOther: GenericTxCall<
|
|
629
|
+
Rv,
|
|
630
|
+
(target: MultiAddressLike) => ChainSubmittableExtrinsic<
|
|
631
|
+
Rv,
|
|
632
|
+
{
|
|
633
|
+
pallet: 'Vesting';
|
|
634
|
+
palletCall: {
|
|
635
|
+
name: 'VestOther';
|
|
636
|
+
params: { target: MultiAddressLike };
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
>
|
|
640
|
+
>;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* See [`Pallet::vested_transfer`].
|
|
644
|
+
*
|
|
645
|
+
* @param {MultiAddressLike} target
|
|
646
|
+
* @param {PalletVestingVestingInfo} schedule
|
|
647
|
+
**/
|
|
648
|
+
vestedTransfer: GenericTxCall<
|
|
649
|
+
Rv,
|
|
650
|
+
(
|
|
651
|
+
target: MultiAddressLike,
|
|
652
|
+
schedule: PalletVestingVestingInfo,
|
|
653
|
+
) => ChainSubmittableExtrinsic<
|
|
654
|
+
Rv,
|
|
655
|
+
{
|
|
656
|
+
pallet: 'Vesting';
|
|
657
|
+
palletCall: {
|
|
658
|
+
name: 'VestedTransfer';
|
|
659
|
+
params: { target: MultiAddressLike; schedule: PalletVestingVestingInfo };
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
>
|
|
663
|
+
>;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* See [`Pallet::force_vested_transfer`].
|
|
667
|
+
*
|
|
668
|
+
* @param {MultiAddressLike} source
|
|
669
|
+
* @param {MultiAddressLike} target
|
|
670
|
+
* @param {PalletVestingVestingInfo} schedule
|
|
671
|
+
**/
|
|
672
|
+
forceVestedTransfer: GenericTxCall<
|
|
673
|
+
Rv,
|
|
674
|
+
(
|
|
675
|
+
source: MultiAddressLike,
|
|
676
|
+
target: MultiAddressLike,
|
|
677
|
+
schedule: PalletVestingVestingInfo,
|
|
678
|
+
) => ChainSubmittableExtrinsic<
|
|
679
|
+
Rv,
|
|
680
|
+
{
|
|
681
|
+
pallet: 'Vesting';
|
|
682
|
+
palletCall: {
|
|
683
|
+
name: 'ForceVestedTransfer';
|
|
684
|
+
params: { source: MultiAddressLike; target: MultiAddressLike; schedule: PalletVestingVestingInfo };
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
>
|
|
688
|
+
>;
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* See [`Pallet::merge_schedules`].
|
|
692
|
+
*
|
|
693
|
+
* @param {number} schedule1Index
|
|
694
|
+
* @param {number} schedule2Index
|
|
695
|
+
**/
|
|
696
|
+
mergeSchedules: GenericTxCall<
|
|
697
|
+
Rv,
|
|
698
|
+
(
|
|
699
|
+
schedule1Index: number,
|
|
700
|
+
schedule2Index: number,
|
|
701
|
+
) => ChainSubmittableExtrinsic<
|
|
702
|
+
Rv,
|
|
703
|
+
{
|
|
704
|
+
pallet: 'Vesting';
|
|
705
|
+
palletCall: {
|
|
706
|
+
name: 'MergeSchedules';
|
|
707
|
+
params: { schedule1Index: number; schedule2Index: number };
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
>
|
|
711
|
+
>;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* See [`Pallet::force_remove_vesting_schedule`].
|
|
715
|
+
*
|
|
716
|
+
* @param {MultiAddressLike} target
|
|
717
|
+
* @param {number} scheduleIndex
|
|
718
|
+
**/
|
|
719
|
+
forceRemoveVestingSchedule: GenericTxCall<
|
|
720
|
+
Rv,
|
|
721
|
+
(
|
|
722
|
+
target: MultiAddressLike,
|
|
723
|
+
scheduleIndex: number,
|
|
724
|
+
) => ChainSubmittableExtrinsic<
|
|
725
|
+
Rv,
|
|
726
|
+
{
|
|
727
|
+
pallet: 'Vesting';
|
|
728
|
+
palletCall: {
|
|
729
|
+
name: 'ForceRemoveVestingSchedule';
|
|
730
|
+
params: { target: MultiAddressLike; scheduleIndex: number };
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
>
|
|
734
|
+
>;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Generic pallet tx call
|
|
738
|
+
**/
|
|
739
|
+
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
740
|
+
};
|
|
599
741
|
/**
|
|
600
742
|
* Pallet `CollatorSelection`'s transaction calls
|
|
601
743
|
**/
|
|
@@ -1267,23 +1409,55 @@ export interface ChainTx<Rv extends RpcVersion> extends GenericChainTx<Rv, TxCal
|
|
|
1267
1409
|
>;
|
|
1268
1410
|
|
|
1269
1411
|
/**
|
|
1270
|
-
*
|
|
1412
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
1413
|
+
*
|
|
1414
|
+
* @param {XcmVersionedLocation} dest
|
|
1415
|
+
* @param {XcmVersionedAssets} assets
|
|
1416
|
+
* @param {StagingXcmExecutorAssetTransferTransferType} assetsTransferType
|
|
1417
|
+
* @param {XcmVersionedAssetId} remoteFeesId
|
|
1418
|
+
* @param {StagingXcmExecutorAssetTransferTransferType} feesTransferType
|
|
1419
|
+
* @param {XcmVersionedXcm} customXcmOnDest
|
|
1420
|
+
* @param {XcmV3WeightLimit} weightLimit
|
|
1271
1421
|
**/
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1422
|
+
transferAssetsUsingTypeAndThen: GenericTxCall<
|
|
1423
|
+
Rv,
|
|
1424
|
+
(
|
|
1425
|
+
dest: XcmVersionedLocation,
|
|
1426
|
+
assets: XcmVersionedAssets,
|
|
1427
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType,
|
|
1428
|
+
remoteFeesId: XcmVersionedAssetId,
|
|
1429
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType,
|
|
1430
|
+
customXcmOnDest: XcmVersionedXcm,
|
|
1431
|
+
weightLimit: XcmV3WeightLimit,
|
|
1432
|
+
) => ChainSubmittableExtrinsic<
|
|
1433
|
+
Rv,
|
|
1434
|
+
{
|
|
1435
|
+
pallet: 'PolkadotXcm';
|
|
1436
|
+
palletCall: {
|
|
1437
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
1438
|
+
params: {
|
|
1439
|
+
dest: XcmVersionedLocation;
|
|
1440
|
+
assets: XcmVersionedAssets;
|
|
1441
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
1442
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
1443
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
1444
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
1445
|
+
weightLimit: XcmV3WeightLimit;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
>
|
|
1450
|
+
>;
|
|
1451
|
+
|
|
1278
1452
|
/**
|
|
1279
1453
|
* Generic pallet tx call
|
|
1280
1454
|
**/
|
|
1281
1455
|
[callName: string]: GenericTxCall<Rv, TxCall<Rv>>;
|
|
1282
1456
|
};
|
|
1283
1457
|
/**
|
|
1284
|
-
* Pallet `
|
|
1458
|
+
* Pallet `CumulusXcm`'s transaction calls
|
|
1285
1459
|
**/
|
|
1286
|
-
|
|
1460
|
+
cumulusXcm: {
|
|
1287
1461
|
/**
|
|
1288
1462
|
* Generic pallet tx call
|
|
1289
1463
|
**/
|
|
@@ -54,12 +54,12 @@ export type AssetHubPolkadotRuntimeRuntimeEvent =
|
|
|
54
54
|
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
55
55
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
56
56
|
| { pallet: 'AssetTxPayment'; palletEvent: PalletAssetConversionTxPaymentEvent }
|
|
57
|
+
| { pallet: 'Vesting'; palletEvent: PalletVestingEvent }
|
|
57
58
|
| { pallet: 'CollatorSelection'; palletEvent: PalletCollatorSelectionEvent }
|
|
58
59
|
| { pallet: 'Session'; palletEvent: PalletSessionEvent }
|
|
59
60
|
| { pallet: 'XcmpQueue'; palletEvent: CumulusPalletXcmpQueueEvent }
|
|
60
61
|
| { pallet: 'PolkadotXcm'; palletEvent: PalletXcmEvent }
|
|
61
62
|
| { pallet: 'CumulusXcm'; palletEvent: CumulusPalletXcmEvent }
|
|
62
|
-
| { pallet: 'DmpQueue'; palletEvent: CumulusPalletDmpQueueEvent }
|
|
63
63
|
| { pallet: 'MessageQueue'; palletEvent: PalletMessageQueueEvent }
|
|
64
64
|
| { pallet: 'Utility'; palletEvent: PalletUtilityEvent }
|
|
65
65
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
@@ -341,6 +341,20 @@ export type XcmV3JunctionBodyPart =
|
|
|
341
341
|
| { tag: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
342
342
|
| { tag: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
343
343
|
|
|
344
|
+
/**
|
|
345
|
+
* The `Event` enum of this pallet
|
|
346
|
+
**/
|
|
347
|
+
export type PalletVestingEvent =
|
|
348
|
+
/**
|
|
349
|
+
* The amount vested has been updated. This could indicate a change in funds available.
|
|
350
|
+
* The balance given is the amount which is left unvested (and thus locked).
|
|
351
|
+
**/
|
|
352
|
+
| { name: 'VestingUpdated'; data: { account: AccountId32; unvested: bigint } }
|
|
353
|
+
/**
|
|
354
|
+
* An \[account\] has become fully vested.
|
|
355
|
+
**/
|
|
356
|
+
| { name: 'VestingCompleted'; data: { account: AccountId32 } };
|
|
357
|
+
|
|
344
358
|
/**
|
|
345
359
|
* The `Event` enum of this pallet
|
|
346
360
|
**/
|
|
@@ -957,59 +971,6 @@ export type CumulusPalletXcmEvent =
|
|
|
957
971
|
**/
|
|
958
972
|
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV4TraitsOutcome] };
|
|
959
973
|
|
|
960
|
-
/**
|
|
961
|
-
* The `Event` enum of this pallet
|
|
962
|
-
**/
|
|
963
|
-
export type CumulusPalletDmpQueueEvent =
|
|
964
|
-
/**
|
|
965
|
-
* The export of pages started.
|
|
966
|
-
**/
|
|
967
|
-
| { name: 'StartedExport' }
|
|
968
|
-
/**
|
|
969
|
-
* The export of a page completed.
|
|
970
|
-
**/
|
|
971
|
-
| { name: 'Exported'; data: { page: number } }
|
|
972
|
-
/**
|
|
973
|
-
* The export of a page failed.
|
|
974
|
-
*
|
|
975
|
-
* This should never be emitted.
|
|
976
|
-
**/
|
|
977
|
-
| { name: 'ExportFailed'; data: { page: number } }
|
|
978
|
-
/**
|
|
979
|
-
* The export of pages completed.
|
|
980
|
-
**/
|
|
981
|
-
| { name: 'CompletedExport' }
|
|
982
|
-
/**
|
|
983
|
-
* The export of overweight messages started.
|
|
984
|
-
**/
|
|
985
|
-
| { name: 'StartedOverweightExport' }
|
|
986
|
-
/**
|
|
987
|
-
* The export of an overweight message completed.
|
|
988
|
-
**/
|
|
989
|
-
| { name: 'ExportedOverweight'; data: { index: bigint } }
|
|
990
|
-
/**
|
|
991
|
-
* The export of an overweight message failed.
|
|
992
|
-
*
|
|
993
|
-
* This should never be emitted.
|
|
994
|
-
**/
|
|
995
|
-
| { name: 'ExportOverweightFailed'; data: { index: bigint } }
|
|
996
|
-
/**
|
|
997
|
-
* The export of overweight messages completed.
|
|
998
|
-
**/
|
|
999
|
-
| { name: 'CompletedOverweightExport' }
|
|
1000
|
-
/**
|
|
1001
|
-
* The cleanup of remaining pallet storage started.
|
|
1002
|
-
**/
|
|
1003
|
-
| { name: 'StartedCleanup' }
|
|
1004
|
-
/**
|
|
1005
|
-
* Some debris was cleaned up.
|
|
1006
|
-
**/
|
|
1007
|
-
| { name: 'CleanedSome'; data: { keysRemoved: number } }
|
|
1008
|
-
/**
|
|
1009
|
-
* The cleanup of remaining pallet storage completed.
|
|
1010
|
-
**/
|
|
1011
|
-
| { name: 'Completed'; data: { error: boolean } };
|
|
1012
|
-
|
|
1013
974
|
/**
|
|
1014
975
|
* The `Event` enum of this pallet
|
|
1015
976
|
**/
|
|
@@ -2576,6 +2537,97 @@ export type PalletBalancesError =
|
|
|
2576
2537
|
|
|
2577
2538
|
export type PalletTransactionPaymentReleases = 'V1Ancient' | 'V2';
|
|
2578
2539
|
|
|
2540
|
+
export type PalletVestingVestingInfo = { locked: bigint; perBlock: bigint; startingBlock: number };
|
|
2541
|
+
|
|
2542
|
+
export type PalletVestingReleases = 'V0' | 'V1';
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
2546
|
+
**/
|
|
2547
|
+
export type PalletVestingCall =
|
|
2548
|
+
/**
|
|
2549
|
+
* See [`Pallet::vest`].
|
|
2550
|
+
**/
|
|
2551
|
+
| { name: 'Vest' }
|
|
2552
|
+
/**
|
|
2553
|
+
* See [`Pallet::vest_other`].
|
|
2554
|
+
**/
|
|
2555
|
+
| { name: 'VestOther'; params: { target: MultiAddress } }
|
|
2556
|
+
/**
|
|
2557
|
+
* See [`Pallet::vested_transfer`].
|
|
2558
|
+
**/
|
|
2559
|
+
| { name: 'VestedTransfer'; params: { target: MultiAddress; schedule: PalletVestingVestingInfo } }
|
|
2560
|
+
/**
|
|
2561
|
+
* See [`Pallet::force_vested_transfer`].
|
|
2562
|
+
**/
|
|
2563
|
+
| {
|
|
2564
|
+
name: 'ForceVestedTransfer';
|
|
2565
|
+
params: { source: MultiAddress; target: MultiAddress; schedule: PalletVestingVestingInfo };
|
|
2566
|
+
}
|
|
2567
|
+
/**
|
|
2568
|
+
* See [`Pallet::merge_schedules`].
|
|
2569
|
+
**/
|
|
2570
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
2571
|
+
/**
|
|
2572
|
+
* See [`Pallet::force_remove_vesting_schedule`].
|
|
2573
|
+
**/
|
|
2574
|
+
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddress; scheduleIndex: number } };
|
|
2575
|
+
|
|
2576
|
+
export type PalletVestingCallLike =
|
|
2577
|
+
/**
|
|
2578
|
+
* See [`Pallet::vest`].
|
|
2579
|
+
**/
|
|
2580
|
+
| { name: 'Vest' }
|
|
2581
|
+
/**
|
|
2582
|
+
* See [`Pallet::vest_other`].
|
|
2583
|
+
**/
|
|
2584
|
+
| { name: 'VestOther'; params: { target: MultiAddressLike } }
|
|
2585
|
+
/**
|
|
2586
|
+
* See [`Pallet::vested_transfer`].
|
|
2587
|
+
**/
|
|
2588
|
+
| { name: 'VestedTransfer'; params: { target: MultiAddressLike; schedule: PalletVestingVestingInfo } }
|
|
2589
|
+
/**
|
|
2590
|
+
* See [`Pallet::force_vested_transfer`].
|
|
2591
|
+
**/
|
|
2592
|
+
| {
|
|
2593
|
+
name: 'ForceVestedTransfer';
|
|
2594
|
+
params: { source: MultiAddressLike; target: MultiAddressLike; schedule: PalletVestingVestingInfo };
|
|
2595
|
+
}
|
|
2596
|
+
/**
|
|
2597
|
+
* See [`Pallet::merge_schedules`].
|
|
2598
|
+
**/
|
|
2599
|
+
| { name: 'MergeSchedules'; params: { schedule1Index: number; schedule2Index: number } }
|
|
2600
|
+
/**
|
|
2601
|
+
* See [`Pallet::force_remove_vesting_schedule`].
|
|
2602
|
+
**/
|
|
2603
|
+
| { name: 'ForceRemoveVestingSchedule'; params: { target: MultiAddressLike; scheduleIndex: number } };
|
|
2604
|
+
|
|
2605
|
+
/**
|
|
2606
|
+
* Error for the vesting pallet.
|
|
2607
|
+
**/
|
|
2608
|
+
export type PalletVestingError =
|
|
2609
|
+
/**
|
|
2610
|
+
* The account given is not vesting.
|
|
2611
|
+
**/
|
|
2612
|
+
| 'NotVesting'
|
|
2613
|
+
/**
|
|
2614
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
2615
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
2616
|
+
**/
|
|
2617
|
+
| 'AtMaxVestingSchedules'
|
|
2618
|
+
/**
|
|
2619
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
2620
|
+
**/
|
|
2621
|
+
| 'AmountLow'
|
|
2622
|
+
/**
|
|
2623
|
+
* An index was out of bounds of the vesting schedules.
|
|
2624
|
+
**/
|
|
2625
|
+
| 'ScheduleIndexOutOfBounds'
|
|
2626
|
+
/**
|
|
2627
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
2628
|
+
**/
|
|
2629
|
+
| 'InvalidScheduleParams';
|
|
2630
|
+
|
|
2579
2631
|
export type PalletCollatorSelectionCandidateInfo = { who: AccountId32; deposit: bigint };
|
|
2580
2632
|
|
|
2581
2633
|
/**
|
|
@@ -3052,7 +3104,22 @@ export type PalletXcmCall =
|
|
|
3052
3104
|
/**
|
|
3053
3105
|
* See [`Pallet::claim_assets`].
|
|
3054
3106
|
**/
|
|
3055
|
-
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
3107
|
+
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
3108
|
+
/**
|
|
3109
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
3110
|
+
**/
|
|
3111
|
+
| {
|
|
3112
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
3113
|
+
params: {
|
|
3114
|
+
dest: XcmVersionedLocation;
|
|
3115
|
+
assets: XcmVersionedAssets;
|
|
3116
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
3117
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
3118
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
3119
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
3120
|
+
weightLimit: XcmV3WeightLimit;
|
|
3121
|
+
};
|
|
3122
|
+
};
|
|
3056
3123
|
|
|
3057
3124
|
export type PalletXcmCallLike =
|
|
3058
3125
|
/**
|
|
@@ -3149,7 +3216,22 @@ export type PalletXcmCallLike =
|
|
|
3149
3216
|
/**
|
|
3150
3217
|
* See [`Pallet::claim_assets`].
|
|
3151
3218
|
**/
|
|
3152
|
-
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
3219
|
+
| { name: 'ClaimAssets'; params: { assets: XcmVersionedAssets; beneficiary: XcmVersionedLocation } }
|
|
3220
|
+
/**
|
|
3221
|
+
* See [`Pallet::transfer_assets_using_type_and_then`].
|
|
3222
|
+
**/
|
|
3223
|
+
| {
|
|
3224
|
+
name: 'TransferAssetsUsingTypeAndThen';
|
|
3225
|
+
params: {
|
|
3226
|
+
dest: XcmVersionedLocation;
|
|
3227
|
+
assets: XcmVersionedAssets;
|
|
3228
|
+
assetsTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
3229
|
+
remoteFeesId: XcmVersionedAssetId;
|
|
3230
|
+
feesTransferType: StagingXcmExecutorAssetTransferTransferType;
|
|
3231
|
+
customXcmOnDest: XcmVersionedXcm;
|
|
3232
|
+
weightLimit: XcmV3WeightLimit;
|
|
3233
|
+
};
|
|
3234
|
+
};
|
|
3153
3235
|
|
|
3154
3236
|
export type XcmVersionedXcm =
|
|
3155
3237
|
| { tag: 'V2'; value: XcmV2Xcm }
|
|
@@ -3353,6 +3435,12 @@ export type XcmV3MultiassetWildMultiAsset =
|
|
|
3353
3435
|
|
|
3354
3436
|
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3355
3437
|
|
|
3438
|
+
export type StagingXcmExecutorAssetTransferTransferType =
|
|
3439
|
+
| { tag: 'Teleport' }
|
|
3440
|
+
| { tag: 'LocalReserve' }
|
|
3441
|
+
| { tag: 'DestinationReserve' }
|
|
3442
|
+
| { tag: 'RemoteReserve'; value: XcmVersionedLocation };
|
|
3443
|
+
|
|
3356
3444
|
/**
|
|
3357
3445
|
* The `Error` enum of this pallet.
|
|
3358
3446
|
**/
|
|
@@ -3468,22 +3556,6 @@ export type CumulusPalletXcmCall = null;
|
|
|
3468
3556
|
|
|
3469
3557
|
export type CumulusPalletXcmCallLike = null;
|
|
3470
3558
|
|
|
3471
|
-
export type CumulusPalletDmpQueueMigrationState =
|
|
3472
|
-
| { tag: 'NotStarted' }
|
|
3473
|
-
| { tag: 'StartedExport'; value: { nextBeginUsed: number } }
|
|
3474
|
-
| { tag: 'CompletedExport' }
|
|
3475
|
-
| { tag: 'StartedOverweightExport'; value: { nextOverweightIndex: bigint } }
|
|
3476
|
-
| { tag: 'CompletedOverweightExport' }
|
|
3477
|
-
| { tag: 'StartedCleanup'; value: { cursor?: Bytes | undefined } }
|
|
3478
|
-
| { tag: 'Completed' };
|
|
3479
|
-
|
|
3480
|
-
/**
|
|
3481
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
3482
|
-
**/
|
|
3483
|
-
export type CumulusPalletDmpQueueCall = null;
|
|
3484
|
-
|
|
3485
|
-
export type CumulusPalletDmpQueueCallLike = null;
|
|
3486
|
-
|
|
3487
3559
|
export type BpXcmBridgeHubRouterBridgeState = { deliveryFeeFactor: FixedU128; isCongested: boolean };
|
|
3488
3560
|
|
|
3489
3561
|
/**
|
|
@@ -3677,12 +3749,12 @@ export type AssetHubPolkadotRuntimeRuntimeCall =
|
|
|
3677
3749
|
| { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
|
|
3678
3750
|
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
3679
3751
|
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
3752
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCall }
|
|
3680
3753
|
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
3681
3754
|
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
3682
3755
|
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCall }
|
|
3683
3756
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCall }
|
|
3684
3757
|
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCall }
|
|
3685
|
-
| { pallet: 'DmpQueue'; palletCall: CumulusPalletDmpQueueCall }
|
|
3686
3758
|
| { pallet: 'ToKusamaXcmRouter'; palletCall: PalletXcmBridgeHubRouterCall }
|
|
3687
3759
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCall }
|
|
3688
3760
|
| { pallet: 'Utility'; palletCall: PalletUtilityCall }
|
|
@@ -3701,12 +3773,12 @@ export type AssetHubPolkadotRuntimeRuntimeCallLike =
|
|
|
3701
3773
|
| { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
|
|
3702
3774
|
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
|
|
3703
3775
|
| { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
|
|
3776
|
+
| { pallet: 'Vesting'; palletCall: PalletVestingCallLike }
|
|
3704
3777
|
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
|
|
3705
3778
|
| { pallet: 'Session'; palletCall: PalletSessionCallLike }
|
|
3706
3779
|
| { pallet: 'XcmpQueue'; palletCall: CumulusPalletXcmpQueueCallLike }
|
|
3707
3780
|
| { pallet: 'PolkadotXcm'; palletCall: PalletXcmCallLike }
|
|
3708
3781
|
| { pallet: 'CumulusXcm'; palletCall: CumulusPalletXcmCallLike }
|
|
3709
|
-
| { pallet: 'DmpQueue'; palletCall: CumulusPalletDmpQueueCallLike }
|
|
3710
3782
|
| { pallet: 'ToKusamaXcmRouter'; palletCall: PalletXcmBridgeHubRouterCallLike }
|
|
3711
3783
|
| { pallet: 'MessageQueue'; palletCall: PalletMessageQueueCallLike }
|
|
3712
3784
|
| { pallet: 'Utility'; palletCall: PalletUtilityCallLike }
|
|
@@ -6723,6 +6795,7 @@ export type AssetHubPolkadotRuntimeRuntimeError =
|
|
|
6723
6795
|
| { tag: 'System'; value: FrameSystemError }
|
|
6724
6796
|
| { tag: 'ParachainSystem'; value: CumulusPalletParachainSystemError }
|
|
6725
6797
|
| { tag: 'Balances'; value: PalletBalancesError }
|
|
6798
|
+
| { tag: 'Vesting'; value: PalletVestingError }
|
|
6726
6799
|
| { tag: 'CollatorSelection'; value: PalletCollatorSelectionError }
|
|
6727
6800
|
| { tag: 'Session'; value: PalletSessionError }
|
|
6728
6801
|
| { tag: 'XcmpQueue'; value: CumulusPalletXcmpQueueError }
|
|
@@ -12198,6 +12198,10 @@ export type PalletAssetConversionTxPaymentChargeAssetTxPayment = {
|
|
|
12198
12198
|
|
|
12199
12199
|
export type CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim = {};
|
|
12200
12200
|
|
|
12201
|
+
export type FrameMetadataHashExtensionCheckMetadataHash = { mode: FrameMetadataHashExtensionMode };
|
|
12202
|
+
|
|
12203
|
+
export type FrameMetadataHashExtensionMode = 'Disabled' | 'Enabled';
|
|
12204
|
+
|
|
12201
12205
|
export type AssetHubWestendRuntimeRuntime = {};
|
|
12202
12206
|
|
|
12203
12207
|
export type SpConsensusSlotsSlotDuration = bigint;
|